@nextplus/js-sdk 1.14.51 → 1.14.53
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/README.md +1 -1
- package/dist/{chunk-VIWBIWAS.js → chunk-CXWIZHAG.js} +23 -0
- package/dist/{chunk-RN6EHNBU.js → chunk-EIGZ5TR2.js} +1 -1
- package/dist/{chunk-GIE4TSXU.js → chunk-ERKCZMGQ.js} +2 -2
- package/dist/{index-CoGEvN_a.d.cts → index-CfB0Wkkd.d.ts} +8 -2
- package/dist/{index-C2TJGNcU.d.ts → index-DSXpiqq7.d.cts} +8 -2
- package/dist/index.cjs +23 -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 +23 -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 +23 -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-IwBPV_om.d.cts → sdk.gen-3dcQyUp5.d.cts} +40 -1
- package/dist/{sdk.gen-bLKSjxp8.d.ts → sdk.gen-DH75euAJ.d.ts} +40 -1
- package/dist/smoke.cjs +23 -0
- package/dist/smoke.js +3 -3
- package/package.json +1 -1
- package/src/sdk/sdk.gen.ts +41 -0
- package/src/sdk/types.gen.ts +42 -0
package/dist/smoke.cjs
CHANGED
|
@@ -21254,6 +21254,19 @@ var WorkorderService = class {
|
|
|
21254
21254
|
...options
|
|
21255
21255
|
});
|
|
21256
21256
|
}
|
|
21257
|
+
/**
|
|
21258
|
+
* Prepare a SAP label PDF and spool for one sample or all samples of an authorized workorder inspection lot. Does not send to a printer.
|
|
21259
|
+
*/
|
|
21260
|
+
static prepareSapSampleLabelPreview(options) {
|
|
21261
|
+
return (options.client ?? client).post({
|
|
21262
|
+
url: "/Workorders/prepareSapSampleLabelPreview",
|
|
21263
|
+
...options,
|
|
21264
|
+
headers: {
|
|
21265
|
+
"Content-Type": "application/json",
|
|
21266
|
+
...options.headers
|
|
21267
|
+
}
|
|
21268
|
+
});
|
|
21269
|
+
}
|
|
21257
21270
|
static getSapInspectionVendors(options) {
|
|
21258
21271
|
return (options.client ?? client).get({
|
|
21259
21272
|
url: "/Workorders/getSapInspectionVendors",
|
|
@@ -21366,6 +21379,16 @@ var WorkorderService = class {
|
|
|
21366
21379
|
}
|
|
21367
21380
|
});
|
|
21368
21381
|
}
|
|
21382
|
+
static printSapAllSampleLabels(options) {
|
|
21383
|
+
return (options.client ?? client).post({
|
|
21384
|
+
url: "/Workorders/printSapAllSampleLabels",
|
|
21385
|
+
...options,
|
|
21386
|
+
headers: {
|
|
21387
|
+
"Content-Type": "application/json",
|
|
21388
|
+
...options.headers
|
|
21389
|
+
}
|
|
21390
|
+
});
|
|
21391
|
+
}
|
|
21369
21392
|
static updateSapInspectionLotComments(options) {
|
|
21370
21393
|
return (options.client ?? client).post({
|
|
21371
21394
|
url: "/Workorders/updateSapInspectionLotComments",
|
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-ERKCZMGQ.js";
|
|
4
|
+
import "./chunk-EIGZ5TR2.js";
|
|
5
|
+
import "./chunk-CXWIZHAG.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,8 @@ import type {
|
|
|
2406
2406
|
WorkorderGetSapPrintersResponses,
|
|
2407
2407
|
WorkorderGetSapSampleStepsData,
|
|
2408
2408
|
WorkorderGetSapSampleStepsResponses,
|
|
2409
|
+
WorkorderPrepareSapSampleLabelPreviewData,
|
|
2410
|
+
WorkorderPrepareSapSampleLabelPreviewResponses,
|
|
2409
2411
|
WorkorderGetSapInspectionVendorsData,
|
|
2410
2412
|
WorkorderGetSapInspectionVendorsResponses,
|
|
2411
2413
|
WorkorderGetSapInspectionPlansData,
|
|
@@ -2434,6 +2436,8 @@ import type {
|
|
|
2434
2436
|
WorkorderPrintSapHuLabelResponses,
|
|
2435
2437
|
WorkorderPrintSapSampleLabelData,
|
|
2436
2438
|
WorkorderPrintSapSampleLabelResponses,
|
|
2439
|
+
WorkorderPrintSapAllSampleLabelsData,
|
|
2440
|
+
WorkorderPrintSapAllSampleLabelsResponses,
|
|
2437
2441
|
WorkorderUpdateSapInspectionLotCommentsData,
|
|
2438
2442
|
WorkorderUpdateSapInspectionLotCommentsResponses,
|
|
2439
2443
|
WorkorderGetSapAddonOperationData,
|
|
@@ -30129,6 +30133,26 @@ export class WorkorderService {
|
|
|
30129
30133
|
});
|
|
30130
30134
|
}
|
|
30131
30135
|
|
|
30136
|
+
/**
|
|
30137
|
+
* Prepare a SAP label PDF and spool for one sample or all samples of an authorized workorder inspection lot. Does not send to a printer.
|
|
30138
|
+
*/
|
|
30139
|
+
public static prepareSapSampleLabelPreview<
|
|
30140
|
+
ThrowOnError extends boolean = false,
|
|
30141
|
+
>(options: Options<WorkorderPrepareSapSampleLabelPreviewData, ThrowOnError>) {
|
|
30142
|
+
return (options.client ?? _heyApiClient).post<
|
|
30143
|
+
WorkorderPrepareSapSampleLabelPreviewResponses,
|
|
30144
|
+
unknown,
|
|
30145
|
+
ThrowOnError
|
|
30146
|
+
>({
|
|
30147
|
+
url: '/Workorders/prepareSapSampleLabelPreview',
|
|
30148
|
+
...options,
|
|
30149
|
+
headers: {
|
|
30150
|
+
'Content-Type': 'application/json',
|
|
30151
|
+
...options.headers,
|
|
30152
|
+
},
|
|
30153
|
+
});
|
|
30154
|
+
}
|
|
30155
|
+
|
|
30132
30156
|
public static getSapInspectionVendors<ThrowOnError extends boolean = false>(
|
|
30133
30157
|
options: Options<WorkorderGetSapInspectionVendorsData, ThrowOnError>,
|
|
30134
30158
|
) {
|
|
@@ -30359,6 +30383,23 @@ export class WorkorderService {
|
|
|
30359
30383
|
});
|
|
30360
30384
|
}
|
|
30361
30385
|
|
|
30386
|
+
public static printSapAllSampleLabels<ThrowOnError extends boolean = false>(
|
|
30387
|
+
options: Options<WorkorderPrintSapAllSampleLabelsData, ThrowOnError>,
|
|
30388
|
+
) {
|
|
30389
|
+
return (options.client ?? _heyApiClient).post<
|
|
30390
|
+
WorkorderPrintSapAllSampleLabelsResponses,
|
|
30391
|
+
unknown,
|
|
30392
|
+
ThrowOnError
|
|
30393
|
+
>({
|
|
30394
|
+
url: '/Workorders/printSapAllSampleLabels',
|
|
30395
|
+
...options,
|
|
30396
|
+
headers: {
|
|
30397
|
+
'Content-Type': 'application/json',
|
|
30398
|
+
...options.headers,
|
|
30399
|
+
},
|
|
30400
|
+
});
|
|
30401
|
+
}
|
|
30402
|
+
|
|
30362
30403
|
public static updateSapInspectionLotComments<
|
|
30363
30404
|
ThrowOnError extends boolean = false,
|
|
30364
30405
|
>(
|
package/src/sdk/types.gen.ts
CHANGED
|
@@ -29905,6 +29905,27 @@ export type WorkorderGetSapSampleStepsResponses = {
|
|
|
29905
29905
|
export type WorkorderGetSapSampleStepsResponse =
|
|
29906
29906
|
WorkorderGetSapSampleStepsResponses[keyof WorkorderGetSapSampleStepsResponses];
|
|
29907
29907
|
|
|
29908
|
+
export type WorkorderPrepareSapSampleLabelPreviewData = {
|
|
29909
|
+
body: {
|
|
29910
|
+
[key: string]: unknown;
|
|
29911
|
+
};
|
|
29912
|
+
path?: never;
|
|
29913
|
+
query?: never;
|
|
29914
|
+
url: '/Workorders/prepareSapSampleLabelPreview';
|
|
29915
|
+
};
|
|
29916
|
+
|
|
29917
|
+
export type WorkorderPrepareSapSampleLabelPreviewResponses = {
|
|
29918
|
+
/**
|
|
29919
|
+
* Request was successful
|
|
29920
|
+
*/
|
|
29921
|
+
200: {
|
|
29922
|
+
[key: string]: unknown;
|
|
29923
|
+
};
|
|
29924
|
+
};
|
|
29925
|
+
|
|
29926
|
+
export type WorkorderPrepareSapSampleLabelPreviewResponse =
|
|
29927
|
+
WorkorderPrepareSapSampleLabelPreviewResponses[keyof WorkorderPrepareSapSampleLabelPreviewResponses];
|
|
29928
|
+
|
|
29908
29929
|
export type WorkorderGetSapInspectionVendorsData = {
|
|
29909
29930
|
body?: never;
|
|
29910
29931
|
path?: never;
|
|
@@ -30205,6 +30226,27 @@ export type WorkorderPrintSapSampleLabelResponses = {
|
|
|
30205
30226
|
export type WorkorderPrintSapSampleLabelResponse =
|
|
30206
30227
|
WorkorderPrintSapSampleLabelResponses[keyof WorkorderPrintSapSampleLabelResponses];
|
|
30207
30228
|
|
|
30229
|
+
export type WorkorderPrintSapAllSampleLabelsData = {
|
|
30230
|
+
body: {
|
|
30231
|
+
[key: string]: unknown;
|
|
30232
|
+
};
|
|
30233
|
+
path?: never;
|
|
30234
|
+
query?: never;
|
|
30235
|
+
url: '/Workorders/printSapAllSampleLabels';
|
|
30236
|
+
};
|
|
30237
|
+
|
|
30238
|
+
export type WorkorderPrintSapAllSampleLabelsResponses = {
|
|
30239
|
+
/**
|
|
30240
|
+
* Request was successful
|
|
30241
|
+
*/
|
|
30242
|
+
200: {
|
|
30243
|
+
[key: string]: unknown;
|
|
30244
|
+
};
|
|
30245
|
+
};
|
|
30246
|
+
|
|
30247
|
+
export type WorkorderPrintSapAllSampleLabelsResponse =
|
|
30248
|
+
WorkorderPrintSapAllSampleLabelsResponses[keyof WorkorderPrintSapAllSampleLabelsResponses];
|
|
30249
|
+
|
|
30208
30250
|
export type WorkorderUpdateSapInspectionLotCommentsData = {
|
|
30209
30251
|
body: {
|
|
30210
30252
|
[key: string]: unknown;
|