@d19n/youfibre-odin-sdk 2.0.262 → 2.0.263
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.
- package/README.md +2 -1
- package/dist/actions-v2/CaseTransitionEscalatedToBlockedDto.d.ts +36 -2
- package/dist/actions-v2/CaseTransitionOpenToBlockedDto.d.ts +36 -2
- package/dist/actions-v2/CaseTransitionPendingAgentToBlockedDto.d.ts +36 -2
- package/dist/actions-v2/CaseTransitionPendingReplyToBlockedDto.d.ts +36 -2
- package/dist/actions-v2/CasedefaultstageblockedDto.d.ts +36 -2
- package/dist/actions-v2/CreateOrderPreviousConnectionEmailDto.d.ts +136 -0
- package/dist/actions-v2/CreateOrderPreviousConnectionEmailDto.js +59 -0
- package/dist/actions-v2/MoveCaseToBlockedActionDto.d.ts +36 -2
- package/dist/actions-v2/MoveCaseToBlockedTransitionDto.d.ts +36 -2
- package/dist/actions-v2/SendRefundTransactionEmailDto.d.ts +5 -0
- package/dist/actions-v2/SendRefundTransactionEmailDto.js +6 -1
- package/dist/entities-v2/Case.d.ts +78 -0
- package/dist/entities-v2/Case.js +48 -2
- package/dist/entities-v2/Recontract.d.ts +48 -0
- package/dist/entities-v2/Recontract.js +12 -0
- package/dist/entities-v2/WorkOrder.d.ts +50 -2
- package/dist/entities-v2/WorkOrder.js +48 -0
- package/dist/records-v2/EmailRecord.d.ts +31 -2
- package/dist/records-v2/EmailRecord.js +39 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -364,7 +364,7 @@ This SDK includes **176** entities across **12** modules.
|
|
|
364
364
|
|
|
365
365
|
## Actions
|
|
366
366
|
|
|
367
|
-
This SDK includes **
|
|
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:
|
|
19
|
-
* @property Optional fields:
|
|
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:
|
|
19
|
-
* @property Optional fields:
|
|
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:
|
|
19
|
-
* @property Optional fields:
|
|
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:
|
|
19
|
-
* @property Optional fields:
|
|
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:
|
|
19
|
-
* @property Optional fields:
|
|
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:
|
|
26
|
-
* @property Optional fields:
|
|
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:
|
|
19
|
-
* @property Optional fields:
|
|
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:
|
|
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;
|
|
@@ -750,6 +750,44 @@ export declare enum CaseSource {
|
|
|
750
750
|
USERESPONSE = "USERESPONSE",
|
|
751
751
|
WEBSITE = "WEBSITE"
|
|
752
752
|
}
|
|
753
|
+
/**
|
|
754
|
+
* Valid values for Case.OmbudsmanReason
|
|
755
|
+
*
|
|
756
|
+
* Ombudsman Reason
|
|
757
|
+
*
|
|
758
|
+
* @remarks Available options:
|
|
759
|
+
* - `A_PROBLEM_MAKING_CHANGES_TO_MY_ACCOUNT` - A problem making changes to my account
|
|
760
|
+
* - `A_PROBLEM_WITH_MY_BILL_OR_PAYMENTS` - A problem with my bill or payments
|
|
761
|
+
* - `I_HAVE_BEEN_MISSOLD_A_SERVICE` - I have been mis-sold a service
|
|
762
|
+
* - `I_HAVE_HAD_PROBLEMS_WITH_MY_SERVICE` - I have had problems with my service
|
|
763
|
+
* - `THE_LEVEL_OF_CUSTOMER_SERVICE` - The level of customer service
|
|
764
|
+
*/
|
|
765
|
+
export declare enum CaseOmbudsmanReason {
|
|
766
|
+
A_PROBLEM_MAKING_CHANGES_TO_MY_ACCOUNT = "A_PROBLEM_MAKING_CHANGES_TO_MY_ACCOUNT",
|
|
767
|
+
A_PROBLEM_WITH_MY_BILL_OR_PAYMENTS = "A_PROBLEM_WITH_MY_BILL_OR_PAYMENTS",
|
|
768
|
+
I_HAVE_BEEN_MIS_SOLD_A_SERVICE = "I_HAVE_BEEN_MISSOLD_A_SERVICE",
|
|
769
|
+
I_HAVE_HAD_PROBLEMS_WITH_MY_SERVICE = "I_HAVE_HAD_PROBLEMS_WITH_MY_SERVICE",
|
|
770
|
+
THE_LEVEL_OF_CUSTOMER_SERVICE = "THE_LEVEL_OF_CUSTOMER_SERVICE"
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* Valid values for Case.EscalationReason
|
|
774
|
+
*
|
|
775
|
+
* Escalation Reason
|
|
776
|
+
*
|
|
777
|
+
* @remarks Available options:
|
|
778
|
+
* - `CUSTOMER_SERVICE_EXPERIENCE` - Customer Service Experience
|
|
779
|
+
* - `DEADLOCKED_COMPLAINT` - Deadlocked Complaint
|
|
780
|
+
* - `HANDLING_FAILURES` - Handling Failure
|
|
781
|
+
* - `SALES_AND_CONTRACT_ISSUES` - Sales & Contract Issues
|
|
782
|
+
* - `SERVICE_PERFORMANCE_ISSUES` - Service Performance Issues
|
|
783
|
+
*/
|
|
784
|
+
export declare enum CaseEscalationReason {
|
|
785
|
+
CUSTOMER_SERVICE_EXPERIENCE = "CUSTOMER_SERVICE_EXPERIENCE",
|
|
786
|
+
DEADLOCKED_COMPLAINT = "DEADLOCKED_COMPLAINT",
|
|
787
|
+
HANDLING_FAILURE = "HANDLING_FAILURES",
|
|
788
|
+
SALES_CONTRACT_ISSUES = "SALES_AND_CONTRACT_ISSUES",
|
|
789
|
+
SERVICE_PERFORMANCE_ISSUES = "SERVICE_PERFORMANCE_ISSUES"
|
|
790
|
+
}
|
|
753
791
|
/**
|
|
754
792
|
* Valid values for Case.LastDialOutcome
|
|
755
793
|
*
|
|
@@ -989,6 +1027,12 @@ export declare enum CasePropertyKeys {
|
|
|
989
1027
|
CCreatedAt = "C_CreatedAt",
|
|
990
1028
|
/** This id represents the id receved from social media platforms for a user (Customer Service - Case) */
|
|
991
1029
|
SocialMediaExternalId = "SocialMediaExternalId",
|
|
1030
|
+
/** Ombudsman case number */
|
|
1031
|
+
OmbudsmanRef = "OmbudsmanRef",
|
|
1032
|
+
/** Ombudsman Reason */
|
|
1033
|
+
OmbudsmanReason = "OmbudsmanReason",
|
|
1034
|
+
/** Escalation Reason */
|
|
1035
|
+
EscalationReason = "EscalationReason",
|
|
992
1036
|
/** DialAttemptCount */
|
|
993
1037
|
DialAttemptCount = "DialAttemptCount",
|
|
994
1038
|
/** NextDialAt */
|
|
@@ -1497,6 +1541,23 @@ export interface CaseProperties {
|
|
|
1497
1541
|
* @type {TEXT}
|
|
1498
1542
|
*/
|
|
1499
1543
|
SocialMediaExternalId: string;
|
|
1544
|
+
/** Ombudsman case number
|
|
1545
|
+
*
|
|
1546
|
+
* @type {TEXT}
|
|
1547
|
+
*/
|
|
1548
|
+
OmbudsmanRef: string;
|
|
1549
|
+
/** Ombudsman Reason
|
|
1550
|
+
*
|
|
1551
|
+
* @type {ENUM}
|
|
1552
|
+
* @enum {CaseOmbudsmanReason}
|
|
1553
|
+
*/
|
|
1554
|
+
OmbudsmanReason: CaseOmbudsmanReason;
|
|
1555
|
+
/** Escalation Reason
|
|
1556
|
+
*
|
|
1557
|
+
* @type {ENUM}
|
|
1558
|
+
* @enum {CaseEscalationReason}
|
|
1559
|
+
*/
|
|
1560
|
+
EscalationReason: CaseEscalationReason;
|
|
1500
1561
|
/** DialAttemptCount
|
|
1501
1562
|
*
|
|
1502
1563
|
* @type {NUMBER}
|
|
@@ -2037,6 +2098,23 @@ export interface OutageCaseProperties {
|
|
|
2037
2098
|
* @type {TEXT}
|
|
2038
2099
|
*/
|
|
2039
2100
|
SocialMediaExternalId: string;
|
|
2101
|
+
/** Ombudsman case number
|
|
2102
|
+
*
|
|
2103
|
+
* @type {TEXT}
|
|
2104
|
+
*/
|
|
2105
|
+
OmbudsmanRef: string;
|
|
2106
|
+
/** Ombudsman Reason
|
|
2107
|
+
*
|
|
2108
|
+
* @type {ENUM}
|
|
2109
|
+
* @enum {CaseOmbudsmanReason}
|
|
2110
|
+
*/
|
|
2111
|
+
OmbudsmanReason: CaseOmbudsmanReason;
|
|
2112
|
+
/** Escalation Reason
|
|
2113
|
+
*
|
|
2114
|
+
* @type {ENUM}
|
|
2115
|
+
* @enum {CaseEscalationReason}
|
|
2116
|
+
*/
|
|
2117
|
+
EscalationReason: CaseEscalationReason;
|
|
2040
2118
|
/** DialAttemptCount
|
|
2041
2119
|
*
|
|
2042
2120
|
* @type {NUMBER}
|
package/dist/entities-v2/Case.js
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
16
|
-
exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_DELETED = exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_DELETED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CASE_USER_DELETED = exports.ROUTING_KEY_LINK_CASE_USER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_EMAIL_DELETED = exports.ROUTING_KEY_LINK_CASE_EMAIL_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_TEAM_DELETED = exports.ROUTING_KEY_LINK_CASE_TEAM_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_CREATED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_CASE_OUTAGE_DELETED = exports.ROUTING_KEY_CASE_OUTAGE_UPDATED = exports.ROUTING_KEY_CASE_OUTAGE_CREATED = exports.ROUTING_KEY_CASE_DEFAULT_DELETED = exports.ROUTING_KEY_CASE_DEFAULT_UPDATED = exports.ROUTING_KEY_CASE_DEFAULT_CREATED = exports.ROUTING_KEY_CASE_DELETED = exports.ROUTING_KEY_CASE_UPDATED = exports.ROUTING_KEY_CASE_CREATED = exports.Case = exports.CasePropertyKeys = exports.CaseDeprecated = exports.CaseRetentionOutcome = exports.CaseVulnerableCustomer = exports.CaseLastDialOutcome = exports.CaseEscalationReason = exports.CaseOmbudsmanReason = exports.CaseSource = exports.CaseReasonForReview = exports.CaseImpact = exports.CaseCsatReason = exports.CaseBusinessArea = exports.CaseRetentionOffer = exports.CaseSla = exports.CaseReasonForLeaving = exports.CaseDpaCustomerType = exports.CaseDpaCustomerCategory = exports.CaseConversationStatus = exports.CaseBlockedReason = exports.CaseSubCategory = exports.CaseCategory = exports.CaseChannel = exports.CaseProblem = exports.CasePrimaryExceptionReason = exports.CasePrimaryException = exports.CaseFormalComplaint = exports.CaseOrigin = exports.CaseProviders = exports.CaseCsatResolutionReason = exports.CaseComplaint = exports.CaseCsatAgentReason = exports.OutageCaseStageKeys = exports.OutageCaseStageNames = exports.DefaultCaseStageKeys = exports.DefaultCaseStageNames = exports.CaseEntityTypes = void 0;
|
|
16
|
+
exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_DELETED = exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_DELETED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CASE_USER_DELETED = exports.ROUTING_KEY_LINK_CASE_USER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_EMAIL_DELETED = exports.ROUTING_KEY_LINK_CASE_EMAIL_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_TEAM_DELETED = exports.ROUTING_KEY_LINK_CASE_TEAM_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = exports.ROUTING_KEY_LINK_CASE_FILE_DELETED = exports.ROUTING_KEY_LINK_CASE_FILE_CREATED = void 0;
|
|
17
17
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
18
|
/**
|
|
19
19
|
* Available types for Case records
|
|
@@ -760,6 +760,46 @@ var CaseSource;
|
|
|
760
760
|
CaseSource["USERESPONSE"] = "USERESPONSE";
|
|
761
761
|
CaseSource["WEBSITE"] = "WEBSITE";
|
|
762
762
|
})(CaseSource = exports.CaseSource || (exports.CaseSource = {}));
|
|
763
|
+
/**
|
|
764
|
+
* Valid values for Case.OmbudsmanReason
|
|
765
|
+
*
|
|
766
|
+
* Ombudsman Reason
|
|
767
|
+
*
|
|
768
|
+
* @remarks Available options:
|
|
769
|
+
* - `A_PROBLEM_MAKING_CHANGES_TO_MY_ACCOUNT` - A problem making changes to my account
|
|
770
|
+
* - `A_PROBLEM_WITH_MY_BILL_OR_PAYMENTS` - A problem with my bill or payments
|
|
771
|
+
* - `I_HAVE_BEEN_MISSOLD_A_SERVICE` - I have been mis-sold a service
|
|
772
|
+
* - `I_HAVE_HAD_PROBLEMS_WITH_MY_SERVICE` - I have had problems with my service
|
|
773
|
+
* - `THE_LEVEL_OF_CUSTOMER_SERVICE` - The level of customer service
|
|
774
|
+
*/
|
|
775
|
+
var CaseOmbudsmanReason;
|
|
776
|
+
(function (CaseOmbudsmanReason) {
|
|
777
|
+
CaseOmbudsmanReason["A_PROBLEM_MAKING_CHANGES_TO_MY_ACCOUNT"] = "A_PROBLEM_MAKING_CHANGES_TO_MY_ACCOUNT";
|
|
778
|
+
CaseOmbudsmanReason["A_PROBLEM_WITH_MY_BILL_OR_PAYMENTS"] = "A_PROBLEM_WITH_MY_BILL_OR_PAYMENTS";
|
|
779
|
+
CaseOmbudsmanReason["I_HAVE_BEEN_MIS_SOLD_A_SERVICE"] = "I_HAVE_BEEN_MISSOLD_A_SERVICE";
|
|
780
|
+
CaseOmbudsmanReason["I_HAVE_HAD_PROBLEMS_WITH_MY_SERVICE"] = "I_HAVE_HAD_PROBLEMS_WITH_MY_SERVICE";
|
|
781
|
+
CaseOmbudsmanReason["THE_LEVEL_OF_CUSTOMER_SERVICE"] = "THE_LEVEL_OF_CUSTOMER_SERVICE";
|
|
782
|
+
})(CaseOmbudsmanReason = exports.CaseOmbudsmanReason || (exports.CaseOmbudsmanReason = {}));
|
|
783
|
+
/**
|
|
784
|
+
* Valid values for Case.EscalationReason
|
|
785
|
+
*
|
|
786
|
+
* Escalation Reason
|
|
787
|
+
*
|
|
788
|
+
* @remarks Available options:
|
|
789
|
+
* - `CUSTOMER_SERVICE_EXPERIENCE` - Customer Service Experience
|
|
790
|
+
* - `DEADLOCKED_COMPLAINT` - Deadlocked Complaint
|
|
791
|
+
* - `HANDLING_FAILURES` - Handling Failure
|
|
792
|
+
* - `SALES_AND_CONTRACT_ISSUES` - Sales & Contract Issues
|
|
793
|
+
* - `SERVICE_PERFORMANCE_ISSUES` - Service Performance Issues
|
|
794
|
+
*/
|
|
795
|
+
var CaseEscalationReason;
|
|
796
|
+
(function (CaseEscalationReason) {
|
|
797
|
+
CaseEscalationReason["CUSTOMER_SERVICE_EXPERIENCE"] = "CUSTOMER_SERVICE_EXPERIENCE";
|
|
798
|
+
CaseEscalationReason["DEADLOCKED_COMPLAINT"] = "DEADLOCKED_COMPLAINT";
|
|
799
|
+
CaseEscalationReason["HANDLING_FAILURE"] = "HANDLING_FAILURES";
|
|
800
|
+
CaseEscalationReason["SALES_CONTRACT_ISSUES"] = "SALES_AND_CONTRACT_ISSUES";
|
|
801
|
+
CaseEscalationReason["SERVICE_PERFORMANCE_ISSUES"] = "SERVICE_PERFORMANCE_ISSUES";
|
|
802
|
+
})(CaseEscalationReason = exports.CaseEscalationReason || (exports.CaseEscalationReason = {}));
|
|
763
803
|
/**
|
|
764
804
|
* Valid values for Case.LastDialOutcome
|
|
765
805
|
*
|
|
@@ -1004,6 +1044,12 @@ var CasePropertyKeys;
|
|
|
1004
1044
|
CasePropertyKeys["CCreatedAt"] = "C_CreatedAt";
|
|
1005
1045
|
/** This id represents the id receved from social media platforms for a user (Customer Service - Case) */
|
|
1006
1046
|
CasePropertyKeys["SocialMediaExternalId"] = "SocialMediaExternalId";
|
|
1047
|
+
/** Ombudsman case number */
|
|
1048
|
+
CasePropertyKeys["OmbudsmanRef"] = "OmbudsmanRef";
|
|
1049
|
+
/** Ombudsman Reason */
|
|
1050
|
+
CasePropertyKeys["OmbudsmanReason"] = "OmbudsmanReason";
|
|
1051
|
+
/** Escalation Reason */
|
|
1052
|
+
CasePropertyKeys["EscalationReason"] = "EscalationReason";
|
|
1007
1053
|
/** DialAttemptCount */
|
|
1008
1054
|
CasePropertyKeys["DialAttemptCount"] = "DialAttemptCount";
|
|
1009
1055
|
/** NextDialAt */
|
|
@@ -37,6 +37,18 @@ export declare enum RecontractSource {
|
|
|
37
37
|
* Use these constants instead of string literals for type safety
|
|
38
38
|
*/
|
|
39
39
|
export declare enum RecontractPropertyKeys {
|
|
40
|
+
/** The ContractStartDate the Order carried immediately BEFORE this recontract was applied. Captured because amend-in-place overwrites it on the Order and no property-change audit exists to recover it. Twin of PreviousItems / PreviousOfferId. */
|
|
41
|
+
PreviousContractStartDate = "PreviousContractStartDate",
|
|
42
|
+
/** The ContractEndDate the Order carried immediately BEFORE this recontract was applied. Determines whether a billing period between the old term ending and the new term starting was genuinely out of contract (and therefore correctly billed at full price). */
|
|
43
|
+
PreviousContractEndDate = "PreviousContractEndDate",
|
|
44
|
+
/** The ContractType (term length, e.g. ANNUAL_12) the Order carried immediately BEFORE this recontract. Raw value, not an ENUM — see spec header. */
|
|
45
|
+
PreviousContractType = "PreviousContractType",
|
|
46
|
+
/** The ContractStartDate this recontract SET on the Order — the new term start. Equals the computed billing anchor (previous Invoice.BillingPeriodEnd + 1 day). */
|
|
47
|
+
NextContractStartDate = "NextContractStartDate",
|
|
48
|
+
/** The ContractEndDate this recontract SET on the Order, derived by ContractTermCalculatorService.computeContractEndDate from the new start + the new items. */
|
|
49
|
+
NextContractEndDate = "NextContractEndDate",
|
|
50
|
+
/** The ContractType (term length, e.g. ANNUAL_24) this recontract SET on the Order. Raw value, not an ENUM — see spec header. */
|
|
51
|
+
NextContractType = "NextContractType",
|
|
40
52
|
/** Recontract title (e.g. "OR1654429 recontract 2026-07-24"). */
|
|
41
53
|
Name = "Name",
|
|
42
54
|
/** Snapshot of the order items BEFORE the recontract (rollback source). */
|
|
@@ -60,6 +72,42 @@ export declare enum RecontractPropertyKeys {
|
|
|
60
72
|
* @see OrderModule:Recontract
|
|
61
73
|
*/
|
|
62
74
|
export interface RecontractProperties {
|
|
75
|
+
/** The ContractStartDate the Order carried immediately BEFORE this recontract was applied. Captured because amend-in-place overwrites it on the Order and no property-change audit exists to recover it. Twin of PreviousItems / PreviousOfferId.
|
|
76
|
+
*
|
|
77
|
+
* @type {DATE}
|
|
78
|
+
* @default
|
|
79
|
+
*/
|
|
80
|
+
PreviousContractStartDate: string;
|
|
81
|
+
/** The ContractEndDate the Order carried immediately BEFORE this recontract was applied. Determines whether a billing period between the old term ending and the new term starting was genuinely out of contract (and therefore correctly billed at full price).
|
|
82
|
+
*
|
|
83
|
+
* @type {DATE}
|
|
84
|
+
* @default
|
|
85
|
+
*/
|
|
86
|
+
PreviousContractEndDate: string;
|
|
87
|
+
/** The ContractType (term length, e.g. ANNUAL_12) the Order carried immediately BEFORE this recontract. Raw value, not an ENUM — see spec header.
|
|
88
|
+
*
|
|
89
|
+
* @type {TEXT}
|
|
90
|
+
* @default
|
|
91
|
+
*/
|
|
92
|
+
PreviousContractType: string;
|
|
93
|
+
/** The ContractStartDate this recontract SET on the Order — the new term start. Equals the computed billing anchor (previous Invoice.BillingPeriodEnd + 1 day).
|
|
94
|
+
*
|
|
95
|
+
* @type {DATE}
|
|
96
|
+
* @default
|
|
97
|
+
*/
|
|
98
|
+
NextContractStartDate: string;
|
|
99
|
+
/** The ContractEndDate this recontract SET on the Order, derived by ContractTermCalculatorService.computeContractEndDate from the new start + the new items.
|
|
100
|
+
*
|
|
101
|
+
* @type {DATE}
|
|
102
|
+
* @default
|
|
103
|
+
*/
|
|
104
|
+
NextContractEndDate: string;
|
|
105
|
+
/** The ContractType (term length, e.g. ANNUAL_24) this recontract SET on the Order. Raw value, not an ENUM — see spec header.
|
|
106
|
+
*
|
|
107
|
+
* @type {TEXT}
|
|
108
|
+
* @default
|
|
109
|
+
*/
|
|
110
|
+
NextContractType: string;
|
|
63
111
|
/** Recontract title (e.g. "OR1654429 recontract 2026-07-24").
|
|
64
112
|
*
|
|
65
113
|
* @type {TEXT}
|
|
@@ -42,6 +42,18 @@ var RecontractSource;
|
|
|
42
42
|
*/
|
|
43
43
|
var RecontractPropertyKeys;
|
|
44
44
|
(function (RecontractPropertyKeys) {
|
|
45
|
+
/** The ContractStartDate the Order carried immediately BEFORE this recontract was applied. Captured because amend-in-place overwrites it on the Order and no property-change audit exists to recover it. Twin of PreviousItems / PreviousOfferId. */
|
|
46
|
+
RecontractPropertyKeys["PreviousContractStartDate"] = "PreviousContractStartDate";
|
|
47
|
+
/** The ContractEndDate the Order carried immediately BEFORE this recontract was applied. Determines whether a billing period between the old term ending and the new term starting was genuinely out of contract (and therefore correctly billed at full price). */
|
|
48
|
+
RecontractPropertyKeys["PreviousContractEndDate"] = "PreviousContractEndDate";
|
|
49
|
+
/** The ContractType (term length, e.g. ANNUAL_12) the Order carried immediately BEFORE this recontract. Raw value, not an ENUM — see spec header. */
|
|
50
|
+
RecontractPropertyKeys["PreviousContractType"] = "PreviousContractType";
|
|
51
|
+
/** The ContractStartDate this recontract SET on the Order — the new term start. Equals the computed billing anchor (previous Invoice.BillingPeriodEnd + 1 day). */
|
|
52
|
+
RecontractPropertyKeys["NextContractStartDate"] = "NextContractStartDate";
|
|
53
|
+
/** The ContractEndDate this recontract SET on the Order, derived by ContractTermCalculatorService.computeContractEndDate from the new start + the new items. */
|
|
54
|
+
RecontractPropertyKeys["NextContractEndDate"] = "NextContractEndDate";
|
|
55
|
+
/** The ContractType (term length, e.g. ANNUAL_24) this recontract SET on the Order. Raw value, not an ENUM — see spec header. */
|
|
56
|
+
RecontractPropertyKeys["NextContractType"] = "NextContractType";
|
|
45
57
|
/** Recontract title (e.g. "OR1654429 recontract 2026-07-24"). */
|
|
46
58
|
RecontractPropertyKeys["Name"] = "Name";
|
|
47
59
|
/** Snapshot of the order items BEFORE the recontract (rollback source). */
|
|
@@ -591,7 +591,31 @@ export declare enum RemediationWorkOrderStageKeys {
|
|
|
591
591
|
*/
|
|
592
592
|
export declare enum ReplacementAmcoWorkOrderStageNames {
|
|
593
593
|
/** Created (default) */
|
|
594
|
-
Created = "Created"
|
|
594
|
+
Created = "Created",
|
|
595
|
+
/** Received */
|
|
596
|
+
Received = "Received",
|
|
597
|
+
/** Processed */
|
|
598
|
+
Processed = "Processed",
|
|
599
|
+
/** En Route */
|
|
600
|
+
EnRoute = "En Route",
|
|
601
|
+
/** Delivered */
|
|
602
|
+
Delivered = "Delivered",
|
|
603
|
+
/** Pending Return */
|
|
604
|
+
PendingReturn = "Pending Return",
|
|
605
|
+
/** Pending Inspection */
|
|
606
|
+
PendingInspection = "Pending Inspection",
|
|
607
|
+
/** Error */
|
|
608
|
+
Error = "Error",
|
|
609
|
+
/** Failed Inspection */
|
|
610
|
+
FailedInspection = "Failed Inspection",
|
|
611
|
+
/** Non Returned */
|
|
612
|
+
NonReturned = "Non Returned",
|
|
613
|
+
/** Cancelled */
|
|
614
|
+
Cancelled = "Cancelled",
|
|
615
|
+
/** Overridden */
|
|
616
|
+
Overridden = "Overridden",
|
|
617
|
+
/** Complete */
|
|
618
|
+
Complete = "Complete"
|
|
595
619
|
}
|
|
596
620
|
/**
|
|
597
621
|
* Pipeline stage keys for REPLACEMENT_AMCO WorkOrder
|
|
@@ -599,7 +623,31 @@ export declare enum ReplacementAmcoWorkOrderStageNames {
|
|
|
599
623
|
*/
|
|
600
624
|
export declare enum ReplacementAmcoWorkOrderStageKeys {
|
|
601
625
|
/** Created */
|
|
602
|
-
ReplacementAmcoStageCreated = "ReplacementAmcoStageCreated"
|
|
626
|
+
ReplacementAmcoStageCreated = "ReplacementAmcoStageCreated",
|
|
627
|
+
/** Received */
|
|
628
|
+
ReplacementAmcoStageReceived = "ReplacementAmcoStageReceived",
|
|
629
|
+
/** Processed */
|
|
630
|
+
ReplacementAmcoStageProcessed = "ReplacementAmcoStageProcessed",
|
|
631
|
+
/** En Route */
|
|
632
|
+
ReplacementAmcoStageEnRoute = "ReplacementAmcoStageEnRoute",
|
|
633
|
+
/** Delivered */
|
|
634
|
+
ReplacementAmcoStageDelivered = "ReplacementAmcoStageDelivered",
|
|
635
|
+
/** Pending Return */
|
|
636
|
+
ReplacementAmcoStagePendingReturn = "ReplacementAmcoStagePendingReturn",
|
|
637
|
+
/** Pending Inspection */
|
|
638
|
+
ReplacementAmcoStagePendingInspection = "ReplacementAmcoStagePendingInspection",
|
|
639
|
+
/** Error */
|
|
640
|
+
ReplacementAmcoStageError = "ReplacementAmcoStageError",
|
|
641
|
+
/** Failed Inspection */
|
|
642
|
+
ReplacementAmcoStageFailedInspection = "ReplacementAmcoStageFailedInspection",
|
|
643
|
+
/** Non Returned */
|
|
644
|
+
ReplacementAmcoStageNonReturned = "ReplacementAmcoStageNonReturned",
|
|
645
|
+
/** Cancelled */
|
|
646
|
+
ReplacementAmcoStageCancelled = "ReplacementAmcoStageCancelled",
|
|
647
|
+
/** Overridden */
|
|
648
|
+
ReplacementAmcoStageOverridden = "ReplacementAmcoStageOverridden",
|
|
649
|
+
/** Complete */
|
|
650
|
+
ReplacementAmcoStageComplete = "ReplacementAmcoStageComplete"
|
|
603
651
|
}
|
|
604
652
|
/**
|
|
605
653
|
* Pipeline stage names for SERVICE WorkOrder
|
|
@@ -564,6 +564,30 @@ var ReplacementAmcoWorkOrderStageNames;
|
|
|
564
564
|
(function (ReplacementAmcoWorkOrderStageNames) {
|
|
565
565
|
/** Created (default) */
|
|
566
566
|
ReplacementAmcoWorkOrderStageNames["Created"] = "Created";
|
|
567
|
+
/** Received */
|
|
568
|
+
ReplacementAmcoWorkOrderStageNames["Received"] = "Received";
|
|
569
|
+
/** Processed */
|
|
570
|
+
ReplacementAmcoWorkOrderStageNames["Processed"] = "Processed";
|
|
571
|
+
/** En Route */
|
|
572
|
+
ReplacementAmcoWorkOrderStageNames["EnRoute"] = "En Route";
|
|
573
|
+
/** Delivered */
|
|
574
|
+
ReplacementAmcoWorkOrderStageNames["Delivered"] = "Delivered";
|
|
575
|
+
/** Pending Return */
|
|
576
|
+
ReplacementAmcoWorkOrderStageNames["PendingReturn"] = "Pending Return";
|
|
577
|
+
/** Pending Inspection */
|
|
578
|
+
ReplacementAmcoWorkOrderStageNames["PendingInspection"] = "Pending Inspection";
|
|
579
|
+
/** Error */
|
|
580
|
+
ReplacementAmcoWorkOrderStageNames["Error"] = "Error";
|
|
581
|
+
/** Failed Inspection */
|
|
582
|
+
ReplacementAmcoWorkOrderStageNames["FailedInspection"] = "Failed Inspection";
|
|
583
|
+
/** Non Returned */
|
|
584
|
+
ReplacementAmcoWorkOrderStageNames["NonReturned"] = "Non Returned";
|
|
585
|
+
/** Cancelled */
|
|
586
|
+
ReplacementAmcoWorkOrderStageNames["Cancelled"] = "Cancelled";
|
|
587
|
+
/** Overridden */
|
|
588
|
+
ReplacementAmcoWorkOrderStageNames["Overridden"] = "Overridden";
|
|
589
|
+
/** Complete */
|
|
590
|
+
ReplacementAmcoWorkOrderStageNames["Complete"] = "Complete";
|
|
567
591
|
})(ReplacementAmcoWorkOrderStageNames = exports.ReplacementAmcoWorkOrderStageNames || (exports.ReplacementAmcoWorkOrderStageNames = {}));
|
|
568
592
|
/**
|
|
569
593
|
* Pipeline stage keys for REPLACEMENT_AMCO WorkOrder
|
|
@@ -573,6 +597,30 @@ var ReplacementAmcoWorkOrderStageKeys;
|
|
|
573
597
|
(function (ReplacementAmcoWorkOrderStageKeys) {
|
|
574
598
|
/** Created */
|
|
575
599
|
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageCreated"] = "ReplacementAmcoStageCreated";
|
|
600
|
+
/** Received */
|
|
601
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageReceived"] = "ReplacementAmcoStageReceived";
|
|
602
|
+
/** Processed */
|
|
603
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageProcessed"] = "ReplacementAmcoStageProcessed";
|
|
604
|
+
/** En Route */
|
|
605
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageEnRoute"] = "ReplacementAmcoStageEnRoute";
|
|
606
|
+
/** Delivered */
|
|
607
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageDelivered"] = "ReplacementAmcoStageDelivered";
|
|
608
|
+
/** Pending Return */
|
|
609
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStagePendingReturn"] = "ReplacementAmcoStagePendingReturn";
|
|
610
|
+
/** Pending Inspection */
|
|
611
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStagePendingInspection"] = "ReplacementAmcoStagePendingInspection";
|
|
612
|
+
/** Error */
|
|
613
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageError"] = "ReplacementAmcoStageError";
|
|
614
|
+
/** Failed Inspection */
|
|
615
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageFailedInspection"] = "ReplacementAmcoStageFailedInspection";
|
|
616
|
+
/** Non Returned */
|
|
617
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageNonReturned"] = "ReplacementAmcoStageNonReturned";
|
|
618
|
+
/** Cancelled */
|
|
619
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageCancelled"] = "ReplacementAmcoStageCancelled";
|
|
620
|
+
/** Overridden */
|
|
621
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageOverridden"] = "ReplacementAmcoStageOverridden";
|
|
622
|
+
/** Complete */
|
|
623
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageComplete"] = "ReplacementAmcoStageComplete";
|
|
576
624
|
})(ReplacementAmcoWorkOrderStageKeys = exports.ReplacementAmcoWorkOrderStageKeys || (exports.ReplacementAmcoWorkOrderStageKeys = {}));
|
|
577
625
|
/**
|
|
578
626
|
* Pipeline stage names for SERVICE WorkOrder
|
|
@@ -35,6 +35,7 @@ import { CreateGenericRemediationRequiredProperties } from '../actions-v2/Create
|
|
|
35
35
|
import { CreateNewCreditNoteProperties } from '../actions-v2/CreateNewCreditNoteDto';
|
|
36
36
|
import { CreateNewInvoiceProperties } from '../actions-v2/CreateNewInvoiceDto';
|
|
37
37
|
import { CreateOrderConfirmationProperties } from '../actions-v2/CreateOrderConfirmationDto';
|
|
38
|
+
import { CreateOrderPreviousConnectionEmailProperties } from '../actions-v2/CreateOrderPreviousConnectionEmailDto';
|
|
38
39
|
import { CreateOrderReferralRefereeCancelledEmailProperties } from '../actions-v2/CreateOrderReferralRefereeCancelledEmailDto';
|
|
39
40
|
import { CreateOrderReferralRefereeNotQualifiedEmailProperties } from '../actions-v2/CreateOrderReferralRefereeNotQualifiedEmailDto';
|
|
40
41
|
import { CreateOrderReferralRefereePendingEmailProperties } from '../actions-v2/CreateOrderReferralRefereePendingEmailDto';
|
|
@@ -744,6 +745,34 @@ export declare class EmailRecord<TProps = EmailProperties> {
|
|
|
744
745
|
journeyId?: string;
|
|
745
746
|
stageKey?: string;
|
|
746
747
|
}): ActionBuilder;
|
|
748
|
+
/**
|
|
749
|
+
* CreateOrderPreviousConnectionEmail
|
|
750
|
+
*
|
|
751
|
+
* Creates a new Email record with the specified properties.
|
|
752
|
+
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
753
|
+
*
|
|
754
|
+
* @remarks Record type: TRANSACTIONAL
|
|
755
|
+
*
|
|
756
|
+
* @param properties - The properties for the new record
|
|
757
|
+
* @param options - Optional settings
|
|
758
|
+
* @param options.journeyId - Associate with a journey
|
|
759
|
+
* @param options.stageKey - Set initial pipeline stage
|
|
760
|
+
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
761
|
+
*
|
|
762
|
+
* @example
|
|
763
|
+
* ```typescript
|
|
764
|
+
* // Create with properties
|
|
765
|
+
* const record = odinClient.emails.new();
|
|
766
|
+
* await record.createOrderPreviousConnectionEmail({ ... }).execute();
|
|
767
|
+
*
|
|
768
|
+
* // Dry run (for debugging)
|
|
769
|
+
* const payload = record.createOrderPreviousConnectionEmail({ ... }).dryRun();
|
|
770
|
+
* ```
|
|
771
|
+
*/
|
|
772
|
+
createOrderPreviousConnectionEmail(properties?: CreateOrderPreviousConnectionEmailProperties, options?: {
|
|
773
|
+
journeyId?: string;
|
|
774
|
+
stageKey?: string;
|
|
775
|
+
}): ActionBuilder;
|
|
747
776
|
/**
|
|
748
777
|
* CreateOrderReferralRefereeCancelledEmail
|
|
749
778
|
*
|
|
@@ -1702,9 +1731,10 @@ export declare class EmailRecord<TProps = EmailProperties> {
|
|
|
1702
1731
|
* Creates a new Email record with the specified properties.
|
|
1703
1732
|
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
1704
1733
|
*
|
|
1734
|
+
* @remarks Record type: TRANSACTIONAL
|
|
1735
|
+
*
|
|
1705
1736
|
* @param properties - The properties for the new record
|
|
1706
1737
|
* @param options - Optional settings
|
|
1707
|
-
* @param options.type - Override the record type
|
|
1708
1738
|
* @param options.journeyId - Associate with a journey
|
|
1709
1739
|
* @param options.stageKey - Set initial pipeline stage
|
|
1710
1740
|
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
@@ -1720,7 +1750,6 @@ export declare class EmailRecord<TProps = EmailProperties> {
|
|
|
1720
1750
|
* ```
|
|
1721
1751
|
*/
|
|
1722
1752
|
sendRefundTransactionEmail(properties?: SendRefundTransactionEmailProperties, options?: {
|
|
1723
|
-
type?: string;
|
|
1724
1753
|
journeyId?: string;
|
|
1725
1754
|
stageKey?: string;
|
|
1726
1755
|
}): ActionBuilder;
|
|
@@ -926,6 +926,42 @@ class EmailRecord {
|
|
|
926
926
|
};
|
|
927
927
|
return new ActionBuilder(this._provider, 'NotificationModule', 'Email', payload, () => { this._pendingLinks = []; });
|
|
928
928
|
}
|
|
929
|
+
/**
|
|
930
|
+
* CreateOrderPreviousConnectionEmail
|
|
931
|
+
*
|
|
932
|
+
* Creates a new Email record with the specified properties.
|
|
933
|
+
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
934
|
+
*
|
|
935
|
+
* @remarks Record type: TRANSACTIONAL
|
|
936
|
+
*
|
|
937
|
+
* @param properties - The properties for the new record
|
|
938
|
+
* @param options - Optional settings
|
|
939
|
+
* @param options.journeyId - Associate with a journey
|
|
940
|
+
* @param options.stageKey - Set initial pipeline stage
|
|
941
|
+
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
942
|
+
*
|
|
943
|
+
* @example
|
|
944
|
+
* ```typescript
|
|
945
|
+
* // Create with properties
|
|
946
|
+
* const record = odinClient.emails.new();
|
|
947
|
+
* await record.createOrderPreviousConnectionEmail({ ... }).execute();
|
|
948
|
+
*
|
|
949
|
+
* // Dry run (for debugging)
|
|
950
|
+
* const payload = record.createOrderPreviousConnectionEmail({ ... }).dryRun();
|
|
951
|
+
* ```
|
|
952
|
+
*/
|
|
953
|
+
createOrderPreviousConnectionEmail(properties, options) {
|
|
954
|
+
const payload = {
|
|
955
|
+
entity: 'NotificationModule:Email',
|
|
956
|
+
type: 'TRANSACTIONAL',
|
|
957
|
+
actionName: 'CreateOrderPreviousConnectionEmail',
|
|
958
|
+
properties: properties || {},
|
|
959
|
+
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|
|
960
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
961
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
962
|
+
};
|
|
963
|
+
return new ActionBuilder(this._provider, 'NotificationModule', 'Email', payload, () => { this._pendingLinks = []; });
|
|
964
|
+
}
|
|
929
965
|
/**
|
|
930
966
|
* CreateOrderReferralRefereeCancelledEmail
|
|
931
967
|
*
|
|
@@ -2156,9 +2192,10 @@ class EmailRecord {
|
|
|
2156
2192
|
* Creates a new Email record with the specified properties.
|
|
2157
2193
|
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
2158
2194
|
*
|
|
2195
|
+
* @remarks Record type: TRANSACTIONAL
|
|
2196
|
+
*
|
|
2159
2197
|
* @param properties - The properties for the new record
|
|
2160
2198
|
* @param options - Optional settings
|
|
2161
|
-
* @param options.type - Override the record type
|
|
2162
2199
|
* @param options.journeyId - Associate with a journey
|
|
2163
2200
|
* @param options.stageKey - Set initial pipeline stage
|
|
2164
2201
|
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
@@ -2174,10 +2211,9 @@ class EmailRecord {
|
|
|
2174
2211
|
* ```
|
|
2175
2212
|
*/
|
|
2176
2213
|
sendRefundTransactionEmail(properties, options) {
|
|
2177
|
-
var _a, _b;
|
|
2178
2214
|
const payload = {
|
|
2179
2215
|
entity: 'NotificationModule:Email',
|
|
2180
|
-
type:
|
|
2216
|
+
type: 'TRANSACTIONAL',
|
|
2181
2217
|
actionName: 'SendRefundTransactionEmail',
|
|
2182
2218
|
properties: properties || {},
|
|
2183
2219
|
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|