@d19n/youfibre-odin-sdk 2.0.224 → 2.0.226
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/actions-v2/CreatePreContractOrderSummaryDto.d.ts +8 -1
- package/dist/actions-v2/CreateUserDto.d.ts +5 -19
- package/dist/actions-v2/EditFieldServiceProductDto.d.ts +8 -1
- package/dist/actions-v2/MovePgDisputeToFailedDto.d.ts +70 -0
- package/dist/actions-v2/MovePgDisputeToFailedDto.js +62 -0
- package/dist/actions-v2/UpdateCallOnInboundCallCompletedDto.d.ts +8 -1
- package/dist/actions-v2/UpdateCallOnOutboundCallCompletedDto.d.ts +8 -1
- package/dist/actions-v2/UpdateTeamDto.d.ts +1 -8
- package/dist/actions-v2/UpdateUserDto.d.ts +1 -22
- package/dist/entities-v2/FieldServiceProduct.d.ts +23 -1
- package/dist/entities-v2/FieldServiceProduct.js +2 -0
- package/dist/entities-v2/PgDispute.d.ts +4 -0
- package/dist/entities-v2/PgDispute.js +4 -0
- package/dist/entities-v2/User.d.ts +2 -16
- package/dist/entities-v2/User.js +1 -5
- package/dist/records-v2/PgDisputeRecord.d.ts +25 -0
- package/dist/records-v2/PgDisputeRecord.js +29 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -354,7 +354,7 @@ This SDK includes **166** entities across **12** modules.
|
|
|
354
354
|
|
|
355
355
|
## Actions
|
|
356
356
|
|
|
357
|
-
This SDK includes **
|
|
357
|
+
This SDK includes **713** actions.
|
|
358
358
|
|
|
359
359
|
### Action Types
|
|
360
360
|
|
|
@@ -1577,6 +1577,7 @@ This SDK includes **712** actions.
|
|
|
1577
1577
|
| `CreatePgDispute` | CREATE | k1.t-hEOJjsDb.BillingModule.PgDispute.Create.CreatePgDispute |
|
|
1578
1578
|
| `MovePgDisputeToCancelled` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgDispute.Transition.MovePgDisputeToCancelled |
|
|
1579
1579
|
| `MovePgDisputeToChallenged` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgDispute.Transition.MovePgDisputeToChallenged |
|
|
1580
|
+
| `MovePgDisputeToFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgDispute.Transition.MovePgDisputeToFailed |
|
|
1580
1581
|
| `MovePgDisputeToLost` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgDispute.Transition.MovePgDisputeToLost |
|
|
1581
1582
|
| `MovePgDisputeToSettled` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgDispute.Transition.MovePgDisputeToSettled |
|
|
1582
1583
|
| `MovePgDisputeToUnderReview` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgDispute.Transition.MovePgDisputeToUnderReview |
|
|
@@ -1587,6 +1588,8 @@ This SDK includes **712** actions.
|
|
|
1587
1588
|
|
|
1588
1589
|
**MovePgDisputeToChallenged Target Stages:** `StatusStageChallenged`
|
|
1589
1590
|
|
|
1591
|
+
**MovePgDisputeToFailed Target Stages:** `StatusStageFailed`
|
|
1592
|
+
|
|
1590
1593
|
**MovePgDisputeToLost Target Stages:** `StatusStageLost`
|
|
1591
1594
|
|
|
1592
1595
|
**MovePgDisputeToSettled Target Stages:** `StatusStageSettled`
|
|
@@ -23,7 +23,7 @@ export interface CreatePreContractOrderSummaryMessage extends OdinRecordCreatedE
|
|
|
23
23
|
* Properties for CreatePreContractOrderSummary action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreatePreContractOrderSummaryProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreatePreContractOrderSummaryProperties {
|
|
|
89
89
|
* @type {TEXT}
|
|
90
90
|
*/
|
|
91
91
|
Subject?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* To
|
|
94
|
+
*
|
|
95
|
+
* Data field for Email records. Used by Communications team.
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
To?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreatePreContractOrderSummary
|
|
@@ -22,7 +22,7 @@ export interface CreateUserMessage extends OdinRecordCreatedEvent<CreateUserDto,
|
|
|
22
22
|
* Properties for CreateUser action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 2
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 17
|
|
26
26
|
*/
|
|
27
27
|
export interface CreateUserProperties {
|
|
28
28
|
/**
|
|
@@ -42,12 +42,12 @@ export interface CreateUserProperties {
|
|
|
42
42
|
*/
|
|
43
43
|
UserId: string;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* TwilioWorkerId
|
|
46
46
|
*
|
|
47
|
-
*
|
|
48
|
-
* @type {
|
|
47
|
+
* Reference of Twilio worker
|
|
48
|
+
* @type {LOOKUP}
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
TwilioWorkerId?: string | null;
|
|
51
51
|
/**
|
|
52
52
|
* StartingAddress
|
|
53
53
|
*
|
|
@@ -83,20 +83,6 @@ export interface CreateUserProperties {
|
|
|
83
83
|
* @type {TEXT}
|
|
84
84
|
*/
|
|
85
85
|
Team?: string | null;
|
|
86
|
-
/**
|
|
87
|
-
* TwilioWorkerStatus
|
|
88
|
-
*
|
|
89
|
-
* TwilioWorkerStatus (IT Security - User)
|
|
90
|
-
* @type {TEXT}
|
|
91
|
-
*/
|
|
92
|
-
TwilioWorkerStatus?: string | null;
|
|
93
|
-
/**
|
|
94
|
-
* TwilioSid
|
|
95
|
-
*
|
|
96
|
-
* Reference identifier for User relationships. Used for data integrity.
|
|
97
|
-
* @type {TEXT}
|
|
98
|
-
*/
|
|
99
|
-
TwilioSid?: string | null;
|
|
100
86
|
/**
|
|
101
87
|
* UseResponseId
|
|
102
88
|
*
|
|
@@ -22,7 +22,7 @@ export interface EditFieldServiceProductMessage extends OdinRecordUpdatedEvent<E
|
|
|
22
22
|
* Properties for EditFieldServiceProduct action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 0
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 7
|
|
26
26
|
*/
|
|
27
27
|
export interface EditFieldServiceProductProperties {
|
|
28
28
|
/**
|
|
@@ -53,6 +53,13 @@ export interface EditFieldServiceProductProperties {
|
|
|
53
53
|
* @type {ENUM}
|
|
54
54
|
*/
|
|
55
55
|
Vendor?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Providers
|
|
58
|
+
*
|
|
59
|
+
* Providers
|
|
60
|
+
* @type {ENUM_MULTI_SELECT}
|
|
61
|
+
*/
|
|
62
|
+
Providers?: string | null;
|
|
56
63
|
/**
|
|
57
64
|
* Active
|
|
58
65
|
*
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MovePgDisputeToFailed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Move PG Dispute To Failed
|
|
5
|
+
*
|
|
6
|
+
* @module BillingModule
|
|
7
|
+
* @entity PgDispute
|
|
8
|
+
* @entityType DEFAULT
|
|
9
|
+
* @actionKey MovePgDisputeToFailed
|
|
10
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgDispute.Transition.MovePgDisputeToFailed
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
/**
|
|
16
|
+
* RabbitMQ message payload for MovePgDisputeToFailed step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgDispute.Transition.MovePgDisputeToFailed
|
|
19
|
+
*/
|
|
20
|
+
export interface MovePgDisputeToFailedMessage extends OdinRecordUpdatedEvent<MovePgDisputeToFailedDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MovePgDisputeToFailed action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MovePgDisputeToFailedProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* MovePgDisputeToFailed
|
|
30
|
+
*
|
|
31
|
+
* Move PG Dispute To Failed
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module BillingModule
|
|
35
|
+
* @entity PgDispute
|
|
36
|
+
* @entityType DEFAULT (Default)
|
|
37
|
+
* @targetStages StatusStageFailed
|
|
38
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgDispute.Transition.MovePgDisputeToFailed
|
|
39
|
+
* @permission schema.action.movepgdisputetofailed.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MovePgDisputeToFailedDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
43
|
+
/** Used by SDK generators to identify action type */
|
|
44
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
45
|
+
static readonly ACTION_KEY = "MovePgDisputeToFailed";
|
|
46
|
+
static readonly MODULE_NAME = "BillingModule";
|
|
47
|
+
static readonly ENTITIES: string[];
|
|
48
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
49
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgDispute.Transition.MovePgDisputeToFailed";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "07636fc0-c744-476b-bd15-5c0dda493b27";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movepgdisputetofailed.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["StatusStageFailed"];
|
|
53
|
+
static readonly IS_STAGE_TRANSITION = true;
|
|
54
|
+
static readonly IS_MULTI_STEP_FLOW = false;
|
|
55
|
+
static readonly HAS_STEP_LINKS = false;
|
|
56
|
+
readonly actionName: string;
|
|
57
|
+
readonly schemaActionId: string;
|
|
58
|
+
readonly entity: string;
|
|
59
|
+
readonly stageKey: string;
|
|
60
|
+
constructor(record: OdinRecord<any> | {
|
|
61
|
+
id: string;
|
|
62
|
+
entity: string;
|
|
63
|
+
type?: string;
|
|
64
|
+
}, options?: {
|
|
65
|
+
journeyId?: string;
|
|
66
|
+
});
|
|
67
|
+
/** Step classes that can be used with this action */
|
|
68
|
+
static readonly stepClasses: readonly [];
|
|
69
|
+
steps: [];
|
|
70
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MovePgDisputeToFailed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Move PG Dispute To Failed
|
|
6
|
+
*
|
|
7
|
+
* @module BillingModule
|
|
8
|
+
* @entity PgDispute
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey MovePgDisputeToFailed
|
|
11
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgDispute.Transition.MovePgDisputeToFailed
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MovePgDisputeToFailedDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* MovePgDisputeToFailed
|
|
20
|
+
*
|
|
21
|
+
* Move PG Dispute To Failed
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module BillingModule
|
|
25
|
+
* @entity PgDispute
|
|
26
|
+
* @entityType DEFAULT (Default)
|
|
27
|
+
* @targetStages StatusStageFailed
|
|
28
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgDispute.Transition.MovePgDisputeToFailed
|
|
29
|
+
* @permission schema.action.movepgdisputetofailed.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MovePgDisputeToFailedDto extends core_1.OdinRecordUpdateDto {
|
|
33
|
+
constructor(record, options) {
|
|
34
|
+
super({
|
|
35
|
+
id: record.id,
|
|
36
|
+
entity: record.entity,
|
|
37
|
+
type: record.type,
|
|
38
|
+
properties: {},
|
|
39
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
40
|
+
});
|
|
41
|
+
this.actionName = 'MovePgDisputeToFailed';
|
|
42
|
+
this.schemaActionId = '07636fc0-c744-476b-bd15-5c0dda493b27';
|
|
43
|
+
this.entity = 'BillingModule:PgDispute';
|
|
44
|
+
this.stageKey = 'StatusStageFailed';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MovePgDisputeToFailedDto = MovePgDisputeToFailedDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MovePgDisputeToFailedDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MovePgDisputeToFailedDto.ACTION_KEY = 'MovePgDisputeToFailed';
|
|
51
|
+
MovePgDisputeToFailedDto.MODULE_NAME = 'BillingModule';
|
|
52
|
+
MovePgDisputeToFailedDto.ENTITIES = ['PgDispute'];
|
|
53
|
+
MovePgDisputeToFailedDto.ENTITY_TYPE = 'DEFAULT';
|
|
54
|
+
MovePgDisputeToFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgDispute.Transition.MovePgDisputeToFailed';
|
|
55
|
+
MovePgDisputeToFailedDto.SCHEMA_ACTION_ID = '07636fc0-c744-476b-bd15-5c0dda493b27';
|
|
56
|
+
MovePgDisputeToFailedDto.PERMISSION = 'schema.action.movepgdisputetofailed.trigger';
|
|
57
|
+
MovePgDisputeToFailedDto.TARGET_STAGES = ['StatusStageFailed'];
|
|
58
|
+
MovePgDisputeToFailedDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MovePgDisputeToFailedDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MovePgDisputeToFailedDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MovePgDisputeToFailedDto.stepClasses = [];
|
|
@@ -22,7 +22,7 @@ export interface UpdateCallOnInboundCallCompletedMessage extends OdinRecordUpdat
|
|
|
22
22
|
* Properties for UpdateCallOnInboundCallCompleted action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 3
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 1
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCallOnInboundCallCompletedProperties {
|
|
28
28
|
/**
|
|
@@ -49,6 +49,13 @@ export interface UpdateCallOnInboundCallCompletedProperties {
|
|
|
49
49
|
* @required
|
|
50
50
|
*/
|
|
51
51
|
RecordingUrl: string;
|
|
52
|
+
/**
|
|
53
|
+
* CallEndTime
|
|
54
|
+
*
|
|
55
|
+
* Data field for Call records. Used by Communications team.
|
|
56
|
+
* @type {DATE_TIME}
|
|
57
|
+
*/
|
|
58
|
+
EndTime?: string | null;
|
|
52
59
|
}
|
|
53
60
|
/**
|
|
54
61
|
* UpdateCallOnInboundCallCompleted
|
|
@@ -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
|
/**
|
|
@@ -49,6 +49,13 @@ export interface UpdateCallOnOutboundCallCompletedProperties {
|
|
|
49
49
|
* @required
|
|
50
50
|
*/
|
|
51
51
|
RecordingUrl: string;
|
|
52
|
+
/**
|
|
53
|
+
* CallEndTime
|
|
54
|
+
*
|
|
55
|
+
* Data field for Call records. Used by Communications team.
|
|
56
|
+
* @type {DATE_TIME}
|
|
57
|
+
*/
|
|
58
|
+
EndTime?: string | null;
|
|
52
59
|
}
|
|
53
60
|
/**
|
|
54
61
|
* UpdateCallOnOutboundCallCompleted
|
|
@@ -22,7 +22,7 @@ export interface UpdateTeamMessage extends OdinRecordUpdatedEvent<UpdateTeamDto,
|
|
|
22
22
|
* Properties for UpdateTeam action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 0
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 11
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateTeamProperties {
|
|
28
28
|
/**
|
|
@@ -102,13 +102,6 @@ export interface UpdateTeamProperties {
|
|
|
102
102
|
* @type {UUID}
|
|
103
103
|
*/
|
|
104
104
|
TeamId?: string | null;
|
|
105
|
-
/**
|
|
106
|
-
* TwilioQueueSid
|
|
107
|
-
*
|
|
108
|
-
* TwilioQueueSid
|
|
109
|
-
* @type {TEXT}
|
|
110
|
-
*/
|
|
111
|
-
TwilioQueueSid?: string | null;
|
|
112
105
|
}
|
|
113
106
|
/**
|
|
114
107
|
* UpdateTeam
|
|
@@ -22,7 +22,7 @@ export interface UpdateUserMessage extends OdinRecordUpdatedEvent<UpdateUserDto,
|
|
|
22
22
|
* Properties for UpdateUser action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 0
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 20
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateUserProperties {
|
|
28
28
|
/**
|
|
@@ -67,13 +67,6 @@ export interface UpdateUserProperties {
|
|
|
67
67
|
* @type {TEXT}
|
|
68
68
|
*/
|
|
69
69
|
Employment?: string | null;
|
|
70
|
-
/**
|
|
71
|
-
* TwilioWorkerStatus
|
|
72
|
-
*
|
|
73
|
-
* TwilioWorkerStatus (IT Security - User)
|
|
74
|
-
* @type {TEXT}
|
|
75
|
-
*/
|
|
76
|
-
TwilioWorkerStatus?: string | null;
|
|
77
70
|
/**
|
|
78
71
|
* UseResponseId
|
|
79
72
|
*
|
|
@@ -137,13 +130,6 @@ export interface UpdateUserProperties {
|
|
|
137
130
|
* @type {NUMBER}
|
|
138
131
|
*/
|
|
139
132
|
WorkingArea?: number | null;
|
|
140
|
-
/**
|
|
141
|
-
* TwilioWorker
|
|
142
|
-
*
|
|
143
|
-
* TwilioWorker (IT Security - User)
|
|
144
|
-
* @type {BOOLEAN}
|
|
145
|
-
*/
|
|
146
|
-
TwilioWorker?: boolean | null;
|
|
147
133
|
/**
|
|
148
134
|
* Status
|
|
149
135
|
*
|
|
@@ -158,13 +144,6 @@ export interface UpdateUserProperties {
|
|
|
158
144
|
* @type {TEXT}
|
|
159
145
|
*/
|
|
160
146
|
Team?: string | null;
|
|
161
|
-
/**
|
|
162
|
-
* TwilioSid
|
|
163
|
-
*
|
|
164
|
-
* Reference identifier for User relationships. Used for data integrity.
|
|
165
|
-
* @type {TEXT}
|
|
166
|
-
*/
|
|
167
|
-
TwilioSid?: string | null;
|
|
168
147
|
/**
|
|
169
148
|
* FullName
|
|
170
149
|
*
|
|
@@ -77,7 +77,9 @@ export declare enum FieldServiceProductPropertyKeys {
|
|
|
77
77
|
/** Vendor of the product (Field Operations - FieldServiceProduct) */
|
|
78
78
|
Vendor = "Vendor",
|
|
79
79
|
/** Data field for FieldServiceProduct records. Used by Field Operations team. */
|
|
80
|
-
Active = "Active"
|
|
80
|
+
Active = "Active",
|
|
81
|
+
/** Providers */
|
|
82
|
+
Providers = "Providers"
|
|
81
83
|
}
|
|
82
84
|
/**
|
|
83
85
|
* Properties for FieldServiceProduct records
|
|
@@ -113,6 +115,11 @@ export interface FieldServiceProductProperties {
|
|
|
113
115
|
* @type {BOOLEAN}
|
|
114
116
|
*/
|
|
115
117
|
Active: boolean;
|
|
118
|
+
/** Providers
|
|
119
|
+
*
|
|
120
|
+
* @type {ENUM_MULTI_SELECT}
|
|
121
|
+
*/
|
|
122
|
+
Providers: string;
|
|
116
123
|
}
|
|
117
124
|
/**
|
|
118
125
|
* Properties for CPE_ROUTER FieldServiceProduct records
|
|
@@ -148,6 +155,11 @@ export interface CpeRouterFieldServiceProductProperties {
|
|
|
148
155
|
* @type {BOOLEAN}
|
|
149
156
|
*/
|
|
150
157
|
Active: boolean;
|
|
158
|
+
/** Providers
|
|
159
|
+
*
|
|
160
|
+
* @type {ENUM_MULTI_SELECT}
|
|
161
|
+
*/
|
|
162
|
+
Providers: string;
|
|
151
163
|
}
|
|
152
164
|
/**
|
|
153
165
|
* Properties for MESH FieldServiceProduct records
|
|
@@ -183,6 +195,11 @@ export interface MeshFieldServiceProductProperties {
|
|
|
183
195
|
* @type {BOOLEAN}
|
|
184
196
|
*/
|
|
185
197
|
Active: boolean;
|
|
198
|
+
/** Providers
|
|
199
|
+
*
|
|
200
|
+
* @type {ENUM_MULTI_SELECT}
|
|
201
|
+
*/
|
|
202
|
+
Providers: string;
|
|
186
203
|
}
|
|
187
204
|
/**
|
|
188
205
|
* Properties for MISC FieldServiceProduct records
|
|
@@ -218,6 +235,11 @@ export interface MiscFieldServiceProductProperties {
|
|
|
218
235
|
* @type {BOOLEAN}
|
|
219
236
|
*/
|
|
220
237
|
Active: boolean;
|
|
238
|
+
/** Providers
|
|
239
|
+
*
|
|
240
|
+
* @type {ENUM_MULTI_SELECT}
|
|
241
|
+
*/
|
|
242
|
+
Providers: string;
|
|
221
243
|
}
|
|
222
244
|
/**
|
|
223
245
|
* FieldServiceProduct entity from FieldServiceModule
|
|
@@ -82,6 +82,8 @@ var FieldServiceProductPropertyKeys;
|
|
|
82
82
|
FieldServiceProductPropertyKeys["Vendor"] = "Vendor";
|
|
83
83
|
/** Data field for FieldServiceProduct records. Used by Field Operations team. */
|
|
84
84
|
FieldServiceProductPropertyKeys["Active"] = "Active";
|
|
85
|
+
/** Providers */
|
|
86
|
+
FieldServiceProductPropertyKeys["Providers"] = "Providers";
|
|
85
87
|
})(FieldServiceProductPropertyKeys = exports.FieldServiceProductPropertyKeys || (exports.FieldServiceProductPropertyKeys = {}));
|
|
86
88
|
/**
|
|
87
89
|
* FieldServiceProduct entity from FieldServiceModule
|
|
@@ -29,6 +29,8 @@ export declare enum PgDisputeEntityTypes {
|
|
|
29
29
|
export declare enum DefaultPgDisputeStageNames {
|
|
30
30
|
/** Received (default) */
|
|
31
31
|
Received = "Received",
|
|
32
|
+
/** Failed */
|
|
33
|
+
Failed = "Failed",
|
|
32
34
|
/** Under Review */
|
|
33
35
|
UnderReview = "Under Review",
|
|
34
36
|
/** Challenged */
|
|
@@ -49,6 +51,8 @@ export declare enum DefaultPgDisputeStageNames {
|
|
|
49
51
|
export declare enum DefaultPgDisputeStageKeys {
|
|
50
52
|
/** Received */
|
|
51
53
|
StatusStageReceived = "StatusStageReceived",
|
|
54
|
+
/** Failed */
|
|
55
|
+
StatusStageFailed = "StatusStageFailed",
|
|
52
56
|
/** Under Review */
|
|
53
57
|
StatusStageUnderReview = "StatusStageUnderReview",
|
|
54
58
|
/** Challenged */
|
|
@@ -31,6 +31,8 @@ var DefaultPgDisputeStageNames;
|
|
|
31
31
|
(function (DefaultPgDisputeStageNames) {
|
|
32
32
|
/** Received (default) */
|
|
33
33
|
DefaultPgDisputeStageNames["Received"] = "Received";
|
|
34
|
+
/** Failed */
|
|
35
|
+
DefaultPgDisputeStageNames["Failed"] = "Failed";
|
|
34
36
|
/** Under Review */
|
|
35
37
|
DefaultPgDisputeStageNames["UnderReview"] = "Under Review";
|
|
36
38
|
/** Challenged */
|
|
@@ -52,6 +54,8 @@ var DefaultPgDisputeStageKeys;
|
|
|
52
54
|
(function (DefaultPgDisputeStageKeys) {
|
|
53
55
|
/** Received */
|
|
54
56
|
DefaultPgDisputeStageKeys["StatusStageReceived"] = "StatusStageReceived";
|
|
57
|
+
/** Failed */
|
|
58
|
+
DefaultPgDisputeStageKeys["StatusStageFailed"] = "StatusStageFailed";
|
|
55
59
|
/** Under Review */
|
|
56
60
|
DefaultPgDisputeStageKeys["StatusStageUnderReview"] = "StatusStageUnderReview";
|
|
57
61
|
/** Challenged */
|
|
@@ -57,13 +57,11 @@ export declare enum UserAccredited {
|
|
|
57
57
|
* Use these constants instead of string literals for type safety
|
|
58
58
|
*/
|
|
59
59
|
export declare enum UserPropertyKeys {
|
|
60
|
-
/** Reference identifier for User relationships. Used for data integrity. */
|
|
61
|
-
TwilioSid = "TwilioSid",
|
|
62
60
|
/** the team name (IT Security - User) */
|
|
63
61
|
Team = "Team",
|
|
64
62
|
/** status of the user (IT Security - User) */
|
|
65
63
|
Status = "Status",
|
|
66
|
-
/**
|
|
64
|
+
/** DEPRECATED */
|
|
67
65
|
TwilioWorker = "TwilioWorker",
|
|
68
66
|
/** The working area is aligned with an (EX polygon ID) (IT Security - User) */
|
|
69
67
|
WorkingArea = "WorkingArea",
|
|
@@ -83,8 +81,6 @@ export declare enum UserPropertyKeys {
|
|
|
83
81
|
StartingAddress = "StartingAddress",
|
|
84
82
|
/** use response Id (IT Security - User) */
|
|
85
83
|
UseResponseId = "UseResponseId",
|
|
86
|
-
/** TwilioWorkerStatus (IT Security - User) */
|
|
87
|
-
TwilioWorkerStatus = "TwilioWorkerStatus",
|
|
88
84
|
/** full-time or part-time (IT Security - User) */
|
|
89
85
|
Employment = "Employment",
|
|
90
86
|
/** the sales channel the user sells under (IT Security - User) */
|
|
@@ -110,11 +106,6 @@ export declare enum UserPropertyKeys {
|
|
|
110
106
|
* @see IdentityModule:User
|
|
111
107
|
*/
|
|
112
108
|
export interface UserProperties {
|
|
113
|
-
/** Reference identifier for User relationships. Used for data integrity.
|
|
114
|
-
*
|
|
115
|
-
* @type {TEXT}
|
|
116
|
-
*/
|
|
117
|
-
TwilioSid: string;
|
|
118
109
|
/** the team name (IT Security - User)
|
|
119
110
|
*
|
|
120
111
|
* @type {TEXT}
|
|
@@ -126,7 +117,7 @@ export interface UserProperties {
|
|
|
126
117
|
* @type {TEXT}
|
|
127
118
|
*/
|
|
128
119
|
Status: string;
|
|
129
|
-
/**
|
|
120
|
+
/** DEPRECATED
|
|
130
121
|
*
|
|
131
122
|
* @type {BOOLEAN}
|
|
132
123
|
*/
|
|
@@ -177,11 +168,6 @@ export interface UserProperties {
|
|
|
177
168
|
* @type {NUMBER}
|
|
178
169
|
*/
|
|
179
170
|
UseResponseId: number;
|
|
180
|
-
/** TwilioWorkerStatus (IT Security - User)
|
|
181
|
-
*
|
|
182
|
-
* @type {TEXT}
|
|
183
|
-
*/
|
|
184
|
-
TwilioWorkerStatus: string;
|
|
185
171
|
/** full-time or part-time (IT Security - User)
|
|
186
172
|
*
|
|
187
173
|
* @type {TEXT}
|
package/dist/entities-v2/User.js
CHANGED
|
@@ -42,13 +42,11 @@ var UserAccredited;
|
|
|
42
42
|
*/
|
|
43
43
|
var UserPropertyKeys;
|
|
44
44
|
(function (UserPropertyKeys) {
|
|
45
|
-
/** Reference identifier for User relationships. Used for data integrity. */
|
|
46
|
-
UserPropertyKeys["TwilioSid"] = "TwilioSid";
|
|
47
45
|
/** the team name (IT Security - User) */
|
|
48
46
|
UserPropertyKeys["Team"] = "Team";
|
|
49
47
|
/** status of the user (IT Security - User) */
|
|
50
48
|
UserPropertyKeys["Status"] = "Status";
|
|
51
|
-
/**
|
|
49
|
+
/** DEPRECATED */
|
|
52
50
|
UserPropertyKeys["TwilioWorker"] = "TwilioWorker";
|
|
53
51
|
/** The working area is aligned with an (EX polygon ID) (IT Security - User) */
|
|
54
52
|
UserPropertyKeys["WorkingArea"] = "WorkingArea";
|
|
@@ -68,8 +66,6 @@ var UserPropertyKeys;
|
|
|
68
66
|
UserPropertyKeys["StartingAddress"] = "StartingAddress";
|
|
69
67
|
/** use response Id (IT Security - User) */
|
|
70
68
|
UserPropertyKeys["UseResponseId"] = "UseResponseId";
|
|
71
|
-
/** TwilioWorkerStatus (IT Security - User) */
|
|
72
|
-
UserPropertyKeys["TwilioWorkerStatus"] = "TwilioWorkerStatus";
|
|
73
69
|
/** full-time or part-time (IT Security - User) */
|
|
74
70
|
UserPropertyKeys["Employment"] = "Employment";
|
|
75
71
|
/** the sales channel the user sells under (IT Security - User) */
|
|
@@ -290,6 +290,31 @@ export declare class PgDisputeRecord<TProps = PgDisputeProperties> {
|
|
|
290
290
|
movePgDisputeToChallenged(options?: {
|
|
291
291
|
journeyId?: string;
|
|
292
292
|
}): ActionBuilder;
|
|
293
|
+
/**
|
|
294
|
+
* MovePgDisputeToFailed
|
|
295
|
+
*
|
|
296
|
+
* Transitions this PgDispute record to a new pipeline stage.
|
|
297
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
298
|
+
*
|
|
299
|
+
* @remarks Transitions to stage: StatusStageFailed
|
|
300
|
+
*
|
|
301
|
+
* @param options - Optional settings
|
|
302
|
+
* @param options.journeyId - Associate with a journey
|
|
303
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
304
|
+
* @throws Error if called on a new (unsaved) record
|
|
305
|
+
*
|
|
306
|
+
* @example
|
|
307
|
+
* ```typescript
|
|
308
|
+
* const record = await odinClient.pgDisputes.get(id);
|
|
309
|
+
* await record.movePgDisputeToFailed().execute();
|
|
310
|
+
*
|
|
311
|
+
* // Dry run (for debugging)
|
|
312
|
+
* const payload = record.movePgDisputeToFailed().dryRun();
|
|
313
|
+
* ```
|
|
314
|
+
*/
|
|
315
|
+
movePgDisputeToFailed(options?: {
|
|
316
|
+
journeyId?: string;
|
|
317
|
+
}): ActionBuilder;
|
|
293
318
|
/**
|
|
294
319
|
* MovePgDisputeToLost
|
|
295
320
|
*
|
|
@@ -389,6 +389,35 @@ class PgDisputeRecord {
|
|
|
389
389
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MovePgDisputeToChallenged', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'StatusStageChallenged' }, options);
|
|
390
390
|
return new ActionBuilder(this._provider, 'BillingModule', 'PgDispute', payload, () => { this._pendingLinks = []; });
|
|
391
391
|
}
|
|
392
|
+
/**
|
|
393
|
+
* MovePgDisputeToFailed
|
|
394
|
+
*
|
|
395
|
+
* Transitions this PgDispute record to a new pipeline stage.
|
|
396
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
397
|
+
*
|
|
398
|
+
* @remarks Transitions to stage: StatusStageFailed
|
|
399
|
+
*
|
|
400
|
+
* @param options - Optional settings
|
|
401
|
+
* @param options.journeyId - Associate with a journey
|
|
402
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
403
|
+
* @throws Error if called on a new (unsaved) record
|
|
404
|
+
*
|
|
405
|
+
* @example
|
|
406
|
+
* ```typescript
|
|
407
|
+
* const record = await odinClient.pgDisputes.get(id);
|
|
408
|
+
* await record.movePgDisputeToFailed().execute();
|
|
409
|
+
*
|
|
410
|
+
* // Dry run (for debugging)
|
|
411
|
+
* const payload = record.movePgDisputeToFailed().dryRun();
|
|
412
|
+
* ```
|
|
413
|
+
*/
|
|
414
|
+
movePgDisputeToFailed(options) {
|
|
415
|
+
var _a;
|
|
416
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
417
|
+
throw new Error('movePgDisputeToFailed requires an existing record. Use accessor.get() first.');
|
|
418
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MovePgDisputeToFailed', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'StatusStageFailed' }, options);
|
|
419
|
+
return new ActionBuilder(this._provider, 'BillingModule', 'PgDispute', payload, () => { this._pendingLinks = []; });
|
|
420
|
+
}
|
|
392
421
|
/**
|
|
393
422
|
* MovePgDisputeToLost
|
|
394
423
|
*
|