@d19n/youfibre-odin-sdk 2.0.103-beta.11 → 2.0.103-beta.13
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.
|
@@ -99,11 +99,9 @@ export interface SyncWorkOrderToSupplierArgs<TPrincipal = unknown> {
|
|
|
99
99
|
};
|
|
100
100
|
yfServiceAppointment: {
|
|
101
101
|
id?: string;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
[extra: string]: unknown;
|
|
106
|
-
};
|
|
102
|
+
entity: string;
|
|
103
|
+
type: unknown;
|
|
104
|
+
properties: unknown;
|
|
107
105
|
};
|
|
108
106
|
}
|
|
109
107
|
export interface UpdateOrderExternalRefArgs {
|
|
@@ -296,7 +296,7 @@ function run() {
|
|
|
296
296
|
yfOrderId: 'ORD-1',
|
|
297
297
|
yfWorkOrderId: 'WO-1',
|
|
298
298
|
yfChangeReason: { externalId: 'CR-1', entity: 'ChangeReason', type: 'CANCEL', properties: {} },
|
|
299
|
-
yfServiceAppointment: { properties: {} },
|
|
299
|
+
yfServiceAppointment: { entity: 'ServiceAppointment', type: 'INSTALL', properties: {} },
|
|
300
300
|
};
|
|
301
301
|
yield p.syncWorkOrderToSupplier(args);
|
|
302
302
|
assert('called once', log.length === 1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d19n/youfibre-odin-sdk",
|
|
3
|
-
"version": "2.0.103-beta.
|
|
3
|
+
"version": "2.0.103-beta.13",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "@d19n",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
"require": "./dist/wholesale-provider/index.js",
|
|
17
17
|
"import": "./dist/wholesale-provider/index.js",
|
|
18
18
|
"types": "./dist/wholesale-provider/index.d.ts"
|
|
19
|
+
},
|
|
20
|
+
"./dist/*": {
|
|
21
|
+
"require": "./dist/*.js",
|
|
22
|
+
"import": "./dist/*.js",
|
|
23
|
+
"types": "./dist/*.d.ts"
|
|
19
24
|
}
|
|
20
25
|
},
|
|
21
26
|
"devDependencies": {
|