@d19n/youfibre-odin-sdk 2.0.235 → 2.0.236

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -354,7 +354,7 @@ This SDK includes **166** entities across **12** modules.
354
354
 
355
355
  ## Actions
356
356
 
357
- This SDK includes **716** actions.
357
+ This SDK includes **718** actions.
358
358
 
359
359
  ### Action Types
360
360
 
@@ -907,7 +907,9 @@ This SDK includes **716** actions.
907
907
  | `MoveCboToCancelled` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToCancelled |
908
908
  | `MoveCboToMoreInfoRequired` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToMoreInfoRequired |
909
909
  | `MoveCboToReceived` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Update.FlowStepReceivedConfirmation |
910
+ | `MoveCboToRefundFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundFailed |
910
911
  | `MoveCboToRefundProcessed` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundProcessed |
912
+ | `MoveCboToRefundProcessing` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundProcessing |
911
913
  | `MoveCboToVerified` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToVerified |
912
914
  | `SelectRelatedPaymentmethod` | CREATE | k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Create.SelectRelatedPaymentmethod |
913
915
  | `SentToVoyager` | UPDATE | k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Update.SentToVoyager |
@@ -922,8 +924,12 @@ This SDK includes **716** actions.
922
924
 
923
925
  **MoveCboToReceived Target Stages:** `CreditBuyOutStageReceived`
924
926
 
927
+ **MoveCboToRefundFailed Target Stages:** `CreatedStageRefundFailed`
928
+
925
929
  **MoveCboToRefundProcessed Target Stages:** `CreditBuyOutStageRefundProcessed`
926
930
 
931
+ **MoveCboToRefundProcessing Target Stages:** `CreatedStageRefundProcessing`
932
+
927
933
  **MoveCboToVerified Target Stages:** `CreditBuyOutStageVerified`
928
934
 
929
935
  #### CrmDataset
@@ -0,0 +1,117 @@
1
+ /**
2
+ * MoveCboToRefundFailed Action DTO
3
+ *
4
+ * Move cbo to stage refund failed
5
+ *
6
+ * @module OrderModule
7
+ * @entity ContractBuyOut
8
+ * @entityType DEFAULT
9
+ * @actionKey MoveCboToRefundFailed
10
+ * @event k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundFailed
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
+ declare type StepClassMap = {};
16
+ /**
17
+ * Link definition for connecting steps in MoveCboToRefundFailed
18
+ */
19
+ export interface MoveCboToRefundFailedStepLink {
20
+ /**
21
+ * The stepKey of the target step to link TO
22
+ * Must reference another step's stepKey in the same flow
23
+ */
24
+ stepKey: string;
25
+ /**
26
+ * The schema association ID (UUID) defining the relationship
27
+ * Use the association.id from the schema association definition
28
+ * @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
29
+ */
30
+ schemaAssociationId: string;
31
+ }
32
+ /**
33
+ * Step definition with linking metadata for MoveCboToRefundFailed
34
+ */
35
+ export interface MoveCboToRefundFailedStepDefinition {
36
+ /** Unique identifier for this step */
37
+ stepKey: string;
38
+ /** The DTO class name for this step */
39
+ dtoClass: string;
40
+ /** The entity this step creates (Module:Entity format) */
41
+ entity: string;
42
+ /** Links to create after this step executes */
43
+ linksTo: MoveCboToRefundFailedStepLink[] | null;
44
+ }
45
+ /**
46
+ * Type-safe step keys for MoveCboToRefundFailed
47
+ */
48
+ export declare const MoveCboToRefundFailedSteps: {
49
+ readonly step_1: "step_1";
50
+ };
51
+ export declare type MoveCboToRefundFailedStepKey = typeof MoveCboToRefundFailedSteps[keyof typeof MoveCboToRefundFailedSteps];
52
+ /**
53
+ * RabbitMQ message payload for MoveCboToRefundFailed step flow events
54
+ *
55
+ * @event k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundFailed
56
+ */
57
+ export interface MoveCboToRefundFailedMessage extends OdinRecordUpdatedEvent<MoveCboToRefundFailedDto, {}> {
58
+ }
59
+ /**
60
+ * Properties for MoveCboToRefundFailed action
61
+ *
62
+ */
63
+ export interface MoveCboToRefundFailedProperties {
64
+ }
65
+ /**
66
+ * MoveCboToRefundFailed
67
+ *
68
+ * Move cbo to stage refund failed
69
+ *
70
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
71
+ * @module OrderModule
72
+ * @entity ContractBuyOut
73
+ * @entityType DEFAULT (Default)
74
+ * @targetStages CreatedStageRefundFailed
75
+ * @event k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundFailed
76
+ * @permission schema.action.movecbotorefundfailed.trigger
77
+ * @benchmark This action is tracked for performance benchmarks
78
+ */
79
+ export declare class MoveCboToRefundFailedDto extends OdinRecordUpdateDto<Record<string, any>> {
80
+ /** Used by SDK generators to identify action type */
81
+ static readonly ACTION_TYPE = "UPDATE";
82
+ static readonly ACTION_KEY = "MoveCboToRefundFailed";
83
+ static readonly MODULE_NAME = "OrderModule";
84
+ static readonly ENTITIES: string[];
85
+ static readonly ENTITY_TYPE = "DEFAULT";
86
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundFailed";
87
+ static readonly SCHEMA_ACTION_ID = "02a2ba1d-f7e6-4c2c-a194-4a56eab21294";
88
+ static readonly PERMISSION = "schema.action.movecbotorefundfailed.trigger";
89
+ static readonly TARGET_STAGES: readonly ["CreatedStageRefundFailed"];
90
+ static readonly IS_STAGE_TRANSITION = true;
91
+ static readonly IS_MULTI_STEP_FLOW = false;
92
+ static readonly HAS_STEP_LINKS = false;
93
+ /**
94
+ * Step definitions with linking metadata
95
+ * Used by SDK and backend for auto-linking after step execution
96
+ */
97
+ static readonly stepDefinitions: MoveCboToRefundFailedStepDefinition[];
98
+ /** Type-safe step key accessor */
99
+ static readonly Steps: {
100
+ readonly step_1: "step_1";
101
+ };
102
+ readonly actionName: string;
103
+ readonly schemaActionId: string;
104
+ readonly entity: string;
105
+ readonly stageKey: string;
106
+ constructor(record: OdinRecord<any> | {
107
+ id: string;
108
+ entity: string;
109
+ type?: string;
110
+ }, options?: {
111
+ journeyId?: string;
112
+ });
113
+ /** Step classes that can be used with this action */
114
+ static readonly stepClasses: readonly [];
115
+ steps: StepClassMap[(typeof MoveCboToRefundFailedDto.stepClasses)[number]][];
116
+ }
117
+ export {};
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ /**
3
+ * MoveCboToRefundFailed Action DTO
4
+ *
5
+ * Move cbo to stage refund failed
6
+ *
7
+ * @module OrderModule
8
+ * @entity ContractBuyOut
9
+ * @entityType DEFAULT
10
+ * @actionKey MoveCboToRefundFailed
11
+ * @event k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundFailed
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MoveCboToRefundFailedDto = exports.MoveCboToRefundFailedSteps = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * Type-safe step keys for MoveCboToRefundFailed
20
+ */
21
+ exports.MoveCboToRefundFailedSteps = {
22
+ step_1: 'step_1',
23
+ };
24
+ /**
25
+ * MoveCboToRefundFailed
26
+ *
27
+ * Move cbo to stage refund failed
28
+ *
29
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
30
+ * @module OrderModule
31
+ * @entity ContractBuyOut
32
+ * @entityType DEFAULT (Default)
33
+ * @targetStages CreatedStageRefundFailed
34
+ * @event k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundFailed
35
+ * @permission schema.action.movecbotorefundfailed.trigger
36
+ * @benchmark This action is tracked for performance benchmarks
37
+ */
38
+ class MoveCboToRefundFailedDto extends core_1.OdinRecordUpdateDto {
39
+ constructor(record, options) {
40
+ super({
41
+ id: record.id,
42
+ entity: record.entity,
43
+ type: record.type,
44
+ properties: {},
45
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
46
+ });
47
+ this.actionName = 'MoveCboToRefundFailed';
48
+ this.schemaActionId = '02a2ba1d-f7e6-4c2c-a194-4a56eab21294';
49
+ this.entity = 'OrderModule:ContractBuyOut';
50
+ this.stageKey = 'CreatedStageRefundFailed';
51
+ }
52
+ }
53
+ exports.MoveCboToRefundFailedDto = MoveCboToRefundFailedDto;
54
+ /** Used by SDK generators to identify action type */
55
+ MoveCboToRefundFailedDto.ACTION_TYPE = 'UPDATE';
56
+ MoveCboToRefundFailedDto.ACTION_KEY = 'MoveCboToRefundFailed';
57
+ MoveCboToRefundFailedDto.MODULE_NAME = 'OrderModule';
58
+ MoveCboToRefundFailedDto.ENTITIES = ['ContractBuyOut'];
59
+ MoveCboToRefundFailedDto.ENTITY_TYPE = 'DEFAULT';
60
+ MoveCboToRefundFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundFailed';
61
+ MoveCboToRefundFailedDto.SCHEMA_ACTION_ID = '02a2ba1d-f7e6-4c2c-a194-4a56eab21294';
62
+ MoveCboToRefundFailedDto.PERMISSION = 'schema.action.movecbotorefundfailed.trigger';
63
+ MoveCboToRefundFailedDto.TARGET_STAGES = ['CreatedStageRefundFailed'];
64
+ MoveCboToRefundFailedDto.IS_STAGE_TRANSITION = true;
65
+ MoveCboToRefundFailedDto.IS_MULTI_STEP_FLOW = false;
66
+ MoveCboToRefundFailedDto.HAS_STEP_LINKS = false;
67
+ /**
68
+ * Step definitions with linking metadata
69
+ * Used by SDK and backend for auto-linking after step execution
70
+ */
71
+ MoveCboToRefundFailedDto.stepDefinitions = [
72
+ {
73
+ stepKey: 'step_1',
74
+ dtoClass: 'unknown',
75
+ entity: 'unknown',
76
+ linksTo: null
77
+ }
78
+ ];
79
+ /** Type-safe step key accessor */
80
+ MoveCboToRefundFailedDto.Steps = exports.MoveCboToRefundFailedSteps;
81
+ /** Step classes that can be used with this action */
82
+ MoveCboToRefundFailedDto.stepClasses = [];
@@ -0,0 +1,117 @@
1
+ /**
2
+ * MoveCboToRefundProcessing Action DTO
3
+ *
4
+ * Move cbo to stage refund processing
5
+ *
6
+ * @module OrderModule
7
+ * @entity ContractBuyOut
8
+ * @entityType DEFAULT
9
+ * @actionKey MoveCboToRefundProcessing
10
+ * @event k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundProcessing
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
+ declare type StepClassMap = {};
16
+ /**
17
+ * Link definition for connecting steps in MoveCboToRefundProcessing
18
+ */
19
+ export interface MoveCboToRefundProcessingStepLink {
20
+ /**
21
+ * The stepKey of the target step to link TO
22
+ * Must reference another step's stepKey in the same flow
23
+ */
24
+ stepKey: string;
25
+ /**
26
+ * The schema association ID (UUID) defining the relationship
27
+ * Use the association.id from the schema association definition
28
+ * @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
29
+ */
30
+ schemaAssociationId: string;
31
+ }
32
+ /**
33
+ * Step definition with linking metadata for MoveCboToRefundProcessing
34
+ */
35
+ export interface MoveCboToRefundProcessingStepDefinition {
36
+ /** Unique identifier for this step */
37
+ stepKey: string;
38
+ /** The DTO class name for this step */
39
+ dtoClass: string;
40
+ /** The entity this step creates (Module:Entity format) */
41
+ entity: string;
42
+ /** Links to create after this step executes */
43
+ linksTo: MoveCboToRefundProcessingStepLink[] | null;
44
+ }
45
+ /**
46
+ * Type-safe step keys for MoveCboToRefundProcessing
47
+ */
48
+ export declare const MoveCboToRefundProcessingSteps: {
49
+ readonly step_1: "step_1";
50
+ };
51
+ export declare type MoveCboToRefundProcessingStepKey = typeof MoveCboToRefundProcessingSteps[keyof typeof MoveCboToRefundProcessingSteps];
52
+ /**
53
+ * RabbitMQ message payload for MoveCboToRefundProcessing step flow events
54
+ *
55
+ * @event k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundProcessing
56
+ */
57
+ export interface MoveCboToRefundProcessingMessage extends OdinRecordUpdatedEvent<MoveCboToRefundProcessingDto, {}> {
58
+ }
59
+ /**
60
+ * Properties for MoveCboToRefundProcessing action
61
+ *
62
+ */
63
+ export interface MoveCboToRefundProcessingProperties {
64
+ }
65
+ /**
66
+ * MoveCboToRefundProcessing
67
+ *
68
+ * Move cbo to stage refund processing
69
+ *
70
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
71
+ * @module OrderModule
72
+ * @entity ContractBuyOut
73
+ * @entityType DEFAULT (Default)
74
+ * @targetStages CreatedStageRefundProcessing
75
+ * @event k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundProcessing
76
+ * @permission schema.action.movecbotorefundprocessing.trigger
77
+ * @benchmark This action is tracked for performance benchmarks
78
+ */
79
+ export declare class MoveCboToRefundProcessingDto extends OdinRecordUpdateDto<Record<string, any>> {
80
+ /** Used by SDK generators to identify action type */
81
+ static readonly ACTION_TYPE = "UPDATE";
82
+ static readonly ACTION_KEY = "MoveCboToRefundProcessing";
83
+ static readonly MODULE_NAME = "OrderModule";
84
+ static readonly ENTITIES: string[];
85
+ static readonly ENTITY_TYPE = "DEFAULT";
86
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundProcessing";
87
+ static readonly SCHEMA_ACTION_ID = "fb2c5fac-d9b8-4d69-a3b7-b6fd93fad7d2";
88
+ static readonly PERMISSION = "schema.action.movecbotorefundprocessing.trigger";
89
+ static readonly TARGET_STAGES: readonly ["CreatedStageRefundProcessing"];
90
+ static readonly IS_STAGE_TRANSITION = true;
91
+ static readonly IS_MULTI_STEP_FLOW = false;
92
+ static readonly HAS_STEP_LINKS = false;
93
+ /**
94
+ * Step definitions with linking metadata
95
+ * Used by SDK and backend for auto-linking after step execution
96
+ */
97
+ static readonly stepDefinitions: MoveCboToRefundProcessingStepDefinition[];
98
+ /** Type-safe step key accessor */
99
+ static readonly Steps: {
100
+ readonly step_1: "step_1";
101
+ };
102
+ readonly actionName: string;
103
+ readonly schemaActionId: string;
104
+ readonly entity: string;
105
+ readonly stageKey: string;
106
+ constructor(record: OdinRecord<any> | {
107
+ id: string;
108
+ entity: string;
109
+ type?: string;
110
+ }, options?: {
111
+ journeyId?: string;
112
+ });
113
+ /** Step classes that can be used with this action */
114
+ static readonly stepClasses: readonly [];
115
+ steps: StepClassMap[(typeof MoveCboToRefundProcessingDto.stepClasses)[number]][];
116
+ }
117
+ export {};
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ /**
3
+ * MoveCboToRefundProcessing Action DTO
4
+ *
5
+ * Move cbo to stage refund processing
6
+ *
7
+ * @module OrderModule
8
+ * @entity ContractBuyOut
9
+ * @entityType DEFAULT
10
+ * @actionKey MoveCboToRefundProcessing
11
+ * @event k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundProcessing
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MoveCboToRefundProcessingDto = exports.MoveCboToRefundProcessingSteps = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * Type-safe step keys for MoveCboToRefundProcessing
20
+ */
21
+ exports.MoveCboToRefundProcessingSteps = {
22
+ step_1: 'step_1',
23
+ };
24
+ /**
25
+ * MoveCboToRefundProcessing
26
+ *
27
+ * Move cbo to stage refund processing
28
+ *
29
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
30
+ * @module OrderModule
31
+ * @entity ContractBuyOut
32
+ * @entityType DEFAULT (Default)
33
+ * @targetStages CreatedStageRefundProcessing
34
+ * @event k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundProcessing
35
+ * @permission schema.action.movecbotorefundprocessing.trigger
36
+ * @benchmark This action is tracked for performance benchmarks
37
+ */
38
+ class MoveCboToRefundProcessingDto extends core_1.OdinRecordUpdateDto {
39
+ constructor(record, options) {
40
+ super({
41
+ id: record.id,
42
+ entity: record.entity,
43
+ type: record.type,
44
+ properties: {},
45
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
46
+ });
47
+ this.actionName = 'MoveCboToRefundProcessing';
48
+ this.schemaActionId = 'fb2c5fac-d9b8-4d69-a3b7-b6fd93fad7d2';
49
+ this.entity = 'OrderModule:ContractBuyOut';
50
+ this.stageKey = 'CreatedStageRefundProcessing';
51
+ }
52
+ }
53
+ exports.MoveCboToRefundProcessingDto = MoveCboToRefundProcessingDto;
54
+ /** Used by SDK generators to identify action type */
55
+ MoveCboToRefundProcessingDto.ACTION_TYPE = 'UPDATE';
56
+ MoveCboToRefundProcessingDto.ACTION_KEY = 'MoveCboToRefundProcessing';
57
+ MoveCboToRefundProcessingDto.MODULE_NAME = 'OrderModule';
58
+ MoveCboToRefundProcessingDto.ENTITIES = ['ContractBuyOut'];
59
+ MoveCboToRefundProcessingDto.ENTITY_TYPE = 'DEFAULT';
60
+ MoveCboToRefundProcessingDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.ContractBuyOut.Transition.MoveCboToRefundProcessing';
61
+ MoveCboToRefundProcessingDto.SCHEMA_ACTION_ID = 'fb2c5fac-d9b8-4d69-a3b7-b6fd93fad7d2';
62
+ MoveCboToRefundProcessingDto.PERMISSION = 'schema.action.movecbotorefundprocessing.trigger';
63
+ MoveCboToRefundProcessingDto.TARGET_STAGES = ['CreatedStageRefundProcessing'];
64
+ MoveCboToRefundProcessingDto.IS_STAGE_TRANSITION = true;
65
+ MoveCboToRefundProcessingDto.IS_MULTI_STEP_FLOW = false;
66
+ MoveCboToRefundProcessingDto.HAS_STEP_LINKS = false;
67
+ /**
68
+ * Step definitions with linking metadata
69
+ * Used by SDK and backend for auto-linking after step execution
70
+ */
71
+ MoveCboToRefundProcessingDto.stepDefinitions = [
72
+ {
73
+ stepKey: 'step_1',
74
+ dtoClass: 'unknown',
75
+ entity: 'unknown',
76
+ linksTo: null
77
+ }
78
+ ];
79
+ /** Type-safe step key accessor */
80
+ MoveCboToRefundProcessingDto.Steps = exports.MoveCboToRefundProcessingSteps;
81
+ /** Step classes that can be used with this action */
82
+ MoveCboToRefundProcessingDto.stepClasses = [];
@@ -789,6 +789,31 @@ export declare class ContractBuyOutRecord<TProps = ContractBuyOutProperties> {
789
789
  moveCboToReceived(options?: {
790
790
  journeyId?: string;
791
791
  }): MoveCboToReceivedFlowBuilder;
792
+ /**
793
+ * MoveCboToRefundFailed
794
+ *
795
+ * Transitions this ContractBuyOut record to a new pipeline stage.
796
+ * Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
797
+ *
798
+ * @remarks Transitions to stage: CreatedStageRefundFailed
799
+ *
800
+ * @param options - Optional settings
801
+ * @param options.journeyId - Associate with a journey
802
+ * @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
803
+ * @throws Error if called on a new (unsaved) record
804
+ *
805
+ * @example
806
+ * ```typescript
807
+ * const record = await odinClient.contractBuyOuts.get(id);
808
+ * await record.moveCboToRefundFailed().execute();
809
+ *
810
+ * // Dry run (for debugging)
811
+ * const payload = record.moveCboToRefundFailed().dryRun();
812
+ * ```
813
+ */
814
+ moveCboToRefundFailed(options?: {
815
+ journeyId?: string;
816
+ }): ActionBuilder;
792
817
  /**
793
818
  * MoveCboToRefundProcessed
794
819
  *
@@ -814,6 +839,31 @@ export declare class ContractBuyOutRecord<TProps = ContractBuyOutProperties> {
814
839
  moveCboToRefundProcessed(options?: {
815
840
  journeyId?: string;
816
841
  }): ActionBuilder;
842
+ /**
843
+ * MoveCboToRefundProcessing
844
+ *
845
+ * Transitions this ContractBuyOut record to a new pipeline stage.
846
+ * Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
847
+ *
848
+ * @remarks Transitions to stage: CreatedStageRefundProcessing
849
+ *
850
+ * @param options - Optional settings
851
+ * @param options.journeyId - Associate with a journey
852
+ * @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
853
+ * @throws Error if called on a new (unsaved) record
854
+ *
855
+ * @example
856
+ * ```typescript
857
+ * const record = await odinClient.contractBuyOuts.get(id);
858
+ * await record.moveCboToRefundProcessing().execute();
859
+ *
860
+ * // Dry run (for debugging)
861
+ * const payload = record.moveCboToRefundProcessing().dryRun();
862
+ * ```
863
+ */
864
+ moveCboToRefundProcessing(options?: {
865
+ journeyId?: string;
866
+ }): ActionBuilder;
817
867
  /**
818
868
  * MoveCboToVerified
819
869
  *
@@ -1083,6 +1083,35 @@ class ContractBuyOutRecord {
1083
1083
  throw new Error('moveCboToReceived requires an existing record. Use accessor.get() first.');
1084
1084
  return new MoveCboToReceivedFlowBuilder(this, this._provider, this._pendingLinks, options);
1085
1085
  }
1086
+ /**
1087
+ * MoveCboToRefundFailed
1088
+ *
1089
+ * Transitions this ContractBuyOut record to a new pipeline stage.
1090
+ * Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
1091
+ *
1092
+ * @remarks Transitions to stage: CreatedStageRefundFailed
1093
+ *
1094
+ * @param options - Optional settings
1095
+ * @param options.journeyId - Associate with a journey
1096
+ * @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
1097
+ * @throws Error if called on a new (unsaved) record
1098
+ *
1099
+ * @example
1100
+ * ```typescript
1101
+ * const record = await odinClient.contractBuyOuts.get(id);
1102
+ * await record.moveCboToRefundFailed().execute();
1103
+ *
1104
+ * // Dry run (for debugging)
1105
+ * const payload = record.moveCboToRefundFailed().dryRun();
1106
+ * ```
1107
+ */
1108
+ moveCboToRefundFailed(options) {
1109
+ var _a;
1110
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1111
+ throw new Error('moveCboToRefundFailed requires an existing record. Use accessor.get() first.');
1112
+ const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MoveCboToRefundFailed', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'CreatedStageRefundFailed' }, options);
1113
+ return new ActionBuilder(this._provider, 'OrderModule', 'ContractBuyOut', payload, () => { this._pendingLinks = []; });
1114
+ }
1086
1115
  /**
1087
1116
  * MoveCboToRefundProcessed
1088
1117
  *
@@ -1112,6 +1141,35 @@ class ContractBuyOutRecord {
1112
1141
  const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MoveCboToRefundProcessed', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'CreditBuyOutStageRefundProcessed' }, options);
1113
1142
  return new ActionBuilder(this._provider, 'OrderModule', 'ContractBuyOut', payload, () => { this._pendingLinks = []; });
1114
1143
  }
1144
+ /**
1145
+ * MoveCboToRefundProcessing
1146
+ *
1147
+ * Transitions this ContractBuyOut record to a new pipeline stage.
1148
+ * Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
1149
+ *
1150
+ * @remarks Transitions to stage: CreatedStageRefundProcessing
1151
+ *
1152
+ * @param options - Optional settings
1153
+ * @param options.journeyId - Associate with a journey
1154
+ * @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
1155
+ * @throws Error if called on a new (unsaved) record
1156
+ *
1157
+ * @example
1158
+ * ```typescript
1159
+ * const record = await odinClient.contractBuyOuts.get(id);
1160
+ * await record.moveCboToRefundProcessing().execute();
1161
+ *
1162
+ * // Dry run (for debugging)
1163
+ * const payload = record.moveCboToRefundProcessing().dryRun();
1164
+ * ```
1165
+ */
1166
+ moveCboToRefundProcessing(options) {
1167
+ var _a;
1168
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1169
+ throw new Error('moveCboToRefundProcessing requires an existing record. Use accessor.get() first.');
1170
+ const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MoveCboToRefundProcessing', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'CreatedStageRefundProcessing' }, options);
1171
+ return new ActionBuilder(this._provider, 'OrderModule', 'ContractBuyOut', payload, () => { this._pendingLinks = []; });
1172
+ }
1115
1173
  /**
1116
1174
  * MoveCboToVerified
1117
1175
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.235",
3
+ "version": "2.0.236",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",