@nextplus/js-sdk 1.14.47 → 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
@@ -21254,6 +21254,18 @@ var WorkorderService = class {
21254
21254
  ...options
21255
21255
  });
21256
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
+ }
21257
21269
  static prepareSapStandaloneInspectionLot(options) {
21258
21270
  return (options.client ?? client).post({
21259
21271
  url: "/Workorders/prepareSapStandaloneInspectionLot",
package/dist/smoke.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  configure
3
- } from "./chunk-ILHEBJ5E.js";
4
- import "./chunk-4KGK47D7.js";
5
- import "./chunk-WJITI4FW.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.47",
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",
@@ -2406,6 +2406,10 @@ import type {
2406
2406
  WorkorderGetSapPrintersResponses,
2407
2407
  WorkorderGetSapSampleStepsData,
2408
2408
  WorkorderGetSapSampleStepsResponses,
2409
+ WorkorderGetSapInspectionVendorsData,
2410
+ WorkorderGetSapInspectionVendorsResponses,
2411
+ WorkorderGetSapInspectionPlansData,
2412
+ WorkorderGetSapInspectionPlansResponses,
2409
2413
  WorkorderPrepareSapStandaloneInspectionLotData,
2410
2414
  WorkorderPrepareSapStandaloneInspectionLotResponses,
2411
2415
  WorkorderGetSapHuCreationOptionsData,
@@ -30113,6 +30117,32 @@ export class WorkorderService {
30113
30117
  });
30114
30118
  }
30115
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
+
30116
30146
  public static prepareSapStandaloneInspectionLot<
30117
30147
  ThrowOnError extends boolean = false,
30118
30148
  >(
@@ -29904,6 +29904,50 @@ export type WorkorderGetSapSampleStepsResponses = {
29904
29904
  export type WorkorderGetSapSampleStepsResponse =
29905
29905
  WorkorderGetSapSampleStepsResponses[keyof WorkorderGetSapSampleStepsResponses];
29906
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
+
29907
29951
  export type WorkorderPrepareSapStandaloneInspectionLotData = {
29908
29952
  body: {
29909
29953
  [key: string]: unknown;