@d19n/youfibre-odin-sdk 1.0.297 → 1.0.298

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.
@@ -23,12 +23,12 @@ export declare enum ConfigEntityTypes {
23
23
  * Use these constants instead of string literals for type safety
24
24
  */
25
25
  export declare enum ConfigPropertyKeys {
26
- /** the name of the app this config relates to (Platform - Config) */
27
- AppName = "AppName",
26
+ /** Data field for Config records. Used by Platform team. */
27
+ Test = "Test",
28
28
  /** object of { key: value } mappings (Platform - Config) */
29
29
  Mappings = "Mappings",
30
- /** Data field for Config records. Used by Platform team. */
31
- Test = "Test"
30
+ /** the name of the app this config relates to (Platform - Config) */
31
+ AppName = "AppName"
32
32
  }
33
33
  /**
34
34
  * Properties for Config records
@@ -36,21 +36,21 @@ export declare enum ConfigPropertyKeys {
36
36
  * @see SchemaModule:Config
37
37
  */
38
38
  export interface ConfigProperties {
39
- /** the name of the app this config relates to (Platform - Config)
39
+ /** Data field for Config records. Used by Platform team.
40
40
  *
41
41
  * @type {TEXT}
42
42
  */
43
- AppName: string;
43
+ Test: string;
44
44
  /** object of { key: value } mappings (Platform - Config)
45
45
  *
46
46
  * @type {JSON}
47
47
  */
48
48
  Mappings: string;
49
- /** Data field for Config records. Used by Platform team.
49
+ /** the name of the app this config relates to (Platform - Config)
50
50
  *
51
51
  * @type {TEXT}
52
52
  */
53
- Test: string;
53
+ AppName: string;
54
54
  }
55
55
  /**
56
56
  * Config entity from SchemaModule
@@ -28,12 +28,12 @@ var ConfigEntityTypes;
28
28
  */
29
29
  var ConfigPropertyKeys;
30
30
  (function (ConfigPropertyKeys) {
31
- /** the name of the app this config relates to (Platform - Config) */
32
- ConfigPropertyKeys["AppName"] = "AppName";
33
- /** object of { key: value } mappings (Platform - Config) */
34
- ConfigPropertyKeys["Mappings"] = "Mappings";
35
31
  /** Data field for Config records. Used by Platform team. */
36
32
  ConfigPropertyKeys["Test"] = "Test";
33
+ /** object of { key: value } mappings (Platform - Config) */
34
+ ConfigPropertyKeys["Mappings"] = "Mappings";
35
+ /** the name of the app this config relates to (Platform - Config) */
36
+ ConfigPropertyKeys["AppName"] = "AppName";
37
37
  })(ConfigPropertyKeys = exports.ConfigPropertyKeys || (exports.ConfigPropertyKeys = {}));
38
38
  /**
39
39
  * Config entity from SchemaModule
@@ -158,7 +158,7 @@ class CreateLeadFromAddressFlowBuilder {
158
158
  groups: step.groups,
159
159
  };
160
160
  });
161
- return Object.assign({ entity: 'CrmModule:Address', actionName: 'CreateLeadFromAddress', schemaActionId: '0641d00f-675e-4cea-9b57-a72f84496f41', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
161
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'CrmModule:Address', actionName: 'CreateLeadFromAddress', schemaActionId: '0641d00f-675e-4cea-9b57-a72f84496f41', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
162
162
  }
163
163
  }
164
164
  exports.CreateLeadFromAddressFlowBuilder = CreateLeadFromAddressFlowBuilder;
@@ -548,7 +548,7 @@ class CreateCaseForChatFlowBuilder {
548
548
  groups: step.groups,
549
549
  };
550
550
  });
551
- return Object.assign({ entity: 'SupportModule:Case', actionName: 'CreateCaseForChat', schemaActionId: '7c35e74a-94e4-43e7-9db3-b619149a9c1c', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
551
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'SupportModule:Case', actionName: 'CreateCaseForChat', schemaActionId: '7c35e74a-94e4-43e7-9db3-b619149a9c1c', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
552
552
  }
553
553
  }
554
554
  exports.CreateCaseForChatFlowBuilder = CreateCaseForChatFlowBuilder;
@@ -144,7 +144,7 @@ class CreateCaseFromContactFlowBuilder {
144
144
  groups: step.groups,
145
145
  };
146
146
  });
147
- return Object.assign({ entity: 'CrmModule:Contact', actionName: 'CreateCaseFromContact', schemaActionId: '1ce09865-ead7-4ee5-8458-df4a1cbad5a0', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
147
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'CrmModule:Contact', actionName: 'CreateCaseFromContact', schemaActionId: '1ce09865-ead7-4ee5-8458-df4a1cbad5a0', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
148
148
  }
149
149
  }
150
150
  exports.CreateCaseFromContactFlowBuilder = CreateCaseFromContactFlowBuilder;
@@ -134,7 +134,7 @@ class RequestToReplaceOntFlowBuilder {
134
134
  groups: step.groups,
135
135
  };
136
136
  });
137
- return Object.assign({ entity: 'ServiceModule:CustomerDeviceOnt', actionName: 'RequestToReplaceOnt', schemaActionId: '27337185-ccd5-4430-a13d-1c0322db52bc', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
137
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'ServiceModule:CustomerDeviceOnt', actionName: 'RequestToReplaceOnt', schemaActionId: '27337185-ccd5-4430-a13d-1c0322db52bc', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
138
138
  }
139
139
  }
140
140
  exports.RequestToReplaceOntFlowBuilder = RequestToReplaceOntFlowBuilder;
@@ -152,7 +152,7 @@ class CancelActiveOrderFlowBuilder {
152
152
  groups: step.groups,
153
153
  };
154
154
  });
155
- return Object.assign({ entity: 'OrderModule:Order', actionName: 'CancelActiveOrder', schemaActionId: '15691296-2cf0-4d80-9dbf-3f3215de2e3a', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'OrderStageCancelled' }, this._options);
155
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'OrderModule:Order', actionName: 'CancelActiveOrder', schemaActionId: '15691296-2cf0-4d80-9dbf-3f3215de2e3a', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'OrderStageCancelled' }), this._options);
156
156
  }
157
157
  }
158
158
  exports.CancelActiveOrderFlowBuilder = CancelActiveOrderFlowBuilder;
@@ -256,7 +256,7 @@ class CancelOrderPreInstallFlowBuilder {
256
256
  groups: step.groups,
257
257
  };
258
258
  });
259
- return Object.assign({ entity: 'OrderModule:Order', actionName: 'CancelOrderPreInstall', schemaActionId: 'dd43f3fe-b7be-4822-81de-9ff96f6feafb', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'OrderStageCancelled' }, this._options);
259
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'OrderModule:Order', actionName: 'CancelOrderPreInstall', schemaActionId: 'dd43f3fe-b7be-4822-81de-9ff96f6feafb', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'OrderStageCancelled' }), this._options);
260
260
  }
261
261
  }
262
262
  exports.CancelOrderPreInstallFlowBuilder = CancelOrderPreInstallFlowBuilder;
@@ -359,7 +359,7 @@ class CreateCollectionAmcoWorkOrderFromOrderFlowBuilder {
359
359
  groups: step.groups,
360
360
  };
361
361
  });
362
- return Object.assign({ entity: 'OrderModule:Order', actionName: 'CreateCollectionAmcoWorkOrderFromOrder', schemaActionId: 'f9550860-6c33-47f9-bafe-ae1bc28f6263', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
362
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'OrderModule:Order', actionName: 'CreateCollectionAmcoWorkOrderFromOrder', schemaActionId: 'f9550860-6c33-47f9-bafe-ae1bc28f6263', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
363
363
  }
364
364
  }
365
365
  exports.CreateCollectionAmcoWorkOrderFromOrderFlowBuilder = CreateCollectionAmcoWorkOrderFromOrderFlowBuilder;
@@ -462,7 +462,7 @@ class CreateCollectionWorkOrderFromOrderFlowBuilder {
462
462
  groups: step.groups,
463
463
  };
464
464
  });
465
- return Object.assign({ entity: 'OrderModule:Order', actionName: 'CreateCollectionWorkOrderFromOrder', schemaActionId: 'f85b9f0f-ef70-4e98-8ed4-e5bcc6572c95', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
465
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'OrderModule:Order', actionName: 'CreateCollectionWorkOrderFromOrder', schemaActionId: 'f85b9f0f-ef70-4e98-8ed4-e5bcc6572c95', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
466
466
  }
467
467
  }
468
468
  exports.CreateCollectionWorkOrderFromOrderFlowBuilder = CreateCollectionWorkOrderFromOrderFlowBuilder;
@@ -565,7 +565,7 @@ class CreateDispatchAmcoWorkOrderFromOrderFlowBuilder {
565
565
  groups: step.groups,
566
566
  };
567
567
  });
568
- return Object.assign({ entity: 'OrderModule:Order', actionName: 'CreateDispatchAmcoWorkOrderFromOrder', schemaActionId: '48db4817-40ca-4cc8-aa97-16ca51af26de', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
568
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'OrderModule:Order', actionName: 'CreateDispatchAmcoWorkOrderFromOrder', schemaActionId: '48db4817-40ca-4cc8-aa97-16ca51af26de', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
569
569
  }
570
570
  }
571
571
  exports.CreateDispatchAmcoWorkOrderFromOrderFlowBuilder = CreateDispatchAmcoWorkOrderFromOrderFlowBuilder;
@@ -669,7 +669,7 @@ class MoveOrderFromDeactivatedToCancelledFlowBuilder {
669
669
  groups: step.groups,
670
670
  };
671
671
  });
672
- return Object.assign({ entity: 'OrderModule:Order', actionName: 'MoveOrderFromDeactivatedToCancelled', schemaActionId: '943da843-5456-4253-8bea-d19812ad296c', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'OrderStageCancelled' }, this._options);
672
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'OrderModule:Order', actionName: 'MoveOrderFromDeactivatedToCancelled', schemaActionId: '943da843-5456-4253-8bea-d19812ad296c', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'OrderStageCancelled' }), this._options);
673
673
  }
674
674
  }
675
675
  exports.MoveOrderFromDeactivatedToCancelledFlowBuilder = MoveOrderFromDeactivatedToCancelledFlowBuilder;
@@ -773,7 +773,7 @@ class MoveOrderFromPendingCancellationToCancelledFlowBuilder {
773
773
  groups: step.groups,
774
774
  };
775
775
  });
776
- return Object.assign({ entity: 'OrderModule:Order', actionName: 'MoveOrderFromPendingCancellationToCancelled', schemaActionId: '74be39d0-a457-4394-9192-6e3997298b98', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'OrderStageCancelled' }, this._options);
776
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'OrderModule:Order', actionName: 'MoveOrderFromPendingCancellationToCancelled', schemaActionId: '74be39d0-a457-4394-9192-6e3997298b98', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'OrderStageCancelled' }), this._options);
777
777
  }
778
778
  }
779
779
  exports.MoveOrderFromPendingCancellationToCancelledFlowBuilder = MoveOrderFromPendingCancellationToCancelledFlowBuilder;
@@ -173,7 +173,7 @@ class CancelInstallWorkOrderFlowSupplierFlowBuilder {
173
173
  groups: step.groups,
174
174
  };
175
175
  });
176
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelInstallWorkOrderFlowSupplier', schemaActionId: '44641da3-619e-4e31-a7f2-26deea1b0919', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }, this._options);
176
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelInstallWorkOrderFlowSupplier', schemaActionId: '44641da3-619e-4e31-a7f2-26deea1b0919', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }), this._options);
177
177
  }
178
178
  }
179
179
  exports.CancelInstallWorkOrderFlowSupplierFlowBuilder = CancelInstallWorkOrderFlowSupplierFlowBuilder;
@@ -277,7 +277,7 @@ class CancelInstallWorkOrderFlowTenantFlowBuilder {
277
277
  groups: step.groups,
278
278
  };
279
279
  });
280
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelInstallWorkOrderFlowTenant', schemaActionId: '1f6706a0-e51b-4d8a-aa61-e5a66d6a71f0', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }, this._options);
280
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelInstallWorkOrderFlowTenant', schemaActionId: '1f6706a0-e51b-4d8a-aa61-e5a66d6a71f0', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }), this._options);
281
281
  }
282
282
  }
283
283
  exports.CancelInstallWorkOrderFlowTenantFlowBuilder = CancelInstallWorkOrderFlowTenantFlowBuilder;
@@ -381,7 +381,7 @@ class CancelPrePullWorkOrderFlowSupplierFlowBuilder {
381
381
  groups: step.groups,
382
382
  };
383
383
  });
384
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelPrePullWorkOrderFlowSupplier', schemaActionId: 'cdd35a5d-f9f9-43fc-a173-7adb4e8d21d0', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }, this._options);
384
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelPrePullWorkOrderFlowSupplier', schemaActionId: 'cdd35a5d-f9f9-43fc-a173-7adb4e8d21d0', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }), this._options);
385
385
  }
386
386
  }
387
387
  exports.CancelPrePullWorkOrderFlowSupplierFlowBuilder = CancelPrePullWorkOrderFlowSupplierFlowBuilder;
@@ -485,7 +485,7 @@ class CancelRemediationWorkOrderSupplierFlowBuilder {
485
485
  groups: step.groups,
486
486
  };
487
487
  });
488
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelRemediationWorkOrderSupplier', schemaActionId: 'f2da467e-7381-4784-8214-00857f49d4ad', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }, this._options);
488
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelRemediationWorkOrderSupplier', schemaActionId: 'f2da467e-7381-4784-8214-00857f49d4ad', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }), this._options);
489
489
  }
490
490
  }
491
491
  exports.CancelRemediationWorkOrderSupplierFlowBuilder = CancelRemediationWorkOrderSupplierFlowBuilder;
@@ -589,7 +589,7 @@ class CancelServiceWorkOrderFlowSupplierFlowBuilder {
589
589
  groups: step.groups,
590
590
  };
591
591
  });
592
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelServiceWorkOrderFlowSupplier', schemaActionId: '26b07952-f84b-409e-aa43-0e44688d0818', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }, this._options);
592
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelServiceWorkOrderFlowSupplier', schemaActionId: '26b07952-f84b-409e-aa43-0e44688d0818', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }), this._options);
593
593
  }
594
594
  }
595
595
  exports.CancelServiceWorkOrderFlowSupplierFlowBuilder = CancelServiceWorkOrderFlowSupplierFlowBuilder;
@@ -693,7 +693,7 @@ class CancelServiceWorkOrderFlowTenantFlowBuilder {
693
693
  groups: step.groups,
694
694
  };
695
695
  });
696
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelServiceWorkOrderFlowTenant', schemaActionId: '23f8997d-6eda-4efe-8484-b3bb1d96e9be', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }, this._options);
696
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelServiceWorkOrderFlowTenant', schemaActionId: '23f8997d-6eda-4efe-8484-b3bb1d96e9be', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }), this._options);
697
697
  }
698
698
  }
699
699
  exports.CancelServiceWorkOrderFlowTenantFlowBuilder = CancelServiceWorkOrderFlowTenantFlowBuilder;
@@ -1052,7 +1052,7 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
1052
1052
  groups: step.groups,
1053
1053
  };
1054
1054
  });
1055
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'CompleteInstallWorkOrderFlow', schemaActionId: '607b909d-b589-469b-899d-5ee6fbb128c6', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageDone' }, this._options);
1055
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CompleteInstallWorkOrderFlow', schemaActionId: '607b909d-b589-469b-899d-5ee6fbb128c6', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageDone' }), this._options);
1056
1056
  }
1057
1057
  }
1058
1058
  exports.CompleteInstallWorkOrderFlowFlowBuilder = CompleteInstallWorkOrderFlowFlowBuilder;
@@ -1204,7 +1204,7 @@ class CompletePrePullWorkOrderFlowFlowBuilder {
1204
1204
  groups: step.groups,
1205
1205
  };
1206
1206
  });
1207
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'CompletePrePullWorkOrderFlow', schemaActionId: 'd5d5d85f-bef2-4708-afab-429caed7eea6', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageDone' }, this._options);
1207
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CompletePrePullWorkOrderFlow', schemaActionId: 'd5d5d85f-bef2-4708-afab-429caed7eea6', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageDone' }), this._options);
1208
1208
  }
1209
1209
  }
1210
1210
  exports.CompletePrePullWorkOrderFlowFlowBuilder = CompletePrePullWorkOrderFlowFlowBuilder;
@@ -1333,7 +1333,7 @@ class CompleteRemediationWorkOrderFlowFlowBuilder {
1333
1333
  groups: step.groups,
1334
1334
  };
1335
1335
  });
1336
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'CompleteRemediationWorkOrderFlow', schemaActionId: 'a103c43c-6248-45aa-85d7-f133ccf0443d', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageDone' }, this._options);
1336
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CompleteRemediationWorkOrderFlow', schemaActionId: 'a103c43c-6248-45aa-85d7-f133ccf0443d', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageDone' }), this._options);
1337
1337
  }
1338
1338
  }
1339
1339
  exports.CompleteRemediationWorkOrderFlowFlowBuilder = CompleteRemediationWorkOrderFlowFlowBuilder;
@@ -1485,7 +1485,7 @@ class CompleteServiceWorkOrderFlowFlowBuilder {
1485
1485
  groups: step.groups,
1486
1486
  };
1487
1487
  });
1488
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'CompleteServiceWorkOrderFlow', schemaActionId: '9bee70e8-41f5-40c2-a822-cadea1a20509', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageDone' }, this._options);
1488
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CompleteServiceWorkOrderFlow', schemaActionId: '9bee70e8-41f5-40c2-a822-cadea1a20509', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageDone' }), this._options);
1489
1489
  }
1490
1490
  }
1491
1491
  exports.CompleteServiceWorkOrderFlowFlowBuilder = CompleteServiceWorkOrderFlowFlowBuilder;
@@ -1588,7 +1588,7 @@ class CreateCollectionAmcoReplacementWorkOrderFromWorkOrderFlowBuilder {
1588
1588
  groups: step.groups,
1589
1589
  };
1590
1590
  });
1591
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'CreateCollectionAmcoReplacementWorkOrderFromWorkOrder', schemaActionId: '68ccbc79-c281-48dc-bcb7-5418bb643cd7', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
1591
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CreateCollectionAmcoReplacementWorkOrderFromWorkOrder', schemaActionId: '68ccbc79-c281-48dc-bcb7-5418bb643cd7', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
1592
1592
  }
1593
1593
  }
1594
1594
  exports.CreateCollectionAmcoReplacementWorkOrderFromWorkOrderFlowBuilder = CreateCollectionAmcoReplacementWorkOrderFromWorkOrderFlowBuilder;
@@ -1852,7 +1852,7 @@ class CreateLinkedWorkOrderFlowFlowBuilder {
1852
1852
  groups: step.groups,
1853
1853
  };
1854
1854
  });
1855
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'CreateLinkedWorkOrderFlow', schemaActionId: 'f91e5e75-ef02-4178-bc3a-cab6c4e5e5bf', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
1855
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CreateLinkedWorkOrderFlow', schemaActionId: 'f91e5e75-ef02-4178-bc3a-cab6c4e5e5bf', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
1856
1856
  }
1857
1857
  }
1858
1858
  exports.CreateLinkedWorkOrderFlowFlowBuilder = CreateLinkedWorkOrderFlowFlowBuilder;
@@ -1978,7 +1978,7 @@ class CreateWayleaveWorkOrderFlowFlowBuilder {
1978
1978
  groups: step.groups,
1979
1979
  };
1980
1980
  });
1981
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'CreateWayleaveWorkOrderFlow', schemaActionId: '9b65936f-dfdf-4dfd-92c5-13f17c41cc00', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
1981
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CreateWayleaveWorkOrderFlow', schemaActionId: '9b65936f-dfdf-4dfd-92c5-13f17c41cc00', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
1982
1982
  }
1983
1983
  }
1984
1984
  exports.CreateWayleaveWorkOrderFlowFlowBuilder = CreateWayleaveWorkOrderFlowFlowBuilder;
@@ -2102,7 +2102,7 @@ class MoveBusinessInstallToRemediationFlowBuilder {
2102
2102
  groups: step.groups,
2103
2103
  };
2104
2104
  });
2105
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveBusinessInstallToRemediation', schemaActionId: 'bcb6df61-5590-4951-97c4-fd2e7dc01303', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'BusinessInstallPipelineStageRemediationRequired' }, this._options);
2105
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveBusinessInstallToRemediation', schemaActionId: 'bcb6df61-5590-4951-97c4-fd2e7dc01303', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'BusinessInstallPipelineStageRemediationRequired' }), this._options);
2106
2106
  }
2107
2107
  }
2108
2108
  exports.MoveBusinessInstallToRemediationFlowBuilder = MoveBusinessInstallToRemediationFlowBuilder;
@@ -2524,7 +2524,7 @@ class MoveInspectionWorkOrderToInProgressSubstantialFlowBuilder {
2524
2524
  groups: step.groups,
2525
2525
  };
2526
2526
  });
2527
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveInspectionWorkOrderToInProgressSubstantial', schemaActionId: 'a1341f37-bbb1-469d-930d-d74decdcea2a', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
2527
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveInspectionWorkOrderToInProgressSubstantial', schemaActionId: 'a1341f37-bbb1-469d-930d-d74decdcea2a', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }), this._options);
2528
2528
  }
2529
2529
  }
2530
2530
  exports.MoveInspectionWorkOrderToInProgressSubstantialFlowBuilder = MoveInspectionWorkOrderToInProgressSubstantialFlowBuilder;
@@ -2839,7 +2839,7 @@ class MoveInstallWorkOrderToInProgressSubstantialFlowBuilder {
2839
2839
  groups: step.groups,
2840
2840
  };
2841
2841
  });
2842
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveInstallWorkOrderToInProgressSubstantial', schemaActionId: '8573794f-68c3-484b-bb00-76f1d6ae6649', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
2842
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveInstallWorkOrderToInProgressSubstantial', schemaActionId: '8573794f-68c3-484b-bb00-76f1d6ae6649', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }), this._options);
2843
2843
  }
2844
2844
  }
2845
2845
  exports.MoveInstallWorkOrderToInProgressSubstantialFlowBuilder = MoveInstallWorkOrderToInProgressSubstantialFlowBuilder;
@@ -2963,7 +2963,7 @@ class MoveInstallWorkOrderToRemediationFlowBuilder {
2963
2963
  groups: step.groups,
2964
2964
  };
2965
2965
  });
2966
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveInstallWorkOrderToRemediation', schemaActionId: 'aa8f6f7f-4fa3-4e0f-a4a1-d3eda984648c', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderRemediationRequired' }, this._options);
2966
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveInstallWorkOrderToRemediation', schemaActionId: 'aa8f6f7f-4fa3-4e0f-a4a1-d3eda984648c', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderRemediationRequired' }), this._options);
2967
2967
  }
2968
2968
  }
2969
2969
  exports.MoveInstallWorkOrderToRemediationFlowBuilder = MoveInstallWorkOrderToRemediationFlowBuilder;
@@ -3171,7 +3171,7 @@ class MovePrePullWorkOrderToInProgressSubstantialFlowBuilder {
3171
3171
  groups: step.groups,
3172
3172
  };
3173
3173
  });
3174
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'MovePrePullWorkOrderToInProgressSubstantial', schemaActionId: '3a13ccce-ac39-44b8-9424-54053f1bd431', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
3174
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MovePrePullWorkOrderToInProgressSubstantial', schemaActionId: '3a13ccce-ac39-44b8-9424-54053f1bd431', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }), this._options);
3175
3175
  }
3176
3176
  }
3177
3177
  exports.MovePrePullWorkOrderToInProgressSubstantialFlowBuilder = MovePrePullWorkOrderToInProgressSubstantialFlowBuilder;
@@ -3295,7 +3295,7 @@ class MovePrePullWorkOrderToRemediationFlowBuilder {
3295
3295
  groups: step.groups,
3296
3296
  };
3297
3297
  });
3298
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'MovePrePullWorkOrderToRemediation', schemaActionId: '693ea7e9-fa7b-4dcc-b110-c1a9db9d15bd', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderRemediationRequired' }, this._options);
3298
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MovePrePullWorkOrderToRemediation', schemaActionId: '693ea7e9-fa7b-4dcc-b110-c1a9db9d15bd', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderRemediationRequired' }), this._options);
3299
3299
  }
3300
3300
  }
3301
3301
  exports.MovePrePullWorkOrderToRemediationFlowBuilder = MovePrePullWorkOrderToRemediationFlowBuilder;
@@ -3503,7 +3503,7 @@ class MoveRemediationWorkOrderToInProgressSubstantialFlowBuilder {
3503
3503
  groups: step.groups,
3504
3504
  };
3505
3505
  });
3506
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveRemediationWorkOrderToInProgressSubstantial', schemaActionId: 'a38c8fef-d0a8-46bf-9d8d-f0836f1dc615', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
3506
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveRemediationWorkOrderToInProgressSubstantial', schemaActionId: 'a38c8fef-d0a8-46bf-9d8d-f0836f1dc615', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }), this._options);
3507
3507
  }
3508
3508
  }
3509
3509
  exports.MoveRemediationWorkOrderToInProgressSubstantialFlowBuilder = MoveRemediationWorkOrderToInProgressSubstantialFlowBuilder;
@@ -3627,7 +3627,7 @@ class MoveRemediationWorkOrderToRemediationFlowBuilder {
3627
3627
  groups: step.groups,
3628
3628
  };
3629
3629
  });
3630
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveRemediationWorkOrderToRemediation', schemaActionId: 'bf7c4f19-0a6a-4847-8f4a-d10422987268', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderRemediationRequired' }, this._options);
3630
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveRemediationWorkOrderToRemediation', schemaActionId: 'bf7c4f19-0a6a-4847-8f4a-d10422987268', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderRemediationRequired' }), this._options);
3631
3631
  }
3632
3632
  }
3633
3633
  exports.MoveRemediationWorkOrderToRemediationFlowBuilder = MoveRemediationWorkOrderToRemediationFlowBuilder;
@@ -3835,7 +3835,7 @@ class MoveServiceWorkOrderToInProgressSubstantialFlowBuilder {
3835
3835
  groups: step.groups,
3836
3836
  };
3837
3837
  });
3838
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveServiceWorkOrderToInProgressSubstantial', schemaActionId: '57ae78fb-cdca-4f61-a843-c065363df32b', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
3838
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveServiceWorkOrderToInProgressSubstantial', schemaActionId: '57ae78fb-cdca-4f61-a843-c065363df32b', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }), this._options);
3839
3839
  }
3840
3840
  }
3841
3841
  exports.MoveServiceWorkOrderToInProgressSubstantialFlowBuilder = MoveServiceWorkOrderToInProgressSubstantialFlowBuilder;
@@ -3959,7 +3959,7 @@ class MoveServiceWorkOrderToRemediationFlowBuilder {
3959
3959
  groups: step.groups,
3960
3960
  };
3961
3961
  });
3962
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveServiceWorkOrderToRemediation', schemaActionId: '55592cdc-bbf2-499e-9836-5acf3f77fd7e', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderRemediationRequired' }, this._options);
3962
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveServiceWorkOrderToRemediation', schemaActionId: '55592cdc-bbf2-499e-9836-5acf3f77fd7e', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderRemediationRequired' }), this._options);
3963
3963
  }
3964
3964
  }
3965
3965
  exports.MoveServiceWorkOrderToRemediationFlowBuilder = MoveServiceWorkOrderToRemediationFlowBuilder;
@@ -4062,7 +4062,7 @@ class RescheduleBusinessInstallWorkOrderSupplierFlowBuilder {
4062
4062
  groups: step.groups,
4063
4063
  };
4064
4064
  });
4065
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleBusinessInstallWorkOrderSupplier', schemaActionId: '3455c97a-a62b-487a-b9bd-6ead966e940c', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
4065
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleBusinessInstallWorkOrderSupplier', schemaActionId: '3455c97a-a62b-487a-b9bd-6ead966e940c', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4066
4066
  }
4067
4067
  }
4068
4068
  exports.RescheduleBusinessInstallWorkOrderSupplierFlowBuilder = RescheduleBusinessInstallWorkOrderSupplierFlowBuilder;
@@ -4165,7 +4165,7 @@ class RescheduleBusinessInstallWorkOrderTenantFlowBuilder {
4165
4165
  groups: step.groups,
4166
4166
  };
4167
4167
  });
4168
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleBusinessInstallWorkOrderTenant', schemaActionId: 'f932b915-85a2-4c71-ad55-bd1252b19d48', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
4168
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleBusinessInstallWorkOrderTenant', schemaActionId: 'f932b915-85a2-4c71-ad55-bd1252b19d48', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4169
4169
  }
4170
4170
  }
4171
4171
  exports.RescheduleBusinessInstallWorkOrderTenantFlowBuilder = RescheduleBusinessInstallWorkOrderTenantFlowBuilder;
@@ -4268,7 +4268,7 @@ class RescheduleCollectionWorkOrderTenantFlowBuilder {
4268
4268
  groups: step.groups,
4269
4269
  };
4270
4270
  });
4271
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleCollectionWorkOrderTenant', schemaActionId: '1e0f644c-591d-4c6a-8294-abbb18afa156', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
4271
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleCollectionWorkOrderTenant', schemaActionId: '1e0f644c-591d-4c6a-8294-abbb18afa156', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4272
4272
  }
4273
4273
  }
4274
4274
  exports.RescheduleCollectionWorkOrderTenantFlowBuilder = RescheduleCollectionWorkOrderTenantFlowBuilder;
@@ -4371,7 +4371,7 @@ class RescheduleInspectionWorkOrderSupplierFlowBuilder {
4371
4371
  groups: step.groups,
4372
4372
  };
4373
4373
  });
4374
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleInspectionWorkOrderSupplier', schemaActionId: '22006285-b32b-47b4-9256-61038ce988f0', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
4374
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleInspectionWorkOrderSupplier', schemaActionId: '22006285-b32b-47b4-9256-61038ce988f0', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4375
4375
  }
4376
4376
  }
4377
4377
  exports.RescheduleInspectionWorkOrderSupplierFlowBuilder = RescheduleInspectionWorkOrderSupplierFlowBuilder;
@@ -4474,7 +4474,7 @@ class RescheduleInstallWorkOrderSupplierFlowBuilder {
4474
4474
  groups: step.groups,
4475
4475
  };
4476
4476
  });
4477
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleInstallWorkOrderSupplier', schemaActionId: '27db3e88-0e60-448a-828c-925c4732958d', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
4477
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleInstallWorkOrderSupplier', schemaActionId: '27db3e88-0e60-448a-828c-925c4732958d', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4478
4478
  }
4479
4479
  }
4480
4480
  exports.RescheduleInstallWorkOrderSupplierFlowBuilder = RescheduleInstallWorkOrderSupplierFlowBuilder;
@@ -4577,7 +4577,7 @@ class RescheduleInstallWorkOrderTenantFlowBuilder {
4577
4577
  groups: step.groups,
4578
4578
  };
4579
4579
  });
4580
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleInstallWorkOrderTenant', schemaActionId: '2af32fec-9d87-4ca3-bacd-4be906fb1184', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
4580
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleInstallWorkOrderTenant', schemaActionId: '2af32fec-9d87-4ca3-bacd-4be906fb1184', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4581
4581
  }
4582
4582
  }
4583
4583
  exports.RescheduleInstallWorkOrderTenantFlowBuilder = RescheduleInstallWorkOrderTenantFlowBuilder;
@@ -4680,7 +4680,7 @@ class ReschedulePrePullWorkOrderSupplierFlowBuilder {
4680
4680
  groups: step.groups,
4681
4681
  };
4682
4682
  });
4683
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'ReschedulePrePullWorkOrderSupplier', schemaActionId: '2e01ad1c-9be3-4461-9e10-f985c862d78b', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
4683
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'ReschedulePrePullWorkOrderSupplier', schemaActionId: '2e01ad1c-9be3-4461-9e10-f985c862d78b', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4684
4684
  }
4685
4685
  }
4686
4686
  exports.ReschedulePrePullWorkOrderSupplierFlowBuilder = ReschedulePrePullWorkOrderSupplierFlowBuilder;
@@ -4783,7 +4783,7 @@ class RescheduleRemediationWorkOrderSupplierFlowBuilder {
4783
4783
  groups: step.groups,
4784
4784
  };
4785
4785
  });
4786
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleRemediationWorkOrderSupplier', schemaActionId: '692df345-f183-4612-9d26-10e8d198a1bd', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
4786
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleRemediationWorkOrderSupplier', schemaActionId: '692df345-f183-4612-9d26-10e8d198a1bd', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4787
4787
  }
4788
4788
  }
4789
4789
  exports.RescheduleRemediationWorkOrderSupplierFlowBuilder = RescheduleRemediationWorkOrderSupplierFlowBuilder;
@@ -4886,7 +4886,7 @@ class RescheduleServiceWorkOrderSupplierFlowBuilder {
4886
4886
  groups: step.groups,
4887
4887
  };
4888
4888
  });
4889
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleServiceWorkOrderSupplier', schemaActionId: '1b163674-5ab2-4b52-b011-03209f3a0378', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
4889
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleServiceWorkOrderSupplier', schemaActionId: '1b163674-5ab2-4b52-b011-03209f3a0378', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4890
4890
  }
4891
4891
  }
4892
4892
  exports.RescheduleServiceWorkOrderSupplierFlowBuilder = RescheduleServiceWorkOrderSupplierFlowBuilder;
@@ -4989,7 +4989,7 @@ class RescheduleServiceWorkOrderTenantFlowBuilder {
4989
4989
  groups: step.groups,
4990
4990
  };
4991
4991
  });
4992
- return Object.assign({ entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleServiceWorkOrderTenant', schemaActionId: '3696ed1f-d924-43c0-a6bf-4bcb824c7654', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
4992
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleServiceWorkOrderTenant', schemaActionId: '3696ed1f-d924-43c0-a6bf-4bcb824c7654', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4993
4993
  }
4994
4994
  }
4995
4995
  exports.RescheduleServiceWorkOrderTenantFlowBuilder = RescheduleServiceWorkOrderTenantFlowBuilder;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "1.0.297",
3
+ "version": "1.0.298",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",
@@ -11,8 +11,8 @@
11
11
  "typescript": "4.8.4"
12
12
  },
13
13
  "dependencies": {
14
- "@d19n/odin-sdk-generator": "^3.0.196",
15
- "@d19n/odin-types": "^3.0.19",
14
+ "@d19n/odin-sdk-generator": "^3.0.197",
15
+ "@d19n/odin-types": "^3.0.20",
16
16
  "@d19n/youfibre-odin-sdk": "^1.0.219"
17
17
  },
18
18
  "scripts": {