@d19n/youfibre-odin-sdk 1.0.325 → 1.0.326

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.
Files changed (31) hide show
  1. package/dist/api-sdk-v2/UserApi.d.ts +2 -0
  2. package/dist/api-sdk-v2/UserApi.js +6 -0
  3. package/dist/db-sdk-v2/UserDb.d.ts +2 -0
  4. package/dist/db-sdk-v2/UserDb.js +6 -0
  5. package/dist/entities-v2/User.d.ts +6 -0
  6. package/dist/entities-v2/User.js +5 -1
  7. package/dist/entities-v2/YfToolAudit.d.ts +2 -14
  8. package/dist/entities-v2/YfToolAudit.js +0 -2
  9. package/dist/records-v2/AddressRecord.d.ts +0 -2
  10. package/dist/records-v2/AddressRecord.js +0 -2
  11. package/dist/records-v2/CaseRecord.d.ts +24 -34
  12. package/dist/records-v2/CaseRecord.js +32 -30
  13. package/dist/records-v2/ChurnRequestRecord.d.ts +3 -4
  14. package/dist/records-v2/ChurnRequestRecord.js +4 -3
  15. package/dist/records-v2/ContactRecord.d.ts +0 -2
  16. package/dist/records-v2/ContactRecord.js +0 -1
  17. package/dist/records-v2/ContractBuyOutRecord.d.ts +6 -8
  18. package/dist/records-v2/ContractBuyOutRecord.js +8 -6
  19. package/dist/records-v2/CustomerDeviceOntRecord.d.ts +0 -2
  20. package/dist/records-v2/CustomerDeviceOntRecord.js +0 -1
  21. package/dist/records-v2/OrderRecord.d.ts +3 -18
  22. package/dist/records-v2/OrderRecord.js +4 -10
  23. package/dist/records-v2/PICRequestRecord.d.ts +3 -4
  24. package/dist/records-v2/PICRequestRecord.js +4 -3
  25. package/dist/records-v2/PaymentMethodRefundRecord.d.ts +3 -4
  26. package/dist/records-v2/PaymentMethodRefundRecord.js +4 -3
  27. package/dist/records-v2/UserRecord.d.ts +19 -0
  28. package/dist/records-v2/UserRecord.js +32 -0
  29. package/dist/records-v2/WorkOrderRecord.d.ts +36 -106
  30. package/dist/records-v2/WorkOrderRecord.js +48 -94
  31. package/package.json +2 -2
@@ -45,6 +45,7 @@ export declare class UserApi extends ApiProvider {
45
45
  private _calltransfer_fromagent?;
46
46
  private _impersonationtracker?;
47
47
  private _team?;
48
+ private _user?;
48
49
  constructor(authParams?: OauthParams, authToken?: string);
49
50
  get workorderengineer(): ApiRecordLinkManager;
50
51
  get workorderowner(): ApiRecordLinkManager;
@@ -74,6 +75,7 @@ export declare class UserApi extends ApiProvider {
74
75
  get calltransfer_fromagent(): ApiRecordLinkManager;
75
76
  get impersonationtracker(): ApiRecordLinkManager;
76
77
  get team(): ApiRecordLinkManager;
78
+ get user(): ApiRecordLinkManager;
77
79
  setRecord(sourceRecord: any): void;
78
80
  schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
79
81
  search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<UserProperties>>>;
@@ -201,6 +201,12 @@ class UserApi extends api_provider_1.ApiProvider {
201
201
  }
202
202
  return this._team;
203
203
  }
204
+ get user() {
205
+ if (!this._user) {
206
+ this._user = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'IdentityModule:User', 'IdentityModule:User', 'Employees');
207
+ }
208
+ return this._user;
209
+ }
204
210
  // ============================================
205
211
  // STANDARD METHODS (Unchanged API)
206
212
  // ============================================
@@ -49,6 +49,7 @@ export declare class UserDb extends DbProvider {
49
49
  private _calltransfer_fromagent?;
50
50
  private _impersonationtracker?;
51
51
  private _team?;
52
+ private _user?;
52
53
  constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
53
54
  get workorderengineer(): DbRecordLinkManager;
54
55
  get workorderowner(): DbRecordLinkManager;
@@ -78,6 +79,7 @@ export declare class UserDb extends DbProvider {
78
79
  get calltransfer_fromagent(): DbRecordLinkManager;
79
80
  get impersonationtracker(): DbRecordLinkManager;
80
81
  get team(): DbRecordLinkManager;
82
+ get user(): DbRecordLinkManager;
81
83
  setRecord(sourceRecord: any): void;
82
84
  /**
83
85
  * Search records with manual pagination control
@@ -206,6 +206,12 @@ class UserDb extends db_provider_1.DbProvider {
206
206
  }
207
207
  return this._team;
208
208
  }
209
+ get user() {
210
+ if (!this._user) {
211
+ this._user = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'IdentityModule:User', 'IdentityModule:User', 'Employees');
212
+ }
213
+ return this._user;
214
+ }
209
215
  // ============================================
210
216
  // STANDARD METHODS
211
217
  // ============================================
@@ -275,6 +275,8 @@ export declare class User extends OdinRecord<UserProperties> {
275
275
  ImpersonationTracker: OdinLink<LinkedOdinRecord<ImpersonationTrackerProperties>>;
276
276
  /** Linked Team records (Team_User) */
277
277
  Team: OdinLink<LinkedOdinRecord<TeamProperties>>;
278
+ /** Linked User records (Employees) */
279
+ User: OdinLink<LinkedOdinRecord<UserProperties>>;
278
280
  }
279
281
  /**
280
282
  * RabbitMQ routing keys for User events
@@ -302,3 +304,7 @@ export declare const ROUTING_KEY_LINK_USER_PUSH_NOTIFICATION_DELETED = "Identity
302
304
  export declare const ROUTING_KEY_LINK_USER_IMPERSONATION_TRACKER_CREATED = "IdentityModule.User.ImpersonationTracker.SubDbRecordAssociationCreated";
303
305
  /** Event: User__ImpersonationTracker link deleted */
304
306
  export declare const ROUTING_KEY_LINK_USER_IMPERSONATION_TRACKER_DELETED = "IdentityModule.User.ImpersonationTracker.SubDbRecordAssociationDeleted";
307
+ /** Event: Employees link created */
308
+ export declare const ROUTING_KEY_LINK_EMPLOYEES_CREATED = "IdentityModule.User.User.SubDbRecordAssociationCreated";
309
+ /** Event: Employees link deleted */
310
+ export declare const ROUTING_KEY_LINK_EMPLOYEES_DELETED = "IdentityModule.User.User.SubDbRecordAssociationDeleted";
@@ -12,7 +12,7 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_USER_IMPERSONATION_TRACKER_DELETED = exports.ROUTING_KEY_LINK_USER_IMPERSONATION_TRACKER_CREATED = exports.ROUTING_KEY_LINK_USER_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_USER_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_USER_CUSTOMER_DEVICE_CONFIGURATION_DELETED = exports.ROUTING_KEY_LINK_USER_CUSTOMER_DEVICE_CONFIGURATION_CREATED = exports.ROUTING_KEY_LINK_TWILIO_USER_UPDATE_DELETED = exports.ROUTING_KEY_LINK_TWILIO_USER_UPDATE_CREATED = exports.ROUTING_KEY_LINK_USER_TIME_SLOT_DELETED = exports.ROUTING_KEY_LINK_USER_TIME_SLOT_CREATED = exports.ROUTING_KEY_USER_DELETED = exports.ROUTING_KEY_USER_UPDATED = exports.ROUTING_KEY_USER_CREATED = exports.User = exports.UserPropertyKeys = exports.UserAccredited = exports.UserEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_EMPLOYEES_DELETED = exports.ROUTING_KEY_LINK_EMPLOYEES_CREATED = exports.ROUTING_KEY_LINK_USER_IMPERSONATION_TRACKER_DELETED = exports.ROUTING_KEY_LINK_USER_IMPERSONATION_TRACKER_CREATED = exports.ROUTING_KEY_LINK_USER_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_USER_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_USER_CUSTOMER_DEVICE_CONFIGURATION_DELETED = exports.ROUTING_KEY_LINK_USER_CUSTOMER_DEVICE_CONFIGURATION_CREATED = exports.ROUTING_KEY_LINK_TWILIO_USER_UPDATE_DELETED = exports.ROUTING_KEY_LINK_TWILIO_USER_UPDATE_CREATED = exports.ROUTING_KEY_LINK_USER_TIME_SLOT_DELETED = exports.ROUTING_KEY_LINK_USER_TIME_SLOT_CREATED = exports.ROUTING_KEY_USER_DELETED = exports.ROUTING_KEY_USER_UPDATED = exports.ROUTING_KEY_USER_CREATED = exports.User = exports.UserPropertyKeys = exports.UserAccredited = exports.UserEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for User records
@@ -126,3 +126,7 @@ exports.ROUTING_KEY_LINK_USER_PUSH_NOTIFICATION_DELETED = 'IdentityModule.User.P
126
126
  exports.ROUTING_KEY_LINK_USER_IMPERSONATION_TRACKER_CREATED = 'IdentityModule.User.ImpersonationTracker.SubDbRecordAssociationCreated';
127
127
  /** Event: User__ImpersonationTracker link deleted */
128
128
  exports.ROUTING_KEY_LINK_USER_IMPERSONATION_TRACKER_DELETED = 'IdentityModule.User.ImpersonationTracker.SubDbRecordAssociationDeleted';
129
+ /** Event: Employees link created */
130
+ exports.ROUTING_KEY_LINK_EMPLOYEES_CREATED = 'IdentityModule.User.User.SubDbRecordAssociationCreated';
131
+ /** Event: Employees link deleted */
132
+ exports.ROUTING_KEY_LINK_EMPLOYEES_DELETED = 'IdentityModule.User.User.SubDbRecordAssociationDeleted';
@@ -972,8 +972,6 @@ export declare enum YfToolAuditPropertyKeys {
972
972
  RedExpansionPlugs = "RedExpansionPlugs",
973
973
  /** Free-text notes field for YfToolAudit. Used by Field Operations team for documentation. */
974
974
  Bosch8PieceSdsPlusMasonryDrillSet510mmComment = "Bosch8PieceSDSPlusMasonryDrillSet510mmComment",
975
- /** Data field for YfToolAudit records. Used by Field Operations team. */
976
- ConductedOn = "ConductedOn",
977
975
  /** Free-text notes field for YfToolAudit. Used by Field Operations team for documentation. */
978
976
  Bosch103PieceDrillAndScrewdriverBitSetComment = "Bosch103PieceDrillAndScrewdriverBitSetComment",
979
977
  /** Data field for YfToolAudit records. Used by Field Operations team. */
@@ -1340,7 +1338,7 @@ export interface YfToolAuditProperties {
1340
1338
  BoschGsb18V55CombiDrillDriverPhoto: string;
1341
1339
  /** Data field for YfToolAudit records. Used by Field Operations team.
1342
1340
  *
1343
- * @type {LOOKUP}
1341
+ * @type {NAME}
1344
1342
  */
1345
1343
  PreparedBy: string;
1346
1344
  /** Data field for YfToolAudit records. Used by Field Operations team.
@@ -1501,11 +1499,6 @@ export interface YfToolAuditProperties {
1501
1499
  * @type {TEXT_LONG}
1502
1500
  */
1503
1501
  Bosch8PieceSdsPlusMasonryDrillSet510mmComment: string;
1504
- /** Data field for YfToolAudit records. Used by Field Operations team.
1505
- *
1506
- * @type {DATE_TIME}
1507
- */
1508
- ConductedOn: string;
1509
1502
  /** Free-text notes field for YfToolAudit. Used by Field Operations team for documentation.
1510
1503
  *
1511
1504
  * @type {TEXT_LONG}
@@ -1885,7 +1878,7 @@ export interface OutcomeFormYfToolAuditProperties {
1885
1878
  BoschGsb18V55CombiDrillDriverPhoto: string;
1886
1879
  /** Data field for YfToolAudit records. Used by Field Operations team.
1887
1880
  *
1888
- * @type {LOOKUP}
1881
+ * @type {NAME}
1889
1882
  */
1890
1883
  PreparedBy: string;
1891
1884
  /** Data field for YfToolAudit records. Used by Field Operations team.
@@ -2046,11 +2039,6 @@ export interface OutcomeFormYfToolAuditProperties {
2046
2039
  * @type {TEXT_LONG}
2047
2040
  */
2048
2041
  Bosch8PieceSdsPlusMasonryDrillSet510mmComment: string;
2049
- /** Data field for YfToolAudit records. Used by Field Operations team.
2050
- *
2051
- * @type {DATE_TIME}
2052
- */
2053
- ConductedOn: string;
2054
2042
  /** Free-text notes field for YfToolAudit. Used by Field Operations team for documentation.
2055
2043
  *
2056
2044
  * @type {TEXT_LONG}
@@ -1031,8 +1031,6 @@ var YfToolAuditPropertyKeys;
1031
1031
  YfToolAuditPropertyKeys["RedExpansionPlugs"] = "RedExpansionPlugs";
1032
1032
  /** Free-text notes field for YfToolAudit. Used by Field Operations team for documentation. */
1033
1033
  YfToolAuditPropertyKeys["Bosch8PieceSdsPlusMasonryDrillSet510mmComment"] = "Bosch8PieceSDSPlusMasonryDrillSet510mmComment";
1034
- /** Data field for YfToolAudit records. Used by Field Operations team. */
1035
- YfToolAuditPropertyKeys["ConductedOn"] = "ConductedOn";
1036
1034
  /** Free-text notes field for YfToolAudit. Used by Field Operations team for documentation. */
1037
1035
  YfToolAuditPropertyKeys["Bosch103PieceDrillAndScrewdriverBitSetComment"] = "Bosch103PieceDrillAndScrewdriverBitSetComment";
1038
1036
  /** Data field for YfToolAudit records. Used by Field Operations team. */
@@ -74,8 +74,6 @@ declare class ActionBuilder<T = IDbRecordCreateUpdateRes[]> {
74
74
  }
75
75
  /** Options for a flow step */
76
76
  export interface CreateLeadFromAddressFlowBuilderStepOptions {
77
- /** Record ID if updating a specific record in this step */
78
- id?: string;
79
77
  /** Associations to create with this step */
80
78
  associations?: Array<{
81
79
  recordId?: string;
@@ -123,7 +123,6 @@ class CreateLeadFromAddressFlowBuilder {
123
123
  this._steps.push({
124
124
  actionName: 'CreateLead',
125
125
  properties,
126
- id: options === null || options === void 0 ? void 0 : options.id,
127
126
  entity: 'CrmModule:Lead',
128
127
  schemaId: 'af31abc1-5d28-4a12-ba22-2da7d44febba',
129
128
  schemaActionId: '82822a02-ea89-49ad-9417-c6fcb4912bfb',
@@ -144,7 +143,6 @@ class CreateLeadFromAddressFlowBuilder {
144
143
  this._steps.push({
145
144
  actionName: 'CreateContact',
146
145
  properties,
147
- id: options === null || options === void 0 ? void 0 : options.id,
148
146
  entity: 'CrmModule:Contact',
149
147
  schemaId: 'ff4313f0-9929-4481-bdf4-c90ff9624014',
150
148
  schemaActionId: 'b6497532-cf9d-467c-9684-c1b19acb7ed1',
@@ -96,8 +96,6 @@ declare class ActionBuilder<T = IDbRecordCreateUpdateRes[]> {
96
96
  }
97
97
  /** Options for a flow step */
98
98
  export interface AssignCaseWithNoteFlowFlowBuilderStepOptions {
99
- /** Record ID if updating a specific record in this step */
100
- id?: string;
101
99
  /** Associations to create with this step */
102
100
  associations?: Array<{
103
101
  recordId?: string;
@@ -129,11 +127,12 @@ export declare class AssignCaseWithNoteFlowFlowBuilder {
129
127
  addGroup(group: string): this;
130
128
  /**
131
129
  * Add AssignCase step to the flow
130
+ * @param id - ID of the record to update
132
131
  * @param properties - Properties for this step
133
132
  * @param options - Optional step settings
134
133
  * @returns this (for method chaining)
135
134
  */
136
- assignCase(properties: AssignCaseProperties, options?: AssignCaseWithNoteFlowFlowBuilderStepOptions): this;
135
+ assignCase(id: string, properties: AssignCaseProperties, options?: AssignCaseWithNoteFlowFlowBuilderStepOptions): this;
137
136
  /**
138
137
  * Add CreateNoteForCaseAssignment step to the flow
139
138
  * @param properties - Properties for this step
@@ -165,8 +164,6 @@ export declare class AssignCaseWithNoteFlowFlowBuilder {
165
164
  }
166
165
  /** Options for a flow step */
167
166
  export interface CaseDefaultStageEscalatedFlowBuilderStepOptions {
168
- /** Record ID if updating a specific record in this step */
169
- id?: string;
170
167
  /** Associations to create with this step */
171
168
  associations?: Array<{
172
169
  recordId?: string;
@@ -199,11 +196,12 @@ export declare class CaseDefaultStageEscalatedFlowBuilder {
199
196
  addGroup(group: string): this;
200
197
  /**
201
198
  * Add EscalateCaseAction step to the flow
199
+ * @param id - ID of the record to update
202
200
  * @param properties - Properties for this step
203
201
  * @param options - Optional step settings
204
202
  * @returns this (for method chaining)
205
203
  */
206
- escalateCaseAction(properties: EscalateCaseActionProperties, options?: CaseDefaultStageEscalatedFlowBuilderStepOptions): this;
204
+ escalateCaseAction(id: string, properties: EscalateCaseActionProperties, options?: CaseDefaultStageEscalatedFlowBuilderStepOptions): this;
207
205
  /**
208
206
  * Add CreateNoteForCaseAssignment step to the flow
209
207
  * @param properties - Properties for this step
@@ -235,8 +233,6 @@ export declare class CaseDefaultStageEscalatedFlowBuilder {
235
233
  }
236
234
  /** Options for a flow step */
237
235
  export interface CaseDefaultStageSolvedFlowBuilderStepOptions {
238
- /** Record ID if updating a specific record in this step */
239
- id?: string;
240
236
  /** Associations to create with this step */
241
237
  associations?: Array<{
242
238
  recordId?: string;
@@ -269,11 +265,12 @@ export declare class CaseDefaultStageSolvedFlowBuilder {
269
265
  addGroup(group: string): this;
270
266
  /**
271
267
  * Add ExceptionInput step to the flow
268
+ * @param id - ID of the record to update
272
269
  * @param properties - Properties for this step
273
270
  * @param options - Optional step settings
274
271
  * @returns this (for method chaining)
275
272
  */
276
- exceptionInput(properties: ExceptionInputProperties, options?: CaseDefaultStageSolvedFlowBuilderStepOptions): this;
273
+ exceptionInput(id: string, properties: ExceptionInputProperties, options?: CaseDefaultStageSolvedFlowBuilderStepOptions): this;
277
274
  /**
278
275
  * Execute the flow
279
276
  * @returns The result from the API
@@ -298,8 +295,6 @@ export declare class CaseDefaultStageSolvedFlowBuilder {
298
295
  }
299
296
  /** Options for a flow step */
300
297
  export interface CasedefaultstageblockedFlowBuilderStepOptions {
301
- /** Record ID if updating a specific record in this step */
302
- id?: string;
303
298
  /** Associations to create with this step */
304
299
  associations?: Array<{
305
300
  recordId?: string;
@@ -332,11 +327,12 @@ export declare class CasedefaultstageblockedFlowBuilder {
332
327
  addGroup(group: string): this;
333
328
  /**
334
329
  * Add MoveCaseToBlockedAction step to the flow
330
+ * @param id - ID of the record to update
335
331
  * @param properties - Properties for this step
336
332
  * @param options - Optional step settings
337
333
  * @returns this (for method chaining)
338
334
  */
339
- moveCaseToBlockedAction(properties: MoveCaseToBlockedActionProperties, options?: CasedefaultstageblockedFlowBuilderStepOptions): this;
335
+ moveCaseToBlockedAction(id: string, properties: MoveCaseToBlockedActionProperties, options?: CasedefaultstageblockedFlowBuilderStepOptions): this;
340
336
  /**
341
337
  * Execute the flow
342
338
  * @returns The result from the API
@@ -361,8 +357,6 @@ export declare class CasedefaultstageblockedFlowBuilder {
361
357
  }
362
358
  /** Options for a flow step */
363
359
  export interface CreateCaseForChatFlowBuilderStepOptions {
364
- /** Record ID if updating a specific record in this step */
365
- id?: string;
366
360
  /** Associations to create with this step */
367
361
  associations?: Array<{
368
362
  recordId?: string;
@@ -438,8 +432,6 @@ export declare class CreateCaseForChatFlowBuilder {
438
432
  }
439
433
  /** Options for a flow step */
440
434
  export interface EscalateCaseTransitionFlowBuilderStepOptions {
441
- /** Record ID if updating a specific record in this step */
442
- id?: string;
443
435
  /** Associations to create with this step */
444
436
  associations?: Array<{
445
437
  recordId?: string;
@@ -472,11 +464,12 @@ export declare class EscalateCaseTransitionFlowBuilder {
472
464
  addGroup(group: string): this;
473
465
  /**
474
466
  * Add EscalateCaseAction step to the flow
467
+ * @param id - ID of the record to update
475
468
  * @param properties - Properties for this step
476
469
  * @param options - Optional step settings
477
470
  * @returns this (for method chaining)
478
471
  */
479
- escalateCaseAction(properties: EscalateCaseActionProperties, options?: EscalateCaseTransitionFlowBuilderStepOptions): this;
472
+ escalateCaseAction(id: string, properties: EscalateCaseActionProperties, options?: EscalateCaseTransitionFlowBuilderStepOptions): this;
480
473
  /**
481
474
  * Add CreateNoteForCaseAssignment step to the flow
482
475
  * @param properties - Properties for this step
@@ -508,8 +501,6 @@ export declare class EscalateCaseTransitionFlowBuilder {
508
501
  }
509
502
  /** Options for a flow step */
510
503
  export interface MoveCaseToBlockedTransitionFlowBuilderStepOptions {
511
- /** Record ID if updating a specific record in this step */
512
- id?: string;
513
504
  /** Associations to create with this step */
514
505
  associations?: Array<{
515
506
  recordId?: string;
@@ -542,11 +533,12 @@ export declare class MoveCaseToBlockedTransitionFlowBuilder {
542
533
  addGroup(group: string): this;
543
534
  /**
544
535
  * Add MoveCaseToBlockedAction step to the flow
536
+ * @param id - ID of the record to update
545
537
  * @param properties - Properties for this step
546
538
  * @param options - Optional step settings
547
539
  * @returns this (for method chaining)
548
540
  */
549
- moveCaseToBlockedAction(properties: MoveCaseToBlockedActionProperties, options?: MoveCaseToBlockedTransitionFlowBuilderStepOptions): this;
541
+ moveCaseToBlockedAction(id: string, properties: MoveCaseToBlockedActionProperties, options?: MoveCaseToBlockedTransitionFlowBuilderStepOptions): this;
550
542
  /**
551
543
  * Execute the flow
552
544
  * @returns The result from the API
@@ -571,8 +563,6 @@ export declare class MoveCaseToBlockedTransitionFlowBuilder {
571
563
  }
572
564
  /** Options for a flow step */
573
565
  export interface MoveCaseToPendingReviewTransitionFlowBuilderStepOptions {
574
- /** Record ID if updating a specific record in this step */
575
- id?: string;
576
566
  /** Associations to create with this step */
577
567
  associations?: Array<{
578
568
  recordId?: string;
@@ -605,11 +595,12 @@ export declare class MoveCaseToPendingReviewTransitionFlowBuilder {
605
595
  addGroup(group: string): this;
606
596
  /**
607
597
  * Add MoveCaseToPendingReviewAction step to the flow
598
+ * @param id - ID of the record to update
608
599
  * @param properties - Properties for this step
609
600
  * @param options - Optional step settings
610
601
  * @returns this (for method chaining)
611
602
  */
612
- moveCaseToPendingReviewAction(properties: MoveCaseToPendingReviewActionProperties, options?: MoveCaseToPendingReviewTransitionFlowBuilderStepOptions): this;
603
+ moveCaseToPendingReviewAction(id: string, properties: MoveCaseToPendingReviewActionProperties, options?: MoveCaseToPendingReviewTransitionFlowBuilderStepOptions): this;
613
604
  /**
614
605
  * Execute the flow
615
606
  * @returns The result from the API
@@ -634,8 +625,6 @@ export declare class MoveCaseToPendingReviewTransitionFlowBuilder {
634
625
  }
635
626
  /** Options for a flow step */
636
627
  export interface MoveDefaultCaseFromOpenToClosedFlowBuilderStepOptions {
637
- /** Record ID if updating a specific record in this step */
638
- id?: string;
639
628
  /** Associations to create with this step */
640
629
  associations?: Array<{
641
630
  recordId?: string;
@@ -668,11 +657,12 @@ export declare class MoveDefaultCaseFromOpenToClosedFlowBuilder {
668
657
  addGroup(group: string): this;
669
658
  /**
670
659
  * Add MarkCaseClosed step to the flow
660
+ * @param id - ID of the record to update
671
661
  * @param properties - Properties for this step
672
662
  * @param options - Optional step settings
673
663
  * @returns this (for method chaining)
674
664
  */
675
- markCaseClosed(properties: MarkCaseClosedProperties, options?: MoveDefaultCaseFromOpenToClosedFlowBuilderStepOptions): this;
665
+ markCaseClosed(id: string, properties: MarkCaseClosedProperties, options?: MoveDefaultCaseFromOpenToClosedFlowBuilderStepOptions): this;
676
666
  /**
677
667
  * Execute the flow
678
668
  * @returns The result from the API
@@ -1233,7 +1223,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
1233
1223
  * // Can be called on new() or get() - steps determine ID requirements
1234
1224
  * const record = odinClient.cases.new();
1235
1225
  * await record.assignCaseWithNoteFlow()
1236
- * .assignCase({ ... })
1226
+ * .assignCase(recordId, { ... })
1237
1227
  * .createNoteForCaseAssignment({ ... })
1238
1228
  * .execute();
1239
1229
  * ```
@@ -1284,7 +1274,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
1284
1274
  * ```typescript
1285
1275
  * const record = await odinClient.cases.get(id);
1286
1276
  * await record.caseDefaultStageEscalated()
1287
- * .escalateCaseAction({ ... })
1277
+ * .escalateCaseAction(recordId, { ... })
1288
1278
  * .createNoteForCaseAssignment({ ... })
1289
1279
  * .execute();
1290
1280
  * ```
@@ -1336,7 +1326,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
1336
1326
  * ```typescript
1337
1327
  * const record = await odinClient.cases.get(id);
1338
1328
  * await record.caseDefaultStageSolved()
1339
- * .exceptionInput({ ... })
1329
+ * .exceptionInput(recordId, { ... })
1340
1330
  * .execute();
1341
1331
  * ```
1342
1332
  */
@@ -1386,7 +1376,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
1386
1376
  * ```typescript
1387
1377
  * const record = await odinClient.cases.get(id);
1388
1378
  * await record.casedefaultstageblocked()
1389
- * .moveCaseToBlockedAction({ ... })
1379
+ * .moveCaseToBlockedAction(recordId, { ... })
1390
1380
  * .execute();
1391
1381
  * ```
1392
1382
  */
@@ -1489,7 +1479,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
1489
1479
  * ```typescript
1490
1480
  * const record = await odinClient.cases.get(id);
1491
1481
  * await record.escalateCaseTransition()
1492
- * .escalateCaseAction({ ... })
1482
+ * .escalateCaseAction(recordId, { ... })
1493
1483
  * .createNoteForCaseAssignment({ ... })
1494
1484
  * .execute();
1495
1485
  * ```
@@ -1643,7 +1633,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
1643
1633
  * ```typescript
1644
1634
  * const record = await odinClient.cases.get(id);
1645
1635
  * await record.moveCaseToBlockedTransition()
1646
- * .moveCaseToBlockedAction({ ... })
1636
+ * .moveCaseToBlockedAction(recordId, { ... })
1647
1637
  * .execute();
1648
1638
  * ```
1649
1639
  */
@@ -1718,7 +1708,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
1718
1708
  * ```typescript
1719
1709
  * const record = await odinClient.cases.get(id);
1720
1710
  * await record.moveCaseToPendingReviewTransition()
1721
- * .moveCaseToPendingReviewAction({ ... })
1711
+ * .moveCaseToPendingReviewAction(recordId, { ... })
1722
1712
  * .execute();
1723
1713
  * ```
1724
1714
  */
@@ -1793,7 +1783,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
1793
1783
  * ```typescript
1794
1784
  * const record = await odinClient.cases.get(id);
1795
1785
  * await record.moveDefaultCaseFromOpenToClosed()
1796
- * .markCaseClosed({ ... })
1786
+ * .markCaseClosed(recordId, { ... })
1797
1787
  * .execute();
1798
1788
  * ```
1799
1789
  */