@d19n/youfibre-odin-sdk 2.0.233-beta.3 → 2.0.233-beta.4
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/CreateCampaignOutboundCallDto.d.ts +1 -9
- package/dist/actions-v2/CreateOutboundCallDto.d.ts +4 -4
- package/dist/actions-v2/MoveMsrToInProgressDto.d.ts +209 -0
- package/dist/actions-v2/MoveMsrToInProgressDto.js +118 -0
- package/dist/actions-v2/UpdateCallAnalyticsDto.d.ts +1 -9
- package/dist/actions-v2/UpdateCallInsightsDto.d.ts +8 -1
- package/dist/actions-v2/UpdateCallOnInboundCallAnsweredDto.d.ts +8 -1
- package/dist/actions-v2/UpdateCallOnTaskRouterAssignDto.d.ts +8 -1
- package/dist/api-sdk-v2/ContractBuyOutApi.d.ts +2 -0
- package/dist/api-sdk-v2/ContractBuyOutApi.js +6 -0
- package/dist/api-sdk-v2/PaymentMethodRefundApi.d.ts +2 -0
- package/dist/api-sdk-v2/PaymentMethodRefundApi.js +6 -0
- package/dist/db-sdk-v2/ContractBuyOutDb.d.ts +2 -0
- package/dist/db-sdk-v2/ContractBuyOutDb.js +6 -0
- package/dist/db-sdk-v2/PaymentMethodRefundDb.d.ts +2 -0
- package/dist/db-sdk-v2/PaymentMethodRefundDb.js +6 -0
- package/dist/entities-v2/Call.d.ts +14 -61
- package/dist/entities-v2/Call.js +5 -29
- package/dist/entities-v2/ChurnRequest.d.ts +0 -2
- package/dist/entities-v2/ChurnRequest.js +0 -2
- package/dist/entities-v2/ContractBuyOut.d.ts +7 -0
- package/dist/entities-v2/ContractBuyOut.js +5 -1
- package/dist/entities-v2/ModifyServiceRequest.d.ts +10 -10
- package/dist/entities-v2/ModifyServiceRequest.js +10 -10
- package/dist/entities-v2/Order.d.ts +63 -0
- package/dist/entities-v2/Order.js +50 -2
- package/dist/entities-v2/PaymentMethodRefund.d.ts +3 -0
- package/dist/records-v2/ContractBuyOutRecord.d.ts +20 -0
- package/dist/records-v2/ContractBuyOutRecord.js +33 -0
- package/dist/records-v2/ModifyServiceRequestRecord.d.ts +87 -1
- package/dist/records-v2/ModifyServiceRequestRecord.js +135 -1
- package/dist/records-v2/PaymentMethodRefundRecord.d.ts +20 -0
- package/dist/records-v2/PaymentMethodRefundRecord.js +33 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -359,7 +359,7 @@ This SDK includes **171** entities across **12** modules.
|
|
|
359
359
|
|
|
360
360
|
## Actions
|
|
361
361
|
|
|
362
|
-
This SDK includes **
|
|
362
|
+
This SDK includes **745** actions.
|
|
363
363
|
|
|
364
364
|
### Action Types
|
|
365
365
|
|
|
@@ -1501,12 +1501,15 @@ This SDK includes **744** actions.
|
|
|
1501
1501
|
| `CreateModifyServiceRequest` | CREATE | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Create.CreateModifyServiceRequest |
|
|
1502
1502
|
| `MoveMsrToComplete` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete |
|
|
1503
1503
|
| `MoveMsrToFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed |
|
|
1504
|
+
| `MoveMsrToInProgress` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest |
|
|
1504
1505
|
| `UpdateModifyServiceRequest` | UPDATE | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest |
|
|
1505
1506
|
|
|
1506
1507
|
**MoveMsrToComplete Target Stages:** `ModifyServiceRequestStateStageCompleted`
|
|
1507
1508
|
|
|
1508
1509
|
**MoveMsrToFailed Target Stages:** `ModifyServiceRequestStateStageFailed`
|
|
1509
1510
|
|
|
1511
|
+
**MoveMsrToInProgress Target Stages:** `ModifyServiceRequestStateStageInProgress`
|
|
1512
|
+
|
|
1510
1513
|
#### NetworkDevice
|
|
1511
1514
|
|
|
1512
1515
|
| Action | Type | Event |
|
|
@@ -21,7 +21,7 @@ export interface CreateCampaignOutboundCallMessage extends OdinRecordCreatedEven
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for CreateCampaignOutboundCall action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
24
|
+
* @property Required fields: 15
|
|
25
25
|
* @property Optional fields: 1
|
|
26
26
|
*/
|
|
27
27
|
export interface CreateCampaignOutboundCallProperties {
|
|
@@ -57,14 +57,6 @@ export interface CreateCampaignOutboundCallProperties {
|
|
|
57
57
|
* @required
|
|
58
58
|
*/
|
|
59
59
|
OutboundDialSessionId: string;
|
|
60
|
-
/**
|
|
61
|
-
* DialOrigin
|
|
62
|
-
*
|
|
63
|
-
* DialOrigin
|
|
64
|
-
* @type {ENUM}
|
|
65
|
-
* @required
|
|
66
|
-
*/
|
|
67
|
-
DialOrigin: string;
|
|
68
60
|
/**
|
|
69
61
|
* From
|
|
70
62
|
*
|
|
@@ -144,12 +144,12 @@ export interface CreateOutboundCallProperties {
|
|
|
144
144
|
*/
|
|
145
145
|
OutboundDialSessionId?: string | null;
|
|
146
146
|
/**
|
|
147
|
-
*
|
|
147
|
+
* ContactId
|
|
148
148
|
*
|
|
149
|
-
*
|
|
150
|
-
* @type {
|
|
149
|
+
* Reference identifier for Call relationships. Used for data integrity.
|
|
150
|
+
* @type {LOOKUP}
|
|
151
151
|
*/
|
|
152
|
-
|
|
152
|
+
ContactId?: string | null;
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
155
|
* Builder for CreateOutboundCall action
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveMsrToInProgress Action DTO
|
|
3
|
+
*
|
|
4
|
+
* MoveMsrToInProgress
|
|
5
|
+
*
|
|
6
|
+
* @module ServiceModule
|
|
7
|
+
* @entity ModifyServiceRequest
|
|
8
|
+
* @entityType DEFAULT
|
|
9
|
+
* @actionKey MoveMsrToInProgress
|
|
10
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToInProgress
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
/**
|
|
16
|
+
* Properties for UpdateModifyServiceRequest action
|
|
17
|
+
*
|
|
18
|
+
* @property Required fields: 0
|
|
19
|
+
* @property Optional fields: 7
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateModifyServiceRequestProperties {
|
|
22
|
+
/**
|
|
23
|
+
* Service ID
|
|
24
|
+
*
|
|
25
|
+
* The ID of the service being modified
|
|
26
|
+
* @type {TEXT}
|
|
27
|
+
*/
|
|
28
|
+
ServiceId?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* SKU Previous
|
|
31
|
+
*
|
|
32
|
+
* The previous SKU being modified from (Used for Line Profile mapping)
|
|
33
|
+
* @type {TEXT}
|
|
34
|
+
*/
|
|
35
|
+
SkuPrevious?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* SKU Next
|
|
38
|
+
*
|
|
39
|
+
* The next SKU being modified to (Used for Line Profile mapping)
|
|
40
|
+
* @type {TEXT}
|
|
41
|
+
*/
|
|
42
|
+
SkuNext?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* FNO Modify Status
|
|
45
|
+
*
|
|
46
|
+
* FNO Modify Status
|
|
47
|
+
* @type {ENUM}
|
|
48
|
+
*/
|
|
49
|
+
FnoModifyStatus?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* FNO Comment
|
|
52
|
+
*
|
|
53
|
+
* FNO Comment
|
|
54
|
+
* @type {TEXT_LONG}
|
|
55
|
+
*/
|
|
56
|
+
FnoComment?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* ISP Modify Status
|
|
59
|
+
*
|
|
60
|
+
* ISP Modify Status
|
|
61
|
+
* @type {ENUM}
|
|
62
|
+
*/
|
|
63
|
+
IspModifyStatus?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* ISP Comment
|
|
66
|
+
*
|
|
67
|
+
* ISP Comment
|
|
68
|
+
* @type {TEXT_LONG}
|
|
69
|
+
*/
|
|
70
|
+
IspComment?: string | null;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* UpdateModifyServiceRequest
|
|
74
|
+
*
|
|
75
|
+
* @actionType UPDATE - Updates an existing ModifyServiceRequest record
|
|
76
|
+
* @module ServiceModule
|
|
77
|
+
* @entity ModifyServiceRequest
|
|
78
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest
|
|
79
|
+
* @permission schema.action.updatemodifyservicerequest.trigger
|
|
80
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
81
|
+
*/
|
|
82
|
+
export declare class UpdateModifyServiceRequestDto extends OdinRecordUpdateDto<UpdateModifyServiceRequestProperties> {
|
|
83
|
+
/** Used by SDK generators to identify action type */
|
|
84
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
85
|
+
static readonly ACTION_KEY = "UpdateModifyServiceRequest";
|
|
86
|
+
static readonly MODULE_NAME = "ServiceModule";
|
|
87
|
+
static readonly ENTITIES: string[];
|
|
88
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest";
|
|
89
|
+
static readonly PERMISSION = "schema.action.updatemodifyservicerequest.trigger";
|
|
90
|
+
/** Step metadata - entity this action targets */
|
|
91
|
+
static readonly STEP_ENTITY = "ServiceModule:ModifyServiceRequest";
|
|
92
|
+
static readonly STEP_SCHEMA_ID = "c33f6215-f398-4d02-a35a-ebcde2ee2669";
|
|
93
|
+
static readonly STEP_SCHEMA_ACTION_ID = "f4fb3994-062a-46f6-ad1b-badfa0bf3afa";
|
|
94
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
95
|
+
readonly actionName: string;
|
|
96
|
+
readonly schemaActionId: string;
|
|
97
|
+
readonly entity: string;
|
|
98
|
+
constructor(record: OdinRecord<any> | {
|
|
99
|
+
id: string;
|
|
100
|
+
entity: string;
|
|
101
|
+
type?: string;
|
|
102
|
+
}, properties: UpdateModifyServiceRequestProperties, options?: {
|
|
103
|
+
journeyId?: string;
|
|
104
|
+
stageKey?: string;
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
declare type StepClassMap = {
|
|
108
|
+
UpdateModifyServiceRequestDto: UpdateModifyServiceRequestDto;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Link definition for connecting steps in MoveMsrToInProgress
|
|
112
|
+
*/
|
|
113
|
+
export interface MoveMsrToInProgressStepLink {
|
|
114
|
+
/**
|
|
115
|
+
* The stepKey of the target step to link TO
|
|
116
|
+
* Must reference another step's stepKey in the same flow
|
|
117
|
+
*/
|
|
118
|
+
stepKey: string;
|
|
119
|
+
/**
|
|
120
|
+
* The schema association ID (UUID) defining the relationship
|
|
121
|
+
* Use the association.id from the schema association definition
|
|
122
|
+
* @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
123
|
+
*/
|
|
124
|
+
schemaAssociationId: string;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Step definition with linking metadata for MoveMsrToInProgress
|
|
128
|
+
*/
|
|
129
|
+
export interface MoveMsrToInProgressStepDefinition {
|
|
130
|
+
/** Unique identifier for this step */
|
|
131
|
+
stepKey: string;
|
|
132
|
+
/** The DTO class name for this step */
|
|
133
|
+
dtoClass: string;
|
|
134
|
+
/** The entity this step creates (Module:Entity format) */
|
|
135
|
+
entity: string;
|
|
136
|
+
/** Links to create after this step executes */
|
|
137
|
+
linksTo: MoveMsrToInProgressStepLink[] | null;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Type-safe step keys for MoveMsrToInProgress
|
|
141
|
+
*/
|
|
142
|
+
export declare const MoveMsrToInProgressSteps: {
|
|
143
|
+
readonly step_1: "step_1";
|
|
144
|
+
};
|
|
145
|
+
export declare type MoveMsrToInProgressStepKey = typeof MoveMsrToInProgressSteps[keyof typeof MoveMsrToInProgressSteps];
|
|
146
|
+
/**
|
|
147
|
+
* RabbitMQ message payload for MoveMsrToInProgress step flow events
|
|
148
|
+
*
|
|
149
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToInProgress
|
|
150
|
+
*/
|
|
151
|
+
export interface MoveMsrToInProgressMessage extends OdinRecordUpdatedEvent<MoveMsrToInProgressDto, {}> {
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Properties for MoveMsrToInProgress action
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
export interface MoveMsrToInProgressProperties {
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* MoveMsrToInProgress
|
|
161
|
+
*
|
|
162
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
163
|
+
* @module ServiceModule
|
|
164
|
+
* @entity ModifyServiceRequest
|
|
165
|
+
* @entityType DEFAULT (Default)
|
|
166
|
+
* @targetStages ModifyServiceRequestStateStageInProgress
|
|
167
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToInProgress
|
|
168
|
+
* @permission schema.action.movemsrtoinprogress.trigger
|
|
169
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
170
|
+
*/
|
|
171
|
+
export declare class MoveMsrToInProgressDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
172
|
+
/** Used by SDK generators to identify action type */
|
|
173
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
174
|
+
static readonly ACTION_KEY = "MoveMsrToInProgress";
|
|
175
|
+
static readonly MODULE_NAME = "ServiceModule";
|
|
176
|
+
static readonly ENTITIES: string[];
|
|
177
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
178
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToInProgress";
|
|
179
|
+
static readonly SCHEMA_ACTION_ID = "cf0fd460-97b3-43a6-abf4-6438c9f42f94";
|
|
180
|
+
static readonly PERMISSION = "schema.action.movemsrtoinprogress.trigger";
|
|
181
|
+
static readonly TARGET_STAGES: readonly ["ModifyServiceRequestStateStageInProgress"];
|
|
182
|
+
static readonly IS_STAGE_TRANSITION = true;
|
|
183
|
+
static readonly IS_MULTI_STEP_FLOW = false;
|
|
184
|
+
static readonly HAS_STEP_LINKS = false;
|
|
185
|
+
/**
|
|
186
|
+
* Step definitions with linking metadata
|
|
187
|
+
* Used by SDK and backend for auto-linking after step execution
|
|
188
|
+
*/
|
|
189
|
+
static readonly stepDefinitions: MoveMsrToInProgressStepDefinition[];
|
|
190
|
+
/** Type-safe step key accessor */
|
|
191
|
+
static readonly Steps: {
|
|
192
|
+
readonly step_1: "step_1";
|
|
193
|
+
};
|
|
194
|
+
readonly actionName: string;
|
|
195
|
+
readonly schemaActionId: string;
|
|
196
|
+
readonly entity: string;
|
|
197
|
+
readonly stageKey: string;
|
|
198
|
+
constructor(record: OdinRecord<any> | {
|
|
199
|
+
id: string;
|
|
200
|
+
entity: string;
|
|
201
|
+
type?: string;
|
|
202
|
+
}, options?: {
|
|
203
|
+
journeyId?: string;
|
|
204
|
+
});
|
|
205
|
+
/** Step classes that can be used with this action */
|
|
206
|
+
static readonly stepClasses: readonly ["UpdateModifyServiceRequestDto"];
|
|
207
|
+
steps: StepClassMap[(typeof MoveMsrToInProgressDto.stepClasses)[number]][];
|
|
208
|
+
}
|
|
209
|
+
export {};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MoveMsrToInProgress Action DTO
|
|
4
|
+
*
|
|
5
|
+
* MoveMsrToInProgress
|
|
6
|
+
*
|
|
7
|
+
* @module ServiceModule
|
|
8
|
+
* @entity ModifyServiceRequest
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey MoveMsrToInProgress
|
|
11
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToInProgress
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveMsrToInProgressDto = exports.MoveMsrToInProgressSteps = exports.UpdateModifyServiceRequestDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* UpdateModifyServiceRequest
|
|
20
|
+
*
|
|
21
|
+
* @actionType UPDATE - Updates an existing ModifyServiceRequest record
|
|
22
|
+
* @module ServiceModule
|
|
23
|
+
* @entity ModifyServiceRequest
|
|
24
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest
|
|
25
|
+
* @permission schema.action.updatemodifyservicerequest.trigger
|
|
26
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
27
|
+
*/
|
|
28
|
+
class UpdateModifyServiceRequestDto extends core_1.OdinRecordUpdateDto {
|
|
29
|
+
constructor(record, properties, options) {
|
|
30
|
+
super({
|
|
31
|
+
id: record.id,
|
|
32
|
+
entity: record.entity,
|
|
33
|
+
type: record.type,
|
|
34
|
+
properties,
|
|
35
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
36
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
37
|
+
});
|
|
38
|
+
this.actionName = 'UpdateModifyServiceRequest';
|
|
39
|
+
this.schemaActionId = 'f4fb3994-062a-46f6-ad1b-badfa0bf3afa';
|
|
40
|
+
this.entity = 'ServiceModule:ModifyServiceRequest';
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.UpdateModifyServiceRequestDto = UpdateModifyServiceRequestDto;
|
|
44
|
+
/** Used by SDK generators to identify action type */
|
|
45
|
+
UpdateModifyServiceRequestDto.ACTION_TYPE = 'UPDATE';
|
|
46
|
+
UpdateModifyServiceRequestDto.ACTION_KEY = 'UpdateModifyServiceRequest';
|
|
47
|
+
UpdateModifyServiceRequestDto.MODULE_NAME = 'ServiceModule';
|
|
48
|
+
UpdateModifyServiceRequestDto.ENTITIES = ['ModifyServiceRequest'];
|
|
49
|
+
UpdateModifyServiceRequestDto.EVENT_NAME = 'k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest';
|
|
50
|
+
UpdateModifyServiceRequestDto.PERMISSION = 'schema.action.updatemodifyservicerequest.trigger';
|
|
51
|
+
/** Step metadata - entity this action targets */
|
|
52
|
+
UpdateModifyServiceRequestDto.STEP_ENTITY = 'ServiceModule:ModifyServiceRequest';
|
|
53
|
+
UpdateModifyServiceRequestDto.STEP_SCHEMA_ID = 'c33f6215-f398-4d02-a35a-ebcde2ee2669';
|
|
54
|
+
UpdateModifyServiceRequestDto.STEP_SCHEMA_ACTION_ID = 'f4fb3994-062a-46f6-ad1b-badfa0bf3afa';
|
|
55
|
+
UpdateModifyServiceRequestDto.AUTO_LINK_PARENT = false;
|
|
56
|
+
/**
|
|
57
|
+
* Type-safe step keys for MoveMsrToInProgress
|
|
58
|
+
*/
|
|
59
|
+
exports.MoveMsrToInProgressSteps = {
|
|
60
|
+
step_1: 'step_1',
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* MoveMsrToInProgress
|
|
64
|
+
*
|
|
65
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
66
|
+
* @module ServiceModule
|
|
67
|
+
* @entity ModifyServiceRequest
|
|
68
|
+
* @entityType DEFAULT (Default)
|
|
69
|
+
* @targetStages ModifyServiceRequestStateStageInProgress
|
|
70
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToInProgress
|
|
71
|
+
* @permission schema.action.movemsrtoinprogress.trigger
|
|
72
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
73
|
+
*/
|
|
74
|
+
class MoveMsrToInProgressDto extends core_1.OdinRecordUpdateDto {
|
|
75
|
+
constructor(record, options) {
|
|
76
|
+
super({
|
|
77
|
+
id: record.id,
|
|
78
|
+
entity: record.entity,
|
|
79
|
+
type: record.type,
|
|
80
|
+
properties: {},
|
|
81
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
82
|
+
});
|
|
83
|
+
this.actionName = 'MoveMsrToInProgress';
|
|
84
|
+
this.schemaActionId = 'cf0fd460-97b3-43a6-abf4-6438c9f42f94';
|
|
85
|
+
this.entity = 'ServiceModule:ModifyServiceRequest';
|
|
86
|
+
this.stageKey = 'ModifyServiceRequestStateStageInProgress';
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.MoveMsrToInProgressDto = MoveMsrToInProgressDto;
|
|
90
|
+
/** Used by SDK generators to identify action type */
|
|
91
|
+
MoveMsrToInProgressDto.ACTION_TYPE = 'UPDATE';
|
|
92
|
+
MoveMsrToInProgressDto.ACTION_KEY = 'MoveMsrToInProgress';
|
|
93
|
+
MoveMsrToInProgressDto.MODULE_NAME = 'ServiceModule';
|
|
94
|
+
MoveMsrToInProgressDto.ENTITIES = ['ModifyServiceRequest'];
|
|
95
|
+
MoveMsrToInProgressDto.ENTITY_TYPE = 'DEFAULT';
|
|
96
|
+
MoveMsrToInProgressDto.EVENT_NAME = 'k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToInProgress';
|
|
97
|
+
MoveMsrToInProgressDto.SCHEMA_ACTION_ID = 'cf0fd460-97b3-43a6-abf4-6438c9f42f94';
|
|
98
|
+
MoveMsrToInProgressDto.PERMISSION = 'schema.action.movemsrtoinprogress.trigger';
|
|
99
|
+
MoveMsrToInProgressDto.TARGET_STAGES = ['ModifyServiceRequestStateStageInProgress'];
|
|
100
|
+
MoveMsrToInProgressDto.IS_STAGE_TRANSITION = true;
|
|
101
|
+
MoveMsrToInProgressDto.IS_MULTI_STEP_FLOW = false;
|
|
102
|
+
MoveMsrToInProgressDto.HAS_STEP_LINKS = false;
|
|
103
|
+
/**
|
|
104
|
+
* Step definitions with linking metadata
|
|
105
|
+
* Used by SDK and backend for auto-linking after step execution
|
|
106
|
+
*/
|
|
107
|
+
MoveMsrToInProgressDto.stepDefinitions = [
|
|
108
|
+
{
|
|
109
|
+
stepKey: 'step_1',
|
|
110
|
+
dtoClass: 'UpdateModifyServiceRequestDto',
|
|
111
|
+
entity: 'ServiceModule:ModifyServiceRequest',
|
|
112
|
+
linksTo: null
|
|
113
|
+
}
|
|
114
|
+
];
|
|
115
|
+
/** Type-safe step key accessor */
|
|
116
|
+
MoveMsrToInProgressDto.Steps = exports.MoveMsrToInProgressSteps;
|
|
117
|
+
/** Step classes that can be used with this action */
|
|
118
|
+
MoveMsrToInProgressDto.stepClasses = ['UpdateModifyServiceRequestDto'];
|
|
@@ -21,7 +21,7 @@ export interface UpdateCallAnalyticsMessage extends OdinRecordUpdatedEvent<Updat
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for UpdateCallAnalytics action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
24
|
+
* @property Required fields: 6
|
|
25
25
|
* @property Optional fields: 1
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCallAnalyticsProperties {
|
|
@@ -65,14 +65,6 @@ export interface UpdateCallAnalyticsProperties {
|
|
|
65
65
|
* @required
|
|
66
66
|
*/
|
|
67
67
|
AgentHoldTotalSec: string;
|
|
68
|
-
/**
|
|
69
|
-
* MuteTotalSec
|
|
70
|
-
*
|
|
71
|
-
* MuteTotalSec
|
|
72
|
-
* @type {TEXT}
|
|
73
|
-
* @required
|
|
74
|
-
*/
|
|
75
|
-
MuteTotalSec: string;
|
|
76
68
|
/**
|
|
77
69
|
* RingingTimeTotalSec
|
|
78
70
|
*
|
|
@@ -22,7 +22,7 @@ export interface UpdateCallInsightsMessage extends OdinRecordUpdatedEvent<Update
|
|
|
22
22
|
* Properties for UpdateCallInsights action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 0
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 2
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCallInsightsProperties {
|
|
28
28
|
/**
|
|
@@ -32,6 +32,13 @@ export interface UpdateCallInsightsProperties {
|
|
|
32
32
|
* @type {ENUM}
|
|
33
33
|
*/
|
|
34
34
|
WhoHungUp?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* CustomerConnection
|
|
37
|
+
*
|
|
38
|
+
* CustomerConnection
|
|
39
|
+
* @type {TEXT}
|
|
40
|
+
*/
|
|
41
|
+
CustomerConnection?: string | null;
|
|
35
42
|
}
|
|
36
43
|
/**
|
|
37
44
|
* UpdateCallInsights
|
|
@@ -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: 3
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCallOnInboundCallAnsweredProperties {
|
|
28
28
|
/**
|
|
@@ -71,6 +71,13 @@ export interface UpdateCallOnInboundCallAnsweredProperties {
|
|
|
71
71
|
* @type {UUID}
|
|
72
72
|
*/
|
|
73
73
|
ParentCallId?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* QueueEntryTime
|
|
76
|
+
*
|
|
77
|
+
* Queue entry time
|
|
78
|
+
* @type {DATE_TIME}
|
|
79
|
+
*/
|
|
80
|
+
QueueEntryTime?: string | null;
|
|
74
81
|
}
|
|
75
82
|
/**
|
|
76
83
|
* UpdateCallOnInboundCallAnswered
|
|
@@ -22,7 +22,7 @@ export interface UpdateCallOnTaskRouterAssignMessage extends OdinRecordUpdatedEv
|
|
|
22
22
|
* Properties for UpdateCallOnTaskRouterAssign action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 3
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 2
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCallOnTaskRouterAssignProperties {
|
|
28
28
|
/**
|
|
@@ -56,6 +56,13 @@ export interface UpdateCallOnTaskRouterAssignProperties {
|
|
|
56
56
|
* @type {TEXT}
|
|
57
57
|
*/
|
|
58
58
|
QueueName?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
* CaseId
|
|
61
|
+
*
|
|
62
|
+
* Reference identifier for Call relationships. Used for data integrity.
|
|
63
|
+
* @type {LOOKUP}
|
|
64
|
+
*/
|
|
65
|
+
CaseId?: string | null;
|
|
59
66
|
}
|
|
60
67
|
/**
|
|
61
68
|
* UpdateCallOnTaskRouterAssign
|
|
@@ -24,6 +24,7 @@ export declare class ContractBuyOutApi extends ApiProvider {
|
|
|
24
24
|
private _contact?;
|
|
25
25
|
private _case?;
|
|
26
26
|
private _user?;
|
|
27
|
+
private _paymentmethodrefund?;
|
|
27
28
|
constructor(authParams?: OauthParams, authToken?: string);
|
|
28
29
|
get note(): ApiRecordLinkManager;
|
|
29
30
|
get paymentmethod(): ApiRecordLinkManager;
|
|
@@ -32,6 +33,7 @@ export declare class ContractBuyOutApi extends ApiProvider {
|
|
|
32
33
|
get contact(): ApiRecordLinkManager;
|
|
33
34
|
get case(): ApiRecordLinkManager;
|
|
34
35
|
get user(): ApiRecordLinkManager;
|
|
36
|
+
get paymentmethodrefund(): ApiRecordLinkManager;
|
|
35
37
|
setRecord(sourceRecord: any): void;
|
|
36
38
|
schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
|
|
37
39
|
search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<ContractBuyOutProperties>>>;
|
|
@@ -75,6 +75,12 @@ class ContractBuyOutApi extends api_provider_1.ApiProvider {
|
|
|
75
75
|
}
|
|
76
76
|
return this._user;
|
|
77
77
|
}
|
|
78
|
+
get paymentmethodrefund() {
|
|
79
|
+
if (!this._paymentmethodrefund) {
|
|
80
|
+
this._paymentmethodrefund = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'OrderModule:ContractBuyOut', 'BillingModule:PaymentMethodRefund', 'ContractBuyOut__PaymentMethodRefund');
|
|
81
|
+
}
|
|
82
|
+
return this._paymentmethodrefund;
|
|
83
|
+
}
|
|
78
84
|
// ============================================
|
|
79
85
|
// STANDARD METHODS (Unchanged API)
|
|
80
86
|
// ============================================
|
|
@@ -27,6 +27,7 @@ export declare class PaymentMethodRefundApi extends ApiProvider {
|
|
|
27
27
|
private _invoice?;
|
|
28
28
|
private _activity?;
|
|
29
29
|
private _transaction?;
|
|
30
|
+
private _contractbuyout?;
|
|
30
31
|
constructor(authParams?: OauthParams, authToken?: string);
|
|
31
32
|
get reward(): ApiRecordLinkManager;
|
|
32
33
|
get file(): ApiRecordLinkManager;
|
|
@@ -38,6 +39,7 @@ export declare class PaymentMethodRefundApi extends ApiProvider {
|
|
|
38
39
|
get invoice(): ApiRecordLinkManager;
|
|
39
40
|
get activity(): ApiRecordLinkManager;
|
|
40
41
|
get transaction(): ApiRecordLinkManager;
|
|
42
|
+
get contractbuyout(): ApiRecordLinkManager;
|
|
41
43
|
setRecord(sourceRecord: any): void;
|
|
42
44
|
schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
|
|
43
45
|
search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<PaymentMethodRefundProperties>>>;
|
|
@@ -93,6 +93,12 @@ class PaymentMethodRefundApi extends api_provider_1.ApiProvider {
|
|
|
93
93
|
}
|
|
94
94
|
return this._transaction;
|
|
95
95
|
}
|
|
96
|
+
get contractbuyout() {
|
|
97
|
+
if (!this._contractbuyout) {
|
|
98
|
+
this._contractbuyout = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'BillingModule:PaymentMethodRefund', 'OrderModule:ContractBuyOut', 'ContractBuyOut__PaymentMethodRefund');
|
|
99
|
+
}
|
|
100
|
+
return this._contractbuyout;
|
|
101
|
+
}
|
|
96
102
|
// ============================================
|
|
97
103
|
// STANDARD METHODS (Unchanged API)
|
|
98
104
|
// ============================================
|
|
@@ -28,6 +28,7 @@ export declare class ContractBuyOutDb extends DbProvider {
|
|
|
28
28
|
private _contact?;
|
|
29
29
|
private _case?;
|
|
30
30
|
private _user?;
|
|
31
|
+
private _paymentmethodrefund?;
|
|
31
32
|
constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
|
|
32
33
|
get note(): DbRecordLinkManager;
|
|
33
34
|
get paymentmethod(): DbRecordLinkManager;
|
|
@@ -36,6 +37,7 @@ export declare class ContractBuyOutDb extends DbProvider {
|
|
|
36
37
|
get contact(): DbRecordLinkManager;
|
|
37
38
|
get case(): DbRecordLinkManager;
|
|
38
39
|
get user(): DbRecordLinkManager;
|
|
40
|
+
get paymentmethodrefund(): DbRecordLinkManager;
|
|
39
41
|
setRecord(sourceRecord: any): void;
|
|
40
42
|
/**
|
|
41
43
|
* Search records with manual pagination control
|
|
@@ -80,6 +80,12 @@ class ContractBuyOutDb extends db_provider_1.DbProvider {
|
|
|
80
80
|
}
|
|
81
81
|
return this._user;
|
|
82
82
|
}
|
|
83
|
+
get paymentmethodrefund() {
|
|
84
|
+
if (!this._paymentmethodrefund) {
|
|
85
|
+
this._paymentmethodrefund = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:ContractBuyOut', 'BillingModule:PaymentMethodRefund', 'ContractBuyOut__PaymentMethodRefund');
|
|
86
|
+
}
|
|
87
|
+
return this._paymentmethodrefund;
|
|
88
|
+
}
|
|
83
89
|
// ============================================
|
|
84
90
|
// STANDARD METHODS
|
|
85
91
|
// ============================================
|
|
@@ -31,6 +31,7 @@ export declare class PaymentMethodRefundDb extends DbProvider {
|
|
|
31
31
|
private _invoice?;
|
|
32
32
|
private _activity?;
|
|
33
33
|
private _transaction?;
|
|
34
|
+
private _contractbuyout?;
|
|
34
35
|
constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
|
|
35
36
|
get reward(): DbRecordLinkManager;
|
|
36
37
|
get file(): DbRecordLinkManager;
|
|
@@ -42,6 +43,7 @@ export declare class PaymentMethodRefundDb extends DbProvider {
|
|
|
42
43
|
get invoice(): DbRecordLinkManager;
|
|
43
44
|
get activity(): DbRecordLinkManager;
|
|
44
45
|
get transaction(): DbRecordLinkManager;
|
|
46
|
+
get contractbuyout(): DbRecordLinkManager;
|
|
45
47
|
setRecord(sourceRecord: any): void;
|
|
46
48
|
/**
|
|
47
49
|
* Search records with manual pagination control
|
|
@@ -98,6 +98,12 @@ class PaymentMethodRefundDb extends db_provider_1.DbProvider {
|
|
|
98
98
|
}
|
|
99
99
|
return this._transaction;
|
|
100
100
|
}
|
|
101
|
+
get contractbuyout() {
|
|
102
|
+
if (!this._contractbuyout) {
|
|
103
|
+
this._contractbuyout = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:PaymentMethodRefund', 'OrderModule:ContractBuyOut', 'ContractBuyOut__PaymentMethodRefund');
|
|
104
|
+
}
|
|
105
|
+
return this._contractbuyout;
|
|
106
|
+
}
|
|
101
107
|
// ============================================
|
|
102
108
|
// STANDARD METHODS
|
|
103
109
|
// ============================================
|