@nextplus/js-sdk 1.14.46 → 1.14.47

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
@@ -8441,12 +8441,18 @@ var ContainerService = class {
8441
8441
  ...options
8442
8442
  });
8443
8443
  }
8444
- static download(options) {
8444
+ static downloadGetContainersContainerDownloadFile(options) {
8445
8445
  return (options.client ?? client).get({
8446
8446
  url: "/containers/{container}/download/{file}",
8447
8447
  ...options
8448
8448
  });
8449
8449
  }
8450
+ static downloadGetContainersContainerDownloadFileFilename(options) {
8451
+ return (options.client ?? client).get({
8452
+ url: "/containers/{container}/download/{file}/{filename}",
8453
+ ...options
8454
+ });
8455
+ }
8450
8456
  };
8451
8457
  var StationService = class {
8452
8458
  /**
@@ -21248,6 +21254,16 @@ var WorkorderService = class {
21248
21254
  ...options
21249
21255
  });
21250
21256
  }
21257
+ static prepareSapStandaloneInspectionLot(options) {
21258
+ return (options.client ?? client).post({
21259
+ url: "/Workorders/prepareSapStandaloneInspectionLot",
21260
+ ...options,
21261
+ headers: {
21262
+ "Content-Type": "application/json",
21263
+ ...options.headers
21264
+ }
21265
+ });
21266
+ }
21251
21267
  static getSapHuCreationOptions(options) {
21252
21268
  return (options.client ?? client).get({
21253
21269
  url: "/Workorders/getSapHuCreationOptions",
@@ -36329,6 +36345,16 @@ var PriorityService = class {
36329
36345
  ...options
36330
36346
  });
36331
36347
  }
36348
+ static testConnection(options) {
36349
+ return (options.client ?? client).post({
36350
+ url: "/Priority/testConnection",
36351
+ ...options,
36352
+ headers: {
36353
+ "Content-Type": "application/json",
36354
+ ...options.headers
36355
+ }
36356
+ });
36357
+ }
36332
36358
  static getPriorityServiceCallStatuses(options) {
36333
36359
  return (options?.client ?? client).get({
36334
36360
  url: "/Priority/getPriorityServiceCallStatuses",
@@ -37572,6 +37598,16 @@ var InventoryTransactionService = class {
37572
37598
  }
37573
37599
  });
37574
37600
  }
37601
+ static export(options) {
37602
+ return (options?.client ?? client).post({
37603
+ url: "/InventoryTransactions/export",
37604
+ ...options,
37605
+ headers: {
37606
+ "Content-Type": "application/json",
37607
+ ...options?.headers
37608
+ }
37609
+ });
37610
+ }
37575
37611
  /**
37576
37612
  * Count with deleted instances of the model matched by where from the data source.
37577
37613
  */
package/dist/smoke.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  configure
3
- } from "./chunk-SUTLUR6L.js";
4
- import "./chunk-UNVS4USV.js";
5
- import "./chunk-SFE3EXIE.js";
3
+ } from "./chunk-ILHEBJ5E.js";
4
+ import "./chunk-4KGK47D7.js";
5
+ import "./chunk-WJITI4FW.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.46",
3
+ "version": "1.14.47",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "generate": "npm run clean && npm run prepare-spec && npm run openapi-ts && npm run build",
@@ -18,8 +18,10 @@ import type {
18
18
  ContainerGetFileResponses,
19
19
  ContainerUploadData,
20
20
  ContainerUploadResponses,
21
- ContainerDownloadData,
22
- ContainerDownloadResponses,
21
+ ContainerDownloadGetContainersContainerDownloadFileData,
22
+ ContainerDownloadGetContainersContainerDownloadFileResponses,
23
+ ContainerDownloadGetContainersContainerDownloadFileFilenameData,
24
+ ContainerDownloadGetContainersContainerDownloadFileFilenameResponses,
23
25
  StationFindData,
24
26
  StationFindResponses,
25
27
  StationPatchOrCreateData,
@@ -2404,6 +2406,8 @@ import type {
2404
2406
  WorkorderGetSapPrintersResponses,
2405
2407
  WorkorderGetSapSampleStepsData,
2406
2408
  WorkorderGetSapSampleStepsResponses,
2409
+ WorkorderPrepareSapStandaloneInspectionLotData,
2410
+ WorkorderPrepareSapStandaloneInspectionLotResponses,
2407
2411
  WorkorderGetSapHuCreationOptionsData,
2408
2412
  WorkorderGetSapHuCreationOptionsResponses,
2409
2413
  WorkorderGetSapInspectionLotCommentsData,
@@ -5114,6 +5118,8 @@ import type {
5114
5118
  PriorityCreateChangeStreamPostPriorityChangeStreamResponses,
5115
5119
  PriorityGetPrioritySettingsData,
5116
5120
  PriorityGetPrioritySettingsResponses,
5121
+ PriorityTestConnectionData,
5122
+ PriorityTestConnectionResponses,
5117
5123
  PriorityGetPriorityServiceCallStatusesData,
5118
5124
  PriorityGetPriorityServiceCallStatusesResponses,
5119
5125
  PrioritySaveSettingsData,
@@ -5334,6 +5340,8 @@ import type {
5334
5340
  InventoryTransactionCreateChangeStreamGetInventoryTransactionsChangeStreamResponses,
5335
5341
  InventoryTransactionCreateChangeStreamPostInventoryTransactionsChangeStreamData,
5336
5342
  InventoryTransactionCreateChangeStreamPostInventoryTransactionsChangeStreamResponses,
5343
+ InventoryTransactionExportData,
5344
+ InventoryTransactionExportResponses,
5337
5345
  InventoryTransactionCountWithDeletedData,
5338
5346
  InventoryTransactionCountWithDeletedResponses,
5339
5347
  ProductionEntityPrototypeGetEntityTypeData,
@@ -7754,11 +7762,16 @@ export class ContainerService {
7754
7762
  });
7755
7763
  }
7756
7764
 
7757
- public static download<ThrowOnError extends boolean = false>(
7758
- options: Options<ContainerDownloadData, ThrowOnError>,
7765
+ public static downloadGetContainersContainerDownloadFile<
7766
+ ThrowOnError extends boolean = false,
7767
+ >(
7768
+ options: Options<
7769
+ ContainerDownloadGetContainersContainerDownloadFileData,
7770
+ ThrowOnError
7771
+ >,
7759
7772
  ) {
7760
7773
  return (options.client ?? _heyApiClient).get<
7761
- ContainerDownloadResponses,
7774
+ ContainerDownloadGetContainersContainerDownloadFileResponses,
7762
7775
  unknown,
7763
7776
  ThrowOnError
7764
7777
  >({
@@ -7766,6 +7779,24 @@ export class ContainerService {
7766
7779
  ...options,
7767
7780
  });
7768
7781
  }
7782
+
7783
+ public static downloadGetContainersContainerDownloadFileFilename<
7784
+ ThrowOnError extends boolean = false,
7785
+ >(
7786
+ options: Options<
7787
+ ContainerDownloadGetContainersContainerDownloadFileFilenameData,
7788
+ ThrowOnError
7789
+ >,
7790
+ ) {
7791
+ return (options.client ?? _heyApiClient).get<
7792
+ ContainerDownloadGetContainersContainerDownloadFileFilenameResponses,
7793
+ unknown,
7794
+ ThrowOnError
7795
+ >({
7796
+ url: '/containers/{container}/download/{file}/{filename}',
7797
+ ...options,
7798
+ });
7799
+ }
7769
7800
  }
7770
7801
 
7771
7802
  export class StationService {
@@ -30082,6 +30113,28 @@ export class WorkorderService {
30082
30113
  });
30083
30114
  }
30084
30115
 
30116
+ public static prepareSapStandaloneInspectionLot<
30117
+ ThrowOnError extends boolean = false,
30118
+ >(
30119
+ options: Options<
30120
+ WorkorderPrepareSapStandaloneInspectionLotData,
30121
+ ThrowOnError
30122
+ >,
30123
+ ) {
30124
+ return (options.client ?? _heyApiClient).post<
30125
+ WorkorderPrepareSapStandaloneInspectionLotResponses,
30126
+ unknown,
30127
+ ThrowOnError
30128
+ >({
30129
+ url: '/Workorders/prepareSapStandaloneInspectionLot',
30130
+ ...options,
30131
+ headers: {
30132
+ 'Content-Type': 'application/json',
30133
+ ...options.headers,
30134
+ },
30135
+ });
30136
+ }
30137
+
30085
30138
  public static getSapHuCreationOptions<ThrowOnError extends boolean = false>(
30086
30139
  options: Options<WorkorderGetSapHuCreationOptionsData, ThrowOnError>,
30087
30140
  ) {
@@ -56525,6 +56578,23 @@ export class PriorityService {
56525
56578
  });
56526
56579
  }
56527
56580
 
56581
+ public static testConnection<ThrowOnError extends boolean = false>(
56582
+ options: Options<PriorityTestConnectionData, ThrowOnError>,
56583
+ ) {
56584
+ return (options.client ?? _heyApiClient).post<
56585
+ PriorityTestConnectionResponses,
56586
+ unknown,
56587
+ ThrowOnError
56588
+ >({
56589
+ url: '/Priority/testConnection',
56590
+ ...options,
56591
+ headers: {
56592
+ 'Content-Type': 'application/json',
56593
+ ...options.headers,
56594
+ },
56595
+ });
56596
+ }
56597
+
56528
56598
  public static getPriorityServiceCallStatuses<
56529
56599
  ThrowOnError extends boolean = false,
56530
56600
  >(
@@ -58695,6 +58765,23 @@ export class InventoryTransactionService {
58695
58765
  });
58696
58766
  }
58697
58767
 
58768
+ public static export<ThrowOnError extends boolean = false>(
58769
+ options?: Options<InventoryTransactionExportData, ThrowOnError>,
58770
+ ) {
58771
+ return (options?.client ?? _heyApiClient).post<
58772
+ InventoryTransactionExportResponses,
58773
+ unknown,
58774
+ ThrowOnError
58775
+ >({
58776
+ url: '/InventoryTransactions/export',
58777
+ ...options,
58778
+ headers: {
58779
+ 'Content-Type': 'application/json',
58780
+ ...options?.headers,
58781
+ },
58782
+ });
58783
+ }
58784
+
58698
58785
  /**
58699
58786
  * Count with deleted instances of the model matched by where from the data source.
58700
58787
  */
@@ -2386,7 +2386,7 @@ export type ContainerUploadResponses = {
2386
2386
  export type ContainerUploadResponse =
2387
2387
  ContainerUploadResponses[keyof ContainerUploadResponses];
2388
2388
 
2389
- export type ContainerDownloadData = {
2389
+ export type ContainerDownloadGetContainersContainerDownloadFileData = {
2390
2390
  body?: never;
2391
2391
  path: {
2392
2392
  container: string;
@@ -2396,13 +2396,31 @@ export type ContainerDownloadData = {
2396
2396
  url: '/containers/{container}/download/{file}';
2397
2397
  };
2398
2398
 
2399
- export type ContainerDownloadResponses = {
2399
+ export type ContainerDownloadGetContainersContainerDownloadFileResponses = {
2400
2400
  /**
2401
2401
  * Request was successful
2402
2402
  */
2403
2403
  204: unknown;
2404
2404
  };
2405
2405
 
2406
+ export type ContainerDownloadGetContainersContainerDownloadFileFilenameData = {
2407
+ body?: never;
2408
+ path: {
2409
+ container: string;
2410
+ file: string;
2411
+ };
2412
+ query?: never;
2413
+ url: '/containers/{container}/download/{file}/{filename}';
2414
+ };
2415
+
2416
+ export type ContainerDownloadGetContainersContainerDownloadFileFilenameResponses =
2417
+ {
2418
+ /**
2419
+ * Request was successful
2420
+ */
2421
+ 204: unknown;
2422
+ };
2423
+
2406
2424
  export type StationFindData = {
2407
2425
  body?: never;
2408
2426
  path?: never;
@@ -29886,6 +29904,27 @@ export type WorkorderGetSapSampleStepsResponses = {
29886
29904
  export type WorkorderGetSapSampleStepsResponse =
29887
29905
  WorkorderGetSapSampleStepsResponses[keyof WorkorderGetSapSampleStepsResponses];
29888
29906
 
29907
+ export type WorkorderPrepareSapStandaloneInspectionLotData = {
29908
+ body: {
29909
+ [key: string]: unknown;
29910
+ };
29911
+ path?: never;
29912
+ query?: never;
29913
+ url: '/Workorders/prepareSapStandaloneInspectionLot';
29914
+ };
29915
+
29916
+ export type WorkorderPrepareSapStandaloneInspectionLotResponses = {
29917
+ /**
29918
+ * Request was successful
29919
+ */
29920
+ 200: {
29921
+ [key: string]: unknown;
29922
+ };
29923
+ };
29924
+
29925
+ export type WorkorderPrepareSapStandaloneInspectionLotResponse =
29926
+ WorkorderPrepareSapStandaloneInspectionLotResponses[keyof WorkorderPrepareSapStandaloneInspectionLotResponses];
29927
+
29889
29928
  export type WorkorderGetSapHuCreationOptionsData = {
29890
29929
  body?: never;
29891
29930
  path?: never;
@@ -60945,6 +60984,28 @@ export type PriorityGetPrioritySettingsResponses = {
60945
60984
  export type PriorityGetPrioritySettingsResponse =
60946
60985
  PriorityGetPrioritySettingsResponses[keyof PriorityGetPrioritySettingsResponses];
60947
60986
 
60987
+ export type PriorityTestConnectionData = {
60988
+ body: {
60989
+ settings: string;
60990
+ stream?: boolean;
60991
+ };
60992
+ path?: never;
60993
+ query?: never;
60994
+ url: '/Priority/testConnection';
60995
+ };
60996
+
60997
+ export type PriorityTestConnectionResponses = {
60998
+ /**
60999
+ * Request was successful
61000
+ */
61001
+ 200: {
61002
+ [key: string]: unknown;
61003
+ };
61004
+ };
61005
+
61006
+ export type PriorityTestConnectionResponse =
61007
+ PriorityTestConnectionResponses[keyof PriorityTestConnectionResponses];
61008
+
60948
61009
  export type PriorityGetPriorityServiceCallStatusesData = {
60949
61010
  body?: never;
60950
61011
  path?: never;
@@ -63411,6 +63472,24 @@ export type InventoryTransactionCreateChangeStreamPostInventoryTransactionsChang
63411
63472
  200: unknown;
63412
63473
  };
63413
63474
 
63475
+ export type InventoryTransactionExportData = {
63476
+ body?: {
63477
+ filter?: string;
63478
+ columns?: string;
63479
+ timeZone?: string;
63480
+ };
63481
+ path?: never;
63482
+ query?: never;
63483
+ url: '/InventoryTransactions/export';
63484
+ };
63485
+
63486
+ export type InventoryTransactionExportResponses = {
63487
+ /**
63488
+ * Request was successful
63489
+ */
63490
+ 204: unknown;
63491
+ };
63492
+
63414
63493
  export type InventoryTransactionCountWithDeletedData = {
63415
63494
  body?: never;
63416
63495
  path?: never;