@d19n/youfibre-odin-sdk 2.0.262 → 2.0.264

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 (31) hide show
  1. package/README.md +3 -2
  2. package/dist/actions-v2/CaseTransitionEscalatedToBlockedDto.d.ts +36 -2
  3. package/dist/actions-v2/CaseTransitionOpenToBlockedDto.d.ts +36 -2
  4. package/dist/actions-v2/CaseTransitionPendingAgentToBlockedDto.d.ts +36 -2
  5. package/dist/actions-v2/CaseTransitionPendingReplyToBlockedDto.d.ts +36 -2
  6. package/dist/actions-v2/CasedefaultstageblockedDto.d.ts +36 -2
  7. package/dist/actions-v2/CreateOrderPreviousConnectionEmailDto.d.ts +136 -0
  8. package/dist/actions-v2/CreateOrderPreviousConnectionEmailDto.js +59 -0
  9. package/dist/actions-v2/MoveCaseToBlockedActionDto.d.ts +36 -2
  10. package/dist/actions-v2/MoveCaseToBlockedTransitionDto.d.ts +36 -2
  11. package/dist/actions-v2/SendRefundTransactionEmailDto.d.ts +5 -0
  12. package/dist/actions-v2/SendRefundTransactionEmailDto.js +6 -1
  13. package/dist/db-sdk-v2/FileDb.d.ts +122 -122
  14. package/dist/db-sdk-v2/FileDb.js +247 -247
  15. package/dist/entities-v2/Case.d.ts +78 -0
  16. package/dist/entities-v2/Case.js +48 -2
  17. package/dist/entities-v2/FieldServiceProduct.d.ts +70 -1
  18. package/dist/entities-v2/FieldServiceProduct.js +9 -1
  19. package/dist/entities-v2/File.d.ts +6 -0
  20. package/dist/entities-v2/File.js +5 -1
  21. package/dist/entities-v2/Offer.d.ts +20 -0
  22. package/dist/entities-v2/Offer.js +2 -0
  23. package/dist/entities-v2/Recontract.d.ts +56 -0
  24. package/dist/entities-v2/Recontract.js +14 -0
  25. package/dist/entities-v2/WorkOrder.d.ts +50 -2
  26. package/dist/entities-v2/WorkOrder.js +48 -0
  27. package/dist/records-v2/EmailRecord.d.ts +31 -2
  28. package/dist/records-v2/EmailRecord.js +39 -3
  29. package/dist/records-v2/FieldServiceProductRecord.d.ts +19 -3
  30. package/dist/records-v2/FieldServiceProductRecord.js +17 -1
  31. package/package.json +1 -1
package/README.md CHANGED
@@ -224,7 +224,7 @@ This SDK includes **176** entities across **12** modules.
224
224
  | **ChangeReason** | ChangeReason Entity Definition | SA_CANCEL, SA_DELAY, SA_INFORM... |
225
225
  | **Engineer** | Engineer Entity Definition | DEFAULT |
226
226
  | **FieldServiceDispatchedProduct** | FieldServiceDispatchedProduct Entity Definition | CPE_ROUTER, MESH |
227
- | **FieldServiceProduct** | FieldServiceProduct Entity Definition | CPE_ROUTER, MESH, MISC |
227
+ | **FieldServiceProduct** | FieldServiceProduct Entity Definition | CPE_ROUTER, MESH, MISC... |
228
228
  | **InternalInstallAudit** | InternalInstallAudit Entity Definition | OUTCOME_FORM |
229
229
  | **NetomniaFtth1StageInstallAudit** | NetomniaFtth1StageInstallAudit Entity Definition | OUTCOME_FORM |
230
230
  | **NetomniaFtth2StageInstallAudit** | NetomniaFtth2StageInstallAudit Entity Definition | OUTCOME_FORM |
@@ -364,7 +364,7 @@ This SDK includes **176** entities across **12** modules.
364
364
 
365
365
  ## Actions
366
366
 
367
- This SDK includes **797** actions.
367
+ This SDK includes **798** actions.
368
368
 
369
369
  ### Action Types
370
370
 
@@ -1394,6 +1394,7 @@ This SDK includes **797** actions.
1394
1394
  | `CreateNewCreditNote` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateNewCreditNote |
1395
1395
  | `CreateNewInvoice` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateNewInvoice |
1396
1396
  | `CreateOrderConfirmation` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderConfirmation |
1397
+ | `CreateOrderPreviousConnectionEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderPreviousConnectionEmail |
1397
1398
  | `CreateOrderReferralRefereeCancelledEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralRefereeCancelledEmail |
1398
1399
  | `CreateOrderReferralRefereeNotQualifiedEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralRefereeNotQualifiedEmail |
1399
1400
  | `CreateOrderReferralRefereePendingEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralRefereePendingEmail |
@@ -15,8 +15,8 @@ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/o
15
15
  /**
16
16
  * Properties for MoveCaseToBlockedAction action
17
17
  *
18
- * @property Required fields: 3
19
- * @property Optional fields: 1
18
+ * @property Required fields: 6
19
+ * @property Optional fields: 2
20
20
  */
21
21
  export interface MoveCaseToBlockedActionProperties {
22
22
  /**
@@ -43,6 +43,40 @@ export interface MoveCaseToBlockedActionProperties {
43
43
  * @required
44
44
  */
45
45
  AdditionalNotes: string;
46
+ /**
47
+ * Ombudsman Ref
48
+ *
49
+ * Ombudsman case number
50
+ * @type {TEXT}
51
+ * @required
52
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
53
+ */
54
+ OmbudsmanRef: string;
55
+ /**
56
+ * Ombudsman Reason
57
+ *
58
+ * Ombudsman Reason
59
+ * @type {ENUM}
60
+ * @required
61
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
62
+ */
63
+ OmbudsmanReason: string;
64
+ /**
65
+ * Escalation Reason
66
+ *
67
+ * Escalation Reason
68
+ * @type {ENUM}
69
+ * @required
70
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
71
+ */
72
+ EscalationReason: string;
73
+ /**
74
+ * SubCategory
75
+ *
76
+ * SubCategory (Customer Service - Case)
77
+ * @type {ENUM}
78
+ */
79
+ SubCategory?: string | null;
46
80
  }
47
81
  /**
48
82
  * Case Blocked
@@ -15,8 +15,8 @@ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/o
15
15
  /**
16
16
  * Properties for MoveCaseToBlockedAction action
17
17
  *
18
- * @property Required fields: 3
19
- * @property Optional fields: 1
18
+ * @property Required fields: 6
19
+ * @property Optional fields: 2
20
20
  */
21
21
  export interface MoveCaseToBlockedActionProperties {
22
22
  /**
@@ -43,6 +43,40 @@ export interface MoveCaseToBlockedActionProperties {
43
43
  * @required
44
44
  */
45
45
  AdditionalNotes: string;
46
+ /**
47
+ * Ombudsman Ref
48
+ *
49
+ * Ombudsman case number
50
+ * @type {TEXT}
51
+ * @required
52
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
53
+ */
54
+ OmbudsmanRef: string;
55
+ /**
56
+ * Ombudsman Reason
57
+ *
58
+ * Ombudsman Reason
59
+ * @type {ENUM}
60
+ * @required
61
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
62
+ */
63
+ OmbudsmanReason: string;
64
+ /**
65
+ * Escalation Reason
66
+ *
67
+ * Escalation Reason
68
+ * @type {ENUM}
69
+ * @required
70
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
71
+ */
72
+ EscalationReason: string;
73
+ /**
74
+ * SubCategory
75
+ *
76
+ * SubCategory (Customer Service - Case)
77
+ * @type {ENUM}
78
+ */
79
+ SubCategory?: string | null;
46
80
  }
47
81
  /**
48
82
  * Case Blocked
@@ -15,8 +15,8 @@ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/o
15
15
  /**
16
16
  * Properties for MoveCaseToBlockedAction action
17
17
  *
18
- * @property Required fields: 3
19
- * @property Optional fields: 1
18
+ * @property Required fields: 6
19
+ * @property Optional fields: 2
20
20
  */
21
21
  export interface MoveCaseToBlockedActionProperties {
22
22
  /**
@@ -43,6 +43,40 @@ export interface MoveCaseToBlockedActionProperties {
43
43
  * @required
44
44
  */
45
45
  AdditionalNotes: string;
46
+ /**
47
+ * Ombudsman Ref
48
+ *
49
+ * Ombudsman case number
50
+ * @type {TEXT}
51
+ * @required
52
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
53
+ */
54
+ OmbudsmanRef: string;
55
+ /**
56
+ * Ombudsman Reason
57
+ *
58
+ * Ombudsman Reason
59
+ * @type {ENUM}
60
+ * @required
61
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
62
+ */
63
+ OmbudsmanReason: string;
64
+ /**
65
+ * Escalation Reason
66
+ *
67
+ * Escalation Reason
68
+ * @type {ENUM}
69
+ * @required
70
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
71
+ */
72
+ EscalationReason: string;
73
+ /**
74
+ * SubCategory
75
+ *
76
+ * SubCategory (Customer Service - Case)
77
+ * @type {ENUM}
78
+ */
79
+ SubCategory?: string | null;
46
80
  }
47
81
  /**
48
82
  * Case Blocked
@@ -15,8 +15,8 @@ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/o
15
15
  /**
16
16
  * Properties for MoveCaseToBlockedAction action
17
17
  *
18
- * @property Required fields: 3
19
- * @property Optional fields: 1
18
+ * @property Required fields: 6
19
+ * @property Optional fields: 2
20
20
  */
21
21
  export interface MoveCaseToBlockedActionProperties {
22
22
  /**
@@ -43,6 +43,40 @@ export interface MoveCaseToBlockedActionProperties {
43
43
  * @required
44
44
  */
45
45
  AdditionalNotes: string;
46
+ /**
47
+ * Ombudsman Ref
48
+ *
49
+ * Ombudsman case number
50
+ * @type {TEXT}
51
+ * @required
52
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
53
+ */
54
+ OmbudsmanRef: string;
55
+ /**
56
+ * Ombudsman Reason
57
+ *
58
+ * Ombudsman Reason
59
+ * @type {ENUM}
60
+ * @required
61
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
62
+ */
63
+ OmbudsmanReason: string;
64
+ /**
65
+ * Escalation Reason
66
+ *
67
+ * Escalation Reason
68
+ * @type {ENUM}
69
+ * @required
70
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
71
+ */
72
+ EscalationReason: string;
73
+ /**
74
+ * SubCategory
75
+ *
76
+ * SubCategory (Customer Service - Case)
77
+ * @type {ENUM}
78
+ */
79
+ SubCategory?: string | null;
46
80
  }
47
81
  /**
48
82
  * Case Blocked
@@ -15,8 +15,8 @@ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/o
15
15
  /**
16
16
  * Properties for MoveCaseToBlockedAction action
17
17
  *
18
- * @property Required fields: 3
19
- * @property Optional fields: 1
18
+ * @property Required fields: 6
19
+ * @property Optional fields: 2
20
20
  */
21
21
  export interface MoveCaseToBlockedActionProperties {
22
22
  /**
@@ -43,6 +43,40 @@ export interface MoveCaseToBlockedActionProperties {
43
43
  * @required
44
44
  */
45
45
  AdditionalNotes: string;
46
+ /**
47
+ * Ombudsman Ref
48
+ *
49
+ * Ombudsman case number
50
+ * @type {TEXT}
51
+ * @required
52
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
53
+ */
54
+ OmbudsmanRef: string;
55
+ /**
56
+ * Ombudsman Reason
57
+ *
58
+ * Ombudsman Reason
59
+ * @type {ENUM}
60
+ * @required
61
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
62
+ */
63
+ OmbudsmanReason: string;
64
+ /**
65
+ * Escalation Reason
66
+ *
67
+ * Escalation Reason
68
+ * @type {ENUM}
69
+ * @required
70
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
71
+ */
72
+ EscalationReason: string;
73
+ /**
74
+ * SubCategory
75
+ *
76
+ * SubCategory (Customer Service - Case)
77
+ * @type {ENUM}
78
+ */
79
+ SubCategory?: string | null;
46
80
  }
47
81
  /**
48
82
  * Case Blocked
@@ -0,0 +1,136 @@
1
+ /**
2
+ * CreateOrderPreviousConnectionEmail Action DTO
3
+ *
4
+ * For handling START orders - SENDGRID_ORDER_PREVIOUS_CONNECTION
5
+ *
6
+ * @module NotificationModule
7
+ * @entity Email
8
+ * @entityType TRANSACTIONAL
9
+ * @actionKey CreateOrderPreviousConnectionEmail
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderPreviousConnectionEmail
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 CreateOrderPreviousConnectionEmail created events
17
+ *
18
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderPreviousConnectionEmail
19
+ */
20
+ export interface CreateOrderPreviousConnectionEmailMessage extends OdinRecordCreatedEvent<CreateOrderPreviousConnectionEmailDto, CreateOrderPreviousConnectionEmailProperties> {
21
+ }
22
+ /**
23
+ * Properties for CreateOrderPreviousConnectionEmail action
24
+ *
25
+ * @property Required fields: 0
26
+ * @property Optional fields: 10
27
+ */
28
+ export interface CreateOrderPreviousConnectionEmailProperties {
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
+ * @default SENDGRID_ORDER_PREVIOUS_CONNECTION
56
+ */
57
+ TemplateLabel?: string | null;
58
+ /**
59
+ * MessageId
60
+ *
61
+ * SMTP Message Id (Communications - Email)
62
+ * @type {TEXT}
63
+ */
64
+ MessageId?: string | null;
65
+ /**
66
+ * Email Sender
67
+ *
68
+ * The Email Sender related entity
69
+ * @type {LOOKUP}
70
+ */
71
+ EmailSenderId?: string | null;
72
+ /**
73
+ * DynamicData
74
+ *
75
+ * Data will pass to emailing service (variables)
76
+ * @type {JSON}
77
+ */
78
+ DynamicData?: string | null;
79
+ /**
80
+ * Title
81
+ *
82
+ * Used for title
83
+ * @type {TEXT}
84
+ */
85
+ Title?: string | null;
86
+ /**
87
+ * Subject
88
+ *
89
+ * Data field for Email records. Used by Communications team.
90
+ * @type {TEXT}
91
+ */
92
+ Subject?: string | null;
93
+ /**
94
+ * To
95
+ *
96
+ * Data field for Email records. Used by Communications team.
97
+ * @type {TEXT}
98
+ */
99
+ To?: string | null;
100
+ }
101
+ /**
102
+ * CreateOrderPreviousConnectionEmail
103
+ *
104
+ * For handling START orders - SENDGRID_ORDER_PREVIOUS_CONNECTION
105
+ *
106
+ * @actionType CREATE - Creates a new Email record
107
+ * @module NotificationModule
108
+ * @entity Email
109
+ * @entityType TRANSACTIONAL (TRANSACTIONAL)
110
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderPreviousConnectionEmail
111
+ * @permission schema.action.createorderpreviousconnectionemail.trigger
112
+ * @benchmark This action is tracked for performance benchmarks
113
+ */
114
+ export declare class CreateOrderPreviousConnectionEmailDto extends OdinRecordCreateDto<CreateOrderPreviousConnectionEmailProperties> {
115
+ /** Used by SDK generators to identify action type */
116
+ static readonly ACTION_TYPE = "CREATE";
117
+ static readonly ACTION_KEY = "CreateOrderPreviousConnectionEmail";
118
+ static readonly MODULE_NAME = "NotificationModule";
119
+ static readonly ENTITIES: string[];
120
+ static readonly ENTITY_TYPE = "TRANSACTIONAL";
121
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderPreviousConnectionEmail";
122
+ static readonly PERMISSION = "schema.action.createorderpreviousconnectionemail.trigger";
123
+ /** Step metadata - entity this action targets */
124
+ static readonly STEP_ENTITY = "NotificationModule:Email";
125
+ static readonly STEP_SCHEMA_ID = "cb37958c-d72f-44aa-975a-a8fae42b1b72";
126
+ static readonly STEP_SCHEMA_ACTION_ID = "0c4b8349-4e4c-4ed8-bdad-d96233384f8c";
127
+ static readonly STEP_SCHEMA_TYPE_ID = "14042940-a388-44c7-87fe-3a4105d92e94";
128
+ static readonly STEP_TYPE = "TRANSACTIONAL";
129
+ static readonly AUTO_LINK_PARENT = true;
130
+ readonly actionName: string;
131
+ readonly schemaActionId: string;
132
+ readonly entity: string;
133
+ constructor(properties: CreateOrderPreviousConnectionEmailProperties, options?: {
134
+ journeyId?: string;
135
+ });
136
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /**
3
+ * CreateOrderPreviousConnectionEmail Action DTO
4
+ *
5
+ * For handling START orders - SENDGRID_ORDER_PREVIOUS_CONNECTION
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Email
9
+ * @entityType TRANSACTIONAL
10
+ * @actionKey CreateOrderPreviousConnectionEmail
11
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderPreviousConnectionEmail
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateOrderPreviousConnectionEmailDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * CreateOrderPreviousConnectionEmail
20
+ *
21
+ * For handling START orders - SENDGRID_ORDER_PREVIOUS_CONNECTION
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.CreateOrderPreviousConnectionEmail
28
+ * @permission schema.action.createorderpreviousconnectionemail.trigger
29
+ * @benchmark This action is tracked for performance benchmarks
30
+ */
31
+ class CreateOrderPreviousConnectionEmailDto 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 = 'CreateOrderPreviousConnectionEmail';
40
+ this.schemaActionId = '0c4b8349-4e4c-4ed8-bdad-d96233384f8c';
41
+ this.entity = 'NotificationModule:Email';
42
+ }
43
+ }
44
+ exports.CreateOrderPreviousConnectionEmailDto = CreateOrderPreviousConnectionEmailDto;
45
+ /** Used by SDK generators to identify action type */
46
+ CreateOrderPreviousConnectionEmailDto.ACTION_TYPE = 'CREATE';
47
+ CreateOrderPreviousConnectionEmailDto.ACTION_KEY = 'CreateOrderPreviousConnectionEmail';
48
+ CreateOrderPreviousConnectionEmailDto.MODULE_NAME = 'NotificationModule';
49
+ CreateOrderPreviousConnectionEmailDto.ENTITIES = ['Email'];
50
+ CreateOrderPreviousConnectionEmailDto.ENTITY_TYPE = 'TRANSACTIONAL';
51
+ CreateOrderPreviousConnectionEmailDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderPreviousConnectionEmail';
52
+ CreateOrderPreviousConnectionEmailDto.PERMISSION = 'schema.action.createorderpreviousconnectionemail.trigger';
53
+ /** Step metadata - entity this action targets */
54
+ CreateOrderPreviousConnectionEmailDto.STEP_ENTITY = 'NotificationModule:Email';
55
+ CreateOrderPreviousConnectionEmailDto.STEP_SCHEMA_ID = 'cb37958c-d72f-44aa-975a-a8fae42b1b72';
56
+ CreateOrderPreviousConnectionEmailDto.STEP_SCHEMA_ACTION_ID = '0c4b8349-4e4c-4ed8-bdad-d96233384f8c';
57
+ CreateOrderPreviousConnectionEmailDto.STEP_SCHEMA_TYPE_ID = '14042940-a388-44c7-87fe-3a4105d92e94';
58
+ CreateOrderPreviousConnectionEmailDto.STEP_TYPE = 'TRANSACTIONAL';
59
+ CreateOrderPreviousConnectionEmailDto.AUTO_LINK_PARENT = true;
@@ -22,8 +22,8 @@ export interface MoveCaseToBlockedActionMessage extends OdinRecordUpdatedEvent<M
22
22
  /**
23
23
  * Properties for MoveCaseToBlockedAction action
24
24
  *
25
- * @property Required fields: 3
26
- * @property Optional fields: 1
25
+ * @property Required fields: 6
26
+ * @property Optional fields: 2
27
27
  */
28
28
  export interface MoveCaseToBlockedActionProperties {
29
29
  /**
@@ -50,6 +50,40 @@ export interface MoveCaseToBlockedActionProperties {
50
50
  * @required
51
51
  */
52
52
  AdditionalNotes: string;
53
+ /**
54
+ * Ombudsman Ref
55
+ *
56
+ * Ombudsman case number
57
+ * @type {TEXT}
58
+ * @required
59
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
60
+ */
61
+ OmbudsmanRef: string;
62
+ /**
63
+ * Ombudsman Reason
64
+ *
65
+ * Ombudsman Reason
66
+ * @type {ENUM}
67
+ * @required
68
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
69
+ */
70
+ OmbudsmanReason: string;
71
+ /**
72
+ * Escalation Reason
73
+ *
74
+ * Escalation Reason
75
+ * @type {ENUM}
76
+ * @required
77
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
78
+ */
79
+ EscalationReason: string;
80
+ /**
81
+ * SubCategory
82
+ *
83
+ * SubCategory (Customer Service - Case)
84
+ * @type {ENUM}
85
+ */
86
+ SubCategory?: string | null;
53
87
  }
54
88
  /**
55
89
  * Case Blocked
@@ -15,8 +15,8 @@ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/o
15
15
  /**
16
16
  * Properties for MoveCaseToBlockedAction action
17
17
  *
18
- * @property Required fields: 3
19
- * @property Optional fields: 1
18
+ * @property Required fields: 6
19
+ * @property Optional fields: 2
20
20
  */
21
21
  export interface MoveCaseToBlockedActionProperties {
22
22
  /**
@@ -43,6 +43,40 @@ export interface MoveCaseToBlockedActionProperties {
43
43
  * @required
44
44
  */
45
45
  AdditionalNotes: string;
46
+ /**
47
+ * Ombudsman Ref
48
+ *
49
+ * Ombudsman case number
50
+ * @type {TEXT}
51
+ * @required
52
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
53
+ */
54
+ OmbudsmanRef: string;
55
+ /**
56
+ * Ombudsman Reason
57
+ *
58
+ * Ombudsman Reason
59
+ * @type {ENUM}
60
+ * @required
61
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
62
+ */
63
+ OmbudsmanReason: string;
64
+ /**
65
+ * Escalation Reason
66
+ *
67
+ * Escalation Reason
68
+ * @type {ENUM}
69
+ * @required
70
+ * @visibleWhen SubCategory = ["OMBUDSMAN_CASE"]
71
+ */
72
+ EscalationReason: string;
73
+ /**
74
+ * SubCategory
75
+ *
76
+ * SubCategory (Customer Service - Case)
77
+ * @type {ENUM}
78
+ */
79
+ SubCategory?: string | null;
46
80
  }
47
81
  /**
48
82
  * Case Blocked
@@ -5,6 +5,7 @@
5
5
  *
6
6
  * @module NotificationModule
7
7
  * @entity Email
8
+ * @entityType TRANSACTIONAL
8
9
  * @actionKey SendRefundTransactionEmail
9
10
  * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.SendRefundTransactionEmail
10
11
  *
@@ -97,6 +98,7 @@ export interface SendRefundTransactionEmailProperties {
97
98
  * @actionType CREATE - Creates a new Email record
98
99
  * @module NotificationModule
99
100
  * @entity Email
101
+ * @entityType TRANSACTIONAL (TRANSACTIONAL)
100
102
  * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.SendRefundTransactionEmail
101
103
  * @permission schema.action.sendrefundtransactionemail.trigger
102
104
  * @benchmark This action is tracked for performance benchmarks
@@ -107,12 +109,15 @@ export declare class SendRefundTransactionEmailDto extends OdinRecordCreateDto<S
107
109
  static readonly ACTION_KEY = "SendRefundTransactionEmail";
108
110
  static readonly MODULE_NAME = "NotificationModule";
109
111
  static readonly ENTITIES: string[];
112
+ static readonly ENTITY_TYPE = "TRANSACTIONAL";
110
113
  static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Email.Create.SendRefundTransactionEmail";
111
114
  static readonly PERMISSION = "schema.action.sendrefundtransactionemail.trigger";
112
115
  /** Step metadata - entity this action targets */
113
116
  static readonly STEP_ENTITY = "NotificationModule:Email";
114
117
  static readonly STEP_SCHEMA_ID = "cb37958c-d72f-44aa-975a-a8fae42b1b72";
115
118
  static readonly STEP_SCHEMA_ACTION_ID = "722fe49a-ffb9-4190-ada7-0f5ddcdddf47";
119
+ static readonly STEP_SCHEMA_TYPE_ID = "14042940-a388-44c7-87fe-3a4105d92e94";
120
+ static readonly STEP_TYPE = "TRANSACTIONAL";
116
121
  static readonly AUTO_LINK_PARENT = true;
117
122
  readonly actionName: string;
118
123
  readonly schemaActionId: string;
@@ -6,6 +6,7 @@
6
6
  *
7
7
  * @module NotificationModule
8
8
  * @entity Email
9
+ * @entityType TRANSACTIONAL
9
10
  * @actionKey SendRefundTransactionEmail
10
11
  * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.SendRefundTransactionEmail
11
12
  *
@@ -22,6 +23,7 @@ const core_1 = require("@d19n/odin-types/dist/core");
22
23
  * @actionType CREATE - Creates a new Email record
23
24
  * @module NotificationModule
24
25
  * @entity Email
26
+ * @entityType TRANSACTIONAL (TRANSACTIONAL)
25
27
  * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.SendRefundTransactionEmail
26
28
  * @permission schema.action.sendrefundtransactionemail.trigger
27
29
  * @benchmark This action is tracked for performance benchmarks
@@ -30,7 +32,7 @@ class SendRefundTransactionEmailDto extends core_1.OdinRecordCreateDto {
30
32
  constructor(properties, options) {
31
33
  super({
32
34
  entity: 'NotificationModule:Email',
33
- type: undefined,
35
+ type: 'TRANSACTIONAL',
34
36
  properties,
35
37
  journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
36
38
  });
@@ -45,10 +47,13 @@ SendRefundTransactionEmailDto.ACTION_TYPE = 'CREATE';
45
47
  SendRefundTransactionEmailDto.ACTION_KEY = 'SendRefundTransactionEmail';
46
48
  SendRefundTransactionEmailDto.MODULE_NAME = 'NotificationModule';
47
49
  SendRefundTransactionEmailDto.ENTITIES = ['Email'];
50
+ SendRefundTransactionEmailDto.ENTITY_TYPE = 'TRANSACTIONAL';
48
51
  SendRefundTransactionEmailDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Email.Create.SendRefundTransactionEmail';
49
52
  SendRefundTransactionEmailDto.PERMISSION = 'schema.action.sendrefundtransactionemail.trigger';
50
53
  /** Step metadata - entity this action targets */
51
54
  SendRefundTransactionEmailDto.STEP_ENTITY = 'NotificationModule:Email';
52
55
  SendRefundTransactionEmailDto.STEP_SCHEMA_ID = 'cb37958c-d72f-44aa-975a-a8fae42b1b72';
53
56
  SendRefundTransactionEmailDto.STEP_SCHEMA_ACTION_ID = '722fe49a-ffb9-4190-ada7-0f5ddcdddf47';
57
+ SendRefundTransactionEmailDto.STEP_SCHEMA_TYPE_ID = '14042940-a388-44c7-87fe-3a4105d92e94';
58
+ SendRefundTransactionEmailDto.STEP_TYPE = 'TRANSACTIONAL';
54
59
  SendRefundTransactionEmailDto.AUTO_LINK_PARENT = true;