@d19n/youfibre-odin-sdk 1.0.62 → 1.0.64

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.
Files changed (30) hide show
  1. package/dist/api-sdk-v2/ContactApi.d.ts +15 -15
  2. package/dist/api-sdk-v2/ContactApi.js +15 -15
  3. package/dist/api-sdk-v2/MobileSubscriberApi.d.ts +1 -1
  4. package/dist/api-sdk-v2/MobileSubscriberApi.js +1 -1
  5. package/dist/db-sdk-v2/MobileSubscriberDb.d.ts +1 -1
  6. package/dist/db-sdk-v2/MobileSubscriberDb.js +1 -1
  7. package/dist/entities-v2/BillingAdjustment.d.ts +12 -12
  8. package/dist/entities-v2/BillingAdjustment.js +10 -10
  9. package/dist/entities-v2/MobileSubscriber.d.ts +11 -2
  10. package/dist/entities-v2/MobileSubscriber.js +9 -1
  11. package/dist/entities-v2/MsPendingEvent.d.ts +17 -0
  12. package/dist/entities-v2/MsPendingEvent.js +16 -1
  13. package/dist/entities-v2/OhInstallationAudit.d.ts +32 -32
  14. package/dist/entities-v2/OhInstallationAudit.js +30 -30
  15. package/dist/entities-v2/OntReplacementApproval.d.ts +0 -1
  16. package/dist/entities-v2/OverlayRealA55.d.ts +40 -40
  17. package/dist/entities-v2/OverlayRealA55.js +38 -38
  18. package/dist/types-v1/Types.d.ts +1 -1
  19. package/dist/types-v1/Types.js +1 -1
  20. package/package.json +1 -1
  21. package/src/api-sdk-v2/ContactApi.ts +84 -84
  22. package/src/api-sdk-v2/MobileSubscriberApi.ts +6 -6
  23. package/src/db-sdk-v2/MobileSubscriberDb.ts +7 -7
  24. package/src/entities-v2/BillingAdjustment.ts +16 -16
  25. package/src/entities-v2/MobileSubscriber.ts +13 -2
  26. package/src/entities-v2/MsPendingEvent.ts +21 -0
  27. package/src/entities-v2/OhInstallationAudit.ts +40 -40
  28. package/src/entities-v2/OntReplacementApproval.ts +0 -1
  29. package/src/entities-v2/OverlayRealA55.ts +51 -51
  30. package/src/types-v1/Types.ts +1 -1
@@ -8,32 +8,32 @@ export declare class ContactApi extends ApiProvider {
8
8
  private readonly moduleName;
9
9
  private readonly entityName;
10
10
  private sourceRecord;
11
- readonly organization__contact: ApiRecordLinkManager;
12
- readonly billingcontact: ApiRecordLinkManager;
13
- readonly workorder__contact: ApiRecordLinkManager;
14
- readonly order__contact: ApiRecordLinkManager;
15
- readonly lead__contact: ApiRecordLinkManager;
16
- readonly invoice__contact: ApiRecordLinkManager;
17
- readonly commission__contact: ApiRecordLinkManager;
18
- readonly contact__contact: ApiRecordLinkManager;
19
- readonly onetouchswitch__contact: ApiRecordLinkManager;
20
- readonly deactivationapproval__contact: ApiRecordLinkManager;
21
- readonly orderremediationtask__contact: ApiRecordLinkManager;
22
- readonly call__contact: ApiRecordLinkManager;
23
- readonly fingerprint__contact: ApiRecordLinkManager;
24
- readonly case__contact: ApiRecordLinkManager;
25
- readonly email_contact: ApiRecordLinkManager;
11
+ readonly organization: ApiRecordLinkManager;
12
+ readonly account: ApiRecordLinkManager;
26
13
  readonly activity: ApiRecordLinkManager;
27
14
  readonly note: ApiRecordLinkManager;
15
+ readonly workorder: ApiRecordLinkManager;
16
+ readonly order: ApiRecordLinkManager;
17
+ readonly lead: ApiRecordLinkManager;
28
18
  readonly address: ApiRecordLinkManager;
29
19
  readonly smsmessage: ApiRecordLinkManager;
20
+ readonly invoice: ApiRecordLinkManager;
30
21
  readonly billingrequest: ApiRecordLinkManager;
31
22
  readonly file: ApiRecordLinkManager;
23
+ readonly commission: ApiRecordLinkManager;
24
+ readonly contact: ApiRecordLinkManager;
25
+ readonly onetouchswitch: ApiRecordLinkManager;
32
26
  readonly contactidentity: ApiRecordLinkManager;
33
27
  readonly paymentmethodrefund: ApiRecordLinkManager;
28
+ readonly deactivationapproval: ApiRecordLinkManager;
34
29
  readonly phonenumber: ApiRecordLinkManager;
30
+ readonly orderremediationtask: ApiRecordLinkManager;
35
31
  readonly appointment: ApiRecordLinkManager;
32
+ readonly call: ApiRecordLinkManager;
33
+ readonly fingerprint: ApiRecordLinkManager;
36
34
  readonly paymentmethod: ApiRecordLinkManager;
35
+ readonly case: ApiRecordLinkManager;
36
+ readonly email: ApiRecordLinkManager;
37
37
  constructor(authParams?: OauthParams, authToken?: string);
38
38
  setRecord(sourceRecord: any): void;
39
39
  schema(): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinSchema>;
@@ -18,32 +18,32 @@ class ContactApi extends api_provider_1.ApiProvider {
18
18
  this.authToken = authToken;
19
19
  this.moduleName = 'CrmModule';
20
20
  this.entityName = 'Contact';
21
- this.organization__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Organization__Contact');
22
- this.billingcontact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'BillingContact');
23
- this.workorder__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'WorkOrder__Contact');
24
- this.order__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Order__Contact');
25
- this.lead__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Lead__Contact');
26
- this.invoice__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Invoice__Contact');
27
- this.commission__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Commission__Contact');
28
- this.contact__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Contact__Contact');
29
- this.onetouchswitch__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'OneTouchSwitch__Contact');
30
- this.deactivationapproval__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'DeactivationApproval__Contact');
31
- this.orderremediationtask__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'OrderRemediationTask__Contact');
32
- this.call__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Call__Contact');
33
- this.fingerprint__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Fingerprint__Contact');
34
- this.case__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Case__Contact');
35
- this.email_contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Email_Contact');
21
+ this.organization = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Organization', 'Organization__Contact');
22
+ this.account = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Account', 'BillingContact');
36
23
  this.activity = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'SchemaModule:Activity', 'Contact__Activity');
37
24
  this.note = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'SupportModule:Note', 'Contact__Note');
25
+ this.workorder = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'FieldServiceModule:WorkOrder', 'WorkOrder__Contact');
26
+ this.order = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'OrderModule:Order', 'Order__Contact');
27
+ this.lead = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Lead', 'Lead__Contact');
38
28
  this.address = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Address', 'Contact__Address');
39
29
  this.smsmessage = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'NotificationModule:SmsMessage', 'Contact__SmsMessage');
30
+ this.invoice = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'BillingModule:Invoice', 'Invoice__Contact');
40
31
  this.billingrequest = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'BillingModule:BillingRequest', 'Contact__BillingRequest');
41
32
  this.file = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'SchemaModule:File', 'Contact__File');
33
+ this.commission = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'BillingModule:Commission', 'Commission__Contact');
34
+ this.contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Contact__Contact');
35
+ this.onetouchswitch = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'OrderModule:OneTouchSwitch', 'OneTouchSwitch__Contact');
42
36
  this.contactidentity = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:ContactIdentity', 'Contact__ContactIdentity');
43
37
  this.paymentmethodrefund = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'BillingModule:PaymentMethodRefund', 'Contact__PaymentMethodRefund');
38
+ this.deactivationapproval = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'OrderModule:DeactivationApproval', 'DeactivationApproval__Contact');
44
39
  this.phonenumber = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:PhoneNumber', 'Contact__PhoneNumber');
40
+ this.orderremediationtask = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'OrderModule:OrderRemediationTask', 'OrderRemediationTask__Contact');
45
41
  this.appointment = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Appointment', 'Contact__Appointment');
42
+ this.call = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'NotificationModule:Call', 'Call__Contact');
43
+ this.fingerprint = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Fingerprint', 'Fingerprint__Contact');
46
44
  this.paymentmethod = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'BillingModule:PaymentMethod', 'Contact__PaymentMethod');
45
+ this.case = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'SupportModule:Case', 'Case__Contact');
46
+ this.email = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'NotificationModule:Email', 'Email_Contact');
47
47
  }
48
48
  setRecord(sourceRecord) {
49
49
  this.sourceRecord = sourceRecord;
@@ -8,8 +8,8 @@ export declare class MobileSubscriberApi extends ApiProvider {
8
8
  private readonly moduleName;
9
9
  private readonly entityName;
10
10
  private sourceRecord;
11
- readonly mspendingevent: ApiRecordLinkManager;
12
11
  readonly mobileconfiguration: ApiRecordLinkManager;
12
+ readonly mspendingevent: ApiRecordLinkManager;
13
13
  constructor(authParams?: OauthParams, authToken?: string);
14
14
  setRecord(sourceRecord: any): void;
15
15
  schema(): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinSchema>;
@@ -18,8 +18,8 @@ class MobileSubscriberApi extends api_provider_1.ApiProvider {
18
18
  this.authToken = authToken;
19
19
  this.moduleName = 'ServiceModule';
20
20
  this.entityName = 'MobileSubscriber';
21
- this.mspendingevent = new api_record_link_manager_1.ApiRecordLinkManager('ServiceModule:MobileSubscriber', 'ServiceModule:MsPendingEvent', 'MobileSubscriber__MsPendingEvent');
22
21
  this.mobileconfiguration = new api_record_link_manager_1.ApiRecordLinkManager('ServiceModule:MobileSubscriber', 'ServiceModule:MobileConfiguration', 'MobileConfiguration__MobileSubscriber');
22
+ this.mspendingevent = new api_record_link_manager_1.ApiRecordLinkManager('ServiceModule:MobileSubscriber', 'ServiceModule:MsPendingEvent', 'MobileSubscriber__MsPendingEvent');
23
23
  }
24
24
  setRecord(sourceRecord) {
25
25
  this.sourceRecord = sourceRecord;
@@ -8,8 +8,8 @@ export declare class MobileSubscriberDb extends DbProvider {
8
8
  private readonly moduleName;
9
9
  private readonly entityName;
10
10
  private sourceRecord;
11
- readonly mspendingevent: DbRecordLinkManager;
12
11
  readonly mobileconfiguration: DbRecordLinkManager;
12
+ readonly mspendingevent: DbRecordLinkManager;
13
13
  constructor(principal: any, dbService: any);
14
14
  setRecord(sourceRecord: any): void;
15
15
  searchRecords(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/db.interfaces").OdinSearchResponse<any>>;
@@ -19,8 +19,8 @@ class MobileSubscriberDb extends db_provider_1.DbProvider {
19
19
  this.entityName = 'MobileSubscriber';
20
20
  this.principal = principal;
21
21
  this.dbService = dbService;
22
- this.mspendingevent = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ServiceModule:MobileSubscriber', 'ServiceModule:MsPendingEvent', 'MobileSubscriber__MsPendingEvent');
23
22
  this.mobileconfiguration = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ServiceModule:MobileSubscriber', 'ServiceModule:MobileConfiguration', 'MobileConfiguration__MobileSubscriber');
23
+ this.mspendingevent = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ServiceModule:MobileSubscriber', 'ServiceModule:MsPendingEvent', 'MobileSubscriber__MsPendingEvent');
24
24
  }
25
25
  setRecord(sourceRecord) {
26
26
  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() {
@@ -1,13 +1,22 @@
1
1
  import { OdinPipelineStage, OdinGroup, OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/types/odin.types';
2
2
  import { OdinRecordCreateDto, OdinRecordUpdateDto } from '@d19n/odin-types/dist/dtos/odin.dtos';
3
- import { MsPendingEventProperties } from './MsPendingEvent';
4
3
  import { MobileConfigurationProperties } from './MobileConfiguration';
4
+ import { MsPendingEventProperties } from './MsPendingEvent';
5
5
  export declare enum MobileSubscriberEntityTypes {
6
6
  DEFAULT = "DEFAULT"
7
7
  }
8
+ export declare enum MobileSubscriberStatus {
9
+ ACTIVE = "ACTIVE",
10
+ PENDING_ACTIVATION = "PENDING_ACTIVATION",
11
+ SUSPENDED = "SUSPENDED"
12
+ }
8
13
  export declare enum MobileSubscriberPropertyKeys {
14
+ Status = "Status",
15
+ AccountNumber = "AccountNumber"
9
16
  }
10
17
  export interface MobileSubscriberProperties {
18
+ Status?: MobileSubscriberStatus;
19
+ AccountNumber?: string;
11
20
  }
12
21
  export interface MobileSubscriber {
13
22
  id: string;
@@ -41,8 +50,8 @@ export interface MobileSubscriber {
41
50
  entity: string;
42
51
  };
43
52
  properties: MobileSubscriberProperties;
44
- MsPendingEvent: OdinLink<LinkedOdinRecord<MsPendingEventProperties>>;
45
53
  MobileConfiguration: OdinLink<LinkedOdinRecord<MobileConfigurationProperties>>;
54
+ MsPendingEvent: OdinLink<LinkedOdinRecord<MsPendingEventProperties>>;
46
55
  }
47
56
  export declare class CreateMobileSubscriberDto extends OdinRecordCreateDto<MobileSubscriberProperties> {
48
57
  constructor();
@@ -1,13 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateMobileSubscriberDto = exports.CreateMobileSubscriberDto = exports.MobileSubscriberPropertyKeys = exports.MobileSubscriberEntityTypes = void 0;
3
+ exports.UpdateMobileSubscriberDto = exports.CreateMobileSubscriberDto = exports.MobileSubscriberPropertyKeys = exports.MobileSubscriberStatus = exports.MobileSubscriberEntityTypes = void 0;
4
4
  const odin_dtos_1 = require("@d19n/odin-types/dist/dtos/odin.dtos");
5
5
  var MobileSubscriberEntityTypes;
6
6
  (function (MobileSubscriberEntityTypes) {
7
7
  MobileSubscriberEntityTypes["DEFAULT"] = "DEFAULT";
8
8
  })(MobileSubscriberEntityTypes || (exports.MobileSubscriberEntityTypes = MobileSubscriberEntityTypes = {}));
9
+ var MobileSubscriberStatus;
10
+ (function (MobileSubscriberStatus) {
11
+ MobileSubscriberStatus["ACTIVE"] = "ACTIVE";
12
+ MobileSubscriberStatus["PENDING_ACTIVATION"] = "PENDING_ACTIVATION";
13
+ MobileSubscriberStatus["SUSPENDED"] = "SUSPENDED";
14
+ })(MobileSubscriberStatus || (exports.MobileSubscriberStatus = MobileSubscriberStatus = {}));
9
15
  var MobileSubscriberPropertyKeys;
10
16
  (function (MobileSubscriberPropertyKeys) {
17
+ MobileSubscriberPropertyKeys["Status"] = "Status";
18
+ MobileSubscriberPropertyKeys["AccountNumber"] = "AccountNumber";
11
19
  })(MobileSubscriberPropertyKeys || (exports.MobileSubscriberPropertyKeys = MobileSubscriberPropertyKeys = {}));
12
20
  class CreateMobileSubscriberDto extends odin_dtos_1.OdinRecordCreateDto {
13
21
  constructor() {
@@ -4,9 +4,26 @@ import { MobileSubscriberProperties } from './MobileSubscriber';
4
4
  export declare enum MsPendingEventEntityTypes {
5
5
  DEFAULT = "DEFAULT"
6
6
  }
7
+ export declare enum MsPendingEventStatus {
8
+ COMPLETED = "COMPLETED",
9
+ FAILED = "FAILED",
10
+ PENDING = "PENDING"
11
+ }
12
+ export declare enum MsPendingEventName {
13
+ CREATION_EVENT = "CREATION_EVENT",
14
+ UPDATE_PLAN = "UPDATE_PLAN"
15
+ }
7
16
  export declare enum MsPendingEventPropertyKeys {
17
+ Data = "Data",
18
+ EventId = "EventId",
19
+ Status = "Status",
20
+ Name = "Name"
8
21
  }
9
22
  export interface MsPendingEventProperties {
23
+ Data?: string;
24
+ EventId?: string;
25
+ Status?: MsPendingEventStatus;
26
+ Name?: MsPendingEventName;
10
27
  }
11
28
  export interface MsPendingEvent {
12
29
  id: string;
@@ -1,13 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateMsPendingEventDto = exports.CreateMsPendingEventDto = exports.MsPendingEventPropertyKeys = exports.MsPendingEventEntityTypes = void 0;
3
+ exports.UpdateMsPendingEventDto = exports.CreateMsPendingEventDto = exports.MsPendingEventPropertyKeys = exports.MsPendingEventName = exports.MsPendingEventStatus = exports.MsPendingEventEntityTypes = void 0;
4
4
  const odin_dtos_1 = require("@d19n/odin-types/dist/dtos/odin.dtos");
5
5
  var MsPendingEventEntityTypes;
6
6
  (function (MsPendingEventEntityTypes) {
7
7
  MsPendingEventEntityTypes["DEFAULT"] = "DEFAULT";
8
8
  })(MsPendingEventEntityTypes || (exports.MsPendingEventEntityTypes = MsPendingEventEntityTypes = {}));
9
+ var MsPendingEventStatus;
10
+ (function (MsPendingEventStatus) {
11
+ MsPendingEventStatus["COMPLETED"] = "COMPLETED";
12
+ MsPendingEventStatus["FAILED"] = "FAILED";
13
+ MsPendingEventStatus["PENDING"] = "PENDING";
14
+ })(MsPendingEventStatus || (exports.MsPendingEventStatus = MsPendingEventStatus = {}));
15
+ var MsPendingEventName;
16
+ (function (MsPendingEventName) {
17
+ MsPendingEventName["CREATION_EVENT"] = "CREATION_EVENT";
18
+ MsPendingEventName["UPDATE_PLAN"] = "UPDATE_PLAN";
19
+ })(MsPendingEventName || (exports.MsPendingEventName = MsPendingEventName = {}));
9
20
  var MsPendingEventPropertyKeys;
10
21
  (function (MsPendingEventPropertyKeys) {
22
+ MsPendingEventPropertyKeys["Data"] = "Data";
23
+ MsPendingEventPropertyKeys["EventId"] = "EventId";
24
+ MsPendingEventPropertyKeys["Status"] = "Status";
25
+ MsPendingEventPropertyKeys["Name"] = "Name";
11
26
  })(MsPendingEventPropertyKeys || (exports.MsPendingEventPropertyKeys = MsPendingEventPropertyKeys = {}));
12
27
  class CreateMsPendingEventDto extends odin_dtos_1.OdinRecordCreateDto {
13
28
  constructor() {
@@ -6,6 +6,10 @@ import { WorkOrderProperties } from './WorkOrder';
6
6
  export declare enum OhInstallationAuditEntityTypes {
7
7
  OUTCOME_FORM = "OUTCOME_FORM"
8
8
  }
9
+ export declare enum OhInstallationAuditCableLabeledWithPIANO {
10
+ NO = "NO",
11
+ YES = "YES"
12
+ }
9
13
  export declare enum OhInstallationAuditONTLocationDiscussed {
10
14
  NO = "NO",
11
15
  YES = "YES"
@@ -32,6 +36,10 @@ export declare enum OhInstallationAuditCBTDiffer {
32
36
  NO = "NO",
33
37
  YES = "YES"
34
38
  }
39
+ export declare enum OhInstallationAuditNewDropCable {
40
+ NO = "NO",
41
+ YES = "YES"
42
+ }
35
43
  export declare enum OhInstallationAuditNewDropCableHeight {
36
44
  NO = "NO",
37
45
  YES = "YES"
@@ -40,7 +48,7 @@ export declare enum OhInstallationAuditCableCleated {
40
48
  NO = "NO",
41
49
  YES = "YES"
42
50
  }
43
- export declare enum OhInstallationAuditNewDropCable {
51
+ export declare enum OhInstallationAuditExternalTerminationBoxFitted {
44
52
  NO = "NO",
45
53
  YES = "YES"
46
54
  }
@@ -53,6 +61,10 @@ export declare enum OhInstallationAuditYouMeshBenefit {
53
61
  NO = "NO",
54
62
  YES = "YES"
55
63
  }
64
+ export declare enum OhInstallationAuditYouMeshBenfitDiscussion {
65
+ NO = "NO",
66
+ YES = "YES"
67
+ }
56
68
  export declare enum OhInstallationAuditConnectingAnyDevicesSupport {
57
69
  NO = "NO",
58
70
  YES = "YES"
@@ -89,31 +101,20 @@ export declare enum OhInstallationAuditAgreedToRouting {
89
101
  FALSE = "FALSE",
90
102
  TRUE = "TRUE"
91
103
  }
92
- export declare enum OhInstallationAuditExternalTerminationBoxFitted {
93
- NO = "NO",
94
- YES = "YES"
95
- }
96
- export declare enum OhInstallationAuditYouMeshBenfitDiscussion {
97
- NO = "NO",
98
- YES = "YES"
99
- }
100
- export declare enum OhInstallationAuditCableLabeledWithPIANO {
101
- NO = "NO",
102
- YES = "YES"
103
- }
104
104
  export declare enum OhInstallationAuditPropertyKeys {
105
- Statement2 = "Statement2",
105
+ RedLightTestPhoto = "RedLightTestPhoto",
106
+ CableLabeledWithPiano = "CableLabeledWithPIANO",
106
107
  Statement1 = "Statement1",
107
- OntImage = "ONTImage",
108
108
  OutsideImage = "OutsideImage",
109
+ OntImage = "ONTImage",
109
110
  RouterImage = "RouterImage",
110
111
  NumberOfRooms = "NumberOfRooms",
112
+ Statement2 = "Statement2",
111
113
  PreviousWiFiResults = "PreviousWiFiResults",
112
114
  PreviousWiFiResultsFurthest = "PreviousWiFiResultsFurthest",
113
115
  OntLocationDiscussed = "ONTLocationDiscussed",
114
116
  ReasonsOnt = "ReasonsONT",
115
117
  OntSameLocation = "ONTSameLocation",
116
- LightReadingEvidence = "LightReadingEvidence",
117
118
  ReasonsLocationOnt = "ReasonsLocationONT",
118
119
  RouterLocationDiscussed = "RouterLocationDiscussed",
119
120
  ReasonsRouter = "ReasonsRouter",
@@ -123,26 +124,29 @@ export declare enum OhInstallationAuditPropertyKeys {
123
124
  PoleTest = "PoleTest",
124
125
  CbtDiffer = "CBTDiffer",
125
126
  AuthoriserName = "AuthoriserName",
127
+ NewDropCable = "NewDropCable",
126
128
  NewDropCableHeight = "NewDropCableHeight",
127
129
  CableCleated = "CableCleated",
128
130
  CableCleatedPhoto = "CableCleatedPhoto",
131
+ ExternalTerminationBoxFitted = "ExternalTerminationBoxFitted",
132
+ LightReadingEvidence = "LightReadingEvidence",
129
133
  LightReadingCbt = "LightReadingCBT",
130
134
  SafeDrillingArea = "SafeDrillingArea",
131
135
  WeatherSealedHole = "WeatherSealedHole",
132
- OpticalPowerReading = "OpticalPowerReading",
133
136
  CtuCableManagement = "CTUCableManagement",
134
137
  InternalCableRun = "InternalCableRun",
135
138
  OntWallMounted = "ONTWallMounted",
136
139
  RouterInPosition = "RouterInPosition",
140
+ OpticalPowerReading = "OpticalPowerReading",
137
141
  LightMeterPowerReading = "LightMeterPowerReading",
138
142
  LightLoss = "LightLoss",
139
143
  WiredSpeedTestResult = "WiredSpeedTestResult",
140
- NewDropCable = "NewDropCable",
141
144
  WiFiSpeedResultNextToRouter = "WiFiSpeedResultNextToRouter",
142
145
  WiFiSpeedResultsFurthestPoint = "WiFiSpeedResultsFurthestPoint",
143
146
  YouMeshInstalled = "YouMeshInstalled",
144
147
  YouMeshBenefit = "YouMeshBenefit",
145
148
  YouMeshBenefitReason = "YouMeshBenefitReason",
149
+ YouMeshBenfitDiscussion = "YouMeshBenfitDiscussion",
146
150
  SupportConnectingTvConsoles = "SupportConnectingTvConsoles",
147
151
  ConnectingAnyDevicesSupport = "ConnectingAnyDevicesSupport",
148
152
  DevicesConnected = "DevicesConnected",
@@ -158,25 +162,22 @@ export declare enum OhInstallationAuditPropertyKeys {
158
162
  NetworkNamePasswordGiven = "NetworkNamePasswordGiven",
159
163
  AgreedToRouting = "AgreedToRouting",
160
164
  CustomerSignature = "CustomerSignature",
161
- EngineerSignature = "EngineerSignature",
162
- ExternalTerminationBoxFitted = "ExternalTerminationBoxFitted",
163
- YouMeshBenfitDiscussion = "YouMeshBenfitDiscussion",
164
- RedLightTestPhoto = "RedLightTestPhoto",
165
- CableLabeledWithPiano = "CableLabeledWithPIANO"
165
+ EngineerSignature = "EngineerSignature"
166
166
  }
167
167
  export interface OhInstallationAuditProperties {
168
- Statement2?: string;
168
+ RedLightTestPhoto?: string;
169
+ CableLabeledWithPiano?: OhInstallationAuditCableLabeledWithPIANO;
169
170
  Statement1?: string;
170
- OntImage?: string;
171
171
  OutsideImage?: string;
172
+ OntImage?: string;
172
173
  RouterImage?: string;
173
174
  NumberOfRooms?: number;
175
+ Statement2?: string;
174
176
  PreviousWiFiResults?: string;
175
177
  PreviousWiFiResultsFurthest?: string;
176
178
  OntLocationDiscussed?: OhInstallationAuditONTLocationDiscussed;
177
179
  ReasonsOnt?: string;
178
180
  OntSameLocation?: OhInstallationAuditONTSameLocation;
179
- LightReadingEvidence?: string;
180
181
  ReasonsLocationOnt?: string;
181
182
  RouterLocationDiscussed?: OhInstallationAuditRouterLocationDiscussed;
182
183
  ReasonsRouter?: string;
@@ -186,26 +187,29 @@ export interface OhInstallationAuditProperties {
186
187
  PoleTest?: OhInstallationAuditPoleTest;
187
188
  CbtDiffer?: OhInstallationAuditCBTDiffer;
188
189
  AuthoriserName?: string;
190
+ NewDropCable?: OhInstallationAuditNewDropCable;
189
191
  NewDropCableHeight?: OhInstallationAuditNewDropCableHeight;
190
192
  CableCleated?: OhInstallationAuditCableCleated;
191
193
  CableCleatedPhoto?: string;
194
+ ExternalTerminationBoxFitted?: OhInstallationAuditExternalTerminationBoxFitted;
195
+ LightReadingEvidence?: string;
192
196
  LightReadingCbt?: string;
193
197
  SafeDrillingArea?: string;
194
198
  WeatherSealedHole?: string;
195
- OpticalPowerReading?: string;
196
199
  CtuCableManagement?: string;
197
200
  InternalCableRun?: string;
198
201
  OntWallMounted?: string;
199
202
  RouterInPosition?: string;
203
+ OpticalPowerReading?: string;
200
204
  LightMeterPowerReading?: string;
201
205
  LightLoss?: string;
202
206
  WiredSpeedTestResult?: string;
203
- NewDropCable?: OhInstallationAuditNewDropCable;
204
207
  WiFiSpeedResultNextToRouter?: string;
205
208
  WiFiSpeedResultsFurthestPoint?: string;
206
209
  YouMeshInstalled?: OhInstallationAuditYouMeshInstalled;
207
210
  YouMeshBenefit?: OhInstallationAuditYouMeshBenefit;
208
211
  YouMeshBenefitReason?: string;
212
+ YouMeshBenfitDiscussion?: OhInstallationAuditYouMeshBenfitDiscussion;
209
213
  SupportConnectingTvConsoles?: string;
210
214
  ConnectingAnyDevicesSupport?: OhInstallationAuditConnectingAnyDevicesSupport;
211
215
  DevicesConnected?: string;
@@ -222,10 +226,6 @@ export interface OhInstallationAuditProperties {
222
226
  AgreedToRouting?: OhInstallationAuditAgreedToRouting;
223
227
  CustomerSignature?: string;
224
228
  EngineerSignature?: string;
225
- ExternalTerminationBoxFitted?: OhInstallationAuditExternalTerminationBoxFitted;
226
- YouMeshBenfitDiscussion?: OhInstallationAuditYouMeshBenfitDiscussion;
227
- RedLightTestPhoto?: string;
228
- CableLabeledWithPiano?: OhInstallationAuditCableLabeledWithPIANO;
229
229
  }
230
230
  export interface OhInstallationAudit {
231
231
  id: string;