@d19n/youfibre-odin-sdk 1.0.244 → 1.0.245

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.
@@ -72,17 +72,17 @@ declare class CreateLeadFromAddressFlowBuilder {
72
72
  /**
73
73
  * Add CreateLead step to the flow
74
74
  * @param properties - Properties for this step
75
- * @param options - Optional step settings (id, associations, groups)
75
+ * @param options - Optional step settings (associations, groups)
76
76
  * @returns this (for method chaining)
77
77
  */
78
- createLead(properties: CreateLeadProperties, options?: CreateLeadFromAddressFlowBuilderStepOptions): this;
78
+ createLead(properties: CreateLeadProperties, options?: Omit<CreateLeadFromAddressFlowBuilderStepOptions, "id">): this;
79
79
  /**
80
80
  * Add CreateContact step to the flow
81
81
  * @param properties - Properties for this step
82
- * @param options - Optional step settings (id, associations, groups)
82
+ * @param options - Optional step settings (associations, groups)
83
83
  * @returns this (for method chaining)
84
84
  */
85
- createContact(properties: CreateContactProperties, options?: CreateLeadFromAddressFlowBuilderStepOptions): this;
85
+ createContact(properties: CreateContactProperties, options?: Omit<CreateLeadFromAddressFlowBuilderStepOptions, "id">): this;
86
86
  /**
87
87
  * Execute the flow with all collected steps
88
88
  * @returns The action result
@@ -66,14 +66,13 @@ class CreateLeadFromAddressFlowBuilder {
66
66
  /**
67
67
  * Add CreateLead step to the flow
68
68
  * @param properties - Properties for this step
69
- * @param options - Optional step settings (id, associations, groups)
69
+ * @param options - Optional step settings (associations, groups)
70
70
  * @returns this (for method chaining)
71
71
  */
72
72
  createLead(properties, options) {
73
73
  this._steps.push({
74
74
  actionName: 'CreateLead',
75
75
  properties,
76
- id: options === null || options === void 0 ? void 0 : options.id,
77
76
  associations: options === null || options === void 0 ? void 0 : options.associations,
78
77
  groups: options === null || options === void 0 ? void 0 : options.groups,
79
78
  });
@@ -82,14 +81,13 @@ class CreateLeadFromAddressFlowBuilder {
82
81
  /**
83
82
  * Add CreateContact step to the flow
84
83
  * @param properties - Properties for this step
85
- * @param options - Optional step settings (id, associations, groups)
84
+ * @param options - Optional step settings (associations, groups)
86
85
  * @returns this (for method chaining)
87
86
  */
88
87
  createContact(properties, options) {
89
88
  this._steps.push({
90
89
  actionName: 'CreateContact',
91
90
  properties,
92
- id: options === null || options === void 0 ? void 0 : options.id,
93
91
  associations: options === null || options === void 0 ? void 0 : options.associations,
94
92
  groups: options === null || options === void 0 ? void 0 : options.groups,
95
93
  });
@@ -90,18 +90,19 @@ declare class AssignCaseWithNoteFlowFlowBuilder {
90
90
  addGroup(group: string): this;
91
91
  /**
92
92
  * Add AssignCase step to the flow
93
+ * @param id - ID of the record to update
93
94
  * @param properties - Properties for this step
94
- * @param options - Optional step settings (id, associations, groups)
95
+ * @param options - Optional step settings (associations, groups)
95
96
  * @returns this (for method chaining)
96
97
  */
97
- assignCase(properties: AssignCaseProperties, options?: AssignCaseWithNoteFlowFlowBuilderStepOptions): this;
98
+ assignCase(id: string, properties: AssignCaseProperties, options?: Omit<AssignCaseWithNoteFlowFlowBuilderStepOptions, "id">): this;
98
99
  /**
99
100
  * Add CreateNoteForCaseAssignment step to the flow
100
101
  * @param properties - Properties for this step
101
- * @param options - Optional step settings (id, associations, groups)
102
+ * @param options - Optional step settings (associations, groups)
102
103
  * @returns this (for method chaining)
103
104
  */
104
- createNoteForCaseAssignment(properties: CreateNoteForCaseAssignmentProperties, options?: AssignCaseWithNoteFlowFlowBuilderStepOptions): this;
105
+ createNoteForCaseAssignment(properties: CreateNoteForCaseAssignmentProperties, options?: Omit<AssignCaseWithNoteFlowFlowBuilderStepOptions, "id">): this;
105
106
  /**
106
107
  * Execute the flow with all collected steps
107
108
  * @returns The action result
@@ -144,18 +145,19 @@ declare class CaseDefaultStageEscalatedFlowBuilder {
144
145
  addGroup(group: string): this;
145
146
  /**
146
147
  * Add EscalateCaseAction step to the flow
148
+ * @param id - ID of the record to update
147
149
  * @param properties - Properties for this step
148
- * @param options - Optional step settings (id, associations, groups)
150
+ * @param options - Optional step settings (associations, groups)
149
151
  * @returns this (for method chaining)
150
152
  */
151
- escalateCaseAction(properties: EscalateCaseActionProperties, options?: CaseDefaultStageEscalatedFlowBuilderStepOptions): this;
153
+ escalateCaseAction(id: string, properties: EscalateCaseActionProperties, options?: Omit<CaseDefaultStageEscalatedFlowBuilderStepOptions, "id">): this;
152
154
  /**
153
155
  * Add CreateNoteForCaseAssignment step to the flow
154
156
  * @param properties - Properties for this step
155
- * @param options - Optional step settings (id, associations, groups)
157
+ * @param options - Optional step settings (associations, groups)
156
158
  * @returns this (for method chaining)
157
159
  */
158
- createNoteForCaseAssignment(properties: CreateNoteForCaseAssignmentProperties, options?: CaseDefaultStageEscalatedFlowBuilderStepOptions): this;
160
+ createNoteForCaseAssignment(properties: CreateNoteForCaseAssignmentProperties, options?: Omit<CaseDefaultStageEscalatedFlowBuilderStepOptions, "id">): this;
159
161
  /**
160
162
  * Execute the flow with all collected steps
161
163
  * @returns The action result
@@ -198,11 +200,12 @@ declare class CasedefaultstageblockedFlowBuilder {
198
200
  addGroup(group: string): this;
199
201
  /**
200
202
  * Add MoveCaseToBlockedAction step to the flow
203
+ * @param id - ID of the record to update
201
204
  * @param properties - Properties for this step
202
- * @param options - Optional step settings (id, associations, groups)
205
+ * @param options - Optional step settings (associations, groups)
203
206
  * @returns this (for method chaining)
204
207
  */
205
- moveCaseToBlockedAction(properties: MoveCaseToBlockedActionProperties, options?: CasedefaultstageblockedFlowBuilderStepOptions): this;
208
+ moveCaseToBlockedAction(id: string, properties: MoveCaseToBlockedActionProperties, options?: Omit<CasedefaultstageblockedFlowBuilderStepOptions, "id">): this;
206
209
  /**
207
210
  * Execute the flow with all collected steps
208
211
  * @returns The action result
@@ -245,18 +248,19 @@ declare class EscalateCaseTransitionFlowBuilder {
245
248
  addGroup(group: string): this;
246
249
  /**
247
250
  * Add EscalateCaseAction step to the flow
251
+ * @param id - ID of the record to update
248
252
  * @param properties - Properties for this step
249
- * @param options - Optional step settings (id, associations, groups)
253
+ * @param options - Optional step settings (associations, groups)
250
254
  * @returns this (for method chaining)
251
255
  */
252
- escalateCaseAction(properties: EscalateCaseActionProperties, options?: EscalateCaseTransitionFlowBuilderStepOptions): this;
256
+ escalateCaseAction(id: string, properties: EscalateCaseActionProperties, options?: Omit<EscalateCaseTransitionFlowBuilderStepOptions, "id">): this;
253
257
  /**
254
258
  * Add CreateNoteForCaseAssignment step to the flow
255
259
  * @param properties - Properties for this step
256
- * @param options - Optional step settings (id, associations, groups)
260
+ * @param options - Optional step settings (associations, groups)
257
261
  * @returns this (for method chaining)
258
262
  */
259
- createNoteForCaseAssignment(properties: CreateNoteForCaseAssignmentProperties, options?: EscalateCaseTransitionFlowBuilderStepOptions): this;
263
+ createNoteForCaseAssignment(properties: CreateNoteForCaseAssignmentProperties, options?: Omit<EscalateCaseTransitionFlowBuilderStepOptions, "id">): this;
260
264
  /**
261
265
  * Execute the flow with all collected steps
262
266
  * @returns The action result
@@ -299,11 +303,12 @@ declare class MoveCaseToBlockedTransitionFlowBuilder {
299
303
  addGroup(group: string): this;
300
304
  /**
301
305
  * Add MoveCaseToBlockedAction step to the flow
306
+ * @param id - ID of the record to update
302
307
  * @param properties - Properties for this step
303
- * @param options - Optional step settings (id, associations, groups)
308
+ * @param options - Optional step settings (associations, groups)
304
309
  * @returns this (for method chaining)
305
310
  */
306
- moveCaseToBlockedAction(properties: MoveCaseToBlockedActionProperties, options?: MoveCaseToBlockedTransitionFlowBuilderStepOptions): this;
311
+ moveCaseToBlockedAction(id: string, properties: MoveCaseToBlockedActionProperties, options?: Omit<MoveCaseToBlockedTransitionFlowBuilderStepOptions, "id">): this;
307
312
  /**
308
313
  * Execute the flow with all collected steps
309
314
  * @returns The action result
@@ -346,11 +351,12 @@ declare class MoveCaseToPendingReviewTransitionFlowBuilder {
346
351
  addGroup(group: string): this;
347
352
  /**
348
353
  * Add MoveCaseToPendingReviewAction step to the flow
354
+ * @param id - ID of the record to update
349
355
  * @param properties - Properties for this step
350
- * @param options - Optional step settings (id, associations, groups)
356
+ * @param options - Optional step settings (associations, groups)
351
357
  * @returns this (for method chaining)
352
358
  */
353
- moveCaseToPendingReviewAction(properties: MoveCaseToPendingReviewActionProperties, options?: MoveCaseToPendingReviewTransitionFlowBuilderStepOptions): this;
359
+ moveCaseToPendingReviewAction(id: string, properties: MoveCaseToPendingReviewActionProperties, options?: Omit<MoveCaseToPendingReviewTransitionFlowBuilderStepOptions, "id">): this;
354
360
  /**
355
361
  * Execute the flow with all collected steps
356
362
  * @returns The action result
@@ -393,11 +399,12 @@ declare class MoveDefaultCaseFromOpenToClosedFlowBuilder {
393
399
  addGroup(group: string): this;
394
400
  /**
395
401
  * Add MarkCaseClosed step to the flow
402
+ * @param id - ID of the record to update
396
403
  * @param properties - Properties for this step
397
- * @param options - Optional step settings (id, associations, groups)
404
+ * @param options - Optional step settings (associations, groups)
398
405
  * @returns this (for method chaining)
399
406
  */
400
- markCaseClosed(properties: MarkCaseClosedProperties, options?: MoveDefaultCaseFromOpenToClosedFlowBuilderStepOptions): this;
407
+ markCaseClosed(id: string, properties: MarkCaseClosedProperties, options?: Omit<MoveDefaultCaseFromOpenToClosedFlowBuilderStepOptions, "id">): this;
401
408
  /**
402
409
  * Execute the flow with all collected steps
403
410
  * @returns The action result
@@ -66,15 +66,16 @@ class AssignCaseWithNoteFlowFlowBuilder {
66
66
  }
67
67
  /**
68
68
  * Add AssignCase step to the flow
69
+ * @param id - ID of the record to update
69
70
  * @param properties - Properties for this step
70
- * @param options - Optional step settings (id, associations, groups)
71
+ * @param options - Optional step settings (associations, groups)
71
72
  * @returns this (for method chaining)
72
73
  */
73
- assignCase(properties, options) {
74
+ assignCase(id, properties, options) {
74
75
  this._steps.push({
75
76
  actionName: 'AssignCase',
77
+ id,
76
78
  properties,
77
- id: options === null || options === void 0 ? void 0 : options.id,
78
79
  associations: options === null || options === void 0 ? void 0 : options.associations,
79
80
  groups: options === null || options === void 0 ? void 0 : options.groups,
80
81
  });
@@ -83,14 +84,13 @@ class AssignCaseWithNoteFlowFlowBuilder {
83
84
  /**
84
85
  * Add CreateNoteForCaseAssignment step to the flow
85
86
  * @param properties - Properties for this step
86
- * @param options - Optional step settings (id, associations, groups)
87
+ * @param options - Optional step settings (associations, groups)
87
88
  * @returns this (for method chaining)
88
89
  */
89
90
  createNoteForCaseAssignment(properties, options) {
90
91
  this._steps.push({
91
92
  actionName: 'CreateNoteForCaseAssignment',
92
93
  properties,
93
- id: options === null || options === void 0 ? void 0 : options.id,
94
94
  associations: options === null || options === void 0 ? void 0 : options.associations,
95
95
  groups: options === null || options === void 0 ? void 0 : options.groups,
96
96
  });
@@ -138,15 +138,16 @@ class CaseDefaultStageEscalatedFlowBuilder {
138
138
  }
139
139
  /**
140
140
  * Add EscalateCaseAction step to the flow
141
+ * @param id - ID of the record to update
141
142
  * @param properties - Properties for this step
142
- * @param options - Optional step settings (id, associations, groups)
143
+ * @param options - Optional step settings (associations, groups)
143
144
  * @returns this (for method chaining)
144
145
  */
145
- escalateCaseAction(properties, options) {
146
+ escalateCaseAction(id, properties, options) {
146
147
  this._steps.push({
147
148
  actionName: 'EscalateCaseAction',
149
+ id,
148
150
  properties,
149
- id: options === null || options === void 0 ? void 0 : options.id,
150
151
  associations: options === null || options === void 0 ? void 0 : options.associations,
151
152
  groups: options === null || options === void 0 ? void 0 : options.groups,
152
153
  });
@@ -155,14 +156,13 @@ class CaseDefaultStageEscalatedFlowBuilder {
155
156
  /**
156
157
  * Add CreateNoteForCaseAssignment step to the flow
157
158
  * @param properties - Properties for this step
158
- * @param options - Optional step settings (id, associations, groups)
159
+ * @param options - Optional step settings (associations, groups)
159
160
  * @returns this (for method chaining)
160
161
  */
161
162
  createNoteForCaseAssignment(properties, options) {
162
163
  this._steps.push({
163
164
  actionName: 'CreateNoteForCaseAssignment',
164
165
  properties,
165
- id: options === null || options === void 0 ? void 0 : options.id,
166
166
  associations: options === null || options === void 0 ? void 0 : options.associations,
167
167
  groups: options === null || options === void 0 ? void 0 : options.groups,
168
168
  });
@@ -210,15 +210,16 @@ class CasedefaultstageblockedFlowBuilder {
210
210
  }
211
211
  /**
212
212
  * Add MoveCaseToBlockedAction step to the flow
213
+ * @param id - ID of the record to update
213
214
  * @param properties - Properties for this step
214
- * @param options - Optional step settings (id, associations, groups)
215
+ * @param options - Optional step settings (associations, groups)
215
216
  * @returns this (for method chaining)
216
217
  */
217
- moveCaseToBlockedAction(properties, options) {
218
+ moveCaseToBlockedAction(id, properties, options) {
218
219
  this._steps.push({
219
220
  actionName: 'MoveCaseToBlockedAction',
221
+ id,
220
222
  properties,
221
- id: options === null || options === void 0 ? void 0 : options.id,
222
223
  associations: options === null || options === void 0 ? void 0 : options.associations,
223
224
  groups: options === null || options === void 0 ? void 0 : options.groups,
224
225
  });
@@ -266,15 +267,16 @@ class EscalateCaseTransitionFlowBuilder {
266
267
  }
267
268
  /**
268
269
  * Add EscalateCaseAction step to the flow
270
+ * @param id - ID of the record to update
269
271
  * @param properties - Properties for this step
270
- * @param options - Optional step settings (id, associations, groups)
272
+ * @param options - Optional step settings (associations, groups)
271
273
  * @returns this (for method chaining)
272
274
  */
273
- escalateCaseAction(properties, options) {
275
+ escalateCaseAction(id, properties, options) {
274
276
  this._steps.push({
275
277
  actionName: 'EscalateCaseAction',
278
+ id,
276
279
  properties,
277
- id: options === null || options === void 0 ? void 0 : options.id,
278
280
  associations: options === null || options === void 0 ? void 0 : options.associations,
279
281
  groups: options === null || options === void 0 ? void 0 : options.groups,
280
282
  });
@@ -283,14 +285,13 @@ class EscalateCaseTransitionFlowBuilder {
283
285
  /**
284
286
  * Add CreateNoteForCaseAssignment step to the flow
285
287
  * @param properties - Properties for this step
286
- * @param options - Optional step settings (id, associations, groups)
288
+ * @param options - Optional step settings (associations, groups)
287
289
  * @returns this (for method chaining)
288
290
  */
289
291
  createNoteForCaseAssignment(properties, options) {
290
292
  this._steps.push({
291
293
  actionName: 'CreateNoteForCaseAssignment',
292
294
  properties,
293
- id: options === null || options === void 0 ? void 0 : options.id,
294
295
  associations: options === null || options === void 0 ? void 0 : options.associations,
295
296
  groups: options === null || options === void 0 ? void 0 : options.groups,
296
297
  });
@@ -338,15 +339,16 @@ class MoveCaseToBlockedTransitionFlowBuilder {
338
339
  }
339
340
  /**
340
341
  * Add MoveCaseToBlockedAction step to the flow
342
+ * @param id - ID of the record to update
341
343
  * @param properties - Properties for this step
342
- * @param options - Optional step settings (id, associations, groups)
344
+ * @param options - Optional step settings (associations, groups)
343
345
  * @returns this (for method chaining)
344
346
  */
345
- moveCaseToBlockedAction(properties, options) {
347
+ moveCaseToBlockedAction(id, properties, options) {
346
348
  this._steps.push({
347
349
  actionName: 'MoveCaseToBlockedAction',
350
+ id,
348
351
  properties,
349
- id: options === null || options === void 0 ? void 0 : options.id,
350
352
  associations: options === null || options === void 0 ? void 0 : options.associations,
351
353
  groups: options === null || options === void 0 ? void 0 : options.groups,
352
354
  });
@@ -394,15 +396,16 @@ class MoveCaseToPendingReviewTransitionFlowBuilder {
394
396
  }
395
397
  /**
396
398
  * Add MoveCaseToPendingReviewAction step to the flow
399
+ * @param id - ID of the record to update
397
400
  * @param properties - Properties for this step
398
- * @param options - Optional step settings (id, associations, groups)
401
+ * @param options - Optional step settings (associations, groups)
399
402
  * @returns this (for method chaining)
400
403
  */
401
- moveCaseToPendingReviewAction(properties, options) {
404
+ moveCaseToPendingReviewAction(id, properties, options) {
402
405
  this._steps.push({
403
406
  actionName: 'MoveCaseToPendingReviewAction',
407
+ id,
404
408
  properties,
405
- id: options === null || options === void 0 ? void 0 : options.id,
406
409
  associations: options === null || options === void 0 ? void 0 : options.associations,
407
410
  groups: options === null || options === void 0 ? void 0 : options.groups,
408
411
  });
@@ -450,15 +453,16 @@ class MoveDefaultCaseFromOpenToClosedFlowBuilder {
450
453
  }
451
454
  /**
452
455
  * Add MarkCaseClosed step to the flow
456
+ * @param id - ID of the record to update
453
457
  * @param properties - Properties for this step
454
- * @param options - Optional step settings (id, associations, groups)
458
+ * @param options - Optional step settings (associations, groups)
455
459
  * @returns this (for method chaining)
456
460
  */
457
- markCaseClosed(properties, options) {
461
+ markCaseClosed(id, properties, options) {
458
462
  this._steps.push({
459
463
  actionName: 'MarkCaseClosed',
464
+ id,
460
465
  properties,
461
- id: options === null || options === void 0 ? void 0 : options.id,
462
466
  associations: options === null || options === void 0 ? void 0 : options.associations,
463
467
  groups: options === null || options === void 0 ? void 0 : options.groups,
464
468
  });
@@ -63,11 +63,12 @@ declare class CompleteChurnRequestFlowFlowBuilder {
63
63
  addGroup(group: string): this;
64
64
  /**
65
65
  * Add CompleteChurnRequest step to the flow
66
+ * @param id - ID of the record to update
66
67
  * @param properties - Properties for this step
67
- * @param options - Optional step settings (id, associations, groups)
68
+ * @param options - Optional step settings (associations, groups)
68
69
  * @returns this (for method chaining)
69
70
  */
70
- completeChurnRequest(properties: CompleteChurnRequestProperties, options?: CompleteChurnRequestFlowFlowBuilderStepOptions): this;
71
+ completeChurnRequest(id: string, properties: CompleteChurnRequestProperties, options?: Omit<CompleteChurnRequestFlowFlowBuilderStepOptions, "id">): this;
71
72
  /**
72
73
  * Execute the flow with all collected steps
73
74
  * @returns The action result
@@ -56,15 +56,16 @@ class CompleteChurnRequestFlowFlowBuilder {
56
56
  }
57
57
  /**
58
58
  * Add CompleteChurnRequest step to the flow
59
+ * @param id - ID of the record to update
59
60
  * @param properties - Properties for this step
60
- * @param options - Optional step settings (id, associations, groups)
61
+ * @param options - Optional step settings (associations, groups)
61
62
  * @returns this (for method chaining)
62
63
  */
63
- completeChurnRequest(properties, options) {
64
+ completeChurnRequest(id, properties, options) {
64
65
  this._steps.push({
65
66
  actionName: 'CompleteChurnRequest',
67
+ id,
66
68
  properties,
67
- id: options === null || options === void 0 ? void 0 : options.id,
68
69
  associations: options === null || options === void 0 ? void 0 : options.associations,
69
70
  groups: options === null || options === void 0 ? void 0 : options.groups,
70
71
  });
@@ -74,10 +74,10 @@ declare class CreateCaseFromContactFlowBuilder {
74
74
  /**
75
75
  * Add CreateCase step to the flow
76
76
  * @param properties - Properties for this step
77
- * @param options - Optional step settings (id, associations, groups)
77
+ * @param options - Optional step settings (associations, groups)
78
78
  * @returns this (for method chaining)
79
79
  */
80
- createCase(properties: CreateCaseProperties, options?: CreateCaseFromContactFlowBuilderStepOptions): this;
80
+ createCase(properties: CreateCaseProperties, options?: Omit<CreateCaseFromContactFlowBuilderStepOptions, "id">): this;
81
81
  /**
82
82
  * Execute the flow with all collected steps
83
83
  * @returns The action result
@@ -68,14 +68,13 @@ class CreateCaseFromContactFlowBuilder {
68
68
  /**
69
69
  * Add CreateCase step to the flow
70
70
  * @param properties - Properties for this step
71
- * @param options - Optional step settings (id, associations, groups)
71
+ * @param options - Optional step settings (associations, groups)
72
72
  * @returns this (for method chaining)
73
73
  */
74
74
  createCase(properties, options) {
75
75
  this._steps.push({
76
76
  actionName: 'CreateCase',
77
77
  properties,
78
- id: options === null || options === void 0 ? void 0 : options.id,
79
78
  associations: options === null || options === void 0 ? void 0 : options.associations,
80
79
  groups: options === null || options === void 0 ? void 0 : options.groups,
81
80
  });
@@ -79,11 +79,12 @@ declare class MoveCboToApprovedFlowBuilder {
79
79
  addGroup(group: string): this;
80
80
  /**
81
81
  * Add ApproveCBO step to the flow
82
+ * @param id - ID of the record to update
82
83
  * @param properties - Properties for this step
83
- * @param options - Optional step settings (id, associations, groups)
84
+ * @param options - Optional step settings (associations, groups)
84
85
  * @returns this (for method chaining)
85
86
  */
86
- approveCbo(properties: ApproveCboProperties, options?: MoveCboToApprovedFlowBuilderStepOptions): this;
87
+ approveCbo(id: string, properties: ApproveCboProperties, options?: Omit<MoveCboToApprovedFlowBuilderStepOptions, "id">): this;
87
88
  /**
88
89
  * Execute the flow with all collected steps
89
90
  * @returns The action result
@@ -126,11 +127,12 @@ declare class MoveCboToReceivedFlowBuilder {
126
127
  addGroup(group: string): this;
127
128
  /**
128
129
  * Add FlowStepReceivedConfirmation step to the flow
130
+ * @param id - ID of the record to update
129
131
  * @param properties - Properties for this step
130
- * @param options - Optional step settings (id, associations, groups)
132
+ * @param options - Optional step settings (associations, groups)
131
133
  * @returns this (for method chaining)
132
134
  */
133
- flowStepReceivedConfirmation(properties: FlowStepReceivedConfirmationProperties, options?: MoveCboToReceivedFlowBuilderStepOptions): this;
135
+ flowStepReceivedConfirmation(id: string, properties: FlowStepReceivedConfirmationProperties, options?: Omit<MoveCboToReceivedFlowBuilderStepOptions, "id">): this;
134
136
  /**
135
137
  * Execute the flow with all collected steps
136
138
  * @returns The action result
@@ -60,15 +60,16 @@ class MoveCboToApprovedFlowBuilder {
60
60
  }
61
61
  /**
62
62
  * Add ApproveCBO step to the flow
63
+ * @param id - ID of the record to update
63
64
  * @param properties - Properties for this step
64
- * @param options - Optional step settings (id, associations, groups)
65
+ * @param options - Optional step settings (associations, groups)
65
66
  * @returns this (for method chaining)
66
67
  */
67
- approveCbo(properties, options) {
68
+ approveCbo(id, properties, options) {
68
69
  this._steps.push({
69
70
  actionName: 'ApproveCBO',
71
+ id,
70
72
  properties,
71
- id: options === null || options === void 0 ? void 0 : options.id,
72
73
  associations: options === null || options === void 0 ? void 0 : options.associations,
73
74
  groups: options === null || options === void 0 ? void 0 : options.groups,
74
75
  });
@@ -116,15 +117,16 @@ class MoveCboToReceivedFlowBuilder {
116
117
  }
117
118
  /**
118
119
  * Add FlowStepReceivedConfirmation step to the flow
120
+ * @param id - ID of the record to update
119
121
  * @param properties - Properties for this step
120
- * @param options - Optional step settings (id, associations, groups)
122
+ * @param options - Optional step settings (associations, groups)
121
123
  * @returns this (for method chaining)
122
124
  */
123
- flowStepReceivedConfirmation(properties, options) {
125
+ flowStepReceivedConfirmation(id, properties, options) {
124
126
  this._steps.push({
125
127
  actionName: 'FlowStepReceivedConfirmation',
128
+ id,
126
129
  properties,
127
- id: options === null || options === void 0 ? void 0 : options.id,
128
130
  associations: options === null || options === void 0 ? void 0 : options.associations,
129
131
  groups: options === null || options === void 0 ? void 0 : options.groups,
130
132
  });
@@ -62,10 +62,10 @@ declare class RequestToReplaceOntFlowBuilder {
62
62
  /**
63
63
  * Add CreateOntReplacementApproval step to the flow
64
64
  * @param properties - Properties for this step
65
- * @param options - Optional step settings (id, associations, groups)
65
+ * @param options - Optional step settings (associations, groups)
66
66
  * @returns this (for method chaining)
67
67
  */
68
- createOntReplacementApproval(properties: CreateOntReplacementApprovalProperties, options?: RequestToReplaceOntFlowBuilderStepOptions): this;
68
+ createOntReplacementApproval(properties: CreateOntReplacementApprovalProperties, options?: Omit<RequestToReplaceOntFlowBuilderStepOptions, "id">): this;
69
69
  /**
70
70
  * Execute the flow with all collected steps
71
71
  * @returns The action result
@@ -56,14 +56,13 @@ class RequestToReplaceOntFlowBuilder {
56
56
  /**
57
57
  * Add CreateOntReplacementApproval step to the flow
58
58
  * @param properties - Properties for this step
59
- * @param options - Optional step settings (id, associations, groups)
59
+ * @param options - Optional step settings (associations, groups)
60
60
  * @returns this (for method chaining)
61
61
  */
62
62
  createOntReplacementApproval(properties, options) {
63
63
  this._steps.push({
64
64
  actionName: 'CreateOntReplacementApproval',
65
65
  properties,
66
- id: options === null || options === void 0 ? void 0 : options.id,
67
66
  associations: options === null || options === void 0 ? void 0 : options.associations,
68
67
  groups: options === null || options === void 0 ? void 0 : options.groups,
69
68
  });
@@ -106,10 +106,10 @@ declare class CancelActiveOrderFlowBuilder {
106
106
  /**
107
107
  * Add CreateChurnRequest step to the flow
108
108
  * @param properties - Properties for this step
109
- * @param options - Optional step settings (id, associations, groups)
109
+ * @param options - Optional step settings (associations, groups)
110
110
  * @returns this (for method chaining)
111
111
  */
112
- createChurnRequest(properties: CreateChurnRequestProperties, options?: CancelActiveOrderFlowBuilderStepOptions): this;
112
+ createChurnRequest(properties: CreateChurnRequestProperties, options?: Omit<CancelActiveOrderFlowBuilderStepOptions, "id">): this;
113
113
  /**
114
114
  * Execute the flow with all collected steps
115
115
  * @returns The action result
@@ -153,10 +153,10 @@ declare class CancelOrderPreInstallFlowBuilder {
153
153
  /**
154
154
  * Add CreatePICRequest step to the flow
155
155
  * @param properties - Properties for this step
156
- * @param options - Optional step settings (id, associations, groups)
156
+ * @param options - Optional step settings (associations, groups)
157
157
  * @returns this (for method chaining)
158
158
  */
159
- createPicRequest(properties: CreatePicRequestProperties, options?: CancelOrderPreInstallFlowBuilderStepOptions): this;
159
+ createPicRequest(properties: CreatePicRequestProperties, options?: Omit<CancelOrderPreInstallFlowBuilderStepOptions, "id">): this;
160
160
  /**
161
161
  * Execute the flow with all collected steps
162
162
  * @returns The action result
@@ -199,10 +199,10 @@ declare class CreateCollectionAmcoWorkOrderFromOrderFlowBuilder {
199
199
  /**
200
200
  * Add CreateCollectionAmcoWorkOrder step to the flow
201
201
  * @param properties - Properties for this step
202
- * @param options - Optional step settings (id, associations, groups)
202
+ * @param options - Optional step settings (associations, groups)
203
203
  * @returns this (for method chaining)
204
204
  */
205
- createCollectionAmcoWorkOrder(properties: CreateCollectionAmcoWorkOrderProperties, options?: CreateCollectionAmcoWorkOrderFromOrderFlowBuilderStepOptions): this;
205
+ createCollectionAmcoWorkOrder(properties: CreateCollectionAmcoWorkOrderProperties, options?: Omit<CreateCollectionAmcoWorkOrderFromOrderFlowBuilderStepOptions, "id">): this;
206
206
  /**
207
207
  * Execute the flow with all collected steps
208
208
  * @returns The action result
@@ -245,10 +245,10 @@ declare class CreateCollectionWorkOrderFromOrderFlowBuilder {
245
245
  /**
246
246
  * Add CreateCollectionWorkOrder step to the flow
247
247
  * @param properties - Properties for this step
248
- * @param options - Optional step settings (id, associations, groups)
248
+ * @param options - Optional step settings (associations, groups)
249
249
  * @returns this (for method chaining)
250
250
  */
251
- createCollectionWorkOrder(properties: CreateCollectionWorkOrderProperties, options?: CreateCollectionWorkOrderFromOrderFlowBuilderStepOptions): this;
251
+ createCollectionWorkOrder(properties: CreateCollectionWorkOrderProperties, options?: Omit<CreateCollectionWorkOrderFromOrderFlowBuilderStepOptions, "id">): this;
252
252
  /**
253
253
  * Execute the flow with all collected steps
254
254
  * @returns The action result
@@ -291,10 +291,10 @@ declare class CreateDispatchAmcoWorkOrderFromOrderFlowBuilder {
291
291
  /**
292
292
  * Add CreateDispatchAmcoWorkOrder step to the flow
293
293
  * @param properties - Properties for this step
294
- * @param options - Optional step settings (id, associations, groups)
294
+ * @param options - Optional step settings (associations, groups)
295
295
  * @returns this (for method chaining)
296
296
  */
297
- createDispatchAmcoWorkOrder(properties: CreateDispatchAmcoWorkOrderProperties, options?: CreateDispatchAmcoWorkOrderFromOrderFlowBuilderStepOptions): this;
297
+ createDispatchAmcoWorkOrder(properties: CreateDispatchAmcoWorkOrderProperties, options?: Omit<CreateDispatchAmcoWorkOrderFromOrderFlowBuilderStepOptions, "id">): this;
298
298
  /**
299
299
  * Execute the flow with all collected steps
300
300
  * @returns The action result
@@ -338,10 +338,10 @@ declare class MoveOrderFromDeactivatedToCancelledFlowBuilder {
338
338
  /**
339
339
  * Add CreateChurnRequest step to the flow
340
340
  * @param properties - Properties for this step
341
- * @param options - Optional step settings (id, associations, groups)
341
+ * @param options - Optional step settings (associations, groups)
342
342
  * @returns this (for method chaining)
343
343
  */
344
- createChurnRequest(properties: CreateChurnRequestProperties, options?: MoveOrderFromDeactivatedToCancelledFlowBuilderStepOptions): this;
344
+ createChurnRequest(properties: CreateChurnRequestProperties, options?: Omit<MoveOrderFromDeactivatedToCancelledFlowBuilderStepOptions, "id">): this;
345
345
  /**
346
346
  * Execute the flow with all collected steps
347
347
  * @returns The action result
@@ -385,10 +385,10 @@ declare class MoveOrderFromPendingCancellationToCancelledFlowBuilder {
385
385
  /**
386
386
  * Add CreateChurnRequest step to the flow
387
387
  * @param properties - Properties for this step
388
- * @param options - Optional step settings (id, associations, groups)
388
+ * @param options - Optional step settings (associations, groups)
389
389
  * @returns this (for method chaining)
390
390
  */
391
- createChurnRequest(properties: CreateChurnRequestProperties, options?: MoveOrderFromPendingCancellationToCancelledFlowBuilderStepOptions): this;
391
+ createChurnRequest(properties: CreateChurnRequestProperties, options?: Omit<MoveOrderFromPendingCancellationToCancelledFlowBuilderStepOptions, "id">): this;
392
392
  /**
393
393
  * Execute the flow with all collected steps
394
394
  * @returns The action result
@@ -431,11 +431,12 @@ declare class MoveOrderToActiveFlowBuilder {
431
431
  addGroup(group: string): this;
432
432
  /**
433
433
  * Add ActivateOrder step to the flow
434
+ * @param id - ID of the record to update
434
435
  * @param properties - Properties for this step
435
- * @param options - Optional step settings (id, associations, groups)
436
+ * @param options - Optional step settings (associations, groups)
436
437
  * @returns this (for method chaining)
437
438
  */
438
- activateOrder(properties: ActivateOrderProperties, options?: MoveOrderToActiveFlowBuilderStepOptions): this;
439
+ activateOrder(id: string, properties: ActivateOrderProperties, options?: Omit<MoveOrderToActiveFlowBuilderStepOptions, "id">): this;
439
440
  /**
440
441
  * Execute the flow with all collected steps
441
442
  * @returns The action result