@nextplus/js-sdk 1.14.46 → 1.14.48

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,28 @@ var WorkorderService = class {
21248
21254
  ...options
21249
21255
  });
21250
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
+ }
21269
+ static prepareSapStandaloneInspectionLot(options) {
21270
+ return (options.client ?? client).post({
21271
+ url: "/Workorders/prepareSapStandaloneInspectionLot",
21272
+ ...options,
21273
+ headers: {
21274
+ "Content-Type": "application/json",
21275
+ ...options.headers
21276
+ }
21277
+ });
21278
+ }
21251
21279
  static getSapHuCreationOptions(options) {
21252
21280
  return (options.client ?? client).get({
21253
21281
  url: "/Workorders/getSapHuCreationOptions",
@@ -36329,6 +36357,16 @@ var PriorityService = class {
36329
36357
  ...options
36330
36358
  });
36331
36359
  }
36360
+ static testConnection(options) {
36361
+ return (options.client ?? client).post({
36362
+ url: "/Priority/testConnection",
36363
+ ...options,
36364
+ headers: {
36365
+ "Content-Type": "application/json",
36366
+ ...options.headers
36367
+ }
36368
+ });
36369
+ }
36332
36370
  static getPriorityServiceCallStatuses(options) {
36333
36371
  return (options?.client ?? client).get({
36334
36372
  url: "/Priority/getPriorityServiceCallStatuses",
@@ -37572,6 +37610,16 @@ var InventoryTransactionService = class {
37572
37610
  }
37573
37611
  });
37574
37612
  }
37613
+ static export(options) {
37614
+ return (options?.client ?? client).post({
37615
+ url: "/InventoryTransactions/export",
37616
+ ...options,
37617
+ headers: {
37618
+ "Content-Type": "application/json",
37619
+ ...options?.headers
37620
+ }
37621
+ });
37622
+ }
37575
37623
  /**
37576
37624
  * Count with deleted instances of the model matched by where from the data source.
37577
37625
  */
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-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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextplus/js-sdk",
3
- "version": "1.14.46",
3
+ "version": "1.14.48",
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,12 @@ import type {
2404
2406
  WorkorderGetSapPrintersResponses,
2405
2407
  WorkorderGetSapSampleStepsData,
2406
2408
  WorkorderGetSapSampleStepsResponses,
2409
+ WorkorderGetSapInspectionVendorsData,
2410
+ WorkorderGetSapInspectionVendorsResponses,
2411
+ WorkorderGetSapInspectionPlansData,
2412
+ WorkorderGetSapInspectionPlansResponses,
2413
+ WorkorderPrepareSapStandaloneInspectionLotData,
2414
+ WorkorderPrepareSapStandaloneInspectionLotResponses,
2407
2415
  WorkorderGetSapHuCreationOptionsData,
2408
2416
  WorkorderGetSapHuCreationOptionsResponses,
2409
2417
  WorkorderGetSapInspectionLotCommentsData,
@@ -5114,6 +5122,8 @@ import type {
5114
5122
  PriorityCreateChangeStreamPostPriorityChangeStreamResponses,
5115
5123
  PriorityGetPrioritySettingsData,
5116
5124
  PriorityGetPrioritySettingsResponses,
5125
+ PriorityTestConnectionData,
5126
+ PriorityTestConnectionResponses,
5117
5127
  PriorityGetPriorityServiceCallStatusesData,
5118
5128
  PriorityGetPriorityServiceCallStatusesResponses,
5119
5129
  PrioritySaveSettingsData,
@@ -5334,6 +5344,8 @@ import type {
5334
5344
  InventoryTransactionCreateChangeStreamGetInventoryTransactionsChangeStreamResponses,
5335
5345
  InventoryTransactionCreateChangeStreamPostInventoryTransactionsChangeStreamData,
5336
5346
  InventoryTransactionCreateChangeStreamPostInventoryTransactionsChangeStreamResponses,
5347
+ InventoryTransactionExportData,
5348
+ InventoryTransactionExportResponses,
5337
5349
  InventoryTransactionCountWithDeletedData,
5338
5350
  InventoryTransactionCountWithDeletedResponses,
5339
5351
  ProductionEntityPrototypeGetEntityTypeData,
@@ -7754,11 +7766,16 @@ export class ContainerService {
7754
7766
  });
7755
7767
  }
7756
7768
 
7757
- public static download<ThrowOnError extends boolean = false>(
7758
- options: Options<ContainerDownloadData, ThrowOnError>,
7769
+ public static downloadGetContainersContainerDownloadFile<
7770
+ ThrowOnError extends boolean = false,
7771
+ >(
7772
+ options: Options<
7773
+ ContainerDownloadGetContainersContainerDownloadFileData,
7774
+ ThrowOnError
7775
+ >,
7759
7776
  ) {
7760
7777
  return (options.client ?? _heyApiClient).get<
7761
- ContainerDownloadResponses,
7778
+ ContainerDownloadGetContainersContainerDownloadFileResponses,
7762
7779
  unknown,
7763
7780
  ThrowOnError
7764
7781
  >({
@@ -7766,6 +7783,24 @@ export class ContainerService {
7766
7783
  ...options,
7767
7784
  });
7768
7785
  }
7786
+
7787
+ public static downloadGetContainersContainerDownloadFileFilename<
7788
+ ThrowOnError extends boolean = false,
7789
+ >(
7790
+ options: Options<
7791
+ ContainerDownloadGetContainersContainerDownloadFileFilenameData,
7792
+ ThrowOnError
7793
+ >,
7794
+ ) {
7795
+ return (options.client ?? _heyApiClient).get<
7796
+ ContainerDownloadGetContainersContainerDownloadFileFilenameResponses,
7797
+ unknown,
7798
+ ThrowOnError
7799
+ >({
7800
+ url: '/containers/{container}/download/{file}/{filename}',
7801
+ ...options,
7802
+ });
7803
+ }
7769
7804
  }
7770
7805
 
7771
7806
  export class StationService {
@@ -30082,6 +30117,54 @@ export class WorkorderService {
30082
30117
  });
30083
30118
  }
30084
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
+
30146
+ public static prepareSapStandaloneInspectionLot<
30147
+ ThrowOnError extends boolean = false,
30148
+ >(
30149
+ options: Options<
30150
+ WorkorderPrepareSapStandaloneInspectionLotData,
30151
+ ThrowOnError
30152
+ >,
30153
+ ) {
30154
+ return (options.client ?? _heyApiClient).post<
30155
+ WorkorderPrepareSapStandaloneInspectionLotResponses,
30156
+ unknown,
30157
+ ThrowOnError
30158
+ >({
30159
+ url: '/Workorders/prepareSapStandaloneInspectionLot',
30160
+ ...options,
30161
+ headers: {
30162
+ 'Content-Type': 'application/json',
30163
+ ...options.headers,
30164
+ },
30165
+ });
30166
+ }
30167
+
30085
30168
  public static getSapHuCreationOptions<ThrowOnError extends boolean = false>(
30086
30169
  options: Options<WorkorderGetSapHuCreationOptionsData, ThrowOnError>,
30087
30170
  ) {
@@ -56525,6 +56608,23 @@ export class PriorityService {
56525
56608
  });
56526
56609
  }
56527
56610
 
56611
+ public static testConnection<ThrowOnError extends boolean = false>(
56612
+ options: Options<PriorityTestConnectionData, ThrowOnError>,
56613
+ ) {
56614
+ return (options.client ?? _heyApiClient).post<
56615
+ PriorityTestConnectionResponses,
56616
+ unknown,
56617
+ ThrowOnError
56618
+ >({
56619
+ url: '/Priority/testConnection',
56620
+ ...options,
56621
+ headers: {
56622
+ 'Content-Type': 'application/json',
56623
+ ...options.headers,
56624
+ },
56625
+ });
56626
+ }
56627
+
56528
56628
  public static getPriorityServiceCallStatuses<
56529
56629
  ThrowOnError extends boolean = false,
56530
56630
  >(
@@ -58695,6 +58795,23 @@ export class InventoryTransactionService {
58695
58795
  });
58696
58796
  }
58697
58797
 
58798
+ public static export<ThrowOnError extends boolean = false>(
58799
+ options?: Options<InventoryTransactionExportData, ThrowOnError>,
58800
+ ) {
58801
+ return (options?.client ?? _heyApiClient).post<
58802
+ InventoryTransactionExportResponses,
58803
+ unknown,
58804
+ ThrowOnError
58805
+ >({
58806
+ url: '/InventoryTransactions/export',
58807
+ ...options,
58808
+ headers: {
58809
+ 'Content-Type': 'application/json',
58810
+ ...options?.headers,
58811
+ },
58812
+ });
58813
+ }
58814
+
58698
58815
  /**
58699
58816
  * Count with deleted instances of the model matched by where from the data source.
58700
58817
  */
@@ -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,71 @@ export type WorkorderGetSapSampleStepsResponses = {
29886
29904
  export type WorkorderGetSapSampleStepsResponse =
29887
29905
  WorkorderGetSapSampleStepsResponses[keyof WorkorderGetSapSampleStepsResponses];
29888
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
+
29951
+ export type WorkorderPrepareSapStandaloneInspectionLotData = {
29952
+ body: {
29953
+ [key: string]: unknown;
29954
+ };
29955
+ path?: never;
29956
+ query?: never;
29957
+ url: '/Workorders/prepareSapStandaloneInspectionLot';
29958
+ };
29959
+
29960
+ export type WorkorderPrepareSapStandaloneInspectionLotResponses = {
29961
+ /**
29962
+ * Request was successful
29963
+ */
29964
+ 200: {
29965
+ [key: string]: unknown;
29966
+ };
29967
+ };
29968
+
29969
+ export type WorkorderPrepareSapStandaloneInspectionLotResponse =
29970
+ WorkorderPrepareSapStandaloneInspectionLotResponses[keyof WorkorderPrepareSapStandaloneInspectionLotResponses];
29971
+
29889
29972
  export type WorkorderGetSapHuCreationOptionsData = {
29890
29973
  body?: never;
29891
29974
  path?: never;
@@ -60945,6 +61028,28 @@ export type PriorityGetPrioritySettingsResponses = {
60945
61028
  export type PriorityGetPrioritySettingsResponse =
60946
61029
  PriorityGetPrioritySettingsResponses[keyof PriorityGetPrioritySettingsResponses];
60947
61030
 
61031
+ export type PriorityTestConnectionData = {
61032
+ body: {
61033
+ settings: string;
61034
+ stream?: boolean;
61035
+ };
61036
+ path?: never;
61037
+ query?: never;
61038
+ url: '/Priority/testConnection';
61039
+ };
61040
+
61041
+ export type PriorityTestConnectionResponses = {
61042
+ /**
61043
+ * Request was successful
61044
+ */
61045
+ 200: {
61046
+ [key: string]: unknown;
61047
+ };
61048
+ };
61049
+
61050
+ export type PriorityTestConnectionResponse =
61051
+ PriorityTestConnectionResponses[keyof PriorityTestConnectionResponses];
61052
+
60948
61053
  export type PriorityGetPriorityServiceCallStatusesData = {
60949
61054
  body?: never;
60950
61055
  path?: never;
@@ -63411,6 +63516,24 @@ export type InventoryTransactionCreateChangeStreamPostInventoryTransactionsChang
63411
63516
  200: unknown;
63412
63517
  };
63413
63518
 
63519
+ export type InventoryTransactionExportData = {
63520
+ body?: {
63521
+ filter?: string;
63522
+ columns?: string;
63523
+ timeZone?: string;
63524
+ };
63525
+ path?: never;
63526
+ query?: never;
63527
+ url: '/InventoryTransactions/export';
63528
+ };
63529
+
63530
+ export type InventoryTransactionExportResponses = {
63531
+ /**
63532
+ * Request was successful
63533
+ */
63534
+ 204: unknown;
63535
+ };
63536
+
63414
63537
  export type InventoryTransactionCountWithDeletedData = {
63415
63538
  body?: never;
63416
63539
  path?: never;