@thunkier/thunkmetrc-wrapper 0.2.2

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/index.js ADDED
@@ -0,0 +1,4782 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.MetrcWrapper = void 0;
18
+ __exportStar(require("@thunkier/thunkmetrc-client"), exports);
19
+ const RateLimiter_1 = require("./RateLimiter");
20
+ class MetrcWrapper {
21
+ constructor(client, config) {
22
+ this.client = client;
23
+ this.rateLimiter = new RateLimiter_1.MetrcRateLimiter(config);
24
+ }
25
+ /**
26
+ * Please note: The SalesDateTime field must be the actual date and time of the transaction without time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be Pacific Standard (or Daylight Savings) Time and not in UTC.
27
+ *
28
+ * Permissions Required:
29
+ * - Sales Delivery
30
+ *
31
+ * POST CreateDelivery V1
32
+ */
33
+ async salesCreateDeliveryV1(body, licenseNumber) {
34
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateDeliveryV1(body, licenseNumber));
35
+ }
36
+ /**
37
+ * Records new sales delivery entries for a given License Number. Please note: The SalesDateTime field must be the actual date and time of the transaction without the time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be in Pacific Standard (or Daylight Savings) Time and not in UTC.
38
+ *
39
+ * Permissions Required:
40
+ * - External Sources(ThirdPartyVendorV2)/Sales Deliveries(Write)
41
+ * - Industry/Facility Type/Consumer Sales Delivery or Industry/Facility Type/Patient Sales Delivery
42
+ * - WebApi Sales Deliveries Read Write State (All or WriteOnly)
43
+ * - WebApi Retail ID Read Write State (All or WriteOnly) - Required for RID only.
44
+ * - External Sources(ThirdPartyVendorV2)/Retail ID(Write) - Required for RID only.
45
+ *
46
+ * POST CreateDelivery V2
47
+ */
48
+ async salesCreateDeliveryV2(body, licenseNumber) {
49
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateDeliveryV2(body, licenseNumber));
50
+ }
51
+ /**
52
+ * Please note: The DateTime field must be the actual date and time of the transaction without time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be Pacific Standard (or Daylight Savings) Time and not in UTC.
53
+ *
54
+ * Permissions Required:
55
+ * - Retailer Delivery
56
+ *
57
+ * POST CreateDeliveryRetailer V1
58
+ */
59
+ async salesCreateDeliveryRetailerV1(body, licenseNumber) {
60
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateDeliveryRetailerV1(body, licenseNumber));
61
+ }
62
+ /**
63
+ * Records retailer delivery data for a given License Number, including delivery destinations. Please note: The DateTime field must be the actual date and time of the transaction without the time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be in Pacific Standard (or Daylight Savings) Time and not in UTC.
64
+ *
65
+ * Permissions Required:
66
+ * - External Sources(ThirdPartyVendorV2)/Sales Deliveries(Write)
67
+ * - Industry/Facility Type/Retailer Delivery
68
+ * - Industry/Facility Type/Consumer Sales Delivery or Industry/Facility Type/Patient Sales Delivery
69
+ * - WebApi Sales Deliveries Read Write State (All or WriteOnly)
70
+ * - WebApi Retail ID Read Write State (All or WriteOnly) - Required for RID only.
71
+ * - External Sources(ThirdPartyVendorV2)/Retail ID(Write) - Required for RID only.
72
+ * - Manage Retailer Delivery
73
+ *
74
+ * POST CreateDeliveryRetailer V2
75
+ */
76
+ async salesCreateDeliveryRetailerV2(body, licenseNumber) {
77
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateDeliveryRetailerV2(body, licenseNumber));
78
+ }
79
+ /**
80
+ * Permissions Required:
81
+ * - Retailer Delivery
82
+ *
83
+ * POST CreateDeliveryRetailerDepart V1
84
+ */
85
+ async salesCreateDeliveryRetailerDepartV1(body, licenseNumber) {
86
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateDeliveryRetailerDepartV1(body, licenseNumber));
87
+ }
88
+ /**
89
+ * Processes the departure of retailer deliveries for a Facility using the provided License Number and delivery data.
90
+ *
91
+ * Permissions Required:
92
+ * - External Sources(ThirdPartyVendorV2)/Sales Deliveries(Write)
93
+ * - Industry/Facility Type/Retailer Delivery
94
+ * - Industry/Facility Type/Consumer Sales Delivery or Industry/Facility Type/Patient Sales Delivery
95
+ * - WebApi Sales Deliveries Read Write State (All or WriteOnly)
96
+ * - Manage Retailer Delivery
97
+ *
98
+ * POST CreateDeliveryRetailerDepart V2
99
+ */
100
+ async salesCreateDeliveryRetailerDepartV2(body, licenseNumber) {
101
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateDeliveryRetailerDepartV2(body, licenseNumber));
102
+ }
103
+ /**
104
+ * Please note: The ActualArrivalDateTime field must be the actual date and time of the transaction without time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be Pacific Standard (or Daylight Savings) Time and not in UTC.
105
+ *
106
+ * Permissions Required:
107
+ * - Retailer Delivery
108
+ *
109
+ * POST CreateDeliveryRetailerEnd V1
110
+ */
111
+ async salesCreateDeliveryRetailerEndV1(body, licenseNumber) {
112
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateDeliveryRetailerEndV1(body, licenseNumber));
113
+ }
114
+ /**
115
+ * Ends retailer delivery records for a given License Number. Please note: The ActualArrivalDateTime field must be the actual date and time of the transaction without the time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be in Pacific Standard (or Daylight Savings) Time and not in UTC.
116
+ *
117
+ * Permissions Required:
118
+ * - External Sources(ThirdPartyVendorV2)/Sales Deliveries(Write)
119
+ * - Industry/Facility Type/Retailer Delivery
120
+ * - Industry/Facility Type/Consumer Sales Delivery or Industry/Facility Type/Patient Sales Delivery
121
+ * - WebApi Sales Deliveries Read Write State (All or WriteOnly)
122
+ * - Manage Retailer Delivery
123
+ *
124
+ * POST CreateDeliveryRetailerEnd V2
125
+ */
126
+ async salesCreateDeliveryRetailerEndV2(body, licenseNumber) {
127
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateDeliveryRetailerEndV2(body, licenseNumber));
128
+ }
129
+ /**
130
+ * Please note: The DateTime field must be the actual date and time of the transaction without time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be Pacific Standard (or Daylight Savings) Time and not in UTC.
131
+ *
132
+ * Permissions Required:
133
+ * - Retailer Delivery
134
+ *
135
+ * POST CreateDeliveryRetailerRestock V1
136
+ */
137
+ async salesCreateDeliveryRetailerRestockV1(body, licenseNumber) {
138
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateDeliveryRetailerRestockV1(body, licenseNumber));
139
+ }
140
+ /**
141
+ * Records restock deliveries for retailer facilities using the provided License Number. Please note: The DateTime field must be the actual date and time of the transaction without the time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be in Pacific Standard (or Daylight Savings) Time and not in UTC.
142
+ *
143
+ * Permissions Required:
144
+ * - External Sources(ThirdPartyVendorV2)/Sales Deliveries(Write)
145
+ * - Industry/Facility Type/Retailer Delivery
146
+ * - Industry/Facility Type/Consumer Sales Delivery or Industry/Facility Type/Patient Sales Delivery
147
+ * - WebApi Sales Deliveries Read Write State (All or WriteOnly)
148
+ * - Manage Retailer Delivery
149
+ *
150
+ * POST CreateDeliveryRetailerRestock V2
151
+ */
152
+ async salesCreateDeliveryRetailerRestockV2(body, licenseNumber) {
153
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateDeliveryRetailerRestockV2(body, licenseNumber));
154
+ }
155
+ /**
156
+ * Please note: The SalesDateTime field must be the actual date and time of the transaction without time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be Pacific Standard (or Daylight Savings) Time and not in UTC.
157
+ *
158
+ * Permissions Required:
159
+ * - Retailer Delivery
160
+ *
161
+ * POST CreateDeliveryRetailerSale V1
162
+ */
163
+ async salesCreateDeliveryRetailerSaleV1(body, licenseNumber) {
164
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateDeliveryRetailerSaleV1(body, licenseNumber));
165
+ }
166
+ /**
167
+ * Records sales deliveries originating from a retailer delivery for a given License Number. Please note: The SalesDateTime field must be the actual date and time of the transaction without the time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be in Pacific Standard (or Daylight Savings) Time and not in UTC.
168
+ *
169
+ * Permissions Required:
170
+ * - External Sources(ThirdPartyVendorV2)/Sales Deliveries(Write)
171
+ * - Industry/Facility Type/Retailer Delivery
172
+ * - Industry/Facility Type/Consumer Sales Delivery or Industry/Facility Type/Patient Sales Delivery
173
+ * - WebApi Sales Deliveries Read Write State (All or WriteOnly)
174
+ * - WebApi Retail ID Read Write State (All or WriteOnly) - Required for RID only.
175
+ * - External Sources(ThirdPartyVendorV2)/Retail ID(Write) - Required for RID only.
176
+ *
177
+ * POST CreateDeliveryRetailerSale V2
178
+ */
179
+ async salesCreateDeliveryRetailerSaleV2(body, licenseNumber) {
180
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateDeliveryRetailerSaleV2(body, licenseNumber));
181
+ }
182
+ /**
183
+ * Please note: The SalesDateTime field must be the actual date and time of the transaction without time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be Pacific Standard (or Daylight Savings) Time and not in UTC.
184
+ *
185
+ * Permissions Required:
186
+ * - Sales
187
+ *
188
+ * POST CreateReceipt V1
189
+ */
190
+ async salesCreateReceiptV1(body, licenseNumber) {
191
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateReceiptV1(body, licenseNumber));
192
+ }
193
+ /**
194
+ * Records a list of sales deliveries for a given License Number. Please note: The SalesDateTime field must be the actual date and time of the transaction without the time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be in Pacific Standard (or Daylight Savings) Time and not in UTC.
195
+ *
196
+ * Permissions Required:
197
+ * - External Sources(ThirdPartyVendorV2)/Sales (Write)
198
+ * - Industry/Facility Type/Consumer Sales or Industry/Facility Type/Patient Sales or Industry/Facility Type/External Patient Sales or Industry/Facility Type/Caregiver Sales
199
+ * - Industry/Facility Type/Advanced Sales
200
+ * - WebApi Sales Read Write State (All or WriteOnly)
201
+ * - WebApi Retail ID Read Write State (All or WriteOnly) - Required for RID only.
202
+ * - External Sources(ThirdPartyVendorV2)/Retail ID(Write) - Required for RID only.
203
+ *
204
+ * POST CreateReceipt V2
205
+ */
206
+ async salesCreateReceiptV2(body, licenseNumber) {
207
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateReceiptV2(body, licenseNumber));
208
+ }
209
+ /**
210
+ * Permissions Required:
211
+ * - Sales
212
+ *
213
+ * POST CreateTransactionByDate V1
214
+ */
215
+ async salesCreateTransactionByDateV1(date, body, licenseNumber) {
216
+ return this.rateLimiter.execute(null, false, () => this.client.salesCreateTransactionByDateV1(date, body, licenseNumber));
217
+ }
218
+ /**
219
+ * Permissions Required:
220
+ * - Sales Delivery
221
+ *
222
+ * DELETE DeleteDelivery V1
223
+ */
224
+ async salesDeleteDeliveryV1(id, body, licenseNumber) {
225
+ return this.rateLimiter.execute(null, false, () => this.client.salesDeleteDeliveryV1(id, body, licenseNumber));
226
+ }
227
+ /**
228
+ * Voids a sales delivery for a Facility using the provided License Number and delivery Id.
229
+ *
230
+ * Permissions Required:
231
+ * - Manage Sales Delivery
232
+ *
233
+ * DELETE DeleteDelivery V2
234
+ */
235
+ async salesDeleteDeliveryV2(id, body, licenseNumber) {
236
+ return this.rateLimiter.execute(null, false, () => this.client.salesDeleteDeliveryV2(id, body, licenseNumber));
237
+ }
238
+ /**
239
+ * Permissions Required:
240
+ * - Retailer Delivery
241
+ *
242
+ * DELETE DeleteDeliveryRetailer V1
243
+ */
244
+ async salesDeleteDeliveryRetailerV1(id, body, licenseNumber) {
245
+ return this.rateLimiter.execute(null, false, () => this.client.salesDeleteDeliveryRetailerV1(id, body, licenseNumber));
246
+ }
247
+ /**
248
+ * Voids a retailer delivery for a Facility using the provided License Number and delivery Id.
249
+ *
250
+ * Permissions Required:
251
+ * - External Sources(ThirdPartyVendorV2)/Sales Deliveries(Write)
252
+ * - Industry/Facility Type/Retailer Delivery
253
+ * - Industry/Facility Type/Consumer Sales Delivery or Industry/Facility Type/Patient Sales Delivery
254
+ * - WebApi Sales Deliveries Read Write State (All or WriteOnly)
255
+ * - Manage Retailer Delivery
256
+ *
257
+ * DELETE DeleteDeliveryRetailer V2
258
+ */
259
+ async salesDeleteDeliveryRetailerV2(id, body, licenseNumber) {
260
+ return this.rateLimiter.execute(null, false, () => this.client.salesDeleteDeliveryRetailerV2(id, body, licenseNumber));
261
+ }
262
+ /**
263
+ * Permissions Required:
264
+ * - Sales
265
+ *
266
+ * DELETE DeleteReceipt V1
267
+ */
268
+ async salesDeleteReceiptV1(id, body, licenseNumber) {
269
+ return this.rateLimiter.execute(null, false, () => this.client.salesDeleteReceiptV1(id, body, licenseNumber));
270
+ }
271
+ /**
272
+ * Archives a sales receipt for a Facility using the provided License Number and receipt Id.
273
+ *
274
+ * Permissions Required:
275
+ * - Manage Sales
276
+ *
277
+ * DELETE DeleteReceipt V2
278
+ */
279
+ async salesDeleteReceiptV2(id, body, licenseNumber) {
280
+ return this.rateLimiter.execute(null, false, () => this.client.salesDeleteReceiptV2(id, body, licenseNumber));
281
+ }
282
+ /**
283
+ * Permissions Required:
284
+ * - None
285
+ *
286
+ * GET GetCounties V1
287
+ */
288
+ async salesGetCountiesV1(body, No) {
289
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetCountiesV1(body, No));
290
+ }
291
+ /**
292
+ * Returns a list of counties available for sales deliveries.
293
+ *
294
+ * Permissions Required:
295
+ * - None
296
+ *
297
+ * GET GetCounties V2
298
+ */
299
+ async salesGetCountiesV2(body, No) {
300
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetCountiesV2(body, No));
301
+ }
302
+ /**
303
+ * Permissions Required:
304
+ * - None
305
+ *
306
+ * GET GetCustomertypes V1
307
+ */
308
+ async salesGetCustomertypesV1(body, No) {
309
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetCustomertypesV1(body, No));
310
+ }
311
+ /**
312
+ * Returns a list of customer types.
313
+ *
314
+ * Permissions Required:
315
+ * - None
316
+ *
317
+ * GET GetCustomertypes V2
318
+ */
319
+ async salesGetCustomertypesV2(body, No) {
320
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetCustomertypesV2(body, No));
321
+ }
322
+ /**
323
+ * Permissions Required:
324
+ * - Sales Delivery
325
+ *
326
+ * GET GetDeliveriesActive V1
327
+ */
328
+ async salesGetDeliveriesActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber, salesDateEnd, salesDateStart) {
329
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveriesActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber, salesDateEnd, salesDateStart));
330
+ }
331
+ /**
332
+ * Returns a list of active sales deliveries for a Facility, filtered by optional sales or last modified date ranges.
333
+ *
334
+ * Permissions Required:
335
+ * - View Sales Delivery
336
+ * - Manage Sales Delivery
337
+ *
338
+ * GET GetDeliveriesActive V2
339
+ */
340
+ async salesGetDeliveriesActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize, salesDateEnd, salesDateStart) {
341
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveriesActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize, salesDateEnd, salesDateStart));
342
+ }
343
+ /**
344
+ * Permissions Required:
345
+ * - Sales Delivery
346
+ *
347
+ * GET GetDeliveriesInactive V1
348
+ */
349
+ async salesGetDeliveriesInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber, salesDateEnd, salesDateStart) {
350
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveriesInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber, salesDateEnd, salesDateStart));
351
+ }
352
+ /**
353
+ * Returns a list of inactive sales deliveries for a Facility, filtered by optional sales or last modified date ranges.
354
+ *
355
+ * Permissions Required:
356
+ * - View Sales Delivery
357
+ * - Manage Sales Delivery
358
+ *
359
+ * GET GetDeliveriesInactive V2
360
+ */
361
+ async salesGetDeliveriesInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize, salesDateEnd, salesDateStart) {
362
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveriesInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize, salesDateEnd, salesDateStart));
363
+ }
364
+ /**
365
+ * Permissions Required:
366
+ * - Retailer Delivery
367
+ *
368
+ * GET GetDeliveriesRetailerActive V1
369
+ */
370
+ async salesGetDeliveriesRetailerActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
371
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveriesRetailerActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
372
+ }
373
+ /**
374
+ * Returns a list of active retailer deliveries for a Facility, optionally filtered by last modified date range
375
+ *
376
+ * Permissions Required:
377
+ * - View Retailer Delivery
378
+ * - Manage Retailer Delivery
379
+ *
380
+ * GET GetDeliveriesRetailerActive V2
381
+ */
382
+ async salesGetDeliveriesRetailerActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
383
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveriesRetailerActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
384
+ }
385
+ /**
386
+ * Permissions Required:
387
+ * - Retailer Delivery
388
+ *
389
+ * GET GetDeliveriesRetailerInactive V1
390
+ */
391
+ async salesGetDeliveriesRetailerInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
392
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveriesRetailerInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
393
+ }
394
+ /**
395
+ * Returns a list of inactive retailer deliveries for a Facility, optionally filtered by last modified date range
396
+ *
397
+ * Permissions Required:
398
+ * - View Retailer Delivery
399
+ * - Manage Retailer Delivery
400
+ *
401
+ * GET GetDeliveriesRetailerInactive V2
402
+ */
403
+ async salesGetDeliveriesRetailerInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
404
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveriesRetailerInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
405
+ }
406
+ /**
407
+ * Permissions Required:
408
+ * -
409
+ *
410
+ * GET GetDeliveriesReturnreasons V1
411
+ */
412
+ async salesGetDeliveriesReturnreasonsV1(body, licenseNumber) {
413
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveriesReturnreasonsV1(body, licenseNumber));
414
+ }
415
+ /**
416
+ * Returns a list of return reasons for sales deliveries based on the provided License Number.
417
+ *
418
+ * Permissions Required:
419
+ * - Sales Delivery
420
+ *
421
+ * GET GetDeliveriesReturnreasons V2
422
+ */
423
+ async salesGetDeliveriesReturnreasonsV2(body, licenseNumber, pageNumber, pageSize) {
424
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveriesReturnreasonsV2(body, licenseNumber, pageNumber, pageSize));
425
+ }
426
+ /**
427
+ * Permissions Required:
428
+ * - Sales Delivery
429
+ *
430
+ * GET GetDelivery V1
431
+ */
432
+ async salesGetDeliveryV1(id, body, licenseNumber) {
433
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveryV1(id, body, licenseNumber));
434
+ }
435
+ /**
436
+ * Retrieves a sales delivery record by its Id, with an optional License Number.
437
+ *
438
+ * Permissions Required:
439
+ * - View Sales Delivery
440
+ * - Manage Sales Delivery
441
+ *
442
+ * GET GetDelivery V2
443
+ */
444
+ async salesGetDeliveryV2(id, body, licenseNumber) {
445
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveryV2(id, body, licenseNumber));
446
+ }
447
+ /**
448
+ * Permissions Required:
449
+ * - Retailer Delivery
450
+ *
451
+ * GET GetDeliveryRetailer V1
452
+ */
453
+ async salesGetDeliveryRetailerV1(id, body, licenseNumber) {
454
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveryRetailerV1(id, body, licenseNumber));
455
+ }
456
+ /**
457
+ * Retrieves a retailer delivery record by its ID, with an optional License Number.
458
+ *
459
+ * Permissions Required:
460
+ * - View Retailer Delivery
461
+ * - Manage Retailer Delivery
462
+ *
463
+ * GET GetDeliveryRetailer V2
464
+ */
465
+ async salesGetDeliveryRetailerV2(id, body, licenseNumber) {
466
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetDeliveryRetailerV2(id, body, licenseNumber));
467
+ }
468
+ /**
469
+ * Permissions Required:
470
+ * -
471
+ *
472
+ * GET GetPatientRegistrationsLocations V1
473
+ */
474
+ async salesGetPatientRegistrationsLocationsV1(body, No) {
475
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetPatientRegistrationsLocationsV1(body, No));
476
+ }
477
+ /**
478
+ * Returns a list of valid Patient registration locations for sales.
479
+ *
480
+ * Permissions Required:
481
+ * -
482
+ *
483
+ * GET GetPatientRegistrationsLocations V2
484
+ */
485
+ async salesGetPatientRegistrationsLocationsV2(body, No) {
486
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetPatientRegistrationsLocationsV2(body, No));
487
+ }
488
+ /**
489
+ * Permissions Required:
490
+ * - Sales Delivery
491
+ *
492
+ * GET GetPaymenttypes V1
493
+ */
494
+ async salesGetPaymenttypesV1(body, licenseNumber) {
495
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetPaymenttypesV1(body, licenseNumber));
496
+ }
497
+ /**
498
+ * Returns a list of available payment types for the specified License Number.
499
+ *
500
+ * Permissions Required:
501
+ * - View Sales Delivery
502
+ * - Manage Sales Delivery
503
+ *
504
+ * GET GetPaymenttypes V2
505
+ */
506
+ async salesGetPaymenttypesV2(body, licenseNumber) {
507
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetPaymenttypesV2(body, licenseNumber));
508
+ }
509
+ /**
510
+ * Permissions Required:
511
+ * - Sales
512
+ *
513
+ * GET GetReceipt V1
514
+ */
515
+ async salesGetReceiptV1(id, body, licenseNumber) {
516
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetReceiptV1(id, body, licenseNumber));
517
+ }
518
+ /**
519
+ * Retrieves a sales receipt by its Id, with an optional License Number.
520
+ *
521
+ * Permissions Required:
522
+ * - View Sales
523
+ * - Manage Sales
524
+ *
525
+ * GET GetReceipt V2
526
+ */
527
+ async salesGetReceiptV2(id, body, licenseNumber) {
528
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetReceiptV2(id, body, licenseNumber));
529
+ }
530
+ /**
531
+ * Permissions Required:
532
+ * - Sales
533
+ *
534
+ * GET GetReceiptsActive V1
535
+ */
536
+ async salesGetReceiptsActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber, salesDateEnd, salesDateStart) {
537
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetReceiptsActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber, salesDateEnd, salesDateStart));
538
+ }
539
+ /**
540
+ * Returns a list of active sales receipts for a Facility, filtered by optional sales or last modified date ranges.
541
+ *
542
+ * Permissions Required:
543
+ * - View Sales
544
+ * - Manage Sales
545
+ *
546
+ * GET GetReceiptsActive V2
547
+ */
548
+ async salesGetReceiptsActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize, salesDateEnd, salesDateStart) {
549
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetReceiptsActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize, salesDateEnd, salesDateStart));
550
+ }
551
+ /**
552
+ * Retrieves a Sales Receipt by its external number, with an optional License Number.
553
+ *
554
+ * Permissions Required:
555
+ * - View Sales
556
+ * - Manage Sales
557
+ *
558
+ * GET GetReceiptsExternalByExternalNumber V2
559
+ */
560
+ async salesGetReceiptsExternalByExternalNumberV2(externalNumber, body, licenseNumber) {
561
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetReceiptsExternalByExternalNumberV2(externalNumber, body, licenseNumber));
562
+ }
563
+ /**
564
+ * Permissions Required:
565
+ * - Sales
566
+ *
567
+ * GET GetReceiptsInactive V1
568
+ */
569
+ async salesGetReceiptsInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber, salesDateEnd, salesDateStart) {
570
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetReceiptsInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber, salesDateEnd, salesDateStart));
571
+ }
572
+ /**
573
+ * Returns a list of inactive sales receipts for a Facility, filtered by optional sales or last modified date ranges.
574
+ *
575
+ * Permissions Required:
576
+ * - View Sales
577
+ * - Manage Sales
578
+ *
579
+ * GET GetReceiptsInactive V2
580
+ */
581
+ async salesGetReceiptsInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize, salesDateEnd, salesDateStart) {
582
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetReceiptsInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize, salesDateEnd, salesDateStart));
583
+ }
584
+ /**
585
+ * Permissions Required:
586
+ * - Sales
587
+ *
588
+ * GET GetTransactions V1
589
+ */
590
+ async salesGetTransactionsV1(body, licenseNumber) {
591
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetTransactionsV1(body, licenseNumber));
592
+ }
593
+ /**
594
+ * Permissions Required:
595
+ * - Sales
596
+ *
597
+ * GET GetTransactionsBySalesDateStartAndSalesDateEnd V1
598
+ */
599
+ async salesGetTransactionsBySalesDateStartAndSalesDateEndV1(salesDateStart, salesDateEnd, body, licenseNumber) {
600
+ return this.rateLimiter.execute(null, true, () => this.client.salesGetTransactionsBySalesDateStartAndSalesDateEndV1(salesDateStart, salesDateEnd, body, licenseNumber));
601
+ }
602
+ /**
603
+ * Please note: The SalesDateTime field must be the actual date and time of the transaction without time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be Pacific Standard (or Daylight Savings) Time and not in UTC.
604
+ *
605
+ * Permissions Required:
606
+ * - Sales Delivery
607
+ *
608
+ * PUT UpdateDelivery V1
609
+ */
610
+ async salesUpdateDeliveryV1(body, licenseNumber) {
611
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryV1(body, licenseNumber));
612
+ }
613
+ /**
614
+ * Updates sales delivery records for a given License Number. Please note: The SalesDateTime field must be the actual date and time of the transaction without the time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be in Pacific Standard (or Daylight Savings) Time and not in UTC.
615
+ *
616
+ * Permissions Required:
617
+ * - Manage Sales Delivery
618
+ *
619
+ * PUT UpdateDelivery V2
620
+ */
621
+ async salesUpdateDeliveryV2(body, licenseNumber) {
622
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryV2(body, licenseNumber));
623
+ }
624
+ /**
625
+ * Permissions Required:
626
+ * - Sales Delivery
627
+ *
628
+ * PUT UpdateDeliveryComplete V1
629
+ */
630
+ async salesUpdateDeliveryCompleteV1(body, licenseNumber) {
631
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryCompleteV1(body, licenseNumber));
632
+ }
633
+ /**
634
+ * Completes a list of sales deliveries for a Facility using the provided License Number and delivery data.
635
+ *
636
+ * Permissions Required:
637
+ * - Manage Sales Delivery
638
+ *
639
+ * PUT UpdateDeliveryComplete V2
640
+ */
641
+ async salesUpdateDeliveryCompleteV2(body, licenseNumber) {
642
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryCompleteV2(body, licenseNumber));
643
+ }
644
+ /**
645
+ * Please note: The SalesDateTime field must be the actual date and time of the transaction without time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be Pacific Standard (or Daylight Savings) Time and not in UTC.
646
+ *
647
+ * Permissions Required:
648
+ * - Sales Delivery
649
+ *
650
+ * PUT UpdateDeliveryHub V1
651
+ */
652
+ async salesUpdateDeliveryHubV1(body, licenseNumber) {
653
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryHubV1(body, licenseNumber));
654
+ }
655
+ /**
656
+ * Updates hub transporter details for a given License Number. Please note: The SalesDateTime field must be the actual date and time of the transaction without the time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be in Pacific Standard (or Daylight Savings) Time and not in UTC.
657
+ *
658
+ * Permissions Required:
659
+ * - Manage Sales Delivery, Manage Sales Delivery Hub
660
+ *
661
+ * PUT UpdateDeliveryHub V2
662
+ */
663
+ async salesUpdateDeliveryHubV2(body, licenseNumber) {
664
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryHubV2(body, licenseNumber));
665
+ }
666
+ /**
667
+ * Permissions Required:
668
+ * - Sales
669
+ *
670
+ * PUT UpdateDeliveryHubAccept V1
671
+ */
672
+ async salesUpdateDeliveryHubAcceptV1(body, licenseNumber) {
673
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryHubAcceptV1(body, licenseNumber));
674
+ }
675
+ /**
676
+ * Accepts a list of hub sales deliveries for a Facility based on the provided License Number and delivery data.
677
+ *
678
+ * Permissions Required:
679
+ * - Manage Sales Delivery Hub
680
+ *
681
+ * PUT UpdateDeliveryHubAccept V2
682
+ */
683
+ async salesUpdateDeliveryHubAcceptV2(body, licenseNumber) {
684
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryHubAcceptV2(body, licenseNumber));
685
+ }
686
+ /**
687
+ * Permissions Required:
688
+ * - Sales
689
+ *
690
+ * PUT UpdateDeliveryHubDepart V1
691
+ */
692
+ async salesUpdateDeliveryHubDepartV1(body, licenseNumber) {
693
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryHubDepartV1(body, licenseNumber));
694
+ }
695
+ /**
696
+ * Processes the departure of hub sales deliveries for a Facility using the provided License Number and delivery data.
697
+ *
698
+ * Permissions Required:
699
+ * - Manage Sales Delivery Hub
700
+ *
701
+ * PUT UpdateDeliveryHubDepart V2
702
+ */
703
+ async salesUpdateDeliveryHubDepartV2(body, licenseNumber) {
704
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryHubDepartV2(body, licenseNumber));
705
+ }
706
+ /**
707
+ * Permissions Required:
708
+ * - Sales
709
+ *
710
+ * PUT UpdateDeliveryHubVerifyID V1
711
+ */
712
+ async salesUpdateDeliveryHubVerifyIdV1(body, licenseNumber) {
713
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryHubVerifyIdV1(body, licenseNumber));
714
+ }
715
+ /**
716
+ * Verifies identification for a list of hub sales deliveries using the provided License Number and delivery data.
717
+ *
718
+ * Permissions Required:
719
+ * - Manage Sales Delivery Hub
720
+ *
721
+ * PUT UpdateDeliveryHubVerifyID V2
722
+ */
723
+ async salesUpdateDeliveryHubVerifyIdV2(body, licenseNumber) {
724
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryHubVerifyIdV2(body, licenseNumber));
725
+ }
726
+ /**
727
+ * Please note: The DateTime field must be the actual date and time of the transaction without time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be Pacific Standard (or Daylight Savings) Time and not in UTC.
728
+ *
729
+ * Permissions Required:
730
+ * - Retailer Delivery
731
+ *
732
+ * PUT UpdateDeliveryRetailer V1
733
+ */
734
+ async salesUpdateDeliveryRetailerV1(body, licenseNumber) {
735
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryRetailerV1(body, licenseNumber));
736
+ }
737
+ /**
738
+ * Updates retailer delivery records for a given License Number. Please note: The DateTime field must be the actual date and time of the transaction without the time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be in Pacific Standard (or Daylight Savings) Time and not in UTC.
739
+ *
740
+ * Permissions Required:
741
+ * - External Sources(ThirdPartyVendorV2)/Sales Deliveries(Write)
742
+ * - Industry/Facility Type/Retailer Delivery
743
+ * - Industry/Facility Type/Consumer Sales Delivery or Industry/Facility Type/Patient Sales Delivery
744
+ * - WebApi Sales Deliveries Read Write State (All or WriteOnly)
745
+ * - WebApi Retail ID Read Write State (All or WriteOnly) - Required for RID only.
746
+ * - External Sources(ThirdPartyVendorV2)/Retail ID(Write) - Required for RID only.
747
+ * - Manage Retailer Delivery
748
+ *
749
+ * PUT UpdateDeliveryRetailer V2
750
+ */
751
+ async salesUpdateDeliveryRetailerV2(body, licenseNumber) {
752
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateDeliveryRetailerV2(body, licenseNumber));
753
+ }
754
+ /**
755
+ * Please note: The SalesDateTime field must be the actual date and time of the transaction without time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be Pacific Standard (or Daylight Savings) Time and not in UTC.
756
+ *
757
+ * Permissions Required:
758
+ * - Sales
759
+ *
760
+ * PUT UpdateReceipt V1
761
+ */
762
+ async salesUpdateReceiptV1(body, licenseNumber) {
763
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateReceiptV1(body, licenseNumber));
764
+ }
765
+ /**
766
+ * Updates sales receipt records for a given License Number. Please note: The SalesDateTime field must be the actual date and time of the transaction without the time zone. This date/time must already be in the same time zone as the Facility recording the sales. For example, if the Facility is in Pacific Time, then this time must be in Pacific Standard (or Daylight Savings) Time and not in UTC.
767
+ *
768
+ * Permissions Required:
769
+ * - Manage Sales
770
+ *
771
+ * PUT UpdateReceipt V2
772
+ */
773
+ async salesUpdateReceiptV2(body, licenseNumber) {
774
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateReceiptV2(body, licenseNumber));
775
+ }
776
+ /**
777
+ * Finalizes a list of sales receipts for a Facility using the provided License Number and receipt data.
778
+ *
779
+ * Permissions Required:
780
+ * - Manage Sales
781
+ *
782
+ * PUT UpdateReceiptFinalize V2
783
+ */
784
+ async salesUpdateReceiptFinalizeV2(body, licenseNumber) {
785
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateReceiptFinalizeV2(body, licenseNumber));
786
+ }
787
+ /**
788
+ * Unfinalizes a list of sales receipts for a Facility using the provided License Number and receipt data.
789
+ *
790
+ * Permissions Required:
791
+ * - Manage Sales
792
+ *
793
+ * PUT UpdateReceiptUnfinalize V2
794
+ */
795
+ async salesUpdateReceiptUnfinalizeV2(body, licenseNumber) {
796
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateReceiptUnfinalizeV2(body, licenseNumber));
797
+ }
798
+ /**
799
+ * Permissions Required:
800
+ * - Sales
801
+ *
802
+ * PUT UpdateTransactionByDate V1
803
+ */
804
+ async salesUpdateTransactionByDateV1(date, body, licenseNumber) {
805
+ return this.rateLimiter.execute(null, false, () => this.client.salesUpdateTransactionByDateV1(date, body, licenseNumber));
806
+ }
807
+ /**
808
+ * This endpoint is used to handle the setup of an external integrator for sandbox environments. It processes a request to create a new sandbox user for integration based on an external source's API key. It checks whether the API key is valid, manages the user creation process, and returns an appropriate status based on the current state of the request.
809
+ *
810
+ * Permissions Required:
811
+ * - None
812
+ *
813
+ * POST CreateIntegratorSetup V2
814
+ */
815
+ async sandboxCreateIntegratorSetupV2(body, userKey) {
816
+ return this.rateLimiter.execute(null, false, () => this.client.sandboxCreateIntegratorSetupV2(body, userKey));
817
+ }
818
+ /**
819
+ * Permissions Required:
820
+ * - Transfers
821
+ *
822
+ * POST CreateExternalIncoming V1
823
+ */
824
+ async transfersCreateExternalIncomingV1(body, licenseNumber) {
825
+ return this.rateLimiter.execute(null, false, () => this.client.transfersCreateExternalIncomingV1(body, licenseNumber));
826
+ }
827
+ /**
828
+ * Creates external incoming shipment plans for a Facility.
829
+ *
830
+ * Permissions Required:
831
+ * - Manage Transfers
832
+ *
833
+ * POST CreateExternalIncoming V2
834
+ */
835
+ async transfersCreateExternalIncomingV2(body, licenseNumber) {
836
+ return this.rateLimiter.execute(null, false, () => this.client.transfersCreateExternalIncomingV2(body, licenseNumber));
837
+ }
838
+ /**
839
+ * Permissions Required:
840
+ * - Transfer Templates
841
+ *
842
+ * POST CreateTemplates V1
843
+ */
844
+ async transfersCreateTemplatesV1(body, licenseNumber) {
845
+ return this.rateLimiter.execute(null, false, () => this.client.transfersCreateTemplatesV1(body, licenseNumber));
846
+ }
847
+ /**
848
+ * Creates new transfer templates for a Facility.
849
+ *
850
+ * Permissions Required:
851
+ * - Manage Transfer Templates
852
+ *
853
+ * POST CreateTemplatesOutgoing V2
854
+ */
855
+ async transfersCreateTemplatesOutgoingV2(body, licenseNumber) {
856
+ return this.rateLimiter.execute(null, false, () => this.client.transfersCreateTemplatesOutgoingV2(body, licenseNumber));
857
+ }
858
+ /**
859
+ * Permissions Required:
860
+ * - Transfers
861
+ *
862
+ * DELETE DeleteExternalIncoming V1
863
+ */
864
+ async transfersDeleteExternalIncomingV1(id, body, licenseNumber) {
865
+ return this.rateLimiter.execute(null, false, () => this.client.transfersDeleteExternalIncomingV1(id, body, licenseNumber));
866
+ }
867
+ /**
868
+ * Voids an external incoming shipment plan for a Facility.
869
+ *
870
+ * Permissions Required:
871
+ * - Manage Transfers
872
+ *
873
+ * DELETE DeleteExternalIncoming V2
874
+ */
875
+ async transfersDeleteExternalIncomingV2(id, body, licenseNumber) {
876
+ return this.rateLimiter.execute(null, false, () => this.client.transfersDeleteExternalIncomingV2(id, body, licenseNumber));
877
+ }
878
+ /**
879
+ * Permissions Required:
880
+ * - Transfer Templates
881
+ *
882
+ * DELETE DeleteTemplates V1
883
+ */
884
+ async transfersDeleteTemplatesV1(id, body, licenseNumber) {
885
+ return this.rateLimiter.execute(null, false, () => this.client.transfersDeleteTemplatesV1(id, body, licenseNumber));
886
+ }
887
+ /**
888
+ * Archives a transfer template for a Facility.
889
+ *
890
+ * Permissions Required:
891
+ * - Manage Transfer Templates
892
+ *
893
+ * DELETE DeleteTemplatesOutgoing V2
894
+ */
895
+ async transfersDeleteTemplatesOutgoingV2(id, body, licenseNumber) {
896
+ return this.rateLimiter.execute(null, false, () => this.client.transfersDeleteTemplatesOutgoingV2(id, body, licenseNumber));
897
+ }
898
+ /**
899
+ * Permissions Required:
900
+ * - None
901
+ *
902
+ * GET GetDeliveriesPackagesStates V1
903
+ */
904
+ async transfersGetDeliveriesPackagesStatesV1(body, No) {
905
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveriesPackagesStatesV1(body, No));
906
+ }
907
+ /**
908
+ * Returns a list of available shipment Package states.
909
+ *
910
+ * Permissions Required:
911
+ * - None
912
+ *
913
+ * GET GetDeliveriesPackagesStates V2
914
+ */
915
+ async transfersGetDeliveriesPackagesStatesV2(body, No) {
916
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveriesPackagesStatesV2(body, No));
917
+ }
918
+ /**
919
+ * Please note: that the {id} parameter above represents a Shipment Plan ID.
920
+ *
921
+ * Permissions Required:
922
+ * - Transfers
923
+ *
924
+ * GET GetDelivery V1
925
+ */
926
+ async transfersGetDeliveryV1(id, body, No) {
927
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveryV1(id, body, No));
928
+ }
929
+ /**
930
+ * Retrieves a list of shipment deliveries for a given Transfer Id. Please note: The {id} parameter above represents a Transfer Id.
931
+ *
932
+ * Permissions Required:
933
+ * - Manage Transfers
934
+ * - View Transfers
935
+ *
936
+ * GET GetDelivery V2
937
+ */
938
+ async transfersGetDeliveryV2(id, body, pageNumber, pageSize) {
939
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveryV2(id, body, pageNumber, pageSize));
940
+ }
941
+ /**
942
+ * Please note: The {id} parameter above represents a Transfer Delivery ID, not a Manifest Number.
943
+ *
944
+ * Permissions Required:
945
+ * - Transfers
946
+ *
947
+ * GET GetDeliveryPackage V1
948
+ */
949
+ async transfersGetDeliveryPackageV1(id, body, No) {
950
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveryPackageV1(id, body, No));
951
+ }
952
+ /**
953
+ * Retrieves a list of packages associated with a given Transfer Delivery Id. Please note: The {id} parameter above represents a Transfer Delivery Id, not a Manifest Number.
954
+ *
955
+ * Permissions Required:
956
+ * - Manage Transfers
957
+ * - View Transfers
958
+ *
959
+ * GET GetDeliveryPackage V2
960
+ */
961
+ async transfersGetDeliveryPackageV2(id, body, pageNumber, pageSize) {
962
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveryPackageV2(id, body, pageNumber, pageSize));
963
+ }
964
+ /**
965
+ * Please note: The {id} parameter above represents a Transfer Delivery Package ID, not a Manifest Number.
966
+ *
967
+ * Permissions Required:
968
+ * - Transfers
969
+ *
970
+ * GET GetDeliveryPackageRequiredlabtestbatches V1
971
+ */
972
+ async transfersGetDeliveryPackageRequiredlabtestbatchesV1(id, body, No) {
973
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveryPackageRequiredlabtestbatchesV1(id, body, No));
974
+ }
975
+ /**
976
+ * Retrieves a list of required lab test batches for a given Transfer Delivery Package Id. Please note: The {id} parameter above represents a Transfer Delivery Package Id, not a Manifest Number.
977
+ *
978
+ * Permissions Required:
979
+ * - Manage Transfers
980
+ * - View Transfers
981
+ *
982
+ * GET GetDeliveryPackageRequiredlabtestbatches V2
983
+ */
984
+ async transfersGetDeliveryPackageRequiredlabtestbatchesV2(id, body, pageNumber, pageSize) {
985
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveryPackageRequiredlabtestbatchesV2(id, body, pageNumber, pageSize));
986
+ }
987
+ /**
988
+ * Please note: The {id} parameter above represents a Transfer Delivery ID, not a Manifest Number.
989
+ *
990
+ * Permissions Required:
991
+ * - Transfers
992
+ *
993
+ * GET GetDeliveryPackageWholesale V1
994
+ */
995
+ async transfersGetDeliveryPackageWholesaleV1(id, body, No) {
996
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveryPackageWholesaleV1(id, body, No));
997
+ }
998
+ /**
999
+ * Retrieves a list of wholesale shipment packages for a given Transfer Delivery Id. Please note: The {id} parameter above represents a Transfer Delivery Id, not a Manifest Number.
1000
+ *
1001
+ * Permissions Required:
1002
+ * - Manage Transfers
1003
+ * - View Transfers
1004
+ *
1005
+ * GET GetDeliveryPackageWholesale V2
1006
+ */
1007
+ async transfersGetDeliveryPackageWholesaleV2(id, body, pageNumber, pageSize) {
1008
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveryPackageWholesaleV2(id, body, pageNumber, pageSize));
1009
+ }
1010
+ /**
1011
+ * Please note: that the {id} parameter above represents a Shipment Delivery ID.
1012
+ *
1013
+ * Permissions Required:
1014
+ * - Transfers
1015
+ *
1016
+ * GET GetDeliveryTransporters V1
1017
+ */
1018
+ async transfersGetDeliveryTransportersV1(id, body, No) {
1019
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveryTransportersV1(id, body, No));
1020
+ }
1021
+ /**
1022
+ * Retrieves a list of transporters for a given Transfer Delivery Id. Please note: The {id} parameter above represents a Transfer Delivery Id, not a Manifest Number.
1023
+ *
1024
+ * Permissions Required:
1025
+ * - Manage Transfers
1026
+ * - View Transfers
1027
+ *
1028
+ * GET GetDeliveryTransporters V2
1029
+ */
1030
+ async transfersGetDeliveryTransportersV2(id, body, pageNumber, pageSize) {
1031
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveryTransportersV2(id, body, pageNumber, pageSize));
1032
+ }
1033
+ /**
1034
+ * Please note: The {id} parameter above represents a Shipment Delivery ID.
1035
+ *
1036
+ * Permissions Required:
1037
+ * - Transfers
1038
+ *
1039
+ * GET GetDeliveryTransportersDetails V1
1040
+ */
1041
+ async transfersGetDeliveryTransportersDetailsV1(id, body, No) {
1042
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveryTransportersDetailsV1(id, body, No));
1043
+ }
1044
+ /**
1045
+ * Retrieves a list of transporter details for a given Transfer Delivery Id. Please note: The {id} parameter above represents a Transfer Delivery Id, not a Manifest Number.
1046
+ *
1047
+ * Permissions Required:
1048
+ * - Manage Transfers
1049
+ * - View Transfers
1050
+ *
1051
+ * GET GetDeliveryTransportersDetails V2
1052
+ */
1053
+ async transfersGetDeliveryTransportersDetailsV2(id, body, pageNumber, pageSize) {
1054
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetDeliveryTransportersDetailsV2(id, body, pageNumber, pageSize));
1055
+ }
1056
+ /**
1057
+ * Retrieves a list of transfer hub shipments for a Facility, filtered by either last modified or estimated arrival date range.
1058
+ *
1059
+ * Permissions Required:
1060
+ * - Manage Transfers
1061
+ * - View Transfers
1062
+ *
1063
+ * GET GetHub V2
1064
+ */
1065
+ async transfersGetHubV2(body, estimatedArrivalEnd, estimatedArrivalStart, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
1066
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetHubV2(body, estimatedArrivalEnd, estimatedArrivalStart, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
1067
+ }
1068
+ /**
1069
+ * Permissions Required:
1070
+ * - Transfers
1071
+ *
1072
+ * GET GetIncoming V1
1073
+ */
1074
+ async transfersGetIncomingV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
1075
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetIncomingV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
1076
+ }
1077
+ /**
1078
+ * Retrieves a list of incoming shipments for a Facility, optionally filtered by last modified date range.
1079
+ *
1080
+ * Permissions Required:
1081
+ * - Manage Transfers
1082
+ * - View Transfers
1083
+ *
1084
+ * GET GetIncoming V2
1085
+ */
1086
+ async transfersGetIncomingV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
1087
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetIncomingV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
1088
+ }
1089
+ /**
1090
+ * Permissions Required:
1091
+ * - Transfers
1092
+ *
1093
+ * GET GetOutgoing V1
1094
+ */
1095
+ async transfersGetOutgoingV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
1096
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetOutgoingV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
1097
+ }
1098
+ /**
1099
+ * Retrieves a list of outgoing shipments for a Facility, optionally filtered by last modified date range.
1100
+ *
1101
+ * Permissions Required:
1102
+ * - Manage Transfers
1103
+ * - View Transfers
1104
+ *
1105
+ * GET GetOutgoing V2
1106
+ */
1107
+ async transfersGetOutgoingV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
1108
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetOutgoingV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
1109
+ }
1110
+ /**
1111
+ * Permissions Required:
1112
+ * - Transfers
1113
+ *
1114
+ * GET GetRejected V1
1115
+ */
1116
+ async transfersGetRejectedV1(body, licenseNumber) {
1117
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetRejectedV1(body, licenseNumber));
1118
+ }
1119
+ /**
1120
+ * Retrieves a list of shipments with rejected packages for a Facility.
1121
+ *
1122
+ * Permissions Required:
1123
+ * - Manage Transfers
1124
+ * - View Transfers
1125
+ *
1126
+ * GET GetRejected V2
1127
+ */
1128
+ async transfersGetRejectedV2(body, licenseNumber, pageNumber, pageSize) {
1129
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetRejectedV2(body, licenseNumber, pageNumber, pageSize));
1130
+ }
1131
+ /**
1132
+ * Permissions Required:
1133
+ * - Transfer Templates
1134
+ *
1135
+ * GET GetTemplates V1
1136
+ */
1137
+ async transfersGetTemplatesV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
1138
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetTemplatesV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
1139
+ }
1140
+ /**
1141
+ * Permissions Required:
1142
+ * - Transfer Templates
1143
+ *
1144
+ * GET GetTemplatesDelivery V1
1145
+ */
1146
+ async transfersGetTemplatesDeliveryV1(id, body, No) {
1147
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetTemplatesDeliveryV1(id, body, No));
1148
+ }
1149
+ /**
1150
+ * Please note: The {id} parameter above represents a Transfer Template Delivery ID, not a Manifest Number.
1151
+ *
1152
+ * Permissions Required:
1153
+ * - Transfers
1154
+ *
1155
+ * GET GetTemplatesDeliveryPackage V1
1156
+ */
1157
+ async transfersGetTemplatesDeliveryPackageV1(id, body, No) {
1158
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetTemplatesDeliveryPackageV1(id, body, No));
1159
+ }
1160
+ /**
1161
+ * Please note: The {id} parameter above represents a Transfer Template Delivery ID, not a Manifest Number.
1162
+ *
1163
+ * Permissions Required:
1164
+ * - Transfer Templates
1165
+ *
1166
+ * GET GetTemplatesDeliveryTransporters V1
1167
+ */
1168
+ async transfersGetTemplatesDeliveryTransportersV1(id, body, No) {
1169
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetTemplatesDeliveryTransportersV1(id, body, No));
1170
+ }
1171
+ /**
1172
+ * Please note: The {id} parameter above represents a Transfer Template Delivery ID, not a Manifest Number.
1173
+ *
1174
+ * Permissions Required:
1175
+ * - Transfer Templates
1176
+ *
1177
+ * GET GetTemplatesDeliveryTransportersDetails V1
1178
+ */
1179
+ async transfersGetTemplatesDeliveryTransportersDetailsV1(id, body, No) {
1180
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetTemplatesDeliveryTransportersDetailsV1(id, body, No));
1181
+ }
1182
+ /**
1183
+ * Retrieves a list of transfer templates for a Facility, optionally filtered by last modified date range.
1184
+ *
1185
+ * Permissions Required:
1186
+ * - Manage Transfer Templates
1187
+ * - View Transfer Templates
1188
+ *
1189
+ * GET GetTemplatesOutgoing V2
1190
+ */
1191
+ async transfersGetTemplatesOutgoingV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
1192
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetTemplatesOutgoingV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
1193
+ }
1194
+ /**
1195
+ * Retrieves a list of deliveries associated with a specific transfer template.
1196
+ *
1197
+ * Permissions Required:
1198
+ * - Manage Transfer Templates
1199
+ * - View Transfer Templates
1200
+ *
1201
+ * GET GetTemplatesOutgoingDelivery V2
1202
+ */
1203
+ async transfersGetTemplatesOutgoingDeliveryV2(id, body, pageNumber, pageSize) {
1204
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetTemplatesOutgoingDeliveryV2(id, body, pageNumber, pageSize));
1205
+ }
1206
+ /**
1207
+ * Retrieves a list of delivery package templates for a given Transfer Template Delivery Id. Please note: The {id} parameter above represents a Transfer Template Delivery Id, not a Manifest Number.
1208
+ *
1209
+ * Permissions Required:
1210
+ * - Manage Transfer Templates
1211
+ * - View Transfer Templates
1212
+ *
1213
+ * GET GetTemplatesOutgoingDeliveryPackage V2
1214
+ */
1215
+ async transfersGetTemplatesOutgoingDeliveryPackageV2(id, body, pageNumber, pageSize) {
1216
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetTemplatesOutgoingDeliveryPackageV2(id, body, pageNumber, pageSize));
1217
+ }
1218
+ /**
1219
+ * Retrieves a list of transporter templates for a given Transfer Template Delivery Id. Please note: The {id} parameter above represents a Transfer Template Delivery Id, not a Manifest Number.
1220
+ *
1221
+ * Permissions Required:
1222
+ * - Manage Transfer Templates
1223
+ * - View Transfer Templates
1224
+ *
1225
+ * GET GetTemplatesOutgoingDeliveryTransporters V2
1226
+ */
1227
+ async transfersGetTemplatesOutgoingDeliveryTransportersV2(id, body, pageNumber, pageSize) {
1228
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetTemplatesOutgoingDeliveryTransportersV2(id, body, pageNumber, pageSize));
1229
+ }
1230
+ /**
1231
+ * Retrieves detailed transporter templates for a given Transfer Template Delivery Id. Please note: The {id} parameter above represents a Transfer Template Delivery Id, not a Manifest Number.
1232
+ *
1233
+ * Permissions Required:
1234
+ * - Manage Transfer Templates
1235
+ * - View Transfer Templates
1236
+ *
1237
+ * GET GetTemplatesOutgoingDeliveryTransportersDetails V2
1238
+ */
1239
+ async transfersGetTemplatesOutgoingDeliveryTransportersDetailsV2(id, body, No) {
1240
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetTemplatesOutgoingDeliveryTransportersDetailsV2(id, body, No));
1241
+ }
1242
+ /**
1243
+ * Permissions Required:
1244
+ * - None
1245
+ *
1246
+ * GET GetTypes V1
1247
+ */
1248
+ async transfersGetTypesV1(body, licenseNumber) {
1249
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetTypesV1(body, licenseNumber));
1250
+ }
1251
+ /**
1252
+ * Retrieves a list of available transfer types for a Facility based on its license number.
1253
+ *
1254
+ * Permissions Required:
1255
+ * - None
1256
+ *
1257
+ * GET GetTypes V2
1258
+ */
1259
+ async transfersGetTypesV2(body, licenseNumber, pageNumber, pageSize) {
1260
+ return this.rateLimiter.execute(null, true, () => this.client.transfersGetTypesV2(body, licenseNumber, pageNumber, pageSize));
1261
+ }
1262
+ /**
1263
+ * Permissions Required:
1264
+ * - Transfers
1265
+ *
1266
+ * PUT UpdateExternalIncoming V1
1267
+ */
1268
+ async transfersUpdateExternalIncomingV1(body, licenseNumber) {
1269
+ return this.rateLimiter.execute(null, false, () => this.client.transfersUpdateExternalIncomingV1(body, licenseNumber));
1270
+ }
1271
+ /**
1272
+ * Updates external incoming shipment plans for a Facility.
1273
+ *
1274
+ * Permissions Required:
1275
+ * - Manage Transfers
1276
+ *
1277
+ * PUT UpdateExternalIncoming V2
1278
+ */
1279
+ async transfersUpdateExternalIncomingV2(body, licenseNumber) {
1280
+ return this.rateLimiter.execute(null, false, () => this.client.transfersUpdateExternalIncomingV2(body, licenseNumber));
1281
+ }
1282
+ /**
1283
+ * Permissions Required:
1284
+ * - Transfer Templates
1285
+ *
1286
+ * PUT UpdateTemplates V1
1287
+ */
1288
+ async transfersUpdateTemplatesV1(body, licenseNumber) {
1289
+ return this.rateLimiter.execute(null, false, () => this.client.transfersUpdateTemplatesV1(body, licenseNumber));
1290
+ }
1291
+ /**
1292
+ * Updates existing transfer templates for a Facility.
1293
+ *
1294
+ * Permissions Required:
1295
+ * - Manage Transfer Templates
1296
+ *
1297
+ * PUT UpdateTemplatesOutgoing V2
1298
+ */
1299
+ async transfersUpdateTemplatesOutgoingV2(body, licenseNumber) {
1300
+ return this.rateLimiter.execute(null, false, () => this.client.transfersUpdateTemplatesOutgoingV2(body, licenseNumber));
1301
+ }
1302
+ /**
1303
+ * Permissions Required:
1304
+ * - None
1305
+ *
1306
+ * GET GetActive V1
1307
+ */
1308
+ async unitsOfMeasureGetActiveV1(body, No) {
1309
+ return this.rateLimiter.execute(null, true, () => this.client.unitsOfMeasureGetActiveV1(body, No));
1310
+ }
1311
+ /**
1312
+ * Retrieves all active units of measure.
1313
+ *
1314
+ * Permissions Required:
1315
+ * - None
1316
+ *
1317
+ * GET GetActive V2
1318
+ */
1319
+ async unitsOfMeasureGetActiveV2(body, No) {
1320
+ return this.rateLimiter.execute(null, true, () => this.client.unitsOfMeasureGetActiveV2(body, No));
1321
+ }
1322
+ /**
1323
+ * Retrieves all inactive units of measure.
1324
+ *
1325
+ * Permissions Required:
1326
+ * - None
1327
+ *
1328
+ * GET GetInactive V2
1329
+ */
1330
+ async unitsOfMeasureGetInactiveV2(body, No) {
1331
+ return this.rateLimiter.execute(null, true, () => this.client.unitsOfMeasureGetInactiveV2(body, No));
1332
+ }
1333
+ /**
1334
+ * Retrieves all available waste methods.
1335
+ *
1336
+ * Permissions Required:
1337
+ * - None
1338
+ *
1339
+ * GET GetAll V2
1340
+ */
1341
+ async wasteMethodsGetAllV2(body, No) {
1342
+ return this.rateLimiter.execute(null, true, () => this.client.wasteMethodsGetAllV2(body, No));
1343
+ }
1344
+ /**
1345
+ * Permissions Required:
1346
+ * - Manage Employees
1347
+ *
1348
+ * GET GetAll V1
1349
+ */
1350
+ async employeesGetAllV1(body, licenseNumber) {
1351
+ return this.rateLimiter.execute(null, true, () => this.client.employeesGetAllV1(body, licenseNumber));
1352
+ }
1353
+ /**
1354
+ * Retrieves a list of employees for a specified Facility.
1355
+ *
1356
+ * Permissions Required:
1357
+ * - Manage Employees
1358
+ * - View Employees
1359
+ *
1360
+ * GET GetAll V2
1361
+ */
1362
+ async employeesGetAllV2(body, licenseNumber, pageNumber, pageSize) {
1363
+ return this.rateLimiter.execute(null, true, () => this.client.employeesGetAllV2(body, licenseNumber, pageNumber, pageSize));
1364
+ }
1365
+ /**
1366
+ * Retrieves the permissions of a specified Employee, identified by their Employee License Number, for a given Facility.
1367
+ *
1368
+ * Permissions Required:
1369
+ * - Manage Employees
1370
+ *
1371
+ * GET GetPermissions V2
1372
+ */
1373
+ async employeesGetPermissionsV2(body, employeeLicenseNumber, licenseNumber) {
1374
+ return this.rateLimiter.execute(null, true, () => this.client.employeesGetPermissionsV2(body, employeeLicenseNumber, licenseNumber));
1375
+ }
1376
+ /**
1377
+ * Permissions Required:
1378
+ * - View Harvests
1379
+ * - Finish/Discontinue Harvests
1380
+ *
1381
+ * POST CreateFinish V1
1382
+ */
1383
+ async harvestsCreateFinishV1(body, licenseNumber) {
1384
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsCreateFinishV1(body, licenseNumber));
1385
+ }
1386
+ /**
1387
+ * Permissions Required:
1388
+ * - View Harvests
1389
+ * - Manage Harvests
1390
+ * - View Packages
1391
+ * - Create/Submit/Discontinue Packages
1392
+ *
1393
+ * POST CreatePackage V1
1394
+ */
1395
+ async harvestsCreatePackageV1(body, licenseNumber) {
1396
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsCreatePackageV1(body, licenseNumber));
1397
+ }
1398
+ /**
1399
+ * Creates packages from harvested products for a specified Facility.
1400
+ *
1401
+ * Permissions Required:
1402
+ * - View Harvests
1403
+ * - Manage Harvests
1404
+ * - View Packages
1405
+ * - Create/Submit/Discontinue Packages
1406
+ *
1407
+ * POST CreatePackage V2
1408
+ */
1409
+ async harvestsCreatePackageV2(body, licenseNumber) {
1410
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsCreatePackageV2(body, licenseNumber));
1411
+ }
1412
+ /**
1413
+ * Permissions Required:
1414
+ * - View Harvests
1415
+ * - Manage Harvests
1416
+ * - View Packages
1417
+ * - Create/Submit/Discontinue Packages
1418
+ *
1419
+ * POST CreatePackageTesting V1
1420
+ */
1421
+ async harvestsCreatePackageTestingV1(body, licenseNumber) {
1422
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsCreatePackageTestingV1(body, licenseNumber));
1423
+ }
1424
+ /**
1425
+ * Creates packages for testing from harvested products for a specified Facility.
1426
+ *
1427
+ * Permissions Required:
1428
+ * - View Harvests
1429
+ * - Manage Harvests
1430
+ * - View Packages
1431
+ * - Create/Submit/Discontinue Packages
1432
+ *
1433
+ * POST CreatePackageTesting V2
1434
+ */
1435
+ async harvestsCreatePackageTestingV2(body, licenseNumber) {
1436
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsCreatePackageTestingV2(body, licenseNumber));
1437
+ }
1438
+ /**
1439
+ * Permissions Required:
1440
+ * - View Harvests
1441
+ * - Manage Harvests
1442
+ *
1443
+ * POST CreateRemoveWaste V1
1444
+ */
1445
+ async harvestsCreateRemoveWasteV1(body, licenseNumber) {
1446
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsCreateRemoveWasteV1(body, licenseNumber));
1447
+ }
1448
+ /**
1449
+ * Permissions Required:
1450
+ * - View Harvests
1451
+ * - Finish/Discontinue Harvests
1452
+ *
1453
+ * POST CreateUnfinish V1
1454
+ */
1455
+ async harvestsCreateUnfinishV1(body, licenseNumber) {
1456
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsCreateUnfinishV1(body, licenseNumber));
1457
+ }
1458
+ /**
1459
+ * Records Waste from harvests for a specified Facility. NOTE: The IDs passed in the request body are the harvest IDs for which you are documenting waste.
1460
+ *
1461
+ * Permissions Required:
1462
+ * - View Harvests
1463
+ * - Manage Harvests
1464
+ *
1465
+ * POST CreateWaste V2
1466
+ */
1467
+ async harvestsCreateWasteV2(body, licenseNumber) {
1468
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsCreateWasteV2(body, licenseNumber));
1469
+ }
1470
+ /**
1471
+ * Discontinues a specific harvest waste record by Id for the specified Facility.
1472
+ *
1473
+ * Permissions Required:
1474
+ * - View Harvests
1475
+ * - Discontinue Harvest Waste
1476
+ *
1477
+ * DELETE DeleteWaste V2
1478
+ */
1479
+ async harvestsDeleteWasteV2(id, body, licenseNumber) {
1480
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsDeleteWasteV2(id, body, licenseNumber));
1481
+ }
1482
+ /**
1483
+ * Permissions Required:
1484
+ * - View Harvests
1485
+ *
1486
+ * GET Get V1
1487
+ */
1488
+ async harvestsGetV1(id, body, licenseNumber) {
1489
+ return this.rateLimiter.execute(null, true, () => this.client.harvestsGetV1(id, body, licenseNumber));
1490
+ }
1491
+ /**
1492
+ * Retrieves a Harvest by its Id, optionally validated against a specified Facility License Number.
1493
+ *
1494
+ * Permissions Required:
1495
+ * - View Harvests
1496
+ *
1497
+ * GET Get V2
1498
+ */
1499
+ async harvestsGetV2(id, body, licenseNumber) {
1500
+ return this.rateLimiter.execute(null, true, () => this.client.harvestsGetV2(id, body, licenseNumber));
1501
+ }
1502
+ /**
1503
+ * Permissions Required:
1504
+ * - View Harvests
1505
+ *
1506
+ * GET GetActive V1
1507
+ */
1508
+ async harvestsGetActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
1509
+ return this.rateLimiter.execute(null, true, () => this.client.harvestsGetActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
1510
+ }
1511
+ /**
1512
+ * Retrieves a list of active harvests for a specified Facility.
1513
+ *
1514
+ * Permissions Required:
1515
+ * - View Harvests
1516
+ *
1517
+ * GET GetActive V2
1518
+ */
1519
+ async harvestsGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
1520
+ return this.rateLimiter.execute(null, true, () => this.client.harvestsGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
1521
+ }
1522
+ /**
1523
+ * Permissions Required:
1524
+ * - View Harvests
1525
+ *
1526
+ * GET GetInactive V1
1527
+ */
1528
+ async harvestsGetInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
1529
+ return this.rateLimiter.execute(null, true, () => this.client.harvestsGetInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
1530
+ }
1531
+ /**
1532
+ * Retrieves a list of inactive harvests for a specified Facility.
1533
+ *
1534
+ * Permissions Required:
1535
+ * - View Harvests
1536
+ *
1537
+ * GET GetInactive V2
1538
+ */
1539
+ async harvestsGetInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
1540
+ return this.rateLimiter.execute(null, true, () => this.client.harvestsGetInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
1541
+ }
1542
+ /**
1543
+ * Permissions Required:
1544
+ * - View Harvests
1545
+ *
1546
+ * GET GetOnhold V1
1547
+ */
1548
+ async harvestsGetOnholdV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
1549
+ return this.rateLimiter.execute(null, true, () => this.client.harvestsGetOnholdV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
1550
+ }
1551
+ /**
1552
+ * Retrieves a list of harvests on hold for a specified Facility.
1553
+ *
1554
+ * Permissions Required:
1555
+ * - View Harvests
1556
+ *
1557
+ * GET GetOnhold V2
1558
+ */
1559
+ async harvestsGetOnholdV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
1560
+ return this.rateLimiter.execute(null, true, () => this.client.harvestsGetOnholdV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
1561
+ }
1562
+ /**
1563
+ * Retrieves a list of Waste records for a specified Harvest, identified by its Harvest Id, within a Facility identified by its License Number.
1564
+ *
1565
+ * Permissions Required:
1566
+ * - View Harvests
1567
+ *
1568
+ * GET GetWaste V2
1569
+ */
1570
+ async harvestsGetWasteV2(body, harvestId, licenseNumber, pageNumber, pageSize) {
1571
+ return this.rateLimiter.execute(null, true, () => this.client.harvestsGetWasteV2(body, harvestId, licenseNumber, pageNumber, pageSize));
1572
+ }
1573
+ /**
1574
+ * Permissions Required:
1575
+ * - None
1576
+ *
1577
+ * GET GetWasteTypes V1
1578
+ */
1579
+ async harvestsGetWasteTypesV1(body, No) {
1580
+ return this.rateLimiter.execute(null, true, () => this.client.harvestsGetWasteTypesV1(body, No));
1581
+ }
1582
+ /**
1583
+ * Retrieves a list of Waste types for harvests.
1584
+ *
1585
+ * Permissions Required:
1586
+ * - None
1587
+ *
1588
+ * GET GetWasteTypes V2
1589
+ */
1590
+ async harvestsGetWasteTypesV2(body, pageNumber, pageSize) {
1591
+ return this.rateLimiter.execute(null, true, () => this.client.harvestsGetWasteTypesV2(body, pageNumber, pageSize));
1592
+ }
1593
+ /**
1594
+ * Marks one or more harvests as finished for the specified Facility.
1595
+ *
1596
+ * Permissions Required:
1597
+ * - View Harvests
1598
+ * - Finish/Discontinue Harvests
1599
+ *
1600
+ * PUT UpdateFinish V2
1601
+ */
1602
+ async harvestsUpdateFinishV2(body, licenseNumber) {
1603
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsUpdateFinishV2(body, licenseNumber));
1604
+ }
1605
+ /**
1606
+ * Updates the Location of Harvest for a specified Facility.
1607
+ *
1608
+ * Permissions Required:
1609
+ * - View Harvests
1610
+ * - Manage Harvests
1611
+ *
1612
+ * PUT UpdateLocation V2
1613
+ */
1614
+ async harvestsUpdateLocationV2(body, licenseNumber) {
1615
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsUpdateLocationV2(body, licenseNumber));
1616
+ }
1617
+ /**
1618
+ * Permissions Required:
1619
+ * - View Harvests
1620
+ * - Manage Harvests
1621
+ *
1622
+ * PUT UpdateMove V1
1623
+ */
1624
+ async harvestsUpdateMoveV1(body, licenseNumber) {
1625
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsUpdateMoveV1(body, licenseNumber));
1626
+ }
1627
+ /**
1628
+ * Permissions Required:
1629
+ * - View Harvests
1630
+ * - Manage Harvests
1631
+ *
1632
+ * PUT UpdateRename V1
1633
+ */
1634
+ async harvestsUpdateRenameV1(body, licenseNumber) {
1635
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsUpdateRenameV1(body, licenseNumber));
1636
+ }
1637
+ /**
1638
+ * Renames one or more harvests for the specified Facility.
1639
+ *
1640
+ * Permissions Required:
1641
+ * - View Harvests
1642
+ * - Manage Harvests
1643
+ *
1644
+ * PUT UpdateRename V2
1645
+ */
1646
+ async harvestsUpdateRenameV2(body, licenseNumber) {
1647
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsUpdateRenameV2(body, licenseNumber));
1648
+ }
1649
+ /**
1650
+ * Restores previously harvested plants to their original state for the specified Facility.
1651
+ *
1652
+ * Permissions Required:
1653
+ * - View Harvests
1654
+ * - Finish/Discontinue Harvests
1655
+ *
1656
+ * PUT UpdateRestoreHarvestedPlants V2
1657
+ */
1658
+ async harvestsUpdateRestoreHarvestedPlantsV2(body, licenseNumber) {
1659
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsUpdateRestoreHarvestedPlantsV2(body, licenseNumber));
1660
+ }
1661
+ /**
1662
+ * Reopens one or more previously finished harvests for the specified Facility.
1663
+ *
1664
+ * Permissions Required:
1665
+ * - View Harvests
1666
+ * - Finish/Discontinue Harvests
1667
+ *
1668
+ * PUT UpdateUnfinish V2
1669
+ */
1670
+ async harvestsUpdateUnfinishV2(body, licenseNumber) {
1671
+ return this.rateLimiter.execute(null, false, () => this.client.harvestsUpdateUnfinishV2(body, licenseNumber));
1672
+ }
1673
+ /**
1674
+ * NOTE: To include a photo with an item, first use POST /items/v1/photo to POST the photo, and then use the returned ID in the request body in this endpoint.
1675
+ *
1676
+ * Permissions Required:
1677
+ * - Manage Items
1678
+ *
1679
+ * POST Create V1
1680
+ */
1681
+ async itemsCreateV1(body, licenseNumber) {
1682
+ return this.rateLimiter.execute(null, false, () => this.client.itemsCreateV1(body, licenseNumber));
1683
+ }
1684
+ /**
1685
+ * Creates one or more new products for the specified Facility. NOTE: To include a photo with an item, first use POST /items/v2/photo to POST the photo, and then use the returned Id in the request body in this endpoint.
1686
+ *
1687
+ * Permissions Required:
1688
+ * - Manage Items
1689
+ *
1690
+ * POST Create V2
1691
+ */
1692
+ async itemsCreateV2(body, licenseNumber) {
1693
+ return this.rateLimiter.execute(null, false, () => this.client.itemsCreateV2(body, licenseNumber));
1694
+ }
1695
+ /**
1696
+ * Creates one or more new item brands for the specified Facility identified by the License Number.
1697
+ *
1698
+ * Permissions Required:
1699
+ * - Manage Items
1700
+ *
1701
+ * POST CreateBrand V2
1702
+ */
1703
+ async itemsCreateBrandV2(body, licenseNumber) {
1704
+ return this.rateLimiter.execute(null, false, () => this.client.itemsCreateBrandV2(body, licenseNumber));
1705
+ }
1706
+ /**
1707
+ * Uploads one or more image or PDF files for products, labels, packaging, or documents at the specified Facility.
1708
+ *
1709
+ * Permissions Required:
1710
+ * - Manage Items
1711
+ *
1712
+ * POST CreateFile V2
1713
+ */
1714
+ async itemsCreateFileV2(body, licenseNumber) {
1715
+ return this.rateLimiter.execute(null, false, () => this.client.itemsCreateFileV2(body, licenseNumber));
1716
+ }
1717
+ /**
1718
+ * This endpoint allows only BMP, GIF, JPG, and PNG files and uploaded files can be no more than 5 MB in size.
1719
+ *
1720
+ * Permissions Required:
1721
+ * - Manage Items
1722
+ *
1723
+ * POST CreatePhoto V1
1724
+ */
1725
+ async itemsCreatePhotoV1(body, licenseNumber) {
1726
+ return this.rateLimiter.execute(null, false, () => this.client.itemsCreatePhotoV1(body, licenseNumber));
1727
+ }
1728
+ /**
1729
+ * This endpoint allows only BMP, GIF, JPG, and PNG files and uploaded files can be no more than 5 MB in size.
1730
+ *
1731
+ * Permissions Required:
1732
+ * - Manage Items
1733
+ *
1734
+ * POST CreatePhoto V2
1735
+ */
1736
+ async itemsCreatePhotoV2(body, licenseNumber) {
1737
+ return this.rateLimiter.execute(null, false, () => this.client.itemsCreatePhotoV2(body, licenseNumber));
1738
+ }
1739
+ /**
1740
+ * Permissions Required:
1741
+ * - Manage Items
1742
+ *
1743
+ * POST CreateUpdate V1
1744
+ */
1745
+ async itemsCreateUpdateV1(body, licenseNumber) {
1746
+ return this.rateLimiter.execute(null, false, () => this.client.itemsCreateUpdateV1(body, licenseNumber));
1747
+ }
1748
+ /**
1749
+ * Permissions Required:
1750
+ * - Manage Items
1751
+ *
1752
+ * DELETE Delete V1
1753
+ */
1754
+ async itemsDeleteV1(id, body, licenseNumber) {
1755
+ return this.rateLimiter.execute(null, false, () => this.client.itemsDeleteV1(id, body, licenseNumber));
1756
+ }
1757
+ /**
1758
+ * Archives the specified Product by Id for the given Facility License Number.
1759
+ *
1760
+ * Permissions Required:
1761
+ * - Manage Items
1762
+ *
1763
+ * DELETE Delete V2
1764
+ */
1765
+ async itemsDeleteV2(id, body, licenseNumber) {
1766
+ return this.rateLimiter.execute(null, false, () => this.client.itemsDeleteV2(id, body, licenseNumber));
1767
+ }
1768
+ /**
1769
+ * Archives the specified Item Brand by Id for the given Facility License Number.
1770
+ *
1771
+ * Permissions Required:
1772
+ * - Manage Items
1773
+ *
1774
+ * DELETE DeleteBrand V2
1775
+ */
1776
+ async itemsDeleteBrandV2(id, body, licenseNumber) {
1777
+ return this.rateLimiter.execute(null, false, () => this.client.itemsDeleteBrandV2(id, body, licenseNumber));
1778
+ }
1779
+ /**
1780
+ * Permissions Required:
1781
+ * - Manage Items
1782
+ *
1783
+ * GET Get V1
1784
+ */
1785
+ async itemsGetV1(id, body, licenseNumber) {
1786
+ return this.rateLimiter.execute(null, true, () => this.client.itemsGetV1(id, body, licenseNumber));
1787
+ }
1788
+ /**
1789
+ * Retrieves detailed information about a specific Item by Id.
1790
+ *
1791
+ * Permissions Required:
1792
+ * - Manage Items
1793
+ *
1794
+ * GET Get V2
1795
+ */
1796
+ async itemsGetV2(id, body, licenseNumber) {
1797
+ return this.rateLimiter.execute(null, true, () => this.client.itemsGetV2(id, body, licenseNumber));
1798
+ }
1799
+ /**
1800
+ * Permissions Required:
1801
+ * - Manage Items
1802
+ *
1803
+ * GET GetActive V1
1804
+ */
1805
+ async itemsGetActiveV1(body, licenseNumber) {
1806
+ return this.rateLimiter.execute(null, true, () => this.client.itemsGetActiveV1(body, licenseNumber));
1807
+ }
1808
+ /**
1809
+ * Returns a list of active items for the specified Facility.
1810
+ *
1811
+ * Permissions Required:
1812
+ * - Manage Items
1813
+ *
1814
+ * GET GetActive V2
1815
+ */
1816
+ async itemsGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
1817
+ return this.rateLimiter.execute(null, true, () => this.client.itemsGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
1818
+ }
1819
+ /**
1820
+ * Permissions Required:
1821
+ * - Manage Items
1822
+ *
1823
+ * GET GetBrands V1
1824
+ */
1825
+ async itemsGetBrandsV1(body, licenseNumber) {
1826
+ return this.rateLimiter.execute(null, true, () => this.client.itemsGetBrandsV1(body, licenseNumber));
1827
+ }
1828
+ /**
1829
+ * Retrieves a list of active item brands for the specified Facility.
1830
+ *
1831
+ * Permissions Required:
1832
+ * - Manage Items
1833
+ *
1834
+ * GET GetBrands V2
1835
+ */
1836
+ async itemsGetBrandsV2(body, licenseNumber, pageNumber, pageSize) {
1837
+ return this.rateLimiter.execute(null, true, () => this.client.itemsGetBrandsV2(body, licenseNumber, pageNumber, pageSize));
1838
+ }
1839
+ /**
1840
+ * Permissions Required:
1841
+ * - None
1842
+ *
1843
+ * GET GetCategories V1
1844
+ */
1845
+ async itemsGetCategoriesV1(body, licenseNumber) {
1846
+ return this.rateLimiter.execute(null, true, () => this.client.itemsGetCategoriesV1(body, licenseNumber));
1847
+ }
1848
+ /**
1849
+ * Retrieves a list of item categories.
1850
+ *
1851
+ * Permissions Required:
1852
+ * - None
1853
+ *
1854
+ * GET GetCategories V2
1855
+ */
1856
+ async itemsGetCategoriesV2(body, licenseNumber, pageNumber, pageSize) {
1857
+ return this.rateLimiter.execute(null, true, () => this.client.itemsGetCategoriesV2(body, licenseNumber, pageNumber, pageSize));
1858
+ }
1859
+ /**
1860
+ * Retrieves a file by its Id for the specified Facility.
1861
+ *
1862
+ * Permissions Required:
1863
+ * - Manage Items
1864
+ *
1865
+ * GET GetFile V2
1866
+ */
1867
+ async itemsGetFileV2(id, body, licenseNumber) {
1868
+ return this.rateLimiter.execute(null, true, () => this.client.itemsGetFileV2(id, body, licenseNumber));
1869
+ }
1870
+ /**
1871
+ * Permissions Required:
1872
+ * - Manage Items
1873
+ *
1874
+ * GET GetInactive V1
1875
+ */
1876
+ async itemsGetInactiveV1(body, licenseNumber) {
1877
+ return this.rateLimiter.execute(null, true, () => this.client.itemsGetInactiveV1(body, licenseNumber));
1878
+ }
1879
+ /**
1880
+ * Retrieves a list of inactive items for the specified Facility.
1881
+ *
1882
+ * Permissions Required:
1883
+ * - Manage Items
1884
+ *
1885
+ * GET GetInactive V2
1886
+ */
1887
+ async itemsGetInactiveV2(body, licenseNumber, pageNumber, pageSize) {
1888
+ return this.rateLimiter.execute(null, true, () => this.client.itemsGetInactiveV2(body, licenseNumber, pageNumber, pageSize));
1889
+ }
1890
+ /**
1891
+ * Permissions Required:
1892
+ * - Manage Items
1893
+ *
1894
+ * GET GetPhoto V1
1895
+ */
1896
+ async itemsGetPhotoV1(id, body, licenseNumber) {
1897
+ return this.rateLimiter.execute(null, true, () => this.client.itemsGetPhotoV1(id, body, licenseNumber));
1898
+ }
1899
+ /**
1900
+ * Retrieves an image by its Id for the specified Facility.
1901
+ *
1902
+ * Permissions Required:
1903
+ * - Manage Items
1904
+ *
1905
+ * GET GetPhoto V2
1906
+ */
1907
+ async itemsGetPhotoV2(id, body, licenseNumber) {
1908
+ return this.rateLimiter.execute(null, true, () => this.client.itemsGetPhotoV2(id, body, licenseNumber));
1909
+ }
1910
+ /**
1911
+ * Updates one or more existing products for the specified Facility.
1912
+ *
1913
+ * Permissions Required:
1914
+ * - Manage Items
1915
+ *
1916
+ * PUT Update V2
1917
+ */
1918
+ async itemsUpdateV2(body, licenseNumber) {
1919
+ return this.rateLimiter.execute(null, false, () => this.client.itemsUpdateV2(body, licenseNumber));
1920
+ }
1921
+ /**
1922
+ * Updates one or more existing item brands for the specified Facility.
1923
+ *
1924
+ * Permissions Required:
1925
+ * - Manage Items
1926
+ *
1927
+ * PUT UpdateBrand V2
1928
+ */
1929
+ async itemsUpdateBrandV2(body, licenseNumber) {
1930
+ return this.rateLimiter.execute(null, false, () => this.client.itemsUpdateBrandV2(body, licenseNumber));
1931
+ }
1932
+ /**
1933
+ * Permissions Required:
1934
+ * - Manage Locations
1935
+ *
1936
+ * POST Create V1
1937
+ */
1938
+ async locationsCreateV1(body, licenseNumber) {
1939
+ return this.rateLimiter.execute(null, false, () => this.client.locationsCreateV1(body, licenseNumber));
1940
+ }
1941
+ /**
1942
+ * Creates new locations for a specified Facility.
1943
+ *
1944
+ * Permissions Required:
1945
+ * - Manage Locations
1946
+ *
1947
+ * POST Create V2
1948
+ */
1949
+ async locationsCreateV2(body, licenseNumber) {
1950
+ return this.rateLimiter.execute(null, false, () => this.client.locationsCreateV2(body, licenseNumber));
1951
+ }
1952
+ /**
1953
+ * Permissions Required:
1954
+ * - Manage Locations
1955
+ *
1956
+ * POST CreateUpdate V1
1957
+ */
1958
+ async locationsCreateUpdateV1(body, licenseNumber) {
1959
+ return this.rateLimiter.execute(null, false, () => this.client.locationsCreateUpdateV1(body, licenseNumber));
1960
+ }
1961
+ /**
1962
+ * Permissions Required:
1963
+ * - Manage Locations
1964
+ *
1965
+ * DELETE Delete V1
1966
+ */
1967
+ async locationsDeleteV1(id, body, licenseNumber) {
1968
+ return this.rateLimiter.execute(null, false, () => this.client.locationsDeleteV1(id, body, licenseNumber));
1969
+ }
1970
+ /**
1971
+ * Archives a specified Location, identified by its Id, for a Facility.
1972
+ *
1973
+ * Permissions Required:
1974
+ * - Manage Locations
1975
+ *
1976
+ * DELETE Delete V2
1977
+ */
1978
+ async locationsDeleteV2(id, body, licenseNumber) {
1979
+ return this.rateLimiter.execute(null, false, () => this.client.locationsDeleteV2(id, body, licenseNumber));
1980
+ }
1981
+ /**
1982
+ * Permissions Required:
1983
+ * - Manage Locations
1984
+ *
1985
+ * GET Get V1
1986
+ */
1987
+ async locationsGetV1(id, body, licenseNumber) {
1988
+ return this.rateLimiter.execute(null, true, () => this.client.locationsGetV1(id, body, licenseNumber));
1989
+ }
1990
+ /**
1991
+ * Retrieves a Location by its Id.
1992
+ *
1993
+ * Permissions Required:
1994
+ * - Manage Locations
1995
+ *
1996
+ * GET Get V2
1997
+ */
1998
+ async locationsGetV2(id, body, licenseNumber) {
1999
+ return this.rateLimiter.execute(null, true, () => this.client.locationsGetV2(id, body, licenseNumber));
2000
+ }
2001
+ /**
2002
+ * Permissions Required:
2003
+ * - Manage Locations
2004
+ *
2005
+ * GET GetActive V1
2006
+ */
2007
+ async locationsGetActiveV1(body, licenseNumber) {
2008
+ return this.rateLimiter.execute(null, true, () => this.client.locationsGetActiveV1(body, licenseNumber));
2009
+ }
2010
+ /**
2011
+ * Retrieves a list of active locations for a specified Facility.
2012
+ *
2013
+ * Permissions Required:
2014
+ * - Manage Locations
2015
+ *
2016
+ * GET GetActive V2
2017
+ */
2018
+ async locationsGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
2019
+ return this.rateLimiter.execute(null, true, () => this.client.locationsGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
2020
+ }
2021
+ /**
2022
+ * Retrieves a list of inactive locations for a specified Facility.
2023
+ *
2024
+ * Permissions Required:
2025
+ * - Manage Locations
2026
+ *
2027
+ * GET GetInactive V2
2028
+ */
2029
+ async locationsGetInactiveV2(body, licenseNumber, pageNumber, pageSize) {
2030
+ return this.rateLimiter.execute(null, true, () => this.client.locationsGetInactiveV2(body, licenseNumber, pageNumber, pageSize));
2031
+ }
2032
+ /**
2033
+ * Permissions Required:
2034
+ * - Manage Locations
2035
+ *
2036
+ * GET GetTypes V1
2037
+ */
2038
+ async locationsGetTypesV1(body, licenseNumber) {
2039
+ return this.rateLimiter.execute(null, true, () => this.client.locationsGetTypesV1(body, licenseNumber));
2040
+ }
2041
+ /**
2042
+ * Retrieves a list of active location types for a specified Facility.
2043
+ *
2044
+ * Permissions Required:
2045
+ * - Manage Locations
2046
+ *
2047
+ * GET GetTypes V2
2048
+ */
2049
+ async locationsGetTypesV2(body, licenseNumber, pageNumber, pageSize) {
2050
+ return this.rateLimiter.execute(null, true, () => this.client.locationsGetTypesV2(body, licenseNumber, pageNumber, pageSize));
2051
+ }
2052
+ /**
2053
+ * Updates existing locations for a specified Facility.
2054
+ *
2055
+ * Permissions Required:
2056
+ * - Manage Locations
2057
+ *
2058
+ * PUT Update V2
2059
+ */
2060
+ async locationsUpdateV2(body, licenseNumber) {
2061
+ return this.rateLimiter.execute(null, false, () => this.client.locationsUpdateV2(body, licenseNumber));
2062
+ }
2063
+ /**
2064
+ * Data returned by this endpoint is cached for up to one minute.
2065
+ *
2066
+ * Permissions Required:
2067
+ * - Lookup Patients
2068
+ *
2069
+ * GET GetStatusesByPatientLicenseNumber V1
2070
+ */
2071
+ async patientsStatusGetStatusesByPatientLicenseNumberV1(patientLicenseNumber, body, licenseNumber) {
2072
+ return this.rateLimiter.execute(null, true, () => this.client.patientsStatusGetStatusesByPatientLicenseNumberV1(patientLicenseNumber, body, licenseNumber));
2073
+ }
2074
+ /**
2075
+ * Retrieves a list of statuses for a Patient License Number for a specified Facility. Data returned by this endpoint is cached for up to one minute.
2076
+ *
2077
+ * Permissions Required:
2078
+ * - Lookup Patients
2079
+ *
2080
+ * GET GetStatusesByPatientLicenseNumber V2
2081
+ */
2082
+ async patientsStatusGetStatusesByPatientLicenseNumberV2(patientLicenseNumber, body, licenseNumber) {
2083
+ return this.rateLimiter.execute(null, true, () => this.client.patientsStatusGetStatusesByPatientLicenseNumberV2(patientLicenseNumber, body, licenseNumber));
2084
+ }
2085
+ /**
2086
+ * Creates new sublocation records for a Facility.
2087
+ *
2088
+ * Permissions Required:
2089
+ * - Manage Locations
2090
+ *
2091
+ * POST Create V2
2092
+ */
2093
+ async sublocationsCreateV2(body, licenseNumber) {
2094
+ return this.rateLimiter.execute(null, false, () => this.client.sublocationsCreateV2(body, licenseNumber));
2095
+ }
2096
+ /**
2097
+ * Archives an existing Sublocation record for a Facility.
2098
+ *
2099
+ * Permissions Required:
2100
+ * - Manage Locations
2101
+ *
2102
+ * DELETE Delete V2
2103
+ */
2104
+ async sublocationsDeleteV2(id, body, licenseNumber) {
2105
+ return this.rateLimiter.execute(null, false, () => this.client.sublocationsDeleteV2(id, body, licenseNumber));
2106
+ }
2107
+ /**
2108
+ * Retrieves a Sublocation by its Id, with an optional license number.
2109
+ *
2110
+ * Permissions Required:
2111
+ * - Manage Locations
2112
+ *
2113
+ * GET Get V2
2114
+ */
2115
+ async sublocationsGetV2(id, body, licenseNumber) {
2116
+ return this.rateLimiter.execute(null, true, () => this.client.sublocationsGetV2(id, body, licenseNumber));
2117
+ }
2118
+ /**
2119
+ * Retrieves a list of active sublocations for the current Facility, optionally filtered by last modified date range.
2120
+ *
2121
+ * Permissions Required:
2122
+ * - Manage Locations
2123
+ *
2124
+ * GET GetActive V2
2125
+ */
2126
+ async sublocationsGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
2127
+ return this.rateLimiter.execute(null, true, () => this.client.sublocationsGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
2128
+ }
2129
+ /**
2130
+ * Retrieves a list of inactive sublocations for the specified Facility.
2131
+ *
2132
+ * Permissions Required:
2133
+ * - Manage Locations
2134
+ *
2135
+ * GET GetInactive V2
2136
+ */
2137
+ async sublocationsGetInactiveV2(body, licenseNumber, pageNumber, pageSize) {
2138
+ return this.rateLimiter.execute(null, true, () => this.client.sublocationsGetInactiveV2(body, licenseNumber, pageNumber, pageSize));
2139
+ }
2140
+ /**
2141
+ * Updates existing sublocation records for a specified Facility.
2142
+ *
2143
+ * Permissions Required:
2144
+ * - Manage Locations
2145
+ *
2146
+ * PUT Update V2
2147
+ */
2148
+ async sublocationsUpdateV2(body, licenseNumber) {
2149
+ return this.rateLimiter.execute(null, false, () => this.client.sublocationsUpdateV2(body, licenseNumber));
2150
+ }
2151
+ /**
2152
+ * This endpoint provides a list of facilities for which the authenticated user has access.
2153
+ *
2154
+ * Permissions Required:
2155
+ * - None
2156
+ *
2157
+ * GET GetAll V1
2158
+ */
2159
+ async facilitiesGetAllV1(body, No) {
2160
+ return this.rateLimiter.execute(null, true, () => this.client.facilitiesGetAllV1(body, No));
2161
+ }
2162
+ /**
2163
+ * This endpoint provides a list of facilities for which the authenticated user has access.
2164
+ *
2165
+ * Permissions Required:
2166
+ * - None
2167
+ *
2168
+ * GET GetAll V2
2169
+ */
2170
+ async facilitiesGetAllV2(body, No) {
2171
+ return this.rateLimiter.execute(null, true, () => this.client.facilitiesGetAllV2(body, No));
2172
+ }
2173
+ /**
2174
+ * Adds new patients to a specified Facility.
2175
+ *
2176
+ * Permissions Required:
2177
+ * - Manage Patients
2178
+ *
2179
+ * POST Create V2
2180
+ */
2181
+ async patientsCreateV2(body, licenseNumber) {
2182
+ return this.rateLimiter.execute(null, false, () => this.client.patientsCreateV2(body, licenseNumber));
2183
+ }
2184
+ /**
2185
+ * Permissions Required:
2186
+ * - Manage Patients
2187
+ *
2188
+ * POST CreateAdd V1
2189
+ */
2190
+ async patientsCreateAddV1(body, licenseNumber) {
2191
+ return this.rateLimiter.execute(null, false, () => this.client.patientsCreateAddV1(body, licenseNumber));
2192
+ }
2193
+ /**
2194
+ * Permissions Required:
2195
+ * - Manage Patients
2196
+ *
2197
+ * POST CreateUpdate V1
2198
+ */
2199
+ async patientsCreateUpdateV1(body, licenseNumber) {
2200
+ return this.rateLimiter.execute(null, false, () => this.client.patientsCreateUpdateV1(body, licenseNumber));
2201
+ }
2202
+ /**
2203
+ * Permissions Required:
2204
+ * - Manage Patients
2205
+ *
2206
+ * DELETE Delete V1
2207
+ */
2208
+ async patientsDeleteV1(id, body, licenseNumber) {
2209
+ return this.rateLimiter.execute(null, false, () => this.client.patientsDeleteV1(id, body, licenseNumber));
2210
+ }
2211
+ /**
2212
+ * Removes a Patient, identified by an Id, from a specified Facility.
2213
+ *
2214
+ * Permissions Required:
2215
+ * - Manage Patients
2216
+ *
2217
+ * DELETE Delete V2
2218
+ */
2219
+ async patientsDeleteV2(id, body, licenseNumber) {
2220
+ return this.rateLimiter.execute(null, false, () => this.client.patientsDeleteV2(id, body, licenseNumber));
2221
+ }
2222
+ /**
2223
+ * Permissions Required:
2224
+ * - Manage Patients
2225
+ *
2226
+ * GET Get V1
2227
+ */
2228
+ async patientsGetV1(id, body, licenseNumber) {
2229
+ return this.rateLimiter.execute(null, true, () => this.client.patientsGetV1(id, body, licenseNumber));
2230
+ }
2231
+ /**
2232
+ * Retrieves a Patient by Id.
2233
+ *
2234
+ * Permissions Required:
2235
+ * - Manage Patients
2236
+ *
2237
+ * GET Get V2
2238
+ */
2239
+ async patientsGetV2(id, body, licenseNumber) {
2240
+ return this.rateLimiter.execute(null, true, () => this.client.patientsGetV2(id, body, licenseNumber));
2241
+ }
2242
+ /**
2243
+ * Permissions Required:
2244
+ * - Manage Patients
2245
+ *
2246
+ * GET GetActive V1
2247
+ */
2248
+ async patientsGetActiveV1(body, licenseNumber) {
2249
+ return this.rateLimiter.execute(null, true, () => this.client.patientsGetActiveV1(body, licenseNumber));
2250
+ }
2251
+ /**
2252
+ * Retrieves a list of active patients for a specified Facility.
2253
+ *
2254
+ * Permissions Required:
2255
+ * - Manage Patients
2256
+ *
2257
+ * GET GetActive V2
2258
+ */
2259
+ async patientsGetActiveV2(body, licenseNumber, pageNumber, pageSize) {
2260
+ return this.rateLimiter.execute(null, true, () => this.client.patientsGetActiveV2(body, licenseNumber, pageNumber, pageSize));
2261
+ }
2262
+ /**
2263
+ * Updates Patient information for a specified Facility.
2264
+ *
2265
+ * Permissions Required:
2266
+ * - Manage Patients
2267
+ *
2268
+ * PUT Update V2
2269
+ */
2270
+ async patientsUpdateV2(body, licenseNumber) {
2271
+ return this.rateLimiter.execute(null, false, () => this.client.patientsUpdateV2(body, licenseNumber));
2272
+ }
2273
+ /**
2274
+ * Permissions Required:
2275
+ * - Manage Plants Additives
2276
+ *
2277
+ * POST CreateAdditives V1
2278
+ */
2279
+ async plantBatchesCreateAdditivesV1(body, licenseNumber) {
2280
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreateAdditivesV1(body, licenseNumber));
2281
+ }
2282
+ /**
2283
+ * Records Additive usage details for plant batches at a specific Facility.
2284
+ *
2285
+ * Permissions Required:
2286
+ * - Manage Plants Additives
2287
+ *
2288
+ * POST CreateAdditives V2
2289
+ */
2290
+ async plantBatchesCreateAdditivesV2(body, licenseNumber) {
2291
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreateAdditivesV2(body, licenseNumber));
2292
+ }
2293
+ /**
2294
+ * Records Additive usage for plant batches at a Facility using predefined additive templates.
2295
+ *
2296
+ * Permissions Required:
2297
+ * - Manage Plants Additives
2298
+ *
2299
+ * POST CreateAdditivesUsingtemplate V2
2300
+ */
2301
+ async plantBatchesCreateAdditivesUsingtemplateV2(body, licenseNumber) {
2302
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreateAdditivesUsingtemplateV2(body, licenseNumber));
2303
+ }
2304
+ /**
2305
+ * Permissions Required:
2306
+ * - View Immature Plants
2307
+ * - Manage Immature Plants Inventory
2308
+ *
2309
+ * POST CreateAdjust V1
2310
+ */
2311
+ async plantBatchesCreateAdjustV1(body, licenseNumber) {
2312
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreateAdjustV1(body, licenseNumber));
2313
+ }
2314
+ /**
2315
+ * Applies Facility specific adjustments to plant batches based on submitted reasons and input data.
2316
+ *
2317
+ * Permissions Required:
2318
+ * - View Immature Plants
2319
+ * - Manage Immature Plants Inventory
2320
+ *
2321
+ * POST CreateAdjust V2
2322
+ */
2323
+ async plantBatchesCreateAdjustV2(body, licenseNumber) {
2324
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreateAdjustV2(body, licenseNumber));
2325
+ }
2326
+ /**
2327
+ * Permissions Required:
2328
+ * - View Immature Plants
2329
+ * - Manage Immature Plants Inventory
2330
+ * - View Veg/Flower Plants
2331
+ * - Manage Veg/Flower Plants Inventory
2332
+ *
2333
+ * POST CreateChangegrowthphase V1
2334
+ */
2335
+ async plantBatchesCreateChangegrowthphaseV1(body, licenseNumber) {
2336
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreateChangegrowthphaseV1(body, licenseNumber));
2337
+ }
2338
+ /**
2339
+ * Updates the growth phase of plants at a specified Facility based on tracking information.
2340
+ *
2341
+ * Permissions Required:
2342
+ * - View Immature Plants
2343
+ * - Manage Immature Plants Inventory
2344
+ * - View Veg/Flower Plants
2345
+ * - Manage Veg/Flower Plants Inventory
2346
+ *
2347
+ * POST CreateGrowthphase V2
2348
+ */
2349
+ async plantBatchesCreateGrowthphaseV2(body, licenseNumber) {
2350
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreateGrowthphaseV2(body, licenseNumber));
2351
+ }
2352
+ /**
2353
+ * Creates packages from plant batches at a Facility, with optional support for packaging from mother plants.
2354
+ *
2355
+ * Permissions Required:
2356
+ * - View Immature Plants
2357
+ * - Manage Immature Plants Inventory
2358
+ * - View Packages
2359
+ * - Create/Submit/Discontinue Packages
2360
+ *
2361
+ * POST CreatePackage V2
2362
+ */
2363
+ async plantBatchesCreatePackageV2(body, isFromMotherPlant, licenseNumber) {
2364
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreatePackageV2(body, isFromMotherPlant, licenseNumber));
2365
+ }
2366
+ /**
2367
+ * Permissions Required:
2368
+ * - View Immature Plants
2369
+ * - Manage Immature Plants Inventory
2370
+ * - View Packages
2371
+ * - Create/Submit/Discontinue Packages
2372
+ *
2373
+ * POST CreatePackageFrommotherplant V1
2374
+ */
2375
+ async plantBatchesCreatePackageFrommotherplantV1(body, licenseNumber) {
2376
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreatePackageFrommotherplantV1(body, licenseNumber));
2377
+ }
2378
+ /**
2379
+ * Creates packages from mother plants at the specified Facility.
2380
+ *
2381
+ * Permissions Required:
2382
+ * - View Immature Plants
2383
+ * - Manage Immature Plants Inventory
2384
+ * - View Packages
2385
+ * - Create/Submit/Discontinue Packages
2386
+ *
2387
+ * POST CreatePackageFrommotherplant V2
2388
+ */
2389
+ async plantBatchesCreatePackageFrommotherplantV2(body, licenseNumber) {
2390
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreatePackageFrommotherplantV2(body, licenseNumber));
2391
+ }
2392
+ /**
2393
+ * Creates new plantings for a Facility by generating plant batches based on provided planting details.
2394
+ *
2395
+ * Permissions Required:
2396
+ * - View Immature Plants
2397
+ * - Manage Immature Plants Inventory
2398
+ *
2399
+ * POST CreatePlantings V2
2400
+ */
2401
+ async plantBatchesCreatePlantingsV2(body, licenseNumber) {
2402
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreatePlantingsV2(body, licenseNumber));
2403
+ }
2404
+ /**
2405
+ * Permissions Required:
2406
+ * - View Immature Plants
2407
+ * - Manage Immature Plants Inventory
2408
+ *
2409
+ * POST CreateSplit V1
2410
+ */
2411
+ async plantBatchesCreateSplitV1(body, licenseNumber) {
2412
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreateSplitV1(body, licenseNumber));
2413
+ }
2414
+ /**
2415
+ * Splits an existing Plant Batch into multiple groups at the specified Facility.
2416
+ *
2417
+ * Permissions Required:
2418
+ * - View Immature Plants
2419
+ * - Manage Immature Plants Inventory
2420
+ *
2421
+ * POST CreateSplit V2
2422
+ */
2423
+ async plantBatchesCreateSplitV2(body, licenseNumber) {
2424
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreateSplitV2(body, licenseNumber));
2425
+ }
2426
+ /**
2427
+ * Permissions Required:
2428
+ * - Manage Plants Waste
2429
+ *
2430
+ * POST CreateWaste V1
2431
+ */
2432
+ async plantBatchesCreateWasteV1(body, licenseNumber) {
2433
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreateWasteV1(body, licenseNumber));
2434
+ }
2435
+ /**
2436
+ * Records waste information for plant batches based on the submitted data for the specified Facility.
2437
+ *
2438
+ * Permissions Required:
2439
+ * - Manage Plants Waste
2440
+ *
2441
+ * POST CreateWaste V2
2442
+ */
2443
+ async plantBatchesCreateWasteV2(body, licenseNumber) {
2444
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreateWasteV2(body, licenseNumber));
2445
+ }
2446
+ /**
2447
+ * Permissions Required:
2448
+ * - View Immature Plants
2449
+ * - Manage Immature Plants Inventory
2450
+ * - View Packages
2451
+ * - Create/Submit/Discontinue Packages
2452
+ *
2453
+ * POST Createpackages V1
2454
+ */
2455
+ async plantBatchesCreatepackagesV1(body, isFromMotherPlant, licenseNumber) {
2456
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreatepackagesV1(body, isFromMotherPlant, licenseNumber));
2457
+ }
2458
+ /**
2459
+ * Permissions Required:
2460
+ * - View Immature Plants
2461
+ * - Manage Immature Plants Inventory
2462
+ *
2463
+ * POST Createplantings V1
2464
+ */
2465
+ async plantBatchesCreateplantingsV1(body, licenseNumber) {
2466
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesCreateplantingsV1(body, licenseNumber));
2467
+ }
2468
+ /**
2469
+ * Permissions Required:
2470
+ * - View Immature Plants
2471
+ * - Destroy Immature Plants
2472
+ *
2473
+ * DELETE Delete V1
2474
+ */
2475
+ async plantBatchesDeleteV1(body, licenseNumber) {
2476
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesDeleteV1(body, licenseNumber));
2477
+ }
2478
+ /**
2479
+ * Completes the destruction of plant batches based on the provided input data.
2480
+ *
2481
+ * Permissions Required:
2482
+ * - View Immature Plants
2483
+ * - Destroy Immature Plants
2484
+ *
2485
+ * DELETE Delete V2
2486
+ */
2487
+ async plantBatchesDeleteV2(body, licenseNumber) {
2488
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesDeleteV2(body, licenseNumber));
2489
+ }
2490
+ /**
2491
+ * Permissions Required:
2492
+ * - View Immature Plants
2493
+ *
2494
+ * GET Get V1
2495
+ */
2496
+ async plantBatchesGetV1(id, body, licenseNumber) {
2497
+ return this.rateLimiter.execute(null, true, () => this.client.plantBatchesGetV1(id, body, licenseNumber));
2498
+ }
2499
+ /**
2500
+ * Retrieves a Plant Batch by Id.
2501
+ *
2502
+ * Permissions Required:
2503
+ * - View Immature Plants
2504
+ *
2505
+ * GET Get V2
2506
+ */
2507
+ async plantBatchesGetV2(id, body, licenseNumber) {
2508
+ return this.rateLimiter.execute(null, true, () => this.client.plantBatchesGetV2(id, body, licenseNumber));
2509
+ }
2510
+ /**
2511
+ * Permissions Required:
2512
+ * - View Immature Plants
2513
+ *
2514
+ * GET GetActive V1
2515
+ */
2516
+ async plantBatchesGetActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
2517
+ return this.rateLimiter.execute(null, true, () => this.client.plantBatchesGetActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
2518
+ }
2519
+ /**
2520
+ * Retrieves a list of active plant batches for the specified Facility, optionally filtered by last modified date.
2521
+ *
2522
+ * Permissions Required:
2523
+ * - View Immature Plants
2524
+ *
2525
+ * GET GetActive V2
2526
+ */
2527
+ async plantBatchesGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
2528
+ return this.rateLimiter.execute(null, true, () => this.client.plantBatchesGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
2529
+ }
2530
+ /**
2531
+ * Permissions Required:
2532
+ * - View Immature Plants
2533
+ *
2534
+ * GET GetInactive V1
2535
+ */
2536
+ async plantBatchesGetInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
2537
+ return this.rateLimiter.execute(null, true, () => this.client.plantBatchesGetInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
2538
+ }
2539
+ /**
2540
+ * Retrieves a list of inactive plant batches for the specified Facility, optionally filtered by last modified date.
2541
+ *
2542
+ * Permissions Required:
2543
+ * - View Immature Plants
2544
+ *
2545
+ * GET GetInactive V2
2546
+ */
2547
+ async plantBatchesGetInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
2548
+ return this.rateLimiter.execute(null, true, () => this.client.plantBatchesGetInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
2549
+ }
2550
+ /**
2551
+ * Permissions Required:
2552
+ * - None
2553
+ *
2554
+ * GET GetTypes V1
2555
+ */
2556
+ async plantBatchesGetTypesV1(body, No) {
2557
+ return this.rateLimiter.execute(null, true, () => this.client.plantBatchesGetTypesV1(body, No));
2558
+ }
2559
+ /**
2560
+ * Retrieves a list of plant batch types.
2561
+ *
2562
+ * Permissions Required:
2563
+ * - None
2564
+ *
2565
+ * GET GetTypes V2
2566
+ */
2567
+ async plantBatchesGetTypesV2(body, pageNumber, pageSize) {
2568
+ return this.rateLimiter.execute(null, true, () => this.client.plantBatchesGetTypesV2(body, pageNumber, pageSize));
2569
+ }
2570
+ /**
2571
+ * Retrieves waste details associated with plant batches at a specified Facility.
2572
+ *
2573
+ * Permissions Required:
2574
+ * - View Plants Waste
2575
+ *
2576
+ * GET GetWaste V2
2577
+ */
2578
+ async plantBatchesGetWasteV2(body, licenseNumber, pageNumber, pageSize) {
2579
+ return this.rateLimiter.execute(null, true, () => this.client.plantBatchesGetWasteV2(body, licenseNumber, pageNumber, pageSize));
2580
+ }
2581
+ /**
2582
+ * Permissions Required:
2583
+ * - None
2584
+ *
2585
+ * GET GetWasteReasons V1
2586
+ */
2587
+ async plantBatchesGetWasteReasonsV1(body, licenseNumber) {
2588
+ return this.rateLimiter.execute(null, true, () => this.client.plantBatchesGetWasteReasonsV1(body, licenseNumber));
2589
+ }
2590
+ /**
2591
+ * Retrieves a list of valid waste reasons associated with immature plant batches for the specified Facility.
2592
+ *
2593
+ * Permissions Required:
2594
+ * - None
2595
+ *
2596
+ * GET GetWasteReasons V2
2597
+ */
2598
+ async plantBatchesGetWasteReasonsV2(body, licenseNumber) {
2599
+ return this.rateLimiter.execute(null, true, () => this.client.plantBatchesGetWasteReasonsV2(body, licenseNumber));
2600
+ }
2601
+ /**
2602
+ * Moves one or more plant batches to new locations with in a specified Facility.
2603
+ *
2604
+ * Permissions Required:
2605
+ * - View Immature Plants
2606
+ * - Manage Immature Plants
2607
+ *
2608
+ * PUT UpdateLocation V2
2609
+ */
2610
+ async plantBatchesUpdateLocationV2(body, licenseNumber) {
2611
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesUpdateLocationV2(body, licenseNumber));
2612
+ }
2613
+ /**
2614
+ * Permissions Required:
2615
+ * - View Immature Plants
2616
+ *
2617
+ * PUT UpdateMoveplantbatches V1
2618
+ */
2619
+ async plantBatchesUpdateMoveplantbatchesV1(body, licenseNumber) {
2620
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesUpdateMoveplantbatchesV1(body, licenseNumber));
2621
+ }
2622
+ /**
2623
+ * Renames plant batches at a specified Facility.
2624
+ *
2625
+ * Permissions Required:
2626
+ * - View Veg/Flower Plants
2627
+ * - Manage Veg/Flower Plants Inventory
2628
+ *
2629
+ * PUT UpdateName V2
2630
+ */
2631
+ async plantBatchesUpdateNameV2(body, licenseNumber) {
2632
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesUpdateNameV2(body, licenseNumber));
2633
+ }
2634
+ /**
2635
+ * Changes the strain of plant batches at a specified Facility.
2636
+ *
2637
+ * Permissions Required:
2638
+ * - View Veg/Flower Plants
2639
+ * - Manage Veg/Flower Plants Inventory
2640
+ *
2641
+ * PUT UpdateStrain V2
2642
+ */
2643
+ async plantBatchesUpdateStrainV2(body, licenseNumber) {
2644
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesUpdateStrainV2(body, licenseNumber));
2645
+ }
2646
+ /**
2647
+ * Replaces tags for plant batches at a specified Facility.
2648
+ *
2649
+ * Permissions Required:
2650
+ * - View Veg/Flower Plants
2651
+ * - Manage Veg/Flower Plants Inventory
2652
+ *
2653
+ * PUT UpdateTag V2
2654
+ */
2655
+ async plantBatchesUpdateTagV2(body, licenseNumber) {
2656
+ return this.rateLimiter.execute(null, false, () => this.client.plantBatchesUpdateTagV2(body, licenseNumber));
2657
+ }
2658
+ /**
2659
+ * Facilitate association of QR codes and Package labels. This will return the count of packages and QR codes associated that were added or replaced.
2660
+ *
2661
+ * Permissions Required:
2662
+ * - External Sources(ThirdPartyVendorV2)/Retail ID(Write)
2663
+ * - WebApi Retail ID Read Write State (All or WriteOnly)
2664
+ * - Industry/View Packages
2665
+ * - One of the following: Industry/Facility Type/Can Receive Associate Product Label, Licensee/Receive Associate Product Label or Admin/Employees/Packages Page/Product Labels(Manage)
2666
+ *
2667
+ * POST CreateAssociate V2
2668
+ */
2669
+ async retailIdCreateAssociateV2(body, licenseNumber) {
2670
+ return this.rateLimiter.execute(null, false, () => this.client.retailIdCreateAssociateV2(body, licenseNumber));
2671
+ }
2672
+ /**
2673
+ * Allows you to generate a specific quantity of QR codes. Id value returned (issuance ID) could be used for printing.
2674
+ *
2675
+ * Permissions Required:
2676
+ * - External Sources(ThirdPartyVendorV2)/Retail ID(Write)
2677
+ * - WebApi Retail ID Read Write State (All or WriteOnly)
2678
+ * - Industry/View Packages
2679
+ * - One of the following: Industry/Facility Type/Can Download Product Label, Licensee/Download Product Label or Admin/Employees/Packages Page/Product Labels(Manage)
2680
+ *
2681
+ * POST CreateGenerate V2
2682
+ */
2683
+ async retailIdCreateGenerateV2(body, licenseNumber) {
2684
+ return this.rateLimiter.execute(null, false, () => this.client.retailIdCreateGenerateV2(body, licenseNumber));
2685
+ }
2686
+ /**
2687
+ * Merge and adjust one source to one target Package. First Package detected will be processed as target Package. This requires an action reason with name containing the 'Merge' word and setup with 'Package adjustment' area.
2688
+ *
2689
+ * Permissions Required:
2690
+ * - External Sources(ThirdPartyVendorV2)/Retail ID(Write)
2691
+ * - WebApi Retail ID Read Write State (All or WriteOnly)
2692
+ * - Key Value Settings/Retail ID Merge Packages Enabled
2693
+ *
2694
+ * POST CreateMerge V2
2695
+ */
2696
+ async retailIdCreateMergeV2(body, licenseNumber) {
2697
+ return this.rateLimiter.execute(null, false, () => this.client.retailIdCreateMergeV2(body, licenseNumber));
2698
+ }
2699
+ /**
2700
+ * Retrieves Package information for given list of Package labels.
2701
+ *
2702
+ * Permissions Required:
2703
+ * - External Sources(ThirdPartyVendorV2)/Retail ID(Write)
2704
+ * - WebApi Retail ID Read Write State (All or WriteOnly)
2705
+ * - Industry/View Packages
2706
+ * - Admin/Employees/Packages Page/Product Labels(Manage)
2707
+ *
2708
+ * POST CreatePackageInfo V2
2709
+ */
2710
+ async retailIdCreatePackageInfoV2(body, licenseNumber) {
2711
+ return this.rateLimiter.execute(null, false, () => this.client.retailIdCreatePackageInfoV2(body, licenseNumber));
2712
+ }
2713
+ /**
2714
+ * Get a list of eaches (Retail ID QR code URL) and sibling tags based on given Package label.
2715
+ *
2716
+ * Permissions Required:
2717
+ * - External Sources(ThirdPartyVendorV2)/Manage RetailId
2718
+ * - WebApi Retail ID Read Write State (All or ReadOnly)
2719
+ * - Industry/View Packages
2720
+ * - One of the following: Industry/Facility Type/Can Receive Associate Product Label, Licensee/Receive Associate Product Label or Admin/Employees/Packages Page/Product Labels(View or Manage)
2721
+ *
2722
+ * GET GetReceiveByLabel V2
2723
+ */
2724
+ async retailIdGetReceiveByLabelV2(label, body, licenseNumber) {
2725
+ return this.rateLimiter.execute(null, true, () => this.client.retailIdGetReceiveByLabelV2(label, body, licenseNumber));
2726
+ }
2727
+ /**
2728
+ * Get a list of eaches (Retail ID QR code URL) and sibling tags based on given short code value (first segment in Retail ID QR code URL).
2729
+ *
2730
+ * Permissions Required:
2731
+ * - External Sources(ThirdPartyVendorV2)/Manage RetailId
2732
+ * - WebApi Retail ID Read Write State (All or ReadOnly)
2733
+ * - Industry/View Packages
2734
+ * - One of the following: Industry/Facility Type/Can Receive Associate Product Label, Licensee/Receive Associate Product Label or Admin/Employees/Packages Page/Product Labels(View or Manage)
2735
+ *
2736
+ * GET GetReceiveQrByShortCode V2
2737
+ */
2738
+ async retailIdGetReceiveQrByShortCodeV2(shortCode, body, licenseNumber) {
2739
+ return this.rateLimiter.execute(null, true, () => this.client.retailIdGetReceiveQrByShortCodeV2(shortCode, body, licenseNumber));
2740
+ }
2741
+ /**
2742
+ * Creates new driver records for a Facility.
2743
+ *
2744
+ * Permissions Required:
2745
+ * - Manage Transporters
2746
+ *
2747
+ * POST CreateDriver V2
2748
+ */
2749
+ async transportersCreateDriverV2(body, licenseNumber) {
2750
+ return this.rateLimiter.execute(null, false, () => this.client.transportersCreateDriverV2(body, licenseNumber));
2751
+ }
2752
+ /**
2753
+ * Creates new vehicle records for a Facility.
2754
+ *
2755
+ * Permissions Required:
2756
+ * - Manage Transporters
2757
+ *
2758
+ * POST CreateVehicle V2
2759
+ */
2760
+ async transportersCreateVehicleV2(body, licenseNumber) {
2761
+ return this.rateLimiter.execute(null, false, () => this.client.transportersCreateVehicleV2(body, licenseNumber));
2762
+ }
2763
+ /**
2764
+ * Archives a Driver record for a Facility. Please note: The {id} parameter above represents a Driver Id.
2765
+ *
2766
+ * Permissions Required:
2767
+ * - Manage Transporters
2768
+ *
2769
+ * DELETE DeleteDriver V2
2770
+ */
2771
+ async transportersDeleteDriverV2(id, body, licenseNumber) {
2772
+ return this.rateLimiter.execute(null, false, () => this.client.transportersDeleteDriverV2(id, body, licenseNumber));
2773
+ }
2774
+ /**
2775
+ * Archives a Vehicle for a facility. Please note: The {id} parameter above represents a Vehicle Id.
2776
+ *
2777
+ * Permissions Required:
2778
+ * - Manage Transporters
2779
+ *
2780
+ * DELETE DeleteVehicle V2
2781
+ */
2782
+ async transportersDeleteVehicleV2(id, body, licenseNumber) {
2783
+ return this.rateLimiter.execute(null, false, () => this.client.transportersDeleteVehicleV2(id, body, licenseNumber));
2784
+ }
2785
+ /**
2786
+ * Retrieves a Driver by its Id, with an optional license number. Please note: The {id} parameter above represents a Driver Id.
2787
+ *
2788
+ * Permissions Required:
2789
+ * - Transporters
2790
+ *
2791
+ * GET GetDriver V2
2792
+ */
2793
+ async transportersGetDriverV2(id, body, licenseNumber) {
2794
+ return this.rateLimiter.execute(null, true, () => this.client.transportersGetDriverV2(id, body, licenseNumber));
2795
+ }
2796
+ /**
2797
+ * Retrieves a list of drivers for a Facility.
2798
+ *
2799
+ * Permissions Required:
2800
+ * - Transporters
2801
+ *
2802
+ * GET GetDrivers V2
2803
+ */
2804
+ async transportersGetDriversV2(body, licenseNumber, pageNumber, pageSize) {
2805
+ return this.rateLimiter.execute(null, true, () => this.client.transportersGetDriversV2(body, licenseNumber, pageNumber, pageSize));
2806
+ }
2807
+ /**
2808
+ * Retrieves a Vehicle by its Id, with an optional license number. Please note: The {id} parameter above represents a Vehicle Id.
2809
+ *
2810
+ * Permissions Required:
2811
+ * - Transporters
2812
+ *
2813
+ * GET GetVehicle V2
2814
+ */
2815
+ async transportersGetVehicleV2(id, body, licenseNumber) {
2816
+ return this.rateLimiter.execute(null, true, () => this.client.transportersGetVehicleV2(id, body, licenseNumber));
2817
+ }
2818
+ /**
2819
+ * Retrieves a list of vehicles for a Facility.
2820
+ *
2821
+ * Permissions Required:
2822
+ * - Transporters
2823
+ *
2824
+ * GET GetVehicles V2
2825
+ */
2826
+ async transportersGetVehiclesV2(body, licenseNumber, pageNumber, pageSize) {
2827
+ return this.rateLimiter.execute(null, true, () => this.client.transportersGetVehiclesV2(body, licenseNumber, pageNumber, pageSize));
2828
+ }
2829
+ /**
2830
+ * Updates existing driver records for a Facility.
2831
+ *
2832
+ * Permissions Required:
2833
+ * - Manage Transporters
2834
+ *
2835
+ * PUT UpdateDriver V2
2836
+ */
2837
+ async transportersUpdateDriverV2(body, licenseNumber) {
2838
+ return this.rateLimiter.execute(null, false, () => this.client.transportersUpdateDriverV2(body, licenseNumber));
2839
+ }
2840
+ /**
2841
+ * Updates existing vehicle records for a facility.
2842
+ *
2843
+ * Permissions Required:
2844
+ * - Manage Transporters
2845
+ *
2846
+ * PUT UpdateVehicle V2
2847
+ */
2848
+ async transportersUpdateVehicleV2(body, licenseNumber) {
2849
+ return this.rateLimiter.execute(null, false, () => this.client.transportersUpdateVehicleV2(body, licenseNumber));
2850
+ }
2851
+ /**
2852
+ * Permissions Required:
2853
+ * - View Packages
2854
+ * - Manage Packages Inventory
2855
+ *
2856
+ * POST CreateRecord V1
2857
+ */
2858
+ async labTestsCreateRecordV1(body, licenseNumber) {
2859
+ return this.rateLimiter.execute(null, false, () => this.client.labTestsCreateRecordV1(body, licenseNumber));
2860
+ }
2861
+ /**
2862
+ * Submits Lab Test results for one or more packages. NOTE: This endpoint allows only PDF files, and uploaded files can be no more than 5 MB in size. The Label element in the request is a Package Label.
2863
+ *
2864
+ * Permissions Required:
2865
+ * - View Packages
2866
+ * - Manage Packages Inventory
2867
+ *
2868
+ * POST CreateRecord V2
2869
+ */
2870
+ async labTestsCreateRecordV2(body, licenseNumber) {
2871
+ return this.rateLimiter.execute(null, false, () => this.client.labTestsCreateRecordV2(body, licenseNumber));
2872
+ }
2873
+ /**
2874
+ * Retrieves a list of Lab Test batches.
2875
+ *
2876
+ * Permissions Required:
2877
+ * - None
2878
+ *
2879
+ * GET GetBatches V2
2880
+ */
2881
+ async labTestsGetBatchesV2(body, pageNumber, pageSize) {
2882
+ return this.rateLimiter.execute(null, true, () => this.client.labTestsGetBatchesV2(body, pageNumber, pageSize));
2883
+ }
2884
+ /**
2885
+ * Permissions Required:
2886
+ * - View Packages
2887
+ * - Manage Packages Inventory
2888
+ *
2889
+ * GET GetLabtestdocument V1
2890
+ */
2891
+ async labTestsGetLabtestdocumentV1(id, body, licenseNumber) {
2892
+ return this.rateLimiter.execute(null, true, () => this.client.labTestsGetLabtestdocumentV1(id, body, licenseNumber));
2893
+ }
2894
+ /**
2895
+ * Retrieves a specific Lab Test result document by its Id for a given Facility.
2896
+ *
2897
+ * Permissions Required:
2898
+ * - View Packages
2899
+ * - Manage Packages Inventory
2900
+ *
2901
+ * GET GetLabtestdocument V2
2902
+ */
2903
+ async labTestsGetLabtestdocumentV2(id, body, licenseNumber) {
2904
+ return this.rateLimiter.execute(null, true, () => this.client.labTestsGetLabtestdocumentV2(id, body, licenseNumber));
2905
+ }
2906
+ /**
2907
+ * Permissions Required:
2908
+ * - View Packages
2909
+ *
2910
+ * GET GetResults V1
2911
+ */
2912
+ async labTestsGetResultsV1(body, licenseNumber, packageId) {
2913
+ return this.rateLimiter.execute(null, true, () => this.client.labTestsGetResultsV1(body, licenseNumber, packageId));
2914
+ }
2915
+ /**
2916
+ * Retrieves Lab Test results for a specified Package.
2917
+ *
2918
+ * Permissions Required:
2919
+ * - View Packages
2920
+ * - Manage Packages Inventory
2921
+ *
2922
+ * GET GetResults V2
2923
+ */
2924
+ async labTestsGetResultsV2(body, licenseNumber, packageId, pageNumber, pageSize) {
2925
+ return this.rateLimiter.execute(null, true, () => this.client.labTestsGetResultsV2(body, licenseNumber, packageId, pageNumber, pageSize));
2926
+ }
2927
+ /**
2928
+ * Permissions Required:
2929
+ * - None
2930
+ *
2931
+ * GET GetStates V1
2932
+ */
2933
+ async labTestsGetStatesV1(body, No) {
2934
+ return this.rateLimiter.execute(null, true, () => this.client.labTestsGetStatesV1(body, No));
2935
+ }
2936
+ /**
2937
+ * Returns a list of all lab testing states.
2938
+ *
2939
+ * Permissions Required:
2940
+ * - None
2941
+ *
2942
+ * GET GetStates V2
2943
+ */
2944
+ async labTestsGetStatesV2(body, No) {
2945
+ return this.rateLimiter.execute(null, true, () => this.client.labTestsGetStatesV2(body, No));
2946
+ }
2947
+ /**
2948
+ * Permissions Required:
2949
+ * - None
2950
+ *
2951
+ * GET GetTypes V1
2952
+ */
2953
+ async labTestsGetTypesV1(body, No) {
2954
+ return this.rateLimiter.execute(null, true, () => this.client.labTestsGetTypesV1(body, No));
2955
+ }
2956
+ /**
2957
+ * Returns a list of Lab Test types.
2958
+ *
2959
+ * Permissions Required:
2960
+ * - None
2961
+ *
2962
+ * GET GetTypes V2
2963
+ */
2964
+ async labTestsGetTypesV2(body, pageNumber, pageSize) {
2965
+ return this.rateLimiter.execute(null, true, () => this.client.labTestsGetTypesV2(body, pageNumber, pageSize));
2966
+ }
2967
+ /**
2968
+ * Permissions Required:
2969
+ * - View Packages
2970
+ * - Manage Packages Inventory
2971
+ *
2972
+ * PUT UpdateLabtestdocument V1
2973
+ */
2974
+ async labTestsUpdateLabtestdocumentV1(body, licenseNumber) {
2975
+ return this.rateLimiter.execute(null, false, () => this.client.labTestsUpdateLabtestdocumentV1(body, licenseNumber));
2976
+ }
2977
+ /**
2978
+ * Updates one or more documents for previously submitted lab tests.
2979
+ *
2980
+ * Permissions Required:
2981
+ * - View Packages
2982
+ * - Manage Packages Inventory
2983
+ *
2984
+ * PUT UpdateLabtestdocument V2
2985
+ */
2986
+ async labTestsUpdateLabtestdocumentV2(body, licenseNumber) {
2987
+ return this.rateLimiter.execute(null, false, () => this.client.labTestsUpdateLabtestdocumentV2(body, licenseNumber));
2988
+ }
2989
+ /**
2990
+ * Permissions Required:
2991
+ * - View Packages
2992
+ * - Manage Packages Inventory
2993
+ *
2994
+ * PUT UpdateResultRelease V1
2995
+ */
2996
+ async labTestsUpdateResultReleaseV1(body, licenseNumber) {
2997
+ return this.rateLimiter.execute(null, false, () => this.client.labTestsUpdateResultReleaseV1(body, licenseNumber));
2998
+ }
2999
+ /**
3000
+ * Releases Lab Test results for one or more packages.
3001
+ *
3002
+ * Permissions Required:
3003
+ * - View Packages
3004
+ * - Manage Packages Inventory
3005
+ *
3006
+ * PUT UpdateResultRelease V2
3007
+ */
3008
+ async labTestsUpdateResultReleaseV2(body, licenseNumber) {
3009
+ return this.rateLimiter.execute(null, false, () => this.client.labTestsUpdateResultReleaseV2(body, licenseNumber));
3010
+ }
3011
+ /**
3012
+ * Permissions Required:
3013
+ * - View Packages
3014
+ * - Create/Submit/Discontinue Packages
3015
+ *
3016
+ * POST Create V1
3017
+ */
3018
+ async packagesCreateV1(body, licenseNumber) {
3019
+ return this.rateLimiter.execute(null, false, () => this.client.packagesCreateV1(body, licenseNumber));
3020
+ }
3021
+ /**
3022
+ * Creates new packages for a specified Facility.
3023
+ *
3024
+ * Permissions Required:
3025
+ * - View Packages
3026
+ * - Create/Submit/Discontinue Packages
3027
+ *
3028
+ * POST Create V2
3029
+ */
3030
+ async packagesCreateV2(body, licenseNumber) {
3031
+ return this.rateLimiter.execute(null, false, () => this.client.packagesCreateV2(body, licenseNumber));
3032
+ }
3033
+ /**
3034
+ * Permissions Required:
3035
+ * - View Packages
3036
+ * - Manage Packages Inventory
3037
+ *
3038
+ * POST CreateAdjust V1
3039
+ */
3040
+ async packagesCreateAdjustV1(body, licenseNumber) {
3041
+ return this.rateLimiter.execute(null, false, () => this.client.packagesCreateAdjustV1(body, licenseNumber));
3042
+ }
3043
+ /**
3044
+ * Records a list of adjustments for packages at a specific Facility.
3045
+ *
3046
+ * Permissions Required:
3047
+ * - View Packages
3048
+ * - Manage Packages Inventory
3049
+ *
3050
+ * POST CreateAdjust V2
3051
+ */
3052
+ async packagesCreateAdjustV2(body, licenseNumber) {
3053
+ return this.rateLimiter.execute(null, false, () => this.client.packagesCreateAdjustV2(body, licenseNumber));
3054
+ }
3055
+ /**
3056
+ * Permissions Required:
3057
+ * - View Packages
3058
+ * - Create/Submit/Discontinue Packages
3059
+ *
3060
+ * POST CreateChangeItem V1
3061
+ */
3062
+ async packagesCreateChangeItemV1(body, licenseNumber) {
3063
+ return this.rateLimiter.execute(null, false, () => this.client.packagesCreateChangeItemV1(body, licenseNumber));
3064
+ }
3065
+ /**
3066
+ * Permissions Required:
3067
+ * - View Packages
3068
+ * - Create/Submit/Discontinue Packages
3069
+ *
3070
+ * POST CreateChangeLocation V1
3071
+ */
3072
+ async packagesCreateChangeLocationV1(body, licenseNumber) {
3073
+ return this.rateLimiter.execute(null, false, () => this.client.packagesCreateChangeLocationV1(body, licenseNumber));
3074
+ }
3075
+ /**
3076
+ * Permissions Required:
3077
+ * - View Packages
3078
+ * - Manage Packages Inventory
3079
+ *
3080
+ * POST CreateFinish V1
3081
+ */
3082
+ async packagesCreateFinishV1(body, licenseNumber) {
3083
+ return this.rateLimiter.execute(null, false, () => this.client.packagesCreateFinishV1(body, licenseNumber));
3084
+ }
3085
+ /**
3086
+ * Permissions Required:
3087
+ * - View Immature Plants
3088
+ * - Manage Immature Plants
3089
+ * - View Packages
3090
+ * - Manage Packages Inventory
3091
+ *
3092
+ * POST CreatePlantings V1
3093
+ */
3094
+ async packagesCreatePlantingsV1(body, licenseNumber) {
3095
+ return this.rateLimiter.execute(null, false, () => this.client.packagesCreatePlantingsV1(body, licenseNumber));
3096
+ }
3097
+ /**
3098
+ * Creates new plantings from packages for a specified Facility.
3099
+ *
3100
+ * Permissions Required:
3101
+ * - View Immature Plants
3102
+ * - Manage Immature Plants
3103
+ * - View Packages
3104
+ * - Manage Packages Inventory
3105
+ *
3106
+ * POST CreatePlantings V2
3107
+ */
3108
+ async packagesCreatePlantingsV2(body, licenseNumber) {
3109
+ return this.rateLimiter.execute(null, false, () => this.client.packagesCreatePlantingsV2(body, licenseNumber));
3110
+ }
3111
+ /**
3112
+ * Permissions Required:
3113
+ * - View Packages
3114
+ * - Manage Packages Inventory
3115
+ *
3116
+ * POST CreateRemediate V1
3117
+ */
3118
+ async packagesCreateRemediateV1(body, licenseNumber) {
3119
+ return this.rateLimiter.execute(null, false, () => this.client.packagesCreateRemediateV1(body, licenseNumber));
3120
+ }
3121
+ /**
3122
+ * Permissions Required:
3123
+ * - View Packages
3124
+ * - Create/Submit/Discontinue Packages
3125
+ *
3126
+ * POST CreateTesting V1
3127
+ */
3128
+ async packagesCreateTestingV1(body, licenseNumber) {
3129
+ return this.rateLimiter.execute(null, false, () => this.client.packagesCreateTestingV1(body, licenseNumber));
3130
+ }
3131
+ /**
3132
+ * Creates new packages for testing for a specified Facility.
3133
+ *
3134
+ * Permissions Required:
3135
+ * - View Packages
3136
+ * - Create/Submit/Discontinue Packages
3137
+ *
3138
+ * POST CreateTesting V2
3139
+ */
3140
+ async packagesCreateTestingV2(body, licenseNumber) {
3141
+ return this.rateLimiter.execute(null, false, () => this.client.packagesCreateTestingV2(body, licenseNumber));
3142
+ }
3143
+ /**
3144
+ * Permissions Required:
3145
+ * - View Packages
3146
+ * - Manage Packages Inventory
3147
+ *
3148
+ * POST CreateUnfinish V1
3149
+ */
3150
+ async packagesCreateUnfinishV1(body, licenseNumber) {
3151
+ return this.rateLimiter.execute(null, false, () => this.client.packagesCreateUnfinishV1(body, licenseNumber));
3152
+ }
3153
+ /**
3154
+ * Discontinues a Package at a specific Facility.
3155
+ *
3156
+ * Permissions Required:
3157
+ * - View Packages
3158
+ * - Create/Submit/Discontinue Packages
3159
+ *
3160
+ * DELETE Delete V2
3161
+ */
3162
+ async packagesDeleteV2(id, body, licenseNumber) {
3163
+ return this.rateLimiter.execute(null, false, () => this.client.packagesDeleteV2(id, body, licenseNumber));
3164
+ }
3165
+ /**
3166
+ * Permissions Required:
3167
+ * - View Packages
3168
+ *
3169
+ * GET Get V1
3170
+ */
3171
+ async packagesGetV1(id, body, licenseNumber) {
3172
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetV1(id, body, licenseNumber));
3173
+ }
3174
+ /**
3175
+ * Retrieves a Package by its Id.
3176
+ *
3177
+ * Permissions Required:
3178
+ * - View Packages
3179
+ *
3180
+ * GET Get V2
3181
+ */
3182
+ async packagesGetV2(id, body, licenseNumber) {
3183
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetV2(id, body, licenseNumber));
3184
+ }
3185
+ /**
3186
+ * Permissions Required:
3187
+ * - View Packages
3188
+ *
3189
+ * GET GetActive V1
3190
+ */
3191
+ async packagesGetActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
3192
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
3193
+ }
3194
+ /**
3195
+ * Retrieves a list of active packages for a specified Facility.
3196
+ *
3197
+ * Permissions Required:
3198
+ * - View Packages
3199
+ *
3200
+ * GET GetActive V2
3201
+ */
3202
+ async packagesGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
3203
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
3204
+ }
3205
+ /**
3206
+ * Permissions Required:
3207
+ * - None
3208
+ *
3209
+ * GET GetAdjustReasons V1
3210
+ */
3211
+ async packagesGetAdjustReasonsV1(body, licenseNumber) {
3212
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetAdjustReasonsV1(body, licenseNumber));
3213
+ }
3214
+ /**
3215
+ * Retrieves a list of adjustment reasons for packages at a specified Facility.
3216
+ *
3217
+ * Permissions Required:
3218
+ * - None
3219
+ *
3220
+ * GET GetAdjustReasons V2
3221
+ */
3222
+ async packagesGetAdjustReasonsV2(body, licenseNumber, pageNumber, pageSize) {
3223
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetAdjustReasonsV2(body, licenseNumber, pageNumber, pageSize));
3224
+ }
3225
+ /**
3226
+ * Permissions Required:
3227
+ * - View Packages
3228
+ *
3229
+ * GET GetByLabel V1
3230
+ */
3231
+ async packagesGetByLabelV1(label, body, licenseNumber) {
3232
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetByLabelV1(label, body, licenseNumber));
3233
+ }
3234
+ /**
3235
+ * Retrieves a Package by its label.
3236
+ *
3237
+ * Permissions Required:
3238
+ * - View Packages
3239
+ *
3240
+ * GET GetByLabel V2
3241
+ */
3242
+ async packagesGetByLabelV2(label, body, licenseNumber) {
3243
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetByLabelV2(label, body, licenseNumber));
3244
+ }
3245
+ /**
3246
+ * Permissions Required:
3247
+ * - View Packages
3248
+ *
3249
+ * GET GetInactive V1
3250
+ */
3251
+ async packagesGetInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
3252
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
3253
+ }
3254
+ /**
3255
+ * Retrieves a list of inactive packages for a specified Facility.
3256
+ *
3257
+ * Permissions Required:
3258
+ * - View Packages
3259
+ *
3260
+ * GET GetInactive V2
3261
+ */
3262
+ async packagesGetInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
3263
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
3264
+ }
3265
+ /**
3266
+ * Retrieves a list of packages in transit for a specified Facility.
3267
+ *
3268
+ * Permissions Required:
3269
+ * - View Packages
3270
+ *
3271
+ * GET GetIntransit V2
3272
+ */
3273
+ async packagesGetIntransitV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
3274
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetIntransitV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
3275
+ }
3276
+ /**
3277
+ * Retrieves a list of lab sample packages created or sent for testing for a specified Facility.
3278
+ *
3279
+ * Permissions Required:
3280
+ * - View Packages
3281
+ *
3282
+ * GET GetLabsamples V2
3283
+ */
3284
+ async packagesGetLabsamplesV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
3285
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetLabsamplesV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
3286
+ }
3287
+ /**
3288
+ * Permissions Required:
3289
+ * - View Packages
3290
+ *
3291
+ * GET GetOnhold V1
3292
+ */
3293
+ async packagesGetOnholdV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
3294
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetOnholdV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
3295
+ }
3296
+ /**
3297
+ * Retrieves a list of packages on hold for a specified Facility.
3298
+ *
3299
+ * Permissions Required:
3300
+ * - View Packages
3301
+ *
3302
+ * GET GetOnhold V2
3303
+ */
3304
+ async packagesGetOnholdV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
3305
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetOnholdV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
3306
+ }
3307
+ /**
3308
+ * Retrieves the source harvests for a Package by its Id.
3309
+ *
3310
+ * Permissions Required:
3311
+ * - View Package Source Harvests
3312
+ *
3313
+ * GET GetSourceHarvest V2
3314
+ */
3315
+ async packagesGetSourceHarvestV2(id, body, licenseNumber) {
3316
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetSourceHarvestV2(id, body, licenseNumber));
3317
+ }
3318
+ /**
3319
+ * Retrieves a list of transferred packages for a specific Facility.
3320
+ *
3321
+ * Permissions Required:
3322
+ * - View Packages
3323
+ *
3324
+ * GET GetTransferred V2
3325
+ */
3326
+ async packagesGetTransferredV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
3327
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetTransferredV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
3328
+ }
3329
+ /**
3330
+ * Permissions Required:
3331
+ * - None
3332
+ *
3333
+ * GET GetTypes V1
3334
+ */
3335
+ async packagesGetTypesV1(body, No) {
3336
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetTypesV1(body, No));
3337
+ }
3338
+ /**
3339
+ * Retrieves a list of available Package types.
3340
+ *
3341
+ * Permissions Required:
3342
+ * - None
3343
+ *
3344
+ * GET GetTypes V2
3345
+ */
3346
+ async packagesGetTypesV2(body, No) {
3347
+ return this.rateLimiter.execute(null, true, () => this.client.packagesGetTypesV2(body, No));
3348
+ }
3349
+ /**
3350
+ * Set the final quantity for a Package.
3351
+ *
3352
+ * Permissions Required:
3353
+ * - View Packages
3354
+ * - Manage Packages Inventory
3355
+ *
3356
+ * PUT UpdateAdjust V2
3357
+ */
3358
+ async packagesUpdateAdjustV2(body, licenseNumber) {
3359
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateAdjustV2(body, licenseNumber));
3360
+ }
3361
+ /**
3362
+ * Permissions Required:
3363
+ * - View Packages
3364
+ * - Manage Packages Inventory
3365
+ * - Manage Package Notes
3366
+ *
3367
+ * PUT UpdateChangeNote V1
3368
+ */
3369
+ async packagesUpdateChangeNoteV1(body, licenseNumber) {
3370
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateChangeNoteV1(body, licenseNumber));
3371
+ }
3372
+ /**
3373
+ * Updates the Product decontaminate information for a list of packages at a specific Facility.
3374
+ *
3375
+ * Permissions Required:
3376
+ * - View Packages
3377
+ * - Manage Packages Inventory
3378
+ *
3379
+ * PUT UpdateDecontaminate V2
3380
+ */
3381
+ async packagesUpdateDecontaminateV2(body, licenseNumber) {
3382
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateDecontaminateV2(body, licenseNumber));
3383
+ }
3384
+ /**
3385
+ * Flags one or more packages for donation at the specified Facility.
3386
+ *
3387
+ * Permissions Required:
3388
+ * - View Packages
3389
+ * - Manage Packages Inventory
3390
+ *
3391
+ * PUT UpdateDonationFlag V2
3392
+ */
3393
+ async packagesUpdateDonationFlagV2(body, licenseNumber) {
3394
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateDonationFlagV2(body, licenseNumber));
3395
+ }
3396
+ /**
3397
+ * Removes the donation flag from one or more packages at the specified Facility.
3398
+ *
3399
+ * Permissions Required:
3400
+ * - View Packages
3401
+ * - Manage Packages Inventory
3402
+ *
3403
+ * PUT UpdateDonationUnflag V2
3404
+ */
3405
+ async packagesUpdateDonationUnflagV2(body, licenseNumber) {
3406
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateDonationUnflagV2(body, licenseNumber));
3407
+ }
3408
+ /**
3409
+ * Updates the external identifiers for one or more packages at the specified Facility.
3410
+ *
3411
+ * Permissions Required:
3412
+ * - View Packages
3413
+ * - Manage Package Inventory
3414
+ * - External Id Enabled
3415
+ *
3416
+ * PUT UpdateExternalid V2
3417
+ */
3418
+ async packagesUpdateExternalidV2(body, licenseNumber) {
3419
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateExternalidV2(body, licenseNumber));
3420
+ }
3421
+ /**
3422
+ * Updates a list of packages as finished for a specific Facility.
3423
+ *
3424
+ * Permissions Required:
3425
+ * - View Packages
3426
+ * - Manage Packages Inventory
3427
+ *
3428
+ * PUT UpdateFinish V2
3429
+ */
3430
+ async packagesUpdateFinishV2(body, licenseNumber) {
3431
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateFinishV2(body, licenseNumber));
3432
+ }
3433
+ /**
3434
+ * Updates the associated Item for one or more packages at the specified Facility.
3435
+ *
3436
+ * Permissions Required:
3437
+ * - View Packages
3438
+ * - Create/Submit/Discontinue Packages
3439
+ *
3440
+ * PUT UpdateItem V2
3441
+ */
3442
+ async packagesUpdateItemV2(body, licenseNumber) {
3443
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateItemV2(body, licenseNumber));
3444
+ }
3445
+ /**
3446
+ * Updates the list of required lab test batches for one or more packages at the specified Facility.
3447
+ *
3448
+ * Permissions Required:
3449
+ * - View Packages
3450
+ * - Create/Submit/Discontinue Packages
3451
+ *
3452
+ * PUT UpdateLabTestRequired V2
3453
+ */
3454
+ async packagesUpdateLabTestRequiredV2(body, licenseNumber) {
3455
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateLabTestRequiredV2(body, licenseNumber));
3456
+ }
3457
+ /**
3458
+ * Updates the Location and Sublocation for one or more packages at the specified Facility.
3459
+ *
3460
+ * Permissions Required:
3461
+ * - View Packages
3462
+ * - Create/Submit/Discontinue Packages
3463
+ *
3464
+ * PUT UpdateLocation V2
3465
+ */
3466
+ async packagesUpdateLocationV2(body, licenseNumber) {
3467
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateLocationV2(body, licenseNumber));
3468
+ }
3469
+ /**
3470
+ * Updates notes associated with one or more packages for the specified Facility.
3471
+ *
3472
+ * Permissions Required:
3473
+ * - View Packages
3474
+ * - Manage Packages Inventory
3475
+ * - Manage Package Notes
3476
+ *
3477
+ * PUT UpdateNote V2
3478
+ */
3479
+ async packagesUpdateNoteV2(body, licenseNumber) {
3480
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateNoteV2(body, licenseNumber));
3481
+ }
3482
+ /**
3483
+ * Updates a list of Product remediations for packages at a specific Facility.
3484
+ *
3485
+ * Permissions Required:
3486
+ * - View Packages
3487
+ * - Manage Packages Inventory
3488
+ *
3489
+ * PUT UpdateRemediate V2
3490
+ */
3491
+ async packagesUpdateRemediateV2(body, licenseNumber) {
3492
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateRemediateV2(body, licenseNumber));
3493
+ }
3494
+ /**
3495
+ * Flags or unflags one or more packages at the specified Facility as trade samples.
3496
+ *
3497
+ * Permissions Required:
3498
+ * - View Packages
3499
+ * - Manage Packages Inventory
3500
+ *
3501
+ * PUT UpdateTradesampleFlag V2
3502
+ */
3503
+ async packagesUpdateTradesampleFlagV2(body, licenseNumber) {
3504
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateTradesampleFlagV2(body, licenseNumber));
3505
+ }
3506
+ /**
3507
+ * Removes the trade sample flag from one or more packages at the specified Facility.
3508
+ *
3509
+ * Permissions Required:
3510
+ * - View Packages
3511
+ * - Manage Packages Inventory
3512
+ *
3513
+ * PUT UpdateTradesampleUnflag V2
3514
+ */
3515
+ async packagesUpdateTradesampleUnflagV2(body, licenseNumber) {
3516
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateTradesampleUnflagV2(body, licenseNumber));
3517
+ }
3518
+ /**
3519
+ * Updates a list of packages as unfinished for a specific Facility.
3520
+ *
3521
+ * Permissions Required:
3522
+ * - View Packages
3523
+ * - Manage Packages Inventory
3524
+ *
3525
+ * PUT UpdateUnfinish V2
3526
+ */
3527
+ async packagesUpdateUnfinishV2(body, licenseNumber) {
3528
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateUnfinishV2(body, licenseNumber));
3529
+ }
3530
+ /**
3531
+ * Updates the use-by date for one or more packages at the specified Facility.
3532
+ *
3533
+ * Permissions Required:
3534
+ * - View Packages
3535
+ * - Create/Submit/Discontinue Packages
3536
+ *
3537
+ * PUT UpdateUsebydate V2
3538
+ */
3539
+ async packagesUpdateUsebydateV2(body, licenseNumber) {
3540
+ return this.rateLimiter.execute(null, false, () => this.client.packagesUpdateUsebydateV2(body, licenseNumber));
3541
+ }
3542
+ /**
3543
+ * Permissions Required:
3544
+ * - ManagePatientsCheckIns
3545
+ *
3546
+ * POST Create V1
3547
+ */
3548
+ async patientCheckInsCreateV1(body, licenseNumber) {
3549
+ return this.rateLimiter.execute(null, false, () => this.client.patientCheckInsCreateV1(body, licenseNumber));
3550
+ }
3551
+ /**
3552
+ * Records patient check-ins for a specified Facility.
3553
+ *
3554
+ * Permissions Required:
3555
+ * - ManagePatientsCheckIns
3556
+ *
3557
+ * POST Create V2
3558
+ */
3559
+ async patientCheckInsCreateV2(body, licenseNumber) {
3560
+ return this.rateLimiter.execute(null, false, () => this.client.patientCheckInsCreateV2(body, licenseNumber));
3561
+ }
3562
+ /**
3563
+ * Permissions Required:
3564
+ * - ManagePatientsCheckIns
3565
+ *
3566
+ * DELETE Delete V1
3567
+ */
3568
+ async patientCheckInsDeleteV1(id, body, licenseNumber) {
3569
+ return this.rateLimiter.execute(null, false, () => this.client.patientCheckInsDeleteV1(id, body, licenseNumber));
3570
+ }
3571
+ /**
3572
+ * Archives a Patient Check-In, identified by its Id, for a specified Facility.
3573
+ *
3574
+ * Permissions Required:
3575
+ * - ManagePatientsCheckIns
3576
+ *
3577
+ * DELETE Delete V2
3578
+ */
3579
+ async patientCheckInsDeleteV2(id, body, licenseNumber) {
3580
+ return this.rateLimiter.execute(null, false, () => this.client.patientCheckInsDeleteV2(id, body, licenseNumber));
3581
+ }
3582
+ /**
3583
+ * Permissions Required:
3584
+ * - ManagePatientsCheckIns
3585
+ *
3586
+ * GET GetAll V1
3587
+ */
3588
+ async patientCheckInsGetAllV1(body, checkinDateEnd, checkinDateStart, licenseNumber) {
3589
+ return this.rateLimiter.execute(null, true, () => this.client.patientCheckInsGetAllV1(body, checkinDateEnd, checkinDateStart, licenseNumber));
3590
+ }
3591
+ /**
3592
+ * Retrieves a list of patient check-ins for a specified Facility.
3593
+ *
3594
+ * Permissions Required:
3595
+ * - ManagePatientsCheckIns
3596
+ *
3597
+ * GET GetAll V2
3598
+ */
3599
+ async patientCheckInsGetAllV2(body, checkinDateEnd, checkinDateStart, licenseNumber) {
3600
+ return this.rateLimiter.execute(null, true, () => this.client.patientCheckInsGetAllV2(body, checkinDateEnd, checkinDateStart, licenseNumber));
3601
+ }
3602
+ /**
3603
+ * Permissions Required:
3604
+ * - None
3605
+ *
3606
+ * GET GetLocations V1
3607
+ */
3608
+ async patientCheckInsGetLocationsV1(body, No) {
3609
+ return this.rateLimiter.execute(null, true, () => this.client.patientCheckInsGetLocationsV1(body, No));
3610
+ }
3611
+ /**
3612
+ * Retrieves a list of Patient Check-In locations.
3613
+ *
3614
+ * Permissions Required:
3615
+ * - None
3616
+ *
3617
+ * GET GetLocations V2
3618
+ */
3619
+ async patientCheckInsGetLocationsV2(body, No) {
3620
+ return this.rateLimiter.execute(null, true, () => this.client.patientCheckInsGetLocationsV2(body, No));
3621
+ }
3622
+ /**
3623
+ * Permissions Required:
3624
+ * - ManagePatientsCheckIns
3625
+ *
3626
+ * PUT Update V1
3627
+ */
3628
+ async patientCheckInsUpdateV1(body, licenseNumber) {
3629
+ return this.rateLimiter.execute(null, false, () => this.client.patientCheckInsUpdateV1(body, licenseNumber));
3630
+ }
3631
+ /**
3632
+ * Updates patient check-ins for a specified Facility.
3633
+ *
3634
+ * Permissions Required:
3635
+ * - ManagePatientsCheckIns
3636
+ *
3637
+ * PUT Update V2
3638
+ */
3639
+ async patientCheckInsUpdateV2(body, licenseNumber) {
3640
+ return this.rateLimiter.execute(null, false, () => this.client.patientCheckInsUpdateV2(body, licenseNumber));
3641
+ }
3642
+ /**
3643
+ * Permissions Required:
3644
+ * - Manage Plants Additives
3645
+ *
3646
+ * POST CreateAdditives V1
3647
+ */
3648
+ async plantsCreateAdditivesV1(body, licenseNumber) {
3649
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreateAdditivesV1(body, licenseNumber));
3650
+ }
3651
+ /**
3652
+ * Records additive usage details applied to specific plants at a Facility.
3653
+ *
3654
+ * Permissions Required:
3655
+ * - Manage Plants Additives
3656
+ *
3657
+ * POST CreateAdditives V2
3658
+ */
3659
+ async plantsCreateAdditivesV2(body, licenseNumber) {
3660
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreateAdditivesV2(body, licenseNumber));
3661
+ }
3662
+ /**
3663
+ * Permissions Required:
3664
+ * - Manage Plants
3665
+ * - Manage Plants Additives
3666
+ *
3667
+ * POST CreateAdditivesBylocation V1
3668
+ */
3669
+ async plantsCreateAdditivesBylocationV1(body, licenseNumber) {
3670
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreateAdditivesBylocationV1(body, licenseNumber));
3671
+ }
3672
+ /**
3673
+ * Records additive usage for plants based on their location within a specified Facility.
3674
+ *
3675
+ * Permissions Required:
3676
+ * - Manage Plants
3677
+ * - Manage Plants Additives
3678
+ *
3679
+ * POST CreateAdditivesBylocation V2
3680
+ */
3681
+ async plantsCreateAdditivesBylocationV2(body, licenseNumber) {
3682
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreateAdditivesBylocationV2(body, licenseNumber));
3683
+ }
3684
+ /**
3685
+ * Records additive usage for plants by location using a predefined additive template at a specified Facility.
3686
+ *
3687
+ * Permissions Required:
3688
+ * - Manage Plants Additives
3689
+ *
3690
+ * POST CreateAdditivesBylocationUsingtemplate V2
3691
+ */
3692
+ async plantsCreateAdditivesBylocationUsingtemplateV2(body, licenseNumber) {
3693
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreateAdditivesBylocationUsingtemplateV2(body, licenseNumber));
3694
+ }
3695
+ /**
3696
+ * Records additive usage for plants using predefined additive templates at a specified Facility.
3697
+ *
3698
+ * Permissions Required:
3699
+ * - Manage Plants Additives
3700
+ *
3701
+ * POST CreateAdditivesUsingtemplate V2
3702
+ */
3703
+ async plantsCreateAdditivesUsingtemplateV2(body, licenseNumber) {
3704
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreateAdditivesUsingtemplateV2(body, licenseNumber));
3705
+ }
3706
+ /**
3707
+ * Permissions Required:
3708
+ * - View Veg/Flower Plants
3709
+ * - Manage Veg/Flower Plants Inventory
3710
+ *
3711
+ * POST CreateChangegrowthphases V1
3712
+ */
3713
+ async plantsCreateChangegrowthphasesV1(body, licenseNumber) {
3714
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreateChangegrowthphasesV1(body, licenseNumber));
3715
+ }
3716
+ /**
3717
+ * NOTE: If HarvestName is excluded from the request body, or if it is passed in as null, the harvest name is auto-generated.
3718
+ *
3719
+ * Permissions Required:
3720
+ * - View Veg/Flower Plants
3721
+ * - Manicure/Harvest Veg/Flower Plants
3722
+ *
3723
+ * POST CreateHarvestplants V1
3724
+ */
3725
+ async plantsCreateHarvestplantsV1(body, licenseNumber) {
3726
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreateHarvestplantsV1(body, licenseNumber));
3727
+ }
3728
+ /**
3729
+ * Creates harvest product records from plant batches at a specified Facility.
3730
+ *
3731
+ * Permissions Required:
3732
+ * - View Veg/Flower Plants
3733
+ * - Manicure/Harvest Veg/Flower Plants
3734
+ *
3735
+ * POST CreateManicure V2
3736
+ */
3737
+ async plantsCreateManicureV2(body, licenseNumber) {
3738
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreateManicureV2(body, licenseNumber));
3739
+ }
3740
+ /**
3741
+ * Permissions Required:
3742
+ * - View Veg/Flower Plants
3743
+ * - Manicure/Harvest Veg/Flower Plants
3744
+ *
3745
+ * POST CreateManicureplants V1
3746
+ */
3747
+ async plantsCreateManicureplantsV1(body, licenseNumber) {
3748
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreateManicureplantsV1(body, licenseNumber));
3749
+ }
3750
+ /**
3751
+ * Permissions Required:
3752
+ * - View Veg/Flower Plants
3753
+ * - Manage Veg/Flower Plants Inventory
3754
+ *
3755
+ * POST CreateMoveplants V1
3756
+ */
3757
+ async plantsCreateMoveplantsV1(body, licenseNumber) {
3758
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreateMoveplantsV1(body, licenseNumber));
3759
+ }
3760
+ /**
3761
+ * Permissions Required:
3762
+ * - View Immature Plants
3763
+ * - Manage Immature Plants Inventory
3764
+ * - View Veg/Flower Plants
3765
+ * - Manage Veg/Flower Plants Inventory
3766
+ * - View Packages
3767
+ * - Create/Submit/Discontinue Packages
3768
+ *
3769
+ * POST CreatePlantbatchPackage V1
3770
+ */
3771
+ async plantsCreatePlantbatchPackageV1(body, licenseNumber) {
3772
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreatePlantbatchPackageV1(body, licenseNumber));
3773
+ }
3774
+ /**
3775
+ * Creates packages from plant batches at a specified Facility.
3776
+ *
3777
+ * Permissions Required:
3778
+ * - View Immature Plants
3779
+ * - Manage Immature Plants Inventory
3780
+ * - View Veg/Flower Plants
3781
+ * - Manage Veg/Flower Plants Inventory
3782
+ * - View Packages
3783
+ * - Create/Submit/Discontinue Packages
3784
+ *
3785
+ * POST CreatePlantbatchPackage V2
3786
+ */
3787
+ async plantsCreatePlantbatchPackageV2(body, licenseNumber) {
3788
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreatePlantbatchPackageV2(body, licenseNumber));
3789
+ }
3790
+ /**
3791
+ * Permissions Required:
3792
+ * - View Immature Plants
3793
+ * - Manage Immature Plants Inventory
3794
+ * - View Veg/Flower Plants
3795
+ * - Manage Veg/Flower Plants Inventory
3796
+ *
3797
+ * POST CreatePlantings V1
3798
+ */
3799
+ async plantsCreatePlantingsV1(body, licenseNumber) {
3800
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreatePlantingsV1(body, licenseNumber));
3801
+ }
3802
+ /**
3803
+ * Creates new plant batches at a specified Facility from existing plant data.
3804
+ *
3805
+ * Permissions Required:
3806
+ * - View Immature Plants
3807
+ * - Manage Immature Plants Inventory
3808
+ * - View Veg/Flower Plants
3809
+ * - Manage Veg/Flower Plants Inventory
3810
+ *
3811
+ * POST CreatePlantings V2
3812
+ */
3813
+ async plantsCreatePlantingsV2(body, licenseNumber) {
3814
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreatePlantingsV2(body, licenseNumber));
3815
+ }
3816
+ /**
3817
+ * Permissions Required:
3818
+ * - Manage Plants Waste
3819
+ *
3820
+ * POST CreateWaste V1
3821
+ */
3822
+ async plantsCreateWasteV1(body, licenseNumber) {
3823
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreateWasteV1(body, licenseNumber));
3824
+ }
3825
+ /**
3826
+ * Records waste events for plants at a Facility, including method, reason, and location details.
3827
+ *
3828
+ * Permissions Required:
3829
+ * - Manage Plants Waste
3830
+ *
3831
+ * POST CreateWaste V2
3832
+ */
3833
+ async plantsCreateWasteV2(body, licenseNumber) {
3834
+ return this.rateLimiter.execute(null, false, () => this.client.plantsCreateWasteV2(body, licenseNumber));
3835
+ }
3836
+ /**
3837
+ * Permissions Required:
3838
+ * - View Veg/Flower Plants
3839
+ * - Destroy Veg/Flower Plants
3840
+ *
3841
+ * DELETE Delete V1
3842
+ */
3843
+ async plantsDeleteV1(body, licenseNumber) {
3844
+ return this.rateLimiter.execute(null, false, () => this.client.plantsDeleteV1(body, licenseNumber));
3845
+ }
3846
+ /**
3847
+ * Removes plants from a Facility’s inventory while recording the reason for their disposal.
3848
+ *
3849
+ * Permissions Required:
3850
+ * - View Veg/Flower Plants
3851
+ * - Destroy Veg/Flower Plants
3852
+ *
3853
+ * DELETE Delete V2
3854
+ */
3855
+ async plantsDeleteV2(body, licenseNumber) {
3856
+ return this.rateLimiter.execute(null, false, () => this.client.plantsDeleteV2(body, licenseNumber));
3857
+ }
3858
+ /**
3859
+ * Permissions Required:
3860
+ * - View Veg/Flower Plants
3861
+ *
3862
+ * GET Get V1
3863
+ */
3864
+ async plantsGetV1(id, body, licenseNumber) {
3865
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetV1(id, body, licenseNumber));
3866
+ }
3867
+ /**
3868
+ * Retrieves a Plant by Id.
3869
+ *
3870
+ * Permissions Required:
3871
+ * - View Veg/Flower Plants
3872
+ *
3873
+ * GET Get V2
3874
+ */
3875
+ async plantsGetV2(id, body, licenseNumber) {
3876
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetV2(id, body, licenseNumber));
3877
+ }
3878
+ /**
3879
+ * Permissions Required:
3880
+ * - View/Manage Plants Additives
3881
+ *
3882
+ * GET GetAdditives V1
3883
+ */
3884
+ async plantsGetAdditivesV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
3885
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetAdditivesV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
3886
+ }
3887
+ /**
3888
+ * Retrieves additive records applied to plants at a specified Facility.
3889
+ *
3890
+ * Permissions Required:
3891
+ * - View/Manage Plants Additives
3892
+ *
3893
+ * GET GetAdditives V2
3894
+ */
3895
+ async plantsGetAdditivesV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
3896
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetAdditivesV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
3897
+ }
3898
+ /**
3899
+ * Permissions Required:
3900
+ * -
3901
+ *
3902
+ * GET GetAdditivesTypes V1
3903
+ */
3904
+ async plantsGetAdditivesTypesV1(body, No) {
3905
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetAdditivesTypesV1(body, No));
3906
+ }
3907
+ /**
3908
+ * Retrieves a list of all plant additive types defined within a Facility.
3909
+ *
3910
+ * Permissions Required:
3911
+ * - None
3912
+ *
3913
+ * GET GetAdditivesTypes V2
3914
+ */
3915
+ async plantsGetAdditivesTypesV2(body, No) {
3916
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetAdditivesTypesV2(body, No));
3917
+ }
3918
+ /**
3919
+ * Permissions Required:
3920
+ * - View Veg/Flower Plants
3921
+ *
3922
+ * GET GetByLabel V1
3923
+ */
3924
+ async plantsGetByLabelV1(label, body, licenseNumber) {
3925
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetByLabelV1(label, body, licenseNumber));
3926
+ }
3927
+ /**
3928
+ * Retrieves a Plant by label.
3929
+ *
3930
+ * Permissions Required:
3931
+ * - View Veg/Flower Plants
3932
+ *
3933
+ * GET GetByLabel V2
3934
+ */
3935
+ async plantsGetByLabelV2(label, body, licenseNumber) {
3936
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetByLabelV2(label, body, licenseNumber));
3937
+ }
3938
+ /**
3939
+ * Permissions Required:
3940
+ * - View Veg/Flower Plants
3941
+ *
3942
+ * GET GetFlowering V1
3943
+ */
3944
+ async plantsGetFloweringV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
3945
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetFloweringV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
3946
+ }
3947
+ /**
3948
+ * Retrieves flowering-phase plants at a specified Facility, optionally filtered by last modified date.
3949
+ *
3950
+ * Permissions Required:
3951
+ * - View Veg/Flower Plants
3952
+ *
3953
+ * GET GetFlowering V2
3954
+ */
3955
+ async plantsGetFloweringV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
3956
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetFloweringV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
3957
+ }
3958
+ /**
3959
+ * Permissions Required:
3960
+ * - None
3961
+ *
3962
+ * GET GetGrowthPhases V1
3963
+ */
3964
+ async plantsGetGrowthPhasesV1(body, licenseNumber) {
3965
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetGrowthPhasesV1(body, licenseNumber));
3966
+ }
3967
+ /**
3968
+ * Retrieves the list of growth phases supported by a specified Facility.
3969
+ *
3970
+ * Permissions Required:
3971
+ * - None
3972
+ *
3973
+ * GET GetGrowthPhases V2
3974
+ */
3975
+ async plantsGetGrowthPhasesV2(body, licenseNumber) {
3976
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetGrowthPhasesV2(body, licenseNumber));
3977
+ }
3978
+ /**
3979
+ * Permissions Required:
3980
+ * - View Veg/Flower Plants
3981
+ *
3982
+ * GET GetInactive V1
3983
+ */
3984
+ async plantsGetInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
3985
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
3986
+ }
3987
+ /**
3988
+ * Retrieves inactive plants at a specified Facility.
3989
+ *
3990
+ * Permissions Required:
3991
+ * - View Veg/Flower Plants
3992
+ *
3993
+ * GET GetInactive V2
3994
+ */
3995
+ async plantsGetInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
3996
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
3997
+ }
3998
+ /**
3999
+ * Retrieves mother-phase plants at a specified Facility.
4000
+ *
4001
+ * Permissions Required:
4002
+ * - View Mother Plants
4003
+ *
4004
+ * GET GetMother V2
4005
+ */
4006
+ async plantsGetMotherV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
4007
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetMotherV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
4008
+ }
4009
+ /**
4010
+ * Retrieves inactive mother-phase plants at a specified Facility.
4011
+ *
4012
+ * Permissions Required:
4013
+ * - View Mother Plants
4014
+ *
4015
+ * GET GetMotherInactive V2
4016
+ */
4017
+ async plantsGetMotherInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
4018
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetMotherInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
4019
+ }
4020
+ /**
4021
+ * Retrieves mother-phase plants currently marked as on hold at a specified Facility.
4022
+ *
4023
+ * Permissions Required:
4024
+ * - View Mother Plants
4025
+ *
4026
+ * GET GetMotherOnhold V2
4027
+ */
4028
+ async plantsGetMotherOnholdV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
4029
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetMotherOnholdV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
4030
+ }
4031
+ /**
4032
+ * Permissions Required:
4033
+ * - View Veg/Flower Plants
4034
+ *
4035
+ * GET GetOnhold V1
4036
+ */
4037
+ async plantsGetOnholdV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
4038
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetOnholdV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
4039
+ }
4040
+ /**
4041
+ * Retrieves plants that are currently on hold at a specified Facility.
4042
+ *
4043
+ * Permissions Required:
4044
+ * - View Veg/Flower Plants
4045
+ *
4046
+ * GET GetOnhold V2
4047
+ */
4048
+ async plantsGetOnholdV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
4049
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetOnholdV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
4050
+ }
4051
+ /**
4052
+ * Permissions Required:
4053
+ * - View Veg/Flower Plants
4054
+ *
4055
+ * GET GetVegetative V1
4056
+ */
4057
+ async plantsGetVegetativeV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
4058
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetVegetativeV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
4059
+ }
4060
+ /**
4061
+ * Retrieves vegetative-phase plants at a specified Facility, optionally filtered by last modified date.
4062
+ *
4063
+ * Permissions Required:
4064
+ * - View Veg/Flower Plants
4065
+ *
4066
+ * GET GetVegetative V2
4067
+ */
4068
+ async plantsGetVegetativeV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
4069
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetVegetativeV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
4070
+ }
4071
+ /**
4072
+ * Retrieves a list of recorded plant waste events for a specific Facility.
4073
+ *
4074
+ * Permissions Required:
4075
+ * - View Plants Waste
4076
+ *
4077
+ * GET GetWaste V2
4078
+ */
4079
+ async plantsGetWasteV2(body, licenseNumber, pageNumber, pageSize) {
4080
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetWasteV2(body, licenseNumber, pageNumber, pageSize));
4081
+ }
4082
+ /**
4083
+ * Permissions Required:
4084
+ * - None
4085
+ *
4086
+ * GET GetWasteMethodsAll V1
4087
+ */
4088
+ async plantsGetWasteMethodsAllV1(body, No) {
4089
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetWasteMethodsAllV1(body, No));
4090
+ }
4091
+ /**
4092
+ * Retrieves a list of all available plant waste methods for use within a Facility.
4093
+ *
4094
+ * Permissions Required:
4095
+ * - None
4096
+ *
4097
+ * GET GetWasteMethodsAll V2
4098
+ */
4099
+ async plantsGetWasteMethodsAllV2(body, pageNumber, pageSize) {
4100
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetWasteMethodsAllV2(body, pageNumber, pageSize));
4101
+ }
4102
+ /**
4103
+ * Retrieves a list of package records linked to the specified plantWasteId for a given facility.
4104
+ *
4105
+ * Permissions Required:
4106
+ * - View Plants Waste
4107
+ *
4108
+ * GET GetWastePackage V2
4109
+ */
4110
+ async plantsGetWastePackageV2(id, body, licenseNumber, pageNumber, pageSize) {
4111
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetWastePackageV2(id, body, licenseNumber, pageNumber, pageSize));
4112
+ }
4113
+ /**
4114
+ * Retrieves a list of plants records linked to the specified plantWasteId for a given facility.
4115
+ *
4116
+ * Permissions Required:
4117
+ * - View Plants Waste
4118
+ *
4119
+ * GET GetWastePlant V2
4120
+ */
4121
+ async plantsGetWastePlantV2(id, body, licenseNumber, pageNumber, pageSize) {
4122
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetWastePlantV2(id, body, licenseNumber, pageNumber, pageSize));
4123
+ }
4124
+ /**
4125
+ * Permissions Required:
4126
+ * - None
4127
+ *
4128
+ * GET GetWasteReasons V1
4129
+ */
4130
+ async plantsGetWasteReasonsV1(body, licenseNumber) {
4131
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetWasteReasonsV1(body, licenseNumber));
4132
+ }
4133
+ /**
4134
+ * Retriveves available reasons for recording mature plant waste at a specified Facility.
4135
+ *
4136
+ * Permissions Required:
4137
+ * - None
4138
+ *
4139
+ * GET GetWasteReasons V2
4140
+ */
4141
+ async plantsGetWasteReasonsV2(body, licenseNumber, pageNumber, pageSize) {
4142
+ return this.rateLimiter.execute(null, true, () => this.client.plantsGetWasteReasonsV2(body, licenseNumber, pageNumber, pageSize));
4143
+ }
4144
+ /**
4145
+ * Adjusts the recorded count of plants at a specified Facility.
4146
+ *
4147
+ * Permissions Required:
4148
+ * - View Veg/Flower Plants
4149
+ * - Manage Veg/Flower Plants Inventory
4150
+ *
4151
+ * PUT UpdateAdjust V2
4152
+ */
4153
+ async plantsUpdateAdjustV2(body, licenseNumber) {
4154
+ return this.rateLimiter.execute(null, false, () => this.client.plantsUpdateAdjustV2(body, licenseNumber));
4155
+ }
4156
+ /**
4157
+ * Changes the growth phases of plants within a specified Facility.
4158
+ *
4159
+ * Permissions Required:
4160
+ * - View Veg/Flower Plants
4161
+ * - Manage Veg/Flower Plants Inventory
4162
+ *
4163
+ * PUT UpdateGrowthphase V2
4164
+ */
4165
+ async plantsUpdateGrowthphaseV2(body, licenseNumber) {
4166
+ return this.rateLimiter.execute(null, false, () => this.client.plantsUpdateGrowthphaseV2(body, licenseNumber));
4167
+ }
4168
+ /**
4169
+ * Processes whole plant Harvest data for a specific Facility. NOTE: If HarvestName is excluded from the request body, or if it is passed in as null, the harvest name is auto-generated.
4170
+ *
4171
+ * Permissions Required:
4172
+ * - View Veg/Flower Plants
4173
+ * - Manicure/Harvest Veg/Flower Plants
4174
+ *
4175
+ * PUT UpdateHarvest V2
4176
+ */
4177
+ async plantsUpdateHarvestV2(body, licenseNumber) {
4178
+ return this.rateLimiter.execute(null, false, () => this.client.plantsUpdateHarvestV2(body, licenseNumber));
4179
+ }
4180
+ /**
4181
+ * Moves plant batches to new locations within a specified Facility.
4182
+ *
4183
+ * Permissions Required:
4184
+ * - View Veg/Flower Plants
4185
+ * - Manage Veg/Flower Plants Inventory
4186
+ *
4187
+ * PUT UpdateLocation V2
4188
+ */
4189
+ async plantsUpdateLocationV2(body, licenseNumber) {
4190
+ return this.rateLimiter.execute(null, false, () => this.client.plantsUpdateLocationV2(body, licenseNumber));
4191
+ }
4192
+ /**
4193
+ * Merges multiple plant groups into a single group within a Facility.
4194
+ *
4195
+ * Permissions Required:
4196
+ * - View Veg/Flower Plants
4197
+ * - Manicure/Harvest Veg/Flower Plants
4198
+ *
4199
+ * PUT UpdateMerge V2
4200
+ */
4201
+ async plantsUpdateMergeV2(body, licenseNumber) {
4202
+ return this.rateLimiter.execute(null, false, () => this.client.plantsUpdateMergeV2(body, licenseNumber));
4203
+ }
4204
+ /**
4205
+ * Splits an existing plant group into multiple groups within a Facility.
4206
+ *
4207
+ * Permissions Required:
4208
+ * - View Plant
4209
+ *
4210
+ * PUT UpdateSplit V2
4211
+ */
4212
+ async plantsUpdateSplitV2(body, licenseNumber) {
4213
+ return this.rateLimiter.execute(null, false, () => this.client.plantsUpdateSplitV2(body, licenseNumber));
4214
+ }
4215
+ /**
4216
+ * Updates the strain information for plants within a Facility.
4217
+ *
4218
+ * Permissions Required:
4219
+ * - View Veg/Flower Plants
4220
+ * - Manage Veg/Flower Plants Inventory
4221
+ *
4222
+ * PUT UpdateStrain V2
4223
+ */
4224
+ async plantsUpdateStrainV2(body, licenseNumber) {
4225
+ return this.rateLimiter.execute(null, false, () => this.client.plantsUpdateStrainV2(body, licenseNumber));
4226
+ }
4227
+ /**
4228
+ * Replaces existing plant tags with new tags for plants within a Facility.
4229
+ *
4230
+ * Permissions Required:
4231
+ * - View Veg/Flower Plants
4232
+ * - Manage Veg/Flower Plants Inventory
4233
+ *
4234
+ * PUT UpdateTag V2
4235
+ */
4236
+ async plantsUpdateTagV2(body, licenseNumber) {
4237
+ return this.rateLimiter.execute(null, false, () => this.client.plantsUpdateTagV2(body, licenseNumber));
4238
+ }
4239
+ /**
4240
+ * Permissions Required:
4241
+ * - Manage Strains
4242
+ *
4243
+ * POST Create V1
4244
+ */
4245
+ async strainsCreateV1(body, licenseNumber) {
4246
+ return this.rateLimiter.execute(null, false, () => this.client.strainsCreateV1(body, licenseNumber));
4247
+ }
4248
+ /**
4249
+ * Creates new strain records for a specified Facility.
4250
+ *
4251
+ * Permissions Required:
4252
+ * - Manage Strains
4253
+ *
4254
+ * POST Create V2
4255
+ */
4256
+ async strainsCreateV2(body, licenseNumber) {
4257
+ return this.rateLimiter.execute(null, false, () => this.client.strainsCreateV2(body, licenseNumber));
4258
+ }
4259
+ /**
4260
+ * Permissions Required:
4261
+ * - Manage Strains
4262
+ *
4263
+ * POST CreateUpdate V1
4264
+ */
4265
+ async strainsCreateUpdateV1(body, licenseNumber) {
4266
+ return this.rateLimiter.execute(null, false, () => this.client.strainsCreateUpdateV1(body, licenseNumber));
4267
+ }
4268
+ /**
4269
+ * Permissions Required:
4270
+ * - Manage Strains
4271
+ *
4272
+ * DELETE Delete V1
4273
+ */
4274
+ async strainsDeleteV1(id, body, licenseNumber) {
4275
+ return this.rateLimiter.execute(null, false, () => this.client.strainsDeleteV1(id, body, licenseNumber));
4276
+ }
4277
+ /**
4278
+ * Archives an existing strain record for a Facility
4279
+ *
4280
+ * Permissions Required:
4281
+ * - Manage Strains
4282
+ *
4283
+ * DELETE Delete V2
4284
+ */
4285
+ async strainsDeleteV2(id, body, licenseNumber) {
4286
+ return this.rateLimiter.execute(null, false, () => this.client.strainsDeleteV2(id, body, licenseNumber));
4287
+ }
4288
+ /**
4289
+ * Permissions Required:
4290
+ * - Manage Strains
4291
+ *
4292
+ * GET Get V1
4293
+ */
4294
+ async strainsGetV1(id, body, licenseNumber) {
4295
+ return this.rateLimiter.execute(null, true, () => this.client.strainsGetV1(id, body, licenseNumber));
4296
+ }
4297
+ /**
4298
+ * Retrieves a Strain record by its Id, with an optional license number.
4299
+ *
4300
+ * Permissions Required:
4301
+ * - Manage Strains
4302
+ *
4303
+ * GET Get V2
4304
+ */
4305
+ async strainsGetV2(id, body, licenseNumber) {
4306
+ return this.rateLimiter.execute(null, true, () => this.client.strainsGetV2(id, body, licenseNumber));
4307
+ }
4308
+ /**
4309
+ * Permissions Required:
4310
+ * - Manage Strains
4311
+ *
4312
+ * GET GetActive V1
4313
+ */
4314
+ async strainsGetActiveV1(body, licenseNumber) {
4315
+ return this.rateLimiter.execute(null, true, () => this.client.strainsGetActiveV1(body, licenseNumber));
4316
+ }
4317
+ /**
4318
+ * Retrieves a list of active strains for the current Facility, optionally filtered by last modified date range.
4319
+ *
4320
+ * Permissions Required:
4321
+ * - Manage Strains
4322
+ *
4323
+ * GET GetActive V2
4324
+ */
4325
+ async strainsGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
4326
+ return this.rateLimiter.execute(null, true, () => this.client.strainsGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
4327
+ }
4328
+ /**
4329
+ * Retrieves a list of inactive strains for the current Facility, optionally filtered by last modified date range.
4330
+ *
4331
+ * Permissions Required:
4332
+ * - Manage Strains
4333
+ *
4334
+ * GET GetInactive V2
4335
+ */
4336
+ async strainsGetInactiveV2(body, licenseNumber, pageNumber, pageSize) {
4337
+ return this.rateLimiter.execute(null, true, () => this.client.strainsGetInactiveV2(body, licenseNumber, pageNumber, pageSize));
4338
+ }
4339
+ /**
4340
+ * Updates existing strain records for a specified Facility.
4341
+ *
4342
+ * Permissions Required:
4343
+ * - Manage Strains
4344
+ *
4345
+ * PUT Update V2
4346
+ */
4347
+ async strainsUpdateV2(body, licenseNumber) {
4348
+ return this.rateLimiter.execute(null, false, () => this.client.strainsUpdateV2(body, licenseNumber));
4349
+ }
4350
+ /**
4351
+ * Returns a list of available package tags. NOTE: This is a premium endpoint.
4352
+ *
4353
+ * Permissions Required:
4354
+ * - Manage Tags
4355
+ *
4356
+ * GET GetPackageAvailable V2
4357
+ */
4358
+ async tagsGetPackageAvailableV2(body, licenseNumber) {
4359
+ return this.rateLimiter.execute(null, true, () => this.client.tagsGetPackageAvailableV2(body, licenseNumber));
4360
+ }
4361
+ /**
4362
+ * Returns a list of available plant tags. NOTE: This is a premium endpoint.
4363
+ *
4364
+ * Permissions Required:
4365
+ * - Manage Tags
4366
+ *
4367
+ * GET GetPlantAvailable V2
4368
+ */
4369
+ async tagsGetPlantAvailableV2(body, licenseNumber) {
4370
+ return this.rateLimiter.execute(null, true, () => this.client.tagsGetPlantAvailableV2(body, licenseNumber));
4371
+ }
4372
+ /**
4373
+ * Returns a list of staged tags. NOTE: This is a premium endpoint.
4374
+ *
4375
+ * Permissions Required:
4376
+ * - Manage Tags
4377
+ * - RetailId.AllowPackageStaging Key Value enabled
4378
+ *
4379
+ * GET GetStaged V2
4380
+ */
4381
+ async tagsGetStagedV2(body, licenseNumber) {
4382
+ return this.rateLimiter.execute(null, true, () => this.client.tagsGetStagedV2(body, licenseNumber));
4383
+ }
4384
+ /**
4385
+ * Creates new additive templates for a specified Facility.
4386
+ *
4387
+ * Permissions Required:
4388
+ * - Manage Additives
4389
+ *
4390
+ * POST Create V2
4391
+ */
4392
+ async additivesTemplatesCreateV2(body, licenseNumber) {
4393
+ return this.rateLimiter.execute(null, false, () => this.client.additivesTemplatesCreateV2(body, licenseNumber));
4394
+ }
4395
+ /**
4396
+ * Retrieves an Additive Template by its Id.
4397
+ *
4398
+ * Permissions Required:
4399
+ * - Manage Additives
4400
+ *
4401
+ * GET Get V2
4402
+ */
4403
+ async additivesTemplatesGetV2(id, body, licenseNumber) {
4404
+ return this.rateLimiter.execute(null, true, () => this.client.additivesTemplatesGetV2(id, body, licenseNumber));
4405
+ }
4406
+ /**
4407
+ * Retrieves a list of active additive templates for a specified Facility.
4408
+ *
4409
+ * Permissions Required:
4410
+ * - Manage Additives
4411
+ *
4412
+ * GET GetActive V2
4413
+ */
4414
+ async additivesTemplatesGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
4415
+ return this.rateLimiter.execute(null, true, () => this.client.additivesTemplatesGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
4416
+ }
4417
+ /**
4418
+ * Retrieves a list of inactive additive templates for a specified Facility.
4419
+ *
4420
+ * Permissions Required:
4421
+ * - Manage Additives
4422
+ *
4423
+ * GET GetInactive V2
4424
+ */
4425
+ async additivesTemplatesGetInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
4426
+ return this.rateLimiter.execute(null, true, () => this.client.additivesTemplatesGetInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
4427
+ }
4428
+ /**
4429
+ * Updates existing additive templates for a specified Facility.
4430
+ *
4431
+ * Permissions Required:
4432
+ * - Manage Additives
4433
+ *
4434
+ * PUT Update V2
4435
+ */
4436
+ async additivesTemplatesUpdateV2(body, licenseNumber) {
4437
+ return this.rateLimiter.execute(null, false, () => this.client.additivesTemplatesUpdateV2(body, licenseNumber));
4438
+ }
4439
+ /**
4440
+ * Data returned by this endpoint is cached for up to one minute.
4441
+ *
4442
+ * Permissions Required:
4443
+ * - Lookup Caregivers
4444
+ *
4445
+ * GET GetByCaregiverLicenseNumber V1
4446
+ */
4447
+ async caregiversStatusGetByCaregiverLicenseNumberV1(caregiverLicenseNumber, body, licenseNumber) {
4448
+ return this.rateLimiter.execute(null, true, () => this.client.caregiversStatusGetByCaregiverLicenseNumberV1(caregiverLicenseNumber, body, licenseNumber));
4449
+ }
4450
+ /**
4451
+ * Retrieves the status of a Caregiver by their License Number for a specified Facility. Data returned by this endpoint is cached for up to one minute.
4452
+ *
4453
+ * Permissions Required:
4454
+ * - Lookup Caregivers
4455
+ *
4456
+ * GET GetByCaregiverLicenseNumber V2
4457
+ */
4458
+ async caregiversStatusGetByCaregiverLicenseNumberV2(caregiverLicenseNumber, body, licenseNumber) {
4459
+ return this.rateLimiter.execute(null, true, () => this.client.caregiversStatusGetByCaregiverLicenseNumberV2(caregiverLicenseNumber, body, licenseNumber));
4460
+ }
4461
+ /**
4462
+ * Permissions Required:
4463
+ * - ManageProcessingJobs
4464
+ *
4465
+ * POST CreateAdjust V1
4466
+ */
4467
+ async processingJobsCreateAdjustV1(body, licenseNumber) {
4468
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsCreateAdjustV1(body, licenseNumber));
4469
+ }
4470
+ /**
4471
+ * Adjusts the details of existing processing jobs at a Facility, including units of measure and associated packages.
4472
+ *
4473
+ * Permissions Required:
4474
+ * - Manage Processing Job
4475
+ *
4476
+ * POST CreateAdjust V2
4477
+ */
4478
+ async processingJobsCreateAdjustV2(body, licenseNumber) {
4479
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsCreateAdjustV2(body, licenseNumber));
4480
+ }
4481
+ /**
4482
+ * Permissions Required:
4483
+ * - Manage Processing Job
4484
+ *
4485
+ * POST CreateJobtypes V1
4486
+ */
4487
+ async processingJobsCreateJobtypesV1(body, licenseNumber) {
4488
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsCreateJobtypesV1(body, licenseNumber));
4489
+ }
4490
+ /**
4491
+ * Creates new processing job types for a Facility, including name, category, description, steps, and attributes.
4492
+ *
4493
+ * Permissions Required:
4494
+ * - Manage Processing Job
4495
+ *
4496
+ * POST CreateJobtypes V2
4497
+ */
4498
+ async processingJobsCreateJobtypesV2(body, licenseNumber) {
4499
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsCreateJobtypesV2(body, licenseNumber));
4500
+ }
4501
+ /**
4502
+ * Permissions Required:
4503
+ * - ManageProcessingJobs
4504
+ *
4505
+ * POST CreateStart V1
4506
+ */
4507
+ async processingJobsCreateStartV1(body, licenseNumber) {
4508
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsCreateStartV1(body, licenseNumber));
4509
+ }
4510
+ /**
4511
+ * Initiates new processing jobs at a Facility, including job details and associated packages.
4512
+ *
4513
+ * Permissions Required:
4514
+ * - Manage Processing Job
4515
+ *
4516
+ * POST CreateStart V2
4517
+ */
4518
+ async processingJobsCreateStartV2(body, licenseNumber) {
4519
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsCreateStartV2(body, licenseNumber));
4520
+ }
4521
+ /**
4522
+ * Permissions Required:
4523
+ * - ManageProcessingJobs
4524
+ *
4525
+ * POST Createpackages V1
4526
+ */
4527
+ async processingJobsCreatepackagesV1(body, licenseNumber) {
4528
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsCreatepackagesV1(body, licenseNumber));
4529
+ }
4530
+ /**
4531
+ * Creates packages from processing jobs at a Facility, including optional location and note assignments.
4532
+ *
4533
+ * Permissions Required:
4534
+ * - Manage Processing Job
4535
+ *
4536
+ * POST Createpackages V2
4537
+ */
4538
+ async processingJobsCreatepackagesV2(body, licenseNumber) {
4539
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsCreatepackagesV2(body, licenseNumber));
4540
+ }
4541
+ /**
4542
+ * Permissions Required:
4543
+ * - Manage Processing Job
4544
+ *
4545
+ * DELETE Delete V1
4546
+ */
4547
+ async processingJobsDeleteV1(id, body, licenseNumber) {
4548
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsDeleteV1(id, body, licenseNumber));
4549
+ }
4550
+ /**
4551
+ * Archives a Processing Job at a Facility by marking it as inactive and removing it from active use.
4552
+ *
4553
+ * Permissions Required:
4554
+ * - Manage Processing Job
4555
+ *
4556
+ * DELETE Delete V2
4557
+ */
4558
+ async processingJobsDeleteV2(id, body, licenseNumber) {
4559
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsDeleteV2(id, body, licenseNumber));
4560
+ }
4561
+ /**
4562
+ * Permissions Required:
4563
+ * - Manage Processing Job
4564
+ *
4565
+ * DELETE DeleteJobtypes V1
4566
+ */
4567
+ async processingJobsDeleteJobtypesV1(id, body, licenseNumber) {
4568
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsDeleteJobtypesV1(id, body, licenseNumber));
4569
+ }
4570
+ /**
4571
+ * Archives a Processing Job Type at a Facility, making it inactive for future use.
4572
+ *
4573
+ * Permissions Required:
4574
+ * - Manage Processing Job
4575
+ *
4576
+ * DELETE DeleteJobtypes V2
4577
+ */
4578
+ async processingJobsDeleteJobtypesV2(id, body, licenseNumber) {
4579
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsDeleteJobtypesV2(id, body, licenseNumber));
4580
+ }
4581
+ /**
4582
+ * Permissions Required:
4583
+ * - Manage Processing Job
4584
+ *
4585
+ * GET Get V1
4586
+ */
4587
+ async processingJobsGetV1(id, body, licenseNumber) {
4588
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetV1(id, body, licenseNumber));
4589
+ }
4590
+ /**
4591
+ * Retrieves a ProcessingJob by Id.
4592
+ *
4593
+ * Permissions Required:
4594
+ * - Manage Processing Job
4595
+ *
4596
+ * GET Get V2
4597
+ */
4598
+ async processingJobsGetV2(id, body, licenseNumber) {
4599
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetV2(id, body, licenseNumber));
4600
+ }
4601
+ /**
4602
+ * Permissions Required:
4603
+ * - Manage Processing Job
4604
+ *
4605
+ * GET GetActive V1
4606
+ */
4607
+ async processingJobsGetActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
4608
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
4609
+ }
4610
+ /**
4611
+ * Retrieves active processing jobs at a specified Facility.
4612
+ *
4613
+ * Permissions Required:
4614
+ * - Manage Processing Job
4615
+ *
4616
+ * GET GetActive V2
4617
+ */
4618
+ async processingJobsGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
4619
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
4620
+ }
4621
+ /**
4622
+ * Permissions Required:
4623
+ * - Manage Processing Job
4624
+ *
4625
+ * GET GetInactive V1
4626
+ */
4627
+ async processingJobsGetInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
4628
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
4629
+ }
4630
+ /**
4631
+ * Retrieves inactive processing jobs at a specified Facility.
4632
+ *
4633
+ * Permissions Required:
4634
+ * - Manage Processing Job
4635
+ *
4636
+ * GET GetInactive V2
4637
+ */
4638
+ async processingJobsGetInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
4639
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
4640
+ }
4641
+ /**
4642
+ * Permissions Required:
4643
+ * - Manage Processing Job
4644
+ *
4645
+ * GET GetJobtypesActive V1
4646
+ */
4647
+ async processingJobsGetJobtypesActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
4648
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetJobtypesActiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
4649
+ }
4650
+ /**
4651
+ * Retrieves a list of all active processing job types defined within a Facility.
4652
+ *
4653
+ * Permissions Required:
4654
+ * - Manage Processing Job
4655
+ *
4656
+ * GET GetJobtypesActive V2
4657
+ */
4658
+ async processingJobsGetJobtypesActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
4659
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetJobtypesActiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
4660
+ }
4661
+ /**
4662
+ * Permissions Required:
4663
+ * - Manage Processing Job
4664
+ *
4665
+ * GET GetJobtypesAttributes V1
4666
+ */
4667
+ async processingJobsGetJobtypesAttributesV1(body, licenseNumber) {
4668
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetJobtypesAttributesV1(body, licenseNumber));
4669
+ }
4670
+ /**
4671
+ * Retrieves all processing job attributes available for a Facility.
4672
+ *
4673
+ * Permissions Required:
4674
+ * - Manage Processing Job
4675
+ *
4676
+ * GET GetJobtypesAttributes V2
4677
+ */
4678
+ async processingJobsGetJobtypesAttributesV2(body, licenseNumber) {
4679
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetJobtypesAttributesV2(body, licenseNumber));
4680
+ }
4681
+ /**
4682
+ * Permissions Required:
4683
+ * - Manage Processing Job
4684
+ *
4685
+ * GET GetJobtypesCategories V1
4686
+ */
4687
+ async processingJobsGetJobtypesCategoriesV1(body, licenseNumber) {
4688
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetJobtypesCategoriesV1(body, licenseNumber));
4689
+ }
4690
+ /**
4691
+ * Retrieves all processing job categories available for a specified Facility.
4692
+ *
4693
+ * Permissions Required:
4694
+ * - Manage Processing Job
4695
+ *
4696
+ * GET GetJobtypesCategories V2
4697
+ */
4698
+ async processingJobsGetJobtypesCategoriesV2(body, licenseNumber) {
4699
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetJobtypesCategoriesV2(body, licenseNumber));
4700
+ }
4701
+ /**
4702
+ * Permissions Required:
4703
+ * - Manage Processing Job
4704
+ *
4705
+ * GET GetJobtypesInactive V1
4706
+ */
4707
+ async processingJobsGetJobtypesInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber) {
4708
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetJobtypesInactiveV1(body, lastModifiedEnd, lastModifiedStart, licenseNumber));
4709
+ }
4710
+ /**
4711
+ * Retrieves a list of all inactive processing job types defined within a Facility.
4712
+ *
4713
+ * Permissions Required:
4714
+ * - Manage Processing Job
4715
+ *
4716
+ * GET GetJobtypesInactive V2
4717
+ */
4718
+ async processingJobsGetJobtypesInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize) {
4719
+ return this.rateLimiter.execute(null, true, () => this.client.processingJobsGetJobtypesInactiveV2(body, lastModifiedEnd, lastModifiedStart, licenseNumber, pageNumber, pageSize));
4720
+ }
4721
+ /**
4722
+ * Permissions Required:
4723
+ * - Manage Processing Job
4724
+ *
4725
+ * PUT UpdateFinish V1
4726
+ */
4727
+ async processingJobsUpdateFinishV1(body, licenseNumber) {
4728
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsUpdateFinishV1(body, licenseNumber));
4729
+ }
4730
+ /**
4731
+ * Completes processing jobs at a Facility by recording final notes and waste measurements.
4732
+ *
4733
+ * Permissions Required:
4734
+ * - Manage Processing Job
4735
+ *
4736
+ * PUT UpdateFinish V2
4737
+ */
4738
+ async processingJobsUpdateFinishV2(body, licenseNumber) {
4739
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsUpdateFinishV2(body, licenseNumber));
4740
+ }
4741
+ /**
4742
+ * Permissions Required:
4743
+ * - Manage Processing Job
4744
+ *
4745
+ * PUT UpdateJobtypes V1
4746
+ */
4747
+ async processingJobsUpdateJobtypesV1(body, licenseNumber) {
4748
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsUpdateJobtypesV1(body, licenseNumber));
4749
+ }
4750
+ /**
4751
+ * Updates existing processing job types at a Facility, including their name, category, description, steps, and attributes.
4752
+ *
4753
+ * Permissions Required:
4754
+ * - Manage Processing Job
4755
+ *
4756
+ * PUT UpdateJobtypes V2
4757
+ */
4758
+ async processingJobsUpdateJobtypesV2(body, licenseNumber) {
4759
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsUpdateJobtypesV2(body, licenseNumber));
4760
+ }
4761
+ /**
4762
+ * Permissions Required:
4763
+ * - Manage Processing Job
4764
+ *
4765
+ * PUT UpdateUnfinish V1
4766
+ */
4767
+ async processingJobsUpdateUnfinishV1(body, licenseNumber) {
4768
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsUpdateUnfinishV1(body, licenseNumber));
4769
+ }
4770
+ /**
4771
+ * Reopens previously completed processing jobs at a Facility to allow further updates or corrections.
4772
+ *
4773
+ * Permissions Required:
4774
+ * - Manage Processing Job
4775
+ *
4776
+ * PUT UpdateUnfinish V2
4777
+ */
4778
+ async processingJobsUpdateUnfinishV2(body, licenseNumber) {
4779
+ return this.rateLimiter.execute(null, false, () => this.client.processingJobsUpdateUnfinishV2(body, licenseNumber));
4780
+ }
4781
+ }
4782
+ exports.MetrcWrapper = MetrcWrapper;