@d19n/youfibre-odin-sdk 2.0.263 → 2.0.264

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.
@@ -23,7 +23,9 @@ export declare enum FieldServiceProductEntityTypes {
23
23
  /** Mesh */
24
24
  MESH = "MESH",
25
25
  /** MISC */
26
- MISC = "MISC"
26
+ MISC = "MISC",
27
+ /** Return Bag */
28
+ RETURNS_BAG = "RETURNS_BAG"
27
29
  }
28
30
  /**
29
31
  * Valid values for FieldServiceProduct.DefaultShippingMethod
@@ -344,6 +346,67 @@ export interface MiscFieldServiceProductProperties {
344
346
  */
345
347
  Providers: string;
346
348
  }
349
+ /**
350
+ * Properties for RETURNS_BAG FieldServiceProduct records
351
+ *
352
+ * @see FieldServiceModule:FieldServiceProduct
353
+ */
354
+ export interface ReturnsBagFieldServiceProductProperties {
355
+ /** The inventory Id of the product (Field Operations - FieldServiceProduct)
356
+ *
357
+ * @type {ALPHA_NUMERICAL}
358
+ */
359
+ InventoryId: string;
360
+ /** Default Shipping Method fpr the product (Field Operations - FieldServiceProduct)
361
+ *
362
+ * @type {ENUM}
363
+ * @default RM_48_NON_TRACKED
364
+ * @enum {FieldServiceProductDefaultShippingMethod}
365
+ */
366
+ DefaultShippingMethod: FieldServiceProductDefaultShippingMethod;
367
+ /** Name of the Product (Field Operations - FieldServiceProduct)
368
+ *
369
+ * @type {TEXT}
370
+ */
371
+ Name: string;
372
+ /** Vendor of the product (Field Operations - FieldServiceProduct)
373
+ *
374
+ * @type {ENUM}
375
+ * @enum {FieldServiceProductVendor}
376
+ */
377
+ Vendor: FieldServiceProductVendor;
378
+ /** Data field for FieldServiceProduct records. Used by Field Operations team.
379
+ *
380
+ * @type {BOOLEAN}
381
+ */
382
+ Active: boolean;
383
+ /** AvailableOnAllBroadbandProducts
384
+ *
385
+ * @type {BOOLEAN}
386
+ */
387
+ AvailableOnAllBroadbandProducts: boolean;
388
+ /** AvailableOnAllMeshProducts
389
+ *
390
+ * @type {BOOLEAN}
391
+ */
392
+ AvailableOnAllMeshProducts: boolean;
393
+ /** AvailableOnAllPhoneProducts
394
+ *
395
+ * @type {BOOLEAN}
396
+ */
397
+ AvailableOnAllPhoneProducts: boolean;
398
+ /** Customer Device Type (non router or mesh type used to create customer device links)
399
+ *
400
+ * @type {ENUM}
401
+ * @enum {FieldServiceProductCustomerDeviceType}
402
+ */
403
+ CustomerDeviceType: FieldServiceProductCustomerDeviceType;
404
+ /** Providers
405
+ *
406
+ * @type {ENUM_MULTI_SELECT}
407
+ */
408
+ Providers: string;
409
+ }
347
410
  /**
348
411
  * FieldServiceProduct entity from FieldServiceModule
349
412
  *
@@ -395,6 +458,12 @@ export declare const ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_CREATED = "FieldServ
395
458
  export declare const ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_UPDATED = "FieldServiceModule.FieldServiceProduct.MISC.SubDbRecordUpdated";
396
459
  /** MISC deleted */
397
460
  export declare const ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_DELETED = "FieldServiceModule.FieldServiceProduct.MISC.SubDbRecordDeleted";
461
+ /** Return Bag created */
462
+ export declare const ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_CREATED = "FieldServiceModule.FieldServiceProduct.RETURNS_BAG.SubDbRecordCreated";
463
+ /** Return Bag updated */
464
+ export declare const ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_UPDATED = "FieldServiceModule.FieldServiceProduct.RETURNS_BAG.SubDbRecordUpdated";
465
+ /** Return Bag deleted */
466
+ export declare const ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_DELETED = "FieldServiceModule.FieldServiceProduct.RETURNS_BAG.SubDbRecordDeleted";
398
467
  /** Event: FieldServiceProduct__CompatibleProducts link created */
399
468
  export declare const ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_CREATED = "FieldServiceModule.FieldServiceProduct.Product.SubDbRecordAssociationCreated";
400
469
  /** Event: FieldServiceProduct__CompatibleProducts link deleted */
@@ -12,7 +12,7 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_DELETED = exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CREATED = exports.FieldServiceProduct = exports.FieldServiceProductPropertyKeys = exports.FieldServiceProductCustomerDeviceType = exports.FieldServiceProductVendor = exports.FieldServiceProductDefaultShippingMethod = exports.FieldServiceProductEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_DELETED = exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CREATED = exports.FieldServiceProduct = exports.FieldServiceProductPropertyKeys = exports.FieldServiceProductCustomerDeviceType = exports.FieldServiceProductVendor = exports.FieldServiceProductDefaultShippingMethod = exports.FieldServiceProductEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for FieldServiceProduct records
@@ -25,6 +25,8 @@ var FieldServiceProductEntityTypes;
25
25
  FieldServiceProductEntityTypes["MESH"] = "MESH";
26
26
  /** MISC */
27
27
  FieldServiceProductEntityTypes["MISC"] = "MISC";
28
+ /** Return Bag */
29
+ FieldServiceProductEntityTypes["RETURNS_BAG"] = "RETURNS_BAG";
28
30
  })(FieldServiceProductEntityTypes = exports.FieldServiceProductEntityTypes || (exports.FieldServiceProductEntityTypes = {}));
29
31
  /**
30
32
  * Valid values for FieldServiceProduct.DefaultShippingMethod
@@ -150,6 +152,12 @@ exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_CREATED = 'FieldServiceModule.Fie
150
152
  exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_UPDATED = 'FieldServiceModule.FieldServiceProduct.MISC.SubDbRecordUpdated';
151
153
  /** MISC deleted */
152
154
  exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_DELETED = 'FieldServiceModule.FieldServiceProduct.MISC.SubDbRecordDeleted';
155
+ /** Return Bag created */
156
+ exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_CREATED = 'FieldServiceModule.FieldServiceProduct.RETURNS_BAG.SubDbRecordCreated';
157
+ /** Return Bag updated */
158
+ exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_UPDATED = 'FieldServiceModule.FieldServiceProduct.RETURNS_BAG.SubDbRecordUpdated';
159
+ /** Return Bag deleted */
160
+ exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_DELETED = 'FieldServiceModule.FieldServiceProduct.RETURNS_BAG.SubDbRecordDeleted';
153
161
  /** Event: FieldServiceProduct__CompatibleProducts link created */
154
162
  exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_CREATED = 'FieldServiceModule.FieldServiceProduct.Product.SubDbRecordAssociationCreated';
155
163
  /** Event: FieldServiceProduct__CompatibleProducts link deleted */
@@ -836,6 +836,8 @@ export declare class File extends OdinRecord<FileProperties> {
836
836
  type: FileEntityTypes;
837
837
  schemaId: '74510906-4af8-479c-862e-04a1bae015d7';
838
838
  properties: FileProperties;
839
+ /** Linked File records (ServiceVisitAudit__File) */
840
+ File: OdinLink<LinkedOdinRecord<FileProperties>>;
839
841
  /** Linked ServiceVisitAudit records (ServiceVisitAudit__File) */
840
842
  ServiceVisitAudit: OdinLink<LinkedOdinRecord<ServiceVisitAuditProperties>>;
841
843
  /** Linked BlockageA55 records (BlockageA55_File) */
@@ -1029,6 +1031,10 @@ export declare const ROUTING_KEY_FILE_OTDR_CREATED = "SchemaModule.File.OTDR.Sub
1029
1031
  export declare const ROUTING_KEY_FILE_OTDR_UPDATED = "SchemaModule.File.OTDR.SubDbRecordUpdated";
1030
1032
  /** OTDR evidence for L1 and L2 closures deleted */
1031
1033
  export declare const ROUTING_KEY_FILE_OTDR_DELETED = "SchemaModule.File.OTDR.SubDbRecordDeleted";
1034
+ /** Event: ServiceVisitAudit__File link created */
1035
+ export declare const ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_CREATED = "SchemaModule.File.File.SubDbRecordAssociationCreated";
1036
+ /** Event: ServiceVisitAudit__File link deleted */
1037
+ export declare const ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_DELETED = "SchemaModule.File.File.SubDbRecordAssociationDeleted";
1032
1038
  /** Event: File__Note link created */
1033
1039
  export declare const ROUTING_KEY_LINK_FILE_NOTE_CREATED = "SchemaModule.File.Note.SubDbRecordAssociationCreated";
1034
1040
  /** Event: File__Note link deleted */
@@ -12,7 +12,7 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_FILE_NOTE_DELETED = exports.ROUTING_KEY_LINK_FILE_NOTE_CREATED = exports.ROUTING_KEY_FILE_OTDR_DELETED = exports.ROUTING_KEY_FILE_OTDR_UPDATED = exports.ROUTING_KEY_FILE_OTDR_CREATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_DELETED = exports.ROUTING_KEY_FILE_OPENREACH_A55_UPDATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_CREATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_INVOICE_DELETED = exports.ROUTING_KEY_FILE_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_INVOICE_CREATED = exports.ROUTING_KEY_FILE_EMAIL_DELETED = exports.ROUTING_KEY_FILE_EMAIL_UPDATED = exports.ROUTING_KEY_FILE_EMAIL_CREATED = exports.ROUTING_KEY_FILE_DEFAULT_DELETED = exports.ROUTING_KEY_FILE_DEFAULT_UPDATED = exports.ROUTING_KEY_FILE_DEFAULT_CREATED = exports.ROUTING_KEY_FILE_CSV_DELETED = exports.ROUTING_KEY_FILE_CSV_UPDATED = exports.ROUTING_KEY_FILE_CSV_CREATED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_DELETED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_UPDATED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_CREATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_DELETED = exports.ROUTING_KEY_FILE_AFP_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_CREATED = exports.ROUTING_KEY_FILE_DELETED = exports.ROUTING_KEY_FILE_UPDATED = exports.ROUTING_KEY_FILE_CREATED = exports.File = exports.FilePropertyKeys = exports.FileCategory = exports.FileDevice = exports.FileDataStore = exports.FileEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_FILE_NOTE_DELETED = exports.ROUTING_KEY_LINK_FILE_NOTE_CREATED = exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_DELETED = exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_CREATED = exports.ROUTING_KEY_FILE_OTDR_DELETED = exports.ROUTING_KEY_FILE_OTDR_UPDATED = exports.ROUTING_KEY_FILE_OTDR_CREATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_DELETED = exports.ROUTING_KEY_FILE_OPENREACH_A55_UPDATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_CREATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_INVOICE_DELETED = exports.ROUTING_KEY_FILE_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_INVOICE_CREATED = exports.ROUTING_KEY_FILE_EMAIL_DELETED = exports.ROUTING_KEY_FILE_EMAIL_UPDATED = exports.ROUTING_KEY_FILE_EMAIL_CREATED = exports.ROUTING_KEY_FILE_DEFAULT_DELETED = exports.ROUTING_KEY_FILE_DEFAULT_UPDATED = exports.ROUTING_KEY_FILE_DEFAULT_CREATED = exports.ROUTING_KEY_FILE_CSV_DELETED = exports.ROUTING_KEY_FILE_CSV_UPDATED = exports.ROUTING_KEY_FILE_CSV_CREATED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_DELETED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_UPDATED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_CREATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_DELETED = exports.ROUTING_KEY_FILE_AFP_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_CREATED = exports.ROUTING_KEY_FILE_DELETED = exports.ROUTING_KEY_FILE_UPDATED = exports.ROUTING_KEY_FILE_CREATED = exports.File = exports.FilePropertyKeys = exports.FileCategory = exports.FileDevice = exports.FileDataStore = exports.FileEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for File records
@@ -194,6 +194,10 @@ exports.ROUTING_KEY_FILE_OTDR_CREATED = 'SchemaModule.File.OTDR.SubDbRecordCreat
194
194
  exports.ROUTING_KEY_FILE_OTDR_UPDATED = 'SchemaModule.File.OTDR.SubDbRecordUpdated';
195
195
  /** OTDR evidence for L1 and L2 closures deleted */
196
196
  exports.ROUTING_KEY_FILE_OTDR_DELETED = 'SchemaModule.File.OTDR.SubDbRecordDeleted';
197
+ /** Event: ServiceVisitAudit__File link created */
198
+ exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_CREATED = 'SchemaModule.File.File.SubDbRecordAssociationCreated';
199
+ /** Event: ServiceVisitAudit__File link deleted */
200
+ exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_DELETED = 'SchemaModule.File.File.SubDbRecordAssociationDeleted';
197
201
  /** Event: File__Note link created */
198
202
  exports.ROUTING_KEY_LINK_FILE_NOTE_CREATED = 'SchemaModule.File.Note.SubDbRecordAssociationCreated';
199
203
  /** Event: File__Note link deleted */
@@ -99,6 +99,8 @@ export declare enum OfferPropertyKeys {
99
99
  IsDefault = "IsDefault",
100
100
  /** code to retrieve offer (Product Management - Offer) */
101
101
  Code = "Code",
102
+ /** The Offer that customers currently on THIS offer recontract onto. Read by resolveRecontractOffer as the per-offer successor, taking precedence over the price-comparison fallback but NOT over an explicitly supplied offerId. Empty = no per-offer successor configured; resolution falls back to the IsDefaultWebsiteOffer / IsRecontractDefault comparison. */
103
+ RecontractOfferId = "RecontractOfferId",
102
104
  /** IsRecontractDefault */
103
105
  IsRecontractDefault = "IsRecontractDefault",
104
106
  /** IsDefaultWebsiteOffer */
@@ -178,6 +180,12 @@ export interface OfferProperties {
178
180
  * @type {TEXT}
179
181
  */
180
182
  Code: string;
183
+ /** The Offer that customers currently on THIS offer recontract onto. Read by resolveRecontractOffer as the per-offer successor, taking precedence over the price-comparison fallback but NOT over an explicitly supplied offerId. Empty = no per-offer successor configured; resolution falls back to the IsDefaultWebsiteOffer / IsRecontractDefault comparison.
184
+ *
185
+ * @type {LOOKUP}
186
+ * @default
187
+ */
188
+ RecontractOfferId: string;
181
189
  /** IsRecontractDefault
182
190
  *
183
191
  * @type {BOOLEAN}
@@ -264,6 +272,12 @@ export interface RecontractOfferProperties {
264
272
  * @type {TEXT}
265
273
  */
266
274
  Code: string;
275
+ /** The Offer that customers currently on THIS offer recontract onto. Read by resolveRecontractOffer as the per-offer successor, taking precedence over the price-comparison fallback but NOT over an explicitly supplied offerId. Empty = no per-offer successor configured; resolution falls back to the IsDefaultWebsiteOffer / IsRecontractDefault comparison.
276
+ *
277
+ * @type {LOOKUP}
278
+ * @default
279
+ */
280
+ RecontractOfferId: string;
267
281
  /** IsRecontractDefault
268
282
  *
269
283
  * @type {BOOLEAN}
@@ -350,6 +364,12 @@ export interface StandardOfferProperties {
350
364
  * @type {TEXT}
351
365
  */
352
366
  Code: string;
367
+ /** The Offer that customers currently on THIS offer recontract onto. Read by resolveRecontractOffer as the per-offer successor, taking precedence over the price-comparison fallback but NOT over an explicitly supplied offerId. Empty = no per-offer successor configured; resolution falls back to the IsDefaultWebsiteOffer / IsRecontractDefault comparison.
368
+ *
369
+ * @type {LOOKUP}
370
+ * @default
371
+ */
372
+ RecontractOfferId: string;
353
373
  /** IsRecontractDefault
354
374
  *
355
375
  * @type {BOOLEAN}
@@ -102,6 +102,8 @@ var OfferPropertyKeys;
102
102
  OfferPropertyKeys["IsDefault"] = "IsDefault";
103
103
  /** code to retrieve offer (Product Management - Offer) */
104
104
  OfferPropertyKeys["Code"] = "Code";
105
+ /** The Offer that customers currently on THIS offer recontract onto. Read by resolveRecontractOffer as the per-offer successor, taking precedence over the price-comparison fallback but NOT over an explicitly supplied offerId. Empty = no per-offer successor configured; resolution falls back to the IsDefaultWebsiteOffer / IsRecontractDefault comparison. */
106
+ OfferPropertyKeys["RecontractOfferId"] = "RecontractOfferId";
105
107
  /** IsRecontractDefault */
106
108
  OfferPropertyKeys["IsRecontractDefault"] = "IsRecontractDefault";
107
109
  /** IsDefaultWebsiteOffer */
@@ -49,6 +49,8 @@ export declare enum RecontractPropertyKeys {
49
49
  NextContractEndDate = "NextContractEndDate",
50
50
  /** The ContractType (term length, e.g. ANNUAL_24) this recontract SET on the Order. Raw value, not an ENUM — see spec header. */
51
51
  NextContractType = "NextContractType",
52
+ /** DORMANT — written by nothing today. Added to make an ActiveDate 1:1 write safe, but that write was then deliberately dropped: amending in place, the order IS the one that went live on its original ActiveDate, so it is left untouched and needs no snapshot (RecontractWrittenProperties.spec.ts asserts it is never written). Retained because the column already exists in sandbox + prod and schema removals are not free; declared here so the spec still matches reality. Populate it only if Order.ActiveDate ever becomes something a recontract overwrites. */
53
+ PreviousActiveDate = "PreviousActiveDate",
52
54
  /** Recontract title (e.g. "OR1654429 recontract 2026-07-24"). */
53
55
  Name = "Name",
54
56
  /** Snapshot of the order items BEFORE the recontract (rollback source). */
@@ -108,6 +110,12 @@ export interface RecontractProperties {
108
110
  * @default
109
111
  */
110
112
  NextContractType: string;
113
+ /** DORMANT — written by nothing today. Added to make an ActiveDate 1:1 write safe, but that write was then deliberately dropped: amending in place, the order IS the one that went live on its original ActiveDate, so it is left untouched and needs no snapshot (RecontractWrittenProperties.spec.ts asserts it is never written). Retained because the column already exists in sandbox + prod and schema removals are not free; declared here so the spec still matches reality. Populate it only if Order.ActiveDate ever becomes something a recontract overwrites.
114
+ *
115
+ * @type {DATE}
116
+ * @default
117
+ */
118
+ PreviousActiveDate: string;
111
119
  /** Recontract title (e.g. "OR1654429 recontract 2026-07-24").
112
120
  *
113
121
  * @type {TEXT}
@@ -54,6 +54,8 @@ var RecontractPropertyKeys;
54
54
  RecontractPropertyKeys["NextContractEndDate"] = "NextContractEndDate";
55
55
  /** The ContractType (term length, e.g. ANNUAL_24) this recontract SET on the Order. Raw value, not an ENUM — see spec header. */
56
56
  RecontractPropertyKeys["NextContractType"] = "NextContractType";
57
+ /** DORMANT — written by nothing today. Added to make an ActiveDate 1:1 write safe, but that write was then deliberately dropped: amending in place, the order IS the one that went live on its original ActiveDate, so it is left untouched and needs no snapshot (RecontractWrittenProperties.spec.ts asserts it is never written). Retained because the column already exists in sandbox + prod and schema removals are not free; declared here so the spec still matches reality. Populate it only if Order.ActiveDate ever becomes something a recontract overwrites. */
58
+ RecontractPropertyKeys["PreviousActiveDate"] = "PreviousActiveDate";
57
59
  /** Recontract title (e.g. "OR1654429 recontract 2026-07-24"). */
58
60
  RecontractPropertyKeys["Name"] = "Name";
59
61
  /** Snapshot of the order items BEFORE the recontract (rollback source). */
@@ -13,7 +13,7 @@
13
13
  * await record.createFieldServiceProduct({ ... }).execute();
14
14
  * ```
15
15
  *
16
- * Entity Types: CPE_ROUTER, MESH, MISC
16
+ * Entity Types: CPE_ROUTER, MESH, MISC, RETURNS_BAG
17
17
  *
18
18
  * AUTO-GENERATED - DO NOT EDIT DIRECTLY
19
19
  */
@@ -21,7 +21,7 @@ import { OdinRecord, OdinRecordLinkDto } from '@d19n/odin-types/dist/core';
21
21
  import { PipelineStageEntity } from '@d19n/odin-types/dist/core';
22
22
  import { IOdinProvider } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
23
23
  import { RecordLinkManager } from '@d19n/odin-sdk-generator/dist/record-link-manager';
24
- import { FieldServiceProductProperties, CpeRouterFieldServiceProductProperties, MeshFieldServiceProductProperties, MiscFieldServiceProductProperties } from '../entities-v2/FieldServiceProduct';
24
+ import { FieldServiceProductProperties, CpeRouterFieldServiceProductProperties, MeshFieldServiceProductProperties, MiscFieldServiceProductProperties, ReturnsBagFieldServiceProductProperties } from '../entities-v2/FieldServiceProduct';
25
25
  import { CreateFieldServiceMeshProductProperties } from '../actions-v2/CreateFieldServiceMeshProductDto';
26
26
  import { CreateFieldServiceMeshProductBuilder } from '../actions-v2/CreateFieldServiceMeshProductDto';
27
27
  import { CreateFieldServiceProductProperties } from '../actions-v2/CreateFieldServiceProductDto';
@@ -34,7 +34,7 @@ import { ProductRecord } from './ProductRecord';
34
34
  import { FieldServiceDispatchedProductRecord } from './FieldServiceDispatchedProductRecord';
35
35
  import { WorkOrderRecord } from './WorkOrderRecord';
36
36
  /** Valid entity types for FieldServiceProduct */
37
- export declare type FieldServiceProductType = 'CPE_ROUTER' | 'MESH' | 'MISC';
37
+ export declare type FieldServiceProductType = 'CPE_ROUTER' | 'MESH' | 'MISC' | 'RETURNS_BAG';
38
38
  export declare class FieldServiceProductRecord<TProps = FieldServiceProductProperties> {
39
39
  private _record;
40
40
  private _provider;
@@ -116,6 +116,22 @@ export declare class FieldServiceProductRecord<TProps = FieldServiceProductPrope
116
116
  * @remarks MISC
117
117
  */
118
118
  isMisc(): this is FieldServiceProductRecord<MiscFieldServiceProductProperties>;
119
+ /**
120
+ * Type guard: check if this record is of type RETURNS_BAG
121
+ *
122
+ * When this returns true, TypeScript automatically narrows the type,
123
+ * giving you access to RETURNS_BAG-specific properties.
124
+ *
125
+ * @example
126
+ * ```typescript
127
+ * if (record.isReturnsBag()) {
128
+ * // TypeScript knows record.properties is ReturnsBagFieldServiceProductProperties
129
+ * console.log(record.properties.SomeTypeSpecificField);
130
+ * }
131
+ * ```
132
+ * @remarks Return Bag
133
+ */
134
+ isReturnsBag(): this is FieldServiceProductRecord<ReturnsBagFieldServiceProductProperties>;
119
135
  /** Valid labels for Product associations */
120
136
  static readonly productsLabels: readonly ["FieldServiceProduct__CompatibleProducts"];
121
137
  /**
@@ -14,7 +14,7 @@
14
14
  * await record.createFieldServiceProduct({ ... }).execute();
15
15
  * ```
16
16
  *
17
- * Entity Types: CPE_ROUTER, MESH, MISC
17
+ * Entity Types: CPE_ROUTER, MESH, MISC, RETURNS_BAG
18
18
  *
19
19
  * AUTO-GENERATED - DO NOT EDIT DIRECTLY
20
20
  */
@@ -200,6 +200,22 @@ class FieldServiceProductRecord {
200
200
  * @remarks MISC
201
201
  */
202
202
  isMisc() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.type) === 'MISC'; }
203
+ /**
204
+ * Type guard: check if this record is of type RETURNS_BAG
205
+ *
206
+ * When this returns true, TypeScript automatically narrows the type,
207
+ * giving you access to RETURNS_BAG-specific properties.
208
+ *
209
+ * @example
210
+ * ```typescript
211
+ * if (record.isReturnsBag()) {
212
+ * // TypeScript knows record.properties is ReturnsBagFieldServiceProductProperties
213
+ * console.log(record.properties.SomeTypeSpecificField);
214
+ * }
215
+ * ```
216
+ * @remarks Return Bag
217
+ */
218
+ isReturnsBag() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.type) === 'RETURNS_BAG'; }
203
219
  /**
204
220
  * Access linked Product records
205
221
  * @remarks Available labels: FieldServiceProduct__CompatibleProducts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.263",
3
+ "version": "2.0.264",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",