@d19n/youfibre-odin-sdk 2.0.28 → 2.0.30
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 +1 -2
- package/dist/actions-v2/UpdateBngProvisionDto.d.ts +26 -19
- package/dist/actions-v2/UpdateBngProvisionDto.js +4 -4
- package/dist/entities-v2/Account.d.ts +33 -33
- package/dist/entities-v2/Account.js +2 -2
- package/dist/entities-v2/BillingAdjustment.d.ts +2 -0
- package/dist/entities-v2/BillingAdjustment.js +2 -0
- package/dist/entities-v2/Config.d.ts +8 -8
- package/dist/entities-v2/Config.js +4 -4
- package/dist/entities-v2/Order.d.ts +7 -7
- package/dist/entities-v2/Order.js +2 -2
- package/dist/entities-v2/WorkOrder.d.ts +82 -82
- package/dist/entities-v2/WorkOrder.js +2 -2
- package/dist/records-v2/ConversationRecord.d.ts +0 -27
- package/dist/records-v2/ConversationRecord.js +0 -29
- package/package.json +1 -1
- package/dist/actions-v2/ReopenConversationDto.d.ts +0 -94
- package/dist/actions-v2/ReopenConversationDto.js +0 -61
package/README.md
CHANGED
|
@@ -352,7 +352,7 @@ This SDK includes **164** entities across **12** modules.
|
|
|
352
352
|
|
|
353
353
|
## Actions
|
|
354
354
|
|
|
355
|
-
This SDK includes **
|
|
355
|
+
This SDK includes **589** actions.
|
|
356
356
|
|
|
357
357
|
### Action Types
|
|
358
358
|
|
|
@@ -1018,7 +1018,6 @@ This SDK includes **590** actions.
|
|
|
1018
1018
|
|--------|------|-------|
|
|
1019
1019
|
| `CloseConversation` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Conversation.Update.CloseConversation |
|
|
1020
1020
|
| `CreateConversation` | CREATE | k1.t-hEOJjsDb.NotificationModule.Conversation.Create.CreateConversation |
|
|
1021
|
-
| `ReopenConversation` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Conversation.Update.ReopenConversation |
|
|
1022
1021
|
| `UpdateConversation` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Conversation.Update.UpdateConversation |
|
|
1023
1022
|
| `UpdateConversationSummary` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Conversation.Update.UpdateConversationSummary |
|
|
1024
1023
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* UpdateBngProvision Action DTO
|
|
3
3
|
*
|
|
4
|
-
* Update BNG
|
|
4
|
+
* Update BNG Provisioning
|
|
5
5
|
*
|
|
6
6
|
* @module ServiceModule
|
|
7
7
|
* @entity BngProvision
|
|
@@ -22,16 +22,23 @@ export interface UpdateBngProvisionMessage extends OdinRecordUpdatedEvent<Update
|
|
|
22
22
|
* Properties for UpdateBngProvision action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 0
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 9
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateBngProvisionProperties {
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Default Gateway
|
|
30
30
|
*
|
|
31
|
-
*
|
|
31
|
+
* Default Gateway
|
|
32
32
|
* @type {TEXT}
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
DefaultGateway?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* DNS Servers
|
|
37
|
+
*
|
|
38
|
+
* List of DNS Servers
|
|
39
|
+
* @type {TEXT}
|
|
40
|
+
*/
|
|
41
|
+
DNSServer?: string | null;
|
|
35
42
|
/**
|
|
36
43
|
* IPv4 Address
|
|
37
44
|
*
|
|
@@ -47,33 +54,33 @@ export interface UpdateBngProvisionProperties {
|
|
|
47
54
|
*/
|
|
48
55
|
IPv6Address?: string | null;
|
|
49
56
|
/**
|
|
50
|
-
*
|
|
57
|
+
* Radius Username
|
|
51
58
|
*
|
|
52
|
-
*
|
|
59
|
+
* Radius Username
|
|
53
60
|
* @type {TEXT}
|
|
54
61
|
*/
|
|
55
|
-
|
|
62
|
+
RadiusUsername?: string | null;
|
|
56
63
|
/**
|
|
57
|
-
* Radius
|
|
64
|
+
* Radius Result
|
|
58
65
|
*
|
|
59
|
-
* Radius
|
|
66
|
+
* Radius Result
|
|
60
67
|
* @type {TEXT}
|
|
61
68
|
*/
|
|
62
|
-
|
|
69
|
+
RadiusResult?: string | null;
|
|
63
70
|
/**
|
|
64
|
-
*
|
|
71
|
+
* IPv6 Delegated Prefix
|
|
65
72
|
*
|
|
66
|
-
*
|
|
73
|
+
* IPv6 Delegated Prefix
|
|
67
74
|
* @type {TEXT}
|
|
68
75
|
*/
|
|
69
|
-
|
|
76
|
+
IPv6DelegatedPrefix?: string | null;
|
|
70
77
|
/**
|
|
71
|
-
* Radius
|
|
78
|
+
* Radius Package Name
|
|
72
79
|
*
|
|
73
|
-
* Radius
|
|
80
|
+
* Radius Package Name
|
|
74
81
|
* @type {TEXT}
|
|
75
82
|
*/
|
|
76
|
-
|
|
83
|
+
RadiusPackageName?: string | null;
|
|
77
84
|
/**
|
|
78
85
|
* IPv6 NDRA Prefix
|
|
79
86
|
*
|
|
@@ -85,7 +92,7 @@ export interface UpdateBngProvisionProperties {
|
|
|
85
92
|
/**
|
|
86
93
|
* UpdateBngProvision
|
|
87
94
|
*
|
|
88
|
-
* Update BNG
|
|
95
|
+
* Update BNG Provisioning
|
|
89
96
|
*
|
|
90
97
|
* @actionType UPDATE - Updates an existing BngProvision record
|
|
91
98
|
* @module ServiceModule
|
|
@@ -105,7 +112,7 @@ export declare class UpdateBngProvisionDto extends OdinRecordUpdateDto<UpdateBng
|
|
|
105
112
|
/** Step metadata - entity this action targets */
|
|
106
113
|
static readonly STEP_ENTITY = "ServiceModule:BngProvision";
|
|
107
114
|
static readonly STEP_SCHEMA_ID = "2e521c74-7a0a-4093-b2a8-02839c5fb52d";
|
|
108
|
-
static readonly STEP_SCHEMA_ACTION_ID = "
|
|
115
|
+
static readonly STEP_SCHEMA_ACTION_ID = "ae7f11d5-2684-4655-91d1-c1ea06cbb551";
|
|
109
116
|
static readonly AUTO_LINK_PARENT = false;
|
|
110
117
|
readonly actionName: string;
|
|
111
118
|
readonly schemaActionId: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* UpdateBngProvision Action DTO
|
|
4
4
|
*
|
|
5
|
-
* Update BNG
|
|
5
|
+
* Update BNG Provisioning
|
|
6
6
|
*
|
|
7
7
|
* @module ServiceModule
|
|
8
8
|
* @entity BngProvision
|
|
@@ -17,7 +17,7 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
17
17
|
/**
|
|
18
18
|
* UpdateBngProvision
|
|
19
19
|
*
|
|
20
|
-
* Update BNG
|
|
20
|
+
* Update BNG Provisioning
|
|
21
21
|
*
|
|
22
22
|
* @actionType UPDATE - Updates an existing BngProvision record
|
|
23
23
|
* @module ServiceModule
|
|
@@ -37,7 +37,7 @@ class UpdateBngProvisionDto extends core_1.OdinRecordUpdateDto {
|
|
|
37
37
|
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
38
|
});
|
|
39
39
|
this.actionName = 'UpdateBngProvision';
|
|
40
|
-
this.schemaActionId = '
|
|
40
|
+
this.schemaActionId = 'ae7f11d5-2684-4655-91d1-c1ea06cbb551';
|
|
41
41
|
this.entity = 'ServiceModule:BngProvision';
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -52,5 +52,5 @@ UpdateBngProvisionDto.PERMISSION = 'schema.action.updatebngprovision.trigger';
|
|
|
52
52
|
/** Step metadata - entity this action targets */
|
|
53
53
|
UpdateBngProvisionDto.STEP_ENTITY = 'ServiceModule:BngProvision';
|
|
54
54
|
UpdateBngProvisionDto.STEP_SCHEMA_ID = '2e521c74-7a0a-4093-b2a8-02839c5fb52d';
|
|
55
|
-
UpdateBngProvisionDto.STEP_SCHEMA_ACTION_ID = '
|
|
55
|
+
UpdateBngProvisionDto.STEP_SCHEMA_ACTION_ID = 'ae7f11d5-2684-4655-91d1-c1ea06cbb551';
|
|
56
56
|
UpdateBngProvisionDto.AUTO_LINK_PARENT = false;
|
|
@@ -249,8 +249,6 @@ export declare enum AccountGroupBilling {
|
|
|
249
249
|
* Use these constants instead of string literals for type safety
|
|
250
250
|
*/
|
|
251
251
|
export declare enum AccountPropertyKeys {
|
|
252
|
-
/** External Reference */
|
|
253
|
-
ExternalReference = "ExternalReference",
|
|
254
252
|
/** previous provider (Sales - Account) */
|
|
255
253
|
PreviousProvider = "PreviousProvider",
|
|
256
254
|
/** VerificationCode (Sales - Account) */
|
|
@@ -272,7 +270,9 @@ export declare enum AccountPropertyKeys {
|
|
|
272
270
|
/** this will group all billable orders where applicable into a single invoice (Sales - Account) */
|
|
273
271
|
GroupBilling = "GroupBilling",
|
|
274
272
|
/** The id of the contact (Sales - Account) */
|
|
275
|
-
ContactId = "ContactId"
|
|
273
|
+
ContactId = "ContactId",
|
|
274
|
+
/** External Reference */
|
|
275
|
+
ExternalReference = "ExternalReference"
|
|
276
276
|
}
|
|
277
277
|
/**
|
|
278
278
|
* Properties for Account records
|
|
@@ -280,11 +280,6 @@ export declare enum AccountPropertyKeys {
|
|
|
280
280
|
* @see CrmModule:Account
|
|
281
281
|
*/
|
|
282
282
|
export interface AccountProperties {
|
|
283
|
-
/** External Reference
|
|
284
|
-
*
|
|
285
|
-
* @type {TEXT}
|
|
286
|
-
*/
|
|
287
|
-
ExternalReference: string;
|
|
288
283
|
/** previous provider (Sales - Account)
|
|
289
284
|
*
|
|
290
285
|
* @type {ENUM}
|
|
@@ -352,6 +347,11 @@ export interface AccountProperties {
|
|
|
352
347
|
* @type {LOOKUP}
|
|
353
348
|
*/
|
|
354
349
|
ContactId: string;
|
|
350
|
+
/** External Reference
|
|
351
|
+
*
|
|
352
|
+
* @type {TEXT}
|
|
353
|
+
*/
|
|
354
|
+
ExternalReference: string;
|
|
355
355
|
}
|
|
356
356
|
/**
|
|
357
357
|
* Properties for BUSINESS Account records
|
|
@@ -359,11 +359,6 @@ export interface AccountProperties {
|
|
|
359
359
|
* @see CrmModule:Account
|
|
360
360
|
*/
|
|
361
361
|
export interface BusinessAccountProperties {
|
|
362
|
-
/** External Reference
|
|
363
|
-
*
|
|
364
|
-
* @type {TEXT}
|
|
365
|
-
*/
|
|
366
|
-
ExternalReference: string;
|
|
367
362
|
/** previous provider (Sales - Account)
|
|
368
363
|
*
|
|
369
364
|
* @type {ENUM}
|
|
@@ -431,6 +426,11 @@ export interface BusinessAccountProperties {
|
|
|
431
426
|
* @type {LOOKUP}
|
|
432
427
|
*/
|
|
433
428
|
ContactId: string;
|
|
429
|
+
/** External Reference
|
|
430
|
+
*
|
|
431
|
+
* @type {TEXT}
|
|
432
|
+
*/
|
|
433
|
+
ExternalReference: string;
|
|
434
434
|
}
|
|
435
435
|
/**
|
|
436
436
|
* Properties for MULTIPLE Account records
|
|
@@ -438,11 +438,6 @@ export interface BusinessAccountProperties {
|
|
|
438
438
|
* @see CrmModule:Account
|
|
439
439
|
*/
|
|
440
440
|
export interface MultipleAccountProperties {
|
|
441
|
-
/** External Reference
|
|
442
|
-
*
|
|
443
|
-
* @type {TEXT}
|
|
444
|
-
*/
|
|
445
|
-
ExternalReference: string;
|
|
446
441
|
/** previous provider (Sales - Account)
|
|
447
442
|
*
|
|
448
443
|
* @type {ENUM}
|
|
@@ -510,6 +505,11 @@ export interface MultipleAccountProperties {
|
|
|
510
505
|
* @type {LOOKUP}
|
|
511
506
|
*/
|
|
512
507
|
ContactId: string;
|
|
508
|
+
/** External Reference
|
|
509
|
+
*
|
|
510
|
+
* @type {TEXT}
|
|
511
|
+
*/
|
|
512
|
+
ExternalReference: string;
|
|
513
513
|
}
|
|
514
514
|
/**
|
|
515
515
|
* Properties for PRIMARY Account records
|
|
@@ -517,11 +517,6 @@ export interface MultipleAccountProperties {
|
|
|
517
517
|
* @see CrmModule:Account
|
|
518
518
|
*/
|
|
519
519
|
export interface PrimaryAccountProperties {
|
|
520
|
-
/** External Reference
|
|
521
|
-
*
|
|
522
|
-
* @type {TEXT}
|
|
523
|
-
*/
|
|
524
|
-
ExternalReference: string;
|
|
525
520
|
/** previous provider (Sales - Account)
|
|
526
521
|
*
|
|
527
522
|
* @type {ENUM}
|
|
@@ -589,6 +584,11 @@ export interface PrimaryAccountProperties {
|
|
|
589
584
|
* @type {LOOKUP}
|
|
590
585
|
*/
|
|
591
586
|
ContactId: string;
|
|
587
|
+
/** External Reference
|
|
588
|
+
*
|
|
589
|
+
* @type {TEXT}
|
|
590
|
+
*/
|
|
591
|
+
ExternalReference: string;
|
|
592
592
|
}
|
|
593
593
|
/**
|
|
594
594
|
* Properties for RESELLER Account records
|
|
@@ -596,11 +596,6 @@ export interface PrimaryAccountProperties {
|
|
|
596
596
|
* @see CrmModule:Account
|
|
597
597
|
*/
|
|
598
598
|
export interface ResellerAccountProperties {
|
|
599
|
-
/** External Reference
|
|
600
|
-
*
|
|
601
|
-
* @type {TEXT}
|
|
602
|
-
*/
|
|
603
|
-
ExternalReference: string;
|
|
604
599
|
/** previous provider (Sales - Account)
|
|
605
600
|
*
|
|
606
601
|
* @type {ENUM}
|
|
@@ -668,6 +663,11 @@ export interface ResellerAccountProperties {
|
|
|
668
663
|
* @type {LOOKUP}
|
|
669
664
|
*/
|
|
670
665
|
ContactId: string;
|
|
666
|
+
/** External Reference
|
|
667
|
+
*
|
|
668
|
+
* @type {TEXT}
|
|
669
|
+
*/
|
|
670
|
+
ExternalReference: string;
|
|
671
671
|
}
|
|
672
672
|
/**
|
|
673
673
|
* Properties for SERVICE Account records
|
|
@@ -675,11 +675,6 @@ export interface ResellerAccountProperties {
|
|
|
675
675
|
* @see CrmModule:Account
|
|
676
676
|
*/
|
|
677
677
|
export interface ServiceAccountProperties {
|
|
678
|
-
/** External Reference
|
|
679
|
-
*
|
|
680
|
-
* @type {TEXT}
|
|
681
|
-
*/
|
|
682
|
-
ExternalReference: string;
|
|
683
678
|
/** previous provider (Sales - Account)
|
|
684
679
|
*
|
|
685
680
|
* @type {ENUM}
|
|
@@ -747,6 +742,11 @@ export interface ServiceAccountProperties {
|
|
|
747
742
|
* @type {LOOKUP}
|
|
748
743
|
*/
|
|
749
744
|
ContactId: string;
|
|
745
|
+
/** External Reference
|
|
746
|
+
*
|
|
747
|
+
* @type {TEXT}
|
|
748
|
+
*/
|
|
749
|
+
ExternalReference: string;
|
|
750
750
|
}
|
|
751
751
|
/**
|
|
752
752
|
* Account entity from CrmModule
|
|
@@ -258,8 +258,6 @@ var AccountGroupBilling;
|
|
|
258
258
|
*/
|
|
259
259
|
var AccountPropertyKeys;
|
|
260
260
|
(function (AccountPropertyKeys) {
|
|
261
|
-
/** External Reference */
|
|
262
|
-
AccountPropertyKeys["ExternalReference"] = "ExternalReference";
|
|
263
261
|
/** previous provider (Sales - Account) */
|
|
264
262
|
AccountPropertyKeys["PreviousProvider"] = "PreviousProvider";
|
|
265
263
|
/** VerificationCode (Sales - Account) */
|
|
@@ -282,6 +280,8 @@ var AccountPropertyKeys;
|
|
|
282
280
|
AccountPropertyKeys["GroupBilling"] = "GroupBilling";
|
|
283
281
|
/** The id of the contact (Sales - Account) */
|
|
284
282
|
AccountPropertyKeys["ContactId"] = "ContactId";
|
|
283
|
+
/** External Reference */
|
|
284
|
+
AccountPropertyKeys["ExternalReference"] = "ExternalReference";
|
|
285
285
|
})(AccountPropertyKeys = exports.AccountPropertyKeys || (exports.AccountPropertyKeys = {}));
|
|
286
286
|
/**
|
|
287
287
|
* Account entity from CrmModule
|
|
@@ -45,6 +45,7 @@ export declare enum BillingAdjustmentProrationType {
|
|
|
45
45
|
* - `BILLING_DAY_ADJUSTMENT` - Billing Day Adjusment (legacy)
|
|
46
46
|
* - `BILLING_INCORRECT_CHARGE` - Billing Incorrect Charge
|
|
47
47
|
* - `BILLING_INVOICE_ERROR` - Billing Invoice Error
|
|
48
|
+
* - `BRSK_REWARD_ADJUSTMENT` - Brsk Reward Adjustment
|
|
48
49
|
* - `CONTRACT_BUY_OUT` - Contract Buy Out
|
|
49
50
|
* - `GOODWILL_GESTURE` - Goodwill Gesture
|
|
50
51
|
* - `OUTAGE_COMPENSATION` - Outage Compensation
|
|
@@ -60,6 +61,7 @@ export declare enum BillingAdjustmentReason {
|
|
|
60
61
|
BILLING_DAY_ADJUSMENT_LEGACY = "BILLING_DAY_ADJUSTMENT",
|
|
61
62
|
BILLING_INCORRECT_CHARGE = "BILLING_INCORRECT_CHARGE",
|
|
62
63
|
BILLING_INVOICE_ERROR = "BILLING_INVOICE_ERROR",
|
|
64
|
+
BRSK_REWARD_ADJUSTMENT = "BRSK_REWARD_ADJUSTMENT",
|
|
63
65
|
CONTRACT_BUY_OUT = "CONTRACT_BUY_OUT",
|
|
64
66
|
GOODWILL_GESTURE = "GOODWILL_GESTURE",
|
|
65
67
|
OUTAGE_COMPENSATION = "OUTAGE_COMPENSATION",
|
|
@@ -46,6 +46,7 @@ var BillingAdjustmentProrationType;
|
|
|
46
46
|
* - `BILLING_DAY_ADJUSTMENT` - Billing Day Adjusment (legacy)
|
|
47
47
|
* - `BILLING_INCORRECT_CHARGE` - Billing Incorrect Charge
|
|
48
48
|
* - `BILLING_INVOICE_ERROR` - Billing Invoice Error
|
|
49
|
+
* - `BRSK_REWARD_ADJUSTMENT` - Brsk Reward Adjustment
|
|
49
50
|
* - `CONTRACT_BUY_OUT` - Contract Buy Out
|
|
50
51
|
* - `GOODWILL_GESTURE` - Goodwill Gesture
|
|
51
52
|
* - `OUTAGE_COMPENSATION` - Outage Compensation
|
|
@@ -62,6 +63,7 @@ var BillingAdjustmentReason;
|
|
|
62
63
|
BillingAdjustmentReason["BILLING_DAY_ADJUSMENT_LEGACY"] = "BILLING_DAY_ADJUSTMENT";
|
|
63
64
|
BillingAdjustmentReason["BILLING_INCORRECT_CHARGE"] = "BILLING_INCORRECT_CHARGE";
|
|
64
65
|
BillingAdjustmentReason["BILLING_INVOICE_ERROR"] = "BILLING_INVOICE_ERROR";
|
|
66
|
+
BillingAdjustmentReason["BRSK_REWARD_ADJUSTMENT"] = "BRSK_REWARD_ADJUSTMENT";
|
|
65
67
|
BillingAdjustmentReason["CONTRACT_BUY_OUT"] = "CONTRACT_BUY_OUT";
|
|
66
68
|
BillingAdjustmentReason["GOODWILL_GESTURE"] = "GOODWILL_GESTURE";
|
|
67
69
|
BillingAdjustmentReason["OUTAGE_COMPENSATION"] = "OUTAGE_COMPENSATION";
|
|
@@ -23,12 +23,12 @@ export declare enum ConfigEntityTypes {
|
|
|
23
23
|
* Use these constants instead of string literals for type safety
|
|
24
24
|
*/
|
|
25
25
|
export declare enum ConfigPropertyKeys {
|
|
26
|
-
/**
|
|
27
|
-
|
|
26
|
+
/** Data field for Config records. Used by Platform team. */
|
|
27
|
+
Test = "Test",
|
|
28
28
|
/** object of { key: value } mappings (Platform - Config) */
|
|
29
29
|
Mappings = "Mappings",
|
|
30
|
-
/**
|
|
31
|
-
|
|
30
|
+
/** the name of the app this config relates to (Platform - Config) */
|
|
31
|
+
AppName = "AppName"
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* Properties for Config records
|
|
@@ -36,21 +36,21 @@ export declare enum ConfigPropertyKeys {
|
|
|
36
36
|
* @see SchemaModule:Config
|
|
37
37
|
*/
|
|
38
38
|
export interface ConfigProperties {
|
|
39
|
-
/**
|
|
39
|
+
/** Data field for Config records. Used by Platform team.
|
|
40
40
|
*
|
|
41
41
|
* @type {TEXT}
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
Test: string;
|
|
44
44
|
/** object of { key: value } mappings (Platform - Config)
|
|
45
45
|
*
|
|
46
46
|
* @type {JSON}
|
|
47
47
|
*/
|
|
48
48
|
Mappings: string;
|
|
49
|
-
/**
|
|
49
|
+
/** the name of the app this config relates to (Platform - Config)
|
|
50
50
|
*
|
|
51
51
|
* @type {TEXT}
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
AppName: string;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* Config entity from SchemaModule
|
|
@@ -28,12 +28,12 @@ var ConfigEntityTypes;
|
|
|
28
28
|
*/
|
|
29
29
|
var ConfigPropertyKeys;
|
|
30
30
|
(function (ConfigPropertyKeys) {
|
|
31
|
-
/** the name of the app this config relates to (Platform - Config) */
|
|
32
|
-
ConfigPropertyKeys["AppName"] = "AppName";
|
|
33
|
-
/** object of { key: value } mappings (Platform - Config) */
|
|
34
|
-
ConfigPropertyKeys["Mappings"] = "Mappings";
|
|
35
31
|
/** Data field for Config records. Used by Platform team. */
|
|
36
32
|
ConfigPropertyKeys["Test"] = "Test";
|
|
33
|
+
/** object of { key: value } mappings (Platform - Config) */
|
|
34
|
+
ConfigPropertyKeys["Mappings"] = "Mappings";
|
|
35
|
+
/** the name of the app this config relates to (Platform - Config) */
|
|
36
|
+
ConfigPropertyKeys["AppName"] = "AppName";
|
|
37
37
|
})(ConfigPropertyKeys = exports.ConfigPropertyKeys || (exports.ConfigPropertyKeys = {}));
|
|
38
38
|
/**
|
|
39
39
|
* Config entity from SchemaModule
|
|
@@ -273,8 +273,6 @@ export declare enum OrderDiscountUnit {
|
|
|
273
273
|
* Use these constants instead of string literals for type safety
|
|
274
274
|
*/
|
|
275
275
|
export declare enum OrderPropertyKeys {
|
|
276
|
-
/** ExternalReference */
|
|
277
|
-
ExternalReference = "ExternalReference",
|
|
278
276
|
/** Data field for Order records. Used by Sales team. */
|
|
279
277
|
VatNumber = "VATNumber",
|
|
280
278
|
/** the datetime when the amendment was performed (Sales - Order) */
|
|
@@ -445,6 +443,8 @@ export declare enum OrderPropertyKeys {
|
|
|
445
443
|
PendingAmcoDispatch = "PendingAmcoDispatch",
|
|
446
444
|
/** PendingAmcoCollection */
|
|
447
445
|
PendingAmcoCollection = "PendingAmcoCollection",
|
|
446
|
+
/** ExternalReference */
|
|
447
|
+
ExternalReference = "ExternalReference",
|
|
448
448
|
/** Affiliate code used when order was placed */
|
|
449
449
|
AffiliateCode = "AffiliateCode"
|
|
450
450
|
}
|
|
@@ -454,11 +454,6 @@ export declare enum OrderPropertyKeys {
|
|
|
454
454
|
* @see OrderModule:Order
|
|
455
455
|
*/
|
|
456
456
|
export interface OrderProperties {
|
|
457
|
-
/** ExternalReference
|
|
458
|
-
*
|
|
459
|
-
* @type {TEXT}
|
|
460
|
-
*/
|
|
461
|
-
ExternalReference: string;
|
|
462
457
|
/** Data field for Order records. Used by Sales team.
|
|
463
458
|
*
|
|
464
459
|
* @type {TEXT}
|
|
@@ -999,6 +994,11 @@ export interface OrderProperties {
|
|
|
999
994
|
* @type {BOOLEAN}
|
|
1000
995
|
*/
|
|
1001
996
|
PendingAmcoCollection: boolean;
|
|
997
|
+
/** ExternalReference
|
|
998
|
+
*
|
|
999
|
+
* @type {TEXT}
|
|
1000
|
+
*/
|
|
1001
|
+
ExternalReference: string;
|
|
1002
1002
|
/** Affiliate code used when order was placed
|
|
1003
1003
|
*
|
|
1004
1004
|
* @type {TEXT}
|
|
@@ -255,8 +255,6 @@ var OrderDiscountUnit;
|
|
|
255
255
|
*/
|
|
256
256
|
var OrderPropertyKeys;
|
|
257
257
|
(function (OrderPropertyKeys) {
|
|
258
|
-
/** ExternalReference */
|
|
259
|
-
OrderPropertyKeys["ExternalReference"] = "ExternalReference";
|
|
260
258
|
/** Data field for Order records. Used by Sales team. */
|
|
261
259
|
OrderPropertyKeys["VatNumber"] = "VATNumber";
|
|
262
260
|
/** the datetime when the amendment was performed (Sales - Order) */
|
|
@@ -427,6 +425,8 @@ var OrderPropertyKeys;
|
|
|
427
425
|
OrderPropertyKeys["PendingAmcoDispatch"] = "PendingAmcoDispatch";
|
|
428
426
|
/** PendingAmcoCollection */
|
|
429
427
|
OrderPropertyKeys["PendingAmcoCollection"] = "PendingAmcoCollection";
|
|
428
|
+
/** ExternalReference */
|
|
429
|
+
OrderPropertyKeys["ExternalReference"] = "ExternalReference";
|
|
430
430
|
/** Affiliate code used when order was placed */
|
|
431
431
|
OrderPropertyKeys["AffiliateCode"] = "AffiliateCode";
|
|
432
432
|
})(OrderPropertyKeys = exports.OrderPropertyKeys || (exports.OrderPropertyKeys = {}));
|
|
@@ -1232,8 +1232,6 @@ export declare enum WorkOrderReTriggerReason {
|
|
|
1232
1232
|
* Use these constants instead of string literals for type safety
|
|
1233
1233
|
*/
|
|
1234
1234
|
export declare enum WorkOrderPropertyKeys {
|
|
1235
|
-
/** External Reference (Field Operations - WorkOrder) */
|
|
1236
|
-
ExternalReference = "ExternalReference",
|
|
1237
1235
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder) */
|
|
1238
1236
|
ReplacedWorkOrderId = "ReplacedWorkOrderId",
|
|
1239
1237
|
/** The date of the service appointment */
|
|
@@ -1474,6 +1472,8 @@ export declare enum WorkOrderPropertyKeys {
|
|
|
1474
1472
|
PendingAmcoOrder = "PendingAmcoOrder",
|
|
1475
1473
|
/** ExternalRefBrskISP */
|
|
1476
1474
|
ExternalRefBrskIsp = "ExternalRefBrskISP",
|
|
1475
|
+
/** External Reference (Field Operations - WorkOrder) */
|
|
1476
|
+
ExternalReference = "ExternalReference",
|
|
1477
1477
|
/** ExternalRefBrskFNO */
|
|
1478
1478
|
ExternalRefBrskFno = "ExternalRefBrskFNO",
|
|
1479
1479
|
/** ExternalRefBrskFF */
|
|
@@ -1489,11 +1489,6 @@ export declare enum WorkOrderPropertyKeys {
|
|
|
1489
1489
|
* @see FieldServiceModule:WorkOrder
|
|
1490
1490
|
*/
|
|
1491
1491
|
export interface WorkOrderProperties {
|
|
1492
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
1493
|
-
*
|
|
1494
|
-
* @type {TEXT}
|
|
1495
|
-
*/
|
|
1496
|
-
ExternalReference: string;
|
|
1497
1492
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
1498
1493
|
*
|
|
1499
1494
|
* @type {UUID}
|
|
@@ -2195,6 +2190,11 @@ export interface WorkOrderProperties {
|
|
|
2195
2190
|
* @type {TEXT}
|
|
2196
2191
|
*/
|
|
2197
2192
|
ExternalRefBrskIsp: string;
|
|
2193
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
2194
|
+
*
|
|
2195
|
+
* @type {TEXT}
|
|
2196
|
+
*/
|
|
2197
|
+
ExternalReference: string;
|
|
2198
2198
|
/** ExternalRefBrskFNO
|
|
2199
2199
|
*
|
|
2200
2200
|
* @type {TEXT}
|
|
@@ -2222,11 +2222,6 @@ export interface WorkOrderProperties {
|
|
|
2222
2222
|
* @see FieldServiceModule:WorkOrder
|
|
2223
2223
|
*/
|
|
2224
2224
|
export interface CollectionWorkOrderProperties {
|
|
2225
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
2226
|
-
*
|
|
2227
|
-
* @type {TEXT}
|
|
2228
|
-
*/
|
|
2229
|
-
ExternalReference: string;
|
|
2230
2225
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
2231
2226
|
*
|
|
2232
2227
|
* @type {UUID}
|
|
@@ -2928,6 +2923,11 @@ export interface CollectionWorkOrderProperties {
|
|
|
2928
2923
|
* @type {TEXT}
|
|
2929
2924
|
*/
|
|
2930
2925
|
ExternalRefBrskIsp: string;
|
|
2926
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
2927
|
+
*
|
|
2928
|
+
* @type {TEXT}
|
|
2929
|
+
*/
|
|
2930
|
+
ExternalReference: string;
|
|
2931
2931
|
/** ExternalRefBrskFNO
|
|
2932
2932
|
*
|
|
2933
2933
|
* @type {TEXT}
|
|
@@ -2955,11 +2955,6 @@ export interface CollectionWorkOrderProperties {
|
|
|
2955
2955
|
* @see FieldServiceModule:WorkOrder
|
|
2956
2956
|
*/
|
|
2957
2957
|
export interface CollectionAmcoWorkOrderProperties {
|
|
2958
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
2959
|
-
*
|
|
2960
|
-
* @type {TEXT}
|
|
2961
|
-
*/
|
|
2962
|
-
ExternalReference: string;
|
|
2963
2958
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
2964
2959
|
*
|
|
2965
2960
|
* @type {UUID}
|
|
@@ -3661,6 +3656,11 @@ export interface CollectionAmcoWorkOrderProperties {
|
|
|
3661
3656
|
* @type {TEXT}
|
|
3662
3657
|
*/
|
|
3663
3658
|
ExternalRefBrskIsp: string;
|
|
3659
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
3660
|
+
*
|
|
3661
|
+
* @type {TEXT}
|
|
3662
|
+
*/
|
|
3663
|
+
ExternalReference: string;
|
|
3664
3664
|
/** ExternalRefBrskFNO
|
|
3665
3665
|
*
|
|
3666
3666
|
* @type {TEXT}
|
|
@@ -3688,11 +3688,6 @@ export interface CollectionAmcoWorkOrderProperties {
|
|
|
3688
3688
|
* @see FieldServiceModule:WorkOrder
|
|
3689
3689
|
*/
|
|
3690
3690
|
export interface DispatchAmcoWorkOrderProperties {
|
|
3691
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
3692
|
-
*
|
|
3693
|
-
* @type {TEXT}
|
|
3694
|
-
*/
|
|
3695
|
-
ExternalReference: string;
|
|
3696
3691
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
3697
3692
|
*
|
|
3698
3693
|
* @type {UUID}
|
|
@@ -4394,6 +4389,11 @@ export interface DispatchAmcoWorkOrderProperties {
|
|
|
4394
4389
|
* @type {TEXT}
|
|
4395
4390
|
*/
|
|
4396
4391
|
ExternalRefBrskIsp: string;
|
|
4392
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
4393
|
+
*
|
|
4394
|
+
* @type {TEXT}
|
|
4395
|
+
*/
|
|
4396
|
+
ExternalReference: string;
|
|
4397
4397
|
/** ExternalRefBrskFNO
|
|
4398
4398
|
*
|
|
4399
4399
|
* @type {TEXT}
|
|
@@ -4421,11 +4421,6 @@ export interface DispatchAmcoWorkOrderProperties {
|
|
|
4421
4421
|
* @see FieldServiceModule:WorkOrder
|
|
4422
4422
|
*/
|
|
4423
4423
|
export interface FinanceWorkOrderProperties {
|
|
4424
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
4425
|
-
*
|
|
4426
|
-
* @type {TEXT}
|
|
4427
|
-
*/
|
|
4428
|
-
ExternalReference: string;
|
|
4429
4424
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
4430
4425
|
*
|
|
4431
4426
|
* @type {UUID}
|
|
@@ -5127,6 +5122,11 @@ export interface FinanceWorkOrderProperties {
|
|
|
5127
5122
|
* @type {TEXT}
|
|
5128
5123
|
*/
|
|
5129
5124
|
ExternalRefBrskIsp: string;
|
|
5125
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
5126
|
+
*
|
|
5127
|
+
* @type {TEXT}
|
|
5128
|
+
*/
|
|
5129
|
+
ExternalReference: string;
|
|
5130
5130
|
/** ExternalRefBrskFNO
|
|
5131
5131
|
*
|
|
5132
5132
|
* @type {TEXT}
|
|
@@ -5154,11 +5154,6 @@ export interface FinanceWorkOrderProperties {
|
|
|
5154
5154
|
* @see FieldServiceModule:WorkOrder
|
|
5155
5155
|
*/
|
|
5156
5156
|
export interface InspectionWorkOrderProperties {
|
|
5157
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
5158
|
-
*
|
|
5159
|
-
* @type {TEXT}
|
|
5160
|
-
*/
|
|
5161
|
-
ExternalReference: string;
|
|
5162
5157
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
5163
5158
|
*
|
|
5164
5159
|
* @type {UUID}
|
|
@@ -5860,6 +5855,11 @@ export interface InspectionWorkOrderProperties {
|
|
|
5860
5855
|
* @type {TEXT}
|
|
5861
5856
|
*/
|
|
5862
5857
|
ExternalRefBrskIsp: string;
|
|
5858
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
5859
|
+
*
|
|
5860
|
+
* @type {TEXT}
|
|
5861
|
+
*/
|
|
5862
|
+
ExternalReference: string;
|
|
5863
5863
|
/** ExternalRefBrskFNO
|
|
5864
5864
|
*
|
|
5865
5865
|
* @type {TEXT}
|
|
@@ -5887,11 +5887,6 @@ export interface InspectionWorkOrderProperties {
|
|
|
5887
5887
|
* @see FieldServiceModule:WorkOrder
|
|
5888
5888
|
*/
|
|
5889
5889
|
export interface InstallWorkOrderProperties {
|
|
5890
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
5891
|
-
*
|
|
5892
|
-
* @type {TEXT}
|
|
5893
|
-
*/
|
|
5894
|
-
ExternalReference: string;
|
|
5895
5890
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
5896
5891
|
*
|
|
5897
5892
|
* @type {UUID}
|
|
@@ -6593,6 +6588,11 @@ export interface InstallWorkOrderProperties {
|
|
|
6593
6588
|
* @type {TEXT}
|
|
6594
6589
|
*/
|
|
6595
6590
|
ExternalRefBrskIsp: string;
|
|
6591
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
6592
|
+
*
|
|
6593
|
+
* @type {TEXT}
|
|
6594
|
+
*/
|
|
6595
|
+
ExternalReference: string;
|
|
6596
6596
|
/** ExternalRefBrskFNO
|
|
6597
6597
|
*
|
|
6598
6598
|
* @type {TEXT}
|
|
@@ -6620,11 +6620,6 @@ export interface InstallWorkOrderProperties {
|
|
|
6620
6620
|
* @see FieldServiceModule:WorkOrder
|
|
6621
6621
|
*/
|
|
6622
6622
|
export interface InstallBusinessWorkOrderProperties {
|
|
6623
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
6624
|
-
*
|
|
6625
|
-
* @type {TEXT}
|
|
6626
|
-
*/
|
|
6627
|
-
ExternalReference: string;
|
|
6628
6623
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
6629
6624
|
*
|
|
6630
6625
|
* @type {UUID}
|
|
@@ -7326,6 +7321,11 @@ export interface InstallBusinessWorkOrderProperties {
|
|
|
7326
7321
|
* @type {TEXT}
|
|
7327
7322
|
*/
|
|
7328
7323
|
ExternalRefBrskIsp: string;
|
|
7324
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
7325
|
+
*
|
|
7326
|
+
* @type {TEXT}
|
|
7327
|
+
*/
|
|
7328
|
+
ExternalReference: string;
|
|
7329
7329
|
/** ExternalRefBrskFNO
|
|
7330
7330
|
*
|
|
7331
7331
|
* @type {TEXT}
|
|
@@ -7353,11 +7353,6 @@ export interface InstallBusinessWorkOrderProperties {
|
|
|
7353
7353
|
* @see FieldServiceModule:WorkOrder
|
|
7354
7354
|
*/
|
|
7355
7355
|
export interface InstallServiceWorkOrderProperties {
|
|
7356
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
7357
|
-
*
|
|
7358
|
-
* @type {TEXT}
|
|
7359
|
-
*/
|
|
7360
|
-
ExternalReference: string;
|
|
7361
7356
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
7362
7357
|
*
|
|
7363
7358
|
* @type {UUID}
|
|
@@ -8059,6 +8054,11 @@ export interface InstallServiceWorkOrderProperties {
|
|
|
8059
8054
|
* @type {TEXT}
|
|
8060
8055
|
*/
|
|
8061
8056
|
ExternalRefBrskIsp: string;
|
|
8057
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
8058
|
+
*
|
|
8059
|
+
* @type {TEXT}
|
|
8060
|
+
*/
|
|
8061
|
+
ExternalReference: string;
|
|
8062
8062
|
/** ExternalRefBrskFNO
|
|
8063
8063
|
*
|
|
8064
8064
|
* @type {TEXT}
|
|
@@ -8086,11 +8086,6 @@ export interface InstallServiceWorkOrderProperties {
|
|
|
8086
8086
|
* @see FieldServiceModule:WorkOrder
|
|
8087
8087
|
*/
|
|
8088
8088
|
export interface NetworkAdjustmentWorkOrderProperties {
|
|
8089
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
8090
|
-
*
|
|
8091
|
-
* @type {TEXT}
|
|
8092
|
-
*/
|
|
8093
|
-
ExternalReference: string;
|
|
8094
8089
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
8095
8090
|
*
|
|
8096
8091
|
* @type {UUID}
|
|
@@ -8792,6 +8787,11 @@ export interface NetworkAdjustmentWorkOrderProperties {
|
|
|
8792
8787
|
* @type {TEXT}
|
|
8793
8788
|
*/
|
|
8794
8789
|
ExternalRefBrskIsp: string;
|
|
8790
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
8791
|
+
*
|
|
8792
|
+
* @type {TEXT}
|
|
8793
|
+
*/
|
|
8794
|
+
ExternalReference: string;
|
|
8795
8795
|
/** ExternalRefBrskFNO
|
|
8796
8796
|
*
|
|
8797
8797
|
* @type {TEXT}
|
|
@@ -8819,11 +8819,6 @@ export interface NetworkAdjustmentWorkOrderProperties {
|
|
|
8819
8819
|
* @see FieldServiceModule:WorkOrder
|
|
8820
8820
|
*/
|
|
8821
8821
|
export interface PlanningWorkOrderProperties {
|
|
8822
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
8823
|
-
*
|
|
8824
|
-
* @type {TEXT}
|
|
8825
|
-
*/
|
|
8826
|
-
ExternalReference: string;
|
|
8827
8822
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
8828
8823
|
*
|
|
8829
8824
|
* @type {UUID}
|
|
@@ -9525,6 +9520,11 @@ export interface PlanningWorkOrderProperties {
|
|
|
9525
9520
|
* @type {TEXT}
|
|
9526
9521
|
*/
|
|
9527
9522
|
ExternalRefBrskIsp: string;
|
|
9523
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
9524
|
+
*
|
|
9525
|
+
* @type {TEXT}
|
|
9526
|
+
*/
|
|
9527
|
+
ExternalReference: string;
|
|
9528
9528
|
/** ExternalRefBrskFNO
|
|
9529
9529
|
*
|
|
9530
9530
|
* @type {TEXT}
|
|
@@ -9552,11 +9552,6 @@ export interface PlanningWorkOrderProperties {
|
|
|
9552
9552
|
* @see FieldServiceModule:WorkOrder
|
|
9553
9553
|
*/
|
|
9554
9554
|
export interface PrePullWorkOrderProperties {
|
|
9555
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
9556
|
-
*
|
|
9557
|
-
* @type {TEXT}
|
|
9558
|
-
*/
|
|
9559
|
-
ExternalReference: string;
|
|
9560
9555
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
9561
9556
|
*
|
|
9562
9557
|
* @type {UUID}
|
|
@@ -10258,6 +10253,11 @@ export interface PrePullWorkOrderProperties {
|
|
|
10258
10253
|
* @type {TEXT}
|
|
10259
10254
|
*/
|
|
10260
10255
|
ExternalRefBrskIsp: string;
|
|
10256
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
10257
|
+
*
|
|
10258
|
+
* @type {TEXT}
|
|
10259
|
+
*/
|
|
10260
|
+
ExternalReference: string;
|
|
10261
10261
|
/** ExternalRefBrskFNO
|
|
10262
10262
|
*
|
|
10263
10263
|
* @type {TEXT}
|
|
@@ -10285,11 +10285,6 @@ export interface PrePullWorkOrderProperties {
|
|
|
10285
10285
|
* @see FieldServiceModule:WorkOrder
|
|
10286
10286
|
*/
|
|
10287
10287
|
export interface RemediationWorkOrderProperties {
|
|
10288
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
10289
|
-
*
|
|
10290
|
-
* @type {TEXT}
|
|
10291
|
-
*/
|
|
10292
|
-
ExternalReference: string;
|
|
10293
10288
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
10294
10289
|
*
|
|
10295
10290
|
* @type {UUID}
|
|
@@ -10991,6 +10986,11 @@ export interface RemediationWorkOrderProperties {
|
|
|
10991
10986
|
* @type {TEXT}
|
|
10992
10987
|
*/
|
|
10993
10988
|
ExternalRefBrskIsp: string;
|
|
10989
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
10990
|
+
*
|
|
10991
|
+
* @type {TEXT}
|
|
10992
|
+
*/
|
|
10993
|
+
ExternalReference: string;
|
|
10994
10994
|
/** ExternalRefBrskFNO
|
|
10995
10995
|
*
|
|
10996
10996
|
* @type {TEXT}
|
|
@@ -11018,11 +11018,6 @@ export interface RemediationWorkOrderProperties {
|
|
|
11018
11018
|
* @see FieldServiceModule:WorkOrder
|
|
11019
11019
|
*/
|
|
11020
11020
|
export interface ReplacementAmcoWorkOrderProperties {
|
|
11021
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
11022
|
-
*
|
|
11023
|
-
* @type {TEXT}
|
|
11024
|
-
*/
|
|
11025
|
-
ExternalReference: string;
|
|
11026
11021
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
11027
11022
|
*
|
|
11028
11023
|
* @type {UUID}
|
|
@@ -11724,6 +11719,11 @@ export interface ReplacementAmcoWorkOrderProperties {
|
|
|
11724
11719
|
* @type {TEXT}
|
|
11725
11720
|
*/
|
|
11726
11721
|
ExternalRefBrskIsp: string;
|
|
11722
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
11723
|
+
*
|
|
11724
|
+
* @type {TEXT}
|
|
11725
|
+
*/
|
|
11726
|
+
ExternalReference: string;
|
|
11727
11727
|
/** ExternalRefBrskFNO
|
|
11728
11728
|
*
|
|
11729
11729
|
* @type {TEXT}
|
|
@@ -11751,11 +11751,6 @@ export interface ReplacementAmcoWorkOrderProperties {
|
|
|
11751
11751
|
* @see FieldServiceModule:WorkOrder
|
|
11752
11752
|
*/
|
|
11753
11753
|
export interface ServiceWorkOrderProperties {
|
|
11754
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
11755
|
-
*
|
|
11756
|
-
* @type {TEXT}
|
|
11757
|
-
*/
|
|
11758
|
-
ExternalReference: string;
|
|
11759
11754
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
11760
11755
|
*
|
|
11761
11756
|
* @type {UUID}
|
|
@@ -12457,6 +12452,11 @@ export interface ServiceWorkOrderProperties {
|
|
|
12457
12452
|
* @type {TEXT}
|
|
12458
12453
|
*/
|
|
12459
12454
|
ExternalRefBrskIsp: string;
|
|
12455
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
12456
|
+
*
|
|
12457
|
+
* @type {TEXT}
|
|
12458
|
+
*/
|
|
12459
|
+
ExternalReference: string;
|
|
12460
12460
|
/** ExternalRefBrskFNO
|
|
12461
12461
|
*
|
|
12462
12462
|
* @type {TEXT}
|
|
@@ -12484,11 +12484,6 @@ export interface ServiceWorkOrderProperties {
|
|
|
12484
12484
|
* @see FieldServiceModule:WorkOrder
|
|
12485
12485
|
*/
|
|
12486
12486
|
export interface WayleaveWorkOrderProperties {
|
|
12487
|
-
/** External Reference (Field Operations - WorkOrder)
|
|
12488
|
-
*
|
|
12489
|
-
* @type {TEXT}
|
|
12490
|
-
*/
|
|
12491
|
-
ExternalReference: string;
|
|
12492
12487
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder)
|
|
12493
12488
|
*
|
|
12494
12489
|
* @type {UUID}
|
|
@@ -13190,6 +13185,11 @@ export interface WayleaveWorkOrderProperties {
|
|
|
13190
13185
|
* @type {TEXT}
|
|
13191
13186
|
*/
|
|
13192
13187
|
ExternalRefBrskIsp: string;
|
|
13188
|
+
/** External Reference (Field Operations - WorkOrder)
|
|
13189
|
+
*
|
|
13190
|
+
* @type {TEXT}
|
|
13191
|
+
*/
|
|
13192
|
+
ExternalReference: string;
|
|
13193
13193
|
/** ExternalRefBrskFNO
|
|
13194
13194
|
*
|
|
13195
13195
|
* @type {TEXT}
|
|
@@ -1234,8 +1234,6 @@ var WorkOrderReTriggerReason;
|
|
|
1234
1234
|
*/
|
|
1235
1235
|
var WorkOrderPropertyKeys;
|
|
1236
1236
|
(function (WorkOrderPropertyKeys) {
|
|
1237
|
-
/** External Reference (Field Operations - WorkOrder) */
|
|
1238
|
-
WorkOrderPropertyKeys["ExternalReference"] = "ExternalReference";
|
|
1239
1237
|
/** Replaced WorkOrder Id (Field Operations - WorkOrder) */
|
|
1240
1238
|
WorkOrderPropertyKeys["ReplacedWorkOrderId"] = "ReplacedWorkOrderId";
|
|
1241
1239
|
/** The date of the service appointment */
|
|
@@ -1476,6 +1474,8 @@ var WorkOrderPropertyKeys;
|
|
|
1476
1474
|
WorkOrderPropertyKeys["PendingAmcoOrder"] = "PendingAmcoOrder";
|
|
1477
1475
|
/** ExternalRefBrskISP */
|
|
1478
1476
|
WorkOrderPropertyKeys["ExternalRefBrskIsp"] = "ExternalRefBrskISP";
|
|
1477
|
+
/** External Reference (Field Operations - WorkOrder) */
|
|
1478
|
+
WorkOrderPropertyKeys["ExternalReference"] = "ExternalReference";
|
|
1479
1479
|
/** ExternalRefBrskFNO */
|
|
1480
1480
|
WorkOrderPropertyKeys["ExternalRefBrskFno"] = "ExternalRefBrskFNO";
|
|
1481
1481
|
/** ExternalRefBrskFF */
|
|
@@ -25,7 +25,6 @@ import { RecordLinkManager } from '@d19n/odin-sdk-generator/dist/record-link-man
|
|
|
25
25
|
import { ConversationProperties } from '../entities-v2/Conversation';
|
|
26
26
|
import { CloseConversationProperties } from '../actions-v2/CloseConversationDto';
|
|
27
27
|
import { CreateConversationProperties } from '../actions-v2/CreateConversationDto';
|
|
28
|
-
import { ReopenConversationProperties } from '../actions-v2/ReopenConversationDto';
|
|
29
28
|
import { UpdateConversationProperties } from '../actions-v2/UpdateConversationDto';
|
|
30
29
|
import { UpdateConversationSummaryProperties } from '../actions-v2/UpdateConversationSummaryDto';
|
|
31
30
|
import { MessageRecord } from './MessageRecord';
|
|
@@ -269,32 +268,6 @@ export declare class ConversationRecord<TProps = ConversationProperties> {
|
|
|
269
268
|
journeyId?: string;
|
|
270
269
|
stageKey?: string;
|
|
271
270
|
}): ActionBuilder;
|
|
272
|
-
/**
|
|
273
|
-
* ReopenConversation
|
|
274
|
-
*
|
|
275
|
-
* Updates this Conversation record with the specified properties.
|
|
276
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
277
|
-
*
|
|
278
|
-
* @param properties - Required properties for this action
|
|
279
|
-
* @param options - Optional settings
|
|
280
|
-
* @param options.journeyId - Associate with a journey
|
|
281
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
282
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
283
|
-
* @throws Error if called on a new (unsaved) record
|
|
284
|
-
*
|
|
285
|
-
* @example
|
|
286
|
-
* ```typescript
|
|
287
|
-
* const record = await odinClient.conversations.get(id);
|
|
288
|
-
* await record.reopenConversation({ ... }).execute();
|
|
289
|
-
*
|
|
290
|
-
* // Dry run (for debugging)
|
|
291
|
-
* const payload = record.reopenConversation({ ... }).dryRun();
|
|
292
|
-
* ```
|
|
293
|
-
*/
|
|
294
|
-
reopenConversation(properties: ReopenConversationProperties, options?: {
|
|
295
|
-
journeyId?: string;
|
|
296
|
-
stageKey?: string;
|
|
297
|
-
}): ActionBuilder;
|
|
298
271
|
/**
|
|
299
272
|
* UpdateConversation
|
|
300
273
|
*
|
|
@@ -360,35 +360,6 @@ class ConversationRecord {
|
|
|
360
360
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'CloseConversation', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
361
361
|
return new ActionBuilder(this._provider, 'NotificationModule', 'Conversation', payload, () => { this._pendingLinks = []; });
|
|
362
362
|
}
|
|
363
|
-
/**
|
|
364
|
-
* ReopenConversation
|
|
365
|
-
*
|
|
366
|
-
* Updates this Conversation record with the specified properties.
|
|
367
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
368
|
-
*
|
|
369
|
-
* @param properties - Required properties for this action
|
|
370
|
-
* @param options - Optional settings
|
|
371
|
-
* @param options.journeyId - Associate with a journey
|
|
372
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
373
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
374
|
-
* @throws Error if called on a new (unsaved) record
|
|
375
|
-
*
|
|
376
|
-
* @example
|
|
377
|
-
* ```typescript
|
|
378
|
-
* const record = await odinClient.conversations.get(id);
|
|
379
|
-
* await record.reopenConversation({ ... }).execute();
|
|
380
|
-
*
|
|
381
|
-
* // Dry run (for debugging)
|
|
382
|
-
* const payload = record.reopenConversation({ ... }).dryRun();
|
|
383
|
-
* ```
|
|
384
|
-
*/
|
|
385
|
-
reopenConversation(properties, options) {
|
|
386
|
-
var _a;
|
|
387
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
388
|
-
throw new Error('reopenConversation requires an existing record. Use accessor.get() first.');
|
|
389
|
-
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'ReopenConversation', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
390
|
-
return new ActionBuilder(this._provider, 'NotificationModule', 'Conversation', payload, () => { this._pendingLinks = []; });
|
|
391
|
-
}
|
|
392
363
|
/**
|
|
393
364
|
* UpdateConversation
|
|
394
365
|
*
|
package/package.json
CHANGED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ReopenConversation Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Action for reopening a conversation
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity Conversation
|
|
8
|
-
* @entityType DEFAULT
|
|
9
|
-
* @actionKey ReopenConversation
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Conversation.Update.ReopenConversation
|
|
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 ReopenConversation updated events
|
|
17
|
-
*
|
|
18
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Conversation.Update.ReopenConversation
|
|
19
|
-
*/
|
|
20
|
-
export interface ReopenConversationMessage extends OdinRecordUpdatedEvent<ReopenConversationDto, ReopenConversationProperties> {
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Properties for ReopenConversation action
|
|
24
|
-
*
|
|
25
|
-
* @property Required fields: 3
|
|
26
|
-
* @property Optional fields: 0
|
|
27
|
-
*/
|
|
28
|
-
export interface ReopenConversationProperties {
|
|
29
|
-
/**
|
|
30
|
-
* ClosedAt
|
|
31
|
-
*
|
|
32
|
-
* Data field for Conversation records. Used by Communications team.
|
|
33
|
-
* @type {DATE_TIME}
|
|
34
|
-
* @required
|
|
35
|
-
*/
|
|
36
|
-
ClosedAt: string;
|
|
37
|
-
/**
|
|
38
|
-
* ClosedBy
|
|
39
|
-
*
|
|
40
|
-
* Data field for Conversation records. Used by Communications team.
|
|
41
|
-
* @type {TEXT}
|
|
42
|
-
* @required
|
|
43
|
-
*/
|
|
44
|
-
ClosedBy: string;
|
|
45
|
-
/**
|
|
46
|
-
* Status
|
|
47
|
-
*
|
|
48
|
-
* the status of the conversation (Communications - Conversation)
|
|
49
|
-
* @type {ENUM}
|
|
50
|
-
* @required
|
|
51
|
-
*/
|
|
52
|
-
Status: string;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* ReopenConversation
|
|
56
|
-
*
|
|
57
|
-
* Action for reopening a conversation
|
|
58
|
-
*
|
|
59
|
-
* @actionType UPDATE - Updates an existing Conversation record
|
|
60
|
-
* @module NotificationModule
|
|
61
|
-
* @entity Conversation
|
|
62
|
-
* @entityType DEFAULT (Default)
|
|
63
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Conversation.Update.ReopenConversation
|
|
64
|
-
* @permission schema.action.reopenconversation.trigger
|
|
65
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
66
|
-
*/
|
|
67
|
-
export declare class ReopenConversationDto extends OdinRecordUpdateDto<ReopenConversationProperties> {
|
|
68
|
-
/** Used by SDK generators to identify action type */
|
|
69
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
70
|
-
static readonly ACTION_KEY = "ReopenConversation";
|
|
71
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
72
|
-
static readonly ENTITIES: string[];
|
|
73
|
-
static readonly ENTITY_TYPE = "DEFAULT";
|
|
74
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Conversation.Update.ReopenConversation";
|
|
75
|
-
static readonly PERMISSION = "schema.action.reopenconversation.trigger";
|
|
76
|
-
/** Step metadata - entity this action targets */
|
|
77
|
-
static readonly STEP_ENTITY = "NotificationModule:Conversation";
|
|
78
|
-
static readonly STEP_SCHEMA_ID = "3a96ecbc-cc51-4d68-a4eb-1199737ade3a";
|
|
79
|
-
static readonly STEP_SCHEMA_ACTION_ID = "16d683e5-0ce8-4c73-849f-34506ba0b035";
|
|
80
|
-
static readonly STEP_SCHEMA_TYPE_ID = "20ff9844-8142-42cc-a55f-c3e10fa1d26a";
|
|
81
|
-
static readonly STEP_TYPE = "DEFAULT";
|
|
82
|
-
static readonly AUTO_LINK_PARENT = false;
|
|
83
|
-
readonly actionName: string;
|
|
84
|
-
readonly schemaActionId: string;
|
|
85
|
-
readonly entity: string;
|
|
86
|
-
constructor(record: OdinRecord<any> | {
|
|
87
|
-
id: string;
|
|
88
|
-
entity: string;
|
|
89
|
-
type?: string;
|
|
90
|
-
}, properties: ReopenConversationProperties, options?: {
|
|
91
|
-
journeyId?: string;
|
|
92
|
-
stageKey?: string;
|
|
93
|
-
});
|
|
94
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* ReopenConversation Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Action for reopening a conversation
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity Conversation
|
|
9
|
-
* @entityType DEFAULT
|
|
10
|
-
* @actionKey ReopenConversation
|
|
11
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Conversation.Update.ReopenConversation
|
|
12
|
-
*
|
|
13
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ReopenConversationDto = void 0;
|
|
17
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
-
/**
|
|
19
|
-
* ReopenConversation
|
|
20
|
-
*
|
|
21
|
-
* Action for reopening a conversation
|
|
22
|
-
*
|
|
23
|
-
* @actionType UPDATE - Updates an existing Conversation record
|
|
24
|
-
* @module NotificationModule
|
|
25
|
-
* @entity Conversation
|
|
26
|
-
* @entityType DEFAULT (Default)
|
|
27
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Conversation.Update.ReopenConversation
|
|
28
|
-
* @permission schema.action.reopenconversation.trigger
|
|
29
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
-
*/
|
|
31
|
-
class ReopenConversationDto extends core_1.OdinRecordUpdateDto {
|
|
32
|
-
constructor(record, properties, options) {
|
|
33
|
-
super({
|
|
34
|
-
id: record.id,
|
|
35
|
-
entity: record.entity,
|
|
36
|
-
type: record.type,
|
|
37
|
-
properties,
|
|
38
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
39
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
40
|
-
});
|
|
41
|
-
this.actionName = 'ReopenConversation';
|
|
42
|
-
this.schemaActionId = '16d683e5-0ce8-4c73-849f-34506ba0b035';
|
|
43
|
-
this.entity = 'NotificationModule:Conversation';
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
exports.ReopenConversationDto = ReopenConversationDto;
|
|
47
|
-
/** Used by SDK generators to identify action type */
|
|
48
|
-
ReopenConversationDto.ACTION_TYPE = 'UPDATE';
|
|
49
|
-
ReopenConversationDto.ACTION_KEY = 'ReopenConversation';
|
|
50
|
-
ReopenConversationDto.MODULE_NAME = 'NotificationModule';
|
|
51
|
-
ReopenConversationDto.ENTITIES = ['Conversation'];
|
|
52
|
-
ReopenConversationDto.ENTITY_TYPE = 'DEFAULT';
|
|
53
|
-
ReopenConversationDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Conversation.Update.ReopenConversation';
|
|
54
|
-
ReopenConversationDto.PERMISSION = 'schema.action.reopenconversation.trigger';
|
|
55
|
-
/** Step metadata - entity this action targets */
|
|
56
|
-
ReopenConversationDto.STEP_ENTITY = 'NotificationModule:Conversation';
|
|
57
|
-
ReopenConversationDto.STEP_SCHEMA_ID = '3a96ecbc-cc51-4d68-a4eb-1199737ade3a';
|
|
58
|
-
ReopenConversationDto.STEP_SCHEMA_ACTION_ID = '16d683e5-0ce8-4c73-849f-34506ba0b035';
|
|
59
|
-
ReopenConversationDto.STEP_SCHEMA_TYPE_ID = '20ff9844-8142-42cc-a55f-c3e10fa1d26a';
|
|
60
|
-
ReopenConversationDto.STEP_TYPE = 'DEFAULT';
|
|
61
|
-
ReopenConversationDto.AUTO_LINK_PARENT = false;
|