@d19n/youfibre-odin-sdk 2.0.389 → 2.0.391
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/MoveReplacementAmcoToPendingPaymentDto.d.ts +70 -0
- package/dist/actions-v2/MoveReplacementAmcoToPendingPaymentDto.js +62 -0
- package/dist/entities-v2/Case.d.ts +86 -1
- package/dist/entities-v2/Case.js +38 -2
- package/dist/entities-v2/VoiceConfiguration.d.ts +130 -130
- package/dist/entities-v2/VoiceConfiguration.js +46 -46
- package/dist/entities-v2/WorkOrder.d.ts +6 -2
- package/dist/entities-v2/WorkOrder.js +4 -0
- package/dist/records-v2/WorkOrderRecord.d.ts +25 -0
- package/dist/records-v2/WorkOrderRecord.js +29 -0
- package/dist/wholesale-provider/index.d.ts +1 -1
- package/dist/wholesale-provider/interface.d.ts +11 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -406,7 +406,7 @@ This SDK includes **213** entities across **13** modules.
|
|
|
406
406
|
|
|
407
407
|
## Actions
|
|
408
408
|
|
|
409
|
-
This SDK includes **
|
|
409
|
+
This SDK includes **953** actions.
|
|
410
410
|
|
|
411
411
|
### Action Types
|
|
412
412
|
|
|
@@ -629,6 +629,7 @@ This SDK includes **952** actions.
|
|
|
629
629
|
| `MoveReplacementAmcoToFailedInspection` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToFailedInspection |
|
|
630
630
|
| `MoveReplacementAmcoToNonReturned` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToNonReturned |
|
|
631
631
|
| `MoveReplacementAmcoToPendingInspection` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingInspection |
|
|
632
|
+
| `MoveReplacementAmcoToPendingPayment` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment |
|
|
632
633
|
| `MoveReplacementAmcoToPendingReturn` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingReturn |
|
|
633
634
|
| `MoveReplacementAmcoToProcessed` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToProcessed |
|
|
634
635
|
| `MoveReplacementAmcoToReceived` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToReceived |
|
|
@@ -840,6 +841,8 @@ This SDK includes **952** actions.
|
|
|
840
841
|
|
|
841
842
|
**MoveReplacementAmcoToPendingInspection Target Stages:** `ReplacementAmcoStagePendingInspection`
|
|
842
843
|
|
|
844
|
+
**MoveReplacementAmcoToPendingPayment Target Stages:** `ReplacementAmcoStagePendingPayment`
|
|
845
|
+
|
|
843
846
|
**MoveReplacementAmcoToPendingReturn Target Stages:** `ReplacementAmcoStagePendingReturn`
|
|
844
847
|
|
|
845
848
|
**MoveReplacementAmcoToProcessed Target Stages:** `ReplacementAmcoStageProcessed`
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveReplacementAmcoToPendingPayment Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Move the replacement work order to Pending Payment.
|
|
5
|
+
*
|
|
6
|
+
* @module FieldServiceModule
|
|
7
|
+
* @entity WorkOrder
|
|
8
|
+
* @entityType REPLACEMENT_AMCO
|
|
9
|
+
* @actionKey MoveReplacementAmcoToPendingPayment
|
|
10
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment
|
|
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 MoveReplacementAmcoToPendingPayment step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveReplacementAmcoToPendingPaymentMessage extends OdinRecordUpdatedEvent<MoveReplacementAmcoToPendingPaymentDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveReplacementAmcoToPendingPayment action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveReplacementAmcoToPendingPaymentProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* MoveReplacementAmcoToPendingPayment
|
|
30
|
+
*
|
|
31
|
+
* Move the replacement work order to Pending Payment.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module FieldServiceModule
|
|
35
|
+
* @entity WorkOrder
|
|
36
|
+
* @entityType REPLACEMENT_AMCO (Amco Replacement)
|
|
37
|
+
* @targetStages ReplacementAmcoStagePendingPayment
|
|
38
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment
|
|
39
|
+
* @permission schema.action.movereplacementamcotopendingpayment.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveReplacementAmcoToPendingPaymentDto 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 = "MoveReplacementAmcoToPendingPayment";
|
|
46
|
+
static readonly MODULE_NAME = "FieldServiceModule";
|
|
47
|
+
static readonly ENTITIES: string[];
|
|
48
|
+
static readonly ENTITY_TYPE = "REPLACEMENT_AMCO";
|
|
49
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "93e28ad9-8c0f-487e-ade9-deeb0c73d6df";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movereplacementamcotopendingpayment.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["ReplacementAmcoStagePendingPayment"];
|
|
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
|
+
* MoveReplacementAmcoToPendingPayment Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Move the replacement work order to Pending Payment.
|
|
6
|
+
*
|
|
7
|
+
* @module FieldServiceModule
|
|
8
|
+
* @entity WorkOrder
|
|
9
|
+
* @entityType REPLACEMENT_AMCO
|
|
10
|
+
* @actionKey MoveReplacementAmcoToPendingPayment
|
|
11
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveReplacementAmcoToPendingPaymentDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* MoveReplacementAmcoToPendingPayment
|
|
20
|
+
*
|
|
21
|
+
* Move the replacement work order to Pending Payment.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module FieldServiceModule
|
|
25
|
+
* @entity WorkOrder
|
|
26
|
+
* @entityType REPLACEMENT_AMCO (Amco Replacement)
|
|
27
|
+
* @targetStages ReplacementAmcoStagePendingPayment
|
|
28
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment
|
|
29
|
+
* @permission schema.action.movereplacementamcotopendingpayment.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveReplacementAmcoToPendingPaymentDto 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 = 'MoveReplacementAmcoToPendingPayment';
|
|
42
|
+
this.schemaActionId = '93e28ad9-8c0f-487e-ade9-deeb0c73d6df';
|
|
43
|
+
this.entity = 'FieldServiceModule:WorkOrder';
|
|
44
|
+
this.stageKey = 'ReplacementAmcoStagePendingPayment';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveReplacementAmcoToPendingPaymentDto = MoveReplacementAmcoToPendingPaymentDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveReplacementAmcoToPendingPaymentDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveReplacementAmcoToPendingPaymentDto.ACTION_KEY = 'MoveReplacementAmcoToPendingPayment';
|
|
51
|
+
MoveReplacementAmcoToPendingPaymentDto.MODULE_NAME = 'FieldServiceModule';
|
|
52
|
+
MoveReplacementAmcoToPendingPaymentDto.ENTITIES = ['WorkOrder'];
|
|
53
|
+
MoveReplacementAmcoToPendingPaymentDto.ENTITY_TYPE = 'REPLACEMENT_AMCO';
|
|
54
|
+
MoveReplacementAmcoToPendingPaymentDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment';
|
|
55
|
+
MoveReplacementAmcoToPendingPaymentDto.SCHEMA_ACTION_ID = '93e28ad9-8c0f-487e-ade9-deeb0c73d6df';
|
|
56
|
+
MoveReplacementAmcoToPendingPaymentDto.PERMISSION = 'schema.action.movereplacementamcotopendingpayment.trigger';
|
|
57
|
+
MoveReplacementAmcoToPendingPaymentDto.TARGET_STAGES = ['ReplacementAmcoStagePendingPayment'];
|
|
58
|
+
MoveReplacementAmcoToPendingPaymentDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveReplacementAmcoToPendingPaymentDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveReplacementAmcoToPendingPaymentDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveReplacementAmcoToPendingPaymentDto.stepClasses = [];
|
|
@@ -1102,6 +1102,33 @@ export declare enum CaseSaveContactMethod {
|
|
|
1102
1102
|
CALL = "CALL",
|
|
1103
1103
|
EMAIL = "EMAIL"
|
|
1104
1104
|
}
|
|
1105
|
+
/**
|
|
1106
|
+
* Valid values for Case.DeviceCheckOverrideReason
|
|
1107
|
+
*
|
|
1108
|
+
* Why a team leader solved this case without a Check All Devices in the last 15 minutes. Empty when a check was run.
|
|
1109
|
+
*
|
|
1110
|
+
* @remarks Available options:
|
|
1111
|
+
* - `CUSTOMER_EQUIPMENT_INACCESSIBLE` - Customer equipment inaccessible
|
|
1112
|
+
* - `DIAGNOSTICS_NOT_APPLICABLE` - Diagnostics not applicable
|
|
1113
|
+
* - `DIAGNOSTICS_PLATFORM_UNAVAILABLE` - Diagnostics platform unavailable
|
|
1114
|
+
* - `DIAGNOSTICS_TIMING_OUT_OR_ERRORS` - Diagnostics timing out or returning errors
|
|
1115
|
+
* - `KNOWN_SYSTEM_ISSUE` - Known system issue preventing diagnostics
|
|
1116
|
+
* - `ONT_NOT_RESPONDING` - ONT not responding
|
|
1117
|
+
* - `OTHER` - Other - Manager approval required
|
|
1118
|
+
* - `PARTIAL_DIAGNOSTICS_AVAILABLE` - Partial diagnostics available
|
|
1119
|
+
* - `ROUTER_NOT_RESPONDING` - Router not responding
|
|
1120
|
+
*/
|
|
1121
|
+
export declare enum CaseDeviceCheckOverrideReason {
|
|
1122
|
+
CUSTOMER_EQUIPMENT_INACCESSIBLE = "CUSTOMER_EQUIPMENT_INACCESSIBLE",
|
|
1123
|
+
DIAGNOSTICS_NOT_APPLICABLE = "DIAGNOSTICS_NOT_APPLICABLE",
|
|
1124
|
+
DIAGNOSTICS_PLATFORM_UNAVAILABLE = "DIAGNOSTICS_PLATFORM_UNAVAILABLE",
|
|
1125
|
+
DIAGNOSTICS_TIMING_OUT_OR_RETURNING_ERRORS = "DIAGNOSTICS_TIMING_OUT_OR_ERRORS",
|
|
1126
|
+
KNOWN_SYSTEM_ISSUE_PREVENTING_DIAGNOSTICS = "KNOWN_SYSTEM_ISSUE",
|
|
1127
|
+
ONT_NOT_RESPONDING = "ONT_NOT_RESPONDING",
|
|
1128
|
+
OTHER_MANAGER_APPROVAL_REQUIRED = "OTHER",
|
|
1129
|
+
PARTIAL_DIAGNOSTICS_AVAILABLE = "PARTIAL_DIAGNOSTICS_AVAILABLE",
|
|
1130
|
+
ROUTER_NOT_RESPONDING = "ROUTER_NOT_RESPONDING"
|
|
1131
|
+
}
|
|
1105
1132
|
/**
|
|
1106
1133
|
* Property keys for Case
|
|
1107
1134
|
* Use these constants instead of string literals for type safety
|
|
@@ -1316,7 +1343,15 @@ export declare enum CasePropertyKeys {
|
|
|
1316
1343
|
/** How an OTS/recontract retention save was made — call or email. Set only when RetentionOutcome is SAVED. */
|
|
1317
1344
|
SaveContactMethod = "SaveContactMethod",
|
|
1318
1345
|
/** Star rating (1-5) of the review this case was raised from. Set when a Trustpilot review creates the case; empty on every other case. */
|
|
1319
|
-
ReviewStars = "ReviewStars"
|
|
1346
|
+
ReviewStars = "ReviewStars",
|
|
1347
|
+
/** Why a team leader solved this case without a Check All Devices in the last 15 minutes. Empty when a check was run. */
|
|
1348
|
+
DeviceCheckOverrideReason = "DeviceCheckOverrideReason",
|
|
1349
|
+
/** The team leader's note on a device check override. Required when the reason is Other. */
|
|
1350
|
+
DeviceCheckOverrideNote = "DeviceCheckOverrideNote",
|
|
1351
|
+
/** The Odin user id of the team leader who solved this case without a recent Check All Devices. */
|
|
1352
|
+
DeviceCheckOverrideUserId = "DeviceCheckOverrideUserId",
|
|
1353
|
+
/** When a team leader solved this case without a recent Check All Devices. */
|
|
1354
|
+
DeviceCheckOverrideAt = "DeviceCheckOverrideAt"
|
|
1320
1355
|
}
|
|
1321
1356
|
/**
|
|
1322
1357
|
* Properties for Case records
|
|
@@ -1922,6 +1957,31 @@ export interface CaseProperties {
|
|
|
1922
1957
|
* @hidden This field is hidden in the UI
|
|
1923
1958
|
*/
|
|
1924
1959
|
ReviewStars: number;
|
|
1960
|
+
/** Why a team leader solved this case without a Check All Devices in the last 15 minutes. Empty when a check was run.
|
|
1961
|
+
*
|
|
1962
|
+
* @type {ENUM}
|
|
1963
|
+
* @default
|
|
1964
|
+
* @enum {CaseDeviceCheckOverrideReason}
|
|
1965
|
+
*/
|
|
1966
|
+
DeviceCheckOverrideReason: CaseDeviceCheckOverrideReason;
|
|
1967
|
+
/** The team leader's note on a device check override. Required when the reason is Other.
|
|
1968
|
+
*
|
|
1969
|
+
* @type {TEXT_LONG}
|
|
1970
|
+
* @default
|
|
1971
|
+
*/
|
|
1972
|
+
DeviceCheckOverrideNote: string;
|
|
1973
|
+
/** The Odin user id of the team leader who solved this case without a recent Check All Devices.
|
|
1974
|
+
*
|
|
1975
|
+
* @type {TEXT}
|
|
1976
|
+
* @default
|
|
1977
|
+
*/
|
|
1978
|
+
DeviceCheckOverrideUserId: string;
|
|
1979
|
+
/** When a team leader solved this case without a recent Check All Devices.
|
|
1980
|
+
*
|
|
1981
|
+
* @type {DATE_TIME}
|
|
1982
|
+
* @default
|
|
1983
|
+
*/
|
|
1984
|
+
DeviceCheckOverrideAt: string;
|
|
1925
1985
|
}
|
|
1926
1986
|
/**
|
|
1927
1987
|
* Properties for OUTAGE Case records
|
|
@@ -2527,6 +2587,31 @@ export interface OutageCaseProperties {
|
|
|
2527
2587
|
* @hidden This field is hidden in the UI
|
|
2528
2588
|
*/
|
|
2529
2589
|
ReviewStars: number;
|
|
2590
|
+
/** Why a team leader solved this case without a Check All Devices in the last 15 minutes. Empty when a check was run.
|
|
2591
|
+
*
|
|
2592
|
+
* @type {ENUM}
|
|
2593
|
+
* @default
|
|
2594
|
+
* @enum {CaseDeviceCheckOverrideReason}
|
|
2595
|
+
*/
|
|
2596
|
+
DeviceCheckOverrideReason: CaseDeviceCheckOverrideReason;
|
|
2597
|
+
/** The team leader's note on a device check override. Required when the reason is Other.
|
|
2598
|
+
*
|
|
2599
|
+
* @type {TEXT_LONG}
|
|
2600
|
+
* @default
|
|
2601
|
+
*/
|
|
2602
|
+
DeviceCheckOverrideNote: string;
|
|
2603
|
+
/** The Odin user id of the team leader who solved this case without a recent Check All Devices.
|
|
2604
|
+
*
|
|
2605
|
+
* @type {TEXT}
|
|
2606
|
+
* @default
|
|
2607
|
+
*/
|
|
2608
|
+
DeviceCheckOverrideUserId: string;
|
|
2609
|
+
/** When a team leader solved this case without a recent Check All Devices.
|
|
2610
|
+
*
|
|
2611
|
+
* @type {DATE_TIME}
|
|
2612
|
+
* @default
|
|
2613
|
+
*/
|
|
2614
|
+
DeviceCheckOverrideAt: string;
|
|
2530
2615
|
}
|
|
2531
2616
|
/**
|
|
2532
2617
|
* Case entity from SupportModule
|
package/dist/entities-v2/Case.js
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
16
|
-
exports.ROUTING_KEY_LINK_CASE_EDGAR_FEEDBACK_DELETED = exports.ROUTING_KEY_LINK_CASE_EDGAR_FEEDBACK_CREATED = exports.ROUTING_KEY_LINK_CASE_COACHING_SESSION_DELETED = exports.ROUTING_KEY_LINK_CASE_COACHING_SESSION_CREATED = exports.ROUTING_KEY_LINK_CASE_QA_EVALUATION_DELETED = exports.ROUTING_KEY_LINK_CASE_QA_EVALUATION_CREATED = exports.ROUTING_KEY_LINK_CASE_QA_REPORT_DELETED = exports.ROUTING_KEY_LINK_CASE_QA_REPORT_CREATED = exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_DELETED = exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_DELETED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CASE_USER_DELETED = exports.ROUTING_KEY_LINK_CASE_USER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_EMAIL_DELETED = exports.ROUTING_KEY_LINK_CASE_EMAIL_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_TEAM_DELETED = exports.ROUTING_KEY_LINK_CASE_TEAM_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = exports.ROUTING_KEY_LINK_CASE_FILE_DELETED = exports.ROUTING_KEY_LINK_CASE_FILE_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_CREATED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_CASE_OUTAGE_DELETED = void 0;
|
|
15
|
+
exports.ROUTING_KEY_CASE_OUTAGE_CREATED = exports.ROUTING_KEY_CASE_DEFAULT_DELETED = exports.ROUTING_KEY_CASE_DEFAULT_UPDATED = exports.ROUTING_KEY_CASE_DEFAULT_CREATED = exports.ROUTING_KEY_CASE_DELETED = exports.ROUTING_KEY_CASE_UPDATED = exports.ROUTING_KEY_CASE_CREATED = exports.Case = exports.CasePropertyKeys = exports.CaseDeviceCheckOverrideReason = exports.CaseSaveContactMethod = exports.CaseFrustrationBand = exports.CaseEnquirySubCategory = exports.CaseEnquiryCategory = exports.CaseDeprecated = exports.CaseRetentionOutcome = exports.CaseVulnerableCustomer = exports.CaseAutoResolutionStatus = exports.CaseLastDialOutcome = exports.CaseEscalationReason = exports.CaseOmbudsmanReason = exports.CaseSource = exports.CaseReasonForReview = exports.CaseImpact = exports.CaseCsatReason = exports.CaseBusinessArea = exports.CaseRetentionOffer = exports.CaseSla = exports.CaseReasonForLeaving = exports.CaseDpaCustomerType = exports.CaseDpaCustomerCategory = exports.CaseConversationStatus = exports.CaseBlockedReason = exports.CaseSubCategory = exports.CaseCategory = exports.CaseChannel = exports.CaseProblem = exports.CasePrimaryExceptionReason = exports.CasePrimaryException = exports.CaseFormalComplaint = exports.CaseOrigin = exports.CaseProviders = exports.CaseCsatResolutionReason = exports.CaseComplaint = exports.CaseCsatAgentReason = exports.OutageCaseStageKeys = exports.OutageCaseStageNames = exports.DefaultCaseStageKeys = exports.DefaultCaseStageNames = exports.CaseEntityTypes = void 0;
|
|
16
|
+
exports.ROUTING_KEY_LINK_CASE_EDGAR_FEEDBACK_DELETED = exports.ROUTING_KEY_LINK_CASE_EDGAR_FEEDBACK_CREATED = exports.ROUTING_KEY_LINK_CASE_COACHING_SESSION_DELETED = exports.ROUTING_KEY_LINK_CASE_COACHING_SESSION_CREATED = exports.ROUTING_KEY_LINK_CASE_QA_EVALUATION_DELETED = exports.ROUTING_KEY_LINK_CASE_QA_EVALUATION_CREATED = exports.ROUTING_KEY_LINK_CASE_QA_REPORT_DELETED = exports.ROUTING_KEY_LINK_CASE_QA_REPORT_CREATED = exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_DELETED = exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_DELETED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CASE_USER_DELETED = exports.ROUTING_KEY_LINK_CASE_USER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_EMAIL_DELETED = exports.ROUTING_KEY_LINK_CASE_EMAIL_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_TEAM_DELETED = exports.ROUTING_KEY_LINK_CASE_TEAM_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = exports.ROUTING_KEY_LINK_CASE_FILE_DELETED = exports.ROUTING_KEY_LINK_CASE_FILE_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_CREATED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_CASE_OUTAGE_DELETED = exports.ROUTING_KEY_CASE_OUTAGE_UPDATED = void 0;
|
|
17
17
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
18
|
/**
|
|
19
19
|
* Available types for Case records
|
|
@@ -1117,6 +1117,34 @@ var CaseSaveContactMethod;
|
|
|
1117
1117
|
CaseSaveContactMethod["CALL"] = "CALL";
|
|
1118
1118
|
CaseSaveContactMethod["EMAIL"] = "EMAIL";
|
|
1119
1119
|
})(CaseSaveContactMethod = exports.CaseSaveContactMethod || (exports.CaseSaveContactMethod = {}));
|
|
1120
|
+
/**
|
|
1121
|
+
* Valid values for Case.DeviceCheckOverrideReason
|
|
1122
|
+
*
|
|
1123
|
+
* Why a team leader solved this case without a Check All Devices in the last 15 minutes. Empty when a check was run.
|
|
1124
|
+
*
|
|
1125
|
+
* @remarks Available options:
|
|
1126
|
+
* - `CUSTOMER_EQUIPMENT_INACCESSIBLE` - Customer equipment inaccessible
|
|
1127
|
+
* - `DIAGNOSTICS_NOT_APPLICABLE` - Diagnostics not applicable
|
|
1128
|
+
* - `DIAGNOSTICS_PLATFORM_UNAVAILABLE` - Diagnostics platform unavailable
|
|
1129
|
+
* - `DIAGNOSTICS_TIMING_OUT_OR_ERRORS` - Diagnostics timing out or returning errors
|
|
1130
|
+
* - `KNOWN_SYSTEM_ISSUE` - Known system issue preventing diagnostics
|
|
1131
|
+
* - `ONT_NOT_RESPONDING` - ONT not responding
|
|
1132
|
+
* - `OTHER` - Other - Manager approval required
|
|
1133
|
+
* - `PARTIAL_DIAGNOSTICS_AVAILABLE` - Partial diagnostics available
|
|
1134
|
+
* - `ROUTER_NOT_RESPONDING` - Router not responding
|
|
1135
|
+
*/
|
|
1136
|
+
var CaseDeviceCheckOverrideReason;
|
|
1137
|
+
(function (CaseDeviceCheckOverrideReason) {
|
|
1138
|
+
CaseDeviceCheckOverrideReason["CUSTOMER_EQUIPMENT_INACCESSIBLE"] = "CUSTOMER_EQUIPMENT_INACCESSIBLE";
|
|
1139
|
+
CaseDeviceCheckOverrideReason["DIAGNOSTICS_NOT_APPLICABLE"] = "DIAGNOSTICS_NOT_APPLICABLE";
|
|
1140
|
+
CaseDeviceCheckOverrideReason["DIAGNOSTICS_PLATFORM_UNAVAILABLE"] = "DIAGNOSTICS_PLATFORM_UNAVAILABLE";
|
|
1141
|
+
CaseDeviceCheckOverrideReason["DIAGNOSTICS_TIMING_OUT_OR_RETURNING_ERRORS"] = "DIAGNOSTICS_TIMING_OUT_OR_ERRORS";
|
|
1142
|
+
CaseDeviceCheckOverrideReason["KNOWN_SYSTEM_ISSUE_PREVENTING_DIAGNOSTICS"] = "KNOWN_SYSTEM_ISSUE";
|
|
1143
|
+
CaseDeviceCheckOverrideReason["ONT_NOT_RESPONDING"] = "ONT_NOT_RESPONDING";
|
|
1144
|
+
CaseDeviceCheckOverrideReason["OTHER_MANAGER_APPROVAL_REQUIRED"] = "OTHER";
|
|
1145
|
+
CaseDeviceCheckOverrideReason["PARTIAL_DIAGNOSTICS_AVAILABLE"] = "PARTIAL_DIAGNOSTICS_AVAILABLE";
|
|
1146
|
+
CaseDeviceCheckOverrideReason["ROUTER_NOT_RESPONDING"] = "ROUTER_NOT_RESPONDING";
|
|
1147
|
+
})(CaseDeviceCheckOverrideReason = exports.CaseDeviceCheckOverrideReason || (exports.CaseDeviceCheckOverrideReason = {}));
|
|
1120
1148
|
/**
|
|
1121
1149
|
* Property keys for Case
|
|
1122
1150
|
* Use these constants instead of string literals for type safety
|
|
@@ -1333,6 +1361,14 @@ var CasePropertyKeys;
|
|
|
1333
1361
|
CasePropertyKeys["SaveContactMethod"] = "SaveContactMethod";
|
|
1334
1362
|
/** Star rating (1-5) of the review this case was raised from. Set when a Trustpilot review creates the case; empty on every other case. */
|
|
1335
1363
|
CasePropertyKeys["ReviewStars"] = "ReviewStars";
|
|
1364
|
+
/** Why a team leader solved this case without a Check All Devices in the last 15 minutes. Empty when a check was run. */
|
|
1365
|
+
CasePropertyKeys["DeviceCheckOverrideReason"] = "DeviceCheckOverrideReason";
|
|
1366
|
+
/** The team leader's note on a device check override. Required when the reason is Other. */
|
|
1367
|
+
CasePropertyKeys["DeviceCheckOverrideNote"] = "DeviceCheckOverrideNote";
|
|
1368
|
+
/** The Odin user id of the team leader who solved this case without a recent Check All Devices. */
|
|
1369
|
+
CasePropertyKeys["DeviceCheckOverrideUserId"] = "DeviceCheckOverrideUserId";
|
|
1370
|
+
/** When a team leader solved this case without a recent Check All Devices. */
|
|
1371
|
+
CasePropertyKeys["DeviceCheckOverrideAt"] = "DeviceCheckOverrideAt";
|
|
1336
1372
|
})(CasePropertyKeys = exports.CasePropertyKeys || (exports.CasePropertyKeys = {}));
|
|
1337
1373
|
/**
|
|
1338
1374
|
* Case entity from SupportModule
|
|
@@ -130,64 +130,64 @@ export declare enum VoiceConfigurationPortFromProvider {
|
|
|
130
130
|
* Use these constants instead of string literals for type safety
|
|
131
131
|
*/
|
|
132
132
|
export declare enum VoiceConfigurationPropertyKeys {
|
|
133
|
-
/**
|
|
134
|
-
|
|
133
|
+
/** AuthorizedLOA (Network Operations - VoiceConfiguration) */
|
|
134
|
+
AuthorizedLoa = "AuthorizedLOA",
|
|
135
135
|
/** ExternalReference */
|
|
136
136
|
ExternalReference = "ExternalReference",
|
|
137
|
-
/**
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
|
|
141
|
-
/** the order id provided by magrathea (Network Operations - VoiceConfiguration) */
|
|
142
|
-
MagratheaOrderId = "MagratheaOrderId",
|
|
143
|
-
/** SipwiseCustomerId (Network Operations - VoiceConfiguration) */
|
|
144
|
-
SipwiseCustomerId = "SipwiseCustomerId",
|
|
145
|
-
/** VoicePortOperStatus (Network Operations - VoiceConfiguration) */
|
|
146
|
-
VoicePortOperStatus = "VoicePortOperStatus",
|
|
147
|
-
/** VoicePortAdminStatus (Network Operations - VoiceConfiguration) */
|
|
148
|
-
VoicePortAdminStatus = "VoicePortAdminStatus",
|
|
149
|
-
/** LastCheckStatusDate (Network Operations - VoiceConfiguration) */
|
|
150
|
-
LastCheckStatusDate = "LastCheckStatusDate",
|
|
137
|
+
/** the phone number provided by us to the customer (Network Operations - VoiceConfiguration) */
|
|
138
|
+
IssuedPhoneNumber = "IssuedPhoneNumber",
|
|
139
|
+
/** IssuedPhoneNumberParts (Network Operations - VoiceConfiguration) */
|
|
140
|
+
IssuedPhoneNumberParts = "IssuedPhoneNumberParts",
|
|
151
141
|
/** Data field for VoiceConfiguration records. Used by Network Operations team. */
|
|
152
142
|
LastAction = "LastAction",
|
|
153
|
-
/** VoiceLineState (Network Operations - VoiceConfiguration) */
|
|
154
|
-
VoiceLineState = "VoiceLineState",
|
|
155
|
-
/** SipwiseCustomerContactId (Network Operations - VoiceConfiguration) */
|
|
156
|
-
SipwiseCustomerContactId = "SipwiseCustomerContactId",
|
|
157
|
-
/** AuthorizedLOA (Network Operations - VoiceConfiguration) */
|
|
158
|
-
AuthorizedLoa = "AuthorizedLOA",
|
|
159
|
-
/** SystemMessage (Network Operations - VoiceConfiguration) */
|
|
160
|
-
SystemMessage = "SystemMessage",
|
|
161
|
-
/** The parts include CountryCode, AreaCode, SubscriberNumber (Network Operations - VoiceConfiguration) */
|
|
162
|
-
PhoneNumberToPortParts = "PhoneNumberToPortParts",
|
|
163
|
-
/** OrderItemId (Network Operations - VoiceConfiguration) */
|
|
164
|
-
OrderItemId = "OrderItemId",
|
|
165
|
-
/** Data field for VoiceConfiguration records. Used by Network Operations team. */
|
|
166
|
-
VoiceIp = "VoiceIp",
|
|
167
|
-
/** VoiceServerStatus (Network Operations - VoiceConfiguration) */
|
|
168
|
-
VoiceServerStatus = "VoiceServerStatus",
|
|
169
|
-
/** SipwiseSubscriberId (Network Operations - VoiceConfiguration) */
|
|
170
|
-
SipwiseSubscriberId = "SipwiseSubscriberId",
|
|
171
|
-
/** MagratheaOrderStatus (Network Operations - VoiceConfiguration) */
|
|
172
|
-
MagratheaOrderStatus = "MagratheaOrderStatus",
|
|
173
|
-
/** MagratheaOrderLastUpdateTime (Network Operations - VoiceConfiguration) */
|
|
174
|
-
MagratheaOrderLastUpdateTime = "MagratheaOrderLastUpdateTime",
|
|
175
143
|
/** LastActionDate (Network Operations - VoiceConfiguration) */
|
|
176
144
|
LastActionDate = "LastActionDate",
|
|
177
|
-
/**
|
|
178
|
-
|
|
145
|
+
/** LastCheckStatusDate (Network Operations - VoiceConfiguration) */
|
|
146
|
+
LastCheckStatusDate = "LastCheckStatusDate",
|
|
147
|
+
/** the order id provided by magrathea (Network Operations - VoiceConfiguration) */
|
|
148
|
+
MagratheaOrderId = "MagratheaOrderId",
|
|
149
|
+
/** MagratheaOrderLastUpdate (Network Operations - VoiceConfiguration) */
|
|
150
|
+
MagratheaOrderLastUpdate = "MagratheaOrderLastUpdate",
|
|
151
|
+
/** MagratheaOrderLastUpdateTime (Network Operations - VoiceConfiguration) */
|
|
152
|
+
MagratheaOrderLastUpdateTime = "MagratheaOrderLastUpdateTime",
|
|
153
|
+
/** MagratheaOrderStatus (Network Operations - VoiceConfiguration) */
|
|
154
|
+
MagratheaOrderStatus = "MagratheaOrderStatus",
|
|
179
155
|
/** MagratheaOrderStatusDate (Network Operations - VoiceConfiguration) */
|
|
180
156
|
MagratheaOrderStatusDate = "MagratheaOrderStatusDate",
|
|
181
|
-
/**
|
|
182
|
-
|
|
157
|
+
/** Magrathea Port Date */
|
|
158
|
+
MagratheaPortDate = "MagratheaPortDate",
|
|
183
159
|
/** NetworkServiceId (Network Operations - VoiceConfiguration) */
|
|
184
160
|
NetworkServiceId = "NetworkServiceId",
|
|
161
|
+
/** OrderItemId (Network Operations - VoiceConfiguration) */
|
|
162
|
+
OrderItemId = "OrderItemId",
|
|
185
163
|
/** phone number to port (Network Operations - VoiceConfiguration) */
|
|
186
164
|
PhoneNumberToPort = "PhoneNumberToPort",
|
|
187
|
-
/**
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
|
|
165
|
+
/** The parts include CountryCode, AreaCode, SubscriberNumber (Network Operations - VoiceConfiguration) */
|
|
166
|
+
PhoneNumberToPortParts = "PhoneNumberToPortParts",
|
|
167
|
+
/** PortFromProvider (Network Operations - VoiceConfiguration) */
|
|
168
|
+
PortFromProvider = "PortFromProvider",
|
|
169
|
+
/** When the Magrathea "port accepted" customer email was sent for this port. Checked before sending and stamped after -- the redelivery-dedup guard for an at-least-once RabbitMQ consumer whose only prior guard (prevStatus !== nextStatus) was built from message-carried fields and so could not survive a redelivery. Scoped per port (this VoiceConfiguration record), not per contact, so a genuine second port for the same customer still sends. */
|
|
170
|
+
PortingUpdateEmailSentAt = "PortingUpdateEmailSentAt",
|
|
171
|
+
/** SipwiseCustomerContactId (Network Operations - VoiceConfiguration) */
|
|
172
|
+
SipwiseCustomerContactId = "SipwiseCustomerContactId",
|
|
173
|
+
/** SipwiseCustomerId (Network Operations - VoiceConfiguration) */
|
|
174
|
+
SipwiseCustomerId = "SipwiseCustomerId",
|
|
175
|
+
/** SipwiseSubscriberId (Network Operations - VoiceConfiguration) */
|
|
176
|
+
SipwiseSubscriberId = "SipwiseSubscriberId",
|
|
177
|
+
/** SystemMessage (Network Operations - VoiceConfiguration) */
|
|
178
|
+
SystemMessage = "SystemMessage",
|
|
179
|
+
/** SystemMessageDate (Network Operations - VoiceConfiguration) */
|
|
180
|
+
SystemMessageDate = "SystemMessageDate",
|
|
181
|
+
/** Data field for VoiceConfiguration records. Used by Network Operations team. */
|
|
182
|
+
VoiceIp = "VoiceIp",
|
|
183
|
+
/** VoiceLineState (Network Operations - VoiceConfiguration) */
|
|
184
|
+
VoiceLineState = "VoiceLineState",
|
|
185
|
+
/** VoicePortAdminStatus (Network Operations - VoiceConfiguration) */
|
|
186
|
+
VoicePortAdminStatus = "VoicePortAdminStatus",
|
|
187
|
+
/** VoicePortOperStatus (Network Operations - VoiceConfiguration) */
|
|
188
|
+
VoicePortOperStatus = "VoicePortOperStatus",
|
|
189
|
+
/** VoiceServerStatus (Network Operations - VoiceConfiguration) */
|
|
190
|
+
VoiceServerStatus = "VoiceServerStatus"
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
193
193
|
* Properties for VoiceConfiguration records
|
|
@@ -195,167 +195,167 @@ export declare enum VoiceConfigurationPropertyKeys {
|
|
|
195
195
|
* @see ServiceModule:VoiceConfiguration
|
|
196
196
|
*/
|
|
197
197
|
export interface VoiceConfigurationProperties {
|
|
198
|
-
/**
|
|
198
|
+
/** AuthorizedLOA (Network Operations - VoiceConfiguration)
|
|
199
199
|
*
|
|
200
|
-
* @type {
|
|
201
|
-
* @default
|
|
200
|
+
* @type {BOOLEAN}
|
|
202
201
|
*/
|
|
203
|
-
|
|
202
|
+
AuthorizedLoa: boolean;
|
|
204
203
|
/** ExternalReference
|
|
205
204
|
*
|
|
206
205
|
* @type {TEXT}
|
|
207
206
|
*/
|
|
208
207
|
ExternalReference: string;
|
|
209
|
-
/**
|
|
208
|
+
/** the phone number provided by us to the customer (Network Operations - VoiceConfiguration)
|
|
209
|
+
*
|
|
210
|
+
* @type {PHONE_NUMBER_E164_GB}
|
|
211
|
+
* @pii This field contains personally identifiable information
|
|
212
|
+
*/
|
|
213
|
+
IssuedPhoneNumber: string;
|
|
214
|
+
/** IssuedPhoneNumberParts (Network Operations - VoiceConfiguration)
|
|
215
|
+
*
|
|
216
|
+
* @type {JSON}
|
|
217
|
+
* @pii This field contains personally identifiable information
|
|
218
|
+
*/
|
|
219
|
+
IssuedPhoneNumberParts: string;
|
|
220
|
+
/** Data field for VoiceConfiguration records. Used by Network Operations team.
|
|
210
221
|
*
|
|
211
222
|
* @type {TEXT}
|
|
223
|
+
* @hidden This field is hidden in the UI
|
|
212
224
|
*/
|
|
213
|
-
|
|
214
|
-
/**
|
|
225
|
+
LastAction: string;
|
|
226
|
+
/** LastActionDate (Network Operations - VoiceConfiguration)
|
|
215
227
|
*
|
|
216
228
|
* @type {DATE_TIME}
|
|
217
229
|
* @format DD/MM/YYYY hh:mm:ss
|
|
218
|
-
* @default
|
|
219
230
|
* @hidden This field is hidden in the UI
|
|
220
231
|
*/
|
|
221
|
-
|
|
232
|
+
LastActionDate: string;
|
|
233
|
+
/** LastCheckStatusDate (Network Operations - VoiceConfiguration)
|
|
234
|
+
*
|
|
235
|
+
* @type {DATE_TIME}
|
|
236
|
+
* @format DD/MM/YYYY hh:mm:ss
|
|
237
|
+
* @hidden This field is hidden in the UI
|
|
238
|
+
*/
|
|
239
|
+
LastCheckStatusDate: string;
|
|
222
240
|
/** the order id provided by magrathea (Network Operations - VoiceConfiguration)
|
|
223
241
|
*
|
|
224
242
|
* @type {TEXT}
|
|
225
243
|
*/
|
|
226
244
|
MagratheaOrderId: string;
|
|
227
|
-
/**
|
|
245
|
+
/** MagratheaOrderLastUpdate (Network Operations - VoiceConfiguration)
|
|
228
246
|
*
|
|
229
|
-
* @type {
|
|
247
|
+
* @type {TEXT}
|
|
230
248
|
*/
|
|
231
|
-
|
|
232
|
-
/**
|
|
249
|
+
MagratheaOrderLastUpdate: string;
|
|
250
|
+
/** MagratheaOrderLastUpdateTime (Network Operations - VoiceConfiguration)
|
|
233
251
|
*
|
|
234
252
|
* @type {TEXT}
|
|
235
253
|
*/
|
|
236
|
-
|
|
237
|
-
/**
|
|
254
|
+
MagratheaOrderLastUpdateTime: string;
|
|
255
|
+
/** MagratheaOrderStatus (Network Operations - VoiceConfiguration)
|
|
238
256
|
*
|
|
239
257
|
* @type {TEXT}
|
|
240
258
|
*/
|
|
241
|
-
|
|
242
|
-
/**
|
|
259
|
+
MagratheaOrderStatus: string;
|
|
260
|
+
/** MagratheaOrderStatusDate (Network Operations - VoiceConfiguration)
|
|
243
261
|
*
|
|
244
262
|
* @type {DATE_TIME}
|
|
245
263
|
* @format DD/MM/YYYY hh:mm:ss
|
|
246
|
-
* @hidden This field is hidden in the UI
|
|
247
264
|
*/
|
|
248
|
-
|
|
249
|
-
/**
|
|
265
|
+
MagratheaOrderStatusDate: string;
|
|
266
|
+
/** Magrathea Port Date
|
|
250
267
|
*
|
|
251
|
-
* @type {
|
|
252
|
-
* @hidden This field is hidden in the UI
|
|
268
|
+
* @type {DATE}
|
|
253
269
|
*/
|
|
254
|
-
|
|
255
|
-
/**
|
|
270
|
+
MagratheaPortDate: string;
|
|
271
|
+
/** NetworkServiceId (Network Operations - VoiceConfiguration)
|
|
256
272
|
*
|
|
257
273
|
* @type {TEXT}
|
|
258
274
|
*/
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
*
|
|
262
|
-
* @type {NUMERIC}
|
|
263
|
-
*/
|
|
264
|
-
SipwiseCustomerContactId: number;
|
|
265
|
-
/** AuthorizedLOA (Network Operations - VoiceConfiguration)
|
|
275
|
+
NetworkServiceId: string;
|
|
276
|
+
/** OrderItemId (Network Operations - VoiceConfiguration)
|
|
266
277
|
*
|
|
267
|
-
* @type {
|
|
278
|
+
* @type {LOOKUP}
|
|
268
279
|
*/
|
|
269
|
-
|
|
270
|
-
/**
|
|
280
|
+
OrderItemId: string;
|
|
281
|
+
/** phone number to port (Network Operations - VoiceConfiguration)
|
|
271
282
|
*
|
|
272
|
-
* @type {
|
|
273
|
-
* @
|
|
283
|
+
* @type {PHONE_NUMBER_E164_GB}
|
|
284
|
+
* @pii This field contains personally identifiable information
|
|
274
285
|
*/
|
|
275
|
-
|
|
286
|
+
PhoneNumberToPort: string;
|
|
276
287
|
/** The parts include CountryCode, AreaCode, SubscriberNumber (Network Operations - VoiceConfiguration)
|
|
277
288
|
*
|
|
278
289
|
* @type {JSON}
|
|
279
290
|
* @pii This field contains personally identifiable information
|
|
280
291
|
*/
|
|
281
292
|
PhoneNumberToPortParts: string;
|
|
282
|
-
/**
|
|
293
|
+
/** PortFromProvider (Network Operations - VoiceConfiguration)
|
|
283
294
|
*
|
|
284
|
-
* @type {
|
|
295
|
+
* @type {ENUM}
|
|
296
|
+
* @enum {VoiceConfigurationPortFromProvider}
|
|
285
297
|
*/
|
|
286
|
-
|
|
287
|
-
/**
|
|
298
|
+
PortFromProvider: VoiceConfigurationPortFromProvider;
|
|
299
|
+
/** When the Magrathea "port accepted" customer email was sent for this port. Checked before sending and stamped after -- the redelivery-dedup guard for an at-least-once RabbitMQ consumer whose only prior guard (prevStatus !== nextStatus) was built from message-carried fields and so could not survive a redelivery. Scoped per port (this VoiceConfiguration record), not per contact, so a genuine second port for the same customer still sends.
|
|
288
300
|
*
|
|
289
|
-
* @type {
|
|
301
|
+
* @type {DATE_TIME}
|
|
302
|
+
* @default
|
|
290
303
|
*/
|
|
291
|
-
|
|
292
|
-
/**
|
|
304
|
+
PortingUpdateEmailSentAt: string;
|
|
305
|
+
/** SipwiseCustomerContactId (Network Operations - VoiceConfiguration)
|
|
293
306
|
*
|
|
294
|
-
* @type {
|
|
307
|
+
* @type {NUMERIC}
|
|
295
308
|
*/
|
|
296
|
-
|
|
297
|
-
/**
|
|
309
|
+
SipwiseCustomerContactId: number;
|
|
310
|
+
/** SipwiseCustomerId (Network Operations - VoiceConfiguration)
|
|
298
311
|
*
|
|
299
312
|
* @type {NUMBER}
|
|
300
313
|
*/
|
|
301
|
-
|
|
302
|
-
/**
|
|
314
|
+
SipwiseCustomerId: number;
|
|
315
|
+
/** SipwiseSubscriberId (Network Operations - VoiceConfiguration)
|
|
303
316
|
*
|
|
304
|
-
* @type {
|
|
317
|
+
* @type {NUMBER}
|
|
305
318
|
*/
|
|
306
|
-
|
|
307
|
-
/**
|
|
319
|
+
SipwiseSubscriberId: number;
|
|
320
|
+
/** SystemMessage (Network Operations - VoiceConfiguration)
|
|
308
321
|
*
|
|
309
322
|
* @type {TEXT}
|
|
310
|
-
*/
|
|
311
|
-
MagratheaOrderLastUpdateTime: string;
|
|
312
|
-
/** LastActionDate (Network Operations - VoiceConfiguration)
|
|
313
|
-
*
|
|
314
|
-
* @type {DATE_TIME}
|
|
315
|
-
* @format DD/MM/YYYY hh:mm:ss
|
|
316
323
|
* @hidden This field is hidden in the UI
|
|
317
324
|
*/
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
*
|
|
321
|
-
* @type {ENUM}
|
|
322
|
-
* @enum {VoiceConfigurationPortFromProvider}
|
|
323
|
-
*/
|
|
324
|
-
PortFromProvider: VoiceConfigurationPortFromProvider;
|
|
325
|
-
/** MagratheaOrderStatusDate (Network Operations - VoiceConfiguration)
|
|
325
|
+
SystemMessage: string;
|
|
326
|
+
/** SystemMessageDate (Network Operations - VoiceConfiguration)
|
|
326
327
|
*
|
|
327
328
|
* @type {DATE_TIME}
|
|
328
329
|
* @format DD/MM/YYYY hh:mm:ss
|
|
330
|
+
* @default
|
|
331
|
+
* @hidden This field is hidden in the UI
|
|
329
332
|
*/
|
|
330
|
-
|
|
331
|
-
/**
|
|
333
|
+
SystemMessageDate: string;
|
|
334
|
+
/** Data field for VoiceConfiguration records. Used by Network Operations team.
|
|
332
335
|
*
|
|
333
|
-
* @type {
|
|
334
|
-
* @pii This field contains personally identifiable information
|
|
336
|
+
* @type {TEXT}
|
|
335
337
|
*/
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
+
VoiceIp: string;
|
|
339
|
+
/** VoiceLineState (Network Operations - VoiceConfiguration)
|
|
338
340
|
*
|
|
339
341
|
* @type {TEXT}
|
|
340
342
|
*/
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
+
VoiceLineState: string;
|
|
344
|
+
/** VoicePortAdminStatus (Network Operations - VoiceConfiguration)
|
|
343
345
|
*
|
|
344
|
-
* @type {
|
|
345
|
-
* @pii This field contains personally identifiable information
|
|
346
|
+
* @type {TEXT}
|
|
346
347
|
*/
|
|
347
|
-
|
|
348
|
-
/**
|
|
348
|
+
VoicePortAdminStatus: string;
|
|
349
|
+
/** VoicePortOperStatus (Network Operations - VoiceConfiguration)
|
|
349
350
|
*
|
|
350
|
-
* @type {
|
|
351
|
-
* @pii This field contains personally identifiable information
|
|
351
|
+
* @type {TEXT}
|
|
352
352
|
*/
|
|
353
|
-
|
|
354
|
-
/**
|
|
353
|
+
VoicePortOperStatus: string;
|
|
354
|
+
/** VoiceServerStatus (Network Operations - VoiceConfiguration)
|
|
355
355
|
*
|
|
356
|
-
* @type {
|
|
356
|
+
* @type {TEXT}
|
|
357
357
|
*/
|
|
358
|
-
|
|
358
|
+
VoiceServerStatus: string;
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
361
361
|
* VoiceConfiguration entity from ServiceModule
|
|
@@ -135,64 +135,64 @@ var VoiceConfigurationPortFromProvider;
|
|
|
135
135
|
*/
|
|
136
136
|
var VoiceConfigurationPropertyKeys;
|
|
137
137
|
(function (VoiceConfigurationPropertyKeys) {
|
|
138
|
-
/**
|
|
139
|
-
VoiceConfigurationPropertyKeys["
|
|
138
|
+
/** AuthorizedLOA (Network Operations - VoiceConfiguration) */
|
|
139
|
+
VoiceConfigurationPropertyKeys["AuthorizedLoa"] = "AuthorizedLOA";
|
|
140
140
|
/** ExternalReference */
|
|
141
141
|
VoiceConfigurationPropertyKeys["ExternalReference"] = "ExternalReference";
|
|
142
|
-
/**
|
|
143
|
-
VoiceConfigurationPropertyKeys["
|
|
144
|
-
/**
|
|
145
|
-
VoiceConfigurationPropertyKeys["
|
|
146
|
-
/** the order id provided by magrathea (Network Operations - VoiceConfiguration) */
|
|
147
|
-
VoiceConfigurationPropertyKeys["MagratheaOrderId"] = "MagratheaOrderId";
|
|
148
|
-
/** SipwiseCustomerId (Network Operations - VoiceConfiguration) */
|
|
149
|
-
VoiceConfigurationPropertyKeys["SipwiseCustomerId"] = "SipwiseCustomerId";
|
|
150
|
-
/** VoicePortOperStatus (Network Operations - VoiceConfiguration) */
|
|
151
|
-
VoiceConfigurationPropertyKeys["VoicePortOperStatus"] = "VoicePortOperStatus";
|
|
152
|
-
/** VoicePortAdminStatus (Network Operations - VoiceConfiguration) */
|
|
153
|
-
VoiceConfigurationPropertyKeys["VoicePortAdminStatus"] = "VoicePortAdminStatus";
|
|
154
|
-
/** LastCheckStatusDate (Network Operations - VoiceConfiguration) */
|
|
155
|
-
VoiceConfigurationPropertyKeys["LastCheckStatusDate"] = "LastCheckStatusDate";
|
|
142
|
+
/** the phone number provided by us to the customer (Network Operations - VoiceConfiguration) */
|
|
143
|
+
VoiceConfigurationPropertyKeys["IssuedPhoneNumber"] = "IssuedPhoneNumber";
|
|
144
|
+
/** IssuedPhoneNumberParts (Network Operations - VoiceConfiguration) */
|
|
145
|
+
VoiceConfigurationPropertyKeys["IssuedPhoneNumberParts"] = "IssuedPhoneNumberParts";
|
|
156
146
|
/** Data field for VoiceConfiguration records. Used by Network Operations team. */
|
|
157
147
|
VoiceConfigurationPropertyKeys["LastAction"] = "LastAction";
|
|
158
|
-
/** VoiceLineState (Network Operations - VoiceConfiguration) */
|
|
159
|
-
VoiceConfigurationPropertyKeys["VoiceLineState"] = "VoiceLineState";
|
|
160
|
-
/** SipwiseCustomerContactId (Network Operations - VoiceConfiguration) */
|
|
161
|
-
VoiceConfigurationPropertyKeys["SipwiseCustomerContactId"] = "SipwiseCustomerContactId";
|
|
162
|
-
/** AuthorizedLOA (Network Operations - VoiceConfiguration) */
|
|
163
|
-
VoiceConfigurationPropertyKeys["AuthorizedLoa"] = "AuthorizedLOA";
|
|
164
|
-
/** SystemMessage (Network Operations - VoiceConfiguration) */
|
|
165
|
-
VoiceConfigurationPropertyKeys["SystemMessage"] = "SystemMessage";
|
|
166
|
-
/** The parts include CountryCode, AreaCode, SubscriberNumber (Network Operations - VoiceConfiguration) */
|
|
167
|
-
VoiceConfigurationPropertyKeys["PhoneNumberToPortParts"] = "PhoneNumberToPortParts";
|
|
168
|
-
/** OrderItemId (Network Operations - VoiceConfiguration) */
|
|
169
|
-
VoiceConfigurationPropertyKeys["OrderItemId"] = "OrderItemId";
|
|
170
|
-
/** Data field for VoiceConfiguration records. Used by Network Operations team. */
|
|
171
|
-
VoiceConfigurationPropertyKeys["VoiceIp"] = "VoiceIp";
|
|
172
|
-
/** VoiceServerStatus (Network Operations - VoiceConfiguration) */
|
|
173
|
-
VoiceConfigurationPropertyKeys["VoiceServerStatus"] = "VoiceServerStatus";
|
|
174
|
-
/** SipwiseSubscriberId (Network Operations - VoiceConfiguration) */
|
|
175
|
-
VoiceConfigurationPropertyKeys["SipwiseSubscriberId"] = "SipwiseSubscriberId";
|
|
176
|
-
/** MagratheaOrderStatus (Network Operations - VoiceConfiguration) */
|
|
177
|
-
VoiceConfigurationPropertyKeys["MagratheaOrderStatus"] = "MagratheaOrderStatus";
|
|
178
|
-
/** MagratheaOrderLastUpdateTime (Network Operations - VoiceConfiguration) */
|
|
179
|
-
VoiceConfigurationPropertyKeys["MagratheaOrderLastUpdateTime"] = "MagratheaOrderLastUpdateTime";
|
|
180
148
|
/** LastActionDate (Network Operations - VoiceConfiguration) */
|
|
181
149
|
VoiceConfigurationPropertyKeys["LastActionDate"] = "LastActionDate";
|
|
182
|
-
/**
|
|
183
|
-
VoiceConfigurationPropertyKeys["
|
|
150
|
+
/** LastCheckStatusDate (Network Operations - VoiceConfiguration) */
|
|
151
|
+
VoiceConfigurationPropertyKeys["LastCheckStatusDate"] = "LastCheckStatusDate";
|
|
152
|
+
/** the order id provided by magrathea (Network Operations - VoiceConfiguration) */
|
|
153
|
+
VoiceConfigurationPropertyKeys["MagratheaOrderId"] = "MagratheaOrderId";
|
|
154
|
+
/** MagratheaOrderLastUpdate (Network Operations - VoiceConfiguration) */
|
|
155
|
+
VoiceConfigurationPropertyKeys["MagratheaOrderLastUpdate"] = "MagratheaOrderLastUpdate";
|
|
156
|
+
/** MagratheaOrderLastUpdateTime (Network Operations - VoiceConfiguration) */
|
|
157
|
+
VoiceConfigurationPropertyKeys["MagratheaOrderLastUpdateTime"] = "MagratheaOrderLastUpdateTime";
|
|
158
|
+
/** MagratheaOrderStatus (Network Operations - VoiceConfiguration) */
|
|
159
|
+
VoiceConfigurationPropertyKeys["MagratheaOrderStatus"] = "MagratheaOrderStatus";
|
|
184
160
|
/** MagratheaOrderStatusDate (Network Operations - VoiceConfiguration) */
|
|
185
161
|
VoiceConfigurationPropertyKeys["MagratheaOrderStatusDate"] = "MagratheaOrderStatusDate";
|
|
186
|
-
/**
|
|
187
|
-
VoiceConfigurationPropertyKeys["
|
|
162
|
+
/** Magrathea Port Date */
|
|
163
|
+
VoiceConfigurationPropertyKeys["MagratheaPortDate"] = "MagratheaPortDate";
|
|
188
164
|
/** NetworkServiceId (Network Operations - VoiceConfiguration) */
|
|
189
165
|
VoiceConfigurationPropertyKeys["NetworkServiceId"] = "NetworkServiceId";
|
|
166
|
+
/** OrderItemId (Network Operations - VoiceConfiguration) */
|
|
167
|
+
VoiceConfigurationPropertyKeys["OrderItemId"] = "OrderItemId";
|
|
190
168
|
/** phone number to port (Network Operations - VoiceConfiguration) */
|
|
191
169
|
VoiceConfigurationPropertyKeys["PhoneNumberToPort"] = "PhoneNumberToPort";
|
|
192
|
-
/**
|
|
193
|
-
VoiceConfigurationPropertyKeys["
|
|
194
|
-
/**
|
|
195
|
-
VoiceConfigurationPropertyKeys["
|
|
170
|
+
/** The parts include CountryCode, AreaCode, SubscriberNumber (Network Operations - VoiceConfiguration) */
|
|
171
|
+
VoiceConfigurationPropertyKeys["PhoneNumberToPortParts"] = "PhoneNumberToPortParts";
|
|
172
|
+
/** PortFromProvider (Network Operations - VoiceConfiguration) */
|
|
173
|
+
VoiceConfigurationPropertyKeys["PortFromProvider"] = "PortFromProvider";
|
|
174
|
+
/** When the Magrathea "port accepted" customer email was sent for this port. Checked before sending and stamped after -- the redelivery-dedup guard for an at-least-once RabbitMQ consumer whose only prior guard (prevStatus !== nextStatus) was built from message-carried fields and so could not survive a redelivery. Scoped per port (this VoiceConfiguration record), not per contact, so a genuine second port for the same customer still sends. */
|
|
175
|
+
VoiceConfigurationPropertyKeys["PortingUpdateEmailSentAt"] = "PortingUpdateEmailSentAt";
|
|
176
|
+
/** SipwiseCustomerContactId (Network Operations - VoiceConfiguration) */
|
|
177
|
+
VoiceConfigurationPropertyKeys["SipwiseCustomerContactId"] = "SipwiseCustomerContactId";
|
|
178
|
+
/** SipwiseCustomerId (Network Operations - VoiceConfiguration) */
|
|
179
|
+
VoiceConfigurationPropertyKeys["SipwiseCustomerId"] = "SipwiseCustomerId";
|
|
180
|
+
/** SipwiseSubscriberId (Network Operations - VoiceConfiguration) */
|
|
181
|
+
VoiceConfigurationPropertyKeys["SipwiseSubscriberId"] = "SipwiseSubscriberId";
|
|
182
|
+
/** SystemMessage (Network Operations - VoiceConfiguration) */
|
|
183
|
+
VoiceConfigurationPropertyKeys["SystemMessage"] = "SystemMessage";
|
|
184
|
+
/** SystemMessageDate (Network Operations - VoiceConfiguration) */
|
|
185
|
+
VoiceConfigurationPropertyKeys["SystemMessageDate"] = "SystemMessageDate";
|
|
186
|
+
/** Data field for VoiceConfiguration records. Used by Network Operations team. */
|
|
187
|
+
VoiceConfigurationPropertyKeys["VoiceIp"] = "VoiceIp";
|
|
188
|
+
/** VoiceLineState (Network Operations - VoiceConfiguration) */
|
|
189
|
+
VoiceConfigurationPropertyKeys["VoiceLineState"] = "VoiceLineState";
|
|
190
|
+
/** VoicePortAdminStatus (Network Operations - VoiceConfiguration) */
|
|
191
|
+
VoiceConfigurationPropertyKeys["VoicePortAdminStatus"] = "VoicePortAdminStatus";
|
|
192
|
+
/** VoicePortOperStatus (Network Operations - VoiceConfiguration) */
|
|
193
|
+
VoiceConfigurationPropertyKeys["VoicePortOperStatus"] = "VoicePortOperStatus";
|
|
194
|
+
/** VoiceServerStatus (Network Operations - VoiceConfiguration) */
|
|
195
|
+
VoiceConfigurationPropertyKeys["VoiceServerStatus"] = "VoiceServerStatus";
|
|
196
196
|
})(VoiceConfigurationPropertyKeys = exports.VoiceConfigurationPropertyKeys || (exports.VoiceConfigurationPropertyKeys = {}));
|
|
197
197
|
/**
|
|
198
198
|
* VoiceConfiguration entity from ServiceModule
|
|
@@ -626,7 +626,9 @@ export declare enum ReplacementAmcoWorkOrderStageNames {
|
|
|
626
626
|
/** Complete (success) */
|
|
627
627
|
Complete = "Complete",
|
|
628
628
|
/** Failed Delivery (fail) */
|
|
629
|
-
FailedDelivery = "Failed Delivery"
|
|
629
|
+
FailedDelivery = "Failed Delivery",
|
|
630
|
+
/** Equipment was never returned and is being recovered as a charge; awaiting payment. */
|
|
631
|
+
PendingPayment = "Pending Payment"
|
|
630
632
|
}
|
|
631
633
|
/**
|
|
632
634
|
* Pipeline stage keys for REPLACEMENT_AMCO WorkOrder
|
|
@@ -658,7 +660,9 @@ export declare enum ReplacementAmcoWorkOrderStageKeys {
|
|
|
658
660
|
/** Complete */
|
|
659
661
|
ReplacementAmcoStageComplete = "ReplacementAmcoStageComplete",
|
|
660
662
|
/** Failed Delivery */
|
|
661
|
-
ReplacementAmcoStageFailedDelivery = "ReplacementAmcoStageFailedDelivery"
|
|
663
|
+
ReplacementAmcoStageFailedDelivery = "ReplacementAmcoStageFailedDelivery",
|
|
664
|
+
/** Equipment was never returned and is being recovered as a charge; awaiting payment. */
|
|
665
|
+
ReplacementAmcoStagePendingPayment = "ReplacementAmcoStagePendingPayment"
|
|
662
666
|
}
|
|
663
667
|
/**
|
|
664
668
|
* Pipeline stage names for SERVICE WorkOrder
|
|
@@ -592,6 +592,8 @@ var ReplacementAmcoWorkOrderStageNames;
|
|
|
592
592
|
ReplacementAmcoWorkOrderStageNames["Complete"] = "Complete";
|
|
593
593
|
/** Failed Delivery (fail) */
|
|
594
594
|
ReplacementAmcoWorkOrderStageNames["FailedDelivery"] = "Failed Delivery";
|
|
595
|
+
/** Equipment was never returned and is being recovered as a charge; awaiting payment. */
|
|
596
|
+
ReplacementAmcoWorkOrderStageNames["PendingPayment"] = "Pending Payment";
|
|
595
597
|
})(ReplacementAmcoWorkOrderStageNames = exports.ReplacementAmcoWorkOrderStageNames || (exports.ReplacementAmcoWorkOrderStageNames = {}));
|
|
596
598
|
/**
|
|
597
599
|
* Pipeline stage keys for REPLACEMENT_AMCO WorkOrder
|
|
@@ -625,6 +627,8 @@ var ReplacementAmcoWorkOrderStageKeys;
|
|
|
625
627
|
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageComplete"] = "ReplacementAmcoStageComplete";
|
|
626
628
|
/** Failed Delivery */
|
|
627
629
|
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageFailedDelivery"] = "ReplacementAmcoStageFailedDelivery";
|
|
630
|
+
/** Equipment was never returned and is being recovered as a charge; awaiting payment. */
|
|
631
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStagePendingPayment"] = "ReplacementAmcoStagePendingPayment";
|
|
628
632
|
})(ReplacementAmcoWorkOrderStageKeys = exports.ReplacementAmcoWorkOrderStageKeys || (exports.ReplacementAmcoWorkOrderStageKeys = {}));
|
|
629
633
|
/**
|
|
630
634
|
* Pipeline stage names for SERVICE WorkOrder
|
|
@@ -7748,6 +7748,31 @@ export declare class WorkOrderRecord<TProps = WorkOrderProperties> {
|
|
|
7748
7748
|
moveReplacementAmcoToPendingInspection(options?: {
|
|
7749
7749
|
journeyId?: string;
|
|
7750
7750
|
}): ActionBuilder;
|
|
7751
|
+
/**
|
|
7752
|
+
* MoveReplacementAmcoToPendingPayment
|
|
7753
|
+
*
|
|
7754
|
+
* Transitions this WorkOrder record to a new pipeline stage.
|
|
7755
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
7756
|
+
*
|
|
7757
|
+
* @remarks Transitions to stage: ReplacementAmcoStagePendingPayment
|
|
7758
|
+
*
|
|
7759
|
+
* @param options - Optional settings
|
|
7760
|
+
* @param options.journeyId - Associate with a journey
|
|
7761
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
7762
|
+
* @throws Error if called on a new (unsaved) record
|
|
7763
|
+
*
|
|
7764
|
+
* @example
|
|
7765
|
+
* ```typescript
|
|
7766
|
+
* const record = await odinClient.workOrders.get(id);
|
|
7767
|
+
* await record.moveReplacementAmcoToPendingPayment().execute();
|
|
7768
|
+
*
|
|
7769
|
+
* // Dry run (for debugging)
|
|
7770
|
+
* const payload = record.moveReplacementAmcoToPendingPayment().dryRun();
|
|
7771
|
+
* ```
|
|
7772
|
+
*/
|
|
7773
|
+
moveReplacementAmcoToPendingPayment(options?: {
|
|
7774
|
+
journeyId?: string;
|
|
7775
|
+
}): ActionBuilder;
|
|
7751
7776
|
/**
|
|
7752
7777
|
* MoveReplacementAmcoToPendingReturn
|
|
7753
7778
|
*
|
|
@@ -10897,6 +10897,35 @@ class WorkOrderRecord {
|
|
|
10897
10897
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MoveReplacementAmcoToPendingInspection', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'ReplacementAmcoStagePendingInspection' }, options);
|
|
10898
10898
|
return new ActionBuilder(this._provider, 'FieldServiceModule', 'WorkOrder', payload, () => { this._pendingLinks = []; });
|
|
10899
10899
|
}
|
|
10900
|
+
/**
|
|
10901
|
+
* MoveReplacementAmcoToPendingPayment
|
|
10902
|
+
*
|
|
10903
|
+
* Transitions this WorkOrder record to a new pipeline stage.
|
|
10904
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
10905
|
+
*
|
|
10906
|
+
* @remarks Transitions to stage: ReplacementAmcoStagePendingPayment
|
|
10907
|
+
*
|
|
10908
|
+
* @param options - Optional settings
|
|
10909
|
+
* @param options.journeyId - Associate with a journey
|
|
10910
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
10911
|
+
* @throws Error if called on a new (unsaved) record
|
|
10912
|
+
*
|
|
10913
|
+
* @example
|
|
10914
|
+
* ```typescript
|
|
10915
|
+
* const record = await odinClient.workOrders.get(id);
|
|
10916
|
+
* await record.moveReplacementAmcoToPendingPayment().execute();
|
|
10917
|
+
*
|
|
10918
|
+
* // Dry run (for debugging)
|
|
10919
|
+
* const payload = record.moveReplacementAmcoToPendingPayment().dryRun();
|
|
10920
|
+
* ```
|
|
10921
|
+
*/
|
|
10922
|
+
moveReplacementAmcoToPendingPayment(options) {
|
|
10923
|
+
var _a;
|
|
10924
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
10925
|
+
throw new Error('moveReplacementAmcoToPendingPayment requires an existing record. Use accessor.get() first.');
|
|
10926
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MoveReplacementAmcoToPendingPayment', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'ReplacementAmcoStagePendingPayment' }, options);
|
|
10927
|
+
return new ActionBuilder(this._provider, 'FieldServiceModule', 'WorkOrder', payload, () => { this._pendingLinks = []; });
|
|
10928
|
+
}
|
|
10900
10929
|
/**
|
|
10901
10930
|
* MoveReplacementAmcoToPendingReturn
|
|
10902
10931
|
*
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
*
|
|
26
26
|
* Linked: T-20260508-009 / T-20260508-010
|
|
27
27
|
*/
|
|
28
|
-
export type { WholesaleProvider, CreateOrderOptions, CancellationReasonCode, CancelServiceWorkOrderArgs, ReserveAppointmentArgs, ListAppointmentsArgs, ScheduleServiceWorkOrderArgs, RescheduleServiceWorkOrderArgs, AmendAppointmentArgs, RequestTenantReappointmentArgs, RequestTenantReappointmentReason, SyncWorkOrderToSupplierArgs, UpdateOrderExternalRefArgs, FindOrderByExternalRefArgs, FindOrderByExternalRefResult, } from './interface';
|
|
28
|
+
export type { WholesaleProvider, CreateOrderOptions, CancellationReasonCode, CancelServiceWorkOrderArgs, ReserveAppointmentArgs, ListAppointmentsArgs, ScheduleServiceWorkOrderArgs, RescheduleServiceWorkOrderArgs, ServiceWorkOrderProperties, AmendAppointmentArgs, RequestTenantReappointmentArgs, RequestTenantReappointmentReason, SyncWorkOrderToSupplierArgs, UpdateOrderExternalRefArgs, FindOrderByExternalRefArgs, FindOrderByExternalRefResult, } from './interface';
|
|
29
29
|
export type { WholesaleResult, WholesaleSyncResponse, WholesaleRejectionResponse, WholesaleRejectionMessage, WholesaleBUS, WholesaleSYS, ISO8601DateTime, ISODate, TransactionId, UPRN, UUID, SwitchOrderReference, } from './types/wholesale';
|
|
30
30
|
export { NetomniaProvider, AggregateNotificationError } from './providers/netomnia-provider';
|
|
31
31
|
export type { NetomniaProviderDeps } from './providers/netomnia-provider';
|
|
@@ -63,15 +63,21 @@ export interface ListAppointmentsArgs {
|
|
|
63
63
|
start: string;
|
|
64
64
|
appointmentPurpose: 'PROVIDE' | 'REPAIR';
|
|
65
65
|
}
|
|
66
|
+
/** YF WorkOrder properties copied onto the supplier's SERVICE work order. */
|
|
67
|
+
export interface ServiceWorkOrderProperties {
|
|
68
|
+
ServiceCallReason?: string;
|
|
69
|
+
/** The customer's service is completely down (PORTAPP-1450). */
|
|
70
|
+
CMCompletelyDown?: boolean;
|
|
71
|
+
/** The customer will take an earlier slot if one opens (PORTAPP-1450). */
|
|
72
|
+
EarlierAvailability?: boolean;
|
|
73
|
+
}
|
|
66
74
|
export interface ScheduleServiceWorkOrderArgs {
|
|
67
75
|
yfWorkOrderId: string;
|
|
68
76
|
uprn: number;
|
|
69
77
|
startDateTime: string;
|
|
70
78
|
endDateTime: string;
|
|
71
79
|
yfOrderId: string;
|
|
72
|
-
properties:
|
|
73
|
-
ServiceCallReason?: string;
|
|
74
|
-
};
|
|
80
|
+
properties: ServiceWorkOrderProperties;
|
|
75
81
|
}
|
|
76
82
|
export interface RescheduleServiceWorkOrderArgs {
|
|
77
83
|
yfWorkOrderId: string;
|
|
@@ -79,6 +85,8 @@ export interface RescheduleServiceWorkOrderArgs {
|
|
|
79
85
|
startDateTime: string;
|
|
80
86
|
endDateTime: string;
|
|
81
87
|
yfOrderId: string;
|
|
88
|
+
/** Written onto the supplier's existing SERVICE work order with the new slot. */
|
|
89
|
+
properties?: ServiceWorkOrderProperties;
|
|
82
90
|
}
|
|
83
91
|
export interface AmendAppointmentArgs {
|
|
84
92
|
yfOrderId: string;
|