/** * 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. */ /** * A rule that applies over a single window of time, such as a public holiday. One-off rules take precedence over weekly rules, and may not overlap each other. * @export * @interface PayConfigOneOffRuleV2 */ export interface PayConfigOneOffRuleV2 { /** * When this rule stops applying */ end_at: Date; /** * Unique identifier for this rule, stable across edits to the config */ id: string; /** * Human readable name for this rule */ name: string; /** * Rate paid while this rule applies, in the lowest denomination of the config's currency */ rate_cents: number; /** * When this rule starts applying */ start_at: Date; } /** * Check if a given object implements the PayConfigOneOffRuleV2 interface. */ export declare function instanceOfPayConfigOneOffRuleV2(value: object): value is PayConfigOneOffRuleV2; export declare function PayConfigOneOffRuleV2FromJSON(json: any): PayConfigOneOffRuleV2; export declare function PayConfigOneOffRuleV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): PayConfigOneOffRuleV2; export declare function PayConfigOneOffRuleV2ToJSON(json: any): PayConfigOneOffRuleV2; export declare function PayConfigOneOffRuleV2ToJSONTyped(value?: PayConfigOneOffRuleV2 | null, ignoreDiscriminator?: boolean): any;