@nextplus/js-sdk 1.14.55 → 1.14.56

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
@@ -21186,6 +21186,16 @@ var WorkorderService = class {
21186
21186
  }
21187
21187
  });
21188
21188
  }
21189
+ static exportList(options) {
21190
+ return (options.client ?? client).post({
21191
+ url: "/Workorders/exportList",
21192
+ ...options,
21193
+ headers: {
21194
+ "Content-Type": "application/json",
21195
+ ...options.headers
21196
+ }
21197
+ });
21198
+ }
21189
21199
  /**
21190
21200
  * Read SAP inspection lots, samples and laboratory results for an authorized work order.
21191
21201
  */
@@ -21227,6 +21237,18 @@ var WorkorderService = class {
21227
21237
  ...options
21228
21238
  });
21229
21239
  }
21240
+ static listSapStandaloneLabResults(options) {
21241
+ return (options.client ?? client).get({
21242
+ url: "/Workorders/listSapStandaloneLabResults",
21243
+ ...options
21244
+ });
21245
+ }
21246
+ static getSapStandaloneLabResults(options) {
21247
+ return (options.client ?? client).get({
21248
+ url: "/Workorders/getSapStandaloneLabResults",
21249
+ ...options
21250
+ });
21251
+ }
21230
21252
  /**
21231
21253
  * Read Adama SAP data for an authorized imported work order.
21232
21254
  */
@@ -21267,6 +21289,18 @@ var WorkorderService = class {
21267
21289
  }
21268
21290
  });
21269
21291
  }
21292
+ static searchSapInspectionMaterials(options) {
21293
+ return (options?.client ?? client).get({
21294
+ url: "/Workorders/searchSapInspectionMaterials",
21295
+ ...options
21296
+ });
21297
+ }
21298
+ static searchSapInspectionBatches(options) {
21299
+ return (options.client ?? client).get({
21300
+ url: "/Workorders/searchSapInspectionBatches",
21301
+ ...options
21302
+ });
21303
+ }
21270
21304
  static getSapInspectionVendors(options) {
21271
21305
  return (options.client ?? client).get({
21272
21306
  url: "/Workorders/getSapInspectionVendors",
@@ -21311,6 +21345,48 @@ var WorkorderService = class {
21311
21345
  ...options
21312
21346
  });
21313
21347
  }
21348
+ static prepareSapStandaloneLabelPreview(options) {
21349
+ return (options.client ?? client).post({
21350
+ url: "/Workorders/prepareSapStandaloneLabelPreview",
21351
+ ...options,
21352
+ headers: {
21353
+ "Content-Type": "application/json",
21354
+ ...options.headers
21355
+ }
21356
+ });
21357
+ }
21358
+ static prepareSapStandaloneLabelPrint(options) {
21359
+ return (options.client ?? client).post({
21360
+ url: "/Workorders/prepareSapStandaloneLabelPrint",
21361
+ ...options,
21362
+ headers: {
21363
+ "Content-Type": "application/json",
21364
+ ...options.headers
21365
+ }
21366
+ });
21367
+ }
21368
+ static printSapStandaloneLabels(options) {
21369
+ return (options.client ?? client).post({
21370
+ url: "/Workorders/printSapStandaloneLabels",
21371
+ ...options,
21372
+ headers: {
21373
+ "Content-Type": "application/json",
21374
+ ...options.headers
21375
+ }
21376
+ });
21377
+ }
21378
+ static getSapStandaloneLabelPrinters(options) {
21379
+ return (options?.client ?? client).get({
21380
+ url: "/Workorders/getSapStandaloneLabelPrinters",
21381
+ ...options
21382
+ });
21383
+ }
21384
+ static getSapStandaloneLabelOperation(options) {
21385
+ return (options.client ?? client).get({
21386
+ url: "/Workorders/getSapStandaloneLabelOperation",
21387
+ ...options
21388
+ });
21389
+ }
21314
21390
  static getSapHuCreationOptions(options) {
21315
21391
  return (options.client ?? client).get({
21316
21392
  url: "/Workorders/getSapHuCreationOptions",
@@ -38018,6 +38094,18 @@ var ProductionEntityService = class {
38018
38094
  ...options
38019
38095
  });
38020
38096
  }
38097
+ static prototypeGetArchiveHistory(options) {
38098
+ return (options.client ?? client).get({
38099
+ url: "/ProductionEntities/{id}/archive-history",
38100
+ ...options
38101
+ });
38102
+ }
38103
+ static prototypeExportArchiveHistory(options) {
38104
+ return (options.client ?? client).get({
38105
+ url: "/ProductionEntities/{id}/archive-export",
38106
+ ...options
38107
+ });
38108
+ }
38021
38109
  /**
38022
38110
  * Get parameter values for a production entity
38023
38111
  */
package/dist/smoke.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  configure
3
- } from "./chunk-ERKCZMGQ.js";
4
- import "./chunk-EIGZ5TR2.js";
5
- import "./chunk-CXWIZHAG.js";
3
+ } from "./chunk-KODNZLVR.js";
4
+ import "./chunk-UJEP3WUE.js";
5
+ import "./chunk-3MIOCKF3.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.55",
3
+ "version": "1.14.56",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "generate": "npm run clean && npm run prepare-spec && npm run openapi-ts && npm run build",
@@ -1729,6 +1729,9 @@ export const WorkorderSchema = {
1729
1729
  statusType: {
1730
1730
  type: 'string',
1731
1731
  },
1732
+ erpStatusCode: {
1733
+ type: 'string',
1734
+ },
1732
1735
  erpStatus: {
1733
1736
  type: 'string',
1734
1737
  },
@@ -2390,6 +2390,8 @@ import type {
2390
2390
  WorkorderCreateChangeStreamGetWorkordersChangeStreamResponses,
2391
2391
  WorkorderCreateChangeStreamPostWorkordersChangeStreamData,
2392
2392
  WorkorderCreateChangeStreamPostWorkordersChangeStreamResponses,
2393
+ WorkorderExportListData,
2394
+ WorkorderExportListResponses,
2393
2395
  WorkorderGetSapQualityData,
2394
2396
  WorkorderGetSapQualityResponses,
2395
2397
  WorkorderGetSapFinalConfirmationProposalData,
@@ -2400,6 +2402,10 @@ import type {
2400
2402
  WorkorderCancelSapFinalConfirmationResponses,
2401
2403
  WorkorderListSapLabResultsData,
2402
2404
  WorkorderListSapLabResultsResponses,
2405
+ WorkorderListSapStandaloneLabResultsData,
2406
+ WorkorderListSapStandaloneLabResultsResponses,
2407
+ WorkorderGetSapStandaloneLabResultsData,
2408
+ WorkorderGetSapStandaloneLabResultsResponses,
2403
2409
  WorkorderGetSapProductionData,
2404
2410
  WorkorderGetSapProductionResponses,
2405
2411
  WorkorderGetSapPrintersData,
@@ -2408,6 +2414,10 @@ import type {
2408
2414
  WorkorderGetSapSampleStepsResponses,
2409
2415
  WorkorderPrepareSapSampleLabelPreviewData,
2410
2416
  WorkorderPrepareSapSampleLabelPreviewResponses,
2417
+ WorkorderSearchSapInspectionMaterialsData,
2418
+ WorkorderSearchSapInspectionMaterialsResponses,
2419
+ WorkorderSearchSapInspectionBatchesData,
2420
+ WorkorderSearchSapInspectionBatchesResponses,
2411
2421
  WorkorderGetSapInspectionVendorsData,
2412
2422
  WorkorderGetSapInspectionVendorsResponses,
2413
2423
  WorkorderGetSapInspectionPlansData,
@@ -2420,6 +2430,16 @@ import type {
2420
2430
  WorkorderGetSapStandaloneInspectionOperationResponses,
2421
2431
  WorkorderListSapStandaloneInspectionLotsData,
2422
2432
  WorkorderListSapStandaloneInspectionLotsResponses,
2433
+ WorkorderPrepareSapStandaloneLabelPreviewData,
2434
+ WorkorderPrepareSapStandaloneLabelPreviewResponses,
2435
+ WorkorderPrepareSapStandaloneLabelPrintData,
2436
+ WorkorderPrepareSapStandaloneLabelPrintResponses,
2437
+ WorkorderPrintSapStandaloneLabelsData,
2438
+ WorkorderPrintSapStandaloneLabelsResponses,
2439
+ WorkorderGetSapStandaloneLabelPrintersData,
2440
+ WorkorderGetSapStandaloneLabelPrintersResponses,
2441
+ WorkorderGetSapStandaloneLabelOperationData,
2442
+ WorkorderGetSapStandaloneLabelOperationResponses,
2423
2443
  WorkorderGetSapHuCreationOptionsData,
2424
2444
  WorkorderGetSapHuCreationOptionsResponses,
2425
2445
  WorkorderGetSapInspectionLotCommentsData,
@@ -5418,6 +5438,10 @@ import type {
5418
5438
  ProductionEntityHandleTransitionResponses,
5419
5439
  ProductionEntityPrototypeGetParameterValuesData,
5420
5440
  ProductionEntityPrototypeGetParameterValuesResponses,
5441
+ ProductionEntityPrototypeGetArchiveHistoryData,
5442
+ ProductionEntityPrototypeGetArchiveHistoryResponses,
5443
+ ProductionEntityPrototypeExportArchiveHistoryData,
5444
+ ProductionEntityPrototypeExportArchiveHistoryResponses,
5421
5445
  ProductionEntityGetProductionEntityParameterValueData,
5422
5446
  ProductionEntityGetProductionEntityParameterValueResponses,
5423
5447
  ProductionEntityCountWithDeletedData,
@@ -30004,6 +30028,23 @@ export class WorkorderService {
30004
30028
  });
30005
30029
  }
30006
30030
 
30031
+ public static exportList<ThrowOnError extends boolean = false>(
30032
+ options: Options<WorkorderExportListData, ThrowOnError>,
30033
+ ) {
30034
+ return (options.client ?? _heyApiClient).post<
30035
+ WorkorderExportListResponses,
30036
+ unknown,
30037
+ ThrowOnError
30038
+ >({
30039
+ url: '/Workorders/exportList',
30040
+ ...options,
30041
+ headers: {
30042
+ 'Content-Type': 'application/json',
30043
+ ...options.headers,
30044
+ },
30045
+ });
30046
+ }
30047
+
30007
30048
  /**
30008
30049
  * Read SAP inspection lots, samples and laboratory results for an authorized work order.
30009
30050
  */
@@ -30085,6 +30126,32 @@ export class WorkorderService {
30085
30126
  });
30086
30127
  }
30087
30128
 
30129
+ public static listSapStandaloneLabResults<
30130
+ ThrowOnError extends boolean = false,
30131
+ >(options: Options<WorkorderListSapStandaloneLabResultsData, ThrowOnError>) {
30132
+ return (options.client ?? _heyApiClient).get<
30133
+ WorkorderListSapStandaloneLabResultsResponses,
30134
+ unknown,
30135
+ ThrowOnError
30136
+ >({
30137
+ url: '/Workorders/listSapStandaloneLabResults',
30138
+ ...options,
30139
+ });
30140
+ }
30141
+
30142
+ public static getSapStandaloneLabResults<
30143
+ ThrowOnError extends boolean = false,
30144
+ >(options: Options<WorkorderGetSapStandaloneLabResultsData, ThrowOnError>) {
30145
+ return (options.client ?? _heyApiClient).get<
30146
+ WorkorderGetSapStandaloneLabResultsResponses,
30147
+ unknown,
30148
+ ThrowOnError
30149
+ >({
30150
+ url: '/Workorders/getSapStandaloneLabResults',
30151
+ ...options,
30152
+ });
30153
+ }
30154
+
30088
30155
  /**
30089
30156
  * Read Adama SAP data for an authorized imported work order.
30090
30157
  */
@@ -30153,6 +30220,34 @@ export class WorkorderService {
30153
30220
  });
30154
30221
  }
30155
30222
 
30223
+ public static searchSapInspectionMaterials<
30224
+ ThrowOnError extends boolean = false,
30225
+ >(
30226
+ options?: Options<WorkorderSearchSapInspectionMaterialsData, ThrowOnError>,
30227
+ ) {
30228
+ return (options?.client ?? _heyApiClient).get<
30229
+ WorkorderSearchSapInspectionMaterialsResponses,
30230
+ unknown,
30231
+ ThrowOnError
30232
+ >({
30233
+ url: '/Workorders/searchSapInspectionMaterials',
30234
+ ...options,
30235
+ });
30236
+ }
30237
+
30238
+ public static searchSapInspectionBatches<
30239
+ ThrowOnError extends boolean = false,
30240
+ >(options: Options<WorkorderSearchSapInspectionBatchesData, ThrowOnError>) {
30241
+ return (options.client ?? _heyApiClient).get<
30242
+ WorkorderSearchSapInspectionBatchesResponses,
30243
+ unknown,
30244
+ ThrowOnError
30245
+ >({
30246
+ url: '/Workorders/searchSapInspectionBatches',
30247
+ ...options,
30248
+ });
30249
+ }
30250
+
30156
30251
  public static getSapInspectionVendors<ThrowOnError extends boolean = false>(
30157
30252
  options: Options<WorkorderGetSapInspectionVendorsData, ThrowOnError>,
30158
30253
  ) {
@@ -30259,6 +30354,94 @@ export class WorkorderService {
30259
30354
  });
30260
30355
  }
30261
30356
 
30357
+ public static prepareSapStandaloneLabelPreview<
30358
+ ThrowOnError extends boolean = false,
30359
+ >(
30360
+ options: Options<
30361
+ WorkorderPrepareSapStandaloneLabelPreviewData,
30362
+ ThrowOnError
30363
+ >,
30364
+ ) {
30365
+ return (options.client ?? _heyApiClient).post<
30366
+ WorkorderPrepareSapStandaloneLabelPreviewResponses,
30367
+ unknown,
30368
+ ThrowOnError
30369
+ >({
30370
+ url: '/Workorders/prepareSapStandaloneLabelPreview',
30371
+ ...options,
30372
+ headers: {
30373
+ 'Content-Type': 'application/json',
30374
+ ...options.headers,
30375
+ },
30376
+ });
30377
+ }
30378
+
30379
+ public static prepareSapStandaloneLabelPrint<
30380
+ ThrowOnError extends boolean = false,
30381
+ >(
30382
+ options: Options<WorkorderPrepareSapStandaloneLabelPrintData, ThrowOnError>,
30383
+ ) {
30384
+ return (options.client ?? _heyApiClient).post<
30385
+ WorkorderPrepareSapStandaloneLabelPrintResponses,
30386
+ unknown,
30387
+ ThrowOnError
30388
+ >({
30389
+ url: '/Workorders/prepareSapStandaloneLabelPrint',
30390
+ ...options,
30391
+ headers: {
30392
+ 'Content-Type': 'application/json',
30393
+ ...options.headers,
30394
+ },
30395
+ });
30396
+ }
30397
+
30398
+ public static printSapStandaloneLabels<ThrowOnError extends boolean = false>(
30399
+ options: Options<WorkorderPrintSapStandaloneLabelsData, ThrowOnError>,
30400
+ ) {
30401
+ return (options.client ?? _heyApiClient).post<
30402
+ WorkorderPrintSapStandaloneLabelsResponses,
30403
+ unknown,
30404
+ ThrowOnError
30405
+ >({
30406
+ url: '/Workorders/printSapStandaloneLabels',
30407
+ ...options,
30408
+ headers: {
30409
+ 'Content-Type': 'application/json',
30410
+ ...options.headers,
30411
+ },
30412
+ });
30413
+ }
30414
+
30415
+ public static getSapStandaloneLabelPrinters<
30416
+ ThrowOnError extends boolean = false,
30417
+ >(
30418
+ options?: Options<WorkorderGetSapStandaloneLabelPrintersData, ThrowOnError>,
30419
+ ) {
30420
+ return (options?.client ?? _heyApiClient).get<
30421
+ WorkorderGetSapStandaloneLabelPrintersResponses,
30422
+ unknown,
30423
+ ThrowOnError
30424
+ >({
30425
+ url: '/Workorders/getSapStandaloneLabelPrinters',
30426
+ ...options,
30427
+ });
30428
+ }
30429
+
30430
+ public static getSapStandaloneLabelOperation<
30431
+ ThrowOnError extends boolean = false,
30432
+ >(
30433
+ options: Options<WorkorderGetSapStandaloneLabelOperationData, ThrowOnError>,
30434
+ ) {
30435
+ return (options.client ?? _heyApiClient).get<
30436
+ WorkorderGetSapStandaloneLabelOperationResponses,
30437
+ unknown,
30438
+ ThrowOnError
30439
+ >({
30440
+ url: '/Workorders/getSapStandaloneLabelOperation',
30441
+ ...options,
30442
+ });
30443
+ }
30444
+
30262
30445
  public static getSapHuCreationOptions<ThrowOnError extends boolean = false>(
30263
30446
  options: Options<WorkorderGetSapHuCreationOptionsData, ThrowOnError>,
30264
30447
  ) {
@@ -59552,6 +59735,42 @@ export class ProductionEntityService {
59552
59735
  });
59553
59736
  }
59554
59737
 
59738
+ public static prototypeGetArchiveHistory<
59739
+ ThrowOnError extends boolean = false,
59740
+ >(
59741
+ options: Options<
59742
+ ProductionEntityPrototypeGetArchiveHistoryData,
59743
+ ThrowOnError
59744
+ >,
59745
+ ) {
59746
+ return (options.client ?? _heyApiClient).get<
59747
+ ProductionEntityPrototypeGetArchiveHistoryResponses,
59748
+ unknown,
59749
+ ThrowOnError
59750
+ >({
59751
+ url: '/ProductionEntities/{id}/archive-history',
59752
+ ...options,
59753
+ });
59754
+ }
59755
+
59756
+ public static prototypeExportArchiveHistory<
59757
+ ThrowOnError extends boolean = false,
59758
+ >(
59759
+ options: Options<
59760
+ ProductionEntityPrototypeExportArchiveHistoryData,
59761
+ ThrowOnError
59762
+ >,
59763
+ ) {
59764
+ return (options.client ?? _heyApiClient).get<
59765
+ ProductionEntityPrototypeExportArchiveHistoryResponses,
59766
+ unknown,
59767
+ ThrowOnError
59768
+ >({
59769
+ url: '/ProductionEntities/{id}/archive-export',
59770
+ ...options,
59771
+ });
59772
+ }
59773
+
59555
59774
  /**
59556
59775
  * Get parameter values for a production entity
59557
59776
  */