@d19n/youfibre-odin-sdk 2.0.385 → 2.0.386
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.
- package/dist/actions-v2/CreateEquipmentReturnItemDto.d.ts +8 -1
- package/dist/db-sdk-v2/RouterPingSnapshotDb.d.ts +2 -2
- package/dist/db-sdk-v2/RouterPingSnapshotDb.js +4 -4
- package/dist/entities-v2/Config.d.ts +8 -8
- package/dist/entities-v2/Config.js +2 -2
- package/dist/entities-v2/EquipmentReturnItem.d.ts +9 -1
- package/dist/entities-v2/EquipmentReturnItem.js +2 -0
- package/dist/entities-v2/Order.d.ts +722 -722
- package/dist/entities-v2/Order.js +358 -358
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ export interface CreateEquipmentReturnItemMessage extends OdinRecordCreatedEvent
|
|
|
23
23
|
* Properties for CreateEquipmentReturnItem action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 3
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 11
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateEquipmentReturnItemProperties {
|
|
29
29
|
/**
|
|
@@ -120,6 +120,13 @@ export interface CreateEquipmentReturnItemProperties {
|
|
|
120
120
|
* @type {TEXT}
|
|
121
121
|
*/
|
|
122
122
|
StandsInForDeviceId?: string | null;
|
|
123
|
+
/**
|
|
124
|
+
* Returned Serial Number
|
|
125
|
+
*
|
|
126
|
+
* The serial typed off the box that came back, on an EXPECTED TV_DEVICE row. Compared with SerialNumber (the serial Odin holds); a mismatch is flagged on the work order. Null on every other row
|
|
127
|
+
* @type {TEXT}
|
|
128
|
+
*/
|
|
129
|
+
ReturnedSerialNumber?: string | null;
|
|
123
130
|
}
|
|
124
131
|
/**
|
|
125
132
|
* Create Equipment Return Item
|
|
@@ -21,9 +21,9 @@ export declare class RouterPingSnapshotDb extends DbProvider {
|
|
|
21
21
|
private readonly moduleName;
|
|
22
22
|
private readonly entityName;
|
|
23
23
|
private sourceRecord;
|
|
24
|
-
private
|
|
24
|
+
private _customerdevicerouter?;
|
|
25
25
|
constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
|
|
26
|
-
get
|
|
26
|
+
get customerdevicerouter(): DbRecordLinkManager;
|
|
27
27
|
setRecord(sourceRecord: any): void;
|
|
28
28
|
/**
|
|
29
29
|
* Search records with manual pagination control
|
|
@@ -38,11 +38,11 @@ class RouterPingSnapshotDb extends db_provider_1.DbProvider {
|
|
|
38
38
|
// LAZY-LOADED LINK MANAGERS (Public Getters)
|
|
39
39
|
// ============================================
|
|
40
40
|
// Usage remains identical: db.address.list(recordId)
|
|
41
|
-
get
|
|
42
|
-
if (!this.
|
|
43
|
-
this.
|
|
41
|
+
get customerdevicerouter() {
|
|
42
|
+
if (!this._customerdevicerouter) {
|
|
43
|
+
this._customerdevicerouter = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ServiceModule:RouterPingSnapshot', 'ServiceModule:CustomerDeviceRouter', 'CustomerDeviceRouter__RouterPingSnapshot');
|
|
44
44
|
}
|
|
45
|
-
return this.
|
|
45
|
+
return this._customerdevicerouter;
|
|
46
46
|
}
|
|
47
47
|
// ============================================
|
|
48
48
|
// STANDARD METHODS
|
|
@@ -23,12 +23,12 @@ export declare enum ConfigEntityTypes {
|
|
|
23
23
|
* Use these constants instead of string literals for type safety
|
|
24
24
|
*/
|
|
25
25
|
export declare enum ConfigPropertyKeys {
|
|
26
|
+
/** Data field for Config records. Used by Platform team. */
|
|
27
|
+
Test = "Test",
|
|
26
28
|
/** the name of the app this config relates to (Platform - Config) */
|
|
27
29
|
AppName = "AppName",
|
|
28
30
|
/** object of { key: value } mappings (Platform - Config) */
|
|
29
|
-
Mappings = "Mappings"
|
|
30
|
-
/** Data field for Config records. Used by Platform team. */
|
|
31
|
-
Test = "Test"
|
|
31
|
+
Mappings = "Mappings"
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* Properties for Config records
|
|
@@ -36,6 +36,11 @@ export declare enum ConfigPropertyKeys {
|
|
|
36
36
|
* @see SchemaModule:Config
|
|
37
37
|
*/
|
|
38
38
|
export interface ConfigProperties {
|
|
39
|
+
/** Data field for Config records. Used by Platform team.
|
|
40
|
+
*
|
|
41
|
+
* @type {TEXT}
|
|
42
|
+
*/
|
|
43
|
+
Test: string;
|
|
39
44
|
/** the name of the app this config relates to (Platform - Config)
|
|
40
45
|
*
|
|
41
46
|
* @type {TEXT}
|
|
@@ -46,11 +51,6 @@ export interface ConfigProperties {
|
|
|
46
51
|
* @type {JSON}
|
|
47
52
|
*/
|
|
48
53
|
Mappings: string;
|
|
49
|
-
/** Data field for Config records. Used by Platform team.
|
|
50
|
-
*
|
|
51
|
-
* @type {TEXT}
|
|
52
|
-
*/
|
|
53
|
-
Test: string;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* Config entity from SchemaModule
|
|
@@ -28,12 +28,12 @@ var ConfigEntityTypes;
|
|
|
28
28
|
*/
|
|
29
29
|
var ConfigPropertyKeys;
|
|
30
30
|
(function (ConfigPropertyKeys) {
|
|
31
|
+
/** Data field for Config records. Used by Platform team. */
|
|
32
|
+
ConfigPropertyKeys["Test"] = "Test";
|
|
31
33
|
/** the name of the app this config relates to (Platform - Config) */
|
|
32
34
|
ConfigPropertyKeys["AppName"] = "AppName";
|
|
33
35
|
/** object of { key: value } mappings (Platform - Config) */
|
|
34
36
|
ConfigPropertyKeys["Mappings"] = "Mappings";
|
|
35
|
-
/** Data field for Config records. Used by Platform team. */
|
|
36
|
-
ConfigPropertyKeys["Test"] = "Test";
|
|
37
37
|
})(ConfigPropertyKeys = exports.ConfigPropertyKeys || (exports.ConfigPropertyKeys = {}));
|
|
38
38
|
/**
|
|
39
39
|
* Config entity from SchemaModule
|
|
@@ -110,7 +110,9 @@ export declare enum EquipmentReturnItemPropertyKeys {
|
|
|
110
110
|
/** Condition as inspected. Same option set as Returns.Cpe{n}Grade. Only meaningful when Returned is true */
|
|
111
111
|
Grade = "Grade",
|
|
112
112
|
/** On an ADDITIONAL row only: the expected device (DeviceId of an EXPECTED row on the same return) this item counted in place of, because that device was not returned and this item is the same kind. Serials are not rewritten; this marks the mismatch so it can be fixed deliberately. Null on every other row */
|
|
113
|
-
StandsInForDeviceId = "StandsInForDeviceId"
|
|
113
|
+
StandsInForDeviceId = "StandsInForDeviceId",
|
|
114
|
+
/** The serial typed off the box that came back, on an EXPECTED TV_DEVICE row. Compared with SerialNumber (the serial Odin holds); a mismatch is flagged on the work order. Null on every other row */
|
|
115
|
+
ReturnedSerialNumber = "ReturnedSerialNumber"
|
|
114
116
|
}
|
|
115
117
|
/**
|
|
116
118
|
* Properties for EquipmentReturnItem records
|
|
@@ -200,6 +202,12 @@ export interface EquipmentReturnItemProperties {
|
|
|
200
202
|
* @default
|
|
201
203
|
*/
|
|
202
204
|
StandsInForDeviceId: string;
|
|
205
|
+
/** The serial typed off the box that came back, on an EXPECTED TV_DEVICE row. Compared with SerialNumber (the serial Odin holds); a mismatch is flagged on the work order. Null on every other row
|
|
206
|
+
*
|
|
207
|
+
* @type {TEXT}
|
|
208
|
+
* @default
|
|
209
|
+
*/
|
|
210
|
+
ReturnedSerialNumber: string;
|
|
203
211
|
}
|
|
204
212
|
/**
|
|
205
213
|
* EquipmentReturnItem entity from FieldServiceModule
|
|
@@ -116,6 +116,8 @@ var EquipmentReturnItemPropertyKeys;
|
|
|
116
116
|
EquipmentReturnItemPropertyKeys["Grade"] = "Grade";
|
|
117
117
|
/** On an ADDITIONAL row only: the expected device (DeviceId of an EXPECTED row on the same return) this item counted in place of, because that device was not returned and this item is the same kind. Serials are not rewritten; this marks the mismatch so it can be fixed deliberately. Null on every other row */
|
|
118
118
|
EquipmentReturnItemPropertyKeys["StandsInForDeviceId"] = "StandsInForDeviceId";
|
|
119
|
+
/** The serial typed off the box that came back, on an EXPECTED TV_DEVICE row. Compared with SerialNumber (the serial Odin holds); a mismatch is flagged on the work order. Null on every other row */
|
|
120
|
+
EquipmentReturnItemPropertyKeys["ReturnedSerialNumber"] = "ReturnedSerialNumber";
|
|
119
121
|
})(EquipmentReturnItemPropertyKeys = exports.EquipmentReturnItemPropertyKeys || (exports.EquipmentReturnItemPropertyKeys = {}));
|
|
120
122
|
/**
|
|
121
123
|
* EquipmentReturnItem entity from FieldServiceModule
|