@d19n/youfibre-odin-sdk 2.0.229-beta.13 → 2.0.229-beta.2
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/CancelOrderPreInstallDto.d.ts +4 -0
- package/dist/actions-v2/CancelOrderPreInstallDto.js +5 -1
- package/dist/actions-v2/CompletePicRequestDto.d.ts +8 -21
- package/dist/actions-v2/CompletePicRequestDto.js +7 -0
- package/dist/actions-v2/CompletePicRequestFlowDto.d.ts +5 -21
- package/dist/actions-v2/CompletePicRequestFlowDto.js +4 -0
- package/dist/actions-v2/CreatePicRequestDto.d.ts +7 -0
- package/dist/actions-v2/CreatePicRequestDto.js +8 -1
- package/dist/actions-v2/DefaultUpdatePicRequestDto.d.ts +4 -0
- package/dist/actions-v2/DefaultUpdatePicRequestDto.js +4 -0
- package/dist/actions-v2/UpdateCallAnalyticsDto.d.ts +1 -8
- package/dist/actions-v2/UpdateCallOnInboundCallAnsweredDto.d.ts +1 -15
- package/dist/actions-v2/UpdateCallOnOutboundCallAnsweredDto.d.ts +0 -30
- package/dist/actions-v2/UpdateCallOnOutboundCallCompletedDto.d.ts +1 -8
- package/dist/actions-v2/UpdatePgPaymentMethodDto.d.ts +1 -15
- package/dist/actions-v2/UpdatePgTransactionChargeDto.d.ts +1 -15
- package/dist/actions-v2/UpdatePgTransactionRefundDto.d.ts +1 -15
- package/dist/entities-v2/Call.d.ts +7 -14
- package/dist/entities-v2/Call.js +2 -4
- package/dist/entities-v2/PICRequest.d.ts +12 -107
- package/dist/entities-v2/PICRequest.js +12 -92
- package/dist/entities-v2/PgPaymentMethod.d.ts +1 -15
- package/dist/entities-v2/PgPaymentMethod.js +0 -4
- package/dist/entities-v2/PgTransaction.d.ts +0 -34
- package/dist/entities-v2/PgTransaction.js +0 -4
- package/dist/records-v2/OrderRecord.js +1 -0
- package/dist/records-v2/PICRequestRecord.d.ts +2 -2
- package/dist/records-v2/PICRequestRecord.js +4 -3
- package/package.json +1 -1
|
@@ -49,6 +49,7 @@ export interface CreatePicRequestProperties {
|
|
|
49
49
|
* @actionType CREATE - Creates a new PICRequest record
|
|
50
50
|
* @module OrderModule
|
|
51
51
|
* @entity PICRequest
|
|
52
|
+
* @entityType DEFAULT (Default)
|
|
52
53
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest
|
|
53
54
|
* @permission schema.action.createpicrequest.trigger
|
|
54
55
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -59,12 +60,15 @@ export declare class CreatePicRequestDto extends OdinRecordCreateDto<CreatePicRe
|
|
|
59
60
|
static readonly ACTION_KEY = "CreatePICRequest";
|
|
60
61
|
static readonly MODULE_NAME = "OrderModule";
|
|
61
62
|
static readonly ENTITIES: string[];
|
|
63
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
62
64
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest";
|
|
63
65
|
static readonly PERMISSION = "schema.action.createpicrequest.trigger";
|
|
64
66
|
/** Step metadata - entity this action targets */
|
|
65
67
|
static readonly STEP_ENTITY = "OrderModule:PICRequest";
|
|
66
68
|
static readonly STEP_SCHEMA_ID = "5d43f05b-29a7-4cb7-9eb4-95517cc18ba1";
|
|
67
69
|
static readonly STEP_SCHEMA_ACTION_ID = "496ce548-851d-413c-9faf-c5d7714d3dc9";
|
|
70
|
+
static readonly STEP_SCHEMA_TYPE_ID = "5a01904f-3508-4b80-97af-ee5c0f9b848b";
|
|
71
|
+
static readonly STEP_TYPE = "DEFAULT";
|
|
68
72
|
static readonly AUTO_LINK_PARENT = true;
|
|
69
73
|
readonly actionName: string;
|
|
70
74
|
readonly schemaActionId: string;
|
|
@@ -20,6 +20,7 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
20
20
|
* @actionType CREATE - Creates a new PICRequest record
|
|
21
21
|
* @module OrderModule
|
|
22
22
|
* @entity PICRequest
|
|
23
|
+
* @entityType DEFAULT (Default)
|
|
23
24
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest
|
|
24
25
|
* @permission schema.action.createpicrequest.trigger
|
|
25
26
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -28,7 +29,7 @@ class CreatePicRequestDto extends core_1.OdinRecordCreateDto {
|
|
|
28
29
|
constructor(properties, options) {
|
|
29
30
|
super({
|
|
30
31
|
entity: 'OrderModule:PICRequest',
|
|
31
|
-
type:
|
|
32
|
+
type: 'DEFAULT',
|
|
32
33
|
properties,
|
|
33
34
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
34
35
|
});
|
|
@@ -43,12 +44,15 @@ CreatePicRequestDto.ACTION_TYPE = 'CREATE';
|
|
|
43
44
|
CreatePicRequestDto.ACTION_KEY = 'CreatePICRequest';
|
|
44
45
|
CreatePicRequestDto.MODULE_NAME = 'OrderModule';
|
|
45
46
|
CreatePicRequestDto.ENTITIES = ['PICRequest'];
|
|
47
|
+
CreatePicRequestDto.ENTITY_TYPE = 'DEFAULT';
|
|
46
48
|
CreatePicRequestDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest';
|
|
47
49
|
CreatePicRequestDto.PERMISSION = 'schema.action.createpicrequest.trigger';
|
|
48
50
|
/** Step metadata - entity this action targets */
|
|
49
51
|
CreatePicRequestDto.STEP_ENTITY = 'OrderModule:PICRequest';
|
|
50
52
|
CreatePicRequestDto.STEP_SCHEMA_ID = '5d43f05b-29a7-4cb7-9eb4-95517cc18ba1';
|
|
51
53
|
CreatePicRequestDto.STEP_SCHEMA_ACTION_ID = '496ce548-851d-413c-9faf-c5d7714d3dc9';
|
|
54
|
+
CreatePicRequestDto.STEP_SCHEMA_TYPE_ID = '5a01904f-3508-4b80-97af-ee5c0f9b848b';
|
|
55
|
+
CreatePicRequestDto.STEP_TYPE = 'DEFAULT';
|
|
52
56
|
CreatePicRequestDto.AUTO_LINK_PARENT = true;
|
|
53
57
|
/**
|
|
54
58
|
* Type-safe step keys for CancelOrderPreInstall
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CompletePICRequest Action DTO
|
|
3
3
|
*
|
|
4
|
+
* CompletePICRequest
|
|
5
|
+
*
|
|
4
6
|
* @module OrderModule
|
|
5
7
|
* @entity PICRequest
|
|
8
|
+
* @entityType DEFAULT
|
|
6
9
|
* @actionKey CompletePICRequest
|
|
7
10
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest
|
|
8
11
|
*
|
|
@@ -20,7 +23,7 @@ export interface CompletePicRequestMessage extends OdinRecordUpdatedEvent<Comple
|
|
|
20
23
|
* Properties for CompletePICRequest action
|
|
21
24
|
*
|
|
22
25
|
* @property Required fields: 1
|
|
23
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 1
|
|
24
27
|
*/
|
|
25
28
|
export interface CompletePicRequestProperties {
|
|
26
29
|
/**
|
|
@@ -31,26 +34,6 @@ export interface CompletePicRequestProperties {
|
|
|
31
34
|
* @required
|
|
32
35
|
*/
|
|
33
36
|
Outcome: string;
|
|
34
|
-
/**
|
|
35
|
-
* Youfibre Retentions Offer
|
|
36
|
-
* @type {ENUM}
|
|
37
|
-
* @requiredWhen Outcome = ["SAVED"]
|
|
38
|
-
*/
|
|
39
|
-
YoufibreRetentionsOffer?: string | null;
|
|
40
|
-
/**
|
|
41
|
-
* Comparable Offer
|
|
42
|
-
* @type {NUMBER}
|
|
43
|
-
* @visibleWhen Outcome = ["LOST"]
|
|
44
|
-
* @requiredWhen Outcome = ["LOST"]
|
|
45
|
-
*/
|
|
46
|
-
ComparableOffer?: number | null;
|
|
47
|
-
/**
|
|
48
|
-
* Winning Provider
|
|
49
|
-
* @type {ENUM}
|
|
50
|
-
* @visibleWhen Outcome = ["LOST"]
|
|
51
|
-
* @requiredWhen Outcome = ["LOST"]
|
|
52
|
-
*/
|
|
53
|
-
WinningProvider?: string | null;
|
|
54
37
|
/**
|
|
55
38
|
* comment
|
|
56
39
|
*
|
|
@@ -65,6 +48,7 @@ export interface CompletePicRequestProperties {
|
|
|
65
48
|
* @actionType UPDATE - Updates an existing PICRequest record
|
|
66
49
|
* @module OrderModule
|
|
67
50
|
* @entity PICRequest
|
|
51
|
+
* @entityType DEFAULT (Default)
|
|
68
52
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest
|
|
69
53
|
* @permission schema.action.completepicrequest.trigger
|
|
70
54
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -75,12 +59,15 @@ export declare class CompletePicRequestDto extends OdinRecordUpdateDto<CompleteP
|
|
|
75
59
|
static readonly ACTION_KEY = "CompletePICRequest";
|
|
76
60
|
static readonly MODULE_NAME = "OrderModule";
|
|
77
61
|
static readonly ENTITIES: string[];
|
|
62
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
78
63
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest";
|
|
79
64
|
static readonly PERMISSION = "schema.action.completepicrequest.trigger";
|
|
80
65
|
/** Step metadata - entity this action targets */
|
|
81
66
|
static readonly STEP_ENTITY = "OrderModule:PICRequest";
|
|
82
67
|
static readonly STEP_SCHEMA_ID = "5d43f05b-29a7-4cb7-9eb4-95517cc18ba1";
|
|
83
68
|
static readonly STEP_SCHEMA_ACTION_ID = "f5840ff6-23ed-4f7a-8f5d-0bfd8fb45fb6";
|
|
69
|
+
static readonly STEP_SCHEMA_TYPE_ID = "5a01904f-3508-4b80-97af-ee5c0f9b848b";
|
|
70
|
+
static readonly STEP_TYPE = "DEFAULT";
|
|
84
71
|
static readonly AUTO_LINK_PARENT = false;
|
|
85
72
|
readonly actionName: string;
|
|
86
73
|
readonly schemaActionId: string;
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* CompletePICRequest Action DTO
|
|
4
4
|
*
|
|
5
|
+
* CompletePICRequest
|
|
6
|
+
*
|
|
5
7
|
* @module OrderModule
|
|
6
8
|
* @entity PICRequest
|
|
9
|
+
* @entityType DEFAULT
|
|
7
10
|
* @actionKey CompletePICRequest
|
|
8
11
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest
|
|
9
12
|
*
|
|
@@ -18,6 +21,7 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
18
21
|
* @actionType UPDATE - Updates an existing PICRequest record
|
|
19
22
|
* @module OrderModule
|
|
20
23
|
* @entity PICRequest
|
|
24
|
+
* @entityType DEFAULT (Default)
|
|
21
25
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest
|
|
22
26
|
* @permission schema.action.completepicrequest.trigger
|
|
23
27
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -43,10 +47,13 @@ CompletePicRequestDto.ACTION_TYPE = 'UPDATE';
|
|
|
43
47
|
CompletePicRequestDto.ACTION_KEY = 'CompletePICRequest';
|
|
44
48
|
CompletePicRequestDto.MODULE_NAME = 'OrderModule';
|
|
45
49
|
CompletePicRequestDto.ENTITIES = ['PICRequest'];
|
|
50
|
+
CompletePicRequestDto.ENTITY_TYPE = 'DEFAULT';
|
|
46
51
|
CompletePicRequestDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest';
|
|
47
52
|
CompletePicRequestDto.PERMISSION = 'schema.action.completepicrequest.trigger';
|
|
48
53
|
/** Step metadata - entity this action targets */
|
|
49
54
|
CompletePicRequestDto.STEP_ENTITY = 'OrderModule:PICRequest';
|
|
50
55
|
CompletePicRequestDto.STEP_SCHEMA_ID = '5d43f05b-29a7-4cb7-9eb4-95517cc18ba1';
|
|
51
56
|
CompletePicRequestDto.STEP_SCHEMA_ACTION_ID = 'f5840ff6-23ed-4f7a-8f5d-0bfd8fb45fb6';
|
|
57
|
+
CompletePicRequestDto.STEP_SCHEMA_TYPE_ID = '5a01904f-3508-4b80-97af-ee5c0f9b848b';
|
|
58
|
+
CompletePicRequestDto.STEP_TYPE = 'DEFAULT';
|
|
52
59
|
CompletePicRequestDto.AUTO_LINK_PARENT = false;
|
|
@@ -16,7 +16,7 @@ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/o
|
|
|
16
16
|
* Properties for CompletePICRequest action
|
|
17
17
|
*
|
|
18
18
|
* @property Required fields: 1
|
|
19
|
-
* @property Optional fields:
|
|
19
|
+
* @property Optional fields: 1
|
|
20
20
|
*/
|
|
21
21
|
export interface CompletePicRequestProperties {
|
|
22
22
|
/**
|
|
@@ -27,26 +27,6 @@ export interface CompletePicRequestProperties {
|
|
|
27
27
|
* @required
|
|
28
28
|
*/
|
|
29
29
|
Outcome: string;
|
|
30
|
-
/**
|
|
31
|
-
* Youfibre Retentions Offer
|
|
32
|
-
* @type {ENUM}
|
|
33
|
-
* @requiredWhen Outcome = ["SAVED"]
|
|
34
|
-
*/
|
|
35
|
-
YoufibreRetentionsOffer?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
* Comparable Offer
|
|
38
|
-
* @type {NUMBER}
|
|
39
|
-
* @visibleWhen Outcome = ["LOST"]
|
|
40
|
-
* @requiredWhen Outcome = ["LOST"]
|
|
41
|
-
*/
|
|
42
|
-
ComparableOffer?: number | null;
|
|
43
|
-
/**
|
|
44
|
-
* Winning Provider
|
|
45
|
-
* @type {ENUM}
|
|
46
|
-
* @visibleWhen Outcome = ["LOST"]
|
|
47
|
-
* @requiredWhen Outcome = ["LOST"]
|
|
48
|
-
*/
|
|
49
|
-
WinningProvider?: string | null;
|
|
50
30
|
/**
|
|
51
31
|
* comment
|
|
52
32
|
*
|
|
@@ -61,6 +41,7 @@ export interface CompletePicRequestProperties {
|
|
|
61
41
|
* @actionType UPDATE - Updates an existing PICRequest record
|
|
62
42
|
* @module OrderModule
|
|
63
43
|
* @entity PICRequest
|
|
44
|
+
* @entityType DEFAULT (Default)
|
|
64
45
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest
|
|
65
46
|
* @permission schema.action.completepicrequest.trigger
|
|
66
47
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -71,12 +52,15 @@ export declare class CompletePicRequestDto extends OdinRecordUpdateDto<CompleteP
|
|
|
71
52
|
static readonly ACTION_KEY = "CompletePICRequest";
|
|
72
53
|
static readonly MODULE_NAME = "OrderModule";
|
|
73
54
|
static readonly ENTITIES: string[];
|
|
55
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
74
56
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest";
|
|
75
57
|
static readonly PERMISSION = "schema.action.completepicrequest.trigger";
|
|
76
58
|
/** Step metadata - entity this action targets */
|
|
77
59
|
static readonly STEP_ENTITY = "OrderModule:PICRequest";
|
|
78
60
|
static readonly STEP_SCHEMA_ID = "5d43f05b-29a7-4cb7-9eb4-95517cc18ba1";
|
|
79
61
|
static readonly STEP_SCHEMA_ACTION_ID = "f5840ff6-23ed-4f7a-8f5d-0bfd8fb45fb6";
|
|
62
|
+
static readonly STEP_SCHEMA_TYPE_ID = "5a01904f-3508-4b80-97af-ee5c0f9b848b";
|
|
63
|
+
static readonly STEP_TYPE = "DEFAULT";
|
|
80
64
|
static readonly AUTO_LINK_PARENT = false;
|
|
81
65
|
readonly actionName: string;
|
|
82
66
|
readonly schemaActionId: string;
|
|
@@ -21,6 +21,7 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
21
21
|
* @actionType UPDATE - Updates an existing PICRequest record
|
|
22
22
|
* @module OrderModule
|
|
23
23
|
* @entity PICRequest
|
|
24
|
+
* @entityType DEFAULT (Default)
|
|
24
25
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest
|
|
25
26
|
* @permission schema.action.completepicrequest.trigger
|
|
26
27
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -46,12 +47,15 @@ CompletePicRequestDto.ACTION_TYPE = 'UPDATE';
|
|
|
46
47
|
CompletePicRequestDto.ACTION_KEY = 'CompletePICRequest';
|
|
47
48
|
CompletePicRequestDto.MODULE_NAME = 'OrderModule';
|
|
48
49
|
CompletePicRequestDto.ENTITIES = ['PICRequest'];
|
|
50
|
+
CompletePicRequestDto.ENTITY_TYPE = 'DEFAULT';
|
|
49
51
|
CompletePicRequestDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest';
|
|
50
52
|
CompletePicRequestDto.PERMISSION = 'schema.action.completepicrequest.trigger';
|
|
51
53
|
/** Step metadata - entity this action targets */
|
|
52
54
|
CompletePicRequestDto.STEP_ENTITY = 'OrderModule:PICRequest';
|
|
53
55
|
CompletePicRequestDto.STEP_SCHEMA_ID = '5d43f05b-29a7-4cb7-9eb4-95517cc18ba1';
|
|
54
56
|
CompletePicRequestDto.STEP_SCHEMA_ACTION_ID = 'f5840ff6-23ed-4f7a-8f5d-0bfd8fb45fb6';
|
|
57
|
+
CompletePicRequestDto.STEP_SCHEMA_TYPE_ID = '5a01904f-3508-4b80-97af-ee5c0f9b848b';
|
|
58
|
+
CompletePicRequestDto.STEP_TYPE = 'DEFAULT';
|
|
55
59
|
CompletePicRequestDto.AUTO_LINK_PARENT = false;
|
|
56
60
|
/**
|
|
57
61
|
* Type-safe step keys for CompletePicRequestFlow
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CreatePICRequest Action DTO
|
|
3
3
|
*
|
|
4
|
+
* CreatePICRequest
|
|
5
|
+
*
|
|
4
6
|
* @module OrderModule
|
|
5
7
|
* @entity PICRequest
|
|
8
|
+
* @entityType DEFAULT
|
|
6
9
|
* @actionKey CreatePICRequest
|
|
7
10
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest
|
|
8
11
|
*
|
|
@@ -54,6 +57,7 @@ export interface CreatePicRequestProperties {
|
|
|
54
57
|
* @actionType CREATE - Creates a new PICRequest record
|
|
55
58
|
* @module OrderModule
|
|
56
59
|
* @entity PICRequest
|
|
60
|
+
* @entityType DEFAULT (Default)
|
|
57
61
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest
|
|
58
62
|
* @permission schema.action.createpicrequest.trigger
|
|
59
63
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -64,12 +68,15 @@ export declare class CreatePicRequestDto extends OdinRecordCreateDto<CreatePicRe
|
|
|
64
68
|
static readonly ACTION_KEY = "CreatePICRequest";
|
|
65
69
|
static readonly MODULE_NAME = "OrderModule";
|
|
66
70
|
static readonly ENTITIES: string[];
|
|
71
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
67
72
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest";
|
|
68
73
|
static readonly PERMISSION = "schema.action.createpicrequest.trigger";
|
|
69
74
|
/** Step metadata - entity this action targets */
|
|
70
75
|
static readonly STEP_ENTITY = "OrderModule:PICRequest";
|
|
71
76
|
static readonly STEP_SCHEMA_ID = "5d43f05b-29a7-4cb7-9eb4-95517cc18ba1";
|
|
72
77
|
static readonly STEP_SCHEMA_ACTION_ID = "496ce548-851d-413c-9faf-c5d7714d3dc9";
|
|
78
|
+
static readonly STEP_SCHEMA_TYPE_ID = "5a01904f-3508-4b80-97af-ee5c0f9b848b";
|
|
79
|
+
static readonly STEP_TYPE = "DEFAULT";
|
|
73
80
|
static readonly AUTO_LINK_PARENT = true;
|
|
74
81
|
readonly actionName: string;
|
|
75
82
|
readonly schemaActionId: string;
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* CreatePICRequest Action DTO
|
|
4
4
|
*
|
|
5
|
+
* CreatePICRequest
|
|
6
|
+
*
|
|
5
7
|
* @module OrderModule
|
|
6
8
|
* @entity PICRequest
|
|
9
|
+
* @entityType DEFAULT
|
|
7
10
|
* @actionKey CreatePICRequest
|
|
8
11
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest
|
|
9
12
|
*
|
|
@@ -18,6 +21,7 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
18
21
|
* @actionType CREATE - Creates a new PICRequest record
|
|
19
22
|
* @module OrderModule
|
|
20
23
|
* @entity PICRequest
|
|
24
|
+
* @entityType DEFAULT (Default)
|
|
21
25
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest
|
|
22
26
|
* @permission schema.action.createpicrequest.trigger
|
|
23
27
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -26,7 +30,7 @@ class CreatePicRequestDto extends core_1.OdinRecordCreateDto {
|
|
|
26
30
|
constructor(properties, options) {
|
|
27
31
|
super({
|
|
28
32
|
entity: 'OrderModule:PICRequest',
|
|
29
|
-
type:
|
|
33
|
+
type: 'DEFAULT',
|
|
30
34
|
properties,
|
|
31
35
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
32
36
|
});
|
|
@@ -41,10 +45,13 @@ CreatePicRequestDto.ACTION_TYPE = 'CREATE';
|
|
|
41
45
|
CreatePicRequestDto.ACTION_KEY = 'CreatePICRequest';
|
|
42
46
|
CreatePicRequestDto.MODULE_NAME = 'OrderModule';
|
|
43
47
|
CreatePicRequestDto.ENTITIES = ['PICRequest'];
|
|
48
|
+
CreatePicRequestDto.ENTITY_TYPE = 'DEFAULT';
|
|
44
49
|
CreatePicRequestDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest';
|
|
45
50
|
CreatePicRequestDto.PERMISSION = 'schema.action.createpicrequest.trigger';
|
|
46
51
|
/** Step metadata - entity this action targets */
|
|
47
52
|
CreatePicRequestDto.STEP_ENTITY = 'OrderModule:PICRequest';
|
|
48
53
|
CreatePicRequestDto.STEP_SCHEMA_ID = '5d43f05b-29a7-4cb7-9eb4-95517cc18ba1';
|
|
49
54
|
CreatePicRequestDto.STEP_SCHEMA_ACTION_ID = '496ce548-851d-413c-9faf-c5d7714d3dc9';
|
|
55
|
+
CreatePicRequestDto.STEP_SCHEMA_TYPE_ID = '5a01904f-3508-4b80-97af-ee5c0f9b848b';
|
|
56
|
+
CreatePicRequestDto.STEP_TYPE = 'DEFAULT';
|
|
50
57
|
CreatePicRequestDto.AUTO_LINK_PARENT = true;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DefaultUpdatePICRequest Action DTO
|
|
3
3
|
*
|
|
4
|
+
* Update a PIC request
|
|
5
|
+
*
|
|
4
6
|
* @module OrderModule
|
|
5
7
|
* @entity PICRequest
|
|
6
8
|
* @actionKey DefaultUpdatePICRequest
|
|
@@ -49,6 +51,8 @@ export interface DefaultUpdatePicRequestProperties {
|
|
|
49
51
|
/**
|
|
50
52
|
* DefaultUpdatePICRequest
|
|
51
53
|
*
|
|
54
|
+
* Update a PIC request
|
|
55
|
+
*
|
|
52
56
|
* @actionType UPDATE - Updates an existing PICRequest record
|
|
53
57
|
* @module OrderModule
|
|
54
58
|
* @entity PICRequest
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* DefaultUpdatePICRequest Action DTO
|
|
4
4
|
*
|
|
5
|
+
* Update a PIC request
|
|
6
|
+
*
|
|
5
7
|
* @module OrderModule
|
|
6
8
|
* @entity PICRequest
|
|
7
9
|
* @actionKey DefaultUpdatePICRequest
|
|
@@ -15,6 +17,8 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
15
17
|
/**
|
|
16
18
|
* DefaultUpdatePICRequest
|
|
17
19
|
*
|
|
20
|
+
* Update a PIC request
|
|
21
|
+
*
|
|
18
22
|
* @actionType UPDATE - Updates an existing PICRequest record
|
|
19
23
|
* @module OrderModule
|
|
20
24
|
* @entity PICRequest
|
|
@@ -22,7 +22,7 @@ export interface UpdateCallAnalyticsMessage extends OdinRecordUpdatedEvent<Updat
|
|
|
22
22
|
* Properties for UpdateCallAnalytics action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 7
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 0
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCallAnalyticsProperties {
|
|
28
28
|
/**
|
|
@@ -81,13 +81,6 @@ export interface UpdateCallAnalyticsProperties {
|
|
|
81
81
|
* @required
|
|
82
82
|
*/
|
|
83
83
|
RingingTimeTotalSec: string;
|
|
84
|
-
/**
|
|
85
|
-
* Time in IVR
|
|
86
|
-
*
|
|
87
|
-
* IVRDuration
|
|
88
|
-
* @type {TEXT}
|
|
89
|
-
*/
|
|
90
|
-
IVRDuration?: string | null;
|
|
91
84
|
}
|
|
92
85
|
/**
|
|
93
86
|
* UpdateCallAnalytics
|
|
@@ -22,7 +22,7 @@ export interface UpdateCallOnInboundCallAnsweredMessage extends OdinRecordUpdate
|
|
|
22
22
|
* Properties for UpdateCallOnInboundCallAnswered action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 4
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 0
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCallOnInboundCallAnsweredProperties {
|
|
28
28
|
/**
|
|
@@ -57,20 +57,6 @@ export interface UpdateCallOnInboundCallAnsweredProperties {
|
|
|
57
57
|
* @required
|
|
58
58
|
*/
|
|
59
59
|
QueueTime: number;
|
|
60
|
-
/**
|
|
61
|
-
* RingingDuration
|
|
62
|
-
*
|
|
63
|
-
* RingingDuration
|
|
64
|
-
* @type {TEXT}
|
|
65
|
-
*/
|
|
66
|
-
RingingDuration?: string | null;
|
|
67
|
-
/**
|
|
68
|
-
* Parent Call Record ID
|
|
69
|
-
*
|
|
70
|
-
* ParentCallId (Communications - Call)
|
|
71
|
-
* @type {UUID}
|
|
72
|
-
*/
|
|
73
|
-
ParentCallId?: string | null;
|
|
74
60
|
}
|
|
75
61
|
/**
|
|
76
62
|
* UpdateCallOnInboundCallAnswered
|
|
@@ -21,38 +21,8 @@ export interface UpdateCallOnOutboundCallAnsweredMessage extends OdinRecordUpdat
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for UpdateCallOnOutboundCallAnswered action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields: 0
|
|
25
|
-
* @property Optional fields: 4
|
|
26
24
|
*/
|
|
27
25
|
export interface UpdateCallOnOutboundCallAnsweredProperties {
|
|
28
|
-
/**
|
|
29
|
-
* Call stage
|
|
30
|
-
*
|
|
31
|
-
* The granular stage of a call, more extensive than CallStatus (Communications - Call)
|
|
32
|
-
* @type {ENUM}
|
|
33
|
-
*/
|
|
34
|
-
CallStage?: string | null;
|
|
35
|
-
/**
|
|
36
|
-
* CallStartTime
|
|
37
|
-
*
|
|
38
|
-
* When customer call was answered (Communications - Call)
|
|
39
|
-
* @type {DATE_TIME}
|
|
40
|
-
*/
|
|
41
|
-
AnswerTime?: string | null;
|
|
42
|
-
/**
|
|
43
|
-
* RingingDuration
|
|
44
|
-
*
|
|
45
|
-
* RingingDuration
|
|
46
|
-
* @type {TEXT}
|
|
47
|
-
*/
|
|
48
|
-
RingingDuration?: string | null;
|
|
49
|
-
/**
|
|
50
|
-
* Parent Call Record ID
|
|
51
|
-
*
|
|
52
|
-
* ParentCallId (Communications - Call)
|
|
53
|
-
* @type {UUID}
|
|
54
|
-
*/
|
|
55
|
-
ParentCallId?: string | null;
|
|
56
26
|
}
|
|
57
27
|
/**
|
|
58
28
|
* UpdateCallOnOutboundCallAnswered
|
|
@@ -22,7 +22,7 @@ export interface UpdateCallOnOutboundCallCompletedMessage extends OdinRecordUpda
|
|
|
22
22
|
* Properties for UpdateCallOnOutboundCallCompleted action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 3
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 1
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCallOnOutboundCallCompletedProperties {
|
|
28
28
|
/**
|
|
@@ -56,13 +56,6 @@ export interface UpdateCallOnOutboundCallCompletedProperties {
|
|
|
56
56
|
* @type {DATE_TIME}
|
|
57
57
|
*/
|
|
58
58
|
EndTime?: string | null;
|
|
59
|
-
/**
|
|
60
|
-
* RecordingStatus
|
|
61
|
-
*
|
|
62
|
-
* RecordingStatus (Communications - Call)
|
|
63
|
-
* @type {TEXT}
|
|
64
|
-
*/
|
|
65
|
-
RecordingStatus?: string | null;
|
|
66
59
|
}
|
|
67
60
|
/**
|
|
68
61
|
* UpdateCallOnOutboundCallCompleted
|
|
@@ -23,7 +23,7 @@ export interface UpdatePgPaymentMethodMessage extends OdinRecordUpdatedEvent<Upd
|
|
|
23
23
|
* Properties for UpdatePgPaymentMethod action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 15
|
|
27
27
|
*/
|
|
28
28
|
export interface UpdatePgPaymentMethodProperties {
|
|
29
29
|
/**
|
|
@@ -131,20 +131,6 @@ export interface UpdatePgPaymentMethodProperties {
|
|
|
131
131
|
* @type {UUID}
|
|
132
132
|
*/
|
|
133
133
|
OdinPaymentMethod?: string | null;
|
|
134
|
-
/**
|
|
135
|
-
* SubmissionDate
|
|
136
|
-
*
|
|
137
|
-
* Submission Date
|
|
138
|
-
* @type {DATE_TIME}
|
|
139
|
-
*/
|
|
140
|
-
SubmissionDate?: string | null;
|
|
141
|
-
/**
|
|
142
|
-
* ProcessingDate
|
|
143
|
-
*
|
|
144
|
-
* Processing Date
|
|
145
|
-
* @type {DATE}
|
|
146
|
-
*/
|
|
147
|
-
ProcessingDate?: string | null;
|
|
148
134
|
}
|
|
149
135
|
/**
|
|
150
136
|
* UpdatePgPaymentMethod
|
|
@@ -23,7 +23,7 @@ export interface UpdatePgTransactionChargeMessage extends OdinRecordUpdatedEvent
|
|
|
23
23
|
* Properties for UpdatePgTransactionCharge action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 14
|
|
27
27
|
*/
|
|
28
28
|
export interface UpdatePgTransactionChargeProperties {
|
|
29
29
|
/**
|
|
@@ -124,20 +124,6 @@ export interface UpdatePgTransactionChargeProperties {
|
|
|
124
124
|
* @type {DATE}
|
|
125
125
|
*/
|
|
126
126
|
ChargeDate?: string | null;
|
|
127
|
-
/**
|
|
128
|
-
* SubmissionDate
|
|
129
|
-
*
|
|
130
|
-
* Submission Date
|
|
131
|
-
* @type {DATE_TIME}
|
|
132
|
-
*/
|
|
133
|
-
SubmissionDate?: string | null;
|
|
134
|
-
/**
|
|
135
|
-
* ProcessingDate
|
|
136
|
-
*
|
|
137
|
-
* Processing Date
|
|
138
|
-
* @type {DATE}
|
|
139
|
-
*/
|
|
140
|
-
ProcessingDate?: string | null;
|
|
141
127
|
}
|
|
142
128
|
/**
|
|
143
129
|
* UpdatePgTransactionCharge
|
|
@@ -23,7 +23,7 @@ export interface UpdatePgTransactionRefundMessage extends OdinRecordUpdatedEvent
|
|
|
23
23
|
* Properties for UpdatePgTransactionRefund action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 14
|
|
27
27
|
*/
|
|
28
28
|
export interface UpdatePgTransactionRefundProperties {
|
|
29
29
|
/**
|
|
@@ -124,20 +124,6 @@ export interface UpdatePgTransactionRefundProperties {
|
|
|
124
124
|
* @type {DATE}
|
|
125
125
|
*/
|
|
126
126
|
ChargeDate?: string | null;
|
|
127
|
-
/**
|
|
128
|
-
* ProcessingDate
|
|
129
|
-
*
|
|
130
|
-
* Processing Date
|
|
131
|
-
* @type {DATE}
|
|
132
|
-
*/
|
|
133
|
-
ProcessingDate?: string | null;
|
|
134
|
-
/**
|
|
135
|
-
* SubmissionDate
|
|
136
|
-
*
|
|
137
|
-
* Submission Date
|
|
138
|
-
* @type {DATE_TIME}
|
|
139
|
-
*/
|
|
140
|
-
SubmissionDate?: string | null;
|
|
141
127
|
}
|
|
142
128
|
/**
|
|
143
129
|
* UpdatePgTransactionRefund
|
|
@@ -220,8 +220,6 @@ export declare enum CallPropertyKeys {
|
|
|
220
220
|
OutboundDialSessionId = "OutboundDialSessionId",
|
|
221
221
|
/** TaskQueueSid */
|
|
222
222
|
TaskQueueSid = "TaskQueueSid",
|
|
223
|
-
/** RingingDuration */
|
|
224
|
-
RingingDuration = "RingingDuration",
|
|
225
223
|
/** WhoHungUp */
|
|
226
224
|
WhoHungUp = "WhoHungUp",
|
|
227
225
|
/** DialOrigin */
|
|
@@ -242,10 +240,10 @@ export declare enum CallPropertyKeys {
|
|
|
242
240
|
From = "From",
|
|
243
241
|
/** Classification type for Call records. Used by Communications team for categorization. */
|
|
244
242
|
Type = "Type",
|
|
245
|
-
/** Queue entry time */
|
|
246
|
-
QueueEntryTime = "QueueEntryTime",
|
|
247
243
|
/** IVRDuration */
|
|
248
244
|
IvrDuration = "IVRDuration",
|
|
245
|
+
/** Queue entry time */
|
|
246
|
+
QueueEntryTime = "QueueEntryTime",
|
|
249
247
|
/** CallEndReason */
|
|
250
248
|
CallEndReason = "CallEndReason",
|
|
251
249
|
/** RingingTimeTotalSec */
|
|
@@ -458,11 +456,6 @@ export interface CallProperties {
|
|
|
458
456
|
* @type {TEXT}
|
|
459
457
|
*/
|
|
460
458
|
TaskQueueSid: string;
|
|
461
|
-
/** RingingDuration
|
|
462
|
-
*
|
|
463
|
-
* @type {TEXT}
|
|
464
|
-
*/
|
|
465
|
-
RingingDuration: string;
|
|
466
459
|
/** WhoHungUp
|
|
467
460
|
*
|
|
468
461
|
* @type {ENUM}
|
|
@@ -516,16 +509,16 @@ export interface CallProperties {
|
|
|
516
509
|
* @type {TEXT}
|
|
517
510
|
*/
|
|
518
511
|
Type: string;
|
|
512
|
+
/** IVRDuration
|
|
513
|
+
*
|
|
514
|
+
* @type {NUMBER}
|
|
515
|
+
*/
|
|
516
|
+
IvrDuration: number;
|
|
519
517
|
/** Queue entry time
|
|
520
518
|
*
|
|
521
519
|
* @type {DATE_TIME}
|
|
522
520
|
*/
|
|
523
521
|
QueueEntryTime: string;
|
|
524
|
-
/** IVRDuration
|
|
525
|
-
*
|
|
526
|
-
* @type {TEXT}
|
|
527
|
-
*/
|
|
528
|
-
IvrDuration: string;
|
|
529
522
|
/** CallEndReason
|
|
530
523
|
*
|
|
531
524
|
* @type {ENUM}
|
package/dist/entities-v2/Call.js
CHANGED
|
@@ -220,8 +220,6 @@ var CallPropertyKeys;
|
|
|
220
220
|
CallPropertyKeys["OutboundDialSessionId"] = "OutboundDialSessionId";
|
|
221
221
|
/** TaskQueueSid */
|
|
222
222
|
CallPropertyKeys["TaskQueueSid"] = "TaskQueueSid";
|
|
223
|
-
/** RingingDuration */
|
|
224
|
-
CallPropertyKeys["RingingDuration"] = "RingingDuration";
|
|
225
223
|
/** WhoHungUp */
|
|
226
224
|
CallPropertyKeys["WhoHungUp"] = "WhoHungUp";
|
|
227
225
|
/** DialOrigin */
|
|
@@ -242,10 +240,10 @@ var CallPropertyKeys;
|
|
|
242
240
|
CallPropertyKeys["From"] = "From";
|
|
243
241
|
/** Classification type for Call records. Used by Communications team for categorization. */
|
|
244
242
|
CallPropertyKeys["Type"] = "Type";
|
|
245
|
-
/** Queue entry time */
|
|
246
|
-
CallPropertyKeys["QueueEntryTime"] = "QueueEntryTime";
|
|
247
243
|
/** IVRDuration */
|
|
248
244
|
CallPropertyKeys["IvrDuration"] = "IVRDuration";
|
|
245
|
+
/** Queue entry time */
|
|
246
|
+
CallPropertyKeys["QueueEntryTime"] = "QueueEntryTime";
|
|
249
247
|
/** CallEndReason */
|
|
250
248
|
CallPropertyKeys["CallEndReason"] = "CallEndReason";
|
|
251
249
|
/** RingingTimeTotalSec */
|
|
@@ -51,50 +51,28 @@ export declare enum DefaultPICRequestStageKeys {
|
|
|
51
51
|
* the reason for the pre install cancellation request (Sales - PICRequest)
|
|
52
52
|
*
|
|
53
53
|
* @remarks Available options:
|
|
54
|
-
* - `C_01_CUSTOMER_UNCONTACTABLE` - C - 01 – Customer uncontactable
|
|
55
|
-
* - `C_02_DID_NOT_AGREE_ROUTE` - C - 02 - Did not agree route
|
|
56
|
-
* - `C_03_DECEASED` - C - 03 - Deceased
|
|
57
|
-
* - `C_04_REQUEST_TO_DELAY` - C - 04 - Request to delay
|
|
58
|
-
* - `C_05_RETENTION_OFFER_BY_PROVIDER` - C - 05 - Retention Offer by provider
|
|
59
|
-
* - `C_06_CBO_TOO_HIGH` - C - 06 – CBO too high
|
|
60
|
-
* - `C_07_CANT_AFFORD_MONTHLY_COST` - C - 07 – Can't afford monthly cost
|
|
61
|
-
* - `C_08_OOH_SLOT_REQUIRED` - C - 08 - OOH slot required
|
|
62
|
-
* - `C_09_POOR_CUSTOMER_EXPERIENCE` - C - 09 - Poor customer experience
|
|
63
54
|
* - `CUSTOMER_NOT_AGREED_INSTALL_ROUTE` - Customer Not Agreed Install Route
|
|
64
55
|
* - `CUSTOMER_SERVICE` - Customer Service
|
|
65
56
|
* - `DECEASED` - Deceased
|
|
66
|
-
* - `
|
|
67
|
-
* - `
|
|
68
|
-
* - `
|
|
69
|
-
* -
|
|
57
|
+
* - `INSTALLATION_DELAY_NETOMNIA` - Installation Delay (Netomnia)
|
|
58
|
+
* - `CANCELLATION_FOR_PERSONAL_REASONS` - Personal reasons
|
|
59
|
+
* - `REQUEST_TO_DELAY` - Request to Delay
|
|
60
|
+
* - `SALES_DUPLICATE_ORDER` - Sales (Duplicate Order)
|
|
61
|
+
* - `SALES_INSTALL_NOT_BOOKED` - Sales (Install Not Booked)
|
|
62
|
+
* - `SALES_LOST_TO_COMPETITION` - Sales (Lost to Competition)
|
|
63
|
+
* - `SALES_MISSELLING` - Sales (Misselling)
|
|
64
|
+
* - `SALES_MOVE_OUT` - Sales (Move-Out)
|
|
65
|
+
* - `SALES_OFFER_LAPSED` - Sales (Offer Lapsed & Re-sold)
|
|
66
|
+
* - `SALES_UNREACHABLE` - Sales (Unreachable)
|
|
67
|
+
* - `UNINSTALLABLE_PROPERTY` - Uninstallable Property (Netomnia)
|
|
70
68
|
*/
|
|
71
69
|
export declare enum PICRequestReason {
|
|
72
|
-
C_01_CUSTOMER_UNCONTACTABLE = "C_01_CUSTOMER_UNCONTACTABLE",
|
|
73
|
-
C_02_DID_NOT_AGREE_ROUTE = "C_02_DID_NOT_AGREE_ROUTE",
|
|
74
|
-
C_03_DECEASED = "C_03_DECEASED",
|
|
75
|
-
C_04_REQUEST_TO_DELAY = "C_04_REQUEST_TO_DELAY",
|
|
76
|
-
C_05_RETENTION_OFFER_BY_PROVIDER = "C_05_RETENTION_OFFER_BY_PROVIDER",
|
|
77
|
-
C_06_CBO_TOO_HIGH = "C_06_CBO_TOO_HIGH",
|
|
78
|
-
C_07_CAN_T_AFFORD_MONTHLY_COST = "C_07_CANT_AFFORD_MONTHLY_COST",
|
|
79
|
-
C_08_OOH_SLOT_REQUIRED = "C_08_OOH_SLOT_REQUIRED",
|
|
80
|
-
C_09_POOR_CUSTOMER_EXPERIENCE = "C_09_POOR_CUSTOMER_EXPERIENCE",
|
|
81
70
|
CUSTOMER_NOT_AGREED_INSTALL_ROUTE = "CUSTOMER_NOT_AGREED_INSTALL_ROUTE",
|
|
82
71
|
CUSTOMER_SERVICE = "CUSTOMER_SERVICE",
|
|
83
72
|
DECEASED = "DECEASED",
|
|
84
|
-
E_01_SLOT_MISSED_SUPPLIER = "E_01_SLOT_MISSED_SUPPLIER",
|
|
85
|
-
I_01_UNINSTALLABLE_PROPERTY = "I_01_UNINSTALLABLE_PROPERTY",
|
|
86
|
-
I_02_REMEDIATION_DELAY = "I_02_REMEDIATION_DELAY",
|
|
87
73
|
INSTALLATION_DELAY_NETOMNIA = "INSTALLATION_DELAY_NETOMNIA",
|
|
88
|
-
O_01_INCORRECT_PRODUCT_INFO = "O_01_INCORRECT_PRODUCT_INFO",
|
|
89
|
-
O_02_VULNERABLE_CUSTOMER = "O_02_VULNERABLE_CUSTOMER",
|
|
90
|
-
O_03_ORDER_AT_WRONG_ADDRESS = "O_03_ORDER_AT_WRONG_ADDRESS",
|
|
91
|
-
O_04_POST_SALE_REFERRAL_CODE = "O_04_POST_SALE_REFERRAL_CODE",
|
|
92
|
-
O_05_OVERSOLD_PROPOSITION = "O_05_OVERSOLD_PROPOSITION",
|
|
93
74
|
PERSONAL_REASONS = "CANCELLATION_FOR_PERSONAL_REASONS",
|
|
94
75
|
REQUEST_TO_DELAY = "REQUEST_TO_DELAY",
|
|
95
|
-
S_01_BAD_DEBT_RETURN = "S_01_BAD_DEBT_RETURN",
|
|
96
|
-
S_02_SLOT_DISCREPANCY = "S_02_SLOT_DISCREPANCY",
|
|
97
|
-
S_03_DUPLICATE_ORDER = "S_03_DUPLICATE_ORDER",
|
|
98
76
|
SALES_DUPLICATE_ORDER = "SALES_DUPLICATE_ORDER",
|
|
99
77
|
SALES_INSTALL_NOT_BOOKED = "SALES_INSTALL_NOT_BOOKED",
|
|
100
78
|
SALES_LOST_TO_COMPETITION = "SALES_LOST_TO_COMPETITION",
|
|
@@ -117,59 +95,6 @@ export declare enum PICRequestOutcome {
|
|
|
117
95
|
LOST = "LOST",
|
|
118
96
|
SAVED = "SAVED"
|
|
119
97
|
}
|
|
120
|
-
/**
|
|
121
|
-
* Valid values for PICRequest.YoufibreRetentionsOffer
|
|
122
|
-
*
|
|
123
|
-
* @remarks Available options:
|
|
124
|
-
* - `ONE_MONTH_FREE` - 1 Month free
|
|
125
|
-
* - `TWO_MONTHS_FREE` - 2 Months free
|
|
126
|
-
* - `THREE_MONTHS_FREE_MANAGER_USE_ONLY` - 3 Months free – Manager use only
|
|
127
|
-
* - `CBO_CONTRACT_BUY_OUT` - CBO – Contract Buy Out
|
|
128
|
-
* - `FREE_MESH` - Free Mesh
|
|
129
|
-
* - `NONE` - None
|
|
130
|
-
* - `PRICE_DISCOUNT` - Price discount
|
|
131
|
-
* - `PRICE_MATCH` - Price Match
|
|
132
|
-
* - `REFERRAL_CREDIT` - Referral Credit
|
|
133
|
-
*/
|
|
134
|
-
export declare enum PICRequestYoufibreRetentionsOffer {
|
|
135
|
-
CBO_CONTRACT_BUY_OUT = "CBO_CONTRACT_BUY_OUT",
|
|
136
|
-
FREE_MESH = "FREE_MESH",
|
|
137
|
-
NONE = "NONE",
|
|
138
|
-
PRICE_DISCOUNT = "PRICE_DISCOUNT",
|
|
139
|
-
PRICE_MATCH = "PRICE_MATCH",
|
|
140
|
-
REFERRAL_CREDIT = "REFERRAL_CREDIT"
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Valid values for PICRequest.WinningProvider
|
|
144
|
-
*
|
|
145
|
-
* @remarks Available options:
|
|
146
|
-
* - `BT`
|
|
147
|
-
* - `CUSTOMER_REFUSED_TO_DISCLOSE` - Customer Refused to Disclose
|
|
148
|
-
* - `EE`
|
|
149
|
-
* - `NOW` - Now
|
|
150
|
-
* - `OTHER` - Other
|
|
151
|
-
* - `PLUSNET` - Plusnet
|
|
152
|
-
* - `SKY` - Sky
|
|
153
|
-
* - `TALKTALK` - TalkTalk
|
|
154
|
-
* - `THREE` - Three
|
|
155
|
-
* - `UTILITY_WAREHOUSE` - Utility Warehouse
|
|
156
|
-
* - `VIRGIN_MEDIA` - Virgin Media
|
|
157
|
-
* - `VODAFONE` - Vodafone
|
|
158
|
-
*/
|
|
159
|
-
export declare enum PICRequestWinningProvider {
|
|
160
|
-
BT = "BT",
|
|
161
|
-
CUSTOMER_REFUSED_TO_DISCLOSE = "CUSTOMER_REFUSED_TO_DISCLOSE",
|
|
162
|
-
EE = "EE",
|
|
163
|
-
NOW = "NOW",
|
|
164
|
-
OTHER = "OTHER",
|
|
165
|
-
PLUSNET = "PLUSNET",
|
|
166
|
-
SKY = "SKY",
|
|
167
|
-
TALK_TALK = "TALKTALK",
|
|
168
|
-
THREE = "THREE",
|
|
169
|
-
UTILITY_WAREHOUSE = "UTILITY_WAREHOUSE",
|
|
170
|
-
VIRGIN_MEDIA = "VIRGIN_MEDIA",
|
|
171
|
-
VODAFONE = "VODAFONE"
|
|
172
|
-
}
|
|
173
98
|
/**
|
|
174
99
|
* Property keys for PICRequest
|
|
175
100
|
* Use these constants instead of string literals for type safety
|
|
@@ -188,10 +113,7 @@ export declare enum PICRequestPropertyKeys {
|
|
|
188
113
|
/** Data field for PICRequest records. Used by Sales team. */
|
|
189
114
|
Outcome = "Outcome",
|
|
190
115
|
/** was sent to max contact (Sales - PICRequest) */
|
|
191
|
-
SentToMaxContactPic = "SentToMaxContactPic"
|
|
192
|
-
YoufibreRetentionsOffer = "YoufibreRetentionsOffer",
|
|
193
|
-
WinningProvider = "WinningProvider",
|
|
194
|
-
ComparableOffer = "ComparableOffer"
|
|
116
|
+
SentToMaxContactPic = "SentToMaxContactPic"
|
|
195
117
|
}
|
|
196
118
|
/**
|
|
197
119
|
* Properties for PICRequest records
|
|
@@ -239,23 +161,6 @@ export interface PICRequestProperties {
|
|
|
239
161
|
* @type {BOOLEAN}
|
|
240
162
|
*/
|
|
241
163
|
SentToMaxContactPic: boolean;
|
|
242
|
-
/** Youfibre Retentions Offer
|
|
243
|
-
*
|
|
244
|
-
* @type {ENUM}
|
|
245
|
-
* @enum {PICRequestYoufibreRetentionsOffer}
|
|
246
|
-
*/
|
|
247
|
-
YoufibreRetentionsOffer: PICRequestYoufibreRetentionsOffer;
|
|
248
|
-
/** Winning Provider
|
|
249
|
-
*
|
|
250
|
-
* @type {ENUM}
|
|
251
|
-
* @enum {PICRequestWinningProvider}
|
|
252
|
-
*/
|
|
253
|
-
WinningProvider: PICRequestWinningProvider;
|
|
254
|
-
/** Comparable Offer
|
|
255
|
-
*
|
|
256
|
-
* @type {NUMBER}
|
|
257
|
-
*/
|
|
258
|
-
ComparableOffer: number;
|
|
259
164
|
}
|
|
260
165
|
/**
|
|
261
166
|
* PICRequest entity from OrderModule
|
|
@@ -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_PIC_REQUEST_ORDER_DELETED = exports.ROUTING_KEY_LINK_PIC_REQUEST_ORDER_CREATED = exports.ROUTING_KEY_LINK_PIC_REQUEST_NOTE_DELETED = exports.ROUTING_KEY_LINK_PIC_REQUEST_NOTE_CREATED = exports.ROUTING_KEY_PIC_REQUEST_DEFAULT_DELETED = exports.ROUTING_KEY_PIC_REQUEST_DEFAULT_UPDATED = exports.ROUTING_KEY_PIC_REQUEST_DEFAULT_CREATED = exports.ROUTING_KEY_PIC_REQUEST_DELETED = exports.ROUTING_KEY_PIC_REQUEST_UPDATED = exports.ROUTING_KEY_PIC_REQUEST_CREATED = exports.PICRequest = exports.PICRequestPropertyKeys = exports.
|
|
15
|
+
exports.ROUTING_KEY_LINK_PIC_REQUEST_ORDER_DELETED = exports.ROUTING_KEY_LINK_PIC_REQUEST_ORDER_CREATED = exports.ROUTING_KEY_LINK_PIC_REQUEST_NOTE_DELETED = exports.ROUTING_KEY_LINK_PIC_REQUEST_NOTE_CREATED = exports.ROUTING_KEY_PIC_REQUEST_DEFAULT_DELETED = exports.ROUTING_KEY_PIC_REQUEST_DEFAULT_UPDATED = exports.ROUTING_KEY_PIC_REQUEST_DEFAULT_CREATED = exports.ROUTING_KEY_PIC_REQUEST_DELETED = exports.ROUTING_KEY_PIC_REQUEST_UPDATED = exports.ROUTING_KEY_PIC_REQUEST_CREATED = exports.PICRequest = exports.PICRequestPropertyKeys = exports.PICRequestOutcome = exports.PICRequestReason = exports.DefaultPICRequestStageKeys = exports.DefaultPICRequestStageNames = exports.PICRequestEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for PICRequest records
|
|
@@ -55,51 +55,29 @@ var DefaultPICRequestStageKeys;
|
|
|
55
55
|
* the reason for the pre install cancellation request (Sales - PICRequest)
|
|
56
56
|
*
|
|
57
57
|
* @remarks Available options:
|
|
58
|
-
* - `C_01_CUSTOMER_UNCONTACTABLE` - C - 01 – Customer uncontactable
|
|
59
|
-
* - `C_02_DID_NOT_AGREE_ROUTE` - C - 02 - Did not agree route
|
|
60
|
-
* - `C_03_DECEASED` - C - 03 - Deceased
|
|
61
|
-
* - `C_04_REQUEST_TO_DELAY` - C - 04 - Request to delay
|
|
62
|
-
* - `C_05_RETENTION_OFFER_BY_PROVIDER` - C - 05 - Retention Offer by provider
|
|
63
|
-
* - `C_06_CBO_TOO_HIGH` - C - 06 – CBO too high
|
|
64
|
-
* - `C_07_CANT_AFFORD_MONTHLY_COST` - C - 07 – Can't afford monthly cost
|
|
65
|
-
* - `C_08_OOH_SLOT_REQUIRED` - C - 08 - OOH slot required
|
|
66
|
-
* - `C_09_POOR_CUSTOMER_EXPERIENCE` - C - 09 - Poor customer experience
|
|
67
58
|
* - `CUSTOMER_NOT_AGREED_INSTALL_ROUTE` - Customer Not Agreed Install Route
|
|
68
59
|
* - `CUSTOMER_SERVICE` - Customer Service
|
|
69
60
|
* - `DECEASED` - Deceased
|
|
70
|
-
* - `
|
|
71
|
-
* - `
|
|
72
|
-
* - `
|
|
73
|
-
* -
|
|
61
|
+
* - `INSTALLATION_DELAY_NETOMNIA` - Installation Delay (Netomnia)
|
|
62
|
+
* - `CANCELLATION_FOR_PERSONAL_REASONS` - Personal reasons
|
|
63
|
+
* - `REQUEST_TO_DELAY` - Request to Delay
|
|
64
|
+
* - `SALES_DUPLICATE_ORDER` - Sales (Duplicate Order)
|
|
65
|
+
* - `SALES_INSTALL_NOT_BOOKED` - Sales (Install Not Booked)
|
|
66
|
+
* - `SALES_LOST_TO_COMPETITION` - Sales (Lost to Competition)
|
|
67
|
+
* - `SALES_MISSELLING` - Sales (Misselling)
|
|
68
|
+
* - `SALES_MOVE_OUT` - Sales (Move-Out)
|
|
69
|
+
* - `SALES_OFFER_LAPSED` - Sales (Offer Lapsed & Re-sold)
|
|
70
|
+
* - `SALES_UNREACHABLE` - Sales (Unreachable)
|
|
71
|
+
* - `UNINSTALLABLE_PROPERTY` - Uninstallable Property (Netomnia)
|
|
74
72
|
*/
|
|
75
73
|
var PICRequestReason;
|
|
76
74
|
(function (PICRequestReason) {
|
|
77
|
-
PICRequestReason["C_01_CUSTOMER_UNCONTACTABLE"] = "C_01_CUSTOMER_UNCONTACTABLE";
|
|
78
|
-
PICRequestReason["C_02_DID_NOT_AGREE_ROUTE"] = "C_02_DID_NOT_AGREE_ROUTE";
|
|
79
|
-
PICRequestReason["C_03_DECEASED"] = "C_03_DECEASED";
|
|
80
|
-
PICRequestReason["C_04_REQUEST_TO_DELAY"] = "C_04_REQUEST_TO_DELAY";
|
|
81
|
-
PICRequestReason["C_05_RETENTION_OFFER_BY_PROVIDER"] = "C_05_RETENTION_OFFER_BY_PROVIDER";
|
|
82
|
-
PICRequestReason["C_06_CBO_TOO_HIGH"] = "C_06_CBO_TOO_HIGH";
|
|
83
|
-
PICRequestReason["C_07_CAN_T_AFFORD_MONTHLY_COST"] = "C_07_CANT_AFFORD_MONTHLY_COST";
|
|
84
|
-
PICRequestReason["C_08_OOH_SLOT_REQUIRED"] = "C_08_OOH_SLOT_REQUIRED";
|
|
85
|
-
PICRequestReason["C_09_POOR_CUSTOMER_EXPERIENCE"] = "C_09_POOR_CUSTOMER_EXPERIENCE";
|
|
86
75
|
PICRequestReason["CUSTOMER_NOT_AGREED_INSTALL_ROUTE"] = "CUSTOMER_NOT_AGREED_INSTALL_ROUTE";
|
|
87
76
|
PICRequestReason["CUSTOMER_SERVICE"] = "CUSTOMER_SERVICE";
|
|
88
77
|
PICRequestReason["DECEASED"] = "DECEASED";
|
|
89
|
-
PICRequestReason["E_01_SLOT_MISSED_SUPPLIER"] = "E_01_SLOT_MISSED_SUPPLIER";
|
|
90
|
-
PICRequestReason["I_01_UNINSTALLABLE_PROPERTY"] = "I_01_UNINSTALLABLE_PROPERTY";
|
|
91
|
-
PICRequestReason["I_02_REMEDIATION_DELAY"] = "I_02_REMEDIATION_DELAY";
|
|
92
78
|
PICRequestReason["INSTALLATION_DELAY_NETOMNIA"] = "INSTALLATION_DELAY_NETOMNIA";
|
|
93
|
-
PICRequestReason["O_01_INCORRECT_PRODUCT_INFO"] = "O_01_INCORRECT_PRODUCT_INFO";
|
|
94
|
-
PICRequestReason["O_02_VULNERABLE_CUSTOMER"] = "O_02_VULNERABLE_CUSTOMER";
|
|
95
|
-
PICRequestReason["O_03_ORDER_AT_WRONG_ADDRESS"] = "O_03_ORDER_AT_WRONG_ADDRESS";
|
|
96
|
-
PICRequestReason["O_04_POST_SALE_REFERRAL_CODE"] = "O_04_POST_SALE_REFERRAL_CODE";
|
|
97
|
-
PICRequestReason["O_05_OVERSOLD_PROPOSITION"] = "O_05_OVERSOLD_PROPOSITION";
|
|
98
79
|
PICRequestReason["PERSONAL_REASONS"] = "CANCELLATION_FOR_PERSONAL_REASONS";
|
|
99
80
|
PICRequestReason["REQUEST_TO_DELAY"] = "REQUEST_TO_DELAY";
|
|
100
|
-
PICRequestReason["S_01_BAD_DEBT_RETURN"] = "S_01_BAD_DEBT_RETURN";
|
|
101
|
-
PICRequestReason["S_02_SLOT_DISCREPANCY"] = "S_02_SLOT_DISCREPANCY";
|
|
102
|
-
PICRequestReason["S_03_DUPLICATE_ORDER"] = "S_03_DUPLICATE_ORDER";
|
|
103
81
|
PICRequestReason["SALES_DUPLICATE_ORDER"] = "SALES_DUPLICATE_ORDER";
|
|
104
82
|
PICRequestReason["SALES_INSTALL_NOT_BOOKED"] = "SALES_INSTALL_NOT_BOOKED";
|
|
105
83
|
PICRequestReason["SALES_LOST_TO_COMPETITION"] = "SALES_LOST_TO_COMPETITION";
|
|
@@ -123,61 +101,6 @@ var PICRequestOutcome;
|
|
|
123
101
|
PICRequestOutcome["LOST"] = "LOST";
|
|
124
102
|
PICRequestOutcome["SAVED"] = "SAVED";
|
|
125
103
|
})(PICRequestOutcome = exports.PICRequestOutcome || (exports.PICRequestOutcome = {}));
|
|
126
|
-
/**
|
|
127
|
-
* Valid values for PICRequest.YoufibreRetentionsOffer
|
|
128
|
-
*
|
|
129
|
-
* @remarks Available options:
|
|
130
|
-
* - `ONE_MONTH_FREE` - 1 Month free
|
|
131
|
-
* - `TWO_MONTHS_FREE` - 2 Months free
|
|
132
|
-
* - `THREE_MONTHS_FREE_MANAGER_USE_ONLY` - 3 Months free – Manager use only
|
|
133
|
-
* - `CBO_CONTRACT_BUY_OUT` - CBO – Contract Buy Out
|
|
134
|
-
* - `FREE_MESH` - Free Mesh
|
|
135
|
-
* - `NONE` - None
|
|
136
|
-
* - `PRICE_DISCOUNT` - Price discount
|
|
137
|
-
* - `PRICE_MATCH` - Price Match
|
|
138
|
-
* - `REFERRAL_CREDIT` - Referral Credit
|
|
139
|
-
*/
|
|
140
|
-
var PICRequestYoufibreRetentionsOffer;
|
|
141
|
-
(function (PICRequestYoufibreRetentionsOffer) {
|
|
142
|
-
PICRequestYoufibreRetentionsOffer["CBO_CONTRACT_BUY_OUT"] = "CBO_CONTRACT_BUY_OUT";
|
|
143
|
-
PICRequestYoufibreRetentionsOffer["FREE_MESH"] = "FREE_MESH";
|
|
144
|
-
PICRequestYoufibreRetentionsOffer["NONE"] = "NONE";
|
|
145
|
-
PICRequestYoufibreRetentionsOffer["PRICE_DISCOUNT"] = "PRICE_DISCOUNT";
|
|
146
|
-
PICRequestYoufibreRetentionsOffer["PRICE_MATCH"] = "PRICE_MATCH";
|
|
147
|
-
PICRequestYoufibreRetentionsOffer["REFERRAL_CREDIT"] = "REFERRAL_CREDIT";
|
|
148
|
-
})(PICRequestYoufibreRetentionsOffer = exports.PICRequestYoufibreRetentionsOffer || (exports.PICRequestYoufibreRetentionsOffer = {}));
|
|
149
|
-
/**
|
|
150
|
-
* Valid values for PICRequest.WinningProvider
|
|
151
|
-
*
|
|
152
|
-
* @remarks Available options:
|
|
153
|
-
* - `BT`
|
|
154
|
-
* - `CUSTOMER_REFUSED_TO_DISCLOSE` - Customer Refused to Disclose
|
|
155
|
-
* - `EE`
|
|
156
|
-
* - `NOW` - Now
|
|
157
|
-
* - `OTHER` - Other
|
|
158
|
-
* - `PLUSNET` - Plusnet
|
|
159
|
-
* - `SKY` - Sky
|
|
160
|
-
* - `TALKTALK` - TalkTalk
|
|
161
|
-
* - `THREE` - Three
|
|
162
|
-
* - `UTILITY_WAREHOUSE` - Utility Warehouse
|
|
163
|
-
* - `VIRGIN_MEDIA` - Virgin Media
|
|
164
|
-
* - `VODAFONE` - Vodafone
|
|
165
|
-
*/
|
|
166
|
-
var PICRequestWinningProvider;
|
|
167
|
-
(function (PICRequestWinningProvider) {
|
|
168
|
-
PICRequestWinningProvider["BT"] = "BT";
|
|
169
|
-
PICRequestWinningProvider["CUSTOMER_REFUSED_TO_DISCLOSE"] = "CUSTOMER_REFUSED_TO_DISCLOSE";
|
|
170
|
-
PICRequestWinningProvider["EE"] = "EE";
|
|
171
|
-
PICRequestWinningProvider["NOW"] = "NOW";
|
|
172
|
-
PICRequestWinningProvider["OTHER"] = "OTHER";
|
|
173
|
-
PICRequestWinningProvider["PLUSNET"] = "PLUSNET";
|
|
174
|
-
PICRequestWinningProvider["SKY"] = "SKY";
|
|
175
|
-
PICRequestWinningProvider["TALK_TALK"] = "TALKTALK";
|
|
176
|
-
PICRequestWinningProvider["THREE"] = "THREE";
|
|
177
|
-
PICRequestWinningProvider["UTILITY_WAREHOUSE"] = "UTILITY_WAREHOUSE";
|
|
178
|
-
PICRequestWinningProvider["VIRGIN_MEDIA"] = "VIRGIN_MEDIA";
|
|
179
|
-
PICRequestWinningProvider["VODAFONE"] = "VODAFONE";
|
|
180
|
-
})(PICRequestWinningProvider = exports.PICRequestWinningProvider || (exports.PICRequestWinningProvider = {}));
|
|
181
104
|
/**
|
|
182
105
|
* Property keys for PICRequest
|
|
183
106
|
* Use these constants instead of string literals for type safety
|
|
@@ -198,9 +121,6 @@ var PICRequestPropertyKeys;
|
|
|
198
121
|
PICRequestPropertyKeys["Outcome"] = "Outcome";
|
|
199
122
|
/** was sent to max contact (Sales - PICRequest) */
|
|
200
123
|
PICRequestPropertyKeys["SentToMaxContactPic"] = "SentToMaxContactPic";
|
|
201
|
-
PICRequestPropertyKeys["YoufibreRetentionsOffer"] = "YoufibreRetentionsOffer";
|
|
202
|
-
PICRequestPropertyKeys["WinningProvider"] = "WinningProvider";
|
|
203
|
-
PICRequestPropertyKeys["ComparableOffer"] = "ComparableOffer";
|
|
204
124
|
})(PICRequestPropertyKeys = exports.PICRequestPropertyKeys || (exports.PICRequestPropertyKeys = {}));
|
|
205
125
|
/**
|
|
206
126
|
* PICRequest entity from OrderModule
|
|
@@ -167,11 +167,7 @@ export declare enum PgPaymentMethodPropertyKeys {
|
|
|
167
167
|
/** Bacs Reference */
|
|
168
168
|
BacsReference = "BacsReference",
|
|
169
169
|
/** BankName */
|
|
170
|
-
BankName = "BankName"
|
|
171
|
-
/** Submission Date */
|
|
172
|
-
SubmissionDate = "SubmissionDate",
|
|
173
|
-
/** Processing Date */
|
|
174
|
-
ProcessingDate = "ProcessingDate"
|
|
170
|
+
BankName = "BankName"
|
|
175
171
|
}
|
|
176
172
|
/**
|
|
177
173
|
* Properties for PgPaymentMethod records
|
|
@@ -263,16 +259,6 @@ export interface PgPaymentMethodProperties {
|
|
|
263
259
|
* @type {TEXT}
|
|
264
260
|
*/
|
|
265
261
|
BankName: string;
|
|
266
|
-
/** Submission Date
|
|
267
|
-
*
|
|
268
|
-
* @type {DATE_TIME}
|
|
269
|
-
*/
|
|
270
|
-
SubmissionDate: string;
|
|
271
|
-
/** Processing Date
|
|
272
|
-
*
|
|
273
|
-
* @type {DATE}
|
|
274
|
-
*/
|
|
275
|
-
ProcessingDate: string;
|
|
276
262
|
}
|
|
277
263
|
/**
|
|
278
264
|
* PgPaymentMethod entity from BillingModule
|
|
@@ -173,10 +173,6 @@ var PgPaymentMethodPropertyKeys;
|
|
|
173
173
|
PgPaymentMethodPropertyKeys["BacsReference"] = "BacsReference";
|
|
174
174
|
/** BankName */
|
|
175
175
|
PgPaymentMethodPropertyKeys["BankName"] = "BankName";
|
|
176
|
-
/** Submission Date */
|
|
177
|
-
PgPaymentMethodPropertyKeys["SubmissionDate"] = "SubmissionDate";
|
|
178
|
-
/** Processing Date */
|
|
179
|
-
PgPaymentMethodPropertyKeys["ProcessingDate"] = "ProcessingDate";
|
|
180
176
|
})(PgPaymentMethodPropertyKeys = exports.PgPaymentMethodPropertyKeys || (exports.PgPaymentMethodPropertyKeys = {}));
|
|
181
177
|
/**
|
|
182
178
|
* PgPaymentMethod entity from BillingModule
|
|
@@ -235,10 +235,6 @@ export declare enum PgTransactionPropertyKeys {
|
|
|
235
235
|
TaxRate = "TaxRate",
|
|
236
236
|
/** Currency */
|
|
237
237
|
Currency = "Currency",
|
|
238
|
-
/** Submission Date */
|
|
239
|
-
SubmissionDate = "SubmissionDate",
|
|
240
|
-
/** Processing Date */
|
|
241
|
-
ProcessingDate = "ProcessingDate",
|
|
242
238
|
/** Paid Out Datetime */
|
|
243
239
|
PaidOutDatetime = "PaidOutDatetime",
|
|
244
240
|
/** Succeeded Datetime */
|
|
@@ -321,16 +317,6 @@ export interface PgTransactionProperties {
|
|
|
321
317
|
* @default GBP
|
|
322
318
|
*/
|
|
323
319
|
Currency: string;
|
|
324
|
-
/** Submission Date
|
|
325
|
-
*
|
|
326
|
-
* @type {DATE_TIME}
|
|
327
|
-
*/
|
|
328
|
-
SubmissionDate: string;
|
|
329
|
-
/** Processing Date
|
|
330
|
-
*
|
|
331
|
-
* @type {DATE}
|
|
332
|
-
*/
|
|
333
|
-
ProcessingDate: string;
|
|
334
320
|
/** Paid Out Datetime
|
|
335
321
|
*
|
|
336
322
|
* @type {DATE_TIME}
|
|
@@ -422,16 +408,6 @@ export interface ChargePgTransactionProperties {
|
|
|
422
408
|
* @default GBP
|
|
423
409
|
*/
|
|
424
410
|
Currency: string;
|
|
425
|
-
/** Submission Date
|
|
426
|
-
*
|
|
427
|
-
* @type {DATE_TIME}
|
|
428
|
-
*/
|
|
429
|
-
SubmissionDate: string;
|
|
430
|
-
/** Processing Date
|
|
431
|
-
*
|
|
432
|
-
* @type {DATE}
|
|
433
|
-
*/
|
|
434
|
-
ProcessingDate: string;
|
|
435
411
|
/** Paid Out Datetime
|
|
436
412
|
*
|
|
437
413
|
* @type {DATE_TIME}
|
|
@@ -523,16 +499,6 @@ export interface RefundPgTransactionProperties {
|
|
|
523
499
|
* @default GBP
|
|
524
500
|
*/
|
|
525
501
|
Currency: string;
|
|
526
|
-
/** Submission Date
|
|
527
|
-
*
|
|
528
|
-
* @type {DATE_TIME}
|
|
529
|
-
*/
|
|
530
|
-
SubmissionDate: string;
|
|
531
|
-
/** Processing Date
|
|
532
|
-
*
|
|
533
|
-
* @type {DATE}
|
|
534
|
-
*/
|
|
535
|
-
ProcessingDate: string;
|
|
536
502
|
/** Paid Out Datetime
|
|
537
503
|
*
|
|
538
504
|
* @type {DATE_TIME}
|
|
@@ -242,10 +242,6 @@ var PgTransactionPropertyKeys;
|
|
|
242
242
|
PgTransactionPropertyKeys["TaxRate"] = "TaxRate";
|
|
243
243
|
/** Currency */
|
|
244
244
|
PgTransactionPropertyKeys["Currency"] = "Currency";
|
|
245
|
-
/** Submission Date */
|
|
246
|
-
PgTransactionPropertyKeys["SubmissionDate"] = "SubmissionDate";
|
|
247
|
-
/** Processing Date */
|
|
248
|
-
PgTransactionPropertyKeys["ProcessingDate"] = "ProcessingDate";
|
|
249
245
|
/** Paid Out Datetime */
|
|
250
246
|
PgTransactionPropertyKeys["PaidOutDatetime"] = "PaidOutDatetime";
|
|
251
247
|
/** Succeeded Datetime */
|
|
@@ -278,6 +278,7 @@ class CancelOrderPreInstallFlowBuilder {
|
|
|
278
278
|
actionName: 'CreatePICRequest',
|
|
279
279
|
properties,
|
|
280
280
|
entity: 'OrderModule:PICRequest',
|
|
281
|
+
type: 'DEFAULT',
|
|
281
282
|
autoLinkParent: true,
|
|
282
283
|
associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
|
|
283
284
|
groups: options === null || options === void 0 ? void 0 : options.groups,
|
|
@@ -261,9 +261,10 @@ export declare class PICRequestRecord<TProps = PICRequestProperties> {
|
|
|
261
261
|
* Creates a new PICRequest record with the specified properties.
|
|
262
262
|
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
263
263
|
*
|
|
264
|
+
* @remarks Record type: DEFAULT
|
|
265
|
+
*
|
|
264
266
|
* @param properties - The properties for the new record
|
|
265
267
|
* @param options - Optional settings
|
|
266
|
-
* @param options.type - Override the record type
|
|
267
268
|
* @param options.journeyId - Associate with a journey
|
|
268
269
|
* @param options.stageKey - Set initial pipeline stage
|
|
269
270
|
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
@@ -279,7 +280,6 @@ export declare class PICRequestRecord<TProps = PICRequestProperties> {
|
|
|
279
280
|
* ```
|
|
280
281
|
*/
|
|
281
282
|
createPicRequest(properties: CreatePicRequestProperties, options?: {
|
|
282
|
-
type?: string;
|
|
283
283
|
journeyId?: string;
|
|
284
284
|
stageKey?: string;
|
|
285
285
|
}): ActionBuilder;
|
|
@@ -148,6 +148,7 @@ class CompletePicRequestFlowFlowBuilder {
|
|
|
148
148
|
properties,
|
|
149
149
|
id,
|
|
150
150
|
entity: 'OrderModule:PICRequest',
|
|
151
|
+
type: 'DEFAULT',
|
|
151
152
|
autoLinkParent: false,
|
|
152
153
|
associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
|
|
153
154
|
groups: options === null || options === void 0 ? void 0 : options.groups,
|
|
@@ -374,9 +375,10 @@ class PICRequestRecord {
|
|
|
374
375
|
* Creates a new PICRequest record with the specified properties.
|
|
375
376
|
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
376
377
|
*
|
|
378
|
+
* @remarks Record type: DEFAULT
|
|
379
|
+
*
|
|
377
380
|
* @param properties - The properties for the new record
|
|
378
381
|
* @param options - Optional settings
|
|
379
|
-
* @param options.type - Override the record type
|
|
380
382
|
* @param options.journeyId - Associate with a journey
|
|
381
383
|
* @param options.stageKey - Set initial pipeline stage
|
|
382
384
|
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
@@ -392,10 +394,9 @@ class PICRequestRecord {
|
|
|
392
394
|
* ```
|
|
393
395
|
*/
|
|
394
396
|
createPicRequest(properties, options) {
|
|
395
|
-
var _a, _b;
|
|
396
397
|
const payload = {
|
|
397
398
|
entity: 'OrderModule:PICRequest',
|
|
398
|
-
type:
|
|
399
|
+
type: 'DEFAULT',
|
|
399
400
|
actionName: 'CreatePICRequest',
|
|
400
401
|
properties: properties || {},
|
|
401
402
|
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|