UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

47 lines (46 loc) 1.86 kB
/** * OpenPay API * super charge your subscription management. * * The version of the OpenAPI document: 1.2.1 * * * 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 { Condition } from './Condition'; /** * Represents a single if-branch with multiple conditions: * if condition_1 and condition_2 and ... and condition_n: go_to_node_id * @export * @interface AllConditionsTrueBranchInput */ export interface AllConditionsTrueBranchInput { /** * * @type {string} * @memberof AllConditionsTrueBranchInput */ branchName?: string | null; /** * All conditions must evaluate to True for the branch to be taken (AND logic). If empty, this branch will always be taken (e.g. ELSE branches). * @type {Array<Condition>} * @memberof AllConditionsTrueBranchInput */ ifAllConditionsTrue: Array<Condition>; /** * The node ID to go to if all conditions evaluate to True * @type {string} * @memberof AllConditionsTrueBranchInput */ thenGoToNodeId: string; } /** * Check if a given object implements the AllConditionsTrueBranchInput interface. */ export declare function instanceOfAllConditionsTrueBranchInput(value: object): value is AllConditionsTrueBranchInput; export declare function AllConditionsTrueBranchInputFromJSON(json: any): AllConditionsTrueBranchInput; export declare function AllConditionsTrueBranchInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllConditionsTrueBranchInput; export declare function AllConditionsTrueBranchInputToJSON(json: any): AllConditionsTrueBranchInput; export declare function AllConditionsTrueBranchInputToJSONTyped(value?: AllConditionsTrueBranchInput | null, ignoreDiscriminator?: boolean): any;