@nextplus/js-sdk 1.14.49 → 1.14.50

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
@@ -21294,6 +21294,16 @@ var WorkorderService = class {
21294
21294
  ...options
21295
21295
  });
21296
21296
  }
21297
+ static createSapHu(options) {
21298
+ return (options.client ?? client).post({
21299
+ url: "/Workorders/createSapHu",
21300
+ ...options,
21301
+ headers: {
21302
+ "Content-Type": "application/json",
21303
+ ...options.headers
21304
+ }
21305
+ });
21306
+ }
21297
21307
  static printSapHuLabel(options) {
21298
21308
  return (options.client ?? client).post({
21299
21309
  url: "/Workorders/printSapHuLabel",
package/dist/smoke.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  configure
3
- } from "./chunk-X4R6OZG4.js";
4
- import "./chunk-TBSD4BD7.js";
5
- import "./chunk-H3U2GYOU.js";
3
+ } from "./chunk-KUZHZPYT.js";
4
+ import "./chunk-ROQQWMKB.js";
5
+ import "./chunk-BFKDKJKA.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.49",
3
+ "version": "1.14.50",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "generate": "npm run clean && npm run prepare-spec && npm run openapi-ts && npm run build",
@@ -2418,6 +2418,8 @@ import type {
2418
2418
  WorkorderGetSapInspectionLotCommentsResponses,
2419
2419
  WorkorderGetSapAddonCapabilitiesData,
2420
2420
  WorkorderGetSapAddonCapabilitiesResponses,
2421
+ WorkorderCreateSapHuData,
2422
+ WorkorderCreateSapHuResponses,
2421
2423
  WorkorderPrintSapHuLabelData,
2422
2424
  WorkorderPrintSapHuLabelResponses,
2423
2425
  WorkorderPrintSapSampleLabelData,
@@ -30204,6 +30206,23 @@ export class WorkorderService {
30204
30206
  });
30205
30207
  }
30206
30208
 
30209
+ public static createSapHu<ThrowOnError extends boolean = false>(
30210
+ options: Options<WorkorderCreateSapHuData, ThrowOnError>,
30211
+ ) {
30212
+ return (options.client ?? _heyApiClient).post<
30213
+ WorkorderCreateSapHuResponses,
30214
+ unknown,
30215
+ ThrowOnError
30216
+ >({
30217
+ url: '/Workorders/createSapHu',
30218
+ ...options,
30219
+ headers: {
30220
+ 'Content-Type': 'application/json',
30221
+ ...options.headers,
30222
+ },
30223
+ });
30224
+ }
30225
+
30207
30226
  public static printSapHuLabel<ThrowOnError extends boolean = false>(
30208
30227
  options: Options<WorkorderPrintSapHuLabelData, ThrowOnError>,
30209
30228
  ) {
@@ -30033,6 +30033,27 @@ export type WorkorderGetSapAddonCapabilitiesResponses = {
30033
30033
  export type WorkorderGetSapAddonCapabilitiesResponse =
30034
30034
  WorkorderGetSapAddonCapabilitiesResponses[keyof WorkorderGetSapAddonCapabilitiesResponses];
30035
30035
 
30036
+ export type WorkorderCreateSapHuData = {
30037
+ body: {
30038
+ [key: string]: unknown;
30039
+ };
30040
+ path?: never;
30041
+ query?: never;
30042
+ url: '/Workorders/createSapHu';
30043
+ };
30044
+
30045
+ export type WorkorderCreateSapHuResponses = {
30046
+ /**
30047
+ * Request was successful
30048
+ */
30049
+ 200: {
30050
+ [key: string]: unknown;
30051
+ };
30052
+ };
30053
+
30054
+ export type WorkorderCreateSapHuResponse =
30055
+ WorkorderCreateSapHuResponses[keyof WorkorderCreateSapHuResponses];
30056
+
30036
30057
  export type WorkorderPrintSapHuLabelData = {
30037
30058
  body: {
30038
30059
  [key: string]: unknown;