@d19n/youfibre-odin-sdk 2.0.203 → 2.0.206

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 (30) hide show
  1. package/README.md +24 -10
  2. package/dist/actions-v2/CreateCallRecordingEventDto.d.ts +116 -0
  3. package/dist/actions-v2/CreateCallRecordingEventDto.js +54 -0
  4. package/dist/actions-v2/MovePgPaymentMethodToCreatedDto.d.ts +70 -0
  5. package/dist/actions-v2/MovePgPaymentMethodToCreatedDto.js +62 -0
  6. package/dist/actions-v2/MovePgPaymentMethodToReallocatingDto.d.ts +70 -0
  7. package/dist/actions-v2/MovePgPaymentMethodToReallocatingDto.js +62 -0
  8. package/dist/actions-v2/MovePgTransactionChargeToReallocatingDto.d.ts +70 -0
  9. package/dist/actions-v2/MovePgTransactionChargeToReallocatingDto.js +62 -0
  10. package/dist/actions-v2/MovePgTransactionRefundToReallocatingDto.d.ts +70 -0
  11. package/dist/actions-v2/MovePgTransactionRefundToReallocatingDto.js +62 -0
  12. package/dist/actions-v2/UpdateCallRecordingDetailsDto.d.ts +89 -0
  13. package/dist/actions-v2/UpdateCallRecordingDetailsDto.js +56 -0
  14. package/dist/entities-v2/PgPaymentMethod.d.ts +20 -16
  15. package/dist/entities-v2/PgPaymentMethod.js +8 -4
  16. package/dist/entities-v2/PgTransaction.d.ts +12 -4
  17. package/dist/entities-v2/PgTransaction.js +8 -0
  18. package/dist/entities-v2/TwilioCallEvent.d.ts +5 -3
  19. package/dist/entities-v2/TwilioCallEvent.js +4 -2
  20. package/dist/records-v2/CallRecord.d.ts +27 -0
  21. package/dist/records-v2/CallRecord.js +29 -0
  22. package/dist/records-v2/PgPaymentMethodRecord.d.ts +50 -0
  23. package/dist/records-v2/PgPaymentMethodRecord.js +58 -0
  24. package/dist/records-v2/PgTransactionRecord.d.ts +50 -0
  25. package/dist/records-v2/PgTransactionRecord.js +58 -0
  26. package/dist/records-v2/TwilioCallEventRecord.d.ts +29 -0
  27. package/dist/records-v2/TwilioCallEventRecord.js +36 -0
  28. package/dist/records-v2/index.d.ts +1 -1
  29. package/dist/records-v2/index.js +5 -5
  30. package/package.json +1 -1
package/README.md CHANGED
@@ -354,7 +354,7 @@ This SDK includes **166** entities across **12** modules.
354
354
 
355
355
  ## Actions
356
356
 
357
- This SDK includes **686** actions.
357
+ This SDK includes **692** actions.
358
358
 
359
359
  ### Action Types
360
360
 
@@ -1267,6 +1267,16 @@ This SDK includes **686** actions.
1267
1267
  | `UpdateMobileProductAction` | UPDATE | k1.t-hEOJjsDb.ProductModule.Product.Update.UpdateMobileProductAction |
1268
1268
  | `UpdateTelevisionProductAction` | UPDATE | k1.t-hEOJjsDb.ProductModule.Product.Update.UpdateTelevisionProductAction |
1269
1269
 
1270
+ #### TwilioCallEvent
1271
+
1272
+ | Action | Type | Event |
1273
+ |--------|------|-------|
1274
+ | `CreateCallRecordingEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent |
1275
+ | `CreateInboundCallEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateInboundCallEvent |
1276
+ | `CreateOutboundCallEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateOutboundCallEvent |
1277
+ | `CreateVoiceInsightsEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateVoiceInsightsEvent |
1278
+ | `UpdateCallEventAfterProcessing` | UPDATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Update.UpdateCallEventAfterProcessing |
1279
+
1270
1280
  #### CallTransfer
1271
1281
 
1272
1282
  | Action | Type | Event |
@@ -1423,17 +1433,9 @@ This SDK includes **686** actions.
1423
1433
  | `UpdateCallOnOutboundDialAction` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundDialAction |
1424
1434
  | `UpdateCallOnTaskCanceled` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskCanceled |
1425
1435
  | `UpdateCallOnTaskRouterAssign` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskRouterAssign |
1436
+ | `UpdateCallRecordingDetails` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallRecordingDetails |
1426
1437
  | `UpdateCallTranscriptionUrl` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallTranscriptionUrl |
1427
1438
 
1428
- #### TwilioCallEvent
1429
-
1430
- | Action | Type | Event |
1431
- |--------|------|-------|
1432
- | `CreateInboundCallEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateInboundCallEvent |
1433
- | `CreateOutboundCallEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateOutboundCallEvent |
1434
- | `CreateVoiceInsightsEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateVoiceInsightsEvent |
1435
- | `UpdateCallEventAfterProcessing` | UPDATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Update.UpdateCallEventAfterProcessing |
1436
-
1437
1439
  #### InvoiceItem
1438
1440
 
1439
1441
  | Action | Type | Event |
@@ -1595,10 +1597,12 @@ This SDK includes **686** actions.
1595
1597
  | `MovePgPaymentMethodToCancellationPending` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationPending |
1596
1598
  | `MovePgPaymentMethodToCancellationRequested` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.MovePgPaymentMethodToCancellationRequested |
1597
1599
  | `MovePgPaymentMethodToCancelled` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancelled |
1600
+ | `MovePgPaymentMethodToCreated` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCreated |
1598
1601
  | `MovePgPaymentMethodToFileRejected` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFileRejected |
1599
1602
  | `MovePgPaymentMethodToInstructionRejected` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToInstructionRejected |
1600
1603
  | `MovePgPaymentMethodToInvalid` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToInvalid |
1601
1604
  | `MovePgPaymentMethodToProcessing` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToProcessing |
1605
+ | `MovePgPaymentMethodToReallocating` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToReallocating |
1602
1606
  | `MovePgPaymentMethodToSubmissionFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToSubmissionFailed |
1603
1607
  | `MovePgPaymentMethodToSubmitted` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToSubmitted |
1604
1608
  | `MovePgPaymentMethodToValidated` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToValidated |
@@ -1618,6 +1622,8 @@ This SDK includes **686** actions.
1618
1622
 
1619
1623
  **MovePgPaymentMethodToCancelled Target Stages:** `StatusStageCancelled`
1620
1624
 
1625
+ **MovePgPaymentMethodToCreated Target Stages:** `StatusStageCreated`
1626
+
1621
1627
  **MovePgPaymentMethodToFileRejected Target Stages:** `StatusStageFileRejected`
1622
1628
 
1623
1629
  **MovePgPaymentMethodToInstructionRejected Target Stages:** `StatusStageInstructionRejected`
@@ -1626,6 +1632,8 @@ This SDK includes **686** actions.
1626
1632
 
1627
1633
  **MovePgPaymentMethodToProcessing Target Stages:** `StatusStageProcessing`
1628
1634
 
1635
+ **MovePgPaymentMethodToReallocating Target Stages:** `StatusStageReallocating`
1636
+
1629
1637
  **MovePgPaymentMethodToSubmissionFailed Target Stages:** `StatusStageSubmissionFailed`
1630
1638
 
1631
1639
  **MovePgPaymentMethodToSubmitted Target Stages:** `StatusStageSubmitted`
@@ -1708,6 +1716,7 @@ This SDK includes **686** actions.
1708
1716
  | `MovePgTransactionChargeToPaidOut` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToPaidOut |
1709
1717
  | `MovePgTransactionChargeToProcessing` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToProcessing |
1710
1718
  | `MovePgTransactionChargeToReady` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToReady |
1719
+ | `MovePgTransactionChargeToReallocating` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToReallocating |
1711
1720
  | `MovePgTransactionChargeToSubmissionFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToSubmissionFailed |
1712
1721
  | `MovePgTransactionChargeToSubmitted` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToSubmitted |
1713
1722
  | `MovePgTransactionChargeToSucceeded` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToSucceeded |
@@ -1720,6 +1729,7 @@ This SDK includes **686** actions.
1720
1729
  | `MovePgTransactionRefundToPaid` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToPaid |
1721
1730
  | `MovePgTransactionRefundToProcessing` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToProcessing |
1722
1731
  | `MovePgTransactionRefundToReady` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToReady |
1732
+ | `MovePgTransactionRefundToReallocating` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToReallocating |
1723
1733
  | `MovePgTransactionRefundToSubmissionFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToSubmissionFailed |
1724
1734
  | `MovePgTransactionRefundToSubmitted` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToSubmitted |
1725
1735
  | `MovePgTransactionRefundToSucceeded` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToSucceeded |
@@ -1747,6 +1757,8 @@ This SDK includes **686** actions.
1747
1757
 
1748
1758
  **MovePgTransactionChargeToReady Target Stages:** `ChargeStatusStageReady`
1749
1759
 
1760
+ **MovePgTransactionChargeToReallocating Target Stages:** `ChargeStatusStageReallocating`
1761
+
1750
1762
  **MovePgTransactionChargeToSubmissionFailed Target Stages:** `ChargeStatusStageSubmissionFailed`
1751
1763
 
1752
1764
  **MovePgTransactionChargeToSubmitted Target Stages:** `ChargeStatusStageSubmitted`
@@ -1771,6 +1783,8 @@ This SDK includes **686** actions.
1771
1783
 
1772
1784
  **MovePgTransactionRefundToReady Target Stages:** `RefundStatusStageReady`
1773
1785
 
1786
+ **MovePgTransactionRefundToReallocating Target Stages:** `RefundStatusStageReallocating`
1787
+
1774
1788
  **MovePgTransactionRefundToSubmissionFailed Target Stages:** `RefundStatusStageSubmissionFailed`
1775
1789
 
1776
1790
  **MovePgTransactionRefundToSubmitted Target Stages:** `RefundStatusStageSubmitted`
@@ -0,0 +1,116 @@
1
+ /**
2
+ * CreateCallRecordingEvent Action DTO
3
+ *
4
+ * Create call recording event
5
+ *
6
+ * @module NotificationModule
7
+ * @entity TwilioCallEvent
8
+ * @actionKey CreateCallRecordingEvent
9
+ * @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ */
13
+ import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
14
+ /**
15
+ * RabbitMQ message payload for CreateCallRecordingEvent created events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent
18
+ */
19
+ export interface CreateCallRecordingEventMessage extends OdinRecordCreatedEvent<CreateCallRecordingEventDto, CreateCallRecordingEventProperties> {
20
+ }
21
+ /**
22
+ * Properties for CreateCallRecordingEvent action
23
+ *
24
+ * @property Required fields: 7
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface CreateCallRecordingEventProperties {
28
+ /**
29
+ * WebhookSource
30
+ *
31
+ * Source of the captured event
32
+ * @type {ENUM}
33
+ * @required
34
+ */
35
+ WebhookSource: string;
36
+ /**
37
+ * ReceivedAt
38
+ *
39
+ * Moment of storing the event in odin
40
+ * @type {DATE_TIME}
41
+ * @required
42
+ */
43
+ ReceivedAt: string;
44
+ /**
45
+ * Query
46
+ *
47
+ * Query parameters of the request received from Twilio
48
+ * @type {JSON}
49
+ * @required
50
+ */
51
+ Query: string;
52
+ /**
53
+ * Body
54
+ *
55
+ * Body of the request received from Twilio
56
+ * @type {JSON}
57
+ * @required
58
+ */
59
+ Body: string;
60
+ /**
61
+ * Title
62
+ *
63
+ * Title of twilio call event record
64
+ * @type {TEXT}
65
+ * @required
66
+ */
67
+ Title: string;
68
+ /**
69
+ * CallId
70
+ *
71
+ * Reference of the call record
72
+ * @type {LOOKUP}
73
+ * @required
74
+ */
75
+ CallId: string;
76
+ /**
77
+ * CallSid
78
+ *
79
+ * Twilio id of the call
80
+ * @type {TEXT}
81
+ * @required
82
+ */
83
+ CallSid: string;
84
+ }
85
+ /**
86
+ * CreateCallRecordingEvent
87
+ *
88
+ * Create call recording event
89
+ *
90
+ * @actionType CREATE - Creates a new TwilioCallEvent record
91
+ * @module NotificationModule
92
+ * @entity TwilioCallEvent
93
+ * @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent
94
+ * @permission schema.action.createcallrecordingevent.trigger
95
+ * @benchmark This action is tracked for performance benchmarks
96
+ */
97
+ export declare class CreateCallRecordingEventDto extends OdinRecordCreateDto<CreateCallRecordingEventProperties> {
98
+ /** Used by SDK generators to identify action type */
99
+ static readonly ACTION_TYPE = "CREATE";
100
+ static readonly ACTION_KEY = "CreateCallRecordingEvent";
101
+ static readonly MODULE_NAME = "NotificationModule";
102
+ static readonly ENTITIES: string[];
103
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent";
104
+ static readonly PERMISSION = "schema.action.createcallrecordingevent.trigger";
105
+ /** Step metadata - entity this action targets */
106
+ static readonly STEP_ENTITY = "NotificationModule:TwilioCallEvent";
107
+ static readonly STEP_SCHEMA_ID = "52cc16be-2010-453f-a1c9-142ca95f9a54";
108
+ static readonly STEP_SCHEMA_ACTION_ID = "037eb208-5783-463f-b0dd-05e0eb68efbc";
109
+ static readonly AUTO_LINK_PARENT = true;
110
+ readonly actionName: string;
111
+ readonly schemaActionId: string;
112
+ readonly entity: string;
113
+ constructor(properties: CreateCallRecordingEventProperties, options?: {
114
+ journeyId?: string;
115
+ });
116
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * CreateCallRecordingEvent Action DTO
4
+ *
5
+ * Create call recording event
6
+ *
7
+ * @module NotificationModule
8
+ * @entity TwilioCallEvent
9
+ * @actionKey CreateCallRecordingEvent
10
+ * @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CreateCallRecordingEventDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * CreateCallRecordingEvent
19
+ *
20
+ * Create call recording event
21
+ *
22
+ * @actionType CREATE - Creates a new TwilioCallEvent record
23
+ * @module NotificationModule
24
+ * @entity TwilioCallEvent
25
+ * @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent
26
+ * @permission schema.action.createcallrecordingevent.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class CreateCallRecordingEventDto extends core_1.OdinRecordCreateDto {
30
+ constructor(properties, options) {
31
+ super({
32
+ entity: 'NotificationModule:TwilioCallEvent',
33
+ type: undefined,
34
+ properties,
35
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
36
+ });
37
+ this.actionName = 'CreateCallRecordingEvent';
38
+ this.schemaActionId = '037eb208-5783-463f-b0dd-05e0eb68efbc';
39
+ this.entity = 'NotificationModule:TwilioCallEvent';
40
+ }
41
+ }
42
+ exports.CreateCallRecordingEventDto = CreateCallRecordingEventDto;
43
+ /** Used by SDK generators to identify action type */
44
+ CreateCallRecordingEventDto.ACTION_TYPE = 'CREATE';
45
+ CreateCallRecordingEventDto.ACTION_KEY = 'CreateCallRecordingEvent';
46
+ CreateCallRecordingEventDto.MODULE_NAME = 'NotificationModule';
47
+ CreateCallRecordingEventDto.ENTITIES = ['TwilioCallEvent'];
48
+ CreateCallRecordingEventDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent';
49
+ CreateCallRecordingEventDto.PERMISSION = 'schema.action.createcallrecordingevent.trigger';
50
+ /** Step metadata - entity this action targets */
51
+ CreateCallRecordingEventDto.STEP_ENTITY = 'NotificationModule:TwilioCallEvent';
52
+ CreateCallRecordingEventDto.STEP_SCHEMA_ID = '52cc16be-2010-453f-a1c9-142ca95f9a54';
53
+ CreateCallRecordingEventDto.STEP_SCHEMA_ACTION_ID = '037eb208-5783-463f-b0dd-05e0eb68efbc';
54
+ CreateCallRecordingEventDto.AUTO_LINK_PARENT = true;
@@ -0,0 +1,70 @@
1
+ /**
2
+ * MovePgPaymentMethodToCreated Action DTO
3
+ *
4
+ * Move PG Payment Method To Created
5
+ *
6
+ * @module BillingModule
7
+ * @entity PgPaymentMethod
8
+ * @entityType DEFAULT
9
+ * @actionKey MovePgPaymentMethodToCreated
10
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCreated
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * RabbitMQ message payload for MovePgPaymentMethodToCreated step flow events
17
+ *
18
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCreated
19
+ */
20
+ export interface MovePgPaymentMethodToCreatedMessage extends OdinRecordUpdatedEvent<MovePgPaymentMethodToCreatedDto, {}> {
21
+ }
22
+ /**
23
+ * Properties for MovePgPaymentMethodToCreated action
24
+ *
25
+ */
26
+ export interface MovePgPaymentMethodToCreatedProperties {
27
+ }
28
+ /**
29
+ * MovePgPaymentMethodToCreated
30
+ *
31
+ * Move PG Payment Method To Created
32
+ *
33
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
34
+ * @module BillingModule
35
+ * @entity PgPaymentMethod
36
+ * @entityType DEFAULT (Default)
37
+ * @targetStages StatusStageCreated
38
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCreated
39
+ * @permission schema.action.movepgpaymentmethodtocreated.trigger
40
+ * @benchmark This action is tracked for performance benchmarks
41
+ */
42
+ export declare class MovePgPaymentMethodToCreatedDto extends OdinRecordUpdateDto<Record<string, any>> {
43
+ /** Used by SDK generators to identify action type */
44
+ static readonly ACTION_TYPE = "UPDATE";
45
+ static readonly ACTION_KEY = "MovePgPaymentMethodToCreated";
46
+ static readonly MODULE_NAME = "BillingModule";
47
+ static readonly ENTITIES: string[];
48
+ static readonly ENTITY_TYPE = "DEFAULT";
49
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCreated";
50
+ static readonly SCHEMA_ACTION_ID = "7e98f5ca-af0a-4dfe-b715-988030f4ad49";
51
+ static readonly PERMISSION = "schema.action.movepgpaymentmethodtocreated.trigger";
52
+ static readonly TARGET_STAGES: readonly ["StatusStageCreated"];
53
+ static readonly IS_STAGE_TRANSITION = true;
54
+ static readonly IS_MULTI_STEP_FLOW = false;
55
+ static readonly HAS_STEP_LINKS = false;
56
+ readonly actionName: string;
57
+ readonly schemaActionId: string;
58
+ readonly entity: string;
59
+ readonly stageKey: string;
60
+ constructor(record: OdinRecord<any> | {
61
+ id: string;
62
+ entity: string;
63
+ type?: string;
64
+ }, options?: {
65
+ journeyId?: string;
66
+ });
67
+ /** Step classes that can be used with this action */
68
+ static readonly stepClasses: readonly [];
69
+ steps: [];
70
+ }
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /**
3
+ * MovePgPaymentMethodToCreated Action DTO
4
+ *
5
+ * Move PG Payment Method To Created
6
+ *
7
+ * @module BillingModule
8
+ * @entity PgPaymentMethod
9
+ * @entityType DEFAULT
10
+ * @actionKey MovePgPaymentMethodToCreated
11
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCreated
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MovePgPaymentMethodToCreatedDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * MovePgPaymentMethodToCreated
20
+ *
21
+ * Move PG Payment Method To Created
22
+ *
23
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
24
+ * @module BillingModule
25
+ * @entity PgPaymentMethod
26
+ * @entityType DEFAULT (Default)
27
+ * @targetStages StatusStageCreated
28
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCreated
29
+ * @permission schema.action.movepgpaymentmethodtocreated.trigger
30
+ * @benchmark This action is tracked for performance benchmarks
31
+ */
32
+ class MovePgPaymentMethodToCreatedDto extends core_1.OdinRecordUpdateDto {
33
+ constructor(record, options) {
34
+ super({
35
+ id: record.id,
36
+ entity: record.entity,
37
+ type: record.type,
38
+ properties: {},
39
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
40
+ });
41
+ this.actionName = 'MovePgPaymentMethodToCreated';
42
+ this.schemaActionId = '7e98f5ca-af0a-4dfe-b715-988030f4ad49';
43
+ this.entity = 'BillingModule:PgPaymentMethod';
44
+ this.stageKey = 'StatusStageCreated';
45
+ }
46
+ }
47
+ exports.MovePgPaymentMethodToCreatedDto = MovePgPaymentMethodToCreatedDto;
48
+ /** Used by SDK generators to identify action type */
49
+ MovePgPaymentMethodToCreatedDto.ACTION_TYPE = 'UPDATE';
50
+ MovePgPaymentMethodToCreatedDto.ACTION_KEY = 'MovePgPaymentMethodToCreated';
51
+ MovePgPaymentMethodToCreatedDto.MODULE_NAME = 'BillingModule';
52
+ MovePgPaymentMethodToCreatedDto.ENTITIES = ['PgPaymentMethod'];
53
+ MovePgPaymentMethodToCreatedDto.ENTITY_TYPE = 'DEFAULT';
54
+ MovePgPaymentMethodToCreatedDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCreated';
55
+ MovePgPaymentMethodToCreatedDto.SCHEMA_ACTION_ID = '7e98f5ca-af0a-4dfe-b715-988030f4ad49';
56
+ MovePgPaymentMethodToCreatedDto.PERMISSION = 'schema.action.movepgpaymentmethodtocreated.trigger';
57
+ MovePgPaymentMethodToCreatedDto.TARGET_STAGES = ['StatusStageCreated'];
58
+ MovePgPaymentMethodToCreatedDto.IS_STAGE_TRANSITION = true;
59
+ MovePgPaymentMethodToCreatedDto.IS_MULTI_STEP_FLOW = false;
60
+ MovePgPaymentMethodToCreatedDto.HAS_STEP_LINKS = false;
61
+ /** Step classes that can be used with this action */
62
+ MovePgPaymentMethodToCreatedDto.stepClasses = [];
@@ -0,0 +1,70 @@
1
+ /**
2
+ * MovePgPaymentMethodToReallocating Action DTO
3
+ *
4
+ * Move PG Payment Method To Reallocating
5
+ *
6
+ * @module BillingModule
7
+ * @entity PgPaymentMethod
8
+ * @entityType DEFAULT
9
+ * @actionKey MovePgPaymentMethodToReallocating
10
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToReallocating
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * RabbitMQ message payload for MovePgPaymentMethodToReallocating step flow events
17
+ *
18
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToReallocating
19
+ */
20
+ export interface MovePgPaymentMethodToReallocatingMessage extends OdinRecordUpdatedEvent<MovePgPaymentMethodToReallocatingDto, {}> {
21
+ }
22
+ /**
23
+ * Properties for MovePgPaymentMethodToReallocating action
24
+ *
25
+ */
26
+ export interface MovePgPaymentMethodToReallocatingProperties {
27
+ }
28
+ /**
29
+ * MovePgPaymentMethodToReallocating
30
+ *
31
+ * Move PG Payment Method To Reallocating
32
+ *
33
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
34
+ * @module BillingModule
35
+ * @entity PgPaymentMethod
36
+ * @entityType DEFAULT (Default)
37
+ * @targetStages StatusStageReallocating
38
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToReallocating
39
+ * @permission schema.action.movepgpaymentmethodtoreallocating.trigger
40
+ * @benchmark This action is tracked for performance benchmarks
41
+ */
42
+ export declare class MovePgPaymentMethodToReallocatingDto extends OdinRecordUpdateDto<Record<string, any>> {
43
+ /** Used by SDK generators to identify action type */
44
+ static readonly ACTION_TYPE = "UPDATE";
45
+ static readonly ACTION_KEY = "MovePgPaymentMethodToReallocating";
46
+ static readonly MODULE_NAME = "BillingModule";
47
+ static readonly ENTITIES: string[];
48
+ static readonly ENTITY_TYPE = "DEFAULT";
49
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToReallocating";
50
+ static readonly SCHEMA_ACTION_ID = "44927ddf-34bd-4338-8acd-096dd5b61452";
51
+ static readonly PERMISSION = "schema.action.movepgpaymentmethodtoreallocating.trigger";
52
+ static readonly TARGET_STAGES: readonly ["StatusStageReallocating"];
53
+ static readonly IS_STAGE_TRANSITION = true;
54
+ static readonly IS_MULTI_STEP_FLOW = false;
55
+ static readonly HAS_STEP_LINKS = false;
56
+ readonly actionName: string;
57
+ readonly schemaActionId: string;
58
+ readonly entity: string;
59
+ readonly stageKey: string;
60
+ constructor(record: OdinRecord<any> | {
61
+ id: string;
62
+ entity: string;
63
+ type?: string;
64
+ }, options?: {
65
+ journeyId?: string;
66
+ });
67
+ /** Step classes that can be used with this action */
68
+ static readonly stepClasses: readonly [];
69
+ steps: [];
70
+ }
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /**
3
+ * MovePgPaymentMethodToReallocating Action DTO
4
+ *
5
+ * Move PG Payment Method To Reallocating
6
+ *
7
+ * @module BillingModule
8
+ * @entity PgPaymentMethod
9
+ * @entityType DEFAULT
10
+ * @actionKey MovePgPaymentMethodToReallocating
11
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToReallocating
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MovePgPaymentMethodToReallocatingDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * MovePgPaymentMethodToReallocating
20
+ *
21
+ * Move PG Payment Method To Reallocating
22
+ *
23
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
24
+ * @module BillingModule
25
+ * @entity PgPaymentMethod
26
+ * @entityType DEFAULT (Default)
27
+ * @targetStages StatusStageReallocating
28
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToReallocating
29
+ * @permission schema.action.movepgpaymentmethodtoreallocating.trigger
30
+ * @benchmark This action is tracked for performance benchmarks
31
+ */
32
+ class MovePgPaymentMethodToReallocatingDto extends core_1.OdinRecordUpdateDto {
33
+ constructor(record, options) {
34
+ super({
35
+ id: record.id,
36
+ entity: record.entity,
37
+ type: record.type,
38
+ properties: {},
39
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
40
+ });
41
+ this.actionName = 'MovePgPaymentMethodToReallocating';
42
+ this.schemaActionId = '44927ddf-34bd-4338-8acd-096dd5b61452';
43
+ this.entity = 'BillingModule:PgPaymentMethod';
44
+ this.stageKey = 'StatusStageReallocating';
45
+ }
46
+ }
47
+ exports.MovePgPaymentMethodToReallocatingDto = MovePgPaymentMethodToReallocatingDto;
48
+ /** Used by SDK generators to identify action type */
49
+ MovePgPaymentMethodToReallocatingDto.ACTION_TYPE = 'UPDATE';
50
+ MovePgPaymentMethodToReallocatingDto.ACTION_KEY = 'MovePgPaymentMethodToReallocating';
51
+ MovePgPaymentMethodToReallocatingDto.MODULE_NAME = 'BillingModule';
52
+ MovePgPaymentMethodToReallocatingDto.ENTITIES = ['PgPaymentMethod'];
53
+ MovePgPaymentMethodToReallocatingDto.ENTITY_TYPE = 'DEFAULT';
54
+ MovePgPaymentMethodToReallocatingDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToReallocating';
55
+ MovePgPaymentMethodToReallocatingDto.SCHEMA_ACTION_ID = '44927ddf-34bd-4338-8acd-096dd5b61452';
56
+ MovePgPaymentMethodToReallocatingDto.PERMISSION = 'schema.action.movepgpaymentmethodtoreallocating.trigger';
57
+ MovePgPaymentMethodToReallocatingDto.TARGET_STAGES = ['StatusStageReallocating'];
58
+ MovePgPaymentMethodToReallocatingDto.IS_STAGE_TRANSITION = true;
59
+ MovePgPaymentMethodToReallocatingDto.IS_MULTI_STEP_FLOW = false;
60
+ MovePgPaymentMethodToReallocatingDto.HAS_STEP_LINKS = false;
61
+ /** Step classes that can be used with this action */
62
+ MovePgPaymentMethodToReallocatingDto.stepClasses = [];
@@ -0,0 +1,70 @@
1
+ /**
2
+ * MovePgTransactionChargeToReallocating Action DTO
3
+ *
4
+ * Move PG Transaction Charge To Reallocating
5
+ *
6
+ * @module BillingModule
7
+ * @entity PgTransaction
8
+ * @entityType CHARGE
9
+ * @actionKey MovePgTransactionChargeToReallocating
10
+ * @event k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToReallocating
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * RabbitMQ message payload for MovePgTransactionChargeToReallocating step flow events
17
+ *
18
+ * @event k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToReallocating
19
+ */
20
+ export interface MovePgTransactionChargeToReallocatingMessage extends OdinRecordUpdatedEvent<MovePgTransactionChargeToReallocatingDto, {}> {
21
+ }
22
+ /**
23
+ * Properties for MovePgTransactionChargeToReallocating action
24
+ *
25
+ */
26
+ export interface MovePgTransactionChargeToReallocatingProperties {
27
+ }
28
+ /**
29
+ * MovePgTransactionChargeToReallocating
30
+ *
31
+ * Move PG Transaction Charge To Reallocating
32
+ *
33
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
34
+ * @module BillingModule
35
+ * @entity PgTransaction
36
+ * @entityType CHARGE (Charge)
37
+ * @targetStages ChargeStatusStageReallocating
38
+ * @event k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToReallocating
39
+ * @permission schema.action.movepgtransactionchargetoreallocating.trigger
40
+ * @benchmark This action is tracked for performance benchmarks
41
+ */
42
+ export declare class MovePgTransactionChargeToReallocatingDto extends OdinRecordUpdateDto<Record<string, any>> {
43
+ /** Used by SDK generators to identify action type */
44
+ static readonly ACTION_TYPE = "UPDATE";
45
+ static readonly ACTION_KEY = "MovePgTransactionChargeToReallocating";
46
+ static readonly MODULE_NAME = "BillingModule";
47
+ static readonly ENTITIES: string[];
48
+ static readonly ENTITY_TYPE = "CHARGE";
49
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToReallocating";
50
+ static readonly SCHEMA_ACTION_ID = "e66a534a-aa86-4255-931c-b860e4f958f7";
51
+ static readonly PERMISSION = "schema.action.movepgtransactionchargetoreallocating.trigger";
52
+ static readonly TARGET_STAGES: readonly ["ChargeStatusStageReallocating"];
53
+ static readonly IS_STAGE_TRANSITION = true;
54
+ static readonly IS_MULTI_STEP_FLOW = false;
55
+ static readonly HAS_STEP_LINKS = false;
56
+ readonly actionName: string;
57
+ readonly schemaActionId: string;
58
+ readonly entity: string;
59
+ readonly stageKey: string;
60
+ constructor(record: OdinRecord<any> | {
61
+ id: string;
62
+ entity: string;
63
+ type?: string;
64
+ }, options?: {
65
+ journeyId?: string;
66
+ });
67
+ /** Step classes that can be used with this action */
68
+ static readonly stepClasses: readonly [];
69
+ steps: [];
70
+ }