@d19n/youfibre-odin-sdk 1.0.251 → 1.0.253
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/dist/actions-v2/CreateRecontractVoiceConfigurationDto.d.ts +124 -11
- package/dist/actions-v2/EditCaseFormDto.d.ts +7 -7
- package/dist/actions-v2/UpdateTeamDto.d.ts +15 -1
- package/dist/entities-v2/Contact.d.ts +57 -59
- package/dist/entities-v2/Contact.js +48 -48
- package/dist/entities-v2/OutcomeFormSiteSpecificRiskAssessmentOutcomeForm.d.ts +154 -154
- package/dist/entities-v2/OutcomeFormSiteSpecificRiskAssessmentOutcomeForm.js +81 -81
- package/dist/entities-v2/Team.d.ts +46 -0
- package/dist/entities-v2/Team.js +37 -1
- package/package.json +1 -1
|
@@ -15,37 +15,150 @@ import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/di
|
|
|
15
15
|
* Properties for CreateRecontractVoiceConfiguration action
|
|
16
16
|
*
|
|
17
17
|
* @property Required fields: 0
|
|
18
|
-
* @property Optional fields:
|
|
18
|
+
* @property Optional fields: 20
|
|
19
19
|
*/
|
|
20
20
|
export interface CreateRecontractVoiceConfigurationProperties {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* NetworkServiceId
|
|
23
23
|
*
|
|
24
|
-
*
|
|
25
|
-
* @type {
|
|
24
|
+
* NetworkServiceId (Network Operations - VoiceConfiguration)
|
|
25
|
+
* @type {TEXT}
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
NetworkServiceId?: string;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* IssuedPhoneNumberParts
|
|
30
30
|
*
|
|
31
|
-
*
|
|
32
|
-
* @type {
|
|
31
|
+
* IssuedPhoneNumberParts (Network Operations - VoiceConfiguration)
|
|
32
|
+
* @type {JSON}
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
IssuedPhoneNumberParts?: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* PhoneNumberToPortParts
|
|
37
37
|
*
|
|
38
38
|
* The parts include CountryCode, AreaCode, SubscriberNumber (Network Operations - VoiceConfiguration)
|
|
39
39
|
* @type {JSON}
|
|
40
40
|
*/
|
|
41
41
|
PhoneNumberToPortParts?: string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* AuthorizedLOA
|
|
44
|
+
*
|
|
45
|
+
* AuthorizedLOA (Network Operations - VoiceConfiguration)
|
|
46
|
+
* @type {BOOLEAN}
|
|
47
|
+
*/
|
|
48
|
+
AuthorizedLoa?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* MagratheaOrderStatus
|
|
51
|
+
*
|
|
52
|
+
* MagratheaOrderStatus (Network Operations - VoiceConfiguration)
|
|
53
|
+
* @type {TEXT}
|
|
54
|
+
*/
|
|
55
|
+
MagratheaOrderStatus?: string;
|
|
56
|
+
/**
|
|
57
|
+
* MagratheaOrderStatusDate
|
|
58
|
+
*
|
|
59
|
+
* MagratheaOrderStatusDate (Network Operations - VoiceConfiguration)
|
|
60
|
+
* @type {DATE_TIME}
|
|
61
|
+
* @format DD/MM/YYYY hh:mm:ss
|
|
62
|
+
*/
|
|
63
|
+
MagratheaOrderStatusDate?: string;
|
|
64
|
+
/**
|
|
65
|
+
* PortFromProvider
|
|
44
66
|
*
|
|
45
67
|
* PortFromProvider (Network Operations - VoiceConfiguration)
|
|
46
68
|
* @type {ENUM}
|
|
47
69
|
*/
|
|
48
70
|
PortFromProvider?: string;
|
|
71
|
+
/**
|
|
72
|
+
* SipwiseSubscriberId
|
|
73
|
+
*
|
|
74
|
+
* SipwiseSubscriberId (Network Operations - VoiceConfiguration)
|
|
75
|
+
* @type {NUMBER}
|
|
76
|
+
*/
|
|
77
|
+
SipwiseSubscriberId?: number;
|
|
78
|
+
/**
|
|
79
|
+
* IssuedPhoneNumber
|
|
80
|
+
*
|
|
81
|
+
* the phone number provided by us to the customer (Network Operations - VoiceConfiguration)
|
|
82
|
+
* @type {TEXT}
|
|
83
|
+
*/
|
|
84
|
+
IssuedPhoneNumber?: string;
|
|
85
|
+
/**
|
|
86
|
+
* SipwiseCustomerContactId
|
|
87
|
+
*
|
|
88
|
+
* SipwiseCustomerContactId (Network Operations - VoiceConfiguration)
|
|
89
|
+
* @type {NUMERIC}
|
|
90
|
+
*/
|
|
91
|
+
SipwiseCustomerContactId?: number;
|
|
92
|
+
/**
|
|
93
|
+
* SipwiseCustomerId
|
|
94
|
+
*
|
|
95
|
+
* SipwiseCustomerId (Network Operations - VoiceConfiguration)
|
|
96
|
+
* @type {NUMBER}
|
|
97
|
+
*/
|
|
98
|
+
SipwiseCustomerId?: number;
|
|
99
|
+
/**
|
|
100
|
+
* VoiceLineState
|
|
101
|
+
*
|
|
102
|
+
* VoiceLineState (Network Operations - VoiceConfiguration)
|
|
103
|
+
* @type {TEXT}
|
|
104
|
+
*/
|
|
105
|
+
VoiceLineState?: string;
|
|
106
|
+
/**
|
|
107
|
+
* MagratheaOrderId
|
|
108
|
+
*
|
|
109
|
+
* the order id provided by magrathea (Network Operations - VoiceConfiguration)
|
|
110
|
+
* @type {TEXT}
|
|
111
|
+
*/
|
|
112
|
+
MagratheaOrderId?: string;
|
|
113
|
+
/**
|
|
114
|
+
* PhoneNumberToPort
|
|
115
|
+
*
|
|
116
|
+
* phone number to port (Network Operations - VoiceConfiguration)
|
|
117
|
+
* @type {TEXT}
|
|
118
|
+
*/
|
|
119
|
+
PhoneNumberToPort?: string;
|
|
120
|
+
/**
|
|
121
|
+
* VoiceServerStatus
|
|
122
|
+
*
|
|
123
|
+
* VoiceServerStatus (Network Operations - VoiceConfiguration)
|
|
124
|
+
* @type {TEXT}
|
|
125
|
+
*/
|
|
126
|
+
VoiceServerStatus?: string;
|
|
127
|
+
/**
|
|
128
|
+
* VoicePortAdminStatus
|
|
129
|
+
*
|
|
130
|
+
* VoicePortAdminStatus (Network Operations - VoiceConfiguration)
|
|
131
|
+
* @type {TEXT}
|
|
132
|
+
*/
|
|
133
|
+
VoicePortAdminStatus?: string;
|
|
134
|
+
/**
|
|
135
|
+
* VoiceIp
|
|
136
|
+
*
|
|
137
|
+
* Data field for VoiceConfiguration records. Used by Network Operations team.
|
|
138
|
+
* @type {TEXT}
|
|
139
|
+
*/
|
|
140
|
+
VoiceIp?: string;
|
|
141
|
+
/**
|
|
142
|
+
* VoicePortOperStatus
|
|
143
|
+
*
|
|
144
|
+
* VoicePortOperStatus (Network Operations - VoiceConfiguration)
|
|
145
|
+
* @type {TEXT}
|
|
146
|
+
*/
|
|
147
|
+
VoicePortOperStatus?: string;
|
|
148
|
+
/**
|
|
149
|
+
* MagratheaOrderLastUpdateTime
|
|
150
|
+
*
|
|
151
|
+
* MagratheaOrderLastUpdateTime (Network Operations - VoiceConfiguration)
|
|
152
|
+
* @type {TEXT}
|
|
153
|
+
*/
|
|
154
|
+
MagratheaOrderLastUpdateTime?: string;
|
|
155
|
+
/**
|
|
156
|
+
* MagratheaOrderLastUpdate
|
|
157
|
+
*
|
|
158
|
+
* MagratheaOrderLastUpdate (Network Operations - VoiceConfiguration)
|
|
159
|
+
* @type {TEXT}
|
|
160
|
+
*/
|
|
161
|
+
MagratheaOrderLastUpdate?: string;
|
|
49
162
|
}
|
|
50
163
|
/**
|
|
51
164
|
* CreateRecontractVoiceConfiguration
|
|
@@ -32,6 +32,13 @@ export interface EditCaseFormProperties {
|
|
|
32
32
|
* @visibleWhen Category = ["*"]
|
|
33
33
|
*/
|
|
34
34
|
SubCategory?: string;
|
|
35
|
+
/**
|
|
36
|
+
* FormalComplaint
|
|
37
|
+
*
|
|
38
|
+
* Formal Complaint - Boolean
|
|
39
|
+
* @type {BOOLEAN}
|
|
40
|
+
*/
|
|
41
|
+
FormalComplaint?: boolean;
|
|
35
42
|
/**
|
|
36
43
|
* ReasonForReview
|
|
37
44
|
*
|
|
@@ -60,13 +67,6 @@ export interface EditCaseFormProperties {
|
|
|
60
67
|
* @type {TEXT_LONG}
|
|
61
68
|
*/
|
|
62
69
|
AdditionalNotes?: string;
|
|
63
|
-
/**
|
|
64
|
-
* FormalComplaint
|
|
65
|
-
*
|
|
66
|
-
* Formal Complaint - Boolean
|
|
67
|
-
* @type {BOOLEAN}
|
|
68
|
-
*/
|
|
69
|
-
FormalComplaint?: boolean;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* EditCaseForm
|
|
@@ -14,7 +14,7 @@ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/o
|
|
|
14
14
|
* Properties for UpdateTeam action
|
|
15
15
|
*
|
|
16
16
|
* @property Required fields: 0
|
|
17
|
-
* @property Optional fields:
|
|
17
|
+
* @property Optional fields: 6
|
|
18
18
|
*/
|
|
19
19
|
export interface UpdateTeamProperties {
|
|
20
20
|
/**
|
|
@@ -45,6 +45,20 @@ export interface UpdateTeamProperties {
|
|
|
45
45
|
* @type {TEXT}
|
|
46
46
|
*/
|
|
47
47
|
Name?: string;
|
|
48
|
+
/**
|
|
49
|
+
* PrimaryChannel
|
|
50
|
+
*
|
|
51
|
+
* Primary Channel - Cases
|
|
52
|
+
* @type {ENUM}
|
|
53
|
+
*/
|
|
54
|
+
PrimaryChannel?: string;
|
|
55
|
+
/**
|
|
56
|
+
* SecondaryChannel
|
|
57
|
+
*
|
|
58
|
+
* Secondary Channel
|
|
59
|
+
* @type {ENUM}
|
|
60
|
+
*/
|
|
61
|
+
SecondaryChannel?: string;
|
|
48
62
|
}
|
|
49
63
|
/**
|
|
50
64
|
* UpdateTeam
|
|
@@ -60,6 +60,48 @@ export declare enum ContactPortalStatus {
|
|
|
60
60
|
NONE = "NONE",
|
|
61
61
|
ACTIVE = "ACTIVE"
|
|
62
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* Valid values for Contact.AdditionalCareReason
|
|
65
|
+
*
|
|
66
|
+
* Primary reason for additional care (single select). (Sales - Contact)
|
|
67
|
+
*
|
|
68
|
+
* @remarks Available options:
|
|
69
|
+
* - `PHYSICAL_HEALTH` - Physical Health
|
|
70
|
+
* - `MENTAL_HEALTH` - Mental Health
|
|
71
|
+
* - `DISABILITY` - Disability
|
|
72
|
+
* - `LOW_LITERACY` - Low Literacy
|
|
73
|
+
* - `LOW_DIGITAL_SKILLS` - Low Digital Skills
|
|
74
|
+
* - `LOW_INCOME` - Low Income
|
|
75
|
+
* - `DEBT` - Debt
|
|
76
|
+
* - `BEREAVEMENT` - Bereavement
|
|
77
|
+
* - `LOSS_OF_JOB` - Loss of Job
|
|
78
|
+
* - `RELATIONSHIP_BREAKDOWN` - Relationship Breakdown
|
|
79
|
+
* - `DOMESTIC_ABUSE` - Domestic Abuse
|
|
80
|
+
* - `AGE` - Age
|
|
81
|
+
* - `VULNERABLE_HOUSEHOLD` - Vulnerable Household
|
|
82
|
+
* - `LOCATION` - Location
|
|
83
|
+
* - `BLIND_LOW_VISION` - Blind / Low Vision
|
|
84
|
+
* - ... and 2 more
|
|
85
|
+
*/
|
|
86
|
+
export declare enum ContactAdditionalCareReason {
|
|
87
|
+
PHYSICAL_HEALTH = "PHYSICAL_HEALTH",
|
|
88
|
+
MENTAL_HEALTH = "MENTAL_HEALTH",
|
|
89
|
+
DISABILITY = "DISABILITY",
|
|
90
|
+
LOW_LITERACY = "LOW_LITERACY",
|
|
91
|
+
LOW_DIGITAL_SKILLS = "LOW_DIGITAL_SKILLS",
|
|
92
|
+
LOW_INCOME = "LOW_INCOME",
|
|
93
|
+
DEBT = "DEBT",
|
|
94
|
+
BEREAVEMENT = "BEREAVEMENT",
|
|
95
|
+
LOSS_OF_JOB = "LOSS_OF_JOB",
|
|
96
|
+
RELATIONSHIP_BREAKDOWN = "RELATIONSHIP_BREAKDOWN",
|
|
97
|
+
DOMESTIC_ABUSE = "DOMESTIC_ABUSE",
|
|
98
|
+
AGE = "AGE",
|
|
99
|
+
VULNERABLE_HOUSEHOLD = "VULNERABLE_HOUSEHOLD",
|
|
100
|
+
LOCATION = "LOCATION",
|
|
101
|
+
BLIND_LOW_VISION = "BLIND_LOW_VISION",
|
|
102
|
+
DEAF_HARD_OF_HEARING = "DEAF_HARD_OF_HEARING",
|
|
103
|
+
OTHER = "OTHER"
|
|
104
|
+
}
|
|
63
105
|
/**
|
|
64
106
|
* Valid values for Contact.CurrentNetworkProvider
|
|
65
107
|
*
|
|
@@ -209,48 +251,6 @@ export declare enum ContactActivationSource {
|
|
|
209
251
|
CUSTOMER_PORTAL = "CUSTOMER_PORTAL",
|
|
210
252
|
CUSTOMER_APP = "CUSTOMER_APP"
|
|
211
253
|
}
|
|
212
|
-
/**
|
|
213
|
-
* Valid values for Contact.AdditionalCareReason
|
|
214
|
-
*
|
|
215
|
-
* Primary reason for additional care (single select). (Sales - Contact)
|
|
216
|
-
*
|
|
217
|
-
* @remarks Available options:
|
|
218
|
-
* - `PHYSICAL_HEALTH` - Physical Health
|
|
219
|
-
* - `MENTAL_HEALTH` - Mental Health
|
|
220
|
-
* - `DISABILITY` - Disability
|
|
221
|
-
* - `LOW_LITERACY` - Low Literacy
|
|
222
|
-
* - `LOW_DIGITAL_SKILLS` - Low Digital Skills
|
|
223
|
-
* - `LOW_INCOME` - Low Income
|
|
224
|
-
* - `DEBT` - Debt
|
|
225
|
-
* - `BEREAVEMENT` - Bereavement
|
|
226
|
-
* - `LOSS_OF_JOB` - Loss of Job
|
|
227
|
-
* - `RELATIONSHIP_BREAKDOWN` - Relationship Breakdown
|
|
228
|
-
* - `DOMESTIC_ABUSE` - Domestic Abuse
|
|
229
|
-
* - `AGE` - Age
|
|
230
|
-
* - `VULNERABLE_HOUSEHOLD` - Vulnerable Household
|
|
231
|
-
* - `LOCATION` - Location
|
|
232
|
-
* - `BLIND_LOW_VISION` - Blind / Low Vision
|
|
233
|
-
* - ... and 2 more
|
|
234
|
-
*/
|
|
235
|
-
export declare enum ContactAdditionalCareReason {
|
|
236
|
-
PHYSICAL_HEALTH = "PHYSICAL_HEALTH",
|
|
237
|
-
MENTAL_HEALTH = "MENTAL_HEALTH",
|
|
238
|
-
DISABILITY = "DISABILITY",
|
|
239
|
-
LOW_LITERACY = "LOW_LITERACY",
|
|
240
|
-
LOW_DIGITAL_SKILLS = "LOW_DIGITAL_SKILLS",
|
|
241
|
-
LOW_INCOME = "LOW_INCOME",
|
|
242
|
-
DEBT = "DEBT",
|
|
243
|
-
BEREAVEMENT = "BEREAVEMENT",
|
|
244
|
-
LOSS_OF_JOB = "LOSS_OF_JOB",
|
|
245
|
-
RELATIONSHIP_BREAKDOWN = "RELATIONSHIP_BREAKDOWN",
|
|
246
|
-
DOMESTIC_ABUSE = "DOMESTIC_ABUSE",
|
|
247
|
-
AGE = "AGE",
|
|
248
|
-
VULNERABLE_HOUSEHOLD = "VULNERABLE_HOUSEHOLD",
|
|
249
|
-
LOCATION = "LOCATION",
|
|
250
|
-
BLIND_LOW_VISION = "BLIND_LOW_VISION",
|
|
251
|
-
DEAF_HARD_OF_HEARING = "DEAF_HARD_OF_HEARING",
|
|
252
|
-
OTHER = "OTHER"
|
|
253
|
-
}
|
|
254
254
|
/**
|
|
255
255
|
* Property keys for Contact
|
|
256
256
|
* Use these constants instead of string literals for type safety
|
|
@@ -258,6 +258,10 @@ export declare enum ContactAdditionalCareReason {
|
|
|
258
258
|
export declare enum ContactPropertyKeys {
|
|
259
259
|
/** NONE if never registered, INACTIVE if requested a code, ACTIVE if completed registration (Sales - Contact) */
|
|
260
260
|
PortalStatus = "PortalStatus",
|
|
261
|
+
/** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact) */
|
|
262
|
+
AdditionalCareRequired = "AdditionalCareRequired",
|
|
263
|
+
/** Primary reason for additional care (single select). (Sales - Contact) */
|
|
264
|
+
AdditionalCareReason = "AdditionalCareReason",
|
|
261
265
|
/** Terms and Conditions Consent (Sales - Contact) */
|
|
262
266
|
TermsAndConditionsConsent = "TermsAndConditionsConsent",
|
|
263
267
|
/** Phone number (Sales - Contact) */
|
|
@@ -342,12 +346,8 @@ export declare enum ContactPropertyKeys {
|
|
|
342
346
|
MedicallyDependant = "MedicallyDependant",
|
|
343
347
|
/** Free-text notes field for Contact. Used by Sales team for documentation. */
|
|
344
348
|
AdditionalCareNotes = "AdditionalCareNotes",
|
|
345
|
-
/** Primary reason for additional care (single select). (Sales - Contact) */
|
|
346
|
-
AdditionalCareReason = "AdditionalCareReason",
|
|
347
349
|
/** Does the customer use a Telecare Alarm (Sales - Contact) */
|
|
348
350
|
TelecareAlarm = "TelecareAlarm",
|
|
349
|
-
/** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact) */
|
|
350
|
-
AdditionalCareRequired = "AdditionalCareRequired",
|
|
351
351
|
/** When the customer last used or was last active on the customer web portal (Sales - Contact) */
|
|
352
352
|
PortalLastActiveDate = "PortalLastActiveDate",
|
|
353
353
|
/** When the customer last used or was last active on the native customer mobile app (Sales - Contact) */
|
|
@@ -370,6 +370,17 @@ export interface ContactProperties {
|
|
|
370
370
|
* @enum {ContactPortalStatus}
|
|
371
371
|
*/
|
|
372
372
|
PortalStatus?: ContactPortalStatus;
|
|
373
|
+
/** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact)
|
|
374
|
+
*
|
|
375
|
+
* @type {BOOLEAN}
|
|
376
|
+
*/
|
|
377
|
+
AdditionalCareRequired?: boolean;
|
|
378
|
+
/** Primary reason for additional care (single select). (Sales - Contact)
|
|
379
|
+
*
|
|
380
|
+
* @type {ENUM}
|
|
381
|
+
* @enum {ContactAdditionalCareReason}
|
|
382
|
+
*/
|
|
383
|
+
AdditionalCareReason?: ContactAdditionalCareReason;
|
|
373
384
|
/** Terms and Conditions Consent (Sales - Contact)
|
|
374
385
|
*
|
|
375
386
|
* @type {BOOLEAN}
|
|
@@ -634,25 +645,12 @@ export interface ContactProperties {
|
|
|
634
645
|
* @type {TEXT_LONG}
|
|
635
646
|
*/
|
|
636
647
|
AdditionalCareNotes?: string;
|
|
637
|
-
/** Primary reason for additional care (single select). (Sales - Contact)
|
|
638
|
-
*
|
|
639
|
-
* @type {ENUM}
|
|
640
|
-
* @enum {ContactAdditionalCareReason}
|
|
641
|
-
* @hidden This field is hidden in the UI
|
|
642
|
-
*/
|
|
643
|
-
AdditionalCareReason?: ContactAdditionalCareReason;
|
|
644
648
|
/** Does the customer use a Telecare Alarm (Sales - Contact)
|
|
645
649
|
*
|
|
646
650
|
* @type {BOOLEAN}
|
|
647
651
|
* @default FALSE
|
|
648
652
|
*/
|
|
649
653
|
TelecareAlarm?: boolean;
|
|
650
|
-
/** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact)
|
|
651
|
-
*
|
|
652
|
-
* @type {BOOLEAN}
|
|
653
|
-
* @hidden This field is hidden in the UI
|
|
654
|
-
*/
|
|
655
|
-
AdditionalCareRequired?: boolean;
|
|
656
654
|
/** When the customer last used or was last active on the customer web portal (Sales - Contact)
|
|
657
655
|
*
|
|
658
656
|
* @type {DATE_TIME}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_CREATED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_FILE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_FILE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_DELETED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_CREATED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_CREATED = exports.ROUTING_KEY_CONTACT_DELETED = exports.ROUTING_KEY_CONTACT_UPDATED = exports.ROUTING_KEY_CONTACT_CREATED = exports.Contact = exports.ContactPropertyKeys = exports.
|
|
15
|
+
exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_CREATED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_FILE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_FILE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_DELETED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_CREATED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_CREATED = exports.ROUTING_KEY_CONTACT_DELETED = exports.ROUTING_KEY_CONTACT_UPDATED = exports.ROUTING_KEY_CONTACT_CREATED = exports.Contact = exports.ContactPropertyKeys = exports.ContactActivationSource = exports.ContactAccountStatus = exports.ContactCurrentProvider = exports.ContactHomeownerStatus = exports.ContactRole = exports.ContactPreviousProvider = exports.ContactCurrentNetworkProvider = exports.ContactAdditionalCareReason = exports.ContactPortalStatus = exports.ContactEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for Contact records
|
|
@@ -38,6 +38,49 @@ var ContactPortalStatus;
|
|
|
38
38
|
ContactPortalStatus["NONE"] = "NONE";
|
|
39
39
|
ContactPortalStatus["ACTIVE"] = "ACTIVE";
|
|
40
40
|
})(ContactPortalStatus = exports.ContactPortalStatus || (exports.ContactPortalStatus = {}));
|
|
41
|
+
/**
|
|
42
|
+
* Valid values for Contact.AdditionalCareReason
|
|
43
|
+
*
|
|
44
|
+
* Primary reason for additional care (single select). (Sales - Contact)
|
|
45
|
+
*
|
|
46
|
+
* @remarks Available options:
|
|
47
|
+
* - `PHYSICAL_HEALTH` - Physical Health
|
|
48
|
+
* - `MENTAL_HEALTH` - Mental Health
|
|
49
|
+
* - `DISABILITY` - Disability
|
|
50
|
+
* - `LOW_LITERACY` - Low Literacy
|
|
51
|
+
* - `LOW_DIGITAL_SKILLS` - Low Digital Skills
|
|
52
|
+
* - `LOW_INCOME` - Low Income
|
|
53
|
+
* - `DEBT` - Debt
|
|
54
|
+
* - `BEREAVEMENT` - Bereavement
|
|
55
|
+
* - `LOSS_OF_JOB` - Loss of Job
|
|
56
|
+
* - `RELATIONSHIP_BREAKDOWN` - Relationship Breakdown
|
|
57
|
+
* - `DOMESTIC_ABUSE` - Domestic Abuse
|
|
58
|
+
* - `AGE` - Age
|
|
59
|
+
* - `VULNERABLE_HOUSEHOLD` - Vulnerable Household
|
|
60
|
+
* - `LOCATION` - Location
|
|
61
|
+
* - `BLIND_LOW_VISION` - Blind / Low Vision
|
|
62
|
+
* - ... and 2 more
|
|
63
|
+
*/
|
|
64
|
+
var ContactAdditionalCareReason;
|
|
65
|
+
(function (ContactAdditionalCareReason) {
|
|
66
|
+
ContactAdditionalCareReason["PHYSICAL_HEALTH"] = "PHYSICAL_HEALTH";
|
|
67
|
+
ContactAdditionalCareReason["MENTAL_HEALTH"] = "MENTAL_HEALTH";
|
|
68
|
+
ContactAdditionalCareReason["DISABILITY"] = "DISABILITY";
|
|
69
|
+
ContactAdditionalCareReason["LOW_LITERACY"] = "LOW_LITERACY";
|
|
70
|
+
ContactAdditionalCareReason["LOW_DIGITAL_SKILLS"] = "LOW_DIGITAL_SKILLS";
|
|
71
|
+
ContactAdditionalCareReason["LOW_INCOME"] = "LOW_INCOME";
|
|
72
|
+
ContactAdditionalCareReason["DEBT"] = "DEBT";
|
|
73
|
+
ContactAdditionalCareReason["BEREAVEMENT"] = "BEREAVEMENT";
|
|
74
|
+
ContactAdditionalCareReason["LOSS_OF_JOB"] = "LOSS_OF_JOB";
|
|
75
|
+
ContactAdditionalCareReason["RELATIONSHIP_BREAKDOWN"] = "RELATIONSHIP_BREAKDOWN";
|
|
76
|
+
ContactAdditionalCareReason["DOMESTIC_ABUSE"] = "DOMESTIC_ABUSE";
|
|
77
|
+
ContactAdditionalCareReason["AGE"] = "AGE";
|
|
78
|
+
ContactAdditionalCareReason["VULNERABLE_HOUSEHOLD"] = "VULNERABLE_HOUSEHOLD";
|
|
79
|
+
ContactAdditionalCareReason["LOCATION"] = "LOCATION";
|
|
80
|
+
ContactAdditionalCareReason["BLIND_LOW_VISION"] = "BLIND_LOW_VISION";
|
|
81
|
+
ContactAdditionalCareReason["DEAF_HARD_OF_HEARING"] = "DEAF_HARD_OF_HEARING";
|
|
82
|
+
ContactAdditionalCareReason["OTHER"] = "OTHER";
|
|
83
|
+
})(ContactAdditionalCareReason = exports.ContactAdditionalCareReason || (exports.ContactAdditionalCareReason = {}));
|
|
41
84
|
/**
|
|
42
85
|
* Valid values for Contact.CurrentNetworkProvider
|
|
43
86
|
*
|
|
@@ -194,49 +237,6 @@ var ContactActivationSource;
|
|
|
194
237
|
ContactActivationSource["CUSTOMER_PORTAL"] = "CUSTOMER_PORTAL";
|
|
195
238
|
ContactActivationSource["CUSTOMER_APP"] = "CUSTOMER_APP";
|
|
196
239
|
})(ContactActivationSource = exports.ContactActivationSource || (exports.ContactActivationSource = {}));
|
|
197
|
-
/**
|
|
198
|
-
* Valid values for Contact.AdditionalCareReason
|
|
199
|
-
*
|
|
200
|
-
* Primary reason for additional care (single select). (Sales - Contact)
|
|
201
|
-
*
|
|
202
|
-
* @remarks Available options:
|
|
203
|
-
* - `PHYSICAL_HEALTH` - Physical Health
|
|
204
|
-
* - `MENTAL_HEALTH` - Mental Health
|
|
205
|
-
* - `DISABILITY` - Disability
|
|
206
|
-
* - `LOW_LITERACY` - Low Literacy
|
|
207
|
-
* - `LOW_DIGITAL_SKILLS` - Low Digital Skills
|
|
208
|
-
* - `LOW_INCOME` - Low Income
|
|
209
|
-
* - `DEBT` - Debt
|
|
210
|
-
* - `BEREAVEMENT` - Bereavement
|
|
211
|
-
* - `LOSS_OF_JOB` - Loss of Job
|
|
212
|
-
* - `RELATIONSHIP_BREAKDOWN` - Relationship Breakdown
|
|
213
|
-
* - `DOMESTIC_ABUSE` - Domestic Abuse
|
|
214
|
-
* - `AGE` - Age
|
|
215
|
-
* - `VULNERABLE_HOUSEHOLD` - Vulnerable Household
|
|
216
|
-
* - `LOCATION` - Location
|
|
217
|
-
* - `BLIND_LOW_VISION` - Blind / Low Vision
|
|
218
|
-
* - ... and 2 more
|
|
219
|
-
*/
|
|
220
|
-
var ContactAdditionalCareReason;
|
|
221
|
-
(function (ContactAdditionalCareReason) {
|
|
222
|
-
ContactAdditionalCareReason["PHYSICAL_HEALTH"] = "PHYSICAL_HEALTH";
|
|
223
|
-
ContactAdditionalCareReason["MENTAL_HEALTH"] = "MENTAL_HEALTH";
|
|
224
|
-
ContactAdditionalCareReason["DISABILITY"] = "DISABILITY";
|
|
225
|
-
ContactAdditionalCareReason["LOW_LITERACY"] = "LOW_LITERACY";
|
|
226
|
-
ContactAdditionalCareReason["LOW_DIGITAL_SKILLS"] = "LOW_DIGITAL_SKILLS";
|
|
227
|
-
ContactAdditionalCareReason["LOW_INCOME"] = "LOW_INCOME";
|
|
228
|
-
ContactAdditionalCareReason["DEBT"] = "DEBT";
|
|
229
|
-
ContactAdditionalCareReason["BEREAVEMENT"] = "BEREAVEMENT";
|
|
230
|
-
ContactAdditionalCareReason["LOSS_OF_JOB"] = "LOSS_OF_JOB";
|
|
231
|
-
ContactAdditionalCareReason["RELATIONSHIP_BREAKDOWN"] = "RELATIONSHIP_BREAKDOWN";
|
|
232
|
-
ContactAdditionalCareReason["DOMESTIC_ABUSE"] = "DOMESTIC_ABUSE";
|
|
233
|
-
ContactAdditionalCareReason["AGE"] = "AGE";
|
|
234
|
-
ContactAdditionalCareReason["VULNERABLE_HOUSEHOLD"] = "VULNERABLE_HOUSEHOLD";
|
|
235
|
-
ContactAdditionalCareReason["LOCATION"] = "LOCATION";
|
|
236
|
-
ContactAdditionalCareReason["BLIND_LOW_VISION"] = "BLIND_LOW_VISION";
|
|
237
|
-
ContactAdditionalCareReason["DEAF_HARD_OF_HEARING"] = "DEAF_HARD_OF_HEARING";
|
|
238
|
-
ContactAdditionalCareReason["OTHER"] = "OTHER";
|
|
239
|
-
})(ContactAdditionalCareReason = exports.ContactAdditionalCareReason || (exports.ContactAdditionalCareReason = {}));
|
|
240
240
|
/**
|
|
241
241
|
* Property keys for Contact
|
|
242
242
|
* Use these constants instead of string literals for type safety
|
|
@@ -245,6 +245,10 @@ var ContactPropertyKeys;
|
|
|
245
245
|
(function (ContactPropertyKeys) {
|
|
246
246
|
/** NONE if never registered, INACTIVE if requested a code, ACTIVE if completed registration (Sales - Contact) */
|
|
247
247
|
ContactPropertyKeys["PortalStatus"] = "PortalStatus";
|
|
248
|
+
/** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact) */
|
|
249
|
+
ContactPropertyKeys["AdditionalCareRequired"] = "AdditionalCareRequired";
|
|
250
|
+
/** Primary reason for additional care (single select). (Sales - Contact) */
|
|
251
|
+
ContactPropertyKeys["AdditionalCareReason"] = "AdditionalCareReason";
|
|
248
252
|
/** Terms and Conditions Consent (Sales - Contact) */
|
|
249
253
|
ContactPropertyKeys["TermsAndConditionsConsent"] = "TermsAndConditionsConsent";
|
|
250
254
|
/** Phone number (Sales - Contact) */
|
|
@@ -329,12 +333,8 @@ var ContactPropertyKeys;
|
|
|
329
333
|
ContactPropertyKeys["MedicallyDependant"] = "MedicallyDependant";
|
|
330
334
|
/** Free-text notes field for Contact. Used by Sales team for documentation. */
|
|
331
335
|
ContactPropertyKeys["AdditionalCareNotes"] = "AdditionalCareNotes";
|
|
332
|
-
/** Primary reason for additional care (single select). (Sales - Contact) */
|
|
333
|
-
ContactPropertyKeys["AdditionalCareReason"] = "AdditionalCareReason";
|
|
334
336
|
/** Does the customer use a Telecare Alarm (Sales - Contact) */
|
|
335
337
|
ContactPropertyKeys["TelecareAlarm"] = "TelecareAlarm";
|
|
336
|
-
/** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact) */
|
|
337
|
-
ContactPropertyKeys["AdditionalCareRequired"] = "AdditionalCareRequired";
|
|
338
338
|
/** When the customer last used or was last active on the customer web portal (Sales - Contact) */
|
|
339
339
|
ContactPropertyKeys["PortalLastActiveDate"] = "PortalLastActiveDate";
|
|
340
340
|
/** When the customer last used or was last active on the native customer mobile app (Sales - Contact) */
|