UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

65 lines (64 loc) 2.38 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 { AllConditionsTrueBranchOutput } from './AllConditionsTrueBranchOutput'; /** * * @export * @interface SimpleDecisionNodeOutput */ export interface SimpleDecisionNodeOutput { /** * * @type {object} * @memberof SimpleDecisionNodeOutput */ 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<AllConditionsTrueBranchOutput>} * @memberof SimpleDecisionNodeOutput */ branches: Array<AllConditionsTrueBranchOutput>; /** * 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 SimpleDecisionNodeOutput */ nodeId: string; /** * * @type {string} * @memberof SimpleDecisionNodeOutput */ nodeName?: string | null; /** * * @type {string} * @memberof SimpleDecisionNodeOutput */ nodeType?: SimpleDecisionNodeOutputNodeTypeEnum; } /** * @export */ export declare const SimpleDecisionNodeOutputNodeTypeEnum: { readonly SimpleDecision: "simple_decision"; }; export type SimpleDecisionNodeOutputNodeTypeEnum = typeof SimpleDecisionNodeOutputNodeTypeEnum[keyof typeof SimpleDecisionNodeOutputNodeTypeEnum]; /** * Check if a given object implements the SimpleDecisionNodeOutput interface. */ export declare function instanceOfSimpleDecisionNodeOutput(value: object): value is SimpleDecisionNodeOutput; export declare function SimpleDecisionNodeOutputFromJSON(json: any): SimpleDecisionNodeOutput; export declare function SimpleDecisionNodeOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimpleDecisionNodeOutput; export declare function SimpleDecisionNodeOutputToJSON(json: any): SimpleDecisionNodeOutput; export declare function SimpleDecisionNodeOutputToJSONTyped(value?: SimpleDecisionNodeOutput | null, ignoreDiscriminator?: boolean): any;