/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ExpressionPayloadV2 } from './ExpressionPayloadV2.js'; import type { PayReportRotationFilterV2 } from './PayReportRotationFilterV2.js'; /** * * @export * @interface PayReportsCreatePayloadV2 */ export interface PayReportsCreatePayloadV2 { /** * Last date (YYYY-MM-DD) to include shifts from, inclusive */ end_date: string; /** * Human readable name for this report */ name: string; /** * Time on more than one of these schedules at once can be paid once or per schedule. Paying it once requires the advanced on-call plan. */ overlapping_shifts?: PayReportsCreatePayloadV2OverlappingShiftsEnum; /** * */ pay_config_expression?: ExpressionPayloadV2; /** * The pay config to price every shift with. Provide this or pay_config_expression, and not both. */ pay_config_id?: string; /** * Narrows some of these schedules to a subset of their rotations. A schedule that does not appear here includes every rotation. */ rotation_filters?: Array; /** * Which schedules to report on */ schedule_ids: Array; /** * First date (YYYY-MM-DD) to include shifts from, inclusive */ start_date: string; /** * Whether shifts that price to zero count towards total_duration_seconds */ unpaid_shifts?: PayReportsCreatePayloadV2UnpaidShiftsEnum; } /** * @export */ export declare const PayReportsCreatePayloadV2OverlappingShiftsEnum: { readonly PaidOnce: "paid_once"; readonly PaidPerSchedule: "paid_per_schedule"; }; export type PayReportsCreatePayloadV2OverlappingShiftsEnum = typeof PayReportsCreatePayloadV2OverlappingShiftsEnum[keyof typeof PayReportsCreatePayloadV2OverlappingShiftsEnum]; /** * @export */ export declare const PayReportsCreatePayloadV2UnpaidShiftsEnum: { readonly Included: "included"; readonly Excluded: "excluded"; }; export type PayReportsCreatePayloadV2UnpaidShiftsEnum = typeof PayReportsCreatePayloadV2UnpaidShiftsEnum[keyof typeof PayReportsCreatePayloadV2UnpaidShiftsEnum]; /** * Check if a given object implements the PayReportsCreatePayloadV2 interface. */ export declare function instanceOfPayReportsCreatePayloadV2(value: object): value is PayReportsCreatePayloadV2; export declare function PayReportsCreatePayloadV2FromJSON(json: any): PayReportsCreatePayloadV2; export declare function PayReportsCreatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): PayReportsCreatePayloadV2; export declare function PayReportsCreatePayloadV2ToJSON(json: any): PayReportsCreatePayloadV2; export declare function PayReportsCreatePayloadV2ToJSONTyped(value?: PayReportsCreatePayloadV2 | null, ignoreDiscriminator?: boolean): any;