@d19n/youfibre-odin-sdk 2.0.239-beta.0 → 2.0.239
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/CancelActiveOrderDto.d.ts +36 -2
- package/dist/actions-v2/CreateChurnRequestDto.d.ts +36 -2
- package/dist/actions-v2/CreateCollectionAmcoWorkOrderDto.d.ts +1 -1
- package/dist/actions-v2/CreateCollectionAmcoWorkOrderFromOrderDto.d.ts +1 -1
- package/dist/actions-v2/CreateDispatchAmcoWorkOrderDto.d.ts +1 -1
- package/dist/actions-v2/CreateDispatchAmcoWorkOrderFromOrderDto.d.ts +1 -1
- package/dist/actions-v2/MoveOrderFromDeactivatedToCancelledDto.d.ts +36 -2
- package/dist/actions-v2/MoveOrderFromPendingCancellationToCancelledDto.d.ts +36 -2
- package/dist/actions-v2/UpdateOutboundDialCampaignCaseOnDialEndDto.d.ts +3 -4
- package/dist/entities-v2/ChurnRequest.d.ts +29 -1
- package/dist/entities-v2/ChurnRequest.js +8 -0
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
15
15
|
* Properties for CreateChurnRequest action
|
|
16
16
|
*
|
|
17
17
|
* @property Required fields: 3
|
|
18
|
-
* @property Optional fields:
|
|
18
|
+
* @property Optional fields: 7
|
|
19
19
|
*/
|
|
20
20
|
export interface CreateChurnRequestProperties {
|
|
21
21
|
/**
|
|
@@ -57,9 +57,43 @@ export interface CreateChurnRequestProperties {
|
|
|
57
57
|
* Customer Relocation Address
|
|
58
58
|
* @type {LOOKUP}
|
|
59
59
|
* @visibleWhen Reason = ["SALES_MOVE_OUT","SALES_MOVE_OUT_IN_AREA"]
|
|
60
|
-
* @requiredWhen CustomerAddressInfoNotProvided = ["false"] AND = []
|
|
61
60
|
*/
|
|
62
61
|
MovingToAddress?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Address is not searchable
|
|
64
|
+
*
|
|
65
|
+
* Select
|
|
66
|
+
* @type {BOOLEAN}
|
|
67
|
+
* @visibleWhen Reason = ["SALES_MOVE_OUT","SALES_MOVE_OUT_IN_AREA"]
|
|
68
|
+
*/
|
|
69
|
+
AddressNotListed?: boolean | null;
|
|
70
|
+
/**
|
|
71
|
+
* Address Line 1
|
|
72
|
+
*
|
|
73
|
+
* Example: 1A DURHAM WAY
|
|
74
|
+
* @type {TEXT}
|
|
75
|
+
* @visibleWhen AddressNotListed = ["true"]
|
|
76
|
+
* @requiredWhen AddressNotListed = ["true"]
|
|
77
|
+
*/
|
|
78
|
+
AdressLine1ManualEntry?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* City / Town
|
|
81
|
+
*
|
|
82
|
+
* Example: PETERLEE
|
|
83
|
+
* @type {TEXT}
|
|
84
|
+
* @visibleWhen AddressNotListed = ["true"]
|
|
85
|
+
* @requiredWhen AddressNotListed = ["true"]
|
|
86
|
+
*/
|
|
87
|
+
TownManualEntry?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Postcode
|
|
90
|
+
*
|
|
91
|
+
* Example: SR8 1QB
|
|
92
|
+
* @type {TEXT}
|
|
93
|
+
* @visibleWhen AddressNotListed = ["true"]
|
|
94
|
+
* @requiredWhen AddressNotListed = ["true"]
|
|
95
|
+
*/
|
|
96
|
+
PostcodeManualEntry?: string | null;
|
|
63
97
|
}
|
|
64
98
|
/**
|
|
65
99
|
* CreateChurnRequest
|
|
@@ -23,7 +23,7 @@ export interface CreateChurnRequestMessage extends OdinRecordCreatedEvent<Create
|
|
|
23
23
|
* Properties for CreateChurnRequest action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 3
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 7
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateChurnRequestProperties {
|
|
29
29
|
/**
|
|
@@ -65,9 +65,43 @@ export interface CreateChurnRequestProperties {
|
|
|
65
65
|
* Customer Relocation Address
|
|
66
66
|
* @type {LOOKUP}
|
|
67
67
|
* @visibleWhen Reason = ["SALES_MOVE_OUT","SALES_MOVE_OUT_IN_AREA"]
|
|
68
|
-
* @requiredWhen CustomerAddressInfoNotProvided = ["false"] AND = []
|
|
69
68
|
*/
|
|
70
69
|
MovingToAddress?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* Address is not searchable
|
|
72
|
+
*
|
|
73
|
+
* Select
|
|
74
|
+
* @type {BOOLEAN}
|
|
75
|
+
* @visibleWhen Reason = ["SALES_MOVE_OUT","SALES_MOVE_OUT_IN_AREA"]
|
|
76
|
+
*/
|
|
77
|
+
AddressNotListed?: boolean | null;
|
|
78
|
+
/**
|
|
79
|
+
* Address Line 1
|
|
80
|
+
*
|
|
81
|
+
* Example: 1A DURHAM WAY
|
|
82
|
+
* @type {TEXT}
|
|
83
|
+
* @visibleWhen AddressNotListed = ["true"]
|
|
84
|
+
* @requiredWhen AddressNotListed = ["true"]
|
|
85
|
+
*/
|
|
86
|
+
AdressLine1ManualEntry?: string | null;
|
|
87
|
+
/**
|
|
88
|
+
* City / Town
|
|
89
|
+
*
|
|
90
|
+
* Example: PETERLEE
|
|
91
|
+
* @type {TEXT}
|
|
92
|
+
* @visibleWhen AddressNotListed = ["true"]
|
|
93
|
+
* @requiredWhen AddressNotListed = ["true"]
|
|
94
|
+
*/
|
|
95
|
+
TownManualEntry?: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* Postcode
|
|
98
|
+
*
|
|
99
|
+
* Example: SR8 1QB
|
|
100
|
+
* @type {TEXT}
|
|
101
|
+
* @visibleWhen AddressNotListed = ["true"]
|
|
102
|
+
* @requiredWhen AddressNotListed = ["true"]
|
|
103
|
+
*/
|
|
104
|
+
PostcodeManualEntry?: string | null;
|
|
71
105
|
}
|
|
72
106
|
/**
|
|
73
107
|
* CreateChurnRequest
|
|
@@ -48,7 +48,7 @@ export interface CreateCollectionAmcoWorkOrderProperties {
|
|
|
48
48
|
*
|
|
49
49
|
* Reference identifier for WorkOrder relationships. Used for data integrity.
|
|
50
50
|
* @type {LOOKUP}
|
|
51
|
-
* @default Dynamic: {
|
|
51
|
+
* @default Dynamic: {source_record_id}
|
|
52
52
|
* @hidden This field is not visible in the UI
|
|
53
53
|
*/
|
|
54
54
|
OrderId?: string | null;
|
|
@@ -40,7 +40,7 @@ export interface CreateCollectionAmcoWorkOrderProperties {
|
|
|
40
40
|
*
|
|
41
41
|
* Reference identifier for WorkOrder relationships. Used for data integrity.
|
|
42
42
|
* @type {LOOKUP}
|
|
43
|
-
* @default Dynamic: {
|
|
43
|
+
* @default Dynamic: {source_record_id}
|
|
44
44
|
* @hidden This field is not visible in the UI
|
|
45
45
|
*/
|
|
46
46
|
OrderId?: string | null;
|
|
@@ -47,7 +47,7 @@ export interface CreateDispatchAmcoWorkOrderProperties {
|
|
|
47
47
|
*
|
|
48
48
|
* Reference identifier for WorkOrder relationships. Used for data integrity.
|
|
49
49
|
* @type {LOOKUP}
|
|
50
|
-
* @default Dynamic: {
|
|
50
|
+
* @default Dynamic: {source_record_id}
|
|
51
51
|
* @hidden This field is not visible in the UI
|
|
52
52
|
*/
|
|
53
53
|
OrderId?: string | null;
|
|
@@ -39,7 +39,7 @@ export interface CreateDispatchAmcoWorkOrderProperties {
|
|
|
39
39
|
*
|
|
40
40
|
* Reference identifier for WorkOrder relationships. Used for data integrity.
|
|
41
41
|
* @type {LOOKUP}
|
|
42
|
-
* @default Dynamic: {
|
|
42
|
+
* @default Dynamic: {source_record_id}
|
|
43
43
|
* @hidden This field is not visible in the UI
|
|
44
44
|
*/
|
|
45
45
|
OrderId?: string | null;
|
|
@@ -15,7 +15,7 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
15
15
|
* Properties for CreateChurnRequest action
|
|
16
16
|
*
|
|
17
17
|
* @property Required fields: 3
|
|
18
|
-
* @property Optional fields:
|
|
18
|
+
* @property Optional fields: 7
|
|
19
19
|
*/
|
|
20
20
|
export interface CreateChurnRequestProperties {
|
|
21
21
|
/**
|
|
@@ -57,9 +57,43 @@ export interface CreateChurnRequestProperties {
|
|
|
57
57
|
* Customer Relocation Address
|
|
58
58
|
* @type {LOOKUP}
|
|
59
59
|
* @visibleWhen Reason = ["SALES_MOVE_OUT","SALES_MOVE_OUT_IN_AREA"]
|
|
60
|
-
* @requiredWhen CustomerAddressInfoNotProvided = ["false"] AND = []
|
|
61
60
|
*/
|
|
62
61
|
MovingToAddress?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Address is not searchable
|
|
64
|
+
*
|
|
65
|
+
* Select
|
|
66
|
+
* @type {BOOLEAN}
|
|
67
|
+
* @visibleWhen Reason = ["SALES_MOVE_OUT","SALES_MOVE_OUT_IN_AREA"]
|
|
68
|
+
*/
|
|
69
|
+
AddressNotListed?: boolean | null;
|
|
70
|
+
/**
|
|
71
|
+
* Address Line 1
|
|
72
|
+
*
|
|
73
|
+
* Example: 1A DURHAM WAY
|
|
74
|
+
* @type {TEXT}
|
|
75
|
+
* @visibleWhen AddressNotListed = ["true"]
|
|
76
|
+
* @requiredWhen AddressNotListed = ["true"]
|
|
77
|
+
*/
|
|
78
|
+
AdressLine1ManualEntry?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* City / Town
|
|
81
|
+
*
|
|
82
|
+
* Example: PETERLEE
|
|
83
|
+
* @type {TEXT}
|
|
84
|
+
* @visibleWhen AddressNotListed = ["true"]
|
|
85
|
+
* @requiredWhen AddressNotListed = ["true"]
|
|
86
|
+
*/
|
|
87
|
+
TownManualEntry?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Postcode
|
|
90
|
+
*
|
|
91
|
+
* Example: SR8 1QB
|
|
92
|
+
* @type {TEXT}
|
|
93
|
+
* @visibleWhen AddressNotListed = ["true"]
|
|
94
|
+
* @requiredWhen AddressNotListed = ["true"]
|
|
95
|
+
*/
|
|
96
|
+
PostcodeManualEntry?: string | null;
|
|
63
97
|
}
|
|
64
98
|
/**
|
|
65
99
|
* CreateChurnRequest
|
|
@@ -15,7 +15,7 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
15
15
|
* Properties for CreateChurnRequest action
|
|
16
16
|
*
|
|
17
17
|
* @property Required fields: 3
|
|
18
|
-
* @property Optional fields:
|
|
18
|
+
* @property Optional fields: 7
|
|
19
19
|
*/
|
|
20
20
|
export interface CreateChurnRequestProperties {
|
|
21
21
|
/**
|
|
@@ -57,9 +57,43 @@ export interface CreateChurnRequestProperties {
|
|
|
57
57
|
* Customer Relocation Address
|
|
58
58
|
* @type {LOOKUP}
|
|
59
59
|
* @visibleWhen Reason = ["SALES_MOVE_OUT","SALES_MOVE_OUT_IN_AREA"]
|
|
60
|
-
* @requiredWhen CustomerAddressInfoNotProvided = ["false"] AND = []
|
|
61
60
|
*/
|
|
62
61
|
MovingToAddress?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Address is not searchable
|
|
64
|
+
*
|
|
65
|
+
* Select
|
|
66
|
+
* @type {BOOLEAN}
|
|
67
|
+
* @visibleWhen Reason = ["SALES_MOVE_OUT","SALES_MOVE_OUT_IN_AREA"]
|
|
68
|
+
*/
|
|
69
|
+
AddressNotListed?: boolean | null;
|
|
70
|
+
/**
|
|
71
|
+
* Address Line 1
|
|
72
|
+
*
|
|
73
|
+
* Example: 1A DURHAM WAY
|
|
74
|
+
* @type {TEXT}
|
|
75
|
+
* @visibleWhen AddressNotListed = ["true"]
|
|
76
|
+
* @requiredWhen AddressNotListed = ["true"]
|
|
77
|
+
*/
|
|
78
|
+
AdressLine1ManualEntry?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* City / Town
|
|
81
|
+
*
|
|
82
|
+
* Example: PETERLEE
|
|
83
|
+
* @type {TEXT}
|
|
84
|
+
* @visibleWhen AddressNotListed = ["true"]
|
|
85
|
+
* @requiredWhen AddressNotListed = ["true"]
|
|
86
|
+
*/
|
|
87
|
+
TownManualEntry?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Postcode
|
|
90
|
+
*
|
|
91
|
+
* Example: SR8 1QB
|
|
92
|
+
* @type {TEXT}
|
|
93
|
+
* @visibleWhen AddressNotListed = ["true"]
|
|
94
|
+
* @requiredWhen AddressNotListed = ["true"]
|
|
95
|
+
*/
|
|
96
|
+
PostcodeManualEntry?: string | null;
|
|
63
97
|
}
|
|
64
98
|
/**
|
|
65
99
|
* CreateChurnRequest
|
|
@@ -21,8 +21,8 @@ export interface UpdateOutboundDialCampaignCaseOnDialEndMessage extends OdinReco
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for UpdateOutboundDialCampaignCaseOnDialEnd action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
25
|
-
* @property Optional fields:
|
|
24
|
+
* @property Required fields: 1
|
|
25
|
+
* @property Optional fields: 1
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateOutboundDialCampaignCaseOnDialEndProperties {
|
|
28
28
|
/**
|
|
@@ -38,9 +38,8 @@ export interface UpdateOutboundDialCampaignCaseOnDialEndProperties {
|
|
|
38
38
|
*
|
|
39
39
|
* CurrentCallId
|
|
40
40
|
* @type {LOOKUP}
|
|
41
|
-
* @required
|
|
42
41
|
*/
|
|
43
|
-
CurrentCallId
|
|
42
|
+
CurrentCallId?: string | null;
|
|
44
43
|
}
|
|
45
44
|
/**
|
|
46
45
|
* UpdateOutboundDialCampaignCaseOnDialEnd
|
|
@@ -186,7 +186,15 @@ export declare enum ChurnRequestPropertyKeys {
|
|
|
186
186
|
/** Customer Relocation Address */
|
|
187
187
|
MovingToAddress = "MovingToAddress",
|
|
188
188
|
/** Select */
|
|
189
|
-
CustomerAddressInfoNotProvided = "CustomerAddressInfoNotProvided"
|
|
189
|
+
CustomerAddressInfoNotProvided = "CustomerAddressInfoNotProvided",
|
|
190
|
+
/** Example: 1A DURHAM WAY */
|
|
191
|
+
AdressLine1ManualEntry = "AdressLine1ManualEntry",
|
|
192
|
+
/** Example: PETERLEE */
|
|
193
|
+
TownManualEntry = "TownManualEntry",
|
|
194
|
+
/** Example: SR8 1QB */
|
|
195
|
+
PostcodeManualEntry = "PostcodeManualEntry",
|
|
196
|
+
/** Select */
|
|
197
|
+
AddressNotListed = "AddressNotListed"
|
|
190
198
|
}
|
|
191
199
|
/**
|
|
192
200
|
* Properties for ChurnRequest records
|
|
@@ -256,6 +264,26 @@ export interface ChurnRequestProperties {
|
|
|
256
264
|
* @type {BOOLEAN}
|
|
257
265
|
*/
|
|
258
266
|
CustomerAddressInfoNotProvided: boolean;
|
|
267
|
+
/** Example: 1A DURHAM WAY
|
|
268
|
+
*
|
|
269
|
+
* @type {TEXT}
|
|
270
|
+
*/
|
|
271
|
+
AdressLine1ManualEntry: string;
|
|
272
|
+
/** Example: PETERLEE
|
|
273
|
+
*
|
|
274
|
+
* @type {TEXT}
|
|
275
|
+
*/
|
|
276
|
+
TownManualEntry: string;
|
|
277
|
+
/** Example: SR8 1QB
|
|
278
|
+
*
|
|
279
|
+
* @type {TEXT}
|
|
280
|
+
*/
|
|
281
|
+
PostcodeManualEntry: string;
|
|
282
|
+
/** Select
|
|
283
|
+
*
|
|
284
|
+
* @type {BOOLEAN}
|
|
285
|
+
*/
|
|
286
|
+
AddressNotListed: boolean;
|
|
259
287
|
}
|
|
260
288
|
/**
|
|
261
289
|
* ChurnRequest entity from OrderModule
|
|
@@ -195,6 +195,14 @@ var ChurnRequestPropertyKeys;
|
|
|
195
195
|
ChurnRequestPropertyKeys["MovingToAddress"] = "MovingToAddress";
|
|
196
196
|
/** Select */
|
|
197
197
|
ChurnRequestPropertyKeys["CustomerAddressInfoNotProvided"] = "CustomerAddressInfoNotProvided";
|
|
198
|
+
/** Example: 1A DURHAM WAY */
|
|
199
|
+
ChurnRequestPropertyKeys["AdressLine1ManualEntry"] = "AdressLine1ManualEntry";
|
|
200
|
+
/** Example: PETERLEE */
|
|
201
|
+
ChurnRequestPropertyKeys["TownManualEntry"] = "TownManualEntry";
|
|
202
|
+
/** Example: SR8 1QB */
|
|
203
|
+
ChurnRequestPropertyKeys["PostcodeManualEntry"] = "PostcodeManualEntry";
|
|
204
|
+
/** Select */
|
|
205
|
+
ChurnRequestPropertyKeys["AddressNotListed"] = "AddressNotListed";
|
|
198
206
|
})(ChurnRequestPropertyKeys = exports.ChurnRequestPropertyKeys || (exports.ChurnRequestPropertyKeys = {}));
|
|
199
207
|
/**
|
|
200
208
|
* ChurnRequest entity from OrderModule
|