@d19n/youfibre-odin-sdk 1.0.230 → 1.0.231

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 (50) hide show
  1. package/dist/actions-v2/ChangeBillingModeDto.d.ts +81 -0
  2. package/dist/actions-v2/ChangeBillingModeDto.js +58 -0
  3. package/dist/entities-v2/Account.d.ts +10 -3
  4. package/dist/entities-v2/Account.js +4 -2
  5. package/dist/entities-v2/BusinessAccount.d.ts +7 -0
  6. package/dist/entities-v2/BusinessAccount.js +2 -0
  7. package/dist/entities-v2/Invoice.d.ts +15 -8
  8. package/dist/entities-v2/Invoice.js +4 -2
  9. package/dist/entities-v2/InvoiceItem.d.ts +14 -0
  10. package/dist/entities-v2/InvoiceItem.js +4 -0
  11. package/dist/entities-v2/MultipleAccount.d.ts +7 -0
  12. package/dist/entities-v2/MultipleAccount.js +2 -0
  13. package/dist/entities-v2/OhInstallationAudit.d.ts +71 -71
  14. package/dist/entities-v2/OhInstallationAudit.js +43 -43
  15. package/dist/entities-v2/OutcomeFormOhInstallationAudit.d.ts +71 -71
  16. package/dist/entities-v2/OutcomeFormOhInstallationAudit.js +43 -43
  17. package/dist/entities-v2/OutcomeFormOverlayRealA55.d.ts +132 -132
  18. package/dist/entities-v2/OutcomeFormOverlayRealA55.js +84 -84
  19. package/dist/entities-v2/OutcomeFormRemediationRequiredReason.d.ts +158 -158
  20. package/dist/entities-v2/OutcomeFormRemediationRequiredReason.js +138 -138
  21. package/dist/entities-v2/PrimaryAccount.d.ts +7 -0
  22. package/dist/entities-v2/PrimaryAccount.js +2 -0
  23. package/dist/entities-v2/ResellerAccount.d.ts +7 -0
  24. package/dist/entities-v2/ResellerAccount.js +2 -0
  25. package/dist/entities-v2/ServiceAccount.d.ts +274 -0
  26. package/dist/entities-v2/ServiceAccount.js +174 -0
  27. package/dist/entities-v2/Visit.d.ts +173 -173
  28. package/dist/entities-v2/Visit.js +109 -109
  29. package/dist/records-v2/AccountRecord.d.ts +31 -7
  30. package/dist/records-v2/AccountRecord.js +42 -6
  31. package/dist/records-v2/index.d.ts +1 -1
  32. package/dist/records-v2/index.js +4 -4
  33. package/package.json +1 -1
  34. package/src/README.md +15 -13
  35. package/src/actions-v2/ChangeBillingModeDto.ts +102 -0
  36. package/src/entities-v2/Account.ts +9 -2
  37. package/src/entities-v2/BusinessAccount.ts +7 -0
  38. package/src/entities-v2/Invoice.ts +15 -8
  39. package/src/entities-v2/InvoiceItem.ts +14 -0
  40. package/src/entities-v2/MultipleAccount.ts +7 -0
  41. package/src/entities-v2/OhInstallationAudit.ts +70 -70
  42. package/src/entities-v2/OutcomeFormOhInstallationAudit.ts +70 -70
  43. package/src/entities-v2/OutcomeFormOverlayRealA55.ts +132 -132
  44. package/src/entities-v2/OutcomeFormRemediationRequiredReason.ts +157 -157
  45. package/src/entities-v2/PrimaryAccount.ts +7 -0
  46. package/src/entities-v2/ResellerAccount.ts +7 -0
  47. package/src/entities-v2/ServiceAccount.ts +295 -0
  48. package/src/entities-v2/Visit.ts +173 -173
  49. package/src/records-v2/AccountRecord.ts +58 -8
  50. package/src/records-v2/index.ts +1 -1
@@ -0,0 +1,81 @@
1
+ /**
2
+ * ChangeBillingMode Action DTO
3
+ *
4
+ * Change the account billing mode between ORDER and ACCOUNT
5
+ *
6
+ * @module CrmModule
7
+ * @entity Account
8
+ * @actionKey ChangeBillingMode
9
+ * @event AccountBillingModelChanged
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ */
13
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
+ /**
15
+ * Properties for ChangeBillingMode action
16
+ *
17
+ * @property Required fields: 0
18
+ * @property Optional fields: 2
19
+ */
20
+ export interface ChangeBillingModeProperties {
21
+ /**
22
+ * BillingMode
23
+ *
24
+ * Controls how invoices are generated for this account. ORDER (default): each order generates its own invoice on its own billing cycle. ACCOUNT: all orders are consolidated into a single invoice on the account billing day.
25
+ * @type {ENUM}
26
+ */
27
+ BillingMode?: string;
28
+ /**
29
+ * BillingDay
30
+ *
31
+ * Day of month when consolidated invoices are generated. Required when BillingMode is ACCOUNT. Must be 1-28 to avoid end-of-month date issues.
32
+ * @type {NUMBER}
33
+ */
34
+ BillingDay?: number;
35
+ }
36
+ /**
37
+ * ChangeBillingMode
38
+ *
39
+ * Change the account billing mode between ORDER and ACCOUNT
40
+ *
41
+ * @actionType UPDATE - Updates an existing Account record
42
+ * @module CrmModule
43
+ * @entity Account
44
+ * @event AccountBillingModelChanged
45
+ * @permission schema.action.changebillingmode.trigger
46
+ * @benchmark This action is tracked for performance benchmarks
47
+ */
48
+ export declare class ChangeBillingModeDto extends OdinRecordUpdateDto<ChangeBillingModeProperties> {
49
+ /** Used by SDK generators to identify action type */
50
+ static readonly ACTION_TYPE = "UPDATE";
51
+ static readonly ACTION_KEY = "ChangeBillingMode";
52
+ static readonly MODULE_NAME = "CrmModule";
53
+ static readonly ENTITIES: string[];
54
+ static readonly EVENT_NAME = "AccountBillingModelChanged";
55
+ static readonly PERMISSION = "schema.action.changebillingmode.trigger";
56
+ readonly actionName: string;
57
+ readonly schemaActionId: string;
58
+ readonly entity: string;
59
+ constructor(record: OdinRecord<any> | {
60
+ id: string;
61
+ entity: string;
62
+ type?: string;
63
+ }, properties: ChangeBillingModeProperties, options?: {
64
+ journeyId?: string;
65
+ stageKey?: string;
66
+ });
67
+ }
68
+ /**
69
+ * RabbitMQ message payload for ChangeBillingMode updated events
70
+ *
71
+ * @event AccountBillingModelChanged
72
+ */
73
+ export interface ChangeBillingModeMessage extends OdinRecordUpdatedEvent<ChangeBillingModeDto, ChangeBillingModeProperties> {
74
+ }
75
+ /**
76
+ * RabbitMQ routing key for ChangeBillingMode events
77
+ *
78
+ * Subscribe to this key to receive notifications when this action completes.
79
+ * @event AccountBillingModelChanged
80
+ */
81
+ export declare const ROUTING_KEY_ACCOUNT_BILLING_MODEL_CHANGED = "AccountBillingModelChanged";
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /**
3
+ * ChangeBillingMode Action DTO
4
+ *
5
+ * Change the account billing mode between ORDER and ACCOUNT
6
+ *
7
+ * @module CrmModule
8
+ * @entity Account
9
+ * @actionKey ChangeBillingMode
10
+ * @event AccountBillingModelChanged
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ROUTING_KEY_ACCOUNT_BILLING_MODEL_CHANGED = exports.ChangeBillingModeDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * ChangeBillingMode
19
+ *
20
+ * Change the account billing mode between ORDER and ACCOUNT
21
+ *
22
+ * @actionType UPDATE - Updates an existing Account record
23
+ * @module CrmModule
24
+ * @entity Account
25
+ * @event AccountBillingModelChanged
26
+ * @permission schema.action.changebillingmode.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class ChangeBillingModeDto extends core_1.OdinRecordUpdateDto {
30
+ constructor(record, properties, options) {
31
+ super({
32
+ id: record.id,
33
+ entity: record.entity,
34
+ type: record.type,
35
+ properties,
36
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
37
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
38
+ });
39
+ this.actionName = 'ChangeBillingMode';
40
+ this.schemaActionId = '805e0261-bc3b-41e3-8a69-79d4152613ab';
41
+ this.entity = 'CrmModule:Account';
42
+ }
43
+ }
44
+ exports.ChangeBillingModeDto = ChangeBillingModeDto;
45
+ /** Used by SDK generators to identify action type */
46
+ ChangeBillingModeDto.ACTION_TYPE = 'UPDATE';
47
+ ChangeBillingModeDto.ACTION_KEY = 'ChangeBillingMode';
48
+ ChangeBillingModeDto.MODULE_NAME = 'CrmModule';
49
+ ChangeBillingModeDto.ENTITIES = ['Account'];
50
+ ChangeBillingModeDto.EVENT_NAME = 'AccountBillingModelChanged';
51
+ ChangeBillingModeDto.PERMISSION = 'schema.action.changebillingmode.trigger';
52
+ /**
53
+ * RabbitMQ routing key for ChangeBillingMode events
54
+ *
55
+ * Subscribe to this key to receive notifications when this action completes.
56
+ * @event AccountBillingModelChanged
57
+ */
58
+ exports.ROUTING_KEY_ACCOUNT_BILLING_MODEL_CHANGED = 'AccountBillingModelChanged';
@@ -29,14 +29,14 @@ import { FileProperties } from './File';
29
29
  export declare enum AccountEntityTypes {
30
30
  /** Business accounts */
31
31
  BUSINESS = "BUSINESS",
32
- /** This is the default record type */
33
- DEFAULT = "DEFAULT",
34
32
  /** Multiple accounts are for customers who want to purchase multiple services at many addresses */
35
33
  MULTIPLE = "MULTIPLE",
36
34
  /** Primary account */
37
35
  PRIMARY = "PRIMARY",
38
36
  /** Reseller */
39
- RESELLER = "RESELLER"
37
+ RESELLER = "RESELLER",
38
+ /** This is the account where service is being delivered */
39
+ SERVICE = "SERVICE"
40
40
  }
41
41
  /**
42
42
  * Valid values for Account.Status
@@ -142,6 +142,8 @@ export declare enum AccountPropertyKeys {
142
142
  BillingDay = "BillingDay",
143
143
  /** VerificationCode */
144
144
  VerificationCode = "VerificationCode",
145
+ /** For SERVICE under RESELLER/TENANT */
146
+ ParentAccountRef = "ParentAccountRef",
145
147
  /** the billing address */
146
148
  AddressId = "AddressId"
147
149
  }
@@ -208,6 +210,11 @@ export interface AccountProperties {
208
210
  * @type {TEXT}
209
211
  */
210
212
  VerificationCode?: string;
213
+ /** For SERVICE under RESELLER/TENANT
214
+ *
215
+ * @type {UUID}
216
+ */
217
+ ParentAccountRef?: string;
211
218
  /** the billing address
212
219
  *
213
220
  * @type {LOOKUP}
@@ -21,14 +21,14 @@ var AccountEntityTypes;
21
21
  (function (AccountEntityTypes) {
22
22
  /** Business accounts */
23
23
  AccountEntityTypes["BUSINESS"] = "BUSINESS";
24
- /** This is the default record type */
25
- AccountEntityTypes["DEFAULT"] = "DEFAULT";
26
24
  /** Multiple accounts are for customers who want to purchase multiple services at many addresses */
27
25
  AccountEntityTypes["MULTIPLE"] = "MULTIPLE";
28
26
  /** Primary account */
29
27
  AccountEntityTypes["PRIMARY"] = "PRIMARY";
30
28
  /** Reseller */
31
29
  AccountEntityTypes["RESELLER"] = "RESELLER";
30
+ /** This is the account where service is being delivered */
31
+ AccountEntityTypes["SERVICE"] = "SERVICE";
32
32
  })(AccountEntityTypes = exports.AccountEntityTypes || (exports.AccountEntityTypes = {}));
33
33
  /**
34
34
  * Valid values for Account.Status
@@ -140,6 +140,8 @@ var AccountPropertyKeys;
140
140
  AccountPropertyKeys["BillingDay"] = "BillingDay";
141
141
  /** VerificationCode */
142
142
  AccountPropertyKeys["VerificationCode"] = "VerificationCode";
143
+ /** For SERVICE under RESELLER/TENANT */
144
+ AccountPropertyKeys["ParentAccountRef"] = "ParentAccountRef";
143
145
  /** the billing address */
144
146
  AccountPropertyKeys["AddressId"] = "AddressId";
145
147
  })(AccountPropertyKeys = exports.AccountPropertyKeys || (exports.AccountPropertyKeys = {}));
@@ -128,6 +128,8 @@ export declare enum BusinessAccountPropertyKeys {
128
128
  BillingDay = "BillingDay",
129
129
  /** VerificationCode */
130
130
  VerificationCode = "VerificationCode",
131
+ /** For SERVICE under RESELLER/TENANT */
132
+ ParentAccountRef = "ParentAccountRef",
131
133
  /** the billing address */
132
134
  AddressId = "AddressId"
133
135
  }
@@ -189,6 +191,11 @@ export interface BusinessAccountProperties {
189
191
  * @type {TEXT}
190
192
  */
191
193
  VerificationCode?: string;
194
+ /** For SERVICE under RESELLER/TENANT
195
+ *
196
+ * @type {UUID}
197
+ */
198
+ ParentAccountRef?: string;
192
199
  /** the billing address
193
200
  *
194
201
  * @type {LOOKUP}
@@ -124,6 +124,8 @@ var BusinessAccountPropertyKeys;
124
124
  BusinessAccountPropertyKeys["BillingDay"] = "BillingDay";
125
125
  /** VerificationCode */
126
126
  BusinessAccountPropertyKeys["VerificationCode"] = "VerificationCode";
127
+ /** For SERVICE under RESELLER/TENANT */
128
+ BusinessAccountPropertyKeys["ParentAccountRef"] = "ParentAccountRef";
127
129
  /** the billing address */
128
130
  BusinessAccountPropertyKeys["AddressId"] = "AddressId";
129
131
  })(BusinessAccountPropertyKeys = exports.BusinessAccountPropertyKeys || (exports.BusinessAccountPropertyKeys = {}));
@@ -247,8 +247,6 @@ export declare enum InvoicePropertyKeys {
247
247
  DiscountValue = "DiscountValue",
248
248
  /** the type of discount */
249
249
  DiscountType = "DiscountType",
250
- /** order reference */
251
- OrderRef = "OrderRef",
252
250
  /** invoice name */
253
251
  Name = "Name",
254
252
  /** timestamp indicating when the DunningStatus changed */
@@ -293,8 +291,12 @@ export declare enum InvoicePropertyKeys {
293
291
  BillingMode = "BillingMode",
294
292
  /** JSON array of order IDs included in this invoice. Only populated for account-based invoices (BillingMode=ACCOUNT). Example: ["uuid-1","uuid-2"]. Used to track which orders contributed to a consolidated invoice. */
295
293
  OrderRefs = "OrderRefs",
294
+ /** order reference */
295
+ OrderRef = "OrderRef",
296
296
  /** Used to identify what billing period this invoice includes */
297
297
  BillingPeriodType = "BillingPeriodType",
298
+ /** JSON array of sub-account IDs */
299
+ SubAccountRefs = "SubAccountRefs",
298
300
  /** status of the invoice */
299
301
  Status = "Status",
300
302
  /** will attempt payment retries if failed */
@@ -425,12 +427,6 @@ export interface InvoiceProperties {
425
427
  * @hidden This field is hidden in the UI
426
428
  */
427
429
  DiscountType?: InvoiceDiscountType;
428
- /** order reference
429
- *
430
- * @type {UUID}
431
- * @hidden This field is hidden in the UI
432
- */
433
- OrderRef?: string;
434
430
  /** invoice name
435
431
  *
436
432
  * @type {TEXT}
@@ -577,6 +573,12 @@ export interface InvoiceProperties {
577
573
  * @type {JSON}
578
574
  */
579
575
  OrderRefs?: string;
576
+ /** order reference
577
+ *
578
+ * @type {TEXT}
579
+ * @hidden This field is hidden in the UI
580
+ */
581
+ OrderRef?: string;
580
582
  /** Used to identify what billing period this invoice includes
581
583
  *
582
584
  * @type {ENUM}
@@ -584,6 +586,11 @@ export interface InvoiceProperties {
584
586
  * @enum {InvoiceBillingPeriodType}
585
587
  */
586
588
  BillingPeriodType?: InvoiceBillingPeriodType;
589
+ /** JSON array of sub-account IDs
590
+ *
591
+ * @type {JSON}
592
+ */
593
+ SubAccountRefs?: string;
587
594
  /** status of the invoice
588
595
  *
589
596
  * @type {ENUM}
@@ -244,8 +244,6 @@ var InvoicePropertyKeys;
244
244
  InvoicePropertyKeys["DiscountValue"] = "DiscountValue";
245
245
  /** the type of discount */
246
246
  InvoicePropertyKeys["DiscountType"] = "DiscountType";
247
- /** order reference */
248
- InvoicePropertyKeys["OrderRef"] = "OrderRef";
249
247
  /** invoice name */
250
248
  InvoicePropertyKeys["Name"] = "Name";
251
249
  /** timestamp indicating when the DunningStatus changed */
@@ -290,8 +288,12 @@ var InvoicePropertyKeys;
290
288
  InvoicePropertyKeys["BillingMode"] = "BillingMode";
291
289
  /** JSON array of order IDs included in this invoice. Only populated for account-based invoices (BillingMode=ACCOUNT). Example: ["uuid-1","uuid-2"]. Used to track which orders contributed to a consolidated invoice. */
292
290
  InvoicePropertyKeys["OrderRefs"] = "OrderRefs";
291
+ /** order reference */
292
+ InvoicePropertyKeys["OrderRef"] = "OrderRef";
293
293
  /** Used to identify what billing period this invoice includes */
294
294
  InvoicePropertyKeys["BillingPeriodType"] = "BillingPeriodType";
295
+ /** JSON array of sub-account IDs */
296
+ InvoicePropertyKeys["SubAccountRefs"] = "SubAccountRefs";
295
297
  /** status of the invoice */
296
298
  InvoicePropertyKeys["Status"] = "Status";
297
299
  /** will attempt payment retries if failed */
@@ -145,6 +145,10 @@ export declare enum InvoiceItemPropertyKeys {
145
145
  OrderTitle = "OrderTitle",
146
146
  /** Source order ID that this line item originated from. Used in account-based invoices to group and filter items by their source order. Enables per-order subtotals on consolidated invoices. */
147
147
  OrderRef = "OrderRef",
148
+ /** Source sub-account of a (RESELLER/TENANT) account */
149
+ SubAccountRef = "SubAccountRef",
150
+ /** The title of the sub-account */
151
+ SubAccountTitle = "SubAccountTitle",
148
152
  /** Billing period start date */
149
153
  BillingPeriodStart = "BillingPeriodStart",
150
154
  /** Billing period end date */
@@ -321,6 +325,16 @@ export interface InvoiceItemProperties {
321
325
  * @type {UUID}
322
326
  */
323
327
  OrderRef?: string;
328
+ /** Source sub-account of a (RESELLER/TENANT) account
329
+ *
330
+ * @type {UUID}
331
+ */
332
+ SubAccountRef?: string;
333
+ /** The title of the sub-account
334
+ *
335
+ * @type {TEXT}
336
+ */
337
+ SubAccountTitle?: string;
324
338
  /** Billing period start date
325
339
  *
326
340
  * @type {DATE}
@@ -154,6 +154,10 @@ var InvoiceItemPropertyKeys;
154
154
  InvoiceItemPropertyKeys["OrderTitle"] = "OrderTitle";
155
155
  /** Source order ID that this line item originated from. Used in account-based invoices to group and filter items by their source order. Enables per-order subtotals on consolidated invoices. */
156
156
  InvoiceItemPropertyKeys["OrderRef"] = "OrderRef";
157
+ /** Source sub-account of a (RESELLER/TENANT) account */
158
+ InvoiceItemPropertyKeys["SubAccountRef"] = "SubAccountRef";
159
+ /** The title of the sub-account */
160
+ InvoiceItemPropertyKeys["SubAccountTitle"] = "SubAccountTitle";
157
161
  /** Billing period start date */
158
162
  InvoiceItemPropertyKeys["BillingPeriodStart"] = "BillingPeriodStart";
159
163
  /** Billing period end date */
@@ -128,6 +128,8 @@ export declare enum MultipleAccountPropertyKeys {
128
128
  BillingDay = "BillingDay",
129
129
  /** VerificationCode */
130
130
  VerificationCode = "VerificationCode",
131
+ /** For SERVICE under RESELLER/TENANT */
132
+ ParentAccountRef = "ParentAccountRef",
131
133
  /** the billing address */
132
134
  AddressId = "AddressId"
133
135
  }
@@ -189,6 +191,11 @@ export interface MultipleAccountProperties {
189
191
  * @type {TEXT}
190
192
  */
191
193
  VerificationCode?: string;
194
+ /** For SERVICE under RESELLER/TENANT
195
+ *
196
+ * @type {UUID}
197
+ */
198
+ ParentAccountRef?: string;
192
199
  /** the billing address
193
200
  *
194
201
  * @type {LOOKUP}
@@ -124,6 +124,8 @@ var MultipleAccountPropertyKeys;
124
124
  MultipleAccountPropertyKeys["BillingDay"] = "BillingDay";
125
125
  /** VerificationCode */
126
126
  MultipleAccountPropertyKeys["VerificationCode"] = "VerificationCode";
127
+ /** For SERVICE under RESELLER/TENANT */
128
+ MultipleAccountPropertyKeys["ParentAccountRef"] = "ParentAccountRef";
127
129
  /** the billing address */
128
130
  MultipleAccountPropertyKeys["AddressId"] = "AddressId";
129
131
  })(MultipleAccountPropertyKeys = exports.MultipleAccountPropertyKeys || (exports.MultipleAccountPropertyKeys = {}));
@@ -21,19 +21,6 @@ export declare enum OhInstallationAuditEntityTypes {
21
21
  /** outcome form */
22
22
  OUTCOME_FORM = "OUTCOME_FORM"
23
23
  }
24
- /**
25
- * Valid values for OhInstallationAudit.CableLabeledWithPIANO
26
- *
27
- * Select
28
- *
29
- * @remarks Available options:
30
- * - `YES` - Yes
31
- * - `NO` - No
32
- */
33
- export declare enum OhInstallationAuditCableLabeledWithPIANO {
34
- YES = "YES",
35
- NO = "NO"
36
- }
37
24
  /**
38
25
  * Valid values for OhInstallationAudit.ONTLocationDiscussed
39
26
  *
@@ -155,19 +142,6 @@ export declare enum OhInstallationAuditCableCleated {
155
142
  YES = "YES",
156
143
  NO = "NO"
157
144
  }
158
- /**
159
- * Valid values for OhInstallationAudit.ExternalTerminationBoxFitted
160
- *
161
- * Select
162
- *
163
- * @remarks Available options:
164
- * - `YES` - Yes
165
- * - `NO` - No
166
- */
167
- export declare enum OhInstallationAuditExternalTerminationBoxFitted {
168
- YES = "YES",
169
- NO = "NO"
170
- }
171
145
  /**
172
146
  * Valid values for OhInstallationAudit.YouMeshInstalled
173
147
  *
@@ -326,27 +300,49 @@ export declare enum OhInstallationAuditAgreedToRouting {
326
300
  TRUE = "TRUE",
327
301
  FALSE = "FALSE"
328
302
  }
303
+ /**
304
+ * Valid values for OhInstallationAudit.ExternalTerminationBoxFitted
305
+ *
306
+ * Select
307
+ *
308
+ * @remarks Available options:
309
+ * - `YES` - Yes
310
+ * - `NO` - No
311
+ */
312
+ export declare enum OhInstallationAuditExternalTerminationBoxFitted {
313
+ YES = "YES",
314
+ NO = "NO"
315
+ }
316
+ /**
317
+ * Valid values for OhInstallationAudit.CableLabeledWithPIANO
318
+ *
319
+ * Select
320
+ *
321
+ * @remarks Available options:
322
+ * - `YES` - Yes
323
+ * - `NO` - No
324
+ */
325
+ export declare enum OhInstallationAuditCableLabeledWithPIANO {
326
+ YES = "YES",
327
+ NO = "NO"
328
+ }
329
329
  /**
330
330
  * Property keys for OhInstallationAudit
331
331
  * Use these constants instead of string literals for type safety
332
332
  */
333
333
  export declare enum OhInstallationAuditPropertyKeys {
334
- /** Add image */
335
- RedLightTestPhoto = "RedLightTestPhoto",
336
- /** Select */
337
- CableLabeledWithPiano = "CableLabeledWithPIANO",
334
+ /** Statement */
335
+ Statement2 = "Statement2",
338
336
  /** Warning */
339
337
  Statement1 = "Statement1",
340
338
  /** Add image */
341
- OutsideImage = "OutsideImage",
342
- /** Add image */
343
339
  OntImage = "ONTImage",
344
340
  /** Add image */
341
+ OutsideImage = "OutsideImage",
342
+ /** Add image */
345
343
  RouterImage = "RouterImage",
346
344
  /** Enter number */
347
345
  NumberOfRooms = "NumberOfRooms",
348
- /** Statement */
349
- Statement2 = "Statement2",
350
346
  /** Add image */
351
347
  PreviousWiFiResults = "PreviousWiFiResults",
352
348
  /** Add image */
@@ -383,8 +379,6 @@ export declare enum OhInstallationAuditPropertyKeys {
383
379
  CableCleated = "CableCleated",
384
380
  /** Add image */
385
381
  CableCleatedPhoto = "CableCleatedPhoto",
386
- /** Select */
387
- ExternalTerminationBoxFitted = "ExternalTerminationBoxFitted",
388
382
  /** Add image */
389
383
  LightReadingEvidence = "LightReadingEvidence",
390
384
  /** Add image */
@@ -396,12 +390,12 @@ export declare enum OhInstallationAuditPropertyKeys {
396
390
  /** Add image */
397
391
  CtuCableManagement = "CTUCableManagement",
398
392
  /** Add image */
393
+ RouterInPosition = "RouterInPosition",
394
+ /** Add image */
399
395
  InternalCableRun = "InternalCableRun",
400
396
  /** Add image */
401
397
  OntWallMounted = "ONTWallMounted",
402
398
  /** Add image */
403
- RouterInPosition = "RouterInPosition",
404
- /** Add image */
405
399
  OpticalPowerReading = "OpticalPowerReading",
406
400
  /** Add image */
407
401
  LightMeterPowerReading = "LightMeterPowerReading",
@@ -430,6 +424,8 @@ export declare enum OhInstallationAuditPropertyKeys {
430
424
  /** Add image */
431
425
  SpeedTestEvidence = "SpeedTestEvidence",
432
426
  /** Text */
427
+ CustomerSignOff = "CustomerSignOff",
428
+ /** Text */
433
429
  ConfirmationStatementsTrue = "ConfirmationStatementsTrue",
434
430
  /** Select */
435
431
  SpeedTestCarriedOutPrior = "SpeedTestCarriedOutPrior",
@@ -439,8 +435,6 @@ export declare enum OhInstallationAuditPropertyKeys {
439
435
  BetterSpeedThanLastProvider = "BetterSpeedThanLastProvider",
440
436
  /** Select */
441
437
  CustomerInformed = "CustomerInformed",
442
- /** Text */
443
- CustomerSignOff = "CustomerSignOff",
444
438
  /** Select */
445
439
  CustomerHappyCoverage = "CustomerHappyCoverage",
446
440
  /** Select */
@@ -452,7 +446,13 @@ export declare enum OhInstallationAuditPropertyKeys {
452
446
  /** Add here */
453
447
  CustomerSignature = "CustomerSignature",
454
448
  /** Add here */
455
- EngineerSignature = "EngineerSignature"
449
+ EngineerSignature = "EngineerSignature",
450
+ /** Select */
451
+ ExternalTerminationBoxFitted = "ExternalTerminationBoxFitted",
452
+ /** Add image */
453
+ RedLightTestPhoto = "RedLightTestPhoto",
454
+ /** Select */
455
+ CableLabeledWithPiano = "CableLabeledWithPIANO"
456
456
  }
457
457
  /**
458
458
  * Properties for OhInstallationAudit records
@@ -460,17 +460,11 @@ export declare enum OhInstallationAuditPropertyKeys {
460
460
  * @see FieldServiceModule:OhInstallationAudit
461
461
  */
462
462
  export interface OhInstallationAuditProperties {
463
- /** Add image
464
- *
465
- * @type {FILE_MULTIPLE}
466
- */
467
- RedLightTestPhoto?: string;
468
- /** Select
463
+ /** Statement
469
464
  *
470
- * @type {ENUM}
471
- * @enum {OhInstallationAuditCableLabeledWithPIANO}
465
+ * @type {TEXT}
472
466
  */
473
- CableLabeledWithPiano?: OhInstallationAuditCableLabeledWithPIANO;
467
+ Statement2?: string;
474
468
  /** Warning
475
469
  *
476
470
  * @type {TEXT}
@@ -480,12 +474,12 @@ export interface OhInstallationAuditProperties {
480
474
  *
481
475
  * @type {FILE_MULTIPLE}
482
476
  */
483
- OutsideImage?: string;
477
+ OntImage?: string;
484
478
  /** Add image
485
479
  *
486
480
  * @type {FILE_MULTIPLE}
487
481
  */
488
- OntImage?: string;
482
+ OutsideImage?: string;
489
483
  /** Add image
490
484
  *
491
485
  * @type {FILE_MULTIPLE}
@@ -496,11 +490,6 @@ export interface OhInstallationAuditProperties {
496
490
  * @type {NUMBER}
497
491
  */
498
492
  NumberOfRooms?: number;
499
- /** Statement
500
- *
501
- * @type {TEXT}
502
- */
503
- Statement2?: string;
504
493
  /** Add image
505
494
  *
506
495
  * @type {FILE_MULTIPLE}
@@ -600,12 +589,6 @@ export interface OhInstallationAuditProperties {
600
589
  * @type {FILE_MULTIPLE}
601
590
  */
602
591
  CableCleatedPhoto?: string;
603
- /** Select
604
- *
605
- * @type {ENUM}
606
- * @enum {OhInstallationAuditExternalTerminationBoxFitted}
607
- */
608
- ExternalTerminationBoxFitted?: OhInstallationAuditExternalTerminationBoxFitted;
609
592
  /** Add image
610
593
  *
611
594
  * @type {FILE_MULTIPLE}
@@ -635,17 +618,17 @@ export interface OhInstallationAuditProperties {
635
618
  *
636
619
  * @type {FILE_MULTIPLE}
637
620
  */
638
- InternalCableRun?: string;
621
+ RouterInPosition?: string;
639
622
  /** Add image
640
623
  *
641
624
  * @type {FILE_MULTIPLE}
642
625
  */
643
- OntWallMounted?: string;
626
+ InternalCableRun?: string;
644
627
  /** Add image
645
628
  *
646
629
  * @type {FILE_MULTIPLE}
647
630
  */
648
- RouterInPosition?: string;
631
+ OntWallMounted?: string;
649
632
  /** Add image
650
633
  *
651
634
  * @type {FILE_MULTIPLE}
@@ -720,6 +703,11 @@ export interface OhInstallationAuditProperties {
720
703
  * @type {FILE_MULTIPLE}
721
704
  */
722
705
  SpeedTestEvidence?: string;
706
+ /** Text
707
+ *
708
+ * @type {TEXT}
709
+ */
710
+ CustomerSignOff?: string;
723
711
  /** Text
724
712
  *
725
713
  * @type {TEXT}
@@ -749,11 +737,6 @@ export interface OhInstallationAuditProperties {
749
737
  * @enum {OhInstallationAuditCustomerInformed}
750
738
  */
751
739
  CustomerInformed?: OhInstallationAuditCustomerInformed;
752
- /** Text
753
- *
754
- * @type {TEXT}
755
- */
756
- CustomerSignOff?: string;
757
740
  /** Select
758
741
  *
759
742
  * @type {ENUM}
@@ -788,6 +771,23 @@ export interface OhInstallationAuditProperties {
788
771
  * @type {SIGNATURE}
789
772
  */
790
773
  EngineerSignature?: string;
774
+ /** Select
775
+ *
776
+ * @type {ENUM}
777
+ * @enum {OhInstallationAuditExternalTerminationBoxFitted}
778
+ */
779
+ ExternalTerminationBoxFitted?: OhInstallationAuditExternalTerminationBoxFitted;
780
+ /** Add image
781
+ *
782
+ * @type {FILE_MULTIPLE}
783
+ */
784
+ RedLightTestPhoto?: string;
785
+ /** Select
786
+ *
787
+ * @type {ENUM}
788
+ * @enum {OhInstallationAuditCableLabeledWithPIANO}
789
+ */
790
+ CableLabeledWithPiano?: OhInstallationAuditCableLabeledWithPIANO;
791
791
  }
792
792
  /**
793
793
  * OhInstallationAudit entity from FieldServiceModule