UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

47 lines (46 loc) 1.87 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 AllConditionsTrueBranchOutput */ export interface AllConditionsTrueBranchOutput { /** * * @type {string} * @memberof AllConditionsTrueBranchOutput */ 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 AllConditionsTrueBranchOutput */ ifAllConditionsTrue: Array<Condition>; /** * The node ID to go to if all conditions evaluate to True * @type {string} * @memberof AllConditionsTrueBranchOutput */ thenGoToNodeId: string; } /** * Check if a given object implements the AllConditionsTrueBranchOutput interface. */ export declare function instanceOfAllConditionsTrueBranchOutput(value: object): value is AllConditionsTrueBranchOutput; export declare function AllConditionsTrueBranchOutputFromJSON(json: any): AllConditionsTrueBranchOutput; export declare function AllConditionsTrueBranchOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllConditionsTrueBranchOutput; export declare function AllConditionsTrueBranchOutputToJSON(json: any): AllConditionsTrueBranchOutput; export declare function AllConditionsTrueBranchOutputToJSONTyped(value?: AllConditionsTrueBranchOutput | null, ignoreDiscriminator?: boolean): any;