@nextplus/js-sdk 1.14.47 → 1.14.49
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-WJITI4FW.js → chunk-H3U2GYOU.js} +12 -0
- package/dist/{chunk-4KGK47D7.js → chunk-TBSD4BD7.js} +1 -1
- package/dist/{chunk-ILHEBJ5E.js → chunk-X4R6OZG4.js} +2 -2
- package/dist/{index-UkXqlzcJ.d.ts → index-Bru_xARK.d.ts} +8 -2
- package/dist/{index-D-jBrt2u.d.cts → index-CVQckeF9.d.cts} +8 -2
- package/dist/index.cjs +12 -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 +12 -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 +12 -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-BA9pswJ_.d.cts → sdk.gen-CId0nlZ9.d.ts} +40 -2
- package/dist/{sdk.gen-Dnijnh11.d.ts → sdk.gen-COKcIuS0.d.cts} +40 -2
- package/dist/smoke.cjs +12 -0
- package/dist/smoke.js +3 -3
- package/package.json +1 -1
- package/src/sdk/sdk.gen.ts +30 -0
- package/src/sdk/types.gen.ts +44 -0
package/dist/smoke.cjs
CHANGED
|
@@ -21254,6 +21254,18 @@ var WorkorderService = class {
|
|
|
21254
21254
|
...options
|
|
21255
21255
|
});
|
|
21256
21256
|
}
|
|
21257
|
+
static getSapInspectionVendors(options) {
|
|
21258
|
+
return (options.client ?? client).get({
|
|
21259
|
+
url: "/Workorders/getSapInspectionVendors",
|
|
21260
|
+
...options
|
|
21261
|
+
});
|
|
21262
|
+
}
|
|
21263
|
+
static getSapInspectionPlans(options) {
|
|
21264
|
+
return (options.client ?? client).get({
|
|
21265
|
+
url: "/Workorders/getSapInspectionPlans",
|
|
21266
|
+
...options
|
|
21267
|
+
});
|
|
21268
|
+
}
|
|
21257
21269
|
static prepareSapStandaloneInspectionLot(options) {
|
|
21258
21270
|
return (options.client ?? client).post({
|
|
21259
21271
|
url: "/Workorders/prepareSapStandaloneInspectionLot",
|
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-X4R6OZG4.js";
|
|
4
|
+
import "./chunk-TBSD4BD7.js";
|
|
5
|
+
import "./chunk-H3U2GYOU.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
|
@@ -2406,6 +2406,10 @@ import type {
|
|
|
2406
2406
|
WorkorderGetSapPrintersResponses,
|
|
2407
2407
|
WorkorderGetSapSampleStepsData,
|
|
2408
2408
|
WorkorderGetSapSampleStepsResponses,
|
|
2409
|
+
WorkorderGetSapInspectionVendorsData,
|
|
2410
|
+
WorkorderGetSapInspectionVendorsResponses,
|
|
2411
|
+
WorkorderGetSapInspectionPlansData,
|
|
2412
|
+
WorkorderGetSapInspectionPlansResponses,
|
|
2409
2413
|
WorkorderPrepareSapStandaloneInspectionLotData,
|
|
2410
2414
|
WorkorderPrepareSapStandaloneInspectionLotResponses,
|
|
2411
2415
|
WorkorderGetSapHuCreationOptionsData,
|
|
@@ -30113,6 +30117,32 @@ export class WorkorderService {
|
|
|
30113
30117
|
});
|
|
30114
30118
|
}
|
|
30115
30119
|
|
|
30120
|
+
public static getSapInspectionVendors<ThrowOnError extends boolean = false>(
|
|
30121
|
+
options: Options<WorkorderGetSapInspectionVendorsData, ThrowOnError>,
|
|
30122
|
+
) {
|
|
30123
|
+
return (options.client ?? _heyApiClient).get<
|
|
30124
|
+
WorkorderGetSapInspectionVendorsResponses,
|
|
30125
|
+
unknown,
|
|
30126
|
+
ThrowOnError
|
|
30127
|
+
>({
|
|
30128
|
+
url: '/Workorders/getSapInspectionVendors',
|
|
30129
|
+
...options,
|
|
30130
|
+
});
|
|
30131
|
+
}
|
|
30132
|
+
|
|
30133
|
+
public static getSapInspectionPlans<ThrowOnError extends boolean = false>(
|
|
30134
|
+
options: Options<WorkorderGetSapInspectionPlansData, ThrowOnError>,
|
|
30135
|
+
) {
|
|
30136
|
+
return (options.client ?? _heyApiClient).get<
|
|
30137
|
+
WorkorderGetSapInspectionPlansResponses,
|
|
30138
|
+
unknown,
|
|
30139
|
+
ThrowOnError
|
|
30140
|
+
>({
|
|
30141
|
+
url: '/Workorders/getSapInspectionPlans',
|
|
30142
|
+
...options,
|
|
30143
|
+
});
|
|
30144
|
+
}
|
|
30145
|
+
|
|
30116
30146
|
public static prepareSapStandaloneInspectionLot<
|
|
30117
30147
|
ThrowOnError extends boolean = false,
|
|
30118
30148
|
>(
|
package/src/sdk/types.gen.ts
CHANGED
|
@@ -29904,6 +29904,50 @@ export type WorkorderGetSapSampleStepsResponses = {
|
|
|
29904
29904
|
export type WorkorderGetSapSampleStepsResponse =
|
|
29905
29905
|
WorkorderGetSapSampleStepsResponses[keyof WorkorderGetSapSampleStepsResponses];
|
|
29906
29906
|
|
|
29907
|
+
export type WorkorderGetSapInspectionVendorsData = {
|
|
29908
|
+
body?: never;
|
|
29909
|
+
path?: never;
|
|
29910
|
+
query: {
|
|
29911
|
+
plant: string;
|
|
29912
|
+
material: string;
|
|
29913
|
+
};
|
|
29914
|
+
url: '/Workorders/getSapInspectionVendors';
|
|
29915
|
+
};
|
|
29916
|
+
|
|
29917
|
+
export type WorkorderGetSapInspectionVendorsResponses = {
|
|
29918
|
+
/**
|
|
29919
|
+
* Request was successful
|
|
29920
|
+
*/
|
|
29921
|
+
200: {
|
|
29922
|
+
[key: string]: unknown;
|
|
29923
|
+
};
|
|
29924
|
+
};
|
|
29925
|
+
|
|
29926
|
+
export type WorkorderGetSapInspectionVendorsResponse =
|
|
29927
|
+
WorkorderGetSapInspectionVendorsResponses[keyof WorkorderGetSapInspectionVendorsResponses];
|
|
29928
|
+
|
|
29929
|
+
export type WorkorderGetSapInspectionPlansData = {
|
|
29930
|
+
body?: never;
|
|
29931
|
+
path?: never;
|
|
29932
|
+
query: {
|
|
29933
|
+
plant: string;
|
|
29934
|
+
material: string;
|
|
29935
|
+
};
|
|
29936
|
+
url: '/Workorders/getSapInspectionPlans';
|
|
29937
|
+
};
|
|
29938
|
+
|
|
29939
|
+
export type WorkorderGetSapInspectionPlansResponses = {
|
|
29940
|
+
/**
|
|
29941
|
+
* Request was successful
|
|
29942
|
+
*/
|
|
29943
|
+
200: {
|
|
29944
|
+
[key: string]: unknown;
|
|
29945
|
+
};
|
|
29946
|
+
};
|
|
29947
|
+
|
|
29948
|
+
export type WorkorderGetSapInspectionPlansResponse =
|
|
29949
|
+
WorkorderGetSapInspectionPlansResponses[keyof WorkorderGetSapInspectionPlansResponses];
|
|
29950
|
+
|
|
29907
29951
|
export type WorkorderPrepareSapStandaloneInspectionLotData = {
|
|
29908
29952
|
body: {
|
|
29909
29953
|
[key: string]: unknown;
|