UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

65 lines (64 loc) 2.35 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 { AllConditionsTrueBranchInput } from './AllConditionsTrueBranchInput'; /** * * @export * @interface SimpleDecisionNodeInput */ export interface SimpleDecisionNodeInput { /** * * @type {object} * @memberof SimpleDecisionNodeInput */ attributeProperties?: object | null; /** * The list of branches to evaluate, in order of evaluation. The last branch must be an ELSE branch.The branch order is important, as it determines the order of evaluation. * @type {Array<AllConditionsTrueBranchInput>} * @memberof SimpleDecisionNodeInput */ branches: Array<AllConditionsTrueBranchInput>; /** * The unique identifier for the node. Must be unique within the route. Cannot start with an underscore, as those are reserved for internal use. * @type {string} * @memberof SimpleDecisionNodeInput */ nodeId: string; /** * * @type {string} * @memberof SimpleDecisionNodeInput */ nodeName?: string | null; /** * * @type {string} * @memberof SimpleDecisionNodeInput */ nodeType?: SimpleDecisionNodeInputNodeTypeEnum; } /** * @export */ export declare const SimpleDecisionNodeInputNodeTypeEnum: { readonly SimpleDecision: "simple_decision"; }; export type SimpleDecisionNodeInputNodeTypeEnum = typeof SimpleDecisionNodeInputNodeTypeEnum[keyof typeof SimpleDecisionNodeInputNodeTypeEnum]; /** * Check if a given object implements the SimpleDecisionNodeInput interface. */ export declare function instanceOfSimpleDecisionNodeInput(value: object): value is SimpleDecisionNodeInput; export declare function SimpleDecisionNodeInputFromJSON(json: any): SimpleDecisionNodeInput; export declare function SimpleDecisionNodeInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimpleDecisionNodeInput; export declare function SimpleDecisionNodeInputToJSON(json: any): SimpleDecisionNodeInput; export declare function SimpleDecisionNodeInputToJSONTyped(value?: SimpleDecisionNodeInput | null, ignoreDiscriminator?: boolean): any;