/** * 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 { PayConfigWeeklyRulePayloadV2 } from './PayConfigWeeklyRulePayloadV2.js'; import type { PayConfigOneOffRulePayloadV2 } from './PayConfigOneOffRulePayloadV2.js'; /** * * @export * @interface PayConfigsCreatePayloadV2 */ export interface PayConfigsCreatePayloadV2 { /** * Rate paid for one unit of rate_time_unit, for any time no rule covers, in the lowest denomination of the currency */ base_rate_cents: number; /** * Currency this config pays in, in ISO 4217 format */ currency: string; /** * Human readable name for this pay config */ name: string; /** * Rules that apply over a single window of time */ one_off_rules?: Array; /** * The unit of time every rate on this config is quoted per: hour, day, or week. A day is 24 hours of shift time and a week is 7 days. Pay is pro-rated by the second. */ rate_time_unit: PayConfigsCreatePayloadV2RateTimeUnitEnum; /** * IANA timezone this config's rules are interpreted in */ timezone: string; /** * Rules that apply every week, in the order they should be evaluated */ weekly_rules?: Array; } /** * @export */ export declare const PayConfigsCreatePayloadV2RateTimeUnitEnum: { readonly Hour: "hour"; readonly Day: "day"; readonly Week: "week"; }; export type PayConfigsCreatePayloadV2RateTimeUnitEnum = typeof PayConfigsCreatePayloadV2RateTimeUnitEnum[keyof typeof PayConfigsCreatePayloadV2RateTimeUnitEnum]; /** * Check if a given object implements the PayConfigsCreatePayloadV2 interface. */ export declare function instanceOfPayConfigsCreatePayloadV2(value: object): value is PayConfigsCreatePayloadV2; export declare function PayConfigsCreatePayloadV2FromJSON(json: any): PayConfigsCreatePayloadV2; export declare function PayConfigsCreatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): PayConfigsCreatePayloadV2; export declare function PayConfigsCreatePayloadV2ToJSON(json: any): PayConfigsCreatePayloadV2; export declare function PayConfigsCreatePayloadV2ToJSONTyped(value?: PayConfigsCreatePayloadV2 | null, ignoreDiscriminator?: boolean): any;