@d19n/youfibre-odin-sdk 1.0.232 → 1.0.234

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.
@@ -14,8 +14,8 @@ import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/di
14
14
  /**
15
15
  * Properties for CreateRecontractOrder action
16
16
  *
17
- * @property Required fields: 10
18
- * @property Optional fields: 3
17
+ * @property Required fields: 8
18
+ * @property Optional fields: 4
19
19
  */
20
20
  export interface CreateRecontractOrderProperties {
21
21
  /**
@@ -86,22 +86,6 @@ export interface CreateRecontractOrderProperties {
86
86
  * @required
87
87
  */
88
88
  BillingTerms: string;
89
- /**
90
- * UDPRN
91
- *
92
- * unique delivery point reference number
93
- * @type {NUMBER}
94
- * @required
95
- */
96
- Udprn: number;
97
- /**
98
- * UMPRN
99
- *
100
- * unique multiple point reference number
101
- * @type {NUMBER}
102
- * @required
103
- */
104
- Umprn: number;
105
89
  /**
106
90
  * Source
107
91
  *
@@ -123,6 +107,13 @@ export interface CreateRecontractOrderProperties {
123
107
  * @type {ENUM}
124
108
  */
125
109
  Provider?: string;
110
+ /**
111
+ * CurrencyCode
112
+ *
113
+ * Currency code
114
+ * @type {ENUM}
115
+ */
116
+ CurrencyCode?: string;
126
117
  }
127
118
  /**
128
119
  * CreateRecontractOrder
@@ -71,18 +71,18 @@ export declare enum CreditNoteReason {
71
71
  * Use these constants instead of string literals for type safety
72
72
  */
73
73
  export declare enum CreditNotePropertyKeys {
74
- /** amount of the credit note */
75
- Amount = "Amount",
76
74
  /** description of the credit note */
77
75
  Description = "Description",
76
+ /** amount of the credit note */
77
+ Amount = "Amount",
78
+ /** credit note status */
79
+ Status = "Status",
78
80
  /** the record # of the invoice */
79
81
  InvoiceRef = "InvoiceRef",
80
- /** credit note reason */
81
- Reason = "Reason",
82
82
  /** reason code */
83
83
  ReasonCode = "ReasonCode",
84
- /** credit note status */
85
- Status = "Status"
84
+ /** credit note reason */
85
+ Reason = "Reason"
86
86
  }
87
87
  /**
88
88
  * Properties for CreditNote records
@@ -90,40 +90,40 @@ export declare enum CreditNotePropertyKeys {
90
90
  * @see BillingModule:CreditNote
91
91
  */
92
92
  export interface CreditNoteProperties {
93
+ /** description of the credit note
94
+ *
95
+ * @type {TEXT_LONG}
96
+ */
97
+ Description?: string;
93
98
  /** amount of the credit note
94
99
  *
95
100
  * @type {CURRENCY}
96
101
  * @default 0
97
102
  */
98
103
  Amount?: string;
99
- /** description of the credit note
104
+ /** credit note status
100
105
  *
101
- * @type {TEXT_LONG}
106
+ * @type {TEXT}
107
+ * @hidden This field is hidden in the UI
102
108
  */
103
- Description?: string;
109
+ Status?: string;
104
110
  /** the record # of the invoice
105
111
  *
106
112
  * @type {TEXT}
107
113
  */
108
114
  InvoiceRef?: string;
109
- /** credit note reason
110
- *
111
- * @type {ENUM}
112
- * @enum {CreditNoteReason}
113
- */
114
- Reason?: CreditNoteReason;
115
115
  /** reason code
116
116
  *
117
117
  * @type {TEXT}
118
118
  * @hidden This field is hidden in the UI
119
119
  */
120
120
  ReasonCode?: string;
121
- /** credit note status
121
+ /** credit note reason
122
122
  *
123
- * @type {TEXT}
124
- * @hidden This field is hidden in the UI
123
+ * @type {ENUM}
124
+ * @enum {CreditNoteReason}
125
125
  */
126
- Status?: string;
126
+ Reason?: CreditNoteReason;
127
127
  }
128
128
  /**
129
129
  * CreditNote entity from BillingModule
@@ -73,18 +73,18 @@ var CreditNoteReason;
73
73
  */
74
74
  var CreditNotePropertyKeys;
75
75
  (function (CreditNotePropertyKeys) {
76
- /** amount of the credit note */
77
- CreditNotePropertyKeys["Amount"] = "Amount";
78
76
  /** description of the credit note */
79
77
  CreditNotePropertyKeys["Description"] = "Description";
78
+ /** amount of the credit note */
79
+ CreditNotePropertyKeys["Amount"] = "Amount";
80
+ /** credit note status */
81
+ CreditNotePropertyKeys["Status"] = "Status";
80
82
  /** the record # of the invoice */
81
83
  CreditNotePropertyKeys["InvoiceRef"] = "InvoiceRef";
82
- /** credit note reason */
83
- CreditNotePropertyKeys["Reason"] = "Reason";
84
84
  /** reason code */
85
85
  CreditNotePropertyKeys["ReasonCode"] = "ReasonCode";
86
- /** credit note status */
87
- CreditNotePropertyKeys["Status"] = "Status";
86
+ /** credit note reason */
87
+ CreditNotePropertyKeys["Reason"] = "Reason";
88
88
  })(CreditNotePropertyKeys = exports.CreditNotePropertyKeys || (exports.CreditNotePropertyKeys = {}));
89
89
  /**
90
90
  * CreditNote entity from BillingModule
@@ -348,6 +348,8 @@ export declare enum OrderPropertyKeys {
348
348
  BillingTerms = "BillingTerms",
349
349
  /** unique multiple point reference number */
350
350
  Umprn = "UMPRN",
351
+ /** Uprn */
352
+ Uprn = "Uprn",
351
353
  /** referral email */
352
354
  ReferralEmail = "ReferralEmail",
353
355
  /** network provider */
@@ -395,7 +397,6 @@ export interface OrderProperties {
395
397
  * @type {ENUM}
396
398
  * @default GBP
397
399
  * @enum {OrderCurrencyCode}
398
- * @hidden This field is hidden in the UI
399
400
  */
400
401
  CurrencyCode?: OrderCurrencyCode;
401
402
  /** Billing start date
@@ -839,6 +840,11 @@ export interface OrderProperties {
839
840
  * @default 0
840
841
  */
841
842
  Umprn?: number;
843
+ /** Uprn
844
+ *
845
+ * @type {NUMBER}
846
+ */
847
+ Uprn?: number;
842
848
  /** referral email
843
849
  *
844
850
  * @type {TEXT}
@@ -330,6 +330,8 @@ var OrderPropertyKeys;
330
330
  OrderPropertyKeys["BillingTerms"] = "BillingTerms";
331
331
  /** unique multiple point reference number */
332
332
  OrderPropertyKeys["Umprn"] = "UMPRN";
333
+ /** Uprn */
334
+ OrderPropertyKeys["Uprn"] = "Uprn";
333
335
  /** referral email */
334
336
  OrderPropertyKeys["ReferralEmail"] = "ReferralEmail";
335
337
  /** network provider */
@@ -21,52 +21,6 @@ export declare enum OverlayRealA55EntityTypes {
21
21
  /** outcome form */
22
22
  OUTCOME_FORM = "OUTCOME_FORM"
23
23
  }
24
- /**
25
- * Valid values for OverlayRealA55.PointBLocation
26
- *
27
- * Select
28
- *
29
- * @remarks Available options:
30
- * - `CUSTOMER_PROPERTY` - Customer Property
31
- * - `CHAMBER` - Chamber
32
- * - `POLE` - Pole
33
- */
34
- export declare enum OverlayRealA55PointBLocation {
35
- CUSTOMER_PROPERTY = "CUSTOMER_PROPERTY",
36
- CHAMBER = "CHAMBER",
37
- POLE = "POLE"
38
- }
39
- /**
40
- * Valid values for OverlayRealA55.ChamberTypePointB
41
- *
42
- * Select
43
- *
44
- * @remarks Available options:
45
- * - `JUF2`
46
- * - `JUF10`
47
- * - `JRC12` - JRC12 (C/W 2 Lids)
48
- * - `JRC14` - JRC14 (C/W 3 Lids)
49
- * - `CW1` - CW1 (C/W Manhole)
50
- * - `DUCT_MOUTH_AT_PROPERTY` - Duct Mouth at Property
51
- * - `LOCKED_CHAMBER` - Locked Chamber
52
- * - `HOLLOW_POLE` - Hollow Pole
53
- * - `JUF4`
54
- * - `JUF6`
55
- * - `M/H`
56
- */
57
- export declare enum OverlayRealA55ChamberTypePointB {
58
- JUF2 = "JUF2",
59
- JUF10 = "JUF10",
60
- JRC12_C_W_2_LIDS = "JRC12",
61
- JRC14_C_W_3_LIDS = "JRC14",
62
- CW1_C_W_MANHOLE = "CW1",
63
- DUCT_MOUTH_AT_PROPERTY = "DUCT_MOUTH_AT_PROPERTY",
64
- LOCKED_CHAMBER = "LOCKED_CHAMBER",
65
- HOLLOW_POLE = "HOLLOW_POLE",
66
- JUF4 = "JUF4",
67
- JUF6 = "JUF6",
68
- M_H = "M/H"
69
- }
70
24
  /**
71
25
  * Valid values for OverlayRealA55.OverlayLocation
72
26
  *
@@ -80,19 +34,6 @@ export declare enum OverlayRealA55OverlayLocation {
80
34
  PRIVATE_LAND = "PRIVATE_LAND",
81
35
  PUBLIC_LAND = "PUBLIC_LAND"
82
36
  }
83
- /**
84
- * Valid values for OverlayRealA55.PointBTobyRequired
85
- *
86
- * Select
87
- *
88
- * @remarks Available options:
89
- * - `YES` - Yes
90
- * - `NO` - No
91
- */
92
- export declare enum OverlayRealA55PointBTobyRequired {
93
- YES = "YES",
94
- NO = "NO"
95
- }
96
37
  /**
97
38
  * Valid values for OverlayRealA55.SurfaceType
98
39
  *
@@ -152,6 +93,65 @@ export declare enum OverlayRealA55ChamberTypePointA {
152
93
  JUF6 = "JUF6",
153
94
  M_H = "M/H"
154
95
  }
96
+ /**
97
+ * Valid values for OverlayRealA55.PointBLocation
98
+ *
99
+ * Select
100
+ *
101
+ * @remarks Available options:
102
+ * - `CUSTOMER_PROPERTY` - Customer Property
103
+ * - `CHAMBER` - Chamber
104
+ * - `POLE` - Pole
105
+ */
106
+ export declare enum OverlayRealA55PointBLocation {
107
+ CUSTOMER_PROPERTY = "CUSTOMER_PROPERTY",
108
+ CHAMBER = "CHAMBER",
109
+ POLE = "POLE"
110
+ }
111
+ /**
112
+ * Valid values for OverlayRealA55.ChamberTypePointB
113
+ *
114
+ * Select
115
+ *
116
+ * @remarks Available options:
117
+ * - `JUF2`
118
+ * - `JUF10`
119
+ * - `JRC12` - JRC12 (C/W 2 Lids)
120
+ * - `JRC14` - JRC14 (C/W 3 Lids)
121
+ * - `CW1` - CW1 (C/W Manhole)
122
+ * - `DUCT_MOUTH_AT_PROPERTY` - Duct Mouth at Property
123
+ * - `LOCKED_CHAMBER` - Locked Chamber
124
+ * - `HOLLOW_POLE` - Hollow Pole
125
+ * - `JUF4`
126
+ * - `JUF6`
127
+ * - `M/H`
128
+ */
129
+ export declare enum OverlayRealA55ChamberTypePointB {
130
+ JUF2 = "JUF2",
131
+ JUF10 = "JUF10",
132
+ JRC12_C_W_2_LIDS = "JRC12",
133
+ JRC14_C_W_3_LIDS = "JRC14",
134
+ CW1_C_W_MANHOLE = "CW1",
135
+ DUCT_MOUTH_AT_PROPERTY = "DUCT_MOUTH_AT_PROPERTY",
136
+ LOCKED_CHAMBER = "LOCKED_CHAMBER",
137
+ HOLLOW_POLE = "HOLLOW_POLE",
138
+ JUF4 = "JUF4",
139
+ JUF6 = "JUF6",
140
+ M_H = "M/H"
141
+ }
142
+ /**
143
+ * Valid values for OverlayRealA55.PointBTobyRequired
144
+ *
145
+ * Select
146
+ *
147
+ * @remarks Available options:
148
+ * - `YES` - Yes
149
+ * - `NO` - No
150
+ */
151
+ export declare enum OverlayRealA55PointBTobyRequired {
152
+ YES = "YES",
153
+ NO = "NO"
154
+ }
155
155
  /**
156
156
  * Valid values for OverlayRealA55.MinimumFootwayDistanceMaintained
157
157
  *
@@ -204,38 +204,30 @@ export declare enum OverlayRealA55PropertyKeys {
204
204
  ExchangeName = "ExchangeName",
205
205
  /** Engineer Name */
206
206
  EngineerName = "EngineerName",
207
- /** Select */
208
- PointBLocation = "PointBLocation",
209
- /** Select */
210
- ChamberTypePointB = "ChamberTypePointB",
211
- /** Overlay Details */
212
- OverlayDetails = "OverlayDetails",
213
- /** Select */
214
- OverlayLocation = "OverlayLocation",
215
- /** Write here */
216
- HowMuchOverlayRequired = "HowMuchOverlayRequired",
217
- /** Add image */
218
- OverlayRequiredPerspectiveViewPicture = "OverlayRequiredPerspectiveViewPicture",
219
- /** Select */
220
- PointBTobyRequired = "PointBTobyRequired",
221
- /** Add image */
222
- PointBTobyLocation = "PointBTobyLocation",
223
- /** Add image */
224
- NetomniaOdinImageSuggestedRoute = "NetomniaOdinImageSuggestedRoute",
225
- /** Write here */
226
- Udprn = "UDPRN",
227
207
  /** Enter */
228
208
  WorkOrderNumber = "WorkOrderNumber",
229
209
  /** Write here */
230
210
  FullAddress = "FullAddress",
231
211
  /** Write here */
232
212
  PianoiNumber = "PIANOINumber",
213
+ /** Write here */
214
+ Udprn = "UDPRN",
215
+ /** Overlay Details */
216
+ OverlayDetails = "OverlayDetails",
217
+ /** Select */
218
+ OverlayLocation = "OverlayLocation",
233
219
  /** Select */
234
220
  SurfaceType = "SurfaceType",
221
+ /** Write here */
222
+ HowMuchOverlayRequired = "HowMuchOverlayRequired",
223
+ /** Add image */
224
+ OverlayRequiredPerspectiveViewPicture = "OverlayRequiredPerspectiveViewPicture",
235
225
  /** Point A Details */
236
226
  PointADetails = "PointADetails",
237
227
  /** Select */
238
228
  PointALocation = "PointALocation",
229
+ /** Select */
230
+ ChamberTypePointA = "ChamberTypePointA",
239
231
  /** Add image */
240
232
  PointAImageSurrounding = "PointAImageSurrounding",
241
233
  /** Add image */
@@ -247,13 +239,21 @@ export declare enum OverlayRealA55PropertyKeys {
247
239
  /** Point B Details */
248
240
  PointBDetails = "PointBDetails",
249
241
  /** Select */
250
- ChamberTypePointA = "ChamberTypePointA",
242
+ PointBLocation = "PointBLocation",
243
+ /** Select */
244
+ ChamberTypePointB = "ChamberTypePointB",
245
+ /** Select */
246
+ PointBTobyRequired = "PointBTobyRequired",
247
+ /** Add image */
248
+ PointBTobyLocation = "PointBTobyLocation",
251
249
  /** text */
252
250
  FurtherDetails = "FurtherDetails",
253
251
  /** Select */
254
252
  MinimumFootwayDistanceMaintained = "MinimumFootwayDistanceMaintained",
255
253
  /** Select */
256
254
  CarriagewayIncursionRequired = "CarriagewayIncursionRequired",
255
+ /** Add image */
256
+ NetomniaOdinImageSuggestedRoute = "NetomniaOdinImageSuggestedRoute",
257
257
  /** Customer Information */
258
258
  CustomerInformation = "CustomerInformation",
259
259
  /** Select */
@@ -287,18 +287,26 @@ export interface OverlayRealA55Properties {
287
287
  * @type {TEXT}
288
288
  */
289
289
  EngineerName?: string;
290
- /** Select
290
+ /** Enter
291
291
  *
292
- * @type {ENUM}
293
- * @enum {OverlayRealA55PointBLocation}
292
+ * @type {TEXT}
294
293
  */
295
- PointBLocation?: OverlayRealA55PointBLocation;
296
- /** Select
294
+ WorkOrderNumber?: string;
295
+ /** Write here
297
296
  *
298
- * @type {ENUM}
299
- * @enum {OverlayRealA55ChamberTypePointB}
297
+ * @type {TEXT}
300
298
  */
301
- ChamberTypePointB?: OverlayRealA55ChamberTypePointB;
299
+ FullAddress?: string;
300
+ /** Write here
301
+ *
302
+ * @type {TEXT}
303
+ */
304
+ PianoiNumber?: string;
305
+ /** Write here
306
+ *
307
+ * @type {TEXT}
308
+ */
309
+ Udprn?: string;
302
310
  /** Overlay Details
303
311
  *
304
312
  * @type {TEXT}
@@ -310,58 +318,22 @@ export interface OverlayRealA55Properties {
310
318
  * @enum {OverlayRealA55OverlayLocation}
311
319
  */
312
320
  OverlayLocation?: OverlayRealA55OverlayLocation;
313
- /** Write here
314
- *
315
- * @type {NUMBER}
316
- */
317
- HowMuchOverlayRequired?: number;
318
- /** Add image
319
- *
320
- * @type {FILE_MULTIPLE}
321
- */
322
- OverlayRequiredPerspectiveViewPicture?: string;
323
321
  /** Select
324
322
  *
325
323
  * @type {ENUM}
326
- * @enum {OverlayRealA55PointBTobyRequired}
324
+ * @enum {OverlayRealA55SurfaceType}
327
325
  */
328
- PointBTobyRequired?: OverlayRealA55PointBTobyRequired;
329
- /** Add image
326
+ SurfaceType?: OverlayRealA55SurfaceType;
327
+ /** Write here
330
328
  *
331
- * @type {FILE_MULTIPLE}
329
+ * @type {NUMBER}
332
330
  */
333
- PointBTobyLocation?: string;
331
+ HowMuchOverlayRequired?: number;
334
332
  /** Add image
335
333
  *
336
334
  * @type {FILE_MULTIPLE}
337
335
  */
338
- NetomniaOdinImageSuggestedRoute?: string;
339
- /** Write here
340
- *
341
- * @type {TEXT}
342
- */
343
- Udprn?: string;
344
- /** Enter
345
- *
346
- * @type {TEXT}
347
- */
348
- WorkOrderNumber?: string;
349
- /** Write here
350
- *
351
- * @type {TEXT}
352
- */
353
- FullAddress?: string;
354
- /** Write here
355
- *
356
- * @type {TEXT}
357
- */
358
- PianoiNumber?: string;
359
- /** Select
360
- *
361
- * @type {ENUM}
362
- * @enum {OverlayRealA55SurfaceType}
363
- */
364
- SurfaceType?: OverlayRealA55SurfaceType;
336
+ OverlayRequiredPerspectiveViewPicture?: string;
365
337
  /** Point A Details
366
338
  *
367
339
  * @type {TEXT}
@@ -373,6 +345,12 @@ export interface OverlayRealA55Properties {
373
345
  * @enum {OverlayRealA55PointALocation}
374
346
  */
375
347
  PointALocation?: OverlayRealA55PointALocation;
348
+ /** Select
349
+ *
350
+ * @type {ENUM}
351
+ * @enum {OverlayRealA55ChamberTypePointA}
352
+ */
353
+ ChamberTypePointA?: OverlayRealA55ChamberTypePointA;
376
354
  /** Add image
377
355
  *
378
356
  * @type {FILE_MULTIPLE}
@@ -401,9 +379,26 @@ export interface OverlayRealA55Properties {
401
379
  /** Select
402
380
  *
403
381
  * @type {ENUM}
404
- * @enum {OverlayRealA55ChamberTypePointA}
382
+ * @enum {OverlayRealA55PointBLocation}
405
383
  */
406
- ChamberTypePointA?: OverlayRealA55ChamberTypePointA;
384
+ PointBLocation?: OverlayRealA55PointBLocation;
385
+ /** Select
386
+ *
387
+ * @type {ENUM}
388
+ * @enum {OverlayRealA55ChamberTypePointB}
389
+ */
390
+ ChamberTypePointB?: OverlayRealA55ChamberTypePointB;
391
+ /** Select
392
+ *
393
+ * @type {ENUM}
394
+ * @enum {OverlayRealA55PointBTobyRequired}
395
+ */
396
+ PointBTobyRequired?: OverlayRealA55PointBTobyRequired;
397
+ /** Add image
398
+ *
399
+ * @type {FILE_MULTIPLE}
400
+ */
401
+ PointBTobyLocation?: string;
407
402
  /** text
408
403
  *
409
404
  * @type {TEXT}
@@ -421,6 +416,11 @@ export interface OverlayRealA55Properties {
421
416
  * @enum {OverlayRealA55CarriagewayIncursionRequired}
422
417
  */
423
418
  CarriagewayIncursionRequired?: OverlayRealA55CarriagewayIncursionRequired;
419
+ /** Add image
420
+ *
421
+ * @type {FILE_MULTIPLE}
422
+ */
423
+ NetomniaOdinImageSuggestedRoute?: string;
424
424
  /** Customer Information
425
425
  *
426
426
  * @type {TEXT}