@d19n/youfibre-odin-sdk 2.0.266 → 2.0.270

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 (61) hide show
  1. package/README.md +9 -2
  2. package/dist/actions-v2/InvoiceUpdateDto.d.ts +9 -1
  3. package/dist/actions-v2/PauseCallRecordingDto.d.ts +73 -0
  4. package/dist/actions-v2/PauseCallRecordingDto.js +56 -0
  5. package/dist/actions-v2/ResumeCallRecordingDto.d.ts +73 -0
  6. package/dist/actions-v2/ResumeCallRecordingDto.js +56 -0
  7. package/dist/actions-v2/UpdateAdditionalCareDto.d.ts +12 -10
  8. package/dist/actions-v2/UpdateCallS3RecordingUrlsDto.d.ts +80 -0
  9. package/dist/actions-v2/UpdateCallS3RecordingUrlsDto.js +56 -0
  10. package/dist/actions-v2/UpdateCampaignCallExternalIdDto.d.ts +73 -0
  11. package/dist/actions-v2/UpdateCampaignCallExternalIdDto.js +56 -0
  12. package/dist/actions-v2/UpdateCaseFromLinkedCallDto.d.ts +79 -0
  13. package/dist/actions-v2/UpdateCaseFromLinkedCallDto.js +56 -0
  14. package/dist/actions-v2/UpdateContactDto.d.ts +8 -1
  15. package/dist/actions-v2/VisitCreateSalesAppDto.d.ts +67 -0
  16. package/dist/actions-v2/VisitCreateSalesAppDto.js +54 -0
  17. package/dist/api-sdk-v2/AddressApi.d.ts +2 -2
  18. package/dist/api-sdk-v2/AddressApi.js +6 -6
  19. package/dist/api-sdk-v2/ContactApi.d.ts +4 -4
  20. package/dist/api-sdk-v2/ContactApi.js +12 -12
  21. package/dist/api-sdk-v2/FileApi.d.ts +2 -0
  22. package/dist/api-sdk-v2/FileApi.js +6 -0
  23. package/dist/api-sdk-v2/WorkOrderApi.d.ts +2 -0
  24. package/dist/api-sdk-v2/WorkOrderApi.js +6 -0
  25. package/dist/api-sdk-v2/YfWifiSurveyApi.d.ts +50 -0
  26. package/dist/api-sdk-v2/YfWifiSurveyApi.js +161 -0
  27. package/dist/db-sdk-v2/AddressDb.d.ts +2 -2
  28. package/dist/db-sdk-v2/AddressDb.js +6 -6
  29. package/dist/db-sdk-v2/ContactDb.d.ts +4 -4
  30. package/dist/db-sdk-v2/ContactDb.js +12 -12
  31. package/dist/db-sdk-v2/FileDb.d.ts +2 -0
  32. package/dist/db-sdk-v2/FileDb.js +6 -0
  33. package/dist/db-sdk-v2/WorkOrderDb.d.ts +2 -0
  34. package/dist/db-sdk-v2/WorkOrderDb.js +6 -0
  35. package/dist/db-sdk-v2/YfWifiSurveyDb.d.ts +122 -0
  36. package/dist/db-sdk-v2/YfWifiSurveyDb.js +210 -0
  37. package/dist/entities-v2/Address.d.ts +3 -3
  38. package/dist/entities-v2/Contact.d.ts +52 -46
  39. package/dist/entities-v2/Contact.js +26 -26
  40. package/dist/entities-v2/CustomerDeviceOnt.d.ts +7 -1
  41. package/dist/entities-v2/CustomerDeviceOnt.js +6 -0
  42. package/dist/entities-v2/File.d.ts +3 -0
  43. package/dist/entities-v2/Order.d.ts +7 -0
  44. package/dist/entities-v2/Order.js +2 -0
  45. package/dist/entities-v2/PaymentMethodRefund.d.ts +19 -0
  46. package/dist/entities-v2/PaymentMethodRefund.js +8 -0
  47. package/dist/entities-v2/WorkOrder.d.ts +7 -0
  48. package/dist/entities-v2/WorkOrder.js +5 -1
  49. package/dist/entities-v2/YfWifiSurvey.d.ts +164 -0
  50. package/dist/entities-v2/YfWifiSurvey.js +102 -0
  51. package/dist/records-v2/AddressRecord.d.ts +20 -20
  52. package/dist/records-v2/AddressRecord.js +33 -33
  53. package/dist/records-v2/CallRecord.d.ts +108 -0
  54. package/dist/records-v2/CallRecord.js +116 -0
  55. package/dist/records-v2/CaseRecord.d.ts +28 -0
  56. package/dist/records-v2/CaseRecord.js +37 -0
  57. package/dist/records-v2/ContactRecord.d.ts +26 -27
  58. package/dist/records-v2/ContactRecord.js +40 -48
  59. package/dist/records-v2/VisitRecord.d.ts +29 -0
  60. package/dist/records-v2/VisitRecord.js +36 -0
  61. package/package.json +3 -2
@@ -0,0 +1,210 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.YfWifiSurveyDb = void 0;
13
+ const db_provider_1 = require("@d19n/odin-sdk-generator/dist/db.provider");
14
+ const db_record_link_manager_1 = require("@d19n/odin-sdk-generator/dist/db.record.link.manager");
15
+ /**
16
+ * @deprecated Use OdinDbClient.
17
+ *
18
+ * Migration:
19
+ * - Old: new YfWifiSurveyApi(authParams).get(id)
20
+ * - New: new odin.yfwifisurvey.get(id)
21
+ *
22
+ * The new OdinDbClient returns typed record wrappers with action methods.
23
+ *
24
+ * Supports separate query options and provider options:
25
+ * - Constructor level: new YfWifiSurveyDb(principal, dbService, { omitPermissionsCheck: true })
26
+ * - Method level: await db.getByPrimaryKey(id, { entities: [] }, { omitPermissionsCheck: true })
27
+ */
28
+ class YfWifiSurveyDb extends db_provider_1.DbProvider {
29
+ constructor(principal, dbService, defaultOptions) {
30
+ super(principal, dbService, defaultOptions);
31
+ this.moduleName = 'FieldServiceModule';
32
+ this.entityName = 'YfWifiSurvey';
33
+ this.principal = principal;
34
+ this.dbService = dbService;
35
+ // Link managers are lazy-loaded on first access
36
+ }
37
+ // ============================================
38
+ // LAZY-LOADED LINK MANAGERS (Public Getters)
39
+ // ============================================
40
+ // Usage remains identical: db.address.list(recordId)
41
+ get workorder() {
42
+ if (!this._workorder) {
43
+ this._workorder = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:YfWifiSurvey', 'FieldServiceModule:WorkOrder', 'WorkOrder__YfWifiSurvey');
44
+ }
45
+ return this._workorder;
46
+ }
47
+ get file() {
48
+ if (!this._file) {
49
+ this._file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:YfWifiSurvey', 'SchemaModule:File', 'YfWifiSurvey__File');
50
+ }
51
+ return this._file;
52
+ }
53
+ // ============================================
54
+ // STANDARD METHODS
55
+ // ============================================
56
+ // Methods support separate query options and provider options for clean API
57
+ setRecord(sourceRecord) {
58
+ this.sourceRecord = sourceRecord;
59
+ }
60
+ /**
61
+ * Search records with manual pagination control
62
+ * @param params - Search parameters
63
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
64
+ */
65
+ searchRecords(params, providerOptions) {
66
+ return __awaiter(this, void 0, void 0, function* () {
67
+ return yield this._searchRecords(this.moduleName, this.entityName, params, providerOptions);
68
+ });
69
+ }
70
+ /**
71
+ * Search all records with automatic pagination
72
+ * @param params - Search parameters
73
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
74
+ */
75
+ searchAllRecordsAndPaginate(params, providerOptions) {
76
+ return __awaiter(this, void 0, void 0, function* () {
77
+ return yield this._searchAllRecordsAndPaginate(this.moduleName, this.entityName, params, 0, providerOptions);
78
+ });
79
+ }
80
+ /**
81
+ * Get a single record by primary key
82
+ * @param yfWifiSurveyId - Record ID
83
+ * @param queryOptions - Query options (WHAT: entities to include)
84
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
85
+ *
86
+ * @example
87
+ * // Simple get
88
+ * const record = await db.getByPrimaryKey(id);
89
+ *
90
+ * // With related entities
91
+ * const record = await db.getByPrimaryKey(id, { entities: ['InvoiceItem', 'Transaction'] });
92
+ *
93
+ * // With permissions bypass
94
+ * const record = await db.getByPrimaryKey(id, {}, { omitPermissionsCheck: true });
95
+ *
96
+ * // Both options
97
+ * const record = await db.getByPrimaryKey(id, { entities: ['Invoice'] }, { omitPermissionsCheck: true });
98
+ */
99
+ getByPrimaryKey(yfWifiSurveyId, queryOptions, providerOptions) {
100
+ return __awaiter(this, void 0, void 0, function* () {
101
+ const res = yield this._getByPrimaryKey(this.moduleName, this.entityName, yfWifiSurveyId, queryOptions, providerOptions);
102
+ if (res)
103
+ this.setRecord(res);
104
+ return res;
105
+ });
106
+ }
107
+ /**
108
+ * Get multiple records by primary keys
109
+ * @param yfWifiSurveyIds - Array of record IDs
110
+ * @param queryOptions - Query options (WHAT: entities to include)
111
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
112
+ */
113
+ getManyByPrimaryKey(yfWifiSurveyIds, queryOptions, providerOptions) {
114
+ return __awaiter(this, void 0, void 0, function* () {
115
+ return yield this._getManyByPrimaryKey(this.moduleName, this.entityName, yfWifiSurveyIds, queryOptions, providerOptions);
116
+ });
117
+ }
118
+ /**
119
+ * Upsert a single record
120
+ * @param upsertDto - Record to upsert
121
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
122
+ */
123
+ upsert(upsertDto, providerOptions) {
124
+ return __awaiter(this, void 0, void 0, function* () {
125
+ const res = yield this._upsert(this.moduleName, this.entityName, [upsertDto], providerOptions);
126
+ return res[0];
127
+ });
128
+ }
129
+ /**
130
+ * Upsert multiple records
131
+ * @param upsertDtos - Records to upsert
132
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
133
+ */
134
+ upsertMany(upsertDtos, providerOptions) {
135
+ return __awaiter(this, void 0, void 0, function* () {
136
+ return yield this._upsert(this.moduleName, this.entityName, upsertDtos, providerOptions);
137
+ });
138
+ }
139
+ /**
140
+ * Update a single record
141
+ * @param updateDto - Record to update
142
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
143
+ */
144
+ update(updateDto, providerOptions) {
145
+ return __awaiter(this, void 0, void 0, function* () {
146
+ const res = yield this._update(this.moduleName, this.entityName, [updateDto], providerOptions);
147
+ return res[0];
148
+ });
149
+ }
150
+ /**
151
+ * Update multiple records
152
+ * @param updateDtos - Records to update
153
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
154
+ */
155
+ updateMany(updateDtos, providerOptions) {
156
+ return __awaiter(this, void 0, void 0, function* () {
157
+ return yield this._update(this.moduleName, this.entityName, updateDtos, providerOptions);
158
+ });
159
+ }
160
+ /**
161
+ * Delete one or many records
162
+ * @param yfWifiSurveyIds - Record IDs to delete
163
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
164
+ */
165
+ delete(yfWifiSurveyIds, providerOptions) {
166
+ return __awaiter(this, void 0, void 0, function* () {
167
+ return yield this._delete(this.moduleName, this.entityName, yfWifiSurveyIds, providerOptions);
168
+ });
169
+ }
170
+ /**
171
+ * Restore one or many deleted records
172
+ * @param yfWifiSurveyIds - Record IDs to restore
173
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
174
+ */
175
+ restore(yfWifiSurveyIds, providerOptions) {
176
+ return __awaiter(this, void 0, void 0, function* () {
177
+ return yield this._restore(this.moduleName, this.entityName, yfWifiSurveyIds, providerOptions);
178
+ });
179
+ }
180
+ /**
181
+ * Apply an action to a record
182
+ * @param actionName - The action key
183
+ * @param dto - The action DTO
184
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
185
+ */
186
+ applyAction(actionName, dto, providerOptions) {
187
+ return __awaiter(this, void 0, void 0, function* () {
188
+ return yield this._applyAction(this.moduleName, this.entityName, dto, providerOptions);
189
+ });
190
+ }
191
+ /**
192
+ * Get version history for the current source record
193
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
194
+ */
195
+ getVersions(providerOptions) {
196
+ return __awaiter(this, void 0, void 0, function* () {
197
+ return yield this._getVersions(this.moduleName, this.entityName, this.sourceRecord.id, providerOptions);
198
+ });
199
+ }
200
+ /**
201
+ * Get revision timeline for the current source record
202
+ * @param providerOptions - Provider options (HOW: omitPermissionsCheck)
203
+ */
204
+ getRevisionTimeline(providerOptions) {
205
+ return __awaiter(this, void 0, void 0, function* () {
206
+ return yield this._getRevisionTimeline(this.moduleName, this.entityName, this.sourceRecord.id, providerOptions);
207
+ });
208
+ }
209
+ }
210
+ exports.YfWifiSurveyDb = YfWifiSurveyDb;
@@ -17,8 +17,8 @@ import { LeadProperties } from './Lead';
17
17
  import { AccountProperties } from './Account';
18
18
  import { OrderProperties } from './Order';
19
19
  import { CustomerDeviceOntProperties } from './CustomerDeviceOnt';
20
- import { ContactProperties } from './Contact';
21
20
  import { CustomerDeviceRouterProperties } from './CustomerDeviceRouter';
21
+ import { ContactProperties } from './Contact';
22
22
  import { YfToolAuditProperties } from './YfToolAudit';
23
23
  import { WorkOrderProperties } from './WorkOrder';
24
24
  import { YfVanAuditProperties } from './YfVanAudit';
@@ -627,10 +627,10 @@ export declare class Address extends OdinRecord<AddressProperties> {
627
627
  Order: OdinLink<LinkedOdinRecord<OrderProperties>>;
628
628
  /** Linked CustomerDeviceOnt records (Address__CustomerDeviceOnt) */
629
629
  CustomerDeviceOnt: OdinLink<LinkedOdinRecord<CustomerDeviceOntProperties>>;
630
- /** Linked Contact records (Contact__Address) */
631
- Contact: OdinLink<LinkedOdinRecord<ContactProperties>>;
632
630
  /** Linked CustomerDeviceRouter records (Address__CustomerDeviceRouter) */
633
631
  CustomerDeviceRouter: OdinLink<LinkedOdinRecord<CustomerDeviceRouterProperties>>;
632
+ /** Linked Contact records (Contact__Address) */
633
+ Contact: OdinLink<LinkedOdinRecord<ContactProperties>>;
634
634
  /** Linked YfToolAudit records (YfToolAudit_Address) */
635
635
  YfToolAudit: OdinLink<LinkedOdinRecord<YfToolAuditProperties>>;
636
636
  /** Linked WorkOrder records (WorkOrder__Alternative_Address) */
@@ -30,20 +30,20 @@ import { AppointmentProperties } from './Appointment';
30
30
  import { FingerprintProperties } from './Fingerprint';
31
31
  import { CaseProperties } from './Case';
32
32
  import { OrganizationProperties } from './Organization';
33
- import { AddressProperties } from './Address';
34
33
  import { SmsMessageProperties } from './SmsMessage';
35
34
  import { BillingRequestProperties } from './BillingRequest';
36
35
  import { OneTouchSwitchProperties } from './OneTouchSwitch';
37
36
  import { PaymentMethodRefundProperties } from './PaymentMethodRefund';
38
37
  import { EmailProperties } from './Email';
39
38
  import { RewardProperties } from './Reward';
39
+ import { AddressProperties } from './Address';
40
40
  import { ContractBuyOutProperties } from './ContractBuyOut';
41
41
  import { WorkOrderProperties } from './WorkOrder';
42
42
  import { ImpersonationTrackerProperties } from './ImpersonationTracker';
43
43
  import { AccountCreditProperties } from './AccountCredit';
44
44
  import { AffiliateCodeProperties } from './AffiliateCode';
45
- import { NpsSurveyProperties } from './NpsSurvey';
46
45
  import { OrderProperties } from './Order';
46
+ import { NpsSurveyProperties } from './NpsSurvey';
47
47
  /**
48
48
  * Available types for Contact records
49
49
  */
@@ -226,6 +226,19 @@ export declare enum ContactAdditionalCareRequired {
226
226
  NO = "NO",
227
227
  YES = "YES"
228
228
  }
229
+ /**
230
+ * Valid values for Contact.MedicallyDependant
231
+ *
232
+ * Is the customer medically dependant on their broadband (Sales - Contact)
233
+ *
234
+ * @remarks Available options:
235
+ * - `NO` - No
236
+ * - `YES` - Yes
237
+ */
238
+ export declare enum ContactMedicallyDependant {
239
+ NO = "NO",
240
+ YES = "YES"
241
+ }
229
242
  /**
230
243
  * Valid values for Contact.HomeownerStatus
231
244
  *
@@ -258,19 +271,6 @@ export declare enum ContactWhitelistedTwilioQueue {
258
271
  GENERAL_SUPPORT = "General Support",
259
272
  ORDER_MANAGEMENT_UPDATE = "Order Management - Update"
260
273
  }
261
- /**
262
- * Valid values for Contact.MedicallyDependant
263
- *
264
- * Is the customer medically dependant on their broadband (Sales - Contact)
265
- *
266
- * @remarks Available options:
267
- * - `NO` - No
268
- * - `YES` - Yes
269
- */
270
- export declare enum ContactMedicallyDependant {
271
- NO = "NO",
272
- YES = "YES"
273
- }
274
274
  /**
275
275
  * Property keys for Contact
276
276
  * Use these constants instead of string literals for type safety
@@ -288,14 +288,10 @@ export declare enum ContactPropertyKeys {
288
288
  HearAboutUsOther = "HearAboutUsOther",
289
289
  /** vulnerable customer */
290
290
  VulnerableCustomer = "VulnerableCustomer",
291
- /** Customer consent for recording additional care requiremetns (Sales - Contact) */
292
- AdditionalCareConsent = "AdditionalCareConsent",
293
291
  /** NONE if never registered, INACTIVE if requested a code, ACTIVE if completed registration (Sales - Contact) */
294
292
  PortalStatus = "PortalStatus",
295
293
  /** Referral Code (Sales - Contact) */
296
294
  ReferralCode = "ReferralCode",
297
- /** Name */
298
- Name = "Name",
299
295
  /** External Reference */
300
296
  ExternalReference = "ExternalReference",
301
297
  /** Contacts First Name (Sales - Contact) */
@@ -306,6 +302,8 @@ export declare enum ContactPropertyKeys {
306
302
  DirectDebitConsent = "DirectDebitConsent",
307
303
  /** Send if true otherwise they have opted-out if false (Sales - Contact) */
308
304
  MarketingSms = "MarketingSMS",
305
+ /** Name */
306
+ Name = "Name",
309
307
  /** Terms and Conditions Consent (Sales - Contact) */
310
308
  TermsAndConditionsConsent = "TermsAndConditionsConsent",
311
309
  /** previous/current provider (Sales - Contact) */
@@ -374,16 +372,18 @@ export declare enum ContactPropertyKeys {
374
372
  AdditionalCareReason = "AdditionalCareReason",
375
373
  /** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact) */
376
374
  AdditionalCareRequired = "AdditionalCareRequired",
375
+ /** Is the customer medically dependant on their broadband (Sales - Contact) */
376
+ MedicallyDependant = "MedicallyDependant",
377
377
  /** Any additional information */
378
378
  AdditionalCareNotes = "AdditionalCareNotes",
379
379
  /** Homeowner Status (Sales - Contact) */
380
380
  HomeownerStatus = "HomeownerStatus",
381
+ /** Customer consent for recording additional care requiremetns (Sales - Contact) */
382
+ AdditionalCareConsent = "AdditionalCareConsent",
381
383
  /** Used to whitelist this user to a specific twilio queue in a time range. */
382
384
  WhitelistedTwilioQueue = "WhitelistedTwilioQueue",
383
385
  /** Time when the whitelisting ends and the user falls back to the main IVR again. */
384
386
  WhitelistTwilioEndTime = "WhitelistTwilioEndTime",
385
- /** Is the customer medically dependant on their broadband (Sales - Contact) */
386
- MedicallyDependant = "MedicallyDependant",
387
387
  /** Phone number (Sales - Contact) */
388
388
  Phone = "Phone"
389
389
  }
@@ -430,11 +430,6 @@ export interface ContactProperties {
430
430
  * @hidden This field is hidden in the UI
431
431
  */
432
432
  VulnerableCustomer: boolean;
433
- /** Customer consent for recording additional care requiremetns (Sales - Contact)
434
- *
435
- * @type {BOOLEAN}
436
- */
437
- AdditionalCareConsent: boolean;
438
433
  /** NONE if never registered, INACTIVE if requested a code, ACTIVE if completed registration (Sales - Contact)
439
434
  *
440
435
  * @type {ENUM}
@@ -449,11 +444,6 @@ export interface ContactProperties {
449
444
  * @hidden This field is hidden in the UI
450
445
  */
451
446
  ReferralCode: string;
452
- /** Name
453
- *
454
- * @type {TEXT}
455
- */
456
- Name: string;
457
447
  /** External Reference
458
448
  *
459
449
  * @type {TEXT}
@@ -486,6 +476,12 @@ export interface ContactProperties {
486
476
  * @readonly This field is read-only
487
477
  */
488
478
  MarketingSms: boolean;
479
+ /** Name
480
+ *
481
+ * @type {TEXT}
482
+ * @hidden This field is hidden in the UI
483
+ */
484
+ Name: string;
489
485
  /** Terms and Conditions Consent (Sales - Contact)
490
486
  *
491
487
  * @type {BOOLEAN}
@@ -688,11 +684,13 @@ export interface ContactProperties {
688
684
  * @type {ENUM}
689
685
  * @default
690
686
  * @enum {ContactTelecareAlarm}
687
+ * @hidden This field is hidden in the UI
691
688
  */
692
689
  TelecareAlarm: ContactTelecareAlarm;
693
690
  /** Select a care requirement
694
691
  *
695
692
  * @type {ENUM_MULTI_SELECT}
693
+ * @hidden This field is hidden in the UI
696
694
  */
697
695
  AdditionalCareReason: string;
698
696
  /** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact)
@@ -702,9 +700,18 @@ export interface ContactProperties {
702
700
  * @hidden This field is hidden in the UI
703
701
  */
704
702
  AdditionalCareRequired: ContactAdditionalCareRequired;
703
+ /** Is the customer medically dependant on their broadband (Sales - Contact)
704
+ *
705
+ * @type {ENUM}
706
+ * @default
707
+ * @enum {ContactMedicallyDependant}
708
+ * @hidden This field is hidden in the UI
709
+ */
710
+ MedicallyDependant: ContactMedicallyDependant;
705
711
  /** Any additional information
706
712
  *
707
713
  * @type {TEXT_LONG}
714
+ * @hidden This field is hidden in the UI
708
715
  */
709
716
  AdditionalCareNotes: string;
710
717
  /** Homeowner Status (Sales - Contact)
@@ -713,6 +720,12 @@ export interface ContactProperties {
713
720
  * @enum {ContactHomeownerStatus}
714
721
  */
715
722
  HomeownerStatus: ContactHomeownerStatus;
723
+ /** Customer consent for recording additional care requiremetns (Sales - Contact)
724
+ *
725
+ * @type {BOOLEAN}
726
+ * @hidden This field is hidden in the UI
727
+ */
728
+ AdditionalCareConsent: boolean;
716
729
  /** Used to whitelist this user to a specific twilio queue in a time range.
717
730
  *
718
731
  * @type {ENUM}
@@ -726,13 +739,6 @@ export interface ContactProperties {
726
739
  * @hidden This field is hidden in the UI
727
740
  */
728
741
  WhitelistTwilioEndTime: string;
729
- /** Is the customer medically dependant on their broadband (Sales - Contact)
730
- *
731
- * @type {ENUM}
732
- * @default
733
- * @enum {ContactMedicallyDependant}
734
- */
735
- MedicallyDependant: ContactMedicallyDependant;
736
742
  /** Phone number (Sales - Contact)
737
743
  *
738
744
  * @type {PHONE_NUMBER_E164_GB}
@@ -794,8 +800,6 @@ export declare class Contact extends OdinRecord<ContactProperties> {
794
800
  Case: OdinLink<LinkedOdinRecord<CaseProperties>>;
795
801
  /** Linked Organization records (Organization__Contact) */
796
802
  Organization: OdinLink<LinkedOdinRecord<OrganizationProperties>>;
797
- /** Linked Address records (Contact__Address) */
798
- Address: OdinLink<LinkedOdinRecord<AddressProperties>>;
799
803
  /** Linked SmsMessage records (Contact__SmsMessage) */
800
804
  SmsMessage: OdinLink<LinkedOdinRecord<SmsMessageProperties>>;
801
805
  /** Linked BillingRequest records (Contact__BillingRequest) */
@@ -810,6 +814,8 @@ export declare class Contact extends OdinRecord<ContactProperties> {
810
814
  Email: OdinLink<LinkedOdinRecord<EmailProperties>>;
811
815
  /** Linked Reward records (ContactReward) */
812
816
  Reward: OdinLink<LinkedOdinRecord<RewardProperties>>;
817
+ /** Linked Address records (Contact__Address) */
818
+ Address: OdinLink<LinkedOdinRecord<AddressProperties>>;
813
819
  /** Linked ContractBuyOut records (Contact__ContractBuyOut) */
814
820
  ContractBuyOut: OdinLink<LinkedOdinRecord<ContractBuyOutProperties>>;
815
821
  /** Linked WorkOrder records (WorkOrder__Contact) */
@@ -820,10 +826,10 @@ export declare class Contact extends OdinRecord<ContactProperties> {
820
826
  AccountCredit: OdinLink<LinkedOdinRecord<AccountCreditProperties>>;
821
827
  /** Linked AffiliateCode records (ContactAffiliateCodes) */
822
828
  AffiliateCode: OdinLink<LinkedOdinRecord<AffiliateCodeProperties>>;
823
- /** Linked NpsSurvey records (Contact__NpsSurvey) */
824
- NpsSurvey: OdinLink<LinkedOdinRecord<NpsSurveyProperties>>;
825
829
  /** Linked Order records (Order__Contact) */
826
830
  Order: OdinLink<LinkedOdinRecord<OrderProperties>>;
831
+ /** Linked NpsSurvey records (Contact__NpsSurvey) */
832
+ NpsSurvey: OdinLink<LinkedOdinRecord<NpsSurveyProperties>>;
827
833
  }
828
834
  /**
829
835
  * RabbitMQ routing keys for Contact events
@@ -877,10 +883,6 @@ export declare const ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_DELETED = "CrmMod
877
883
  export declare const ROUTING_KEY_LINK_CONTACT_APPOINTMENT_CREATED = "CrmModule.Contact.Appointment.SubDbRecordAssociationCreated";
878
884
  /** Event: Contact__Appointment link deleted */
879
885
  export declare const ROUTING_KEY_LINK_CONTACT_APPOINTMENT_DELETED = "CrmModule.Contact.Appointment.SubDbRecordAssociationDeleted";
880
- /** Event: Contact__Address link created */
881
- export declare const ROUTING_KEY_LINK_CONTACT_ADDRESS_CREATED = "CrmModule.Contact.Address.SubDbRecordAssociationCreated";
882
- /** Event: Contact__Address link deleted */
883
- export declare const ROUTING_KEY_LINK_CONTACT_ADDRESS_DELETED = "CrmModule.Contact.Address.SubDbRecordAssociationDeleted";
884
886
  /** Event: Contact__SmsMessage link created */
885
887
  export declare const ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_CREATED = "CrmModule.Contact.SmsMessage.SubDbRecordAssociationCreated";
886
888
  /** Event: Contact__SmsMessage link deleted */
@@ -901,6 +903,10 @@ export declare const ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_DELETED = "C
901
903
  export declare const ROUTING_KEY_LINK_CONTACT_REWARD_CREATED = "CrmModule.Contact.Reward.SubDbRecordAssociationCreated";
902
904
  /** Event: ContactReward link deleted */
903
905
  export declare const ROUTING_KEY_LINK_CONTACT_REWARD_DELETED = "CrmModule.Contact.Reward.SubDbRecordAssociationDeleted";
906
+ /** Event: Contact__Address link created */
907
+ export declare const ROUTING_KEY_LINK_CONTACT_ADDRESS_CREATED = "CrmModule.Contact.Address.SubDbRecordAssociationCreated";
908
+ /** Event: Contact__Address link deleted */
909
+ export declare const ROUTING_KEY_LINK_CONTACT_ADDRESS_DELETED = "CrmModule.Contact.Address.SubDbRecordAssociationDeleted";
904
910
  /** Event: Contact__ContractBuyOut link created */
905
911
  export declare const ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_CREATED = "CrmModule.Contact.ContractBuyOut.SubDbRecordAssociationCreated";
906
912
  /** Event: Contact__ContractBuyOut link deleted */
@@ -12,8 +12,8 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_CONTACT_REWARD_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_DELETED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_CREATED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_FILE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_FILE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_CREATED = exports.ROUTING_KEY_LINK_REFEREE_REFERRALS_DELETED = exports.ROUTING_KEY_LINK_REFEREE_REFERRALS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_CREATED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_CREATED = exports.ROUTING_KEY_CONTACT_DEFAULT_DELETED = exports.ROUTING_KEY_CONTACT_DEFAULT_UPDATED = exports.ROUTING_KEY_CONTACT_DEFAULT_CREATED = exports.ROUTING_KEY_CONTACT_DELETED = exports.ROUTING_KEY_CONTACT_UPDATED = exports.ROUTING_KEY_CONTACT_CREATED = exports.Contact = exports.ContactPropertyKeys = exports.ContactMedicallyDependant = exports.ContactWhitelistedTwilioQueue = exports.ContactHomeownerStatus = exports.ContactAdditionalCareRequired = exports.ContactTelecareAlarm = exports.ContactAccountStatus = exports.ContactActivationSource = exports.ContactCurrentNetworkProvider = exports.ContactRole = exports.ContactPreviousProvider = exports.ContactPortalStatus = exports.ContactCurrentProvider = exports.ContactEntityTypes = void 0;
16
- exports.ROUTING_KEY_LINK_CONTACT_NPS_SURVEY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NPS_SURVEY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_AFFILIATE_CODES_DELETED = exports.ROUTING_KEY_LINK_CONTACT_AFFILIATE_CODES_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACCOUNT_CREDIT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACCOUNT_CREDIT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_REWARD_DELETED = void 0;
15
+ exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_REWARD_DELETED = exports.ROUTING_KEY_LINK_CONTACT_REWARD_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_DELETED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_CREATED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_FILE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_FILE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_CREATED = exports.ROUTING_KEY_LINK_REFEREE_REFERRALS_DELETED = exports.ROUTING_KEY_LINK_REFEREE_REFERRALS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_CREATED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_CREATED = exports.ROUTING_KEY_CONTACT_DEFAULT_DELETED = exports.ROUTING_KEY_CONTACT_DEFAULT_UPDATED = exports.ROUTING_KEY_CONTACT_DEFAULT_CREATED = exports.ROUTING_KEY_CONTACT_DELETED = exports.ROUTING_KEY_CONTACT_UPDATED = exports.ROUTING_KEY_CONTACT_CREATED = exports.Contact = exports.ContactPropertyKeys = exports.ContactWhitelistedTwilioQueue = exports.ContactHomeownerStatus = exports.ContactMedicallyDependant = exports.ContactAdditionalCareRequired = exports.ContactTelecareAlarm = exports.ContactAccountStatus = exports.ContactActivationSource = exports.ContactCurrentNetworkProvider = exports.ContactRole = exports.ContactPreviousProvider = exports.ContactPortalStatus = exports.ContactCurrentProvider = exports.ContactEntityTypes = void 0;
16
+ exports.ROUTING_KEY_LINK_CONTACT_NPS_SURVEY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NPS_SURVEY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_AFFILIATE_CODES_DELETED = exports.ROUTING_KEY_LINK_CONTACT_AFFILIATE_CODES_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACCOUNT_CREDIT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACCOUNT_CREDIT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_DELETED = void 0;
17
17
  const core_1 = require("@d19n/odin-types/dist/core");
18
18
  /**
19
19
  * Available types for Contact records
@@ -207,6 +207,20 @@ var ContactAdditionalCareRequired;
207
207
  ContactAdditionalCareRequired["NO"] = "NO";
208
208
  ContactAdditionalCareRequired["YES"] = "YES";
209
209
  })(ContactAdditionalCareRequired = exports.ContactAdditionalCareRequired || (exports.ContactAdditionalCareRequired = {}));
210
+ /**
211
+ * Valid values for Contact.MedicallyDependant
212
+ *
213
+ * Is the customer medically dependant on their broadband (Sales - Contact)
214
+ *
215
+ * @remarks Available options:
216
+ * - `NO` - No
217
+ * - `YES` - Yes
218
+ */
219
+ var ContactMedicallyDependant;
220
+ (function (ContactMedicallyDependant) {
221
+ ContactMedicallyDependant["NO"] = "NO";
222
+ ContactMedicallyDependant["YES"] = "YES";
223
+ })(ContactMedicallyDependant = exports.ContactMedicallyDependant || (exports.ContactMedicallyDependant = {}));
210
224
  /**
211
225
  * Valid values for Contact.HomeownerStatus
212
226
  *
@@ -241,20 +255,6 @@ var ContactWhitelistedTwilioQueue;
241
255
  ContactWhitelistedTwilioQueue["GENERAL_SUPPORT"] = "General Support";
242
256
  ContactWhitelistedTwilioQueue["ORDER_MANAGEMENT_UPDATE"] = "Order Management - Update";
243
257
  })(ContactWhitelistedTwilioQueue = exports.ContactWhitelistedTwilioQueue || (exports.ContactWhitelistedTwilioQueue = {}));
244
- /**
245
- * Valid values for Contact.MedicallyDependant
246
- *
247
- * Is the customer medically dependant on their broadband (Sales - Contact)
248
- *
249
- * @remarks Available options:
250
- * - `NO` - No
251
- * - `YES` - Yes
252
- */
253
- var ContactMedicallyDependant;
254
- (function (ContactMedicallyDependant) {
255
- ContactMedicallyDependant["NO"] = "NO";
256
- ContactMedicallyDependant["YES"] = "YES";
257
- })(ContactMedicallyDependant = exports.ContactMedicallyDependant || (exports.ContactMedicallyDependant = {}));
258
258
  /**
259
259
  * Property keys for Contact
260
260
  * Use these constants instead of string literals for type safety
@@ -273,14 +273,10 @@ var ContactPropertyKeys;
273
273
  ContactPropertyKeys["HearAboutUsOther"] = "HearAboutUsOther";
274
274
  /** vulnerable customer */
275
275
  ContactPropertyKeys["VulnerableCustomer"] = "VulnerableCustomer";
276
- /** Customer consent for recording additional care requiremetns (Sales - Contact) */
277
- ContactPropertyKeys["AdditionalCareConsent"] = "AdditionalCareConsent";
278
276
  /** NONE if never registered, INACTIVE if requested a code, ACTIVE if completed registration (Sales - Contact) */
279
277
  ContactPropertyKeys["PortalStatus"] = "PortalStatus";
280
278
  /** Referral Code (Sales - Contact) */
281
279
  ContactPropertyKeys["ReferralCode"] = "ReferralCode";
282
- /** Name */
283
- ContactPropertyKeys["Name"] = "Name";
284
280
  /** External Reference */
285
281
  ContactPropertyKeys["ExternalReference"] = "ExternalReference";
286
282
  /** Contacts First Name (Sales - Contact) */
@@ -291,6 +287,8 @@ var ContactPropertyKeys;
291
287
  ContactPropertyKeys["DirectDebitConsent"] = "DirectDebitConsent";
292
288
  /** Send if true otherwise they have opted-out if false (Sales - Contact) */
293
289
  ContactPropertyKeys["MarketingSms"] = "MarketingSMS";
290
+ /** Name */
291
+ ContactPropertyKeys["Name"] = "Name";
294
292
  /** Terms and Conditions Consent (Sales - Contact) */
295
293
  ContactPropertyKeys["TermsAndConditionsConsent"] = "TermsAndConditionsConsent";
296
294
  /** previous/current provider (Sales - Contact) */
@@ -359,16 +357,18 @@ var ContactPropertyKeys;
359
357
  ContactPropertyKeys["AdditionalCareReason"] = "AdditionalCareReason";
360
358
  /** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact) */
361
359
  ContactPropertyKeys["AdditionalCareRequired"] = "AdditionalCareRequired";
360
+ /** Is the customer medically dependant on their broadband (Sales - Contact) */
361
+ ContactPropertyKeys["MedicallyDependant"] = "MedicallyDependant";
362
362
  /** Any additional information */
363
363
  ContactPropertyKeys["AdditionalCareNotes"] = "AdditionalCareNotes";
364
364
  /** Homeowner Status (Sales - Contact) */
365
365
  ContactPropertyKeys["HomeownerStatus"] = "HomeownerStatus";
366
+ /** Customer consent for recording additional care requiremetns (Sales - Contact) */
367
+ ContactPropertyKeys["AdditionalCareConsent"] = "AdditionalCareConsent";
366
368
  /** Used to whitelist this user to a specific twilio queue in a time range. */
367
369
  ContactPropertyKeys["WhitelistedTwilioQueue"] = "WhitelistedTwilioQueue";
368
370
  /** Time when the whitelisting ends and the user falls back to the main IVR again. */
369
371
  ContactPropertyKeys["WhitelistTwilioEndTime"] = "WhitelistTwilioEndTime";
370
- /** Is the customer medically dependant on their broadband (Sales - Contact) */
371
- ContactPropertyKeys["MedicallyDependant"] = "MedicallyDependant";
372
372
  /** Phone number (Sales - Contact) */
373
373
  ContactPropertyKeys["Phone"] = "Phone";
374
374
  })(ContactPropertyKeys = exports.ContactPropertyKeys || (exports.ContactPropertyKeys = {}));
@@ -441,10 +441,6 @@ exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_DELETED = 'CrmModule.Contact.C
441
441
  exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_CREATED = 'CrmModule.Contact.Appointment.SubDbRecordAssociationCreated';
442
442
  /** Event: Contact__Appointment link deleted */
443
443
  exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_DELETED = 'CrmModule.Contact.Appointment.SubDbRecordAssociationDeleted';
444
- /** Event: Contact__Address link created */
445
- exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_CREATED = 'CrmModule.Contact.Address.SubDbRecordAssociationCreated';
446
- /** Event: Contact__Address link deleted */
447
- exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_DELETED = 'CrmModule.Contact.Address.SubDbRecordAssociationDeleted';
448
444
  /** Event: Contact__SmsMessage link created */
449
445
  exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_CREATED = 'CrmModule.Contact.SmsMessage.SubDbRecordAssociationCreated';
450
446
  /** Event: Contact__SmsMessage link deleted */
@@ -465,6 +461,10 @@ exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_DELETED = 'CrmModule.Cont
465
461
  exports.ROUTING_KEY_LINK_CONTACT_REWARD_CREATED = 'CrmModule.Contact.Reward.SubDbRecordAssociationCreated';
466
462
  /** Event: ContactReward link deleted */
467
463
  exports.ROUTING_KEY_LINK_CONTACT_REWARD_DELETED = 'CrmModule.Contact.Reward.SubDbRecordAssociationDeleted';
464
+ /** Event: Contact__Address link created */
465
+ exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_CREATED = 'CrmModule.Contact.Address.SubDbRecordAssociationCreated';
466
+ /** Event: Contact__Address link deleted */
467
+ exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_DELETED = 'CrmModule.Contact.Address.SubDbRecordAssociationDeleted';
468
468
  /** Event: Contact__ContractBuyOut link created */
469
469
  exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_CREATED = 'CrmModule.Contact.ContractBuyOut.SubDbRecordAssociationCreated';
470
470
  /** Event: Contact__ContractBuyOut link deleted */
@@ -39,9 +39,15 @@ export declare enum CustomerDeviceOntEntityTypes {
39
39
  * - `622_V` - 622v
40
40
  * - `631_Q` - 631q
41
41
  * - `NOKIA` - Nokia
42
+ * - `XS-010X-Q` - Nokia 10G (XS-010X-Q)
43
+ * - `XS-010X-R` - Nokia 10G (XS-010X-R)
44
+ * - `XS-010G-Q` - Nokia 2.5G (XS-010G-Q)
42
45
  */
43
46
  export declare enum CustomerDeviceOntModel {
44
- NOKIA = "NOKIA"
47
+ NOKIA = "NOKIA",
48
+ NOKIA_10_G_XS_010_X_Q = "XS-010X-Q",
49
+ NOKIA_10_G_XS_010_X_R = "XS-010X-R",
50
+ NOKIA_2_5_G_XS_010_G_Q = "XS-010G-Q"
45
51
  }
46
52
  /**
47
53
  * Valid values for CustomerDeviceOnt.PONPort
@@ -33,10 +33,16 @@ var CustomerDeviceOntEntityTypes;
33
33
  * - `622_V` - 622v
34
34
  * - `631_Q` - 631q
35
35
  * - `NOKIA` - Nokia
36
+ * - `XS-010X-Q` - Nokia 10G (XS-010X-Q)
37
+ * - `XS-010X-R` - Nokia 10G (XS-010X-R)
38
+ * - `XS-010G-Q` - Nokia 2.5G (XS-010G-Q)
36
39
  */
37
40
  var CustomerDeviceOntModel;
38
41
  (function (CustomerDeviceOntModel) {
39
42
  CustomerDeviceOntModel["NOKIA"] = "NOKIA";
43
+ CustomerDeviceOntModel["NOKIA_10_G_XS_010_X_Q"] = "XS-010X-Q";
44
+ CustomerDeviceOntModel["NOKIA_10_G_XS_010_X_R"] = "XS-010X-R";
45
+ CustomerDeviceOntModel["NOKIA_2_5_G_XS_010_G_Q"] = "XS-010G-Q";
40
46
  })(CustomerDeviceOntModel = exports.CustomerDeviceOntModel || (exports.CustomerDeviceOntModel = {}));
41
47
  /**
42
48
  * Valid values for CustomerDeviceOnt.PONPort
@@ -72,6 +72,7 @@ import { UgRetroAuditProperties } from './UgRetroAudit';
72
72
  import { OhRetroAuditProperties } from './OhRetroAudit';
73
73
  import { UgInProgressAuditProperties } from './UgInProgressAudit';
74
74
  import { PgDirectDebitFileProperties } from './PgDirectDebitFile';
75
+ import { YfWifiSurveyProperties } from './YfWifiSurvey';
75
76
  /**
76
77
  * Available types for File records
77
78
  */
@@ -958,6 +959,8 @@ export declare class File extends OdinRecord<FileProperties> {
958
959
  UgInProgressAudit: OdinLink<LinkedOdinRecord<UgInProgressAuditProperties>>;
959
960
  /** Linked PgDirectDebitFile records (PgDirectDebitFile__File) */
960
961
  PgDirectDebitFile: OdinLink<LinkedOdinRecord<PgDirectDebitFileProperties>>;
962
+ /** Linked YfWifiSurvey records (YfWifiSurvey__File) */
963
+ YfWifiSurvey: OdinLink<LinkedOdinRecord<YfWifiSurveyProperties>>;
961
964
  }
962
965
  /**
963
966
  * RabbitMQ routing keys for File events