@nextplus/js-sdk 1.14.50 → 1.14.51

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
@@ -21276,6 +21276,28 @@ var WorkorderService = class {
21276
21276
  }
21277
21277
  });
21278
21278
  }
21279
+ static createSapStandaloneInspectionLot(options) {
21280
+ return (options.client ?? client).post({
21281
+ url: "/Workorders/createSapStandaloneInspectionLot",
21282
+ ...options,
21283
+ headers: {
21284
+ "Content-Type": "application/json",
21285
+ ...options.headers
21286
+ }
21287
+ });
21288
+ }
21289
+ static getSapStandaloneInspectionOperation(options) {
21290
+ return (options.client ?? client).get({
21291
+ url: "/Workorders/getSapStandaloneInspectionOperation",
21292
+ ...options
21293
+ });
21294
+ }
21295
+ static listSapStandaloneInspectionLots(options) {
21296
+ return (options.client ?? client).get({
21297
+ url: "/Workorders/listSapStandaloneInspectionLots",
21298
+ ...options
21299
+ });
21300
+ }
21279
21301
  static getSapHuCreationOptions(options) {
21280
21302
  return (options.client ?? client).get({
21281
21303
  url: "/Workorders/getSapHuCreationOptions",
@@ -21294,6 +21316,26 @@ var WorkorderService = class {
21294
21316
  ...options
21295
21317
  });
21296
21318
  }
21319
+ static createSapInspectionLot(options) {
21320
+ return (options.client ?? client).post({
21321
+ url: "/Workorders/createSapInspectionLot",
21322
+ ...options,
21323
+ headers: {
21324
+ "Content-Type": "application/json",
21325
+ ...options.headers
21326
+ }
21327
+ });
21328
+ }
21329
+ static createSapSample(options) {
21330
+ return (options.client ?? client).post({
21331
+ url: "/Workorders/createSapSample",
21332
+ ...options,
21333
+ headers: {
21334
+ "Content-Type": "application/json",
21335
+ ...options.headers
21336
+ }
21337
+ });
21338
+ }
21297
21339
  static createSapHu(options) {
21298
21340
  return (options.client ?? client).post({
21299
21341
  url: "/Workorders/createSapHu",
package/dist/smoke.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  configure
3
- } from "./chunk-KUZHZPYT.js";
4
- import "./chunk-ROQQWMKB.js";
5
- import "./chunk-BFKDKJKA.js";
3
+ } from "./chunk-GIE4TSXU.js";
4
+ import "./chunk-RN6EHNBU.js";
5
+ import "./chunk-VIWBIWAS.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.50",
3
+ "version": "1.14.51",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "generate": "npm run clean && npm run prepare-spec && npm run openapi-ts && npm run build",
@@ -7333,6 +7333,9 @@ export const AddonSchema = {
7333
7333
  icon: {
7334
7334
  type: 'string',
7335
7335
  },
7336
+ menuParent: {
7337
+ type: 'string',
7338
+ },
7336
7339
  created: {
7337
7340
  default: '$now',
7338
7341
  type: 'string',
@@ -2412,12 +2412,22 @@ import type {
2412
2412
  WorkorderGetSapInspectionPlansResponses,
2413
2413
  WorkorderPrepareSapStandaloneInspectionLotData,
2414
2414
  WorkorderPrepareSapStandaloneInspectionLotResponses,
2415
+ WorkorderCreateSapStandaloneInspectionLotData,
2416
+ WorkorderCreateSapStandaloneInspectionLotResponses,
2417
+ WorkorderGetSapStandaloneInspectionOperationData,
2418
+ WorkorderGetSapStandaloneInspectionOperationResponses,
2419
+ WorkorderListSapStandaloneInspectionLotsData,
2420
+ WorkorderListSapStandaloneInspectionLotsResponses,
2415
2421
  WorkorderGetSapHuCreationOptionsData,
2416
2422
  WorkorderGetSapHuCreationOptionsResponses,
2417
2423
  WorkorderGetSapInspectionLotCommentsData,
2418
2424
  WorkorderGetSapInspectionLotCommentsResponses,
2419
2425
  WorkorderGetSapAddonCapabilitiesData,
2420
2426
  WorkorderGetSapAddonCapabilitiesResponses,
2427
+ WorkorderCreateSapInspectionLotData,
2428
+ WorkorderCreateSapInspectionLotResponses,
2429
+ WorkorderCreateSapSampleData,
2430
+ WorkorderCreateSapSampleResponses,
2421
2431
  WorkorderCreateSapHuData,
2422
2432
  WorkorderCreateSapHuResponses,
2423
2433
  WorkorderPrintSapHuLabelData,
@@ -30167,6 +30177,64 @@ export class WorkorderService {
30167
30177
  });
30168
30178
  }
30169
30179
 
30180
+ public static createSapStandaloneInspectionLot<
30181
+ ThrowOnError extends boolean = false,
30182
+ >(
30183
+ options: Options<
30184
+ WorkorderCreateSapStandaloneInspectionLotData,
30185
+ ThrowOnError
30186
+ >,
30187
+ ) {
30188
+ return (options.client ?? _heyApiClient).post<
30189
+ WorkorderCreateSapStandaloneInspectionLotResponses,
30190
+ unknown,
30191
+ ThrowOnError
30192
+ >({
30193
+ url: '/Workorders/createSapStandaloneInspectionLot',
30194
+ ...options,
30195
+ headers: {
30196
+ 'Content-Type': 'application/json',
30197
+ ...options.headers,
30198
+ },
30199
+ });
30200
+ }
30201
+
30202
+ public static getSapStandaloneInspectionOperation<
30203
+ ThrowOnError extends boolean = false,
30204
+ >(
30205
+ options: Options<
30206
+ WorkorderGetSapStandaloneInspectionOperationData,
30207
+ ThrowOnError
30208
+ >,
30209
+ ) {
30210
+ return (options.client ?? _heyApiClient).get<
30211
+ WorkorderGetSapStandaloneInspectionOperationResponses,
30212
+ unknown,
30213
+ ThrowOnError
30214
+ >({
30215
+ url: '/Workorders/getSapStandaloneInspectionOperation',
30216
+ ...options,
30217
+ });
30218
+ }
30219
+
30220
+ public static listSapStandaloneInspectionLots<
30221
+ ThrowOnError extends boolean = false,
30222
+ >(
30223
+ options: Options<
30224
+ WorkorderListSapStandaloneInspectionLotsData,
30225
+ ThrowOnError
30226
+ >,
30227
+ ) {
30228
+ return (options.client ?? _heyApiClient).get<
30229
+ WorkorderListSapStandaloneInspectionLotsResponses,
30230
+ unknown,
30231
+ ThrowOnError
30232
+ >({
30233
+ url: '/Workorders/listSapStandaloneInspectionLots',
30234
+ ...options,
30235
+ });
30236
+ }
30237
+
30170
30238
  public static getSapHuCreationOptions<ThrowOnError extends boolean = false>(
30171
30239
  options: Options<WorkorderGetSapHuCreationOptionsData, ThrowOnError>,
30172
30240
  ) {
@@ -30206,6 +30274,40 @@ export class WorkorderService {
30206
30274
  });
30207
30275
  }
30208
30276
 
30277
+ public static createSapInspectionLot<ThrowOnError extends boolean = false>(
30278
+ options: Options<WorkorderCreateSapInspectionLotData, ThrowOnError>,
30279
+ ) {
30280
+ return (options.client ?? _heyApiClient).post<
30281
+ WorkorderCreateSapInspectionLotResponses,
30282
+ unknown,
30283
+ ThrowOnError
30284
+ >({
30285
+ url: '/Workorders/createSapInspectionLot',
30286
+ ...options,
30287
+ headers: {
30288
+ 'Content-Type': 'application/json',
30289
+ ...options.headers,
30290
+ },
30291
+ });
30292
+ }
30293
+
30294
+ public static createSapSample<ThrowOnError extends boolean = false>(
30295
+ options: Options<WorkorderCreateSapSampleData, ThrowOnError>,
30296
+ ) {
30297
+ return (options.client ?? _heyApiClient).post<
30298
+ WorkorderCreateSapSampleResponses,
30299
+ unknown,
30300
+ ThrowOnError
30301
+ >({
30302
+ url: '/Workorders/createSapSample',
30303
+ ...options,
30304
+ headers: {
30305
+ 'Content-Type': 'application/json',
30306
+ ...options.headers,
30307
+ },
30308
+ });
30309
+ }
30310
+
30209
30311
  public static createSapHu<ThrowOnError extends boolean = false>(
30210
30312
  options: Options<WorkorderCreateSapHuData, ThrowOnError>,
30211
30313
  ) {
@@ -2057,6 +2057,7 @@ export type Addon = {
2057
2057
  active?: boolean;
2058
2058
  features?: Array<XAny>;
2059
2059
  icon?: string;
2060
+ menuParent?: string;
2060
2061
  created?: Date;
2061
2062
  modified?: Date;
2062
2063
  serverModified?: Date;
@@ -29969,6 +29970,72 @@ export type WorkorderPrepareSapStandaloneInspectionLotResponses = {
29969
29970
  export type WorkorderPrepareSapStandaloneInspectionLotResponse =
29970
29971
  WorkorderPrepareSapStandaloneInspectionLotResponses[keyof WorkorderPrepareSapStandaloneInspectionLotResponses];
29971
29972
 
29973
+ export type WorkorderCreateSapStandaloneInspectionLotData = {
29974
+ body: {
29975
+ [key: string]: unknown;
29976
+ };
29977
+ path?: never;
29978
+ query?: never;
29979
+ url: '/Workorders/createSapStandaloneInspectionLot';
29980
+ };
29981
+
29982
+ export type WorkorderCreateSapStandaloneInspectionLotResponses = {
29983
+ /**
29984
+ * Request was successful
29985
+ */
29986
+ 200: {
29987
+ [key: string]: unknown;
29988
+ };
29989
+ };
29990
+
29991
+ export type WorkorderCreateSapStandaloneInspectionLotResponse =
29992
+ WorkorderCreateSapStandaloneInspectionLotResponses[keyof WorkorderCreateSapStandaloneInspectionLotResponses];
29993
+
29994
+ export type WorkorderGetSapStandaloneInspectionOperationData = {
29995
+ body?: never;
29996
+ path?: never;
29997
+ query: {
29998
+ requestId: string;
29999
+ };
30000
+ url: '/Workorders/getSapStandaloneInspectionOperation';
30001
+ };
30002
+
30003
+ export type WorkorderGetSapStandaloneInspectionOperationResponses = {
30004
+ /**
30005
+ * Request was successful
30006
+ */
30007
+ 200: {
30008
+ [key: string]: unknown;
30009
+ };
30010
+ };
30011
+
30012
+ export type WorkorderGetSapStandaloneInspectionOperationResponse =
30013
+ WorkorderGetSapStandaloneInspectionOperationResponses[keyof WorkorderGetSapStandaloneInspectionOperationResponses];
30014
+
30015
+ export type WorkorderListSapStandaloneInspectionLotsData = {
30016
+ body?: never;
30017
+ path?: never;
30018
+ query: {
30019
+ plant: string;
30020
+ material: string;
30021
+ batch?: string;
30022
+ offset?: number;
30023
+ };
30024
+ url: '/Workorders/listSapStandaloneInspectionLots';
30025
+ };
30026
+
30027
+ export type WorkorderListSapStandaloneInspectionLotsResponses = {
30028
+ /**
30029
+ * Request was successful
30030
+ */
30031
+ 200: {
30032
+ [key: string]: unknown;
30033
+ };
30034
+ };
30035
+
30036
+ export type WorkorderListSapStandaloneInspectionLotsResponse =
30037
+ WorkorderListSapStandaloneInspectionLotsResponses[keyof WorkorderListSapStandaloneInspectionLotsResponses];
30038
+
29972
30039
  export type WorkorderGetSapHuCreationOptionsData = {
29973
30040
  body?: never;
29974
30041
  path?: never;
@@ -30033,6 +30100,48 @@ export type WorkorderGetSapAddonCapabilitiesResponses = {
30033
30100
  export type WorkorderGetSapAddonCapabilitiesResponse =
30034
30101
  WorkorderGetSapAddonCapabilitiesResponses[keyof WorkorderGetSapAddonCapabilitiesResponses];
30035
30102
 
30103
+ export type WorkorderCreateSapInspectionLotData = {
30104
+ body: {
30105
+ [key: string]: unknown;
30106
+ };
30107
+ path?: never;
30108
+ query?: never;
30109
+ url: '/Workorders/createSapInspectionLot';
30110
+ };
30111
+
30112
+ export type WorkorderCreateSapInspectionLotResponses = {
30113
+ /**
30114
+ * Request was successful
30115
+ */
30116
+ 200: {
30117
+ [key: string]: unknown;
30118
+ };
30119
+ };
30120
+
30121
+ export type WorkorderCreateSapInspectionLotResponse =
30122
+ WorkorderCreateSapInspectionLotResponses[keyof WorkorderCreateSapInspectionLotResponses];
30123
+
30124
+ export type WorkorderCreateSapSampleData = {
30125
+ body: {
30126
+ [key: string]: unknown;
30127
+ };
30128
+ path?: never;
30129
+ query?: never;
30130
+ url: '/Workorders/createSapSample';
30131
+ };
30132
+
30133
+ export type WorkorderCreateSapSampleResponses = {
30134
+ /**
30135
+ * Request was successful
30136
+ */
30137
+ 200: {
30138
+ [key: string]: unknown;
30139
+ };
30140
+ };
30141
+
30142
+ export type WorkorderCreateSapSampleResponse =
30143
+ WorkorderCreateSapSampleResponses[keyof WorkorderCreateSapSampleResponses];
30144
+
30036
30145
  export type WorkorderCreateSapHuData = {
30037
30146
  body: {
30038
30147
  [key: string]: unknown;