@d19n/youfibre-odin-sdk 2.0.204 → 2.0.207

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 (70) hide show
  1. package/README.md +24 -2
  2. package/dist/EntityRegistry.d.ts +2 -0
  3. package/dist/EntityRegistry.js +2 -0
  4. package/dist/OdinApiClient.d.ts +4 -0
  5. package/dist/OdinApiClient.js +8 -0
  6. package/dist/OdinDbClient.d.ts +4 -0
  7. package/dist/OdinDbClient.js +8 -0
  8. package/dist/accessors-v2/ConversationSummaryFeedbackAccessor.d.ts +111 -0
  9. package/dist/accessors-v2/ConversationSummaryFeedbackAccessor.js +190 -0
  10. package/dist/accessors-v2/index.d.ts +1 -0
  11. package/dist/accessors-v2/index.js +5 -3
  12. package/dist/actions-v2/CompleteChurnRequestDto.d.ts +10 -1
  13. package/dist/actions-v2/CompleteChurnRequestFlowDto.d.ts +10 -1
  14. package/dist/actions-v2/CreateConversationSummaryFeedbackDto.d.ts +101 -0
  15. package/dist/actions-v2/CreateConversationSummaryFeedbackDto.js +57 -0
  16. package/dist/actions-v2/CreateRecontractReminderEmailDto.d.ts +128 -0
  17. package/dist/actions-v2/CreateRecontractReminderEmailDto.js +59 -0
  18. package/dist/actions-v2/MovePgPaymentMethodToCreatedDto.d.ts +70 -0
  19. package/dist/actions-v2/MovePgPaymentMethodToCreatedDto.js +62 -0
  20. package/dist/actions-v2/MovePgPaymentMethodToReallocatingDto.d.ts +70 -0
  21. package/dist/actions-v2/MovePgPaymentMethodToReallocatingDto.js +62 -0
  22. package/dist/actions-v2/MovePgTransactionChargeToReallocatingDto.d.ts +70 -0
  23. package/dist/actions-v2/MovePgTransactionChargeToReallocatingDto.js +62 -0
  24. package/dist/actions-v2/MovePgTransactionRefundToReallocatingDto.d.ts +70 -0
  25. package/dist/actions-v2/MovePgTransactionRefundToReallocatingDto.js +62 -0
  26. package/dist/actions-v2/OfferCreateDto.d.ts +10 -1
  27. package/dist/actions-v2/OfferUpdateDto.d.ts +10 -1
  28. package/dist/actions-v2/UpdateCallRecordingDetailsDto.d.ts +89 -0
  29. package/dist/actions-v2/UpdateCallRecordingDetailsDto.js +56 -0
  30. package/dist/actions-v2/UpdatePgAllocationSubmissionFileLineNumberDto.d.ts +78 -0
  31. package/dist/actions-v2/UpdatePgAllocationSubmissionFileLineNumberDto.js +61 -0
  32. package/dist/api-sdk-v2/ConversationApi.d.ts +2 -0
  33. package/dist/api-sdk-v2/ConversationApi.js +6 -0
  34. package/dist/api-sdk-v2/ConversationSummaryFeedbackApi.d.ts +48 -0
  35. package/dist/api-sdk-v2/ConversationSummaryFeedbackApi.js +155 -0
  36. package/dist/db-accessors-v2/ConversationSummaryFeedbackDbAccessor.d.ts +149 -0
  37. package/dist/db-accessors-v2/ConversationSummaryFeedbackDbAccessor.js +227 -0
  38. package/dist/db-accessors-v2/index.d.ts +1 -0
  39. package/dist/db-accessors-v2/index.js +5 -3
  40. package/dist/db-sdk-v2/ConversationDb.d.ts +2 -0
  41. package/dist/db-sdk-v2/ConversationDb.js +6 -0
  42. package/dist/db-sdk-v2/ConversationSummaryFeedbackDb.d.ts +120 -0
  43. package/dist/db-sdk-v2/ConversationSummaryFeedbackDb.js +204 -0
  44. package/dist/entities-v2/ChurnRequest.d.ts +46 -5
  45. package/dist/entities-v2/ChurnRequest.js +41 -5
  46. package/dist/entities-v2/Conversation.d.ts +7 -0
  47. package/dist/entities-v2/Conversation.js +5 -1
  48. package/dist/entities-v2/ConversationSummaryFeedback.d.ts +153 -0
  49. package/dist/entities-v2/ConversationSummaryFeedback.js +122 -0
  50. package/dist/entities-v2/PgPaymentMethod.d.ts +20 -16
  51. package/dist/entities-v2/PgPaymentMethod.js +8 -4
  52. package/dist/entities-v2/PgTransaction.d.ts +12 -4
  53. package/dist/entities-v2/PgTransaction.js +8 -0
  54. package/dist/records-v2/CallRecord.d.ts +27 -0
  55. package/dist/records-v2/CallRecord.js +29 -0
  56. package/dist/records-v2/ConversationRecord.d.ts +20 -0
  57. package/dist/records-v2/ConversationRecord.js +33 -0
  58. package/dist/records-v2/ConversationSummaryFeedbackRecord.d.ts +205 -0
  59. package/dist/records-v2/ConversationSummaryFeedbackRecord.js +280 -0
  60. package/dist/records-v2/EmailRecord.d.ts +29 -0
  61. package/dist/records-v2/EmailRecord.js +36 -0
  62. package/dist/records-v2/PgFileAllocationRecord.d.ts +27 -0
  63. package/dist/records-v2/PgFileAllocationRecord.js +29 -0
  64. package/dist/records-v2/PgPaymentMethodRecord.d.ts +50 -0
  65. package/dist/records-v2/PgPaymentMethodRecord.js +58 -0
  66. package/dist/records-v2/PgTransactionRecord.d.ts +50 -0
  67. package/dist/records-v2/PgTransactionRecord.js +58 -0
  68. package/dist/records-v2/index.d.ts +1 -0
  69. package/dist/records-v2/index.js +7 -4
  70. package/package.json +1 -1
@@ -0,0 +1,101 @@
1
+ /**
2
+ * CreateConversationSummaryFeedback Action DTO
3
+ *
4
+ * CreateConversationSummaryFeedback
5
+ *
6
+ * @module NotificationModule
7
+ * @entity ConversationSummaryFeedback
8
+ * @entityType DEFAULT
9
+ * @actionKey CreateConversationSummaryFeedback
10
+ * @event k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * RabbitMQ message payload for CreateConversationSummaryFeedback created events
17
+ *
18
+ * @event k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback
19
+ */
20
+ export interface CreateConversationSummaryFeedbackMessage extends OdinRecordCreatedEvent<CreateConversationSummaryFeedbackDto, CreateConversationSummaryFeedbackProperties> {
21
+ }
22
+ /**
23
+ * Properties for CreateConversationSummaryFeedback action
24
+ *
25
+ * @property Required fields: 3
26
+ * @property Optional fields: 2
27
+ */
28
+ export interface CreateConversationSummaryFeedbackProperties {
29
+ /**
30
+ * FeedbackSenderType
31
+ *
32
+ * The type of user that submitted the feedback
33
+ * @type {ENUM}
34
+ * @required
35
+ */
36
+ FeedbackSenderType: string;
37
+ /**
38
+ * Is this summary accurate?
39
+ *
40
+ * Summary accuracy rating
41
+ * @type {ENUM}
42
+ * @required
43
+ */
44
+ SummaryAccuracy: string;
45
+ /**
46
+ * ConversationId
47
+ *
48
+ * ConversationId
49
+ * @type {LOOKUP}
50
+ * @required
51
+ */
52
+ ConversationId: string;
53
+ /**
54
+ * InaccuracyComment
55
+ *
56
+ * InaccuracyComment
57
+ * @type {TEXT}
58
+ */
59
+ InaccuracyComment?: string | null;
60
+ /**
61
+ * InaccuracyReason
62
+ *
63
+ * InaccuracyReason
64
+ * @type {ENUM}
65
+ */
66
+ InaccuracyReason?: string | null;
67
+ }
68
+ /**
69
+ * CreateConversationSummaryFeedback
70
+ *
71
+ * @actionType CREATE - Creates a new ConversationSummaryFeedback record
72
+ * @module NotificationModule
73
+ * @entity ConversationSummaryFeedback
74
+ * @entityType DEFAULT (Default)
75
+ * @event k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback
76
+ * @permission schema.action.createconversationsummaryfeedback.trigger
77
+ * @benchmark This action is tracked for performance benchmarks
78
+ */
79
+ export declare class CreateConversationSummaryFeedbackDto extends OdinRecordCreateDto<CreateConversationSummaryFeedbackProperties> {
80
+ /** Used by SDK generators to identify action type */
81
+ static readonly ACTION_TYPE = "CREATE";
82
+ static readonly ACTION_KEY = "CreateConversationSummaryFeedback";
83
+ static readonly MODULE_NAME = "NotificationModule";
84
+ static readonly ENTITIES: string[];
85
+ static readonly ENTITY_TYPE = "DEFAULT";
86
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback";
87
+ static readonly PERMISSION = "schema.action.createconversationsummaryfeedback.trigger";
88
+ /** Step metadata - entity this action targets */
89
+ static readonly STEP_ENTITY = "NotificationModule:ConversationSummaryFeedback";
90
+ static readonly STEP_SCHEMA_ID = "471684b5-3dd0-4c27-84ea-3450cb6bfb57";
91
+ static readonly STEP_SCHEMA_ACTION_ID = "b4829b81-f1ce-4bad-8dc8-49209253902f";
92
+ static readonly STEP_SCHEMA_TYPE_ID = "2cb76960-ac5c-47c3-aca9-4ee0c78e4e8e";
93
+ static readonly STEP_TYPE = "DEFAULT";
94
+ static readonly AUTO_LINK_PARENT = true;
95
+ readonly actionName: string;
96
+ readonly schemaActionId: string;
97
+ readonly entity: string;
98
+ constructor(properties: CreateConversationSummaryFeedbackProperties, options?: {
99
+ journeyId?: string;
100
+ });
101
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /**
3
+ * CreateConversationSummaryFeedback Action DTO
4
+ *
5
+ * CreateConversationSummaryFeedback
6
+ *
7
+ * @module NotificationModule
8
+ * @entity ConversationSummaryFeedback
9
+ * @entityType DEFAULT
10
+ * @actionKey CreateConversationSummaryFeedback
11
+ * @event k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateConversationSummaryFeedbackDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * CreateConversationSummaryFeedback
20
+ *
21
+ * @actionType CREATE - Creates a new ConversationSummaryFeedback record
22
+ * @module NotificationModule
23
+ * @entity ConversationSummaryFeedback
24
+ * @entityType DEFAULT (Default)
25
+ * @event k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback
26
+ * @permission schema.action.createconversationsummaryfeedback.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class CreateConversationSummaryFeedbackDto extends core_1.OdinRecordCreateDto {
30
+ constructor(properties, options) {
31
+ super({
32
+ entity: 'NotificationModule:ConversationSummaryFeedback',
33
+ type: 'DEFAULT',
34
+ properties,
35
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
36
+ });
37
+ this.actionName = 'CreateConversationSummaryFeedback';
38
+ this.schemaActionId = 'b4829b81-f1ce-4bad-8dc8-49209253902f';
39
+ this.entity = 'NotificationModule:ConversationSummaryFeedback';
40
+ }
41
+ }
42
+ exports.CreateConversationSummaryFeedbackDto = CreateConversationSummaryFeedbackDto;
43
+ /** Used by SDK generators to identify action type */
44
+ CreateConversationSummaryFeedbackDto.ACTION_TYPE = 'CREATE';
45
+ CreateConversationSummaryFeedbackDto.ACTION_KEY = 'CreateConversationSummaryFeedback';
46
+ CreateConversationSummaryFeedbackDto.MODULE_NAME = 'NotificationModule';
47
+ CreateConversationSummaryFeedbackDto.ENTITIES = ['ConversationSummaryFeedback'];
48
+ CreateConversationSummaryFeedbackDto.ENTITY_TYPE = 'DEFAULT';
49
+ CreateConversationSummaryFeedbackDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback';
50
+ CreateConversationSummaryFeedbackDto.PERMISSION = 'schema.action.createconversationsummaryfeedback.trigger';
51
+ /** Step metadata - entity this action targets */
52
+ CreateConversationSummaryFeedbackDto.STEP_ENTITY = 'NotificationModule:ConversationSummaryFeedback';
53
+ CreateConversationSummaryFeedbackDto.STEP_SCHEMA_ID = '471684b5-3dd0-4c27-84ea-3450cb6bfb57';
54
+ CreateConversationSummaryFeedbackDto.STEP_SCHEMA_ACTION_ID = 'b4829b81-f1ce-4bad-8dc8-49209253902f';
55
+ CreateConversationSummaryFeedbackDto.STEP_SCHEMA_TYPE_ID = '2cb76960-ac5c-47c3-aca9-4ee0c78e4e8e';
56
+ CreateConversationSummaryFeedbackDto.STEP_TYPE = 'DEFAULT';
57
+ CreateConversationSummaryFeedbackDto.AUTO_LINK_PARENT = true;
@@ -0,0 +1,128 @@
1
+ /**
2
+ * CreateRecontractReminderEmail Action DTO
3
+ *
4
+ * Recontract email reminder
5
+ *
6
+ * @module NotificationModule
7
+ * @entity Email
8
+ * @entityType TRANSACTIONAL
9
+ * @actionKey CreateRecontractReminderEmail
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * RabbitMQ message payload for CreateRecontractReminderEmail created events
17
+ *
18
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail
19
+ */
20
+ export interface CreateRecontractReminderEmailMessage extends OdinRecordCreatedEvent<CreateRecontractReminderEmailDto, CreateRecontractReminderEmailProperties> {
21
+ }
22
+ /**
23
+ * Properties for CreateRecontractReminderEmail action
24
+ *
25
+ * @property Required fields: 0
26
+ * @property Optional fields: 9
27
+ */
28
+ export interface CreateRecontractReminderEmailProperties {
29
+ /**
30
+ * Date
31
+ *
32
+ * Date field for Email records. Used by Communications team.
33
+ * @type {DATE_TIME}
34
+ */
35
+ Date?: string | null;
36
+ /**
37
+ * EmailingService
38
+ *
39
+ * The provider we use to send email (eg. Sendgrid)
40
+ * @type {ENUM}
41
+ */
42
+ EmailingService?: string | null;
43
+ /**
44
+ * ContactId
45
+ *
46
+ * The related Contact to send the email
47
+ * @type {LOOKUP}
48
+ */
49
+ ContactId?: string | null;
50
+ /**
51
+ * TemplateLabel
52
+ *
53
+ * The template label from email templates engine
54
+ * @type {TEXT}
55
+ */
56
+ TemplateLabel?: string | null;
57
+ /**
58
+ * MessageId
59
+ *
60
+ * SMTP Message Id (Communications - Email)
61
+ * @type {TEXT}
62
+ */
63
+ MessageId?: string | null;
64
+ /**
65
+ * EmailSenderId
66
+ *
67
+ * The Email Sender related entity
68
+ * @type {LOOKUP}
69
+ */
70
+ EmailSenderId?: string | null;
71
+ /**
72
+ * DynamicData
73
+ *
74
+ * Data will pass to emailing service (variables)
75
+ * @type {JSON}
76
+ */
77
+ DynamicData?: string | null;
78
+ /**
79
+ * Title
80
+ *
81
+ * Used for title
82
+ * @type {TEXT}
83
+ */
84
+ Title?: string | null;
85
+ /**
86
+ * Subject
87
+ *
88
+ * Data field for Email records. Used by Communications team.
89
+ * @type {TEXT}
90
+ */
91
+ Subject?: string | null;
92
+ }
93
+ /**
94
+ * CreateRecontractReminderEmail
95
+ *
96
+ * Recontract email reminder
97
+ *
98
+ * @actionType CREATE - Creates a new Email record
99
+ * @module NotificationModule
100
+ * @entity Email
101
+ * @entityType TRANSACTIONAL (TRANSACTIONAL)
102
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail
103
+ * @permission schema.action.createrecontractreminderemail.trigger
104
+ * @benchmark This action is tracked for performance benchmarks
105
+ */
106
+ export declare class CreateRecontractReminderEmailDto extends OdinRecordCreateDto<CreateRecontractReminderEmailProperties> {
107
+ /** Used by SDK generators to identify action type */
108
+ static readonly ACTION_TYPE = "CREATE";
109
+ static readonly ACTION_KEY = "CreateRecontractReminderEmail";
110
+ static readonly MODULE_NAME = "NotificationModule";
111
+ static readonly ENTITIES: string[];
112
+ static readonly ENTITY_TYPE = "TRANSACTIONAL";
113
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail";
114
+ static readonly PERMISSION = "schema.action.createrecontractreminderemail.trigger";
115
+ /** Step metadata - entity this action targets */
116
+ static readonly STEP_ENTITY = "NotificationModule:Email";
117
+ static readonly STEP_SCHEMA_ID = "cb37958c-d72f-44aa-975a-a8fae42b1b72";
118
+ static readonly STEP_SCHEMA_ACTION_ID = "22634d2e-2c75-4d56-97f4-20349b9f8f5a";
119
+ static readonly STEP_SCHEMA_TYPE_ID = "14042940-a388-44c7-87fe-3a4105d92e94";
120
+ static readonly STEP_TYPE = "TRANSACTIONAL";
121
+ static readonly AUTO_LINK_PARENT = true;
122
+ readonly actionName: string;
123
+ readonly schemaActionId: string;
124
+ readonly entity: string;
125
+ constructor(properties: CreateRecontractReminderEmailProperties, options?: {
126
+ journeyId?: string;
127
+ });
128
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /**
3
+ * CreateRecontractReminderEmail Action DTO
4
+ *
5
+ * Recontract email reminder
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Email
9
+ * @entityType TRANSACTIONAL
10
+ * @actionKey CreateRecontractReminderEmail
11
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateRecontractReminderEmailDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * CreateRecontractReminderEmail
20
+ *
21
+ * Recontract email reminder
22
+ *
23
+ * @actionType CREATE - Creates a new Email record
24
+ * @module NotificationModule
25
+ * @entity Email
26
+ * @entityType TRANSACTIONAL (TRANSACTIONAL)
27
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail
28
+ * @permission schema.action.createrecontractreminderemail.trigger
29
+ * @benchmark This action is tracked for performance benchmarks
30
+ */
31
+ class CreateRecontractReminderEmailDto extends core_1.OdinRecordCreateDto {
32
+ constructor(properties, options) {
33
+ super({
34
+ entity: 'NotificationModule:Email',
35
+ type: 'TRANSACTIONAL',
36
+ properties,
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ });
39
+ this.actionName = 'CreateRecontractReminderEmail';
40
+ this.schemaActionId = '22634d2e-2c75-4d56-97f4-20349b9f8f5a';
41
+ this.entity = 'NotificationModule:Email';
42
+ }
43
+ }
44
+ exports.CreateRecontractReminderEmailDto = CreateRecontractReminderEmailDto;
45
+ /** Used by SDK generators to identify action type */
46
+ CreateRecontractReminderEmailDto.ACTION_TYPE = 'CREATE';
47
+ CreateRecontractReminderEmailDto.ACTION_KEY = 'CreateRecontractReminderEmail';
48
+ CreateRecontractReminderEmailDto.MODULE_NAME = 'NotificationModule';
49
+ CreateRecontractReminderEmailDto.ENTITIES = ['Email'];
50
+ CreateRecontractReminderEmailDto.ENTITY_TYPE = 'TRANSACTIONAL';
51
+ CreateRecontractReminderEmailDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail';
52
+ CreateRecontractReminderEmailDto.PERMISSION = 'schema.action.createrecontractreminderemail.trigger';
53
+ /** Step metadata - entity this action targets */
54
+ CreateRecontractReminderEmailDto.STEP_ENTITY = 'NotificationModule:Email';
55
+ CreateRecontractReminderEmailDto.STEP_SCHEMA_ID = 'cb37958c-d72f-44aa-975a-a8fae42b1b72';
56
+ CreateRecontractReminderEmailDto.STEP_SCHEMA_ACTION_ID = '22634d2e-2c75-4d56-97f4-20349b9f8f5a';
57
+ CreateRecontractReminderEmailDto.STEP_SCHEMA_TYPE_ID = '14042940-a388-44c7-87fe-3a4105d92e94';
58
+ CreateRecontractReminderEmailDto.STEP_TYPE = 'TRANSACTIONAL';
59
+ CreateRecontractReminderEmailDto.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
+ }