@nextplus/js-sdk 1.14.49 → 1.14.50
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/{chunk-H3U2GYOU.js → chunk-BFKDKJKA.js} +10 -0
- package/dist/{chunk-X4R6OZG4.js → chunk-KUZHZPYT.js} +2 -2
- package/dist/{chunk-TBSD4BD7.js → chunk-ROQQWMKB.js} +1 -1
- package/dist/{index-CVQckeF9.d.cts → index-ChDnaBHX.d.cts} +5 -2
- package/dist/{index-Bru_xARK.d.ts → index-DyzHj9Rh.d.ts} +5 -2
- package/dist/index.cjs +10 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/sdk/index.cjs +10 -0
- package/dist/sdk/index.d.cts +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.js +2 -2
- package/dist/sdk/sdk.gen.cjs +10 -0
- package/dist/sdk/sdk.gen.d.cts +1 -1
- package/dist/sdk/sdk.gen.d.ts +1 -1
- package/dist/sdk/sdk.gen.js +1 -1
- package/dist/{sdk.gen-CId0nlZ9.d.ts → sdk.gen-DpPk20iI.d.ts} +19 -1
- package/dist/{sdk.gen-COKcIuS0.d.cts → sdk.gen-DvX02pvf.d.cts} +19 -1
- package/dist/smoke.cjs +10 -0
- package/dist/smoke.js +3 -3
- package/package.json +1 -1
- package/src/sdk/sdk.gen.ts +19 -0
- package/src/sdk/types.gen.ts +21 -0
package/dist/smoke.cjs
CHANGED
|
@@ -21294,6 +21294,16 @@ var WorkorderService = class {
|
|
|
21294
21294
|
...options
|
|
21295
21295
|
});
|
|
21296
21296
|
}
|
|
21297
|
+
static createSapHu(options) {
|
|
21298
|
+
return (options.client ?? client).post({
|
|
21299
|
+
url: "/Workorders/createSapHu",
|
|
21300
|
+
...options,
|
|
21301
|
+
headers: {
|
|
21302
|
+
"Content-Type": "application/json",
|
|
21303
|
+
...options.headers
|
|
21304
|
+
}
|
|
21305
|
+
});
|
|
21306
|
+
}
|
|
21297
21307
|
static printSapHuLabel(options) {
|
|
21298
21308
|
return (options.client ?? client).post({
|
|
21299
21309
|
url: "/Workorders/printSapHuLabel",
|
package/dist/smoke.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
configure
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-KUZHZPYT.js";
|
|
4
|
+
import "./chunk-ROQQWMKB.js";
|
|
5
|
+
import "./chunk-BFKDKJKA.js";
|
|
6
6
|
import "./chunk-FXXZNC42.js";
|
|
7
7
|
|
|
8
8
|
// src/smoke.ts
|
package/package.json
CHANGED
package/src/sdk/sdk.gen.ts
CHANGED
|
@@ -2418,6 +2418,8 @@ import type {
|
|
|
2418
2418
|
WorkorderGetSapInspectionLotCommentsResponses,
|
|
2419
2419
|
WorkorderGetSapAddonCapabilitiesData,
|
|
2420
2420
|
WorkorderGetSapAddonCapabilitiesResponses,
|
|
2421
|
+
WorkorderCreateSapHuData,
|
|
2422
|
+
WorkorderCreateSapHuResponses,
|
|
2421
2423
|
WorkorderPrintSapHuLabelData,
|
|
2422
2424
|
WorkorderPrintSapHuLabelResponses,
|
|
2423
2425
|
WorkorderPrintSapSampleLabelData,
|
|
@@ -30204,6 +30206,23 @@ export class WorkorderService {
|
|
|
30204
30206
|
});
|
|
30205
30207
|
}
|
|
30206
30208
|
|
|
30209
|
+
public static createSapHu<ThrowOnError extends boolean = false>(
|
|
30210
|
+
options: Options<WorkorderCreateSapHuData, ThrowOnError>,
|
|
30211
|
+
) {
|
|
30212
|
+
return (options.client ?? _heyApiClient).post<
|
|
30213
|
+
WorkorderCreateSapHuResponses,
|
|
30214
|
+
unknown,
|
|
30215
|
+
ThrowOnError
|
|
30216
|
+
>({
|
|
30217
|
+
url: '/Workorders/createSapHu',
|
|
30218
|
+
...options,
|
|
30219
|
+
headers: {
|
|
30220
|
+
'Content-Type': 'application/json',
|
|
30221
|
+
...options.headers,
|
|
30222
|
+
},
|
|
30223
|
+
});
|
|
30224
|
+
}
|
|
30225
|
+
|
|
30207
30226
|
public static printSapHuLabel<ThrowOnError extends boolean = false>(
|
|
30208
30227
|
options: Options<WorkorderPrintSapHuLabelData, ThrowOnError>,
|
|
30209
30228
|
) {
|
package/src/sdk/types.gen.ts
CHANGED
|
@@ -30033,6 +30033,27 @@ export type WorkorderGetSapAddonCapabilitiesResponses = {
|
|
|
30033
30033
|
export type WorkorderGetSapAddonCapabilitiesResponse =
|
|
30034
30034
|
WorkorderGetSapAddonCapabilitiesResponses[keyof WorkorderGetSapAddonCapabilitiesResponses];
|
|
30035
30035
|
|
|
30036
|
+
export type WorkorderCreateSapHuData = {
|
|
30037
|
+
body: {
|
|
30038
|
+
[key: string]: unknown;
|
|
30039
|
+
};
|
|
30040
|
+
path?: never;
|
|
30041
|
+
query?: never;
|
|
30042
|
+
url: '/Workorders/createSapHu';
|
|
30043
|
+
};
|
|
30044
|
+
|
|
30045
|
+
export type WorkorderCreateSapHuResponses = {
|
|
30046
|
+
/**
|
|
30047
|
+
* Request was successful
|
|
30048
|
+
*/
|
|
30049
|
+
200: {
|
|
30050
|
+
[key: string]: unknown;
|
|
30051
|
+
};
|
|
30052
|
+
};
|
|
30053
|
+
|
|
30054
|
+
export type WorkorderCreateSapHuResponse =
|
|
30055
|
+
WorkorderCreateSapHuResponses[keyof WorkorderCreateSapHuResponses];
|
|
30056
|
+
|
|
30036
30057
|
export type WorkorderPrintSapHuLabelData = {
|
|
30037
30058
|
body: {
|
|
30038
30059
|
[key: string]: unknown;
|