@nextplus/js-sdk 1.14.50 → 1.14.52

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/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",
@@ -21276,6 +21289,28 @@ var WorkorderService = class {
21276
21289
  }
21277
21290
  });
21278
21291
  }
21292
+ static createSapStandaloneInspectionLot(options) {
21293
+ return (options.client ?? client).post({
21294
+ url: "/Workorders/createSapStandaloneInspectionLot",
21295
+ ...options,
21296
+ headers: {
21297
+ "Content-Type": "application/json",
21298
+ ...options.headers
21299
+ }
21300
+ });
21301
+ }
21302
+ static getSapStandaloneInspectionOperation(options) {
21303
+ return (options.client ?? client).get({
21304
+ url: "/Workorders/getSapStandaloneInspectionOperation",
21305
+ ...options
21306
+ });
21307
+ }
21308
+ static listSapStandaloneInspectionLots(options) {
21309
+ return (options.client ?? client).get({
21310
+ url: "/Workorders/listSapStandaloneInspectionLots",
21311
+ ...options
21312
+ });
21313
+ }
21279
21314
  static getSapHuCreationOptions(options) {
21280
21315
  return (options.client ?? client).get({
21281
21316
  url: "/Workorders/getSapHuCreationOptions",
@@ -21294,6 +21329,26 @@ var WorkorderService = class {
21294
21329
  ...options
21295
21330
  });
21296
21331
  }
21332
+ static createSapInspectionLot(options) {
21333
+ return (options.client ?? client).post({
21334
+ url: "/Workorders/createSapInspectionLot",
21335
+ ...options,
21336
+ headers: {
21337
+ "Content-Type": "application/json",
21338
+ ...options.headers
21339
+ }
21340
+ });
21341
+ }
21342
+ static createSapSample(options) {
21343
+ return (options.client ?? client).post({
21344
+ url: "/Workorders/createSapSample",
21345
+ ...options,
21346
+ headers: {
21347
+ "Content-Type": "application/json",
21348
+ ...options.headers
21349
+ }
21350
+ });
21351
+ }
21297
21352
  static createSapHu(options) {
21298
21353
  return (options.client ?? client).post({
21299
21354
  url: "/Workorders/createSapHu",
@@ -21324,6 +21379,16 @@ var WorkorderService = class {
21324
21379
  }
21325
21380
  });
21326
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
+ }
21327
21392
  static updateSapInspectionLotComments(options) {
21328
21393
  return (options.client ?? client).post({
21329
21394
  url: "/Workorders/updateSapInspectionLotComments",
package/dist/smoke.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  configure
3
- } from "./chunk-KUZHZPYT.js";
4
- import "./chunk-ROQQWMKB.js";
5
- import "./chunk-BFKDKJKA.js";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextplus/js-sdk",
3
- "version": "1.14.50",
3
+ "version": "1.14.52",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "generate": "npm run clean && npm run prepare-spec && npm run openapi-ts && npm run build",
@@ -7333,6 +7333,9 @@ export const AddonSchema = {
7333
7333
  icon: {
7334
7334
  type: 'string',
7335
7335
  },
7336
+ menuParent: {
7337
+ type: 'string',
7338
+ },
7336
7339
  created: {
7337
7340
  default: '$now',
7338
7341
  type: 'string',
@@ -2406,24 +2406,38 @@ import type {
2406
2406
  WorkorderGetSapPrintersResponses,
2407
2407
  WorkorderGetSapSampleStepsData,
2408
2408
  WorkorderGetSapSampleStepsResponses,
2409
+ WorkorderPrepareSapSampleLabelPreviewData,
2410
+ WorkorderPrepareSapSampleLabelPreviewResponses,
2409
2411
  WorkorderGetSapInspectionVendorsData,
2410
2412
  WorkorderGetSapInspectionVendorsResponses,
2411
2413
  WorkorderGetSapInspectionPlansData,
2412
2414
  WorkorderGetSapInspectionPlansResponses,
2413
2415
  WorkorderPrepareSapStandaloneInspectionLotData,
2414
2416
  WorkorderPrepareSapStandaloneInspectionLotResponses,
2417
+ WorkorderCreateSapStandaloneInspectionLotData,
2418
+ WorkorderCreateSapStandaloneInspectionLotResponses,
2419
+ WorkorderGetSapStandaloneInspectionOperationData,
2420
+ WorkorderGetSapStandaloneInspectionOperationResponses,
2421
+ WorkorderListSapStandaloneInspectionLotsData,
2422
+ WorkorderListSapStandaloneInspectionLotsResponses,
2415
2423
  WorkorderGetSapHuCreationOptionsData,
2416
2424
  WorkorderGetSapHuCreationOptionsResponses,
2417
2425
  WorkorderGetSapInspectionLotCommentsData,
2418
2426
  WorkorderGetSapInspectionLotCommentsResponses,
2419
2427
  WorkorderGetSapAddonCapabilitiesData,
2420
2428
  WorkorderGetSapAddonCapabilitiesResponses,
2429
+ WorkorderCreateSapInspectionLotData,
2430
+ WorkorderCreateSapInspectionLotResponses,
2431
+ WorkorderCreateSapSampleData,
2432
+ WorkorderCreateSapSampleResponses,
2421
2433
  WorkorderCreateSapHuData,
2422
2434
  WorkorderCreateSapHuResponses,
2423
2435
  WorkorderPrintSapHuLabelData,
2424
2436
  WorkorderPrintSapHuLabelResponses,
2425
2437
  WorkorderPrintSapSampleLabelData,
2426
2438
  WorkorderPrintSapSampleLabelResponses,
2439
+ WorkorderPrintSapAllSampleLabelsData,
2440
+ WorkorderPrintSapAllSampleLabelsResponses,
2427
2441
  WorkorderUpdateSapInspectionLotCommentsData,
2428
2442
  WorkorderUpdateSapInspectionLotCommentsResponses,
2429
2443
  WorkorderGetSapAddonOperationData,
@@ -30119,6 +30133,26 @@ export class WorkorderService {
30119
30133
  });
30120
30134
  }
30121
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
+
30122
30156
  public static getSapInspectionVendors<ThrowOnError extends boolean = false>(
30123
30157
  options: Options<WorkorderGetSapInspectionVendorsData, ThrowOnError>,
30124
30158
  ) {
@@ -30167,6 +30201,64 @@ export class WorkorderService {
30167
30201
  });
30168
30202
  }
30169
30203
 
30204
+ public static createSapStandaloneInspectionLot<
30205
+ ThrowOnError extends boolean = false,
30206
+ >(
30207
+ options: Options<
30208
+ WorkorderCreateSapStandaloneInspectionLotData,
30209
+ ThrowOnError
30210
+ >,
30211
+ ) {
30212
+ return (options.client ?? _heyApiClient).post<
30213
+ WorkorderCreateSapStandaloneInspectionLotResponses,
30214
+ unknown,
30215
+ ThrowOnError
30216
+ >({
30217
+ url: '/Workorders/createSapStandaloneInspectionLot',
30218
+ ...options,
30219
+ headers: {
30220
+ 'Content-Type': 'application/json',
30221
+ ...options.headers,
30222
+ },
30223
+ });
30224
+ }
30225
+
30226
+ public static getSapStandaloneInspectionOperation<
30227
+ ThrowOnError extends boolean = false,
30228
+ >(
30229
+ options: Options<
30230
+ WorkorderGetSapStandaloneInspectionOperationData,
30231
+ ThrowOnError
30232
+ >,
30233
+ ) {
30234
+ return (options.client ?? _heyApiClient).get<
30235
+ WorkorderGetSapStandaloneInspectionOperationResponses,
30236
+ unknown,
30237
+ ThrowOnError
30238
+ >({
30239
+ url: '/Workorders/getSapStandaloneInspectionOperation',
30240
+ ...options,
30241
+ });
30242
+ }
30243
+
30244
+ public static listSapStandaloneInspectionLots<
30245
+ ThrowOnError extends boolean = false,
30246
+ >(
30247
+ options: Options<
30248
+ WorkorderListSapStandaloneInspectionLotsData,
30249
+ ThrowOnError
30250
+ >,
30251
+ ) {
30252
+ return (options.client ?? _heyApiClient).get<
30253
+ WorkorderListSapStandaloneInspectionLotsResponses,
30254
+ unknown,
30255
+ ThrowOnError
30256
+ >({
30257
+ url: '/Workorders/listSapStandaloneInspectionLots',
30258
+ ...options,
30259
+ });
30260
+ }
30261
+
30170
30262
  public static getSapHuCreationOptions<ThrowOnError extends boolean = false>(
30171
30263
  options: Options<WorkorderGetSapHuCreationOptionsData, ThrowOnError>,
30172
30264
  ) {
@@ -30206,6 +30298,40 @@ export class WorkorderService {
30206
30298
  });
30207
30299
  }
30208
30300
 
30301
+ public static createSapInspectionLot<ThrowOnError extends boolean = false>(
30302
+ options: Options<WorkorderCreateSapInspectionLotData, ThrowOnError>,
30303
+ ) {
30304
+ return (options.client ?? _heyApiClient).post<
30305
+ WorkorderCreateSapInspectionLotResponses,
30306
+ unknown,
30307
+ ThrowOnError
30308
+ >({
30309
+ url: '/Workorders/createSapInspectionLot',
30310
+ ...options,
30311
+ headers: {
30312
+ 'Content-Type': 'application/json',
30313
+ ...options.headers,
30314
+ },
30315
+ });
30316
+ }
30317
+
30318
+ public static createSapSample<ThrowOnError extends boolean = false>(
30319
+ options: Options<WorkorderCreateSapSampleData, ThrowOnError>,
30320
+ ) {
30321
+ return (options.client ?? _heyApiClient).post<
30322
+ WorkorderCreateSapSampleResponses,
30323
+ unknown,
30324
+ ThrowOnError
30325
+ >({
30326
+ url: '/Workorders/createSapSample',
30327
+ ...options,
30328
+ headers: {
30329
+ 'Content-Type': 'application/json',
30330
+ ...options.headers,
30331
+ },
30332
+ });
30333
+ }
30334
+
30209
30335
  public static createSapHu<ThrowOnError extends boolean = false>(
30210
30336
  options: Options<WorkorderCreateSapHuData, ThrowOnError>,
30211
30337
  ) {
@@ -30257,6 +30383,23 @@ export class WorkorderService {
30257
30383
  });
30258
30384
  }
30259
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
+
30260
30403
  public static updateSapInspectionLotComments<
30261
30404
  ThrowOnError extends boolean = false,
30262
30405
  >(
@@ -2057,6 +2057,7 @@ export type Addon = {
2057
2057
  active?: boolean;
2058
2058
  features?: Array<XAny>;
2059
2059
  icon?: string;
2060
+ menuParent?: string;
2060
2061
  created?: Date;
2061
2062
  modified?: Date;
2062
2063
  serverModified?: Date;
@@ -29904,6 +29905,27 @@ export type WorkorderGetSapSampleStepsResponses = {
29904
29905
  export type WorkorderGetSapSampleStepsResponse =
29905
29906
  WorkorderGetSapSampleStepsResponses[keyof WorkorderGetSapSampleStepsResponses];
29906
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
+
29907
29929
  export type WorkorderGetSapInspectionVendorsData = {
29908
29930
  body?: never;
29909
29931
  path?: never;
@@ -29969,6 +29991,72 @@ export type WorkorderPrepareSapStandaloneInspectionLotResponses = {
29969
29991
  export type WorkorderPrepareSapStandaloneInspectionLotResponse =
29970
29992
  WorkorderPrepareSapStandaloneInspectionLotResponses[keyof WorkorderPrepareSapStandaloneInspectionLotResponses];
29971
29993
 
29994
+ export type WorkorderCreateSapStandaloneInspectionLotData = {
29995
+ body: {
29996
+ [key: string]: unknown;
29997
+ };
29998
+ path?: never;
29999
+ query?: never;
30000
+ url: '/Workorders/createSapStandaloneInspectionLot';
30001
+ };
30002
+
30003
+ export type WorkorderCreateSapStandaloneInspectionLotResponses = {
30004
+ /**
30005
+ * Request was successful
30006
+ */
30007
+ 200: {
30008
+ [key: string]: unknown;
30009
+ };
30010
+ };
30011
+
30012
+ export type WorkorderCreateSapStandaloneInspectionLotResponse =
30013
+ WorkorderCreateSapStandaloneInspectionLotResponses[keyof WorkorderCreateSapStandaloneInspectionLotResponses];
30014
+
30015
+ export type WorkorderGetSapStandaloneInspectionOperationData = {
30016
+ body?: never;
30017
+ path?: never;
30018
+ query: {
30019
+ requestId: string;
30020
+ };
30021
+ url: '/Workorders/getSapStandaloneInspectionOperation';
30022
+ };
30023
+
30024
+ export type WorkorderGetSapStandaloneInspectionOperationResponses = {
30025
+ /**
30026
+ * Request was successful
30027
+ */
30028
+ 200: {
30029
+ [key: string]: unknown;
30030
+ };
30031
+ };
30032
+
30033
+ export type WorkorderGetSapStandaloneInspectionOperationResponse =
30034
+ WorkorderGetSapStandaloneInspectionOperationResponses[keyof WorkorderGetSapStandaloneInspectionOperationResponses];
30035
+
30036
+ export type WorkorderListSapStandaloneInspectionLotsData = {
30037
+ body?: never;
30038
+ path?: never;
30039
+ query: {
30040
+ plant: string;
30041
+ material: string;
30042
+ batch?: string;
30043
+ offset?: number;
30044
+ };
30045
+ url: '/Workorders/listSapStandaloneInspectionLots';
30046
+ };
30047
+
30048
+ export type WorkorderListSapStandaloneInspectionLotsResponses = {
30049
+ /**
30050
+ * Request was successful
30051
+ */
30052
+ 200: {
30053
+ [key: string]: unknown;
30054
+ };
30055
+ };
30056
+
30057
+ export type WorkorderListSapStandaloneInspectionLotsResponse =
30058
+ WorkorderListSapStandaloneInspectionLotsResponses[keyof WorkorderListSapStandaloneInspectionLotsResponses];
30059
+
29972
30060
  export type WorkorderGetSapHuCreationOptionsData = {
29973
30061
  body?: never;
29974
30062
  path?: never;
@@ -30033,6 +30121,48 @@ export type WorkorderGetSapAddonCapabilitiesResponses = {
30033
30121
  export type WorkorderGetSapAddonCapabilitiesResponse =
30034
30122
  WorkorderGetSapAddonCapabilitiesResponses[keyof WorkorderGetSapAddonCapabilitiesResponses];
30035
30123
 
30124
+ export type WorkorderCreateSapInspectionLotData = {
30125
+ body: {
30126
+ [key: string]: unknown;
30127
+ };
30128
+ path?: never;
30129
+ query?: never;
30130
+ url: '/Workorders/createSapInspectionLot';
30131
+ };
30132
+
30133
+ export type WorkorderCreateSapInspectionLotResponses = {
30134
+ /**
30135
+ * Request was successful
30136
+ */
30137
+ 200: {
30138
+ [key: string]: unknown;
30139
+ };
30140
+ };
30141
+
30142
+ export type WorkorderCreateSapInspectionLotResponse =
30143
+ WorkorderCreateSapInspectionLotResponses[keyof WorkorderCreateSapInspectionLotResponses];
30144
+
30145
+ export type WorkorderCreateSapSampleData = {
30146
+ body: {
30147
+ [key: string]: unknown;
30148
+ };
30149
+ path?: never;
30150
+ query?: never;
30151
+ url: '/Workorders/createSapSample';
30152
+ };
30153
+
30154
+ export type WorkorderCreateSapSampleResponses = {
30155
+ /**
30156
+ * Request was successful
30157
+ */
30158
+ 200: {
30159
+ [key: string]: unknown;
30160
+ };
30161
+ };
30162
+
30163
+ export type WorkorderCreateSapSampleResponse =
30164
+ WorkorderCreateSapSampleResponses[keyof WorkorderCreateSapSampleResponses];
30165
+
30036
30166
  export type WorkorderCreateSapHuData = {
30037
30167
  body: {
30038
30168
  [key: string]: unknown;
@@ -30096,6 +30226,27 @@ export type WorkorderPrintSapSampleLabelResponses = {
30096
30226
  export type WorkorderPrintSapSampleLabelResponse =
30097
30227
  WorkorderPrintSapSampleLabelResponses[keyof WorkorderPrintSapSampleLabelResponses];
30098
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
+
30099
30250
  export type WorkorderUpdateSapInspectionLotCommentsData = {
30100
30251
  body: {
30101
30252
  [key: string]: unknown;