@d19n/youfibre-odin-sdk 1.0.48 → 1.0.50

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.
@@ -16,14 +16,14 @@ export declare class LeadApi extends ApiProvider {
16
16
  readonly contact: ApiRecordLinkManager;
17
17
  readonly commission: ApiRecordLinkManager;
18
18
  readonly file: ApiRecordLinkManager;
19
- readonly workorder__lead: ApiRecordLinkManager;
20
- readonly crmdataset__lead: ApiRecordLinkManager;
21
- readonly call__lead: ApiRecordLinkManager;
22
- readonly fingerprint__lead: ApiRecordLinkManager;
19
+ readonly workorder: ApiRecordLinkManager;
20
+ readonly crmdataset: ApiRecordLinkManager;
23
21
  readonly visit: ApiRecordLinkManager;
24
22
  readonly appointment: ApiRecordLinkManager;
23
+ readonly call: ApiRecordLinkManager;
25
24
  readonly order: ApiRecordLinkManager;
26
25
  readonly address: ApiRecordLinkManager;
26
+ readonly fingerprint: ApiRecordLinkManager;
27
27
  constructor(authParams?: OauthParams, authToken?: string);
28
28
  setRecord(sourceRecord: any): void;
29
29
  schema(): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinSchema>;
@@ -26,14 +26,14 @@ class LeadApi extends api_provider_1.ApiProvider {
26
26
  this.contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Contact', 'Lead__Contact');
27
27
  this.commission = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'BillingModule:Commission', 'Lead__Commission');
28
28
  this.file = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'SchemaModule:File', 'Lead__File');
29
- this.workorder__lead = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Lead', 'WorkOrder__Lead');
30
- this.crmdataset__lead = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Lead', 'CrmDataset__Lead');
31
- this.call__lead = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Lead', 'Call__Lead');
32
- this.fingerprint__lead = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Lead', 'Fingerprint__Lead');
29
+ this.workorder = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'FieldServiceModule:WorkOrder', 'WorkOrder__Lead');
30
+ this.crmdataset = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:CrmDataset', 'CrmDataset__Lead');
33
31
  this.visit = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Visit', 'Lead__Visit');
34
32
  this.appointment = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Appointment', 'Lead_Appointment');
33
+ this.call = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'NotificationModule:Call', 'Call__Lead');
35
34
  this.order = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'OrderModule:Order', 'Lead_Order');
36
35
  this.address = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Address', 'Lead_Address');
36
+ this.fingerprint = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Fingerprint', 'Fingerprint__Lead');
37
37
  }
38
38
  setRecord(sourceRecord) {
39
39
  this.sourceRecord = sourceRecord;
@@ -7,10 +7,6 @@ import { FileProperties } from './File';
7
7
  export declare enum BillingAdjustmentEntityTypes {
8
8
  DEFAULT = "DEFAULT"
9
9
  }
10
- export declare enum BillingAdjustmentDiscountType {
11
- AMOUNT = "AMOUNT",
12
- PERCENT = "PERCENT"
13
- }
14
10
  export declare enum BillingAdjustmentReason {
15
11
  BILLING_DATE_CHANGE = "BILLING_DATE_CHANGE",
16
12
  BILLING_DAY_ADJUSMENT_LEGACY = "BILLING_DAY_ADJUSTMENT",
@@ -26,21 +22,25 @@ export declare enum BillingAdjustmentReason {
26
22
  RETENTION_DEAL = "RETENTION_DEAL",
27
23
  SALES_MISSELLING_ADJUSTMENT = "SALES_MISSELLING_ADJUSTMENT"
28
24
  }
25
+ export declare enum BillingAdjustmentDiscountType {
26
+ AMOUNT = "AMOUNT",
27
+ PERCENT = "PERCENT"
28
+ }
29
29
  export declare enum BillingAdjustmentPropertyKeys {
30
- Description = "Description",
30
+ FreePeriodLength = "FreePeriodLength",
31
+ Reason = "Reason",
32
+ DiscountValue = "DiscountValue",
31
33
  DiscountLength = "DiscountLength",
32
34
  DiscountType = "DiscountType",
33
- DiscountValue = "DiscountValue",
34
- FreePeriodLength = "FreePeriodLength",
35
- Reason = "Reason"
35
+ Description = "Description"
36
36
  }
37
37
  export interface BillingAdjustmentProperties {
38
- Description: string;
39
- DiscountLength: number;
40
- DiscountType: BillingAdjustmentDiscountType;
41
- DiscountValue: number;
42
38
  FreePeriodLength?: number;
43
39
  Reason: BillingAdjustmentReason;
40
+ DiscountValue: number;
41
+ DiscountLength: number;
42
+ DiscountType: BillingAdjustmentDiscountType;
43
+ Description: string;
44
44
  }
45
45
  export interface BillingAdjustment {
46
46
  id: string;
@@ -1,16 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateBillingAdjustmentDto = exports.CreateBillingAdjustmentDto = exports.BillingAdjustmentPropertyKeys = exports.BillingAdjustmentReason = exports.BillingAdjustmentDiscountType = exports.BillingAdjustmentEntityTypes = void 0;
3
+ exports.UpdateBillingAdjustmentDto = exports.CreateBillingAdjustmentDto = exports.BillingAdjustmentPropertyKeys = exports.BillingAdjustmentDiscountType = exports.BillingAdjustmentReason = exports.BillingAdjustmentEntityTypes = void 0;
4
4
  const odin_dtos_1 = require("@d19n/odin-types/dist/dtos/odin.dtos");
5
5
  var BillingAdjustmentEntityTypes;
6
6
  (function (BillingAdjustmentEntityTypes) {
7
7
  BillingAdjustmentEntityTypes["DEFAULT"] = "DEFAULT";
8
8
  })(BillingAdjustmentEntityTypes || (exports.BillingAdjustmentEntityTypes = BillingAdjustmentEntityTypes = {}));
9
- var BillingAdjustmentDiscountType;
10
- (function (BillingAdjustmentDiscountType) {
11
- BillingAdjustmentDiscountType["AMOUNT"] = "AMOUNT";
12
- BillingAdjustmentDiscountType["PERCENT"] = "PERCENT";
13
- })(BillingAdjustmentDiscountType || (exports.BillingAdjustmentDiscountType = BillingAdjustmentDiscountType = {}));
14
9
  var BillingAdjustmentReason;
15
10
  (function (BillingAdjustmentReason) {
16
11
  BillingAdjustmentReason["BILLING_DATE_CHANGE"] = "BILLING_DATE_CHANGE";
@@ -27,14 +22,19 @@ var BillingAdjustmentReason;
27
22
  BillingAdjustmentReason["RETENTION_DEAL"] = "RETENTION_DEAL";
28
23
  BillingAdjustmentReason["SALES_MISSELLING_ADJUSTMENT"] = "SALES_MISSELLING_ADJUSTMENT";
29
24
  })(BillingAdjustmentReason || (exports.BillingAdjustmentReason = BillingAdjustmentReason = {}));
25
+ var BillingAdjustmentDiscountType;
26
+ (function (BillingAdjustmentDiscountType) {
27
+ BillingAdjustmentDiscountType["AMOUNT"] = "AMOUNT";
28
+ BillingAdjustmentDiscountType["PERCENT"] = "PERCENT";
29
+ })(BillingAdjustmentDiscountType || (exports.BillingAdjustmentDiscountType = BillingAdjustmentDiscountType = {}));
30
30
  var BillingAdjustmentPropertyKeys;
31
31
  (function (BillingAdjustmentPropertyKeys) {
32
- BillingAdjustmentPropertyKeys["Description"] = "Description";
33
- BillingAdjustmentPropertyKeys["DiscountLength"] = "DiscountLength";
34
- BillingAdjustmentPropertyKeys["DiscountType"] = "DiscountType";
35
- BillingAdjustmentPropertyKeys["DiscountValue"] = "DiscountValue";
36
32
  BillingAdjustmentPropertyKeys["FreePeriodLength"] = "FreePeriodLength";
37
33
  BillingAdjustmentPropertyKeys["Reason"] = "Reason";
34
+ BillingAdjustmentPropertyKeys["DiscountValue"] = "DiscountValue";
35
+ BillingAdjustmentPropertyKeys["DiscountLength"] = "DiscountLength";
36
+ BillingAdjustmentPropertyKeys["DiscountType"] = "DiscountType";
37
+ BillingAdjustmentPropertyKeys["Description"] = "Description";
38
38
  })(BillingAdjustmentPropertyKeys || (exports.BillingAdjustmentPropertyKeys = BillingAdjustmentPropertyKeys = {}));
39
39
  class CreateBillingAdjustmentDto extends odin_dtos_1.OdinRecordCreateDto {
40
40
  constructor() {
@@ -27,20 +27,20 @@ export declare enum CreditNoteReason {
27
27
  TARIFF_CHANGE = "TARIFF_CHANGE"
28
28
  }
29
29
  export declare enum CreditNotePropertyKeys {
30
- Status = "Status",
31
30
  Amount = "Amount",
32
31
  Description = "Description",
33
32
  InvoiceRef = "InvoiceRef",
33
+ Reason = "Reason",
34
34
  ReasonCode = "ReasonCode",
35
- Reason = "Reason"
35
+ Status = "Status"
36
36
  }
37
37
  export interface CreditNoteProperties {
38
- Status?: string;
39
38
  Amount: number;
40
39
  Description: string;
41
40
  InvoiceRef?: string;
42
- ReasonCode?: string;
43
41
  Reason: CreditNoteReason;
42
+ ReasonCode?: string;
43
+ Status?: string;
44
44
  }
45
45
  export interface CreditNote {
46
46
  id: string;
@@ -28,12 +28,12 @@ var CreditNoteReason;
28
28
  })(CreditNoteReason || (exports.CreditNoteReason = CreditNoteReason = {}));
29
29
  var CreditNotePropertyKeys;
30
30
  (function (CreditNotePropertyKeys) {
31
- CreditNotePropertyKeys["Status"] = "Status";
32
31
  CreditNotePropertyKeys["Amount"] = "Amount";
33
32
  CreditNotePropertyKeys["Description"] = "Description";
34
33
  CreditNotePropertyKeys["InvoiceRef"] = "InvoiceRef";
35
- CreditNotePropertyKeys["ReasonCode"] = "ReasonCode";
36
34
  CreditNotePropertyKeys["Reason"] = "Reason";
35
+ CreditNotePropertyKeys["ReasonCode"] = "ReasonCode";
36
+ CreditNotePropertyKeys["Status"] = "Status";
37
37
  })(CreditNotePropertyKeys || (exports.CreditNotePropertyKeys = CreditNotePropertyKeys = {}));
38
38
  class CreateCreditNoteDto extends odin_dtos_1.OdinRecordCreateDto {
39
39
  constructor() {
@@ -9,6 +9,7 @@ export declare enum MobileConfigurationStatus {
9
9
  FAILED_ACTIVATION = "FAILED_ACTIVATION",
10
10
  FAILED_DEACTIVATION = "FAILED_DEACTIVATION",
11
11
  FAILED_UPDATE_MSISDN = "FAILED_UPDATE_MSISDN",
12
+ FAILED_UPDATE_SERVICES = "FAILED_UPDATE_SERVICES",
12
13
  FAILED_UPDATE_USIM = "FAILED_UPDATE_USIM",
13
14
  PAIRED = "PAIRED",
14
15
  PENDING_ACTIVATION = "PENDING_ACTIVATION",
@@ -13,6 +13,7 @@ var MobileConfigurationStatus;
13
13
  MobileConfigurationStatus["FAILED_ACTIVATION"] = "FAILED_ACTIVATION";
14
14
  MobileConfigurationStatus["FAILED_DEACTIVATION"] = "FAILED_DEACTIVATION";
15
15
  MobileConfigurationStatus["FAILED_UPDATE_MSISDN"] = "FAILED_UPDATE_MSISDN";
16
+ MobileConfigurationStatus["FAILED_UPDATE_SERVICES"] = "FAILED_UPDATE_SERVICES";
16
17
  MobileConfigurationStatus["FAILED_UPDATE_USIM"] = "FAILED_UPDATE_USIM";
17
18
  MobileConfigurationStatus["PAIRED"] = "PAIRED";
18
19
  MobileConfigurationStatus["PENDING_ACTIVATION"] = "PENDING_ACTIVATION";
@@ -257,6 +257,7 @@ export interface Order {
257
257
  entity: string;
258
258
  };
259
259
  properties: OrderProperties;
260
+ Order: OdinLink<LinkedOdinRecord<OrderProperties>>;
260
261
  ReturnOrder: OdinLink<LinkedOdinRecord<ReturnOrderProperties>>;
261
262
  Address: OdinLink<LinkedOdinRecord<AddressProperties>>;
262
263
  Note: OdinLink<LinkedOdinRecord<NoteProperties>>;
@@ -270,7 +271,6 @@ export interface Order {
270
271
  Commission: OdinLink<LinkedOdinRecord<CommissionProperties>>;
271
272
  File: OdinLink<LinkedOdinRecord<FileProperties>>;
272
273
  Activity: OdinLink<LinkedOdinRecord<ActivityProperties>>;
273
- Order: OdinLink<LinkedOdinRecord<OrderProperties>>;
274
274
  PICRequest: OdinLink<LinkedOdinRecord<PICRequestProperties>>;
275
275
  SmsMessage: OdinLink<LinkedOdinRecord<SmsMessageProperties>>;
276
276
  PaymentMethodRefund: OdinLink<LinkedOdinRecord<PaymentMethodRefundProperties>>;
@@ -100,12 +100,12 @@ export declare enum OdinEntities {
100
100
  VENDOR = "ProductModule:Vendor",
101
101
  BILLING_REQUEST = "BillingModule:BillingRequest",
102
102
  CREDIT_NOTE = "BillingModule:CreditNote",
103
+ MOBILE_CONFIGURATION = "ServiceModule:MobileConfiguration",
103
104
  ORDER_ITEM = "OrderModule:OrderItem",
104
105
  NETWORK_DEVICE = "ServiceModule:NetworkDevice",
105
106
  CUSTOMER_DEVICE_ROUTER = "ServiceModule:CustomerDeviceRouter",
106
107
  ONE_TOUCH_SWITCH = "OrderModule:OneTouchSwitch",
107
108
  YF_STOCK_COUNT = "FieldServiceModule:YfStockCount",
108
- MOBILE_CONFIGURATION = "ServiceModule:MobileConfiguration",
109
109
  EMAIL = "NotificationModule:Email",
110
110
  QUEUE = "SupportModule:Queue",
111
111
  SERVICE_VISIT_AUDIT = "FieldServiceModule:ServiceVisitAudit",
@@ -104,12 +104,12 @@ var OdinEntities;
104
104
  OdinEntities["VENDOR"] = "ProductModule:Vendor";
105
105
  OdinEntities["BILLING_REQUEST"] = "BillingModule:BillingRequest";
106
106
  OdinEntities["CREDIT_NOTE"] = "BillingModule:CreditNote";
107
+ OdinEntities["MOBILE_CONFIGURATION"] = "ServiceModule:MobileConfiguration";
107
108
  OdinEntities["ORDER_ITEM"] = "OrderModule:OrderItem";
108
109
  OdinEntities["NETWORK_DEVICE"] = "ServiceModule:NetworkDevice";
109
110
  OdinEntities["CUSTOMER_DEVICE_ROUTER"] = "ServiceModule:CustomerDeviceRouter";
110
111
  OdinEntities["ONE_TOUCH_SWITCH"] = "OrderModule:OneTouchSwitch";
111
112
  OdinEntities["YF_STOCK_COUNT"] = "FieldServiceModule:YfStockCount";
112
- OdinEntities["MOBILE_CONFIGURATION"] = "ServiceModule:MobileConfiguration";
113
113
  OdinEntities["EMAIL"] = "NotificationModule:Email";
114
114
  OdinEntities["QUEUE"] = "SupportModule:Queue";
115
115
  OdinEntities["SERVICE_VISIT_AUDIT"] = "FieldServiceModule:ServiceVisitAudit";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",
@@ -20,14 +20,14 @@
20
20
  public readonly contact: ApiRecordLinkManager;
21
21
  public readonly commission: ApiRecordLinkManager;
22
22
  public readonly file: ApiRecordLinkManager;
23
- public readonly workorder__lead: ApiRecordLinkManager;
24
- public readonly crmdataset__lead: ApiRecordLinkManager;
25
- public readonly call__lead: ApiRecordLinkManager;
26
- public readonly fingerprint__lead: ApiRecordLinkManager;
23
+ public readonly workorder: ApiRecordLinkManager;
24
+ public readonly crmdataset: ApiRecordLinkManager;
27
25
  public readonly visit: ApiRecordLinkManager;
28
26
  public readonly appointment: ApiRecordLinkManager;
27
+ public readonly call: ApiRecordLinkManager;
29
28
  public readonly order: ApiRecordLinkManager;
30
29
  public readonly address: ApiRecordLinkManager;
30
+ public readonly fingerprint: ApiRecordLinkManager;
31
31
  constructor(authParams?: OauthParams, protected readonly authToken?: string) {
32
32
  super(authParams, authToken);
33
33
 
@@ -71,26 +71,16 @@
71
71
  'SchemaModule:File',
72
72
  'Lead__File'
73
73
  );
74
- this.workorder__lead = new ApiRecordLinkManager(
74
+ this.workorder = new ApiRecordLinkManager(
75
75
  'CrmModule:Lead',
76
- 'CrmModule:Lead',
76
+ 'FieldServiceModule:WorkOrder',
77
77
  'WorkOrder__Lead'
78
78
  );
79
- this.crmdataset__lead = new ApiRecordLinkManager(
79
+ this.crmdataset = new ApiRecordLinkManager(
80
80
  'CrmModule:Lead',
81
- 'CrmModule:Lead',
81
+ 'CrmModule:CrmDataset',
82
82
  'CrmDataset__Lead'
83
83
  );
84
- this.call__lead = new ApiRecordLinkManager(
85
- 'CrmModule:Lead',
86
- 'CrmModule:Lead',
87
- 'Call__Lead'
88
- );
89
- this.fingerprint__lead = new ApiRecordLinkManager(
90
- 'CrmModule:Lead',
91
- 'CrmModule:Lead',
92
- 'Fingerprint__Lead'
93
- );
94
84
  this.visit = new ApiRecordLinkManager(
95
85
  'CrmModule:Lead',
96
86
  'CrmModule:Visit',
@@ -101,6 +91,11 @@
101
91
  'CrmModule:Appointment',
102
92
  'Lead_Appointment'
103
93
  );
94
+ this.call = new ApiRecordLinkManager(
95
+ 'CrmModule:Lead',
96
+ 'NotificationModule:Call',
97
+ 'Call__Lead'
98
+ );
104
99
  this.order = new ApiRecordLinkManager(
105
100
  'CrmModule:Lead',
106
101
  'OrderModule:Order',
@@ -111,6 +106,11 @@
111
106
  'CrmModule:Address',
112
107
  'Lead_Address'
113
108
  );
109
+ this.fingerprint = new ApiRecordLinkManager(
110
+ 'CrmModule:Lead',
111
+ 'CrmModule:Fingerprint',
112
+ 'Fingerprint__Lead'
113
+ );
114
114
  }
115
115
 
116
116
 
@@ -11,10 +11,6 @@ export enum BillingAdjustmentEntityTypes {
11
11
  DEFAULT = 'DEFAULT',
12
12
  }
13
13
 
14
- export enum BillingAdjustmentDiscountType {
15
- AMOUNT = 'AMOUNT',
16
- PERCENT = 'PERCENT',
17
- }
18
14
  export enum BillingAdjustmentReason {
19
15
  BILLING_DATE_CHANGE = 'BILLING_DATE_CHANGE',
20
16
  BILLING_DAY_ADJUSMENT_LEGACY = 'BILLING_DAY_ADJUSTMENT',
@@ -30,28 +26,32 @@ export enum BillingAdjustmentReason {
30
26
  RETENTION_DEAL = 'RETENTION_DEAL',
31
27
  SALES_MISSELLING_ADJUSTMENT = 'SALES_MISSELLING_ADJUSTMENT',
32
28
  }
29
+ export enum BillingAdjustmentDiscountType {
30
+ AMOUNT = 'AMOUNT',
31
+ PERCENT = 'PERCENT',
32
+ }
33
33
 
34
34
  export enum BillingAdjustmentPropertyKeys {
35
- Description = 'Description',
36
- DiscountLength = 'DiscountLength',
37
- DiscountType = 'DiscountType',
38
- DiscountValue = 'DiscountValue',
39
35
  FreePeriodLength = 'FreePeriodLength',
40
36
  Reason = 'Reason',
37
+ DiscountValue = 'DiscountValue',
38
+ DiscountLength = 'DiscountLength',
39
+ DiscountType = 'DiscountType',
40
+ Description = 'Description',
41
41
  }
42
42
  export interface BillingAdjustmentProperties {
43
- //Describe why this billing adjustment being applied
44
- Description: string
45
- //the length of the discount
46
- DiscountLength: number
47
- //the type of discount
48
- DiscountType: BillingAdjustmentDiscountType
49
- //the value of the discount to be applied
50
- DiscountValue: number
51
43
  //The number of future invoices that should be free of charge
52
44
  FreePeriodLength?: number
53
45
  //the billing adjustment reason
54
46
  Reason: BillingAdjustmentReason
47
+ //the value of the discount to be applied
48
+ DiscountValue: number
49
+ //the length of the discount
50
+ DiscountLength: number
51
+ //the type of discount
52
+ DiscountType: BillingAdjustmentDiscountType
53
+ //Describe why this billing adjustment being applied
54
+ Description: string
55
55
  }
56
56
  export interface BillingAdjustment {
57
57
  id: string
@@ -32,26 +32,26 @@ export enum CreditNoteReason {
32
32
  }
33
33
 
34
34
  export enum CreditNotePropertyKeys {
35
- Status = 'Status',
36
35
  Amount = 'Amount',
37
36
  Description = 'Description',
38
37
  InvoiceRef = 'InvoiceRef',
39
- ReasonCode = 'ReasonCode',
40
38
  Reason = 'Reason',
39
+ ReasonCode = 'ReasonCode',
40
+ Status = 'Status',
41
41
  }
42
42
  export interface CreditNoteProperties {
43
- //credit note status
44
- Status?: string
45
43
  //amount of the credit note
46
44
  Amount: number
47
45
  //description of the credit note
48
46
  Description: string
49
47
  //the record # of the invoice
50
48
  InvoiceRef?: string
51
- //reason code
52
- ReasonCode?: string
53
49
  //credit note reason
54
50
  Reason: CreditNoteReason
51
+ //reason code
52
+ ReasonCode?: string
53
+ //credit note status
54
+ Status?: string
55
55
  }
56
56
  export interface CreditNote {
57
57
  id: string
@@ -13,6 +13,7 @@ export enum MobileConfigurationStatus {
13
13
  FAILED_ACTIVATION = 'FAILED_ACTIVATION',
14
14
  FAILED_DEACTIVATION = 'FAILED_DEACTIVATION',
15
15
  FAILED_UPDATE_MSISDN = 'FAILED_UPDATE_MSISDN',
16
+ FAILED_UPDATE_SERVICES = 'FAILED_UPDATE_SERVICES',
16
17
  FAILED_UPDATE_USIM = 'FAILED_UPDATE_USIM',
17
18
  PAIRED = 'PAIRED',
18
19
  PENDING_ACTIVATION = 'PENDING_ACTIVATION',
@@ -324,6 +324,7 @@ export enum OrderPropertyKeys {
324
324
  isLocked: boolean
325
325
  links: {id: string, title: string[], entity: string}
326
326
  properties: OrderProperties,
327
+ Order: OdinLink<LinkedOdinRecord<OrderProperties>>,
327
328
  ReturnOrder: OdinLink<LinkedOdinRecord<ReturnOrderProperties>>,
328
329
  Address: OdinLink<LinkedOdinRecord<AddressProperties>>,
329
330
  Note: OdinLink<LinkedOdinRecord<NoteProperties>>,
@@ -337,7 +338,6 @@ export enum OrderPropertyKeys {
337
338
  Commission: OdinLink<LinkedOdinRecord<CommissionProperties>>,
338
339
  File: OdinLink<LinkedOdinRecord<FileProperties>>,
339
340
  Activity: OdinLink<LinkedOdinRecord<ActivityProperties>>,
340
- Order: OdinLink<LinkedOdinRecord<OrderProperties>>,
341
341
  PICRequest: OdinLink<LinkedOdinRecord<PICRequestProperties>>,
342
342
  SmsMessage: OdinLink<LinkedOdinRecord<SmsMessageProperties>>,
343
343
  PaymentMethodRefund: OdinLink<LinkedOdinRecord<PaymentMethodRefundProperties>>,
@@ -102,12 +102,12 @@ export enum OdinEntities {
102
102
  VENDOR = 'ProductModule:Vendor',
103
103
  BILLING_REQUEST = 'BillingModule:BillingRequest',
104
104
  CREDIT_NOTE = 'BillingModule:CreditNote',
105
+ MOBILE_CONFIGURATION = 'ServiceModule:MobileConfiguration',
105
106
  ORDER_ITEM = 'OrderModule:OrderItem',
106
107
  NETWORK_DEVICE = 'ServiceModule:NetworkDevice',
107
108
  CUSTOMER_DEVICE_ROUTER = 'ServiceModule:CustomerDeviceRouter',
108
109
  ONE_TOUCH_SWITCH = 'OrderModule:OneTouchSwitch',
109
110
  YF_STOCK_COUNT = 'FieldServiceModule:YfStockCount',
110
- MOBILE_CONFIGURATION = 'ServiceModule:MobileConfiguration',
111
111
  EMAIL = 'NotificationModule:Email',
112
112
  QUEUE = 'SupportModule:Queue',
113
113
  SERVICE_VISIT_AUDIT = 'FieldServiceModule:ServiceVisitAudit',