@nextplus/js-sdk 1.14.50 → 1.14.52

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/README.md CHANGED
@@ -98,7 +98,7 @@ publisher before then: https://docs.npmjs.com/trusted-publishers/.
98
98
 
99
99
  ### Prerequisites
100
100
 
101
- - Node.js (v18 or higher)
101
+ - Node.js (v22.23.4 or newer within 22.x)
102
102
  - npm
103
103
 
104
104
  ### Setup
@@ -20526,6 +20526,19 @@ var WorkorderService = class {
20526
20526
  ...options
20527
20527
  });
20528
20528
  }
20529
+ /**
20530
+ * Prepare a SAP label PDF and spool for one sample or all samples of an authorized workorder inspection lot. Does not send to a printer.
20531
+ */
20532
+ static prepareSapSampleLabelPreview(options) {
20533
+ return (options.client ?? client).post({
20534
+ url: "/Workorders/prepareSapSampleLabelPreview",
20535
+ ...options,
20536
+ headers: {
20537
+ "Content-Type": "application/json",
20538
+ ...options.headers
20539
+ }
20540
+ });
20541
+ }
20529
20542
  static getSapInspectionVendors(options) {
20530
20543
  return (options.client ?? client).get({
20531
20544
  url: "/Workorders/getSapInspectionVendors",
@@ -20548,6 +20561,28 @@ var WorkorderService = class {
20548
20561
  }
20549
20562
  });
20550
20563
  }
20564
+ static createSapStandaloneInspectionLot(options) {
20565
+ return (options.client ?? client).post({
20566
+ url: "/Workorders/createSapStandaloneInspectionLot",
20567
+ ...options,
20568
+ headers: {
20569
+ "Content-Type": "application/json",
20570
+ ...options.headers
20571
+ }
20572
+ });
20573
+ }
20574
+ static getSapStandaloneInspectionOperation(options) {
20575
+ return (options.client ?? client).get({
20576
+ url: "/Workorders/getSapStandaloneInspectionOperation",
20577
+ ...options
20578
+ });
20579
+ }
20580
+ static listSapStandaloneInspectionLots(options) {
20581
+ return (options.client ?? client).get({
20582
+ url: "/Workorders/listSapStandaloneInspectionLots",
20583
+ ...options
20584
+ });
20585
+ }
20551
20586
  static getSapHuCreationOptions(options) {
20552
20587
  return (options.client ?? client).get({
20553
20588
  url: "/Workorders/getSapHuCreationOptions",
@@ -20566,6 +20601,26 @@ var WorkorderService = class {
20566
20601
  ...options
20567
20602
  });
20568
20603
  }
20604
+ static createSapInspectionLot(options) {
20605
+ return (options.client ?? client).post({
20606
+ url: "/Workorders/createSapInspectionLot",
20607
+ ...options,
20608
+ headers: {
20609
+ "Content-Type": "application/json",
20610
+ ...options.headers
20611
+ }
20612
+ });
20613
+ }
20614
+ static createSapSample(options) {
20615
+ return (options.client ?? client).post({
20616
+ url: "/Workorders/createSapSample",
20617
+ ...options,
20618
+ headers: {
20619
+ "Content-Type": "application/json",
20620
+ ...options.headers
20621
+ }
20622
+ });
20623
+ }
20569
20624
  static createSapHu(options) {
20570
20625
  return (options.client ?? client).post({
20571
20626
  url: "/Workorders/createSapHu",
@@ -20596,6 +20651,16 @@ var WorkorderService = class {
20596
20651
  }
20597
20652
  });
20598
20653
  }
20654
+ static printSapAllSampleLabels(options) {
20655
+ return (options.client ?? client).post({
20656
+ url: "/Workorders/printSapAllSampleLabels",
20657
+ ...options,
20658
+ headers: {
20659
+ "Content-Type": "application/json",
20660
+ ...options.headers
20661
+ }
20662
+ });
20663
+ }
20599
20664
  static updateSapInspectionLotComments(options) {
20600
20665
  return (options.client ?? client).post({
20601
20666
  url: "/Workorders/updateSapInspectionLotComments",
@@ -112,7 +112,7 @@ import {
112
112
  WorkorderStatusService,
113
113
  WorkorderStatusTransitionService,
114
114
  WorkorderTemplateService
115
- } from "./chunk-BFKDKJKA.js";
115
+ } from "./chunk-CXWIZHAG.js";
116
116
  import {
117
117
  __export
118
118
  } from "./chunk-FXXZNC42.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  sdk_exports
3
- } from "./chunk-ROQQWMKB.js";
3
+ } from "./chunk-EIGZ5TR2.js";
4
4
  import {
5
5
  UserModelService
6
- } from "./chunk-BFKDKJKA.js";
6
+ } from "./chunk-CXWIZHAG.js";
7
7
  import {
8
8
  __publicField,
9
9
  createClient