@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
@@ -162,9 +162,6 @@ class AssignCaseWithNoteFlowFlowBuilder {
162
162
  properties,
163
163
  id,
164
164
  entity: 'SupportModule:Case',
165
- schemaId: 'be8173eb-269b-4a67-be0c-11ce6af5d561',
166
- schemaActionId: '1b9ad25e-fe28-42fd-8198-b89d9df26bb1',
167
- schemaTypeId: '2d18d4c3-b4f8-4633-bfb0-ff0d62fbaecf',
168
165
  type: 'DEFAULT',
169
166
  autoLinkParent: false,
170
167
  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 }))),
@@ -184,9 +181,6 @@ class AssignCaseWithNoteFlowFlowBuilder {
184
181
  actionName: 'CreateNoteForCaseAssignment',
185
182
  properties,
186
183
  entity: 'SupportModule:Note',
187
- schemaId: '39e849e9-bd95-4499-bca2-e88162062e09',
188
- schemaActionId: '9ac8c98c-4e2d-4b45-851a-bfe818365d32',
189
- schemaTypeId: '0d68c73f-4489-4d73-8482-f6146f87f460',
190
184
  type: 'DEFAULT',
191
185
  autoLinkParent: true,
192
186
  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 }))),
@@ -245,9 +239,6 @@ class AssignCaseWithNoteFlowFlowBuilder {
245
239
  return {
246
240
  entity: step.entity,
247
241
  type: step.type,
248
- schemaId: step.schemaId,
249
- schemaActionId: step.schemaActionId,
250
- schemaTypeId: step.schemaTypeId,
251
242
  actionName: step.actionName,
252
243
  properties: step.properties,
253
244
  title: step.title,
@@ -256,7 +247,7 @@ class AssignCaseWithNoteFlowFlowBuilder {
256
247
  groups: step.groups,
257
248
  };
258
249
  });
259
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'AssignCaseWithNoteFlow', schemaActionId: '65580715-5ec8-4593-a953-2ab975eadd64', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
250
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'AssignCaseWithNoteFlow', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }, this._options);
260
251
  }
261
252
  }
262
253
  exports.AssignCaseWithNoteFlowFlowBuilder = AssignCaseWithNoteFlowFlowBuilder;
@@ -298,8 +289,6 @@ class CaseDefaultStageEscalatedFlowBuilder {
298
289
  properties,
299
290
  id,
300
291
  entity: 'SupportModule:Case',
301
- schemaId: 'be8173eb-269b-4a67-be0c-11ce6af5d561',
302
- schemaActionId: 'fdc282dd-cdc3-49bd-8818-df217a3e226d',
303
292
  autoLinkParent: false,
304
293
  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 }))),
305
294
  groups: options === null || options === void 0 ? void 0 : options.groups,
@@ -318,9 +307,6 @@ class CaseDefaultStageEscalatedFlowBuilder {
318
307
  actionName: 'CreateNoteForCaseAssignment',
319
308
  properties,
320
309
  entity: 'SupportModule:Note',
321
- schemaId: '39e849e9-bd95-4499-bca2-e88162062e09',
322
- schemaActionId: '9ac8c98c-4e2d-4b45-851a-bfe818365d32',
323
- schemaTypeId: '0d68c73f-4489-4d73-8482-f6146f87f460',
324
310
  type: 'DEFAULT',
325
311
  autoLinkParent: true,
326
312
  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 }))),
@@ -379,9 +365,6 @@ class CaseDefaultStageEscalatedFlowBuilder {
379
365
  return {
380
366
  entity: step.entity,
381
367
  type: step.type,
382
- schemaId: step.schemaId,
383
- schemaActionId: step.schemaActionId,
384
- schemaTypeId: step.schemaTypeId,
385
368
  actionName: step.actionName,
386
369
  properties: step.properties,
387
370
  title: step.title,
@@ -390,7 +373,7 @@ class CaseDefaultStageEscalatedFlowBuilder {
390
373
  groups: step.groups,
391
374
  };
392
375
  });
393
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'CaseDefaultStageEscalated', schemaActionId: 'bfc4661a-11ae-427f-96fd-54563e38c447', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStageEscalated' }, this._options);
376
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'CaseDefaultStageEscalated', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStageEscalated' }, this._options);
394
377
  }
395
378
  }
396
379
  exports.CaseDefaultStageEscalatedFlowBuilder = CaseDefaultStageEscalatedFlowBuilder;
@@ -432,9 +415,6 @@ class CaseDefaultStageSolvedFlowBuilder {
432
415
  properties,
433
416
  id,
434
417
  entity: 'SupportModule:Case',
435
- schemaId: 'be8173eb-269b-4a67-be0c-11ce6af5d561',
436
- schemaActionId: '5e215610-d78f-4654-a7c8-4504948936db',
437
- schemaTypeId: '2d18d4c3-b4f8-4633-bfb0-ff0d62fbaecf',
438
418
  type: 'DEFAULT',
439
419
  autoLinkParent: false,
440
420
  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 }))),
@@ -493,9 +473,6 @@ class CaseDefaultStageSolvedFlowBuilder {
493
473
  return {
494
474
  entity: step.entity,
495
475
  type: step.type,
496
- schemaId: step.schemaId,
497
- schemaActionId: step.schemaActionId,
498
- schemaTypeId: step.schemaTypeId,
499
476
  actionName: step.actionName,
500
477
  properties: step.properties,
501
478
  title: step.title,
@@ -504,7 +481,7 @@ class CaseDefaultStageSolvedFlowBuilder {
504
481
  groups: step.groups,
505
482
  };
506
483
  });
507
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'CaseDefaultStageSolved', schemaActionId: '88571d94-6096-47ea-a2b8-81838e46492c', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStageSolved' }, this._options);
484
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'CaseDefaultStageSolved', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStageSolved' }, this._options);
508
485
  }
509
486
  }
510
487
  exports.CaseDefaultStageSolvedFlowBuilder = CaseDefaultStageSolvedFlowBuilder;
@@ -546,9 +523,6 @@ class CasedefaultstageblockedFlowBuilder {
546
523
  properties,
547
524
  id,
548
525
  entity: 'SupportModule:Case',
549
- schemaId: 'be8173eb-269b-4a67-be0c-11ce6af5d561',
550
- schemaActionId: 'e9420724-d4ea-4e08-8a63-1664f8202d34',
551
- schemaTypeId: '2d18d4c3-b4f8-4633-bfb0-ff0d62fbaecf',
552
526
  type: 'DEFAULT',
553
527
  autoLinkParent: false,
554
528
  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 }))),
@@ -607,9 +581,6 @@ class CasedefaultstageblockedFlowBuilder {
607
581
  return {
608
582
  entity: step.entity,
609
583
  type: step.type,
610
- schemaId: step.schemaId,
611
- schemaActionId: step.schemaActionId,
612
- schemaTypeId: step.schemaTypeId,
613
584
  actionName: step.actionName,
614
585
  properties: step.properties,
615
586
  title: step.title,
@@ -618,7 +589,7 @@ class CasedefaultstageblockedFlowBuilder {
618
589
  groups: step.groups,
619
590
  };
620
591
  });
621
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'Casedefaultstageblocked', schemaActionId: '1823e74e-d4af-4ab6-9e6d-f20a94f153d9', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStageBlocked' }, this._options);
592
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'Casedefaultstageblocked', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStageBlocked' }, this._options);
622
593
  }
623
594
  }
624
595
  exports.CasedefaultstageblockedFlowBuilder = CasedefaultstageblockedFlowBuilder;
@@ -660,8 +631,6 @@ class EscalateCaseTransitionFlowBuilder {
660
631
  properties,
661
632
  id,
662
633
  entity: 'SupportModule:Case',
663
- schemaId: 'be8173eb-269b-4a67-be0c-11ce6af5d561',
664
- schemaActionId: 'fdc282dd-cdc3-49bd-8818-df217a3e226d',
665
634
  autoLinkParent: false,
666
635
  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 }))),
667
636
  groups: options === null || options === void 0 ? void 0 : options.groups,
@@ -680,9 +649,6 @@ class EscalateCaseTransitionFlowBuilder {
680
649
  actionName: 'CreateNoteForCaseAssignment',
681
650
  properties,
682
651
  entity: 'SupportModule:Note',
683
- schemaId: '39e849e9-bd95-4499-bca2-e88162062e09',
684
- schemaActionId: '9ac8c98c-4e2d-4b45-851a-bfe818365d32',
685
- schemaTypeId: '0d68c73f-4489-4d73-8482-f6146f87f460',
686
652
  type: 'DEFAULT',
687
653
  autoLinkParent: true,
688
654
  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 }))),
@@ -741,9 +707,6 @@ class EscalateCaseTransitionFlowBuilder {
741
707
  return {
742
708
  entity: step.entity,
743
709
  type: step.type,
744
- schemaId: step.schemaId,
745
- schemaActionId: step.schemaActionId,
746
- schemaTypeId: step.schemaTypeId,
747
710
  actionName: step.actionName,
748
711
  properties: step.properties,
749
712
  title: step.title,
@@ -752,7 +715,7 @@ class EscalateCaseTransitionFlowBuilder {
752
715
  groups: step.groups,
753
716
  };
754
717
  });
755
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'EscalateCaseTransition', schemaActionId: 'f0455f2d-b00e-4a30-883b-b93ef636ab64', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStageEscalated' }, this._options);
718
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'EscalateCaseTransition', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStageEscalated' }, this._options);
756
719
  }
757
720
  }
758
721
  exports.EscalateCaseTransitionFlowBuilder = EscalateCaseTransitionFlowBuilder;
@@ -794,9 +757,6 @@ class MoveCaseToBlockedTransitionFlowBuilder {
794
757
  properties,
795
758
  id,
796
759
  entity: 'SupportModule:Case',
797
- schemaId: 'be8173eb-269b-4a67-be0c-11ce6af5d561',
798
- schemaActionId: 'e9420724-d4ea-4e08-8a63-1664f8202d34',
799
- schemaTypeId: '2d18d4c3-b4f8-4633-bfb0-ff0d62fbaecf',
800
760
  type: 'DEFAULT',
801
761
  autoLinkParent: false,
802
762
  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 }))),
@@ -855,9 +815,6 @@ class MoveCaseToBlockedTransitionFlowBuilder {
855
815
  return {
856
816
  entity: step.entity,
857
817
  type: step.type,
858
- schemaId: step.schemaId,
859
- schemaActionId: step.schemaActionId,
860
- schemaTypeId: step.schemaTypeId,
861
818
  actionName: step.actionName,
862
819
  properties: step.properties,
863
820
  title: step.title,
@@ -866,7 +823,7 @@ class MoveCaseToBlockedTransitionFlowBuilder {
866
823
  groups: step.groups,
867
824
  };
868
825
  });
869
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveCaseToBlockedTransition', schemaActionId: 'cbab8e97-2ad7-4861-af39-ca58eaf6bea3', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStageBlocked' }, this._options);
826
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveCaseToBlockedTransition', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStageBlocked' }, this._options);
870
827
  }
871
828
  }
872
829
  exports.MoveCaseToBlockedTransitionFlowBuilder = MoveCaseToBlockedTransitionFlowBuilder;
@@ -908,9 +865,6 @@ class MoveCaseToPendingReviewTransitionFlowBuilder {
908
865
  properties,
909
866
  id,
910
867
  entity: 'SupportModule:Case',
911
- schemaId: 'be8173eb-269b-4a67-be0c-11ce6af5d561',
912
- schemaActionId: 'ebbbc806-bd60-49e6-af50-6e5e859a8f04',
913
- schemaTypeId: '2d18d4c3-b4f8-4633-bfb0-ff0d62fbaecf',
914
868
  type: 'DEFAULT',
915
869
  autoLinkParent: false,
916
870
  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 }))),
@@ -969,9 +923,6 @@ class MoveCaseToPendingReviewTransitionFlowBuilder {
969
923
  return {
970
924
  entity: step.entity,
971
925
  type: step.type,
972
- schemaId: step.schemaId,
973
- schemaActionId: step.schemaActionId,
974
- schemaTypeId: step.schemaTypeId,
975
926
  actionName: step.actionName,
976
927
  properties: step.properties,
977
928
  title: step.title,
@@ -980,7 +931,7 @@ class MoveCaseToPendingReviewTransitionFlowBuilder {
980
931
  groups: step.groups,
981
932
  };
982
933
  });
983
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveCaseToPendingReviewTransition', schemaActionId: '1bceda63-e8f7-4576-a7da-279d89730812', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStagePendingReview' }, this._options);
934
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveCaseToPendingReviewTransition', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStagePendingReview' }, this._options);
984
935
  }
985
936
  }
986
937
  exports.MoveCaseToPendingReviewTransitionFlowBuilder = MoveCaseToPendingReviewTransitionFlowBuilder;
@@ -1022,8 +973,6 @@ class MoveDefaultCaseFromOpenToClosedFlowBuilder {
1022
973
  properties,
1023
974
  id,
1024
975
  entity: 'SupportModule:Case',
1025
- schemaId: 'be8173eb-269b-4a67-be0c-11ce6af5d561',
1026
- schemaActionId: 'c6d9e241-8cd8-44f4-a215-40be5979b996',
1027
976
  autoLinkParent: false,
1028
977
  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 }))),
1029
978
  groups: options === null || options === void 0 ? void 0 : options.groups,
@@ -1081,9 +1030,6 @@ class MoveDefaultCaseFromOpenToClosedFlowBuilder {
1081
1030
  return {
1082
1031
  entity: step.entity,
1083
1032
  type: step.type,
1084
- schemaId: step.schemaId,
1085
- schemaActionId: step.schemaActionId,
1086
- schemaTypeId: step.schemaTypeId,
1087
1033
  actionName: step.actionName,
1088
1034
  properties: step.properties,
1089
1035
  title: step.title,
@@ -1092,7 +1038,7 @@ class MoveDefaultCaseFromOpenToClosedFlowBuilder {
1092
1038
  groups: step.groups,
1093
1039
  };
1094
1040
  });
1095
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveDefaultCaseFromOpenToClosed', schemaActionId: 'ec219350-d59b-4663-afeb-16a286c4ff0c', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStageClosed' }, this._options);
1041
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveDefaultCaseFromOpenToClosed', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStageClosed' }, this._options);
1096
1042
  }
1097
1043
  }
1098
1044
  exports.MoveDefaultCaseFromOpenToClosedFlowBuilder = MoveDefaultCaseFromOpenToClosedFlowBuilder;
@@ -148,9 +148,6 @@ class CompleteChurnRequestFlowFlowBuilder {
148
148
  properties,
149
149
  id,
150
150
  entity: 'OrderModule:ChurnRequest',
151
- schemaId: '3d48e162-6b20-4994-a5ea-c717c102778e',
152
- schemaActionId: 'a1811110-b3b6-4fc2-85a9-1efba4ed531d',
153
- schemaTypeId: '86ec30d1-84ec-4001-9933-21c8a5a91896',
154
151
  type: 'DEFAULT',
155
152
  autoLinkParent: false,
156
153
  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 }))),
@@ -209,9 +206,6 @@ class CompleteChurnRequestFlowFlowBuilder {
209
206
  return {
210
207
  entity: step.entity,
211
208
  type: step.type,
212
- schemaId: step.schemaId,
213
- schemaActionId: step.schemaActionId,
214
- schemaTypeId: step.schemaTypeId,
215
209
  actionName: step.actionName,
216
210
  properties: step.properties,
217
211
  title: step.title,
@@ -220,7 +214,7 @@ class CompleteChurnRequestFlowFlowBuilder {
220
214
  groups: step.groups,
221
215
  };
222
216
  });
223
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'CompleteChurnRequestFlow', schemaActionId: '71b0d42f-d8d4-4998-841e-5a27a2d26435', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'ChurnRequestStageDone' }, this._options);
217
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'CompleteChurnRequestFlow', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'ChurnRequestStageDone' }, this._options);
224
218
  }
225
219
  }
226
220
  exports.CompleteChurnRequestFlowFlowBuilder = CompleteChurnRequestFlowFlowBuilder;
@@ -24,7 +24,6 @@ import { ContactProperties } from '../entities-v2/Contact';
24
24
  import { CreateCaseProperties } from '../actions-v2/CreateCaseFromContactDto';
25
25
  import { AssignCaseProperties } from '../actions-v2/CreateCaseFromContactDto';
26
26
  import { CreateContactProperties } from '../actions-v2/CreateContactDto';
27
- import { CreateContactFromBrskProperties } from '../actions-v2/CreateContactFromBrskDto';
28
27
  import { UpdateAdditionalCareProperties } from '../actions-v2/UpdateAdditionalCareDto';
29
28
  import { UpdateContactProperties } from '../actions-v2/UpdateContactDto';
30
29
  import { UpdateReferralCodeProperties } from '../actions-v2/UpdateReferralCodeDto';
@@ -32,7 +31,6 @@ import { PaymentMethodRefundRecord } from './PaymentMethodRefundRecord';
32
31
  import { AddressRecord } from './AddressRecord';
33
32
  import { InvoiceRecord } from './InvoiceRecord';
34
33
  import { PgContactRecord } from './PgContactRecord';
35
- import { PhoneNumberRecord } from './PhoneNumberRecord';
36
34
  import { NoteRecord } from './NoteRecord';
37
35
  import { ActivityRecord } from './ActivityRecord';
38
36
  import { SmsMessageRecord } from './SmsMessageRecord';
@@ -192,7 +190,6 @@ export declare class ContactRecord<TProps = ContactProperties> {
192
190
  private _addresses?;
193
191
  private _invoices?;
194
192
  private _pgContacts?;
195
- private _phoneNumbers?;
196
193
  private _notes?;
197
194
  private _activities?;
198
195
  private _smsMessages?;
@@ -314,24 +311,6 @@ export declare class ContactRecord<TProps = ContactProperties> {
314
311
  * ```
315
312
  */
316
313
  get pgContacts(): RecordLinkManager<PgContactRecord, typeof ContactRecord['pgContactsLabels'][number]>;
317
- /** Valid labels for PhoneNumber associations */
318
- static readonly phoneNumbersLabels: readonly ["Contact__PhoneNumber"];
319
- /**
320
- * Access linked PhoneNumber records
321
- * @remarks Available labels: Contact__PhoneNumber
322
- * @throws Error if called on a new (unsaved) record
323
- *
324
- * @example
325
- * ```typescript
326
- * // Get all linked PhoneNumber records
327
- * const items = await record.phoneNumbers.list();
328
- * const first = await record.phoneNumbers.first();
329
- *
330
- * // Filter by label
331
- * const specific = await record.phoneNumbers.first({ label: 'Contact__PhoneNumber' });
332
- * ```
333
- */
334
- get phoneNumbers(): RecordLinkManager<PhoneNumberRecord, typeof ContactRecord['phoneNumbersLabels'][number]>;
335
314
  /** Valid labels for Note associations */
336
315
  static readonly notesLabels: readonly ["Contact__Note"];
337
316
  /**
@@ -813,34 +792,6 @@ export declare class ContactRecord<TProps = ContactProperties> {
813
792
  journeyId?: string;
814
793
  stageKey?: string;
815
794
  }): ActionBuilder;
816
- /**
817
- * CreateContactFromBrsk
818
- *
819
- * Creates a new Contact record with the specified properties.
820
- * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
821
- *
822
- * @param properties - The properties for the new record
823
- * @param options - Optional settings
824
- * @param options.type - Override the record type
825
- * @param options.journeyId - Associate with a journey
826
- * @param options.stageKey - Set initial pipeline stage
827
- * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
828
- *
829
- * @example
830
- * ```typescript
831
- * // Create with properties
832
- * const record = odinClient.contacts.new();
833
- * await record.createContactFromBrsk({ ... }).execute();
834
- *
835
- * // Dry run (for debugging)
836
- * const payload = record.createContactFromBrsk({ ... }).dryRun();
837
- * ```
838
- */
839
- createContactFromBrsk(properties?: CreateContactFromBrskProperties, options?: {
840
- type?: string;
841
- journeyId?: string;
842
- stageKey?: string;
843
- }): ActionBuilder;
844
795
  /**
845
796
  * CreateCaseFromContact
846
797
  *
@@ -34,7 +34,6 @@ const PaymentMethodRefundRecord_1 = require("./PaymentMethodRefundRecord");
34
34
  const AddressRecord_1 = require("./AddressRecord");
35
35
  const InvoiceRecord_1 = require("./InvoiceRecord");
36
36
  const PgContactRecord_1 = require("./PgContactRecord");
37
- const PhoneNumberRecord_1 = require("./PhoneNumberRecord");
38
37
  const NoteRecord_1 = require("./NoteRecord");
39
38
  const ActivityRecord_1 = require("./ActivityRecord");
40
39
  const SmsMessageRecord_1 = require("./SmsMessageRecord");
@@ -170,9 +169,6 @@ class CreateCaseFromContactFlowBuilder {
170
169
  actionName: 'CreateCase',
171
170
  properties,
172
171
  entity: 'SupportModule:Case',
173
- schemaId: 'be8173eb-269b-4a67-be0c-11ce6af5d561',
174
- schemaActionId: '4fd9f78b-0d8f-414e-96cf-aedf37b36d23',
175
- schemaTypeId: '2d18d4c3-b4f8-4633-bfb0-ff0d62fbaecf',
176
172
  type: 'DEFAULT',
177
173
  autoLinkParent: true,
178
174
  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 }))),
@@ -194,9 +190,6 @@ class CreateCaseFromContactFlowBuilder {
194
190
  properties,
195
191
  id,
196
192
  entity: 'SupportModule:Case',
197
- schemaId: 'be8173eb-269b-4a67-be0c-11ce6af5d561',
198
- schemaActionId: '1b9ad25e-fe28-42fd-8198-b89d9df26bb1',
199
- schemaTypeId: '2d18d4c3-b4f8-4633-bfb0-ff0d62fbaecf',
200
193
  type: 'DEFAULT',
201
194
  autoLinkParent: false,
202
195
  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 +246,6 @@ class CreateCaseFromContactFlowBuilder {
253
246
  return {
254
247
  entity: step.entity,
255
248
  type: step.type,
256
- schemaId: step.schemaId,
257
- schemaActionId: step.schemaActionId,
258
- schemaTypeId: step.schemaTypeId,
259
249
  actionName: step.actionName,
260
250
  properties: step.properties,
261
251
  title: step.title,
@@ -264,7 +254,7 @@ class CreateCaseFromContactFlowBuilder {
264
254
  groups: step.groups,
265
255
  };
266
256
  });
267
- return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'CrmModule:Contact', actionName: 'CreateCaseFromContact', schemaActionId: '1ce09865-ead7-4ee5-8458-df4a1cbad5a0', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
257
+ return Object.assign(Object.assign(Object.assign({}, ((record === null || record === void 0 ? void 0 : record.id) && { id: record.id })), { entity: 'CrmModule:Contact', actionName: 'CreateCaseFromContact', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined }), this._options);
268
258
  }
269
259
  }
270
260
  exports.CreateCaseFromContactFlowBuilder = CreateCaseFromContactFlowBuilder;
@@ -422,36 +412,6 @@ class ContactRecord {
422
412
  }
423
413
  return this._pgContacts;
424
414
  }
425
- /**
426
- * Access linked PhoneNumber records
427
- * @remarks Available labels: Contact__PhoneNumber
428
- * @throws Error if called on a new (unsaved) record
429
- *
430
- * @example
431
- * ```typescript
432
- * // Get all linked PhoneNumber records
433
- * const items = await record.phoneNumbers.list();
434
- * const first = await record.phoneNumbers.first();
435
- *
436
- * // Filter by label
437
- * const specific = await record.phoneNumbers.first({ label: 'Contact__PhoneNumber' });
438
- * ```
439
- */
440
- get phoneNumbers() {
441
- var _a;
442
- if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
443
- throw new Error('Cannot access links on a new (unsaved) record');
444
- if (!this._phoneNumbers) {
445
- this._phoneNumbers = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
446
- sourceEntity: 'CrmModule:Contact',
447
- targetEntity: 'CrmModule:PhoneNumber',
448
- targetModuleName: 'CrmModule',
449
- targetEntityName: 'PhoneNumber',
450
- labels: ['Contact__PhoneNumber'],
451
- }, PhoneNumberRecord_1.PhoneNumberRecord);
452
- }
453
- return this._phoneNumbers;
454
- }
455
415
  /**
456
416
  * Access linked Note records
457
417
  * @remarks Available labels: Contact__Note
@@ -1246,42 +1206,6 @@ class ContactRecord {
1246
1206
  };
1247
1207
  return new ActionBuilder(this._provider, 'CrmModule', 'Contact', payload, () => { this._pendingLinks = []; });
1248
1208
  }
1249
- /**
1250
- * CreateContactFromBrsk
1251
- *
1252
- * Creates a new Contact record with the specified properties.
1253
- * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
1254
- *
1255
- * @param properties - The properties for the new record
1256
- * @param options - Optional settings
1257
- * @param options.type - Override the record type
1258
- * @param options.journeyId - Associate with a journey
1259
- * @param options.stageKey - Set initial pipeline stage
1260
- * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
1261
- *
1262
- * @example
1263
- * ```typescript
1264
- * // Create with properties
1265
- * const record = odinClient.contacts.new();
1266
- * await record.createContactFromBrsk({ ... }).execute();
1267
- *
1268
- * // Dry run (for debugging)
1269
- * const payload = record.createContactFromBrsk({ ... }).dryRun();
1270
- * ```
1271
- */
1272
- createContactFromBrsk(properties, options) {
1273
- var _a, _b;
1274
- const payload = {
1275
- entity: 'CrmModule:Contact',
1276
- type: (_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : (_b = this._record) === null || _b === void 0 ? void 0 : _b.type,
1277
- actionName: 'CreateContactFromBrsk',
1278
- properties: properties || {},
1279
- associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
1280
- journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
1281
- stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
1282
- };
1283
- return new ActionBuilder(this._provider, 'CrmModule', 'Contact', payload, () => { this._pendingLinks = []; });
1284
- }
1285
1209
  // ============================================
1286
1210
  // UPDATE ACTIONS (require existing record)
1287
1211
  // ============================================
@@ -1417,8 +1341,6 @@ ContactRecord.addressesLabels = ['Contact__Address'];
1417
1341
  ContactRecord.invoicesLabels = ['Invoice__Contact'];
1418
1342
  /** Valid labels for PgContact associations */
1419
1343
  ContactRecord.pgContactsLabels = ['PgContact__Contact'];
1420
- /** Valid labels for PhoneNumber associations */
1421
- ContactRecord.phoneNumbersLabels = ['Contact__PhoneNumber'];
1422
1344
  /** Valid labels for Note associations */
1423
1345
  ContactRecord.notesLabels = ['Contact__Note'];
1424
1346
  /** Valid labels for Activity associations */
@@ -153,9 +153,6 @@ class MoveCboToApprovedFlowBuilder {
153
153
  properties,
154
154
  id,
155
155
  entity: 'OrderModule:ContractBuyOut',
156
- schemaId: '19150483-5fd7-44f5-a61f-1530b081f4ca',
157
- schemaActionId: '10c4e64f-bb00-49cc-bc0e-5ae24206dc78',
158
- schemaTypeId: 'abcdcb11-71d4-4f69-8f58-4eaa1dc47888',
159
156
  type: 'DEFAULT',
160
157
  autoLinkParent: false,
161
158
  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 }))),
@@ -214,9 +211,6 @@ class MoveCboToApprovedFlowBuilder {
214
211
  return {
215
212
  entity: step.entity,
216
213
  type: step.type,
217
- schemaId: step.schemaId,
218
- schemaActionId: step.schemaActionId,
219
- schemaTypeId: step.schemaTypeId,
220
214
  actionName: step.actionName,
221
215
  properties: step.properties,
222
216
  title: step.title,
@@ -225,7 +219,7 @@ class MoveCboToApprovedFlowBuilder {
225
219
  groups: step.groups,
226
220
  };
227
221
  });
228
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveCboToApproved', schemaActionId: '3c56ef88-c800-4cba-9960-3810f9ce959e', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CreditBuyOutStageApproved' }, this._options);
222
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveCboToApproved', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CreditBuyOutStageApproved' }, this._options);
229
223
  }
230
224
  }
231
225
  exports.MoveCboToApprovedFlowBuilder = MoveCboToApprovedFlowBuilder;
@@ -267,9 +261,6 @@ class MoveCboToReceivedFlowBuilder {
267
261
  properties,
268
262
  id,
269
263
  entity: 'OrderModule:ContractBuyOut',
270
- schemaId: '19150483-5fd7-44f5-a61f-1530b081f4ca',
271
- schemaActionId: 'a91ed175-10bd-473d-b27c-caddb9d0079a',
272
- schemaTypeId: 'abcdcb11-71d4-4f69-8f58-4eaa1dc47888',
273
264
  type: 'DEFAULT',
274
265
  autoLinkParent: false,
275
266
  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 }))),
@@ -328,9 +319,6 @@ class MoveCboToReceivedFlowBuilder {
328
319
  return {
329
320
  entity: step.entity,
330
321
  type: step.type,
331
- schemaId: step.schemaId,
332
- schemaActionId: step.schemaActionId,
333
- schemaTypeId: step.schemaTypeId,
334
322
  actionName: step.actionName,
335
323
  properties: step.properties,
336
324
  title: step.title,
@@ -339,7 +327,7 @@ class MoveCboToReceivedFlowBuilder {
339
327
  groups: step.groups,
340
328
  };
341
329
  });
342
- return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveCboToReceived', schemaActionId: 'f015bd33-1bdf-43ca-853c-4ed4597cb01a', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CreditBuyOutStageReceived' }, this._options);
330
+ return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveCboToReceived', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CreditBuyOutStageReceived' }, this._options);
343
331
  }
344
332
  }
345
333
  exports.MoveCboToReceivedFlowBuilder = MoveCboToReceivedFlowBuilder;
@@ -24,6 +24,7 @@ import { IOdinProvider } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
24
24
  import { RecordLinkManager } from '@d19n/odin-sdk-generator/dist/record-link-manager';
25
25
  import { CrmDatasetProperties, AddressCrmDatasetProperties, ContactCrmDatasetProperties, LeadCrmDatasetProperties } from '../entities-v2/CrmDataset';
26
26
  import { AssignOwnerProperties } from '../actions-v2/AssignOwnerDto';
27
+ import { CreateAddressCrmDatasetProperties } from '../actions-v2/CreateAddressCrmDatasetDto';
27
28
  import { CrmDatasetCreateProperties } from '../actions-v2/CrmDatasetCreateDto';
28
29
  import { CrmDatasetDefaultUpdateProperties } from '../actions-v2/CrmDatasetDefaultUpdateDto';
29
30
  import { UpdateAddressDataSetProperties } from '../actions-v2/UpdateAddressDataSetDto';
@@ -322,6 +323,34 @@ export declare class CrmDatasetRecord<TProps = CrmDatasetProperties> {
322
323
  unlink(target: OdinRecord<any> | {
323
324
  id: string;
324
325
  } | string): Promise<void>;
326
+ /**
327
+ * CreateAddressCrmDataset
328
+ *
329
+ * Creates a new CrmDataset record with the specified properties.
330
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
331
+ *
332
+ * @remarks Record type: ADDRESS
333
+ *
334
+ * @param properties - The properties for the new record
335
+ * @param options - Optional settings
336
+ * @param options.journeyId - Associate with a journey
337
+ * @param options.stageKey - Set initial pipeline stage
338
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
339
+ *
340
+ * @example
341
+ * ```typescript
342
+ * // Create with properties
343
+ * const record = odinClient.crmDatasets.new();
344
+ * await record.createAddressCrmDataset({ ... }).execute();
345
+ *
346
+ * // Dry run (for debugging)
347
+ * const payload = record.createAddressCrmDataset({ ... }).dryRun();
348
+ * ```
349
+ */
350
+ createAddressCrmDataset(properties: CreateAddressCrmDatasetProperties, options?: {
351
+ journeyId?: string;
352
+ stageKey?: string;
353
+ }): ActionBuilder;
325
354
  /**
326
355
  * CrmDatasetCreate
327
356
  *
@@ -433,6 +433,42 @@ class CrmDatasetRecord {
433
433
  // ============================================
434
434
  // CREATE ACTIONS (no existing record required)
435
435
  // ============================================
436
+ /**
437
+ * CreateAddressCrmDataset
438
+ *
439
+ * Creates a new CrmDataset record with the specified properties.
440
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
441
+ *
442
+ * @remarks Record type: ADDRESS
443
+ *
444
+ * @param properties - The properties for the new record
445
+ * @param options - Optional settings
446
+ * @param options.journeyId - Associate with a journey
447
+ * @param options.stageKey - Set initial pipeline stage
448
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
449
+ *
450
+ * @example
451
+ * ```typescript
452
+ * // Create with properties
453
+ * const record = odinClient.crmDatasets.new();
454
+ * await record.createAddressCrmDataset({ ... }).execute();
455
+ *
456
+ * // Dry run (for debugging)
457
+ * const payload = record.createAddressCrmDataset({ ... }).dryRun();
458
+ * ```
459
+ */
460
+ createAddressCrmDataset(properties, options) {
461
+ const payload = {
462
+ entity: 'CrmModule:CrmDataset',
463
+ type: 'ADDRESS',
464
+ actionName: 'CreateAddressCrmDataset',
465
+ properties: properties || {},
466
+ associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
467
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
468
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
469
+ };
470
+ return new ActionBuilder(this._provider, 'CrmModule', 'CrmDataset', payload, () => { this._pendingLinks = []; });
471
+ }
436
472
  /**
437
473
  * CrmDatasetCreate
438
474
  *