@d19n/youfibre-odin-sdk 2.0.39 → 2.0.41

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 (75) hide show
  1. package/README.md +11 -28
  2. package/dist/EntityRegistry.d.ts +0 -2
  3. package/dist/EntityRegistry.js +0 -2
  4. package/dist/OdinApiClient.d.ts +0 -4
  5. package/dist/OdinApiClient.js +0 -8
  6. package/dist/OdinDbClient.d.ts +0 -4
  7. package/dist/OdinDbClient.js +0 -8
  8. package/dist/accessors-v2/index.d.ts +0 -1
  9. package/dist/accessors-v2/index.js +2 -4
  10. package/dist/actions-v2/AssignCaseDto.d.ts +4 -4
  11. package/dist/actions-v2/AssignCaseWithNoteFlowDto.d.ts +4 -4
  12. package/dist/actions-v2/CreateAddressCrmDatasetDto.d.ts +116 -0
  13. package/dist/actions-v2/CreateAddressCrmDatasetDto.js +59 -0
  14. package/dist/actions-v2/CreateCaseFromContactDto.d.ts +4 -4
  15. package/dist/db-accessors-v2/index.d.ts +0 -1
  16. package/dist/db-accessors-v2/index.js +2 -4
  17. package/dist/entities-v2/Config.d.ts +8 -8
  18. package/dist/entities-v2/Config.js +4 -4
  19. package/dist/entities-v2/CrmDataset.d.ts +23 -1
  20. package/dist/entities-v2/CrmDataset.js +2 -0
  21. package/dist/entities-v2/Lead.d.ts +0 -7
  22. package/dist/entities-v2/Lead.js +0 -2
  23. package/dist/entities-v2/ServiceAppointmentConfig.d.ts +6 -3
  24. package/dist/entities-v2/ServiceAppointmentConfig.js +6 -3
  25. package/dist/entities-v2/WorkOrder.d.ts +3 -1
  26. package/dist/entities-v2/WorkOrder.js +2 -0
  27. package/dist/records-v2/AccountRecord.d.ts +0 -29
  28. package/dist/records-v2/AccountRecord.js +0 -36
  29. package/dist/records-v2/AddressRecord.d.ts +0 -28
  30. package/dist/records-v2/AddressRecord.js +1 -45
  31. package/dist/records-v2/CaseRecord.js +8 -62
  32. package/dist/records-v2/ChurnRequestRecord.js +1 -7
  33. package/dist/records-v2/ContactRecord.d.ts +0 -49
  34. package/dist/records-v2/ContactRecord.js +1 -79
  35. package/dist/records-v2/ContractBuyOutRecord.js +2 -14
  36. package/dist/records-v2/CrmDatasetRecord.d.ts +29 -0
  37. package/dist/records-v2/CrmDatasetRecord.js +36 -0
  38. package/dist/records-v2/CustomerDeviceOntRecord.js +1 -7
  39. package/dist/records-v2/LeadRecord.d.ts +0 -29
  40. package/dist/records-v2/LeadRecord.js +0 -36
  41. package/dist/records-v2/OrderItemRecord.d.ts +0 -29
  42. package/dist/records-v2/OrderItemRecord.js +0 -36
  43. package/dist/records-v2/OrderRecord.d.ts +0 -99
  44. package/dist/records-v2/OrderRecord.js +8 -182
  45. package/dist/records-v2/PICRequestRecord.js +1 -7
  46. package/dist/records-v2/PaymentMethodRefundRecord.js +1 -6
  47. package/dist/records-v2/TestEntityForVisualBuilderRecord.js +1 -6
  48. package/dist/records-v2/WorkOrderRecord.js +41 -364
  49. package/dist/records-v2/index.d.ts +1 -2
  50. package/dist/records-v2/index.js +6 -9
  51. package/package.json +2 -2
  52. package/dist/accessors-v2/PhoneNumberAccessor.d.ts +0 -111
  53. package/dist/accessors-v2/PhoneNumberAccessor.js +0 -190
  54. package/dist/actions-v2/CreateAccountFromBrskDto.d.ts +0 -102
  55. package/dist/actions-v2/CreateAccountFromBrskDto.js +0 -54
  56. package/dist/actions-v2/CreateContactFromBrskDto.d.ts +0 -107
  57. package/dist/actions-v2/CreateContactFromBrskDto.js +0 -52
  58. package/dist/actions-v2/CreateLeadFromBrskDto.d.ts +0 -118
  59. package/dist/actions-v2/CreateLeadFromBrskDto.js +0 -52
  60. package/dist/actions-v2/CreateOrderFromBrskDto.d.ts +0 -138
  61. package/dist/actions-v2/CreateOrderFromBrskDto.js +0 -52
  62. package/dist/actions-v2/CreateOrderItemFromBrskDto.d.ts +0 -198
  63. package/dist/actions-v2/CreateOrderItemFromBrskDto.js +0 -52
  64. package/dist/actions-v2/CreatePhoneNumberFromBrskDto.d.ts +0 -67
  65. package/dist/actions-v2/CreatePhoneNumberFromBrskDto.js +0 -54
  66. package/dist/actions-v2/MoveOrderFromSupplyToActiveDto.d.ts +0 -112
  67. package/dist/actions-v2/MoveOrderFromSupplyToActiveDto.js +0 -77
  68. package/dist/actions-v2/MoveOrderFromSupplyToCancelledDto.d.ts +0 -112
  69. package/dist/actions-v2/MoveOrderFromSupplyToCancelledDto.js +0 -77
  70. package/dist/actions-v2/UpdateAddressFromBrskDto.d.ts +0 -61
  71. package/dist/actions-v2/UpdateAddressFromBrskDto.js +0 -54
  72. package/dist/db-accessors-v2/PhoneNumberDbAccessor.d.ts +0 -149
  73. package/dist/db-accessors-v2/PhoneNumberDbAccessor.js +0 -227
  74. package/dist/records-v2/PhoneNumberRecord.d.ts +0 -205
  75. package/dist/records-v2/PhoneNumberRecord.js +0 -292
@@ -194,9 +194,6 @@ class CancelInstallWorkOrderFlowSupplierFlowBuilder {
194
194
  actionName: 'CreateInstallCancelledChangeReasonSupplier',
195
195
  properties,
196
196
  entity: 'FieldServiceModule:ChangeReason',
197
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
198
- schemaActionId: '9dc10176-613f-4f15-be43-f421b825687d',
199
- schemaTypeId: '8600bb36-704f-47bd-acd0-2e9e6a7bfd3f',
200
197
  type: 'SA_CANCEL',
201
198
  autoLinkParent: true,
202
199
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -253,9 +250,6 @@ class CancelInstallWorkOrderFlowSupplierFlowBuilder {
253
250
  return {
254
251
  entity: step.entity,
255
252
  type: step.type,
256
- schemaId: step.schemaId,
257
- schemaActionId: step.schemaActionId,
258
- schemaTypeId: step.schemaTypeId,
259
253
  actionName: step.actionName,
260
254
  properties: step.properties,
261
255
  title: step.title,
@@ -264,7 +258,7 @@ class CancelInstallWorkOrderFlowSupplierFlowBuilder {
264
258
  groups: step.groups,
265
259
  };
266
260
  });
267
- 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);
261
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelInstallWorkOrderFlowSupplier', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }), this._options);
268
262
  }
269
263
  }
270
264
  exports.CancelInstallWorkOrderFlowSupplierFlowBuilder = CancelInstallWorkOrderFlowSupplierFlowBuilder;
@@ -305,9 +299,6 @@ class CancelInstallWorkOrderFlowTenantFlowBuilder {
305
299
  actionName: 'CreateInstallCancelledChangeReasonTenant',
306
300
  properties,
307
301
  entity: 'FieldServiceModule:ChangeReason',
308
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
309
- schemaActionId: '4f88212b-e78f-47a3-8447-2bb78c304770',
310
- schemaTypeId: '8600bb36-704f-47bd-acd0-2e9e6a7bfd3f',
311
302
  type: 'SA_CANCEL',
312
303
  autoLinkParent: true,
313
304
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -364,9 +355,6 @@ class CancelInstallWorkOrderFlowTenantFlowBuilder {
364
355
  return {
365
356
  entity: step.entity,
366
357
  type: step.type,
367
- schemaId: step.schemaId,
368
- schemaActionId: step.schemaActionId,
369
- schemaTypeId: step.schemaTypeId,
370
358
  actionName: step.actionName,
371
359
  properties: step.properties,
372
360
  title: step.title,
@@ -375,7 +363,7 @@ class CancelInstallWorkOrderFlowTenantFlowBuilder {
375
363
  groups: step.groups,
376
364
  };
377
365
  });
378
- 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);
366
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelInstallWorkOrderFlowTenant', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }), this._options);
379
367
  }
380
368
  }
381
369
  exports.CancelInstallWorkOrderFlowTenantFlowBuilder = CancelInstallWorkOrderFlowTenantFlowBuilder;
@@ -416,9 +404,6 @@ class CancelPrePullWorkOrderFlowSupplierFlowBuilder {
416
404
  actionName: 'CreatePrePullCancelledChangeReasonSupplier',
417
405
  properties,
418
406
  entity: 'FieldServiceModule:ChangeReason',
419
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
420
- schemaActionId: '7248e0d8-0fed-4729-88ef-772d793d33fa',
421
- schemaTypeId: '8600bb36-704f-47bd-acd0-2e9e6a7bfd3f',
422
407
  type: 'SA_CANCEL',
423
408
  autoLinkParent: true,
424
409
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -475,9 +460,6 @@ class CancelPrePullWorkOrderFlowSupplierFlowBuilder {
475
460
  return {
476
461
  entity: step.entity,
477
462
  type: step.type,
478
- schemaId: step.schemaId,
479
- schemaActionId: step.schemaActionId,
480
- schemaTypeId: step.schemaTypeId,
481
463
  actionName: step.actionName,
482
464
  properties: step.properties,
483
465
  title: step.title,
@@ -486,7 +468,7 @@ class CancelPrePullWorkOrderFlowSupplierFlowBuilder {
486
468
  groups: step.groups,
487
469
  };
488
470
  });
489
- 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);
471
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelPrePullWorkOrderFlowSupplier', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }), this._options);
490
472
  }
491
473
  }
492
474
  exports.CancelPrePullWorkOrderFlowSupplierFlowBuilder = CancelPrePullWorkOrderFlowSupplierFlowBuilder;
@@ -527,9 +509,6 @@ class CancelRemediationWorkOrderSupplierFlowBuilder {
527
509
  actionName: 'CreateRemediationCancelledChangeReasonSupplier',
528
510
  properties,
529
511
  entity: 'FieldServiceModule:ChangeReason',
530
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
531
- schemaActionId: 'c0d38676-9424-4d86-845c-de192c143453',
532
- schemaTypeId: '8600bb36-704f-47bd-acd0-2e9e6a7bfd3f',
533
512
  type: 'SA_CANCEL',
534
513
  autoLinkParent: true,
535
514
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -586,9 +565,6 @@ class CancelRemediationWorkOrderSupplierFlowBuilder {
586
565
  return {
587
566
  entity: step.entity,
588
567
  type: step.type,
589
- schemaId: step.schemaId,
590
- schemaActionId: step.schemaActionId,
591
- schemaTypeId: step.schemaTypeId,
592
568
  actionName: step.actionName,
593
569
  properties: step.properties,
594
570
  title: step.title,
@@ -597,7 +573,7 @@ class CancelRemediationWorkOrderSupplierFlowBuilder {
597
573
  groups: step.groups,
598
574
  };
599
575
  });
600
- 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);
576
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelRemediationWorkOrderSupplier', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }), this._options);
601
577
  }
602
578
  }
603
579
  exports.CancelRemediationWorkOrderSupplierFlowBuilder = CancelRemediationWorkOrderSupplierFlowBuilder;
@@ -638,9 +614,6 @@ class CancelServiceWorkOrderFlowSupplierFlowBuilder {
638
614
  actionName: 'CreateServiceCancelledChangeReasonSupplier',
639
615
  properties,
640
616
  entity: 'FieldServiceModule:ChangeReason',
641
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
642
- schemaActionId: '386c9031-9c3e-4cc7-b64e-57d6acd03288',
643
- schemaTypeId: '8600bb36-704f-47bd-acd0-2e9e6a7bfd3f',
644
617
  type: 'SA_CANCEL',
645
618
  autoLinkParent: true,
646
619
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -697,9 +670,6 @@ class CancelServiceWorkOrderFlowSupplierFlowBuilder {
697
670
  return {
698
671
  entity: step.entity,
699
672
  type: step.type,
700
- schemaId: step.schemaId,
701
- schemaActionId: step.schemaActionId,
702
- schemaTypeId: step.schemaTypeId,
703
673
  actionName: step.actionName,
704
674
  properties: step.properties,
705
675
  title: step.title,
@@ -708,7 +678,7 @@ class CancelServiceWorkOrderFlowSupplierFlowBuilder {
708
678
  groups: step.groups,
709
679
  };
710
680
  });
711
- 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);
681
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelServiceWorkOrderFlowSupplier', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }), this._options);
712
682
  }
713
683
  }
714
684
  exports.CancelServiceWorkOrderFlowSupplierFlowBuilder = CancelServiceWorkOrderFlowSupplierFlowBuilder;
@@ -749,9 +719,6 @@ class CancelServiceWorkOrderFlowTenantFlowBuilder {
749
719
  actionName: 'CreateServiceCancelledChangeReasonTenant',
750
720
  properties,
751
721
  entity: 'FieldServiceModule:ChangeReason',
752
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
753
- schemaActionId: '84e28ee7-712c-49d9-b709-5674af9e9c71',
754
- schemaTypeId: '8600bb36-704f-47bd-acd0-2e9e6a7bfd3f',
755
722
  type: 'SA_CANCEL',
756
723
  autoLinkParent: true,
757
724
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -808,9 +775,6 @@ class CancelServiceWorkOrderFlowTenantFlowBuilder {
808
775
  return {
809
776
  entity: step.entity,
810
777
  type: step.type,
811
- schemaId: step.schemaId,
812
- schemaActionId: step.schemaActionId,
813
- schemaTypeId: step.schemaTypeId,
814
778
  actionName: step.actionName,
815
779
  properties: step.properties,
816
780
  title: step.title,
@@ -819,7 +783,7 @@ class CancelServiceWorkOrderFlowTenantFlowBuilder {
819
783
  groups: step.groups,
820
784
  };
821
785
  });
822
- 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);
786
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CancelServiceWorkOrderFlowTenant', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageCancelled' }), this._options);
823
787
  }
824
788
  }
825
789
  exports.CancelServiceWorkOrderFlowTenantFlowBuilder = CancelServiceWorkOrderFlowTenantFlowBuilder;
@@ -860,9 +824,6 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
860
824
  actionName: 'UG Audit Of Installation',
861
825
  properties,
862
826
  entity: 'FieldServiceModule:UgAuditOfInstallation',
863
- schemaId: '310563a0-f736-4960-84d6-9f2f1a8b909e',
864
- schemaActionId: '5da30bec-cf10-4b0e-9251-edb1565658aa',
865
- schemaTypeId: '24ad6b1d-31f6-4c19-9ca9-1ab498ef8c13',
866
827
  type: 'OUTCOME_FORM',
867
828
  autoLinkParent: true,
868
829
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -882,9 +843,6 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
882
843
  actionName: 'UG Installation Audit',
883
844
  properties,
884
845
  entity: 'FieldServiceModule:UgInstallationAudit',
885
- schemaId: 'b9708fc3-a032-452d-93db-7359881f94a3',
886
- schemaActionId: 'ec2ad51b-d97e-4786-b19b-d63e79bb862c',
887
- schemaTypeId: '928dc00f-9113-4b61-a5a3-81d780a46a57',
888
846
  type: 'OUTCOME_FORM',
889
847
  autoLinkParent: true,
890
848
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -904,9 +862,6 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
904
862
  actionName: 'UG In Progress Audit',
905
863
  properties,
906
864
  entity: 'FieldServiceModule:UgInProgressAudit',
907
- schemaId: 'd2815f31-a341-43d7-a9c3-eaa6bb6db283',
908
- schemaActionId: '44a75507-194a-47f9-8c24-9c7e101f5195',
909
- schemaTypeId: 'd0d6aebf-1374-4535-80f4-1d16a260161d',
910
865
  type: 'OUTCOME_FORM',
911
866
  autoLinkParent: true,
912
867
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -926,9 +881,6 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
926
881
  actionName: 'UG Retro Audit',
927
882
  properties,
928
883
  entity: 'FieldServiceModule:UgRetroAudit',
929
- schemaId: '0ce47e50-0293-4427-b7dc-b1d7450d0bc7',
930
- schemaActionId: '911b97b4-bfad-430f-b4c3-cedc69aafb22',
931
- schemaTypeId: '4fd30d16-b5a1-4cc3-8c2c-a557171a1352',
932
884
  type: 'OUTCOME_FORM',
933
885
  autoLinkParent: true,
934
886
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -948,9 +900,6 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
948
900
  actionName: 'OhAuditOfInstallationCreate',
949
901
  properties,
950
902
  entity: 'FieldServiceModule:OhAuditOfInstallation',
951
- schemaId: '9f9d4350-d838-4687-9577-9b812dd1d715',
952
- schemaActionId: '31babf22-5fc2-466c-a63a-5fe737509f8b',
953
- schemaTypeId: 'a01eb296-9a6c-4c1a-a1c1-968f312fdf79',
954
903
  type: 'OUTCOME_FORM',
955
904
  autoLinkParent: true,
956
905
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -970,9 +919,6 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
970
919
  actionName: 'OH In Progress Audit',
971
920
  properties,
972
921
  entity: 'FieldServiceModule:OhInProgressAudit',
973
- schemaId: '13a4daef-6a60-4b13-81d6-899c7096647e',
974
- schemaActionId: '15cb4485-d6c1-4751-aaaa-f68994caf4a1',
975
- schemaTypeId: '4e6067f1-feb3-4bd8-82c1-5abe6337fe8d',
976
922
  type: 'OUTCOME_FORM',
977
923
  autoLinkParent: true,
978
924
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -992,9 +938,6 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
992
938
  actionName: 'OH Installation Audit',
993
939
  properties,
994
940
  entity: 'FieldServiceModule:OhInstallationAudit',
995
- schemaId: 'a3c6d01a-5082-43bd-8477-9dec60569fc1',
996
- schemaActionId: 'e19bb74e-9241-4cdb-9db7-7931a2122908',
997
- schemaTypeId: 'ed8ebacb-c8f1-4671-b4d3-90d0d3d1262a',
998
941
  type: 'OUTCOME_FORM',
999
942
  autoLinkParent: true,
1000
943
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1014,9 +957,6 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
1014
957
  actionName: 'OH Retro Audit',
1015
958
  properties,
1016
959
  entity: 'FieldServiceModule:OhRetroAudit',
1017
- schemaId: '0782e810-802e-4428-a886-4d9ff941dad7',
1018
- schemaActionId: 'fc5bdef0-ddb7-45be-8cbd-52a508db76d5',
1019
- schemaTypeId: 'fd713fcf-acd9-4956-830c-52294aee884a',
1020
960
  type: 'OUTCOME_FORM',
1021
961
  autoLinkParent: true,
1022
962
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1036,9 +976,6 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
1036
976
  actionName: 'Blockage A55',
1037
977
  properties,
1038
978
  entity: 'FieldServiceModule:BlockageA55',
1039
- schemaId: '56c52dda-06ce-465f-ba30-310b8c18e1b5',
1040
- schemaActionId: '3fe512df-375d-43a5-a496-d698c9632bd3',
1041
- schemaTypeId: '6ea928d0-6e44-4308-9a3c-72abdd0aed46',
1042
979
  type: 'OUTCOME_FORM',
1043
980
  autoLinkParent: true,
1044
981
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1058,9 +995,6 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
1058
995
  actionName: 'Sweeper / Maintenance Audit',
1059
996
  properties,
1060
997
  entity: 'FieldServiceModule:SweeperMaintenanceAudit',
1061
- schemaId: 'dab62c97-db6d-4d82-b3a6-9c4b1db4158b',
1062
- schemaActionId: '7fc4c6cc-76a6-4ce2-9a9d-15d2361037d1',
1063
- schemaTypeId: 'f93a113c-a87a-4172-9d42-5e74417d0f17',
1064
998
  type: 'OUTCOME_FORM',
1065
999
  autoLinkParent: true,
1066
1000
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1080,9 +1014,6 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
1080
1014
  actionName: 'Internal Install Audit',
1081
1015
  properties,
1082
1016
  entity: 'FieldServiceModule:InternalInstallAudit',
1083
- schemaId: 'aaa42825-63a0-4d45-bd9d-8f68a84d39e2',
1084
- schemaActionId: '5c2d5d0e-585f-4a50-bd28-9e9432abf478',
1085
- schemaTypeId: 'cadf9666-8b0b-4532-b9c0-dfb271a5bfff',
1086
1017
  type: 'OUTCOME_FORM',
1087
1018
  autoLinkParent: true,
1088
1019
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1104,9 +1035,6 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
1104
1035
  properties,
1105
1036
  id,
1106
1037
  entity: 'FieldServiceModule:WorkOrder',
1107
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
1108
- schemaActionId: '857fb13b-e3a1-47b6-95f5-ccc523d7787a',
1109
- schemaTypeId: 'c27b6623-8a25-4f2b-b6a1-13d60ef055d6',
1110
1038
  type: 'INSTALL',
1111
1039
  autoLinkParent: false,
1112
1040
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1163,9 +1091,6 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
1163
1091
  return {
1164
1092
  entity: step.entity,
1165
1093
  type: step.type,
1166
- schemaId: step.schemaId,
1167
- schemaActionId: step.schemaActionId,
1168
- schemaTypeId: step.schemaTypeId,
1169
1094
  actionName: step.actionName,
1170
1095
  properties: step.properties,
1171
1096
  title: step.title,
@@ -1174,7 +1099,7 @@ class CompleteInstallWorkOrderFlowFlowBuilder {
1174
1099
  groups: step.groups,
1175
1100
  };
1176
1101
  });
1177
- 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);
1102
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CompleteInstallWorkOrderFlow', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageDone' }), this._options);
1178
1103
  }
1179
1104
  }
1180
1105
  exports.CompleteInstallWorkOrderFlowFlowBuilder = CompleteInstallWorkOrderFlowFlowBuilder;
@@ -1215,9 +1140,6 @@ class CompletePrePullWorkOrderFlowFlowBuilder {
1215
1140
  actionName: 'UgExternalAuditCreate',
1216
1141
  properties,
1217
1142
  entity: 'FieldServiceModule:UgExternalAudit',
1218
- schemaId: '1ece62a0-a454-47ca-bdb7-e97996d12193',
1219
- schemaActionId: '83b1e347-48bb-4ddc-a456-1e0489783dde',
1220
- schemaTypeId: '70d4afe4-8542-47e2-9735-183b05bb7c53',
1221
1143
  type: 'OUTCOME_FORM',
1222
1144
  autoLinkParent: true,
1223
1145
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1237,9 +1159,6 @@ class CompletePrePullWorkOrderFlowFlowBuilder {
1237
1159
  actionName: 'OhExternalAuditCreate',
1238
1160
  properties,
1239
1161
  entity: 'FieldServiceModule:OhExternalAudit',
1240
- schemaId: '80857dab-a56b-4374-bc99-2c96aaf9460a',
1241
- schemaActionId: '0730beba-8162-4a07-950b-eaba1438252f',
1242
- schemaTypeId: '9a8a2830-cbb2-4f26-a1ae-c411952d693c',
1243
1162
  type: 'OUTCOME_FORM',
1244
1163
  autoLinkParent: true,
1245
1164
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1261,9 +1180,6 @@ class CompletePrePullWorkOrderFlowFlowBuilder {
1261
1180
  properties,
1262
1181
  id,
1263
1182
  entity: 'FieldServiceModule:WorkOrder',
1264
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
1265
- schemaActionId: '94f028c7-cb28-44a1-a9b3-a080d9ed1eaf',
1266
- schemaTypeId: '44adbda5-1c54-4217-ac15-6f963addbf3e',
1267
1183
  type: 'PRE_PULL',
1268
1184
  autoLinkParent: false,
1269
1185
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1320,9 +1236,6 @@ class CompletePrePullWorkOrderFlowFlowBuilder {
1320
1236
  return {
1321
1237
  entity: step.entity,
1322
1238
  type: step.type,
1323
- schemaId: step.schemaId,
1324
- schemaActionId: step.schemaActionId,
1325
- schemaTypeId: step.schemaTypeId,
1326
1239
  actionName: step.actionName,
1327
1240
  properties: step.properties,
1328
1241
  title: step.title,
@@ -1331,7 +1244,7 @@ class CompletePrePullWorkOrderFlowFlowBuilder {
1331
1244
  groups: step.groups,
1332
1245
  };
1333
1246
  });
1334
- 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);
1247
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CompletePrePullWorkOrderFlow', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageDone' }), this._options);
1335
1248
  }
1336
1249
  }
1337
1250
  exports.CompletePrePullWorkOrderFlowFlowBuilder = CompletePrePullWorkOrderFlowFlowBuilder;
@@ -1372,9 +1285,6 @@ class CompleteRemediationWorkOrderFlowFlowBuilder {
1372
1285
  actionName: 'Remediation Outcome Form',
1373
1286
  properties,
1374
1287
  entity: 'FieldServiceModule:RemediationOutcomeForm',
1375
- schemaId: 'a871fccb-5dd2-4fca-833d-7b0042cec510',
1376
- schemaActionId: 'de57198b-bec3-48c8-a953-b1fb244801d3',
1377
- schemaTypeId: 'a9b926f7-fb2f-486d-b52a-221fcc70a674',
1378
1288
  type: 'OUTCOME_FORM',
1379
1289
  autoLinkParent: true,
1380
1290
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1396,9 +1306,6 @@ class CompleteRemediationWorkOrderFlowFlowBuilder {
1396
1306
  properties,
1397
1307
  id,
1398
1308
  entity: 'FieldServiceModule:WorkOrder',
1399
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
1400
- schemaActionId: '42884def-e5d4-41a7-a90a-2644264e4453',
1401
- schemaTypeId: '0c3ff41d-7e84-47ae-8594-f15ebdc58297',
1402
1309
  type: 'REMEDIATION',
1403
1310
  autoLinkParent: false,
1404
1311
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1455,9 +1362,6 @@ class CompleteRemediationWorkOrderFlowFlowBuilder {
1455
1362
  return {
1456
1363
  entity: step.entity,
1457
1364
  type: step.type,
1458
- schemaId: step.schemaId,
1459
- schemaActionId: step.schemaActionId,
1460
- schemaTypeId: step.schemaTypeId,
1461
1365
  actionName: step.actionName,
1462
1366
  properties: step.properties,
1463
1367
  title: step.title,
@@ -1466,7 +1370,7 @@ class CompleteRemediationWorkOrderFlowFlowBuilder {
1466
1370
  groups: step.groups,
1467
1371
  };
1468
1372
  });
1469
- 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);
1373
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CompleteRemediationWorkOrderFlow', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageDone' }), this._options);
1470
1374
  }
1471
1375
  }
1472
1376
  exports.CompleteRemediationWorkOrderFlowFlowBuilder = CompleteRemediationWorkOrderFlowFlowBuilder;
@@ -1507,9 +1411,6 @@ class CompleteServiceWorkOrderFlowFlowBuilder {
1507
1411
  actionName: 'YfFieldServiceVisitAudit',
1508
1412
  properties,
1509
1413
  entity: 'FieldServiceModule:YfFieldServiceVisit',
1510
- schemaId: 'ed4580fc-6d13-4189-9d25-1339e8bf5f85',
1511
- schemaActionId: 'dcdd015f-b279-496d-9e42-be2110d5e5ea',
1512
- schemaTypeId: '10f7b746-0f3c-45ef-994f-a0e7d89475c8',
1513
1414
  type: 'OUTCOME_FORM',
1514
1415
  autoLinkParent: true,
1515
1416
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1529,9 +1430,6 @@ class CompleteServiceWorkOrderFlowFlowBuilder {
1529
1430
  actionName: 'ServiceVisitAuditCreate',
1530
1431
  properties,
1531
1432
  entity: 'FieldServiceModule:ServiceVisitAudit',
1532
- schemaId: '5e52d1b9-4bba-42c5-9c44-9e5a5a4901ae',
1533
- schemaActionId: '48f2f5fc-9fff-4786-bbbd-d66e5e2f1b89',
1534
- schemaTypeId: '8c3ef412-5a4d-46cf-bb4a-cabfc99aba14',
1535
1433
  type: 'OUTCOME_FORM',
1536
1434
  autoLinkParent: true,
1537
1435
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1553,9 +1451,6 @@ class CompleteServiceWorkOrderFlowFlowBuilder {
1553
1451
  properties,
1554
1452
  id,
1555
1453
  entity: 'FieldServiceModule:WorkOrder',
1556
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
1557
- schemaActionId: '9c458f7f-f8d1-4e2e-b7c8-de6b5391809d',
1558
- schemaTypeId: '6fffec36-de2b-4e23-be5a-e20973af5f09',
1559
1454
  type: 'SERVICE',
1560
1455
  autoLinkParent: false,
1561
1456
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1612,9 +1507,6 @@ class CompleteServiceWorkOrderFlowFlowBuilder {
1612
1507
  return {
1613
1508
  entity: step.entity,
1614
1509
  type: step.type,
1615
- schemaId: step.schemaId,
1616
- schemaActionId: step.schemaActionId,
1617
- schemaTypeId: step.schemaTypeId,
1618
1510
  actionName: step.actionName,
1619
1511
  properties: step.properties,
1620
1512
  title: step.title,
@@ -1623,7 +1515,7 @@ class CompleteServiceWorkOrderFlowFlowBuilder {
1623
1515
  groups: step.groups,
1624
1516
  };
1625
1517
  });
1626
- 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);
1518
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CompleteServiceWorkOrderFlow', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageDone' }), this._options);
1627
1519
  }
1628
1520
  }
1629
1521
  exports.CompleteServiceWorkOrderFlowFlowBuilder = CompleteServiceWorkOrderFlowFlowBuilder;
@@ -1663,9 +1555,6 @@ class CreateCollectionAmcoReplacementWorkOrderFromWorkOrderFlowBuilder {
1663
1555
  actionName: 'CreateCollectionAmcoReplacementWorkOrder',
1664
1556
  properties,
1665
1557
  entity: 'FieldServiceModule:WorkOrder',
1666
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
1667
- schemaActionId: '6ab20a4e-7ac5-4f95-b29e-f970242c2726',
1668
- schemaTypeId: '742b38a5-130c-4ecd-b1b3-85cf08e8f769',
1669
1558
  type: 'COLLECTION_AMCO',
1670
1559
  autoLinkParent: true,
1671
1560
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1722,9 +1611,6 @@ class CreateCollectionAmcoReplacementWorkOrderFromWorkOrderFlowBuilder {
1722
1611
  return {
1723
1612
  entity: step.entity,
1724
1613
  type: step.type,
1725
- schemaId: step.schemaId,
1726
- schemaActionId: step.schemaActionId,
1727
- schemaTypeId: step.schemaTypeId,
1728
1614
  actionName: step.actionName,
1729
1615
  properties: step.properties,
1730
1616
  title: step.title,
@@ -1733,7 +1619,7 @@ class CreateCollectionAmcoReplacementWorkOrderFromWorkOrderFlowBuilder {
1733
1619
  groups: step.groups,
1734
1620
  };
1735
1621
  });
1736
- 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);
1622
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CreateCollectionAmcoReplacementWorkOrderFromWorkOrder', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
1737
1623
  }
1738
1624
  }
1739
1625
  exports.CreateCollectionAmcoReplacementWorkOrderFromWorkOrderFlowBuilder = CreateCollectionAmcoReplacementWorkOrderFromWorkOrderFlowBuilder;
@@ -1773,9 +1659,6 @@ class CreateLinkedWorkOrderFlowFlowBuilder {
1773
1659
  actionName: 'CreateCollectionWorkOrder',
1774
1660
  properties,
1775
1661
  entity: 'FieldServiceModule:WorkOrder',
1776
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
1777
- schemaActionId: 'f4e2f2fc-9f79-4592-a9e5-d879155cc7f1',
1778
- schemaTypeId: '83804195-cbac-4926-9c87-8883ad613814',
1779
1662
  type: 'COLLECTION',
1780
1663
  autoLinkParent: true,
1781
1664
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1795,9 +1678,6 @@ class CreateLinkedWorkOrderFlowFlowBuilder {
1795
1678
  actionName: 'CreateFinanceWorkOrder',
1796
1679
  properties,
1797
1680
  entity: 'FieldServiceModule:WorkOrder',
1798
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
1799
- schemaActionId: '6852e121-7bfc-4ebe-838a-1f6cd6d9c510',
1800
- schemaTypeId: '434c0991-88d8-418c-a683-af0cf05d5db3',
1801
1681
  type: 'FINANCE',
1802
1682
  autoLinkParent: true,
1803
1683
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1817,9 +1697,6 @@ class CreateLinkedWorkOrderFlowFlowBuilder {
1817
1697
  actionName: 'CreateInspectionWorkOrder',
1818
1698
  properties,
1819
1699
  entity: 'FieldServiceModule:WorkOrder',
1820
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
1821
- schemaActionId: 'fe50dc5b-10b9-4330-93bd-95f8c0cc5e60',
1822
- schemaTypeId: '62750478-09f0-434c-b66f-8a3984e2f43f',
1823
1700
  type: 'INSPECTION',
1824
1701
  autoLinkParent: true,
1825
1702
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1839,9 +1716,6 @@ class CreateLinkedWorkOrderFlowFlowBuilder {
1839
1716
  actionName: 'CreateInstall_BusinessWorkOrder',
1840
1717
  properties,
1841
1718
  entity: 'FieldServiceModule:WorkOrder',
1842
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
1843
- schemaActionId: '2bc6add2-489d-4dff-a4c4-940c6b31668f',
1844
- schemaTypeId: '849c5631-c59a-4e0b-b01c-c0363e4d83af',
1845
1719
  type: 'INSTALL_BUSINESS',
1846
1720
  autoLinkParent: true,
1847
1721
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1861,9 +1735,6 @@ class CreateLinkedWorkOrderFlowFlowBuilder {
1861
1735
  actionName: 'CreatePlanningWorkOrder',
1862
1736
  properties,
1863
1737
  entity: 'FieldServiceModule:WorkOrder',
1864
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
1865
- schemaActionId: '7423f5ba-2d31-4a4c-b690-23ed4dfdb92a',
1866
- schemaTypeId: 'dfebd439-f73b-4e5c-9e43-c1cb2780354d',
1867
1738
  type: 'PLANNING',
1868
1739
  autoLinkParent: true,
1869
1740
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1883,9 +1754,6 @@ class CreateLinkedWorkOrderFlowFlowBuilder {
1883
1754
  actionName: 'CreatePre_PullWorkOrder',
1884
1755
  properties,
1885
1756
  entity: 'FieldServiceModule:WorkOrder',
1886
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
1887
- schemaActionId: '8cf8aa23-33d2-49f3-a23e-9f4073506cb6',
1888
- schemaTypeId: '44adbda5-1c54-4217-ac15-6f963addbf3e',
1889
1757
  type: 'PRE_PULL',
1890
1758
  autoLinkParent: true,
1891
1759
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1905,9 +1773,6 @@ class CreateLinkedWorkOrderFlowFlowBuilder {
1905
1773
  actionName: 'CreateNetwork_AdjustmentWorkOrder',
1906
1774
  properties,
1907
1775
  entity: 'FieldServiceModule:WorkOrder',
1908
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
1909
- schemaActionId: '88f136dc-54cc-44bc-a4ee-376c33923770',
1910
- schemaTypeId: '37ab0bcb-e17b-412c-a769-0f16621f43e7',
1911
1776
  type: 'NETWORK_ADJUSTMENT',
1912
1777
  autoLinkParent: true,
1913
1778
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1927,9 +1792,6 @@ class CreateLinkedWorkOrderFlowFlowBuilder {
1927
1792
  actionName: 'CreateRemediationWorkOrder',
1928
1793
  properties,
1929
1794
  entity: 'FieldServiceModule:WorkOrder',
1930
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
1931
- schemaActionId: '1767eb49-96d9-4e1a-ad14-9a54977b03fb',
1932
- schemaTypeId: '0c3ff41d-7e84-47ae-8594-f15ebdc58297',
1933
1795
  type: 'REMEDIATION',
1934
1796
  autoLinkParent: true,
1935
1797
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -1986,9 +1848,6 @@ class CreateLinkedWorkOrderFlowFlowBuilder {
1986
1848
  return {
1987
1849
  entity: step.entity,
1988
1850
  type: step.type,
1989
- schemaId: step.schemaId,
1990
- schemaActionId: step.schemaActionId,
1991
- schemaTypeId: step.schemaTypeId,
1992
1851
  actionName: step.actionName,
1993
1852
  properties: step.properties,
1994
1853
  title: step.title,
@@ -1997,7 +1856,7 @@ class CreateLinkedWorkOrderFlowFlowBuilder {
1997
1856
  groups: step.groups,
1998
1857
  };
1999
1858
  });
2000
- 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);
1859
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CreateLinkedWorkOrderFlow', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
2001
1860
  }
2002
1861
  }
2003
1862
  exports.CreateLinkedWorkOrderFlowFlowBuilder = CreateLinkedWorkOrderFlowFlowBuilder;
@@ -2037,9 +1896,6 @@ class CreateWayleaveWorkOrderFlowFlowBuilder {
2037
1896
  actionName: 'WayleaveAuditCreate',
2038
1897
  properties,
2039
1898
  entity: 'FieldServiceModule:WayleaveAudit',
2040
- schemaId: '45186c21-cfda-4ff3-af2b-bcf987abe60d',
2041
- schemaActionId: '841daf7c-d98a-4ed4-9e1a-8f68e74f65e7',
2042
- schemaTypeId: '9ef1c5d4-45f8-4eac-8506-d98c7c54df60',
2043
1899
  type: 'OUTCOME_FORM',
2044
1900
  autoLinkParent: true,
2045
1901
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -2059,9 +1915,6 @@ class CreateWayleaveWorkOrderFlowFlowBuilder {
2059
1915
  actionName: 'CreateWayleaveWorkOrder',
2060
1916
  properties,
2061
1917
  entity: 'FieldServiceModule:WorkOrder',
2062
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
2063
- schemaActionId: 'aa3305f5-8683-4085-abe5-da6ef52cb7d8',
2064
- schemaTypeId: '0c06127b-e331-4afa-a256-d59f5a96b47a',
2065
1918
  type: 'WAYLEAVE',
2066
1919
  autoLinkParent: true,
2067
1920
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -2118,9 +1971,6 @@ class CreateWayleaveWorkOrderFlowFlowBuilder {
2118
1971
  return {
2119
1972
  entity: step.entity,
2120
1973
  type: step.type,
2121
- schemaId: step.schemaId,
2122
- schemaActionId: step.schemaActionId,
2123
- schemaTypeId: step.schemaTypeId,
2124
1974
  actionName: step.actionName,
2125
1975
  properties: step.properties,
2126
1976
  title: step.title,
@@ -2129,7 +1979,7 @@ class CreateWayleaveWorkOrderFlowFlowBuilder {
2129
1979
  groups: step.groups,
2130
1980
  };
2131
1981
  });
2132
- 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
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'CreateWayleaveWorkOrderFlow', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
2133
1983
  }
2134
1984
  }
2135
1985
  exports.CreateWayleaveWorkOrderFlowFlowBuilder = CreateWayleaveWorkOrderFlowFlowBuilder;
@@ -2170,8 +2020,6 @@ class MoveBusinessInstallToRemediationFlowBuilder {
2170
2020
  actionName: 'CreatePermissionToFail',
2171
2021
  properties,
2172
2022
  entity: 'FieldServiceModule:PermissionToFail',
2173
- schemaId: 'a414410e-b30e-4385-8281-e9d98ebb28f5',
2174
- schemaActionId: 'f8569b8c-fcb2-4367-906d-f5ee5eb33d71',
2175
2023
  autoLinkParent: true,
2176
2024
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
2177
2025
  groups: options === null || options === void 0 ? void 0 : options.groups,
@@ -2190,9 +2038,6 @@ class MoveBusinessInstallToRemediationFlowBuilder {
2190
2038
  actionName: 'RemediationRequiredReasonCreate',
2191
2039
  properties,
2192
2040
  entity: 'FieldServiceModule:RemediationRequiredReason',
2193
- schemaId: '4fe10597-d1f6-467e-9aba-8e175f1e51ce',
2194
- schemaActionId: '2565cea5-6d55-4a4c-b54c-c54f1c5cad47',
2195
- schemaTypeId: '5905f023-ae70-42ef-93f9-ffe2206c7f91',
2196
2041
  type: 'OUTCOME_FORM',
2197
2042
  autoLinkParent: true,
2198
2043
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -2249,9 +2094,6 @@ class MoveBusinessInstallToRemediationFlowBuilder {
2249
2094
  return {
2250
2095
  entity: step.entity,
2251
2096
  type: step.type,
2252
- schemaId: step.schemaId,
2253
- schemaActionId: step.schemaActionId,
2254
- schemaTypeId: step.schemaTypeId,
2255
2097
  actionName: step.actionName,
2256
2098
  properties: step.properties,
2257
2099
  title: step.title,
@@ -2260,7 +2102,7 @@ class MoveBusinessInstallToRemediationFlowBuilder {
2260
2102
  groups: step.groups,
2261
2103
  };
2262
2104
  });
2263
- 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);
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', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'BusinessInstallPipelineStageRemediationRequired' }), this._options);
2264
2106
  }
2265
2107
  }
2266
2108
  exports.MoveBusinessInstallToRemediationFlowBuilder = MoveBusinessInstallToRemediationFlowBuilder;
@@ -2302,9 +2144,6 @@ class MoveCollectionWorkOrderFromAcceptedToEnRouteFlowBuilder {
2302
2144
  properties,
2303
2145
  id,
2304
2146
  entity: 'FieldServiceModule:WorkOrder',
2305
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
2306
- schemaActionId: '8fd6fc94-d1ee-4d03-91f2-848f8d65f8e1',
2307
- schemaTypeId: '83804195-cbac-4926-9c87-8883ad613814',
2308
2147
  type: 'COLLECTION',
2309
2148
  autoLinkParent: false,
2310
2149
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -2363,9 +2202,6 @@ class MoveCollectionWorkOrderFromAcceptedToEnRouteFlowBuilder {
2363
2202
  return {
2364
2203
  entity: step.entity,
2365
2204
  type: step.type,
2366
- schemaId: step.schemaId,
2367
- schemaActionId: step.schemaActionId,
2368
- schemaTypeId: step.schemaTypeId,
2369
2205
  actionName: step.actionName,
2370
2206
  properties: step.properties,
2371
2207
  title: step.title,
@@ -2374,7 +2210,7 @@ class MoveCollectionWorkOrderFromAcceptedToEnRouteFlowBuilder {
2374
2210
  groups: step.groups,
2375
2211
  };
2376
2212
  });
2377
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveCollectionWorkOrderFromAcceptedToEnRoute', schemaActionId: '9da8f433-d3c4-41b8-a1e6-f7450f379cc9', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CollectionPipelineStageEnRoute' }, this._options);
2213
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveCollectionWorkOrderFromAcceptedToEnRoute', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CollectionPipelineStageEnRoute' }, this._options);
2378
2214
  }
2379
2215
  }
2380
2216
  exports.MoveCollectionWorkOrderFromAcceptedToEnRouteFlowBuilder = MoveCollectionWorkOrderFromAcceptedToEnRouteFlowBuilder;
@@ -2416,9 +2252,6 @@ class MoveCollectionWorkOrderFromReceivedToCompleteFlowBuilder {
2416
2252
  properties,
2417
2253
  id,
2418
2254
  entity: 'FieldServiceModule:WorkOrder',
2419
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
2420
- schemaActionId: 'a9c475dc-4c99-4670-9c0b-9cf741674453',
2421
- schemaTypeId: '83804195-cbac-4926-9c87-8883ad613814',
2422
2255
  type: 'COLLECTION',
2423
2256
  autoLinkParent: false,
2424
2257
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -2477,9 +2310,6 @@ class MoveCollectionWorkOrderFromReceivedToCompleteFlowBuilder {
2477
2310
  return {
2478
2311
  entity: step.entity,
2479
2312
  type: step.type,
2480
- schemaId: step.schemaId,
2481
- schemaActionId: step.schemaActionId,
2482
- schemaTypeId: step.schemaTypeId,
2483
2313
  actionName: step.actionName,
2484
2314
  properties: step.properties,
2485
2315
  title: step.title,
@@ -2488,7 +2318,7 @@ class MoveCollectionWorkOrderFromReceivedToCompleteFlowBuilder {
2488
2318
  groups: step.groups,
2489
2319
  };
2490
2320
  });
2491
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveCollectionWorkOrderFromReceivedToComplete', schemaActionId: '602d7688-a819-4512-afb2-cf89ff8336bf', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CollectionPipelineStageComplete' }, this._options);
2321
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveCollectionWorkOrderFromReceivedToComplete', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CollectionPipelineStageComplete' }, this._options);
2492
2322
  }
2493
2323
  }
2494
2324
  exports.MoveCollectionWorkOrderFromReceivedToCompleteFlowBuilder = MoveCollectionWorkOrderFromReceivedToCompleteFlowBuilder;
@@ -2530,8 +2360,6 @@ class MoveInspectionWorkOrderToInProgressFlowBuilder {
2530
2360
  properties,
2531
2361
  id,
2532
2362
  entity: 'FieldServiceModule:WorkOrder',
2533
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
2534
- schemaActionId: '42ad9a44-dec3-4a73-b411-120976f24095',
2535
2363
  autoLinkParent: false,
2536
2364
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
2537
2365
  groups: options === null || options === void 0 ? void 0 : options.groups,
@@ -2589,9 +2417,6 @@ class MoveInspectionWorkOrderToInProgressFlowBuilder {
2589
2417
  return {
2590
2418
  entity: step.entity,
2591
2419
  type: step.type,
2592
- schemaId: step.schemaId,
2593
- schemaActionId: step.schemaActionId,
2594
- schemaTypeId: step.schemaTypeId,
2595
2420
  actionName: step.actionName,
2596
2421
  properties: step.properties,
2597
2422
  title: step.title,
@@ -2600,7 +2425,7 @@ class MoveInspectionWorkOrderToInProgressFlowBuilder {
2600
2425
  groups: step.groups,
2601
2426
  };
2602
2427
  });
2603
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveInspectionWorkOrderToInProgress', schemaActionId: '56081f55-dbd4-469d-8326-d65e1b599ed7', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
2428
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveInspectionWorkOrderToInProgress', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
2604
2429
  }
2605
2430
  }
2606
2431
  exports.MoveInspectionWorkOrderToInProgressFlowBuilder = MoveInspectionWorkOrderToInProgressFlowBuilder;
@@ -2641,9 +2466,6 @@ class MoveInspectionWorkOrderToInProgressSubstantialFlowBuilder {
2641
2466
  actionName: 'CreateSsra',
2642
2467
  properties,
2643
2468
  entity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
2644
- schemaId: '1716c3f2-9d17-44ba-bac4-dc0e83f8de33',
2645
- schemaActionId: '3da1b43e-deea-4712-a3f2-7fbb890edeab',
2646
- schemaTypeId: '5f33e214-9ea5-4be1-9e3f-194f803cbed5',
2647
2469
  type: 'OUTCOME_FORM',
2648
2470
  autoLinkParent: true,
2649
2471
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -2700,9 +2522,6 @@ class MoveInspectionWorkOrderToInProgressSubstantialFlowBuilder {
2700
2522
  return {
2701
2523
  entity: step.entity,
2702
2524
  type: step.type,
2703
- schemaId: step.schemaId,
2704
- schemaActionId: step.schemaActionId,
2705
- schemaTypeId: step.schemaTypeId,
2706
2525
  actionName: step.actionName,
2707
2526
  properties: step.properties,
2708
2527
  title: step.title,
@@ -2711,7 +2530,7 @@ class MoveInspectionWorkOrderToInProgressSubstantialFlowBuilder {
2711
2530
  groups: step.groups,
2712
2531
  };
2713
2532
  });
2714
- 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);
2533
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveInspectionWorkOrderToInProgressSubstantial', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }), this._options);
2715
2534
  }
2716
2535
  }
2717
2536
  exports.MoveInspectionWorkOrderToInProgressSubstantialFlowBuilder = MoveInspectionWorkOrderToInProgressSubstantialFlowBuilder;
@@ -2753,9 +2572,6 @@ class MoveInstallWorkOrderToEnRouteFlowBuilder {
2753
2572
  properties,
2754
2573
  id,
2755
2574
  entity: 'FieldServiceModule:WorkOrder',
2756
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
2757
- schemaActionId: '31eefcd2-856b-4d18-924b-3052ceb2170e',
2758
- schemaTypeId: 'c27b6623-8a25-4f2b-b6a1-13d60ef055d6',
2759
2575
  type: 'INSTALL',
2760
2576
  autoLinkParent: false,
2761
2577
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -2814,9 +2630,6 @@ class MoveInstallWorkOrderToEnRouteFlowBuilder {
2814
2630
  return {
2815
2631
  entity: step.entity,
2816
2632
  type: step.type,
2817
- schemaId: step.schemaId,
2818
- schemaActionId: step.schemaActionId,
2819
- schemaTypeId: step.schemaTypeId,
2820
2633
  actionName: step.actionName,
2821
2634
  properties: step.properties,
2822
2635
  title: step.title,
@@ -2825,7 +2638,7 @@ class MoveInstallWorkOrderToEnRouteFlowBuilder {
2825
2638
  groups: step.groups,
2826
2639
  };
2827
2640
  });
2828
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveInstallWorkOrderToEnRoute', schemaActionId: 'dda8f4b7-b242-4e87-b3a9-3dcba1c336d9', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageEnRoute' }, this._options);
2641
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveInstallWorkOrderToEnRoute', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageEnRoute' }, this._options);
2829
2642
  }
2830
2643
  }
2831
2644
  exports.MoveInstallWorkOrderToEnRouteFlowBuilder = MoveInstallWorkOrderToEnRouteFlowBuilder;
@@ -2867,8 +2680,6 @@ class MoveInstallWorkOrderToInProgressFlowBuilder {
2867
2680
  properties,
2868
2681
  id,
2869
2682
  entity: 'FieldServiceModule:WorkOrder',
2870
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
2871
- schemaActionId: '42ad9a44-dec3-4a73-b411-120976f24095',
2872
2683
  autoLinkParent: false,
2873
2684
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
2874
2685
  groups: options === null || options === void 0 ? void 0 : options.groups,
@@ -2926,9 +2737,6 @@ class MoveInstallWorkOrderToInProgressFlowBuilder {
2926
2737
  return {
2927
2738
  entity: step.entity,
2928
2739
  type: step.type,
2929
- schemaId: step.schemaId,
2930
- schemaActionId: step.schemaActionId,
2931
- schemaTypeId: step.schemaTypeId,
2932
2740
  actionName: step.actionName,
2933
2741
  properties: step.properties,
2934
2742
  title: step.title,
@@ -2937,7 +2745,7 @@ class MoveInstallWorkOrderToInProgressFlowBuilder {
2937
2745
  groups: step.groups,
2938
2746
  };
2939
2747
  });
2940
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveInstallWorkOrderToInProgress', schemaActionId: '809b47f4-b330-405e-85d3-f336e5d0a445', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
2748
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveInstallWorkOrderToInProgress', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
2941
2749
  }
2942
2750
  }
2943
2751
  exports.MoveInstallWorkOrderToInProgressFlowBuilder = MoveInstallWorkOrderToInProgressFlowBuilder;
@@ -2978,9 +2786,6 @@ class MoveInstallWorkOrderToInProgressSubstantialFlowBuilder {
2978
2786
  actionName: 'CreateSsra',
2979
2787
  properties,
2980
2788
  entity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
2981
- schemaId: '1716c3f2-9d17-44ba-bac4-dc0e83f8de33',
2982
- schemaActionId: '3da1b43e-deea-4712-a3f2-7fbb890edeab',
2983
- schemaTypeId: '5f33e214-9ea5-4be1-9e3f-194f803cbed5',
2984
2789
  type: 'OUTCOME_FORM',
2985
2790
  autoLinkParent: true,
2986
2791
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -3037,9 +2842,6 @@ class MoveInstallWorkOrderToInProgressSubstantialFlowBuilder {
3037
2842
  return {
3038
2843
  entity: step.entity,
3039
2844
  type: step.type,
3040
- schemaId: step.schemaId,
3041
- schemaActionId: step.schemaActionId,
3042
- schemaTypeId: step.schemaTypeId,
3043
2845
  actionName: step.actionName,
3044
2846
  properties: step.properties,
3045
2847
  title: step.title,
@@ -3048,7 +2850,7 @@ class MoveInstallWorkOrderToInProgressSubstantialFlowBuilder {
3048
2850
  groups: step.groups,
3049
2851
  };
3050
2852
  });
3051
- 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);
2853
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveInstallWorkOrderToInProgressSubstantial', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }), this._options);
3052
2854
  }
3053
2855
  }
3054
2856
  exports.MoveInstallWorkOrderToInProgressSubstantialFlowBuilder = MoveInstallWorkOrderToInProgressSubstantialFlowBuilder;
@@ -3089,8 +2891,6 @@ class MoveInstallWorkOrderToRemediationFlowBuilder {
3089
2891
  actionName: 'CreatePermissionToFail',
3090
2892
  properties,
3091
2893
  entity: 'FieldServiceModule:PermissionToFail',
3092
- schemaId: 'a414410e-b30e-4385-8281-e9d98ebb28f5',
3093
- schemaActionId: 'f8569b8c-fcb2-4367-906d-f5ee5eb33d71',
3094
2894
  autoLinkParent: true,
3095
2895
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
3096
2896
  groups: options === null || options === void 0 ? void 0 : options.groups,
@@ -3109,9 +2909,6 @@ class MoveInstallWorkOrderToRemediationFlowBuilder {
3109
2909
  actionName: 'RemediationRequiredReasonCreate',
3110
2910
  properties,
3111
2911
  entity: 'FieldServiceModule:RemediationRequiredReason',
3112
- schemaId: '4fe10597-d1f6-467e-9aba-8e175f1e51ce',
3113
- schemaActionId: '2565cea5-6d55-4a4c-b54c-c54f1c5cad47',
3114
- schemaTypeId: '5905f023-ae70-42ef-93f9-ffe2206c7f91',
3115
2912
  type: 'OUTCOME_FORM',
3116
2913
  autoLinkParent: true,
3117
2914
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -3168,9 +2965,6 @@ class MoveInstallWorkOrderToRemediationFlowBuilder {
3168
2965
  return {
3169
2966
  entity: step.entity,
3170
2967
  type: step.type,
3171
- schemaId: step.schemaId,
3172
- schemaActionId: step.schemaActionId,
3173
- schemaTypeId: step.schemaTypeId,
3174
2968
  actionName: step.actionName,
3175
2969
  properties: step.properties,
3176
2970
  title: step.title,
@@ -3179,7 +2973,7 @@ class MoveInstallWorkOrderToRemediationFlowBuilder {
3179
2973
  groups: step.groups,
3180
2974
  };
3181
2975
  });
3182
- 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);
2976
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveInstallWorkOrderToRemediation', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderRemediationRequired' }), this._options);
3183
2977
  }
3184
2978
  }
3185
2979
  exports.MoveInstallWorkOrderToRemediationFlowBuilder = MoveInstallWorkOrderToRemediationFlowBuilder;
@@ -3221,8 +3015,6 @@ class MovePrePullWorkOrderToInProgressFlowBuilder {
3221
3015
  properties,
3222
3016
  id,
3223
3017
  entity: 'FieldServiceModule:WorkOrder',
3224
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
3225
- schemaActionId: '42ad9a44-dec3-4a73-b411-120976f24095',
3226
3018
  autoLinkParent: false,
3227
3019
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
3228
3020
  groups: options === null || options === void 0 ? void 0 : options.groups,
@@ -3280,9 +3072,6 @@ class MovePrePullWorkOrderToInProgressFlowBuilder {
3280
3072
  return {
3281
3073
  entity: step.entity,
3282
3074
  type: step.type,
3283
- schemaId: step.schemaId,
3284
- schemaActionId: step.schemaActionId,
3285
- schemaTypeId: step.schemaTypeId,
3286
3075
  actionName: step.actionName,
3287
3076
  properties: step.properties,
3288
3077
  title: step.title,
@@ -3291,7 +3080,7 @@ class MovePrePullWorkOrderToInProgressFlowBuilder {
3291
3080
  groups: step.groups,
3292
3081
  };
3293
3082
  });
3294
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MovePrePullWorkOrderToInProgress', schemaActionId: '661f0a7e-2107-4595-b0fc-20f436e55b52', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
3083
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MovePrePullWorkOrderToInProgress', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
3295
3084
  }
3296
3085
  }
3297
3086
  exports.MovePrePullWorkOrderToInProgressFlowBuilder = MovePrePullWorkOrderToInProgressFlowBuilder;
@@ -3332,9 +3121,6 @@ class MovePrePullWorkOrderToInProgressSubstantialFlowBuilder {
3332
3121
  actionName: 'CreateSsra',
3333
3122
  properties,
3334
3123
  entity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
3335
- schemaId: '1716c3f2-9d17-44ba-bac4-dc0e83f8de33',
3336
- schemaActionId: '3da1b43e-deea-4712-a3f2-7fbb890edeab',
3337
- schemaTypeId: '5f33e214-9ea5-4be1-9e3f-194f803cbed5',
3338
3124
  type: 'OUTCOME_FORM',
3339
3125
  autoLinkParent: true,
3340
3126
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -3391,9 +3177,6 @@ class MovePrePullWorkOrderToInProgressSubstantialFlowBuilder {
3391
3177
  return {
3392
3178
  entity: step.entity,
3393
3179
  type: step.type,
3394
- schemaId: step.schemaId,
3395
- schemaActionId: step.schemaActionId,
3396
- schemaTypeId: step.schemaTypeId,
3397
3180
  actionName: step.actionName,
3398
3181
  properties: step.properties,
3399
3182
  title: step.title,
@@ -3402,7 +3185,7 @@ class MovePrePullWorkOrderToInProgressSubstantialFlowBuilder {
3402
3185
  groups: step.groups,
3403
3186
  };
3404
3187
  });
3405
- 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);
3188
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MovePrePullWorkOrderToInProgressSubstantial', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }), this._options);
3406
3189
  }
3407
3190
  }
3408
3191
  exports.MovePrePullWorkOrderToInProgressSubstantialFlowBuilder = MovePrePullWorkOrderToInProgressSubstantialFlowBuilder;
@@ -3443,8 +3226,6 @@ class MovePrePullWorkOrderToRemediationFlowBuilder {
3443
3226
  actionName: 'CreatePermissionToFail',
3444
3227
  properties,
3445
3228
  entity: 'FieldServiceModule:PermissionToFail',
3446
- schemaId: 'a414410e-b30e-4385-8281-e9d98ebb28f5',
3447
- schemaActionId: 'f8569b8c-fcb2-4367-906d-f5ee5eb33d71',
3448
3229
  autoLinkParent: true,
3449
3230
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
3450
3231
  groups: options === null || options === void 0 ? void 0 : options.groups,
@@ -3463,9 +3244,6 @@ class MovePrePullWorkOrderToRemediationFlowBuilder {
3463
3244
  actionName: 'RemediationRequiredReasonCreate',
3464
3245
  properties,
3465
3246
  entity: 'FieldServiceModule:RemediationRequiredReason',
3466
- schemaId: '4fe10597-d1f6-467e-9aba-8e175f1e51ce',
3467
- schemaActionId: '2565cea5-6d55-4a4c-b54c-c54f1c5cad47',
3468
- schemaTypeId: '5905f023-ae70-42ef-93f9-ffe2206c7f91',
3469
3247
  type: 'OUTCOME_FORM',
3470
3248
  autoLinkParent: true,
3471
3249
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -3522,9 +3300,6 @@ class MovePrePullWorkOrderToRemediationFlowBuilder {
3522
3300
  return {
3523
3301
  entity: step.entity,
3524
3302
  type: step.type,
3525
- schemaId: step.schemaId,
3526
- schemaActionId: step.schemaActionId,
3527
- schemaTypeId: step.schemaTypeId,
3528
3303
  actionName: step.actionName,
3529
3304
  properties: step.properties,
3530
3305
  title: step.title,
@@ -3533,7 +3308,7 @@ class MovePrePullWorkOrderToRemediationFlowBuilder {
3533
3308
  groups: step.groups,
3534
3309
  };
3535
3310
  });
3536
- 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);
3311
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MovePrePullWorkOrderToRemediation', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderRemediationRequired' }), this._options);
3537
3312
  }
3538
3313
  }
3539
3314
  exports.MovePrePullWorkOrderToRemediationFlowBuilder = MovePrePullWorkOrderToRemediationFlowBuilder;
@@ -3575,8 +3350,6 @@ class MoveRemediationWorkOrderToInProgressFlowBuilder {
3575
3350
  properties,
3576
3351
  id,
3577
3352
  entity: 'FieldServiceModule:WorkOrder',
3578
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
3579
- schemaActionId: '42ad9a44-dec3-4a73-b411-120976f24095',
3580
3353
  autoLinkParent: false,
3581
3354
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
3582
3355
  groups: options === null || options === void 0 ? void 0 : options.groups,
@@ -3634,9 +3407,6 @@ class MoveRemediationWorkOrderToInProgressFlowBuilder {
3634
3407
  return {
3635
3408
  entity: step.entity,
3636
3409
  type: step.type,
3637
- schemaId: step.schemaId,
3638
- schemaActionId: step.schemaActionId,
3639
- schemaTypeId: step.schemaTypeId,
3640
3410
  actionName: step.actionName,
3641
3411
  properties: step.properties,
3642
3412
  title: step.title,
@@ -3645,7 +3415,7 @@ class MoveRemediationWorkOrderToInProgressFlowBuilder {
3645
3415
  groups: step.groups,
3646
3416
  };
3647
3417
  });
3648
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveRemediationWorkOrderToInProgress', schemaActionId: 'e1776f49-cdff-4877-b839-c6c459c1f3e3', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
3418
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveRemediationWorkOrderToInProgress', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
3649
3419
  }
3650
3420
  }
3651
3421
  exports.MoveRemediationWorkOrderToInProgressFlowBuilder = MoveRemediationWorkOrderToInProgressFlowBuilder;
@@ -3686,9 +3456,6 @@ class MoveRemediationWorkOrderToInProgressSubstantialFlowBuilder {
3686
3456
  actionName: 'CreateSsra',
3687
3457
  properties,
3688
3458
  entity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
3689
- schemaId: '1716c3f2-9d17-44ba-bac4-dc0e83f8de33',
3690
- schemaActionId: '3da1b43e-deea-4712-a3f2-7fbb890edeab',
3691
- schemaTypeId: '5f33e214-9ea5-4be1-9e3f-194f803cbed5',
3692
3459
  type: 'OUTCOME_FORM',
3693
3460
  autoLinkParent: true,
3694
3461
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -3745,9 +3512,6 @@ class MoveRemediationWorkOrderToInProgressSubstantialFlowBuilder {
3745
3512
  return {
3746
3513
  entity: step.entity,
3747
3514
  type: step.type,
3748
- schemaId: step.schemaId,
3749
- schemaActionId: step.schemaActionId,
3750
- schemaTypeId: step.schemaTypeId,
3751
3515
  actionName: step.actionName,
3752
3516
  properties: step.properties,
3753
3517
  title: step.title,
@@ -3756,7 +3520,7 @@ class MoveRemediationWorkOrderToInProgressSubstantialFlowBuilder {
3756
3520
  groups: step.groups,
3757
3521
  };
3758
3522
  });
3759
- 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);
3523
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveRemediationWorkOrderToInProgressSubstantial', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }), this._options);
3760
3524
  }
3761
3525
  }
3762
3526
  exports.MoveRemediationWorkOrderToInProgressSubstantialFlowBuilder = MoveRemediationWorkOrderToInProgressSubstantialFlowBuilder;
@@ -3797,8 +3561,6 @@ class MoveRemediationWorkOrderToRemediationFlowBuilder {
3797
3561
  actionName: 'CreatePermissionToFail',
3798
3562
  properties,
3799
3563
  entity: 'FieldServiceModule:PermissionToFail',
3800
- schemaId: 'a414410e-b30e-4385-8281-e9d98ebb28f5',
3801
- schemaActionId: 'f8569b8c-fcb2-4367-906d-f5ee5eb33d71',
3802
3564
  autoLinkParent: true,
3803
3565
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
3804
3566
  groups: options === null || options === void 0 ? void 0 : options.groups,
@@ -3817,9 +3579,6 @@ class MoveRemediationWorkOrderToRemediationFlowBuilder {
3817
3579
  actionName: 'RemediationRequiredReasonCreate',
3818
3580
  properties,
3819
3581
  entity: 'FieldServiceModule:RemediationRequiredReason',
3820
- schemaId: '4fe10597-d1f6-467e-9aba-8e175f1e51ce',
3821
- schemaActionId: '2565cea5-6d55-4a4c-b54c-c54f1c5cad47',
3822
- schemaTypeId: '5905f023-ae70-42ef-93f9-ffe2206c7f91',
3823
3582
  type: 'OUTCOME_FORM',
3824
3583
  autoLinkParent: true,
3825
3584
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -3876,9 +3635,6 @@ class MoveRemediationWorkOrderToRemediationFlowBuilder {
3876
3635
  return {
3877
3636
  entity: step.entity,
3878
3637
  type: step.type,
3879
- schemaId: step.schemaId,
3880
- schemaActionId: step.schemaActionId,
3881
- schemaTypeId: step.schemaTypeId,
3882
3638
  actionName: step.actionName,
3883
3639
  properties: step.properties,
3884
3640
  title: step.title,
@@ -3887,7 +3643,7 @@ class MoveRemediationWorkOrderToRemediationFlowBuilder {
3887
3643
  groups: step.groups,
3888
3644
  };
3889
3645
  });
3890
- 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);
3646
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveRemediationWorkOrderToRemediation', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderRemediationRequired' }), this._options);
3891
3647
  }
3892
3648
  }
3893
3649
  exports.MoveRemediationWorkOrderToRemediationFlowBuilder = MoveRemediationWorkOrderToRemediationFlowBuilder;
@@ -3929,8 +3685,6 @@ class MoveServiceWorkOrderToInProgressFlowBuilder {
3929
3685
  properties,
3930
3686
  id,
3931
3687
  entity: 'FieldServiceModule:WorkOrder',
3932
- schemaId: '813cdda2-c52e-4ea7-b873-a7c5cd058c91',
3933
- schemaActionId: '42ad9a44-dec3-4a73-b411-120976f24095',
3934
3688
  autoLinkParent: false,
3935
3689
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
3936
3690
  groups: options === null || options === void 0 ? void 0 : options.groups,
@@ -3988,9 +3742,6 @@ class MoveServiceWorkOrderToInProgressFlowBuilder {
3988
3742
  return {
3989
3743
  entity: step.entity,
3990
3744
  type: step.type,
3991
- schemaId: step.schemaId,
3992
- schemaActionId: step.schemaActionId,
3993
- schemaTypeId: step.schemaTypeId,
3994
3745
  actionName: step.actionName,
3995
3746
  properties: step.properties,
3996
3747
  title: step.title,
@@ -3999,7 +3750,7 @@ class MoveServiceWorkOrderToInProgressFlowBuilder {
3999
3750
  groups: step.groups,
4000
3751
  };
4001
3752
  });
4002
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveServiceWorkOrderToInProgress', schemaActionId: '3d82f93e-2bb2-44ad-851d-b98bd9cb739e', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
3753
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveServiceWorkOrderToInProgress', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }, this._options);
4003
3754
  }
4004
3755
  }
4005
3756
  exports.MoveServiceWorkOrderToInProgressFlowBuilder = MoveServiceWorkOrderToInProgressFlowBuilder;
@@ -4040,9 +3791,6 @@ class MoveServiceWorkOrderToInProgressSubstantialFlowBuilder {
4040
3791
  actionName: 'CreateSsra',
4041
3792
  properties,
4042
3793
  entity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
4043
- schemaId: '1716c3f2-9d17-44ba-bac4-dc0e83f8de33',
4044
- schemaActionId: '3da1b43e-deea-4712-a3f2-7fbb890edeab',
4045
- schemaTypeId: '5f33e214-9ea5-4be1-9e3f-194f803cbed5',
4046
3794
  type: 'OUTCOME_FORM',
4047
3795
  autoLinkParent: true,
4048
3796
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -4099,9 +3847,6 @@ class MoveServiceWorkOrderToInProgressSubstantialFlowBuilder {
4099
3847
  return {
4100
3848
  entity: step.entity,
4101
3849
  type: step.type,
4102
- schemaId: step.schemaId,
4103
- schemaActionId: step.schemaActionId,
4104
- schemaTypeId: step.schemaTypeId,
4105
3850
  actionName: step.actionName,
4106
3851
  properties: step.properties,
4107
3852
  title: step.title,
@@ -4110,7 +3855,7 @@ class MoveServiceWorkOrderToInProgressSubstantialFlowBuilder {
4110
3855
  groups: step.groups,
4111
3856
  };
4112
3857
  });
4113
- 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);
3858
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveServiceWorkOrderToInProgressSubstantial', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderStageInProgress' }), this._options);
4114
3859
  }
4115
3860
  }
4116
3861
  exports.MoveServiceWorkOrderToInProgressSubstantialFlowBuilder = MoveServiceWorkOrderToInProgressSubstantialFlowBuilder;
@@ -4151,8 +3896,6 @@ class MoveServiceWorkOrderToRemediationFlowBuilder {
4151
3896
  actionName: 'CreatePermissionToFail',
4152
3897
  properties,
4153
3898
  entity: 'FieldServiceModule:PermissionToFail',
4154
- schemaId: 'a414410e-b30e-4385-8281-e9d98ebb28f5',
4155
- schemaActionId: 'f8569b8c-fcb2-4367-906d-f5ee5eb33d71',
4156
3899
  autoLinkParent: true,
4157
3900
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
4158
3901
  groups: options === null || options === void 0 ? void 0 : options.groups,
@@ -4171,9 +3914,6 @@ class MoveServiceWorkOrderToRemediationFlowBuilder {
4171
3914
  actionName: 'RemediationRequiredReasonCreate',
4172
3915
  properties,
4173
3916
  entity: 'FieldServiceModule:RemediationRequiredReason',
4174
- schemaId: '4fe10597-d1f6-467e-9aba-8e175f1e51ce',
4175
- schemaActionId: '2565cea5-6d55-4a4c-b54c-c54f1c5cad47',
4176
- schemaTypeId: '5905f023-ae70-42ef-93f9-ffe2206c7f91',
4177
3917
  type: 'OUTCOME_FORM',
4178
3918
  autoLinkParent: true,
4179
3919
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -4230,9 +3970,6 @@ class MoveServiceWorkOrderToRemediationFlowBuilder {
4230
3970
  return {
4231
3971
  entity: step.entity,
4232
3972
  type: step.type,
4233
- schemaId: step.schemaId,
4234
- schemaActionId: step.schemaActionId,
4235
- schemaTypeId: step.schemaTypeId,
4236
3973
  actionName: step.actionName,
4237
3974
  properties: step.properties,
4238
3975
  title: step.title,
@@ -4241,7 +3978,7 @@ class MoveServiceWorkOrderToRemediationFlowBuilder {
4241
3978
  groups: step.groups,
4242
3979
  };
4243
3980
  });
4244
- 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);
3981
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'MoveServiceWorkOrderToRemediation', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'WorkOrderRemediationRequired' }), this._options);
4245
3982
  }
4246
3983
  }
4247
3984
  exports.MoveServiceWorkOrderToRemediationFlowBuilder = MoveServiceWorkOrderToRemediationFlowBuilder;
@@ -4281,9 +4018,6 @@ class RescheduleBusinessInstallWorkOrderSupplierFlowBuilder {
4281
4018
  actionName: 'CreateInstallRescheduledChangeReasonSupplier',
4282
4019
  properties,
4283
4020
  entity: 'FieldServiceModule:ChangeReason',
4284
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
4285
- schemaActionId: '33662718-4f72-48ba-90a4-09643cc2fa5b',
4286
- schemaTypeId: '2b2a4810-81da-4a42-b0d6-581c0f0b8136',
4287
4021
  type: 'SA_RESCHEDULE',
4288
4022
  autoLinkParent: true,
4289
4023
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -4340,9 +4074,6 @@ class RescheduleBusinessInstallWorkOrderSupplierFlowBuilder {
4340
4074
  return {
4341
4075
  entity: step.entity,
4342
4076
  type: step.type,
4343
- schemaId: step.schemaId,
4344
- schemaActionId: step.schemaActionId,
4345
- schemaTypeId: step.schemaTypeId,
4346
4077
  actionName: step.actionName,
4347
4078
  properties: step.properties,
4348
4079
  title: step.title,
@@ -4351,7 +4082,7 @@ class RescheduleBusinessInstallWorkOrderSupplierFlowBuilder {
4351
4082
  groups: step.groups,
4352
4083
  };
4353
4084
  });
4354
- 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);
4085
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleBusinessInstallWorkOrderSupplier', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4355
4086
  }
4356
4087
  }
4357
4088
  exports.RescheduleBusinessInstallWorkOrderSupplierFlowBuilder = RescheduleBusinessInstallWorkOrderSupplierFlowBuilder;
@@ -4391,9 +4122,6 @@ class RescheduleBusinessInstallWorkOrderTenantFlowBuilder {
4391
4122
  actionName: 'CreateInstallRescheduledChangeReasonTenant',
4392
4123
  properties,
4393
4124
  entity: 'FieldServiceModule:ChangeReason',
4394
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
4395
- schemaActionId: 'e1f90237-8d77-42da-a1a8-92a2192cd9b2',
4396
- schemaTypeId: '2b2a4810-81da-4a42-b0d6-581c0f0b8136',
4397
4125
  type: 'SA_RESCHEDULE',
4398
4126
  autoLinkParent: true,
4399
4127
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -4450,9 +4178,6 @@ class RescheduleBusinessInstallWorkOrderTenantFlowBuilder {
4450
4178
  return {
4451
4179
  entity: step.entity,
4452
4180
  type: step.type,
4453
- schemaId: step.schemaId,
4454
- schemaActionId: step.schemaActionId,
4455
- schemaTypeId: step.schemaTypeId,
4456
4181
  actionName: step.actionName,
4457
4182
  properties: step.properties,
4458
4183
  title: step.title,
@@ -4461,7 +4186,7 @@ class RescheduleBusinessInstallWorkOrderTenantFlowBuilder {
4461
4186
  groups: step.groups,
4462
4187
  };
4463
4188
  });
4464
- 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);
4189
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleBusinessInstallWorkOrderTenant', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4465
4190
  }
4466
4191
  }
4467
4192
  exports.RescheduleBusinessInstallWorkOrderTenantFlowBuilder = RescheduleBusinessInstallWorkOrderTenantFlowBuilder;
@@ -4501,9 +4226,6 @@ class RescheduleCollectionWorkOrderTenantFlowBuilder {
4501
4226
  actionName: 'CreateCollectionRescheduledChangeReasonTenant',
4502
4227
  properties,
4503
4228
  entity: 'FieldServiceModule:ChangeReason',
4504
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
4505
- schemaActionId: '154af699-cb71-47e1-819d-9d359981cb1d',
4506
- schemaTypeId: '2b2a4810-81da-4a42-b0d6-581c0f0b8136',
4507
4229
  type: 'SA_RESCHEDULE',
4508
4230
  autoLinkParent: true,
4509
4231
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -4560,9 +4282,6 @@ class RescheduleCollectionWorkOrderTenantFlowBuilder {
4560
4282
  return {
4561
4283
  entity: step.entity,
4562
4284
  type: step.type,
4563
- schemaId: step.schemaId,
4564
- schemaActionId: step.schemaActionId,
4565
- schemaTypeId: step.schemaTypeId,
4566
4285
  actionName: step.actionName,
4567
4286
  properties: step.properties,
4568
4287
  title: step.title,
@@ -4571,7 +4290,7 @@ class RescheduleCollectionWorkOrderTenantFlowBuilder {
4571
4290
  groups: step.groups,
4572
4291
  };
4573
4292
  });
4574
- 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);
4293
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleCollectionWorkOrderTenant', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4575
4294
  }
4576
4295
  }
4577
4296
  exports.RescheduleCollectionWorkOrderTenantFlowBuilder = RescheduleCollectionWorkOrderTenantFlowBuilder;
@@ -4611,9 +4330,6 @@ class RescheduleInspectionWorkOrderSupplierFlowBuilder {
4611
4330
  actionName: 'CreateInstallRescheduledChangeReasonSupplier',
4612
4331
  properties,
4613
4332
  entity: 'FieldServiceModule:ChangeReason',
4614
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
4615
- schemaActionId: '33662718-4f72-48ba-90a4-09643cc2fa5b',
4616
- schemaTypeId: '2b2a4810-81da-4a42-b0d6-581c0f0b8136',
4617
4333
  type: 'SA_RESCHEDULE',
4618
4334
  autoLinkParent: true,
4619
4335
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -4670,9 +4386,6 @@ class RescheduleInspectionWorkOrderSupplierFlowBuilder {
4670
4386
  return {
4671
4387
  entity: step.entity,
4672
4388
  type: step.type,
4673
- schemaId: step.schemaId,
4674
- schemaActionId: step.schemaActionId,
4675
- schemaTypeId: step.schemaTypeId,
4676
4389
  actionName: step.actionName,
4677
4390
  properties: step.properties,
4678
4391
  title: step.title,
@@ -4681,7 +4394,7 @@ class RescheduleInspectionWorkOrderSupplierFlowBuilder {
4681
4394
  groups: step.groups,
4682
4395
  };
4683
4396
  });
4684
- 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);
4397
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleInspectionWorkOrderSupplier', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4685
4398
  }
4686
4399
  }
4687
4400
  exports.RescheduleInspectionWorkOrderSupplierFlowBuilder = RescheduleInspectionWorkOrderSupplierFlowBuilder;
@@ -4721,9 +4434,6 @@ class RescheduleInstallWorkOrderSupplierFlowBuilder {
4721
4434
  actionName: 'CreateInstallRescheduledChangeReasonSupplier',
4722
4435
  properties,
4723
4436
  entity: 'FieldServiceModule:ChangeReason',
4724
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
4725
- schemaActionId: '33662718-4f72-48ba-90a4-09643cc2fa5b',
4726
- schemaTypeId: '2b2a4810-81da-4a42-b0d6-581c0f0b8136',
4727
4437
  type: 'SA_RESCHEDULE',
4728
4438
  autoLinkParent: true,
4729
4439
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -4780,9 +4490,6 @@ class RescheduleInstallWorkOrderSupplierFlowBuilder {
4780
4490
  return {
4781
4491
  entity: step.entity,
4782
4492
  type: step.type,
4783
- schemaId: step.schemaId,
4784
- schemaActionId: step.schemaActionId,
4785
- schemaTypeId: step.schemaTypeId,
4786
4493
  actionName: step.actionName,
4787
4494
  properties: step.properties,
4788
4495
  title: step.title,
@@ -4791,7 +4498,7 @@ class RescheduleInstallWorkOrderSupplierFlowBuilder {
4791
4498
  groups: step.groups,
4792
4499
  };
4793
4500
  });
4794
- 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);
4501
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleInstallWorkOrderSupplier', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4795
4502
  }
4796
4503
  }
4797
4504
  exports.RescheduleInstallWorkOrderSupplierFlowBuilder = RescheduleInstallWorkOrderSupplierFlowBuilder;
@@ -4831,9 +4538,6 @@ class RescheduleInstallWorkOrderTenantFlowBuilder {
4831
4538
  actionName: 'CreateInstallRescheduledChangeReasonTenant',
4832
4539
  properties,
4833
4540
  entity: 'FieldServiceModule:ChangeReason',
4834
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
4835
- schemaActionId: 'e1f90237-8d77-42da-a1a8-92a2192cd9b2',
4836
- schemaTypeId: '2b2a4810-81da-4a42-b0d6-581c0f0b8136',
4837
4541
  type: 'SA_RESCHEDULE',
4838
4542
  autoLinkParent: true,
4839
4543
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -4890,9 +4594,6 @@ class RescheduleInstallWorkOrderTenantFlowBuilder {
4890
4594
  return {
4891
4595
  entity: step.entity,
4892
4596
  type: step.type,
4893
- schemaId: step.schemaId,
4894
- schemaActionId: step.schemaActionId,
4895
- schemaTypeId: step.schemaTypeId,
4896
4597
  actionName: step.actionName,
4897
4598
  properties: step.properties,
4898
4599
  title: step.title,
@@ -4901,7 +4602,7 @@ class RescheduleInstallWorkOrderTenantFlowBuilder {
4901
4602
  groups: step.groups,
4902
4603
  };
4903
4604
  });
4904
- 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);
4605
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleInstallWorkOrderTenant', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
4905
4606
  }
4906
4607
  }
4907
4608
  exports.RescheduleInstallWorkOrderTenantFlowBuilder = RescheduleInstallWorkOrderTenantFlowBuilder;
@@ -4941,9 +4642,6 @@ class ReschedulePrePullWorkOrderSupplierFlowBuilder {
4941
4642
  actionName: 'CreatePrePullRescheduledChangeReasonSupplier',
4942
4643
  properties,
4943
4644
  entity: 'FieldServiceModule:ChangeReason',
4944
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
4945
- schemaActionId: '82377259-8e12-4a16-90cc-6cfc22140bb5',
4946
- schemaTypeId: '2b2a4810-81da-4a42-b0d6-581c0f0b8136',
4947
4645
  type: 'SA_RESCHEDULE',
4948
4646
  autoLinkParent: true,
4949
4647
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -5000,9 +4698,6 @@ class ReschedulePrePullWorkOrderSupplierFlowBuilder {
5000
4698
  return {
5001
4699
  entity: step.entity,
5002
4700
  type: step.type,
5003
- schemaId: step.schemaId,
5004
- schemaActionId: step.schemaActionId,
5005
- schemaTypeId: step.schemaTypeId,
5006
4701
  actionName: step.actionName,
5007
4702
  properties: step.properties,
5008
4703
  title: step.title,
@@ -5011,7 +4706,7 @@ class ReschedulePrePullWorkOrderSupplierFlowBuilder {
5011
4706
  groups: step.groups,
5012
4707
  };
5013
4708
  });
5014
- 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);
4709
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'ReschedulePrePullWorkOrderSupplier', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
5015
4710
  }
5016
4711
  }
5017
4712
  exports.ReschedulePrePullWorkOrderSupplierFlowBuilder = ReschedulePrePullWorkOrderSupplierFlowBuilder;
@@ -5051,9 +4746,6 @@ class RescheduleRemediationWorkOrderSupplierFlowBuilder {
5051
4746
  actionName: 'CreateRemediationRescheduledChangeReasonSupplier',
5052
4747
  properties,
5053
4748
  entity: 'FieldServiceModule:ChangeReason',
5054
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
5055
- schemaActionId: '51010d86-af00-4fc8-84d3-5b14b5fcfbe4',
5056
- schemaTypeId: '2b2a4810-81da-4a42-b0d6-581c0f0b8136',
5057
4749
  type: 'SA_RESCHEDULE',
5058
4750
  autoLinkParent: true,
5059
4751
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -5110,9 +4802,6 @@ class RescheduleRemediationWorkOrderSupplierFlowBuilder {
5110
4802
  return {
5111
4803
  entity: step.entity,
5112
4804
  type: step.type,
5113
- schemaId: step.schemaId,
5114
- schemaActionId: step.schemaActionId,
5115
- schemaTypeId: step.schemaTypeId,
5116
4805
  actionName: step.actionName,
5117
4806
  properties: step.properties,
5118
4807
  title: step.title,
@@ -5121,7 +4810,7 @@ class RescheduleRemediationWorkOrderSupplierFlowBuilder {
5121
4810
  groups: step.groups,
5122
4811
  };
5123
4812
  });
5124
- 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);
4813
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleRemediationWorkOrderSupplier', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
5125
4814
  }
5126
4815
  }
5127
4816
  exports.RescheduleRemediationWorkOrderSupplierFlowBuilder = RescheduleRemediationWorkOrderSupplierFlowBuilder;
@@ -5161,9 +4850,6 @@ class RescheduleServiceWorkOrderSupplierFlowBuilder {
5161
4850
  actionName: 'CreateServiceRescheduledChangeReasonSupplier',
5162
4851
  properties,
5163
4852
  entity: 'FieldServiceModule:ChangeReason',
5164
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
5165
- schemaActionId: '9704bd79-6e6b-4085-99a0-da838d483c02',
5166
- schemaTypeId: '2b2a4810-81da-4a42-b0d6-581c0f0b8136',
5167
4853
  type: 'SA_RESCHEDULE',
5168
4854
  autoLinkParent: true,
5169
4855
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -5220,9 +4906,6 @@ class RescheduleServiceWorkOrderSupplierFlowBuilder {
5220
4906
  return {
5221
4907
  entity: step.entity,
5222
4908
  type: step.type,
5223
- schemaId: step.schemaId,
5224
- schemaActionId: step.schemaActionId,
5225
- schemaTypeId: step.schemaTypeId,
5226
4909
  actionName: step.actionName,
5227
4910
  properties: step.properties,
5228
4911
  title: step.title,
@@ -5231,7 +4914,7 @@ class RescheduleServiceWorkOrderSupplierFlowBuilder {
5231
4914
  groups: step.groups,
5232
4915
  };
5233
4916
  });
5234
- 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);
4917
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleServiceWorkOrderSupplier', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
5235
4918
  }
5236
4919
  }
5237
4920
  exports.RescheduleServiceWorkOrderSupplierFlowBuilder = RescheduleServiceWorkOrderSupplierFlowBuilder;
@@ -5271,9 +4954,6 @@ class RescheduleServiceWorkOrderTenantFlowBuilder {
5271
4954
  actionName: 'CreateServiceRescheduledChangeReasonTenant',
5272
4955
  properties,
5273
4956
  entity: 'FieldServiceModule:ChangeReason',
5274
- schemaId: '3fd57375-20a8-4b6e-bccb-e837bb634e3e',
5275
- schemaActionId: 'b8996670-ff37-4616-a76f-3ca2d6a6d4d9',
5276
- schemaTypeId: '2b2a4810-81da-4a42-b0d6-581c0f0b8136',
5277
4957
  type: 'SA_RESCHEDULE',
5278
4958
  autoLinkParent: true,
5279
4959
  associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
@@ -5330,9 +5010,6 @@ class RescheduleServiceWorkOrderTenantFlowBuilder {
5330
5010
  return {
5331
5011
  entity: step.entity,
5332
5012
  type: step.type,
5333
- schemaId: step.schemaId,
5334
- schemaActionId: step.schemaActionId,
5335
- schemaTypeId: step.schemaTypeId,
5336
5013
  actionName: step.actionName,
5337
5014
  properties: step.properties,
5338
5015
  title: step.title,
@@ -5341,7 +5018,7 @@ class RescheduleServiceWorkOrderTenantFlowBuilder {
5341
5018
  groups: step.groups,
5342
5019
  };
5343
5020
  });
5344
- 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);
5021
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'FieldServiceModule:WorkOrder', actionName: 'RescheduleServiceWorkOrderTenant', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
5345
5022
  }
5346
5023
  }
5347
5024
  exports.RescheduleServiceWorkOrderTenantFlowBuilder = RescheduleServiceWorkOrderTenantFlowBuilder;