/** * 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 weekly rule to write. Send an existing rule's ID to keep it stable, and omit it for a rule you are adding. * @export * @interface PayConfigWeeklyRulePayloadV2 */ export interface PayConfigWeeklyRulePayloadV2 { /** * Time of day this rule ends, in 24 hour format. Equal to start_time means it runs for the whole day. */ end_time: string; /** * An existing rule's ID, to keep it stable. Omit for a new rule. */ id?: string; /** * Rate paid while this rule applies, in the lowest denomination of the config's currency */ rate_cents: number; /** * Time of day this rule starts, in 24 hour format */ start_time: string; /** * Days of the week this rule applies on */ weekdays: Array; } /** * @export */ export declare const PayConfigWeeklyRulePayloadV2WeekdaysEnum: { readonly Monday: "monday"; readonly Tuesday: "tuesday"; readonly Wednesday: "wednesday"; readonly Thursday: "thursday"; readonly Friday: "friday"; readonly Saturday: "saturday"; readonly Sunday: "sunday"; }; export type PayConfigWeeklyRulePayloadV2WeekdaysEnum = typeof PayConfigWeeklyRulePayloadV2WeekdaysEnum[keyof typeof PayConfigWeeklyRulePayloadV2WeekdaysEnum]; /** * Check if a given object implements the PayConfigWeeklyRulePayloadV2 interface. */ export declare function instanceOfPayConfigWeeklyRulePayloadV2(value: object): value is PayConfigWeeklyRulePayloadV2; export declare function PayConfigWeeklyRulePayloadV2FromJSON(json: any): PayConfigWeeklyRulePayloadV2; export declare function PayConfigWeeklyRulePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): PayConfigWeeklyRulePayloadV2; export declare function PayConfigWeeklyRulePayloadV2ToJSON(json: any): PayConfigWeeklyRulePayloadV2; export declare function PayConfigWeeklyRulePayloadV2ToJSONTyped(value?: PayConfigWeeklyRulePayloadV2 | null, ignoreDiscriminator?: boolean): any;