@d19n/youfibre-odin-sdk 2.0.86 → 2.0.87

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 (28) hide show
  1. package/README.md +5 -5
  2. package/dist/actions-v2/CaseTransitionBlockedToEscalatedDto.d.ts +17 -157
  3. package/dist/actions-v2/CaseTransitionBlockedToEscalatedDto.js +21 -101
  4. package/dist/actions-v2/CaseTransitionEscalatedToEscalatedDto.d.ts +17 -157
  5. package/dist/actions-v2/CaseTransitionEscalatedToEscalatedDto.js +21 -101
  6. package/dist/actions-v2/CaseTransitionPendingAgentToEscalatedDto.d.ts +17 -157
  7. package/dist/actions-v2/CaseTransitionPendingAgentToEscalatedDto.js +21 -101
  8. package/dist/actions-v2/CaseTransitionPendingReplyToEscalatedDto.d.ts +17 -157
  9. package/dist/actions-v2/CaseTransitionPendingReplyToEscalatedDto.js +21 -101
  10. package/dist/actions-v2/CasteTransitionOpenToEscalatedDto.d.ts +17 -157
  11. package/dist/actions-v2/CasteTransitionOpenToEscalatedDto.js +21 -101
  12. package/dist/actions-v2/CreateContactDto.d.ts +1 -1
  13. package/dist/actions-v2/CreateLeadFromAddressDto.d.ts +1 -1
  14. package/dist/actions-v2/UpdateContactDto.d.ts +1 -1
  15. package/dist/actions-v2/UpdateInstallScheduleDto.d.ts +9 -10
  16. package/dist/actions-v2/UpdateLeadDto.d.ts +8 -1
  17. package/dist/entities-v2/Call.d.ts +46 -1
  18. package/dist/entities-v2/Call.js +31 -1
  19. package/dist/entities-v2/Contact.d.ts +9 -9
  20. package/dist/entities-v2/Contact.js +2 -2
  21. package/dist/entities-v2/Lead.d.ts +8 -1
  22. package/dist/entities-v2/Lead.js +2 -0
  23. package/dist/entities-v2/Order.d.ts +36 -32
  24. package/dist/entities-v2/Order.js +29 -25
  25. package/dist/records-v2/CaseRecord.d.ts +98 -188
  26. package/dist/records-v2/CaseRecord.js +123 -333
  27. package/dist/runner.js +16 -16
  28. package/package.json +26 -26
@@ -12,7 +12,7 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_ORDER_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_ORDER_CONTACT_IDENTITY_DELETED = exports.ROUTING_KEY_LINK_ORDER_CONTACT_IDENTITY_CREATED = exports.ROUTING_KEY_LINK_ORDER_APPOINTMENT_DELETED = exports.ROUTING_KEY_LINK_ORDER_APPOINTMENT_CREATED = exports.ROUTING_KEY_LINK_ORDER_CUSTOMER_DEVICE_ROUTER_DELETED = exports.ROUTING_KEY_LINK_ORDER_CUSTOMER_DEVICE_ROUTER_CREATED = exports.ROUTING_KEY_LINK_ORDER_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_ORDER_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_ORDER_ORDER_DELETED = exports.ROUTING_KEY_LINK_ORDER_ORDER_CREATED = exports.ROUTING_KEY_LINK_ORDER_FILE_DELETED = exports.ROUTING_KEY_LINK_ORDER_FILE_CREATED = exports.ROUTING_KEY_LINK_ORDER_ORDER_ITEM_DELETED = exports.ROUTING_KEY_LINK_ORDER_ORDER_ITEM_CREATED = exports.ROUTING_KEY_LINK_ORDER_BILLING_ADJUSTMENT_DELETED = exports.ROUTING_KEY_LINK_ORDER_BILLING_ADJUSTMENT_CREATED = exports.ROUTING_KEY_LINK_ORDER_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_ORDER_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_ORDER_DISCOUNT_DELETED = exports.ROUTING_KEY_LINK_ORDER_DISCOUNT_CREATED = exports.ROUTING_KEY_LINK_ORDER_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_ORDER_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_ORDER_CONTACT_DELETED = exports.ROUTING_KEY_LINK_ORDER_CONTACT_CREATED = exports.ROUTING_KEY_LINK_ORDER_PHONE_NUMBER_DELETED = exports.ROUTING_KEY_LINK_ORDER_PHONE_NUMBER_CREATED = exports.ROUTING_KEY_LINK_ORDER_NOTE_DELETED = exports.ROUTING_KEY_LINK_ORDER_NOTE_CREATED = exports.ROUTING_KEY_ORDER_DEFAULT_DELETED = exports.ROUTING_KEY_ORDER_DEFAULT_UPDATED = exports.ROUTING_KEY_ORDER_DEFAULT_CREATED = exports.ROUTING_KEY_ORDER_DELETED = exports.ROUTING_KEY_ORDER_UPDATED = exports.ROUTING_KEY_ORDER_CREATED = exports.Order = exports.OrderPropertyKeys = exports.OrderProvider = exports.OrderBillingTerms = exports.OrderDeactivationReason = exports.OrderDiscountType = exports.OrderWithholdCommissionReason = exports.OrderDiscountUnit = exports.OrderTrialUnit = exports.OrderActivationStatus = exports.OrderContractType = exports.OrderCurrencyCode = exports.DefaultOrderStageKeys = exports.DefaultOrderStageNames = exports.OrderEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_ORDER_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_ORDER_CONTACT_IDENTITY_DELETED = exports.ROUTING_KEY_LINK_ORDER_CONTACT_IDENTITY_CREATED = exports.ROUTING_KEY_LINK_ORDER_APPOINTMENT_DELETED = exports.ROUTING_KEY_LINK_ORDER_APPOINTMENT_CREATED = exports.ROUTING_KEY_LINK_ORDER_CUSTOMER_DEVICE_ROUTER_DELETED = exports.ROUTING_KEY_LINK_ORDER_CUSTOMER_DEVICE_ROUTER_CREATED = exports.ROUTING_KEY_LINK_ORDER_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_ORDER_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_ORDER_ORDER_DELETED = exports.ROUTING_KEY_LINK_ORDER_ORDER_CREATED = exports.ROUTING_KEY_LINK_ORDER_FILE_DELETED = exports.ROUTING_KEY_LINK_ORDER_FILE_CREATED = exports.ROUTING_KEY_LINK_ORDER_ORDER_ITEM_DELETED = exports.ROUTING_KEY_LINK_ORDER_ORDER_ITEM_CREATED = exports.ROUTING_KEY_LINK_ORDER_BILLING_ADJUSTMENT_DELETED = exports.ROUTING_KEY_LINK_ORDER_BILLING_ADJUSTMENT_CREATED = exports.ROUTING_KEY_LINK_ORDER_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_ORDER_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_ORDER_DISCOUNT_DELETED = exports.ROUTING_KEY_LINK_ORDER_DISCOUNT_CREATED = exports.ROUTING_KEY_LINK_ORDER_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_ORDER_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_ORDER_CONTACT_DELETED = exports.ROUTING_KEY_LINK_ORDER_CONTACT_CREATED = exports.ROUTING_KEY_LINK_ORDER_PHONE_NUMBER_DELETED = exports.ROUTING_KEY_LINK_ORDER_PHONE_NUMBER_CREATED = exports.ROUTING_KEY_LINK_ORDER_NOTE_DELETED = exports.ROUTING_KEY_LINK_ORDER_NOTE_CREATED = exports.ROUTING_KEY_ORDER_DEFAULT_DELETED = exports.ROUTING_KEY_ORDER_DEFAULT_UPDATED = exports.ROUTING_KEY_ORDER_DEFAULT_CREATED = exports.ROUTING_KEY_ORDER_DELETED = exports.ROUTING_KEY_ORDER_UPDATED = exports.ROUTING_KEY_ORDER_CREATED = exports.Order = exports.OrderPropertyKeys = exports.OrderActivationStatus = exports.OrderProvider = exports.OrderBillingTerms = exports.OrderDeactivationReason = exports.OrderDiscountType = exports.OrderWithholdCommissionReason = exports.OrderDiscountUnit = exports.OrderTrialUnit = exports.OrderContractType = exports.OrderCurrencyCode = exports.DefaultOrderStageKeys = exports.DefaultOrderStageNames = exports.OrderEntityTypes = void 0;
16
16
  exports.ROUTING_KEY_LINK_ORDER_INVOICE_DELETED = exports.ROUTING_KEY_LINK_ORDER_INVOICE_CREATED = exports.ROUTING_KEY_LINK_ORDER_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_ORDER_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_LINK_ORDER_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_ORDER_ACTIVITY_CREATED = exports.ROUTING_KEY_LINK_ORDER_ORDER_CHECK_DELETED = exports.ROUTING_KEY_LINK_ORDER_ORDER_CHECK_CREATED = exports.ROUTING_KEY_LINK_ORDER_CUSTOMER_DEVICE_ONT_DELETED = exports.ROUTING_KEY_LINK_ORDER_CUSTOMER_DEVICE_ONT_CREATED = exports.ROUTING_KEY_LINK_ORDER_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_ORDER_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_ORDER_VISIT_DELETED = exports.ROUTING_KEY_LINK_ORDER_VISIT_CREATED = exports.ROUTING_KEY_LINK_ORDER_COMMISSION_DELETED = exports.ROUTING_KEY_LINK_ORDER_COMMISSION_CREATED = exports.ROUTING_KEY_LINK_ORDER_ORDER_KCI_DELETED = exports.ROUTING_KEY_LINK_ORDER_ORDER_KCI_CREATED = exports.ROUTING_KEY_LINK_ORDER_REFERRAL_DELETED = exports.ROUTING_KEY_LINK_ORDER_REFERRAL_CREATED = exports.ROUTING_KEY_LINK_ORDER_CONTRACT_BUY_OUT_DELETED = void 0;
17
17
  const core_1 = require("@d19n/odin-types/dist/core");
18
18
  /**
@@ -113,28 +113,6 @@ var OrderContractType;
113
113
  (function (OrderContractType) {
114
114
  OrderContractType["NO_CONTRACT"] = "NONE";
115
115
  })(OrderContractType = exports.OrderContractType || (exports.OrderContractType = {}));
116
- /**
117
- * Valid values for Order.ActivationStatus
118
- *
119
- * status of the order (must be activated for billing) (Sales - Order)
120
- *
121
- * @remarks Available options:
122
- * - `APPROVAL_PENDING` - Approval Pending
123
- * - `CLOSED` - Closed
124
- * - `DRAFT` - Draft
125
- * - `OPEN` - Open
126
- * - `PARTIAL` - Partial
127
- * - `PROCESSING` - Processing
128
- */
129
- var OrderActivationStatus;
130
- (function (OrderActivationStatus) {
131
- OrderActivationStatus["APPROVAL_PENDING"] = "APPROVAL_PENDING";
132
- OrderActivationStatus["CLOSED"] = "CLOSED";
133
- OrderActivationStatus["DRAFT"] = "DRAFT";
134
- OrderActivationStatus["OPEN"] = "OPEN";
135
- OrderActivationStatus["PARTIAL"] = "PARTIAL";
136
- OrderActivationStatus["PROCESSING"] = "PROCESSING";
137
- })(OrderActivationStatus = exports.OrderActivationStatus || (exports.OrderActivationStatus = {}));
138
116
  /**
139
117
  * Valid values for Order.TrialUnit
140
118
  *
@@ -255,6 +233,32 @@ var OrderProvider;
255
233
  OrderProvider["OPENREACH"] = "OPENREACH";
256
234
  OrderProvider["PY_OMNI"] = "PYOMNI";
257
235
  })(OrderProvider = exports.OrderProvider || (exports.OrderProvider = {}));
236
+ /**
237
+ * Valid values for Order.ActivationStatus
238
+ *
239
+ * status of the order (must be activated for billing) (Sales - Order)
240
+ *
241
+ * @remarks Available options:
242
+ * - `ACTIVE` - Active
243
+ * - `BLOCKED` - Blocked
244
+ * - `CANCELLED` - Cancelled
245
+ * - `DRAFT` - Draft
246
+ * - `EXPIRED` - Expired
247
+ * - `PENDING_FULFILMENT` - Pending Fulfillment
248
+ * - `PROVISIONING` - Provisioning
249
+ * - `SUSPENDED` - Suspended
250
+ */
251
+ var OrderActivationStatus;
252
+ (function (OrderActivationStatus) {
253
+ OrderActivationStatus["ACTIVE"] = "ACTIVE";
254
+ OrderActivationStatus["BLOCKED"] = "BLOCKED";
255
+ OrderActivationStatus["CANCELLED"] = "CANCELLED";
256
+ OrderActivationStatus["DRAFT"] = "DRAFT";
257
+ OrderActivationStatus["EXPIRED"] = "EXPIRED";
258
+ OrderActivationStatus["PENDING_FULFILLMENT"] = "PENDING_FULFILMENT";
259
+ OrderActivationStatus["PROVISIONING"] = "PROVISIONING";
260
+ OrderActivationStatus["SUSPENDED"] = "SUSPENDED";
261
+ })(OrderActivationStatus = exports.OrderActivationStatus || (exports.OrderActivationStatus = {}));
258
262
  /**
259
263
  * Property keys for Order
260
264
  * Use these constants instead of string literals for type safety
@@ -279,8 +283,6 @@ var OrderPropertyKeys;
279
283
  OrderPropertyKeys["Umprn"] = "UMPRN";
280
284
  /** Affiliate code used when order was placed */
281
285
  OrderPropertyKeys["AffiliateCode"] = "AffiliateCode";
282
- /** status of the order (must be activated for billing) (Sales - Order) */
283
- OrderPropertyKeys["ActivationStatus"] = "ActivationStatus";
284
286
  /** Pending Amco Replacement WorkOrder */
285
287
  OrderPropertyKeys["PendingAmcoReplacement"] = "PendingAmcoReplacement";
286
288
  /** BrskOrderStatus */
@@ -443,6 +445,8 @@ var OrderPropertyKeys;
443
445
  OrderPropertyKeys["AklamioCashbackVerificationDate"] = "AklamioCashbackVerificationDate";
444
446
  /** When the Cashback was approved (Sales - Order) */
445
447
  OrderPropertyKeys["CashbackApprovalDate"] = "CashbackApprovalDate";
448
+ /** status of the order (must be activated for billing) (Sales - Order) */
449
+ OrderPropertyKeys["ActivationStatus"] = "ActivationStatus";
446
450
  })(OrderPropertyKeys = exports.OrderPropertyKeys || (exports.OrderPropertyKeys = {}));
447
451
  /**
448
452
  * Order entity from OrderModule
@@ -29,14 +29,14 @@ import { AssignCaseProperties } from '../actions-v2/AssignCaseDto';
29
29
  import { CreateNoteForCaseAssignmentProperties } from '../actions-v2/AssignCaseWithNoteFlowDto';
30
30
  import { MoveCaseToBlockedActionProperties } from '../actions-v2/CasedefaultstageblockedDto';
31
31
  import { EscalateCaseActionProperties } from '../actions-v2/CaseDefaultStageEscalatedDto';
32
- import { EscalateCaseActionBrskProperties } from '../actions-v2/CaseTransitionBlockedToEscalatedDto';
33
- import { EscalateCaseActionYfProperties } from '../actions-v2/CaseTransitionBlockedToEscalatedDto';
34
- import { EscalateCaseActionYfcsProperties } from '../actions-v2/CaseTransitionBlockedToEscalatedDto';
35
32
  import { ChangeCaseChannelProperties } from '../actions-v2/ChangeCaseChannelDto';
36
33
  import { CreateCaseProperties } from '../actions-v2/CreateCaseDto';
37
34
  import { CreateCaseFromCasesProperties } from '../actions-v2/CreateCaseFromCasesDto';
38
35
  import { CreateCaseWithDpaProperties } from '../actions-v2/CreateCaseWithDpaDto';
39
36
  import { EditCaseFormProperties } from '../actions-v2/EditCaseFormDto';
37
+ import { EscalateCaseActionBrskProperties } from '../actions-v2/EscalateCaseActionBrskDto';
38
+ import { EscalateCaseActionYfcsProperties } from '../actions-v2/EscalateCaseActionYfcsDto';
39
+ import { EscalateCaseActionYfProperties } from '../actions-v2/EscalateCaseActionYfDto';
40
40
  import { ExceptionInputProperties } from '../actions-v2/ExceptionInputDto';
41
41
  import { MarkCaseClosedProperties } from '../actions-v2/MarkCaseClosedDto';
42
42
  import { MarkCaseResolvedProperties } from '../actions-v2/MarkCaseResolvedDto';
@@ -358,29 +358,13 @@ export declare class CaseTransitionBlockedToEscalatedFlowBuilder {
358
358
  */
359
359
  addGroup(group: string): this;
360
360
  /**
361
- * Add EscalateCaseActionBrsk step to the flow
362
- * @param id - ID of the record to update
363
- * @param properties - Properties for this step
364
- * @param options - Optional step settings
365
- * @returns this (for method chaining)
366
- */
367
- escalateCaseActionBrsk(id: string, properties: EscalateCaseActionBrskProperties, options?: CaseTransitionBlockedToEscalatedFlowBuilderStepOptions): this;
368
- /**
369
- * Add EscalateCaseActionYF step to the flow
370
- * @param id - ID of the record to update
371
- * @param properties - Properties for this step
372
- * @param options - Optional step settings
373
- * @returns this (for method chaining)
374
- */
375
- escalateCaseActionYf(id: string, properties: EscalateCaseActionYfProperties, options?: CaseTransitionBlockedToEscalatedFlowBuilderStepOptions): this;
376
- /**
377
- * Add EscalateCaseActionYFCS step to the flow
361
+ * Add EscalateCaseAction step to the flow
378
362
  * @param id - ID of the record to update
379
363
  * @param properties - Properties for this step
380
364
  * @param options - Optional step settings
381
365
  * @returns this (for method chaining)
382
366
  */
383
- escalateCaseActionYfcs(id: string, properties: EscalateCaseActionYfcsProperties, options?: CaseTransitionBlockedToEscalatedFlowBuilderStepOptions): this;
367
+ escalateCaseAction(id: string, properties: EscalateCaseActionProperties, options?: CaseTransitionBlockedToEscalatedFlowBuilderStepOptions): this;
384
368
  /**
385
369
  * Execute the flow
386
370
  * @returns The result from the API
@@ -498,29 +482,13 @@ export declare class CaseTransitionEscalatedToEscalatedFlowBuilder {
498
482
  */
499
483
  addGroup(group: string): this;
500
484
  /**
501
- * Add EscalateCaseActionBrsk step to the flow
502
- * @param id - ID of the record to update
503
- * @param properties - Properties for this step
504
- * @param options - Optional step settings
505
- * @returns this (for method chaining)
506
- */
507
- escalateCaseActionBrsk(id: string, properties: EscalateCaseActionBrskProperties, options?: CaseTransitionEscalatedToEscalatedFlowBuilderStepOptions): this;
508
- /**
509
- * Add EscalateCaseActionYF step to the flow
510
- * @param id - ID of the record to update
511
- * @param properties - Properties for this step
512
- * @param options - Optional step settings
513
- * @returns this (for method chaining)
514
- */
515
- escalateCaseActionYf(id: string, properties: EscalateCaseActionYfProperties, options?: CaseTransitionEscalatedToEscalatedFlowBuilderStepOptions): this;
516
- /**
517
- * Add EscalateCaseActionYFCS step to the flow
485
+ * Add EscalateCaseAction step to the flow
518
486
  * @param id - ID of the record to update
519
487
  * @param properties - Properties for this step
520
488
  * @param options - Optional step settings
521
489
  * @returns this (for method chaining)
522
490
  */
523
- escalateCaseActionYfcs(id: string, properties: EscalateCaseActionYfcsProperties, options?: CaseTransitionEscalatedToEscalatedFlowBuilderStepOptions): this;
491
+ escalateCaseAction(id: string, properties: EscalateCaseActionProperties, options?: CaseTransitionEscalatedToEscalatedFlowBuilderStepOptions): this;
524
492
  /**
525
493
  * Execute the flow
526
494
  * @returns The result from the API
@@ -700,29 +668,13 @@ export declare class CaseTransitionPendingAgentToEscalatedFlowBuilder {
700
668
  */
701
669
  addGroup(group: string): this;
702
670
  /**
703
- * Add EscalateCaseActionBrsk step to the flow
704
- * @param id - ID of the record to update
705
- * @param properties - Properties for this step
706
- * @param options - Optional step settings
707
- * @returns this (for method chaining)
708
- */
709
- escalateCaseActionBrsk(id: string, properties: EscalateCaseActionBrskProperties, options?: CaseTransitionPendingAgentToEscalatedFlowBuilderStepOptions): this;
710
- /**
711
- * Add EscalateCaseActionYF step to the flow
712
- * @param id - ID of the record to update
713
- * @param properties - Properties for this step
714
- * @param options - Optional step settings
715
- * @returns this (for method chaining)
716
- */
717
- escalateCaseActionYf(id: string, properties: EscalateCaseActionYfProperties, options?: CaseTransitionPendingAgentToEscalatedFlowBuilderStepOptions): this;
718
- /**
719
- * Add EscalateCaseActionYFCS step to the flow
671
+ * Add EscalateCaseAction step to the flow
720
672
  * @param id - ID of the record to update
721
673
  * @param properties - Properties for this step
722
674
  * @param options - Optional step settings
723
675
  * @returns this (for method chaining)
724
676
  */
725
- escalateCaseActionYfcs(id: string, properties: EscalateCaseActionYfcsProperties, options?: CaseTransitionPendingAgentToEscalatedFlowBuilderStepOptions): this;
677
+ escalateCaseAction(id: string, properties: EscalateCaseActionProperties, options?: CaseTransitionPendingAgentToEscalatedFlowBuilderStepOptions): this;
726
678
  /**
727
679
  * Add CreateNoteForCaseAssignment step to the flow
728
680
  * @param properties - Properties for this step
@@ -847,29 +799,13 @@ export declare class CaseTransitionPendingReplyToEscalatedFlowBuilder {
847
799
  */
848
800
  addGroup(group: string): this;
849
801
  /**
850
- * Add EscalateCaseActionBrsk step to the flow
851
- * @param id - ID of the record to update
852
- * @param properties - Properties for this step
853
- * @param options - Optional step settings
854
- * @returns this (for method chaining)
855
- */
856
- escalateCaseActionBrsk(id: string, properties: EscalateCaseActionBrskProperties, options?: CaseTransitionPendingReplyToEscalatedFlowBuilderStepOptions): this;
857
- /**
858
- * Add EscalateCaseActionYF step to the flow
859
- * @param id - ID of the record to update
860
- * @param properties - Properties for this step
861
- * @param options - Optional step settings
862
- * @returns this (for method chaining)
863
- */
864
- escalateCaseActionYf(id: string, properties: EscalateCaseActionYfProperties, options?: CaseTransitionPendingReplyToEscalatedFlowBuilderStepOptions): this;
865
- /**
866
- * Add EscalateCaseActionYFCS step to the flow
802
+ * Add EscalateCaseAction step to the flow
867
803
  * @param id - ID of the record to update
868
804
  * @param properties - Properties for this step
869
805
  * @param options - Optional step settings
870
806
  * @returns this (for method chaining)
871
807
  */
872
- escalateCaseActionYfcs(id: string, properties: EscalateCaseActionYfcsProperties, options?: CaseTransitionPendingReplyToEscalatedFlowBuilderStepOptions): this;
808
+ escalateCaseAction(id: string, properties: EscalateCaseActionProperties, options?: CaseTransitionPendingReplyToEscalatedFlowBuilderStepOptions): this;
873
809
  /**
874
810
  * Add CreateNoteForCaseAssignment step to the flow
875
811
  * @param properties - Properties for this step
@@ -1001,29 +937,13 @@ export declare class CasteTransitionOpenToEscalatedFlowBuilder {
1001
937
  */
1002
938
  addGroup(group: string): this;
1003
939
  /**
1004
- * Add EscalateCaseActionBrsk step to the flow
1005
- * @param id - ID of the record to update
1006
- * @param properties - Properties for this step
1007
- * @param options - Optional step settings
1008
- * @returns this (for method chaining)
1009
- */
1010
- escalateCaseActionBrsk(id: string, properties: EscalateCaseActionBrskProperties, options?: CasteTransitionOpenToEscalatedFlowBuilderStepOptions): this;
1011
- /**
1012
- * Add EscalateCaseActionYF step to the flow
1013
- * @param id - ID of the record to update
1014
- * @param properties - Properties for this step
1015
- * @param options - Optional step settings
1016
- * @returns this (for method chaining)
1017
- */
1018
- escalateCaseActionYf(id: string, properties: EscalateCaseActionYfProperties, options?: CasteTransitionOpenToEscalatedFlowBuilderStepOptions): this;
1019
- /**
1020
- * Add EscalateCaseActionYFCS step to the flow
940
+ * Add EscalateCaseAction step to the flow
1021
941
  * @param id - ID of the record to update
1022
942
  * @param properties - Properties for this step
1023
943
  * @param options - Optional step settings
1024
944
  * @returns this (for method chaining)
1025
945
  */
1026
- escalateCaseActionYfcs(id: string, properties: EscalateCaseActionYfcsProperties, options?: CasteTransitionOpenToEscalatedFlowBuilderStepOptions): this;
946
+ escalateCaseAction(id: string, properties: EscalateCaseActionProperties, options?: CasteTransitionOpenToEscalatedFlowBuilderStepOptions): this;
1027
947
  /**
1028
948
  * Add CreateNoteForCaseAssignment step to the flow
1029
949
  * @param properties - Properties for this step
@@ -2048,86 +1968,6 @@ export declare class CaseRecord<TProps = CaseProperties> {
2048
1968
  caseDefaultStageSolved(options?: {
2049
1969
  journeyId?: string;
2050
1970
  }): ActionBuilder;
2051
- /**
2052
- * EscalateCaseActionBrsk
2053
- *
2054
- * Updates this Case record with the specified properties.
2055
- * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
2056
- *
2057
- * @param properties - Required properties for this action
2058
- * @param options - Optional settings
2059
- * @param options.journeyId - Associate with a journey
2060
- * @param options.stageKey - Transition to pipeline stage
2061
- * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
2062
- * @throws Error if called on a new (unsaved) record
2063
- *
2064
- * @example
2065
- * ```typescript
2066
- * const record = await odinClient.cases.get(id);
2067
- * await record.escalateCaseActionBrsk({ ... }).execute();
2068
- *
2069
- * // Dry run (for debugging)
2070
- * const payload = record.escalateCaseActionBrsk({ ... }).dryRun();
2071
- * ```
2072
- */
2073
- escalateCaseActionBrsk(properties: EscalateCaseActionBrskProperties, options?: {
2074
- journeyId?: string;
2075
- stageKey?: string;
2076
- }): ActionBuilder;
2077
- /**
2078
- * EscalateCaseActionYF
2079
- *
2080
- * Updates this Case record.
2081
- * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
2082
- *
2083
- * @param propertiesOrOptions - Properties to update, or options object
2084
- * @param options - Optional settings (journeyId, stageKey)
2085
- * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
2086
- * @throws Error if called on a new (unsaved) record
2087
- *
2088
- * @example
2089
- * ```typescript
2090
- * const record = await odinClient.cases.get(id);
2091
- * await record.escalateCaseActionYf({ ... }).execute();
2092
- *
2093
- * // Dry run (for debugging)
2094
- * const payload = record.escalateCaseActionYf({ ... }).dryRun();
2095
- * ```
2096
- */
2097
- escalateCaseActionYf(propertiesOrOptions?: EscalateCaseActionYfProperties | {
2098
- journeyId?: string;
2099
- stageKey?: string;
2100
- }, options?: {
2101
- journeyId?: string;
2102
- stageKey?: string;
2103
- }): ActionBuilder;
2104
- /**
2105
- * EscalateCaseActionYFCS
2106
- *
2107
- * Updates this Case record.
2108
- * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
2109
- *
2110
- * @param propertiesOrOptions - Properties to update, or options object
2111
- * @param options - Optional settings (journeyId, stageKey)
2112
- * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
2113
- * @throws Error if called on a new (unsaved) record
2114
- *
2115
- * @example
2116
- * ```typescript
2117
- * const record = await odinClient.cases.get(id);
2118
- * await record.escalateCaseActionYfcs({ ... }).execute();
2119
- *
2120
- * // Dry run (for debugging)
2121
- * const payload = record.escalateCaseActionYfcs({ ... }).dryRun();
2122
- * ```
2123
- */
2124
- escalateCaseActionYfcs(propertiesOrOptions?: EscalateCaseActionYfcsProperties | {
2125
- journeyId?: string;
2126
- stageKey?: string;
2127
- }, options?: {
2128
- journeyId?: string;
2129
- stageKey?: string;
2130
- }): ActionBuilder;
2131
1971
  /**
2132
1972
  * CaseTransitionBlockedToEscalated
2133
1973
  *
@@ -2145,9 +1985,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
2145
1985
  * ```typescript
2146
1986
  * const record = await odinClient.cases.get(id);
2147
1987
  * await record.caseTransitionBlockedToEscalated()
2148
- * .escalateCaseActionBrsk(recordId, { ... })
2149
- * .escalateCaseActionYf(recordId, { ... })
2150
- * .escalateCaseActionYfcs(recordId, { ... })
1988
+ * .escalateCaseAction(recordId, { ... })
2151
1989
  * .execute();
2152
1990
  * ```
2153
1991
  */
@@ -2195,9 +2033,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
2195
2033
  * ```typescript
2196
2034
  * const record = await odinClient.cases.get(id);
2197
2035
  * await record.caseTransitionEscalatedToEscalated()
2198
- * .escalateCaseActionBrsk(recordId, { ... })
2199
- * .escalateCaseActionYf(recordId, { ... })
2200
- * .escalateCaseActionYfcs(recordId, { ... })
2036
+ * .escalateCaseAction(recordId, { ... })
2201
2037
  * .execute();
2202
2038
  * ```
2203
2039
  */
@@ -2269,9 +2105,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
2269
2105
  * ```typescript
2270
2106
  * const record = await odinClient.cases.get(id);
2271
2107
  * await record.caseTransitionPendingAgentToEscalated()
2272
- * .escalateCaseActionBrsk(recordId, { ... })
2273
- * .escalateCaseActionYf(recordId, { ... })
2274
- * .escalateCaseActionYfcs(recordId, { ... })
2108
+ * .escalateCaseAction(recordId, { ... })
2275
2109
  * .createNoteForCaseAssignment({ ... })
2276
2110
  * .execute();
2277
2111
  * ```
@@ -2320,9 +2154,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
2320
2154
  * ```typescript
2321
2155
  * const record = await odinClient.cases.get(id);
2322
2156
  * await record.caseTransitionPendingReplyToEscalated()
2323
- * .escalateCaseActionBrsk(recordId, { ... })
2324
- * .escalateCaseActionYf(recordId, { ... })
2325
- * .escalateCaseActionYfcs(recordId, { ... })
2157
+ * .escalateCaseAction(recordId, { ... })
2326
2158
  * .createNoteForCaseAssignment({ ... })
2327
2159
  * .execute();
2328
2160
  * ```
@@ -2372,9 +2204,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
2372
2204
  * ```typescript
2373
2205
  * const record = await odinClient.cases.get(id);
2374
2206
  * await record.casteTransitionOpenToEscalated()
2375
- * .escalateCaseActionBrsk(recordId, { ... })
2376
- * .escalateCaseActionYf(recordId, { ... })
2377
- * .escalateCaseActionYfcs(recordId, { ... })
2207
+ * .escalateCaseAction(recordId, { ... })
2378
2208
  * .createNoteForCaseAssignment({ ... })
2379
2209
  * .execute();
2380
2210
  * ```
@@ -2436,6 +2266,86 @@ export declare class CaseRecord<TProps = CaseProperties> {
2436
2266
  journeyId?: string;
2437
2267
  stageKey?: string;
2438
2268
  }): ActionBuilder;
2269
+ /**
2270
+ * EscalateCaseActionBrsk
2271
+ *
2272
+ * Updates this Case record with the specified properties.
2273
+ * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
2274
+ *
2275
+ * @param properties - Required properties for this action
2276
+ * @param options - Optional settings
2277
+ * @param options.journeyId - Associate with a journey
2278
+ * @param options.stageKey - Transition to pipeline stage
2279
+ * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
2280
+ * @throws Error if called on a new (unsaved) record
2281
+ *
2282
+ * @example
2283
+ * ```typescript
2284
+ * const record = await odinClient.cases.get(id);
2285
+ * await record.escalateCaseActionBrsk({ ... }).execute();
2286
+ *
2287
+ * // Dry run (for debugging)
2288
+ * const payload = record.escalateCaseActionBrsk({ ... }).dryRun();
2289
+ * ```
2290
+ */
2291
+ escalateCaseActionBrsk(properties: EscalateCaseActionBrskProperties, options?: {
2292
+ journeyId?: string;
2293
+ stageKey?: string;
2294
+ }): ActionBuilder;
2295
+ /**
2296
+ * EscalateCaseActionYFCS
2297
+ *
2298
+ * Updates this Case record.
2299
+ * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
2300
+ *
2301
+ * @param propertiesOrOptions - Properties to update, or options object
2302
+ * @param options - Optional settings (journeyId, stageKey)
2303
+ * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
2304
+ * @throws Error if called on a new (unsaved) record
2305
+ *
2306
+ * @example
2307
+ * ```typescript
2308
+ * const record = await odinClient.cases.get(id);
2309
+ * await record.escalateCaseActionYfcs({ ... }).execute();
2310
+ *
2311
+ * // Dry run (for debugging)
2312
+ * const payload = record.escalateCaseActionYfcs({ ... }).dryRun();
2313
+ * ```
2314
+ */
2315
+ escalateCaseActionYfcs(propertiesOrOptions?: EscalateCaseActionYfcsProperties | {
2316
+ journeyId?: string;
2317
+ stageKey?: string;
2318
+ }, options?: {
2319
+ journeyId?: string;
2320
+ stageKey?: string;
2321
+ }): ActionBuilder;
2322
+ /**
2323
+ * EscalateCaseActionYF
2324
+ *
2325
+ * Updates this Case record.
2326
+ * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
2327
+ *
2328
+ * @param propertiesOrOptions - Properties to update, or options object
2329
+ * @param options - Optional settings (journeyId, stageKey)
2330
+ * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
2331
+ * @throws Error if called on a new (unsaved) record
2332
+ *
2333
+ * @example
2334
+ * ```typescript
2335
+ * const record = await odinClient.cases.get(id);
2336
+ * await record.escalateCaseActionYf({ ... }).execute();
2337
+ *
2338
+ * // Dry run (for debugging)
2339
+ * const payload = record.escalateCaseActionYf({ ... }).dryRun();
2340
+ * ```
2341
+ */
2342
+ escalateCaseActionYf(propertiesOrOptions?: EscalateCaseActionYfProperties | {
2343
+ journeyId?: string;
2344
+ stageKey?: string;
2345
+ }, options?: {
2346
+ journeyId?: string;
2347
+ stageKey?: string;
2348
+ }): ActionBuilder;
2439
2349
  /**
2440
2350
  * EscalateCaseTransition
2441
2351
  *