yellowgrid-api-ts 3.2.96-dev.0 → 3.2.97-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -176,6 +176,7 @@ Class | Method | HTTP request | Description
176
176
  *OrdersApi* | [**postSendSupplierEmail**](docs/OrdersApi.md#postsendsupplieremail) | **POST** /admin/orders/{id}/batches/{batch_id}/email/send | Send Supplier Email
177
177
  *OrdersApi* | [**postSplitOrder**](docs/OrdersApi.md#postsplitorder) | **POST** /admin/orders/{id}/split | Split Order
178
178
  *OrdersApi* | [**putAllocateItems**](docs/OrdersApi.md#putallocateitems) | **PUT** /admin/orders/{id}/items/allocate | Allocate Items To Supplier
179
+ *OrdersApi* | [**putDeleteBatch**](docs/OrdersApi.md#putdeletebatch) | **PUT** /admin/orders/{id}/batches/{batch_id} | Update Batch Item (Admin)
179
180
  *OrdersApi* | [**putUpdateAdminOrder**](docs/OrdersApi.md#putupdateadminorder) | **PUT** /admin/orders/{id} | Update An Order (Admin)
180
181
  *OrdersApi* | [**putUpdateOrder**](docs/OrdersApi.md#putupdateorder) | **PUT** /orders/{id} | Update An Order (Beta)
181
182
  *OrdersApi* | [**putUpdatePaymentStatus**](docs/OrdersApi.md#putupdatepaymentstatus) | **PUT** /admin/orders/{id}/paid | Change Payment Status (Admin)
package/api.ts CHANGED
@@ -20995,6 +20995,52 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
20995
20995
  options: localVarRequestOptions,
20996
20996
  };
20997
20997
  },
20998
+ /**
20999
+ * Update Batch Item (Admin)
21000
+ * @summary Update Batch Item (Admin)
21001
+ * @param {number} id Order ID
21002
+ * @param {number} batchId Batch ID
21003
+ * @param {number} itemId Ordered Item ID
21004
+ * @param {OrderedItemModel} [orderedItemModel] Batch Item
21005
+ * @param {*} [options] Override http request option.
21006
+ * @throws {RequiredError}
21007
+ */
21008
+ putDeleteBatch: async (id: number, batchId: number, itemId: number, orderedItemModel?: OrderedItemModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21009
+ // verify required parameter 'id' is not null or undefined
21010
+ assertParamExists('putDeleteBatch', 'id', id)
21011
+ // verify required parameter 'batchId' is not null or undefined
21012
+ assertParamExists('putDeleteBatch', 'batchId', batchId)
21013
+ // verify required parameter 'itemId' is not null or undefined
21014
+ assertParamExists('putDeleteBatch', 'itemId', itemId)
21015
+ const localVarPath = `/admin/orders/{id}/batches/{batch_id}`
21016
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
21017
+ .replace(`{${"batch_id"}}`, encodeURIComponent(String(batchId)))
21018
+ .replace(`{${"item_id"}}`, encodeURIComponent(String(itemId)));
21019
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21020
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21021
+ let baseOptions;
21022
+ if (configuration) {
21023
+ baseOptions = configuration.baseOptions;
21024
+ }
21025
+
21026
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
21027
+ const localVarHeaderParameter = {} as any;
21028
+ const localVarQueryParameter = {} as any;
21029
+
21030
+
21031
+
21032
+ localVarHeaderParameter['Content-Type'] = 'application/json';
21033
+
21034
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21035
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21036
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21037
+ localVarRequestOptions.data = serializeDataIfNeeded(orderedItemModel, localVarRequestOptions, configuration)
21038
+
21039
+ return {
21040
+ url: toPathString(localVarUrlObj),
21041
+ options: localVarRequestOptions,
21042
+ };
21043
+ },
20998
21044
  /**
20999
21045
  * Update An Order (Admin)
21000
21046
  * @summary Update An Order (Admin)
@@ -21504,6 +21550,22 @@ export const OrdersApiFp = function(configuration?: Configuration) {
21504
21550
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.putAllocateItems']?.[localVarOperationServerIndex]?.url;
21505
21551
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21506
21552
  },
21553
+ /**
21554
+ * Update Batch Item (Admin)
21555
+ * @summary Update Batch Item (Admin)
21556
+ * @param {number} id Order ID
21557
+ * @param {number} batchId Batch ID
21558
+ * @param {number} itemId Ordered Item ID
21559
+ * @param {OrderedItemModel} [orderedItemModel] Batch Item
21560
+ * @param {*} [options] Override http request option.
21561
+ * @throws {RequiredError}
21562
+ */
21563
+ async putDeleteBatch(id: number, batchId: number, itemId: number, orderedItemModel?: OrderedItemModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderedItemModel>> {
21564
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putDeleteBatch(id, batchId, itemId, orderedItemModel, options);
21565
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21566
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.putDeleteBatch']?.[localVarOperationServerIndex]?.url;
21567
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21568
+ },
21507
21569
  /**
21508
21570
  * Update An Order (Admin)
21509
21571
  * @summary Update An Order (Admin)
@@ -21831,6 +21893,19 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
21831
21893
  putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<BatchDTO>> {
21832
21894
  return localVarFp.putAllocateItems(id, supplierId, putAllocateItemsRequest, options).then((request) => request(axios, basePath));
21833
21895
  },
21896
+ /**
21897
+ * Update Batch Item (Admin)
21898
+ * @summary Update Batch Item (Admin)
21899
+ * @param {number} id Order ID
21900
+ * @param {number} batchId Batch ID
21901
+ * @param {number} itemId Ordered Item ID
21902
+ * @param {OrderedItemModel} [orderedItemModel] Batch Item
21903
+ * @param {*} [options] Override http request option.
21904
+ * @throws {RequiredError}
21905
+ */
21906
+ putDeleteBatch(id: number, batchId: number, itemId: number, orderedItemModel?: OrderedItemModel, options?: RawAxiosRequestConfig): AxiosPromise<OrderedItemModel> {
21907
+ return localVarFp.putDeleteBatch(id, batchId, itemId, orderedItemModel, options).then((request) => request(axios, basePath));
21908
+ },
21834
21909
  /**
21835
21910
  * Update An Order (Admin)
21836
21911
  * @summary Update An Order (Admin)
@@ -22192,6 +22267,21 @@ export class OrdersApi extends BaseAPI {
22192
22267
  return OrdersApiFp(this.configuration).putAllocateItems(id, supplierId, putAllocateItemsRequest, options).then((request) => request(this.axios, this.basePath));
22193
22268
  }
22194
22269
 
22270
+ /**
22271
+ * Update Batch Item (Admin)
22272
+ * @summary Update Batch Item (Admin)
22273
+ * @param {number} id Order ID
22274
+ * @param {number} batchId Batch ID
22275
+ * @param {number} itemId Ordered Item ID
22276
+ * @param {OrderedItemModel} [orderedItemModel] Batch Item
22277
+ * @param {*} [options] Override http request option.
22278
+ * @throws {RequiredError}
22279
+ * @memberof OrdersApi
22280
+ */
22281
+ public putDeleteBatch(id: number, batchId: number, itemId: number, orderedItemModel?: OrderedItemModel, options?: RawAxiosRequestConfig) {
22282
+ return OrdersApiFp(this.configuration).putDeleteBatch(id, batchId, itemId, orderedItemModel, options).then((request) => request(this.axios, this.basePath));
22283
+ }
22284
+
22195
22285
  /**
22196
22286
  * Update An Order (Admin)
22197
22287
  * @summary Update An Order (Admin)
package/dist/api.d.ts CHANGED
@@ -15923,6 +15923,17 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
15923
15923
  * @throws {RequiredError}
15924
15924
  */
15925
15925
  putAllocateItems: (id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15926
+ /**
15927
+ * Update Batch Item (Admin)
15928
+ * @summary Update Batch Item (Admin)
15929
+ * @param {number} id Order ID
15930
+ * @param {number} batchId Batch ID
15931
+ * @param {number} itemId Ordered Item ID
15932
+ * @param {OrderedItemModel} [orderedItemModel] Batch Item
15933
+ * @param {*} [options] Override http request option.
15934
+ * @throws {RequiredError}
15935
+ */
15936
+ putDeleteBatch: (id: number, batchId: number, itemId: number, orderedItemModel?: OrderedItemModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15926
15937
  /**
15927
15938
  * Update An Order (Admin)
15928
15939
  * @summary Update An Order (Admin)
@@ -16180,6 +16191,17 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
16180
16191
  * @throws {RequiredError}
16181
16192
  */
16182
16193
  putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BatchDTO>>>;
16194
+ /**
16195
+ * Update Batch Item (Admin)
16196
+ * @summary Update Batch Item (Admin)
16197
+ * @param {number} id Order ID
16198
+ * @param {number} batchId Batch ID
16199
+ * @param {number} itemId Ordered Item ID
16200
+ * @param {OrderedItemModel} [orderedItemModel] Batch Item
16201
+ * @param {*} [options] Override http request option.
16202
+ * @throws {RequiredError}
16203
+ */
16204
+ putDeleteBatch(id: number, batchId: number, itemId: number, orderedItemModel?: OrderedItemModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderedItemModel>>;
16183
16205
  /**
16184
16206
  * Update An Order (Admin)
16185
16207
  * @summary Update An Order (Admin)
@@ -16437,6 +16459,17 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
16437
16459
  * @throws {RequiredError}
16438
16460
  */
16439
16461
  putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<BatchDTO>>;
16462
+ /**
16463
+ * Update Batch Item (Admin)
16464
+ * @summary Update Batch Item (Admin)
16465
+ * @param {number} id Order ID
16466
+ * @param {number} batchId Batch ID
16467
+ * @param {number} itemId Ordered Item ID
16468
+ * @param {OrderedItemModel} [orderedItemModel] Batch Item
16469
+ * @param {*} [options] Override http request option.
16470
+ * @throws {RequiredError}
16471
+ */
16472
+ putDeleteBatch(id: number, batchId: number, itemId: number, orderedItemModel?: OrderedItemModel, options?: RawAxiosRequestConfig): AxiosPromise<OrderedItemModel>;
16440
16473
  /**
16441
16474
  * Update An Order (Admin)
16442
16475
  * @summary Update An Order (Admin)
@@ -16719,6 +16752,18 @@ export declare class OrdersApi extends BaseAPI {
16719
16752
  * @memberof OrdersApi
16720
16753
  */
16721
16754
  putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchDTO[], any, {}>>;
16755
+ /**
16756
+ * Update Batch Item (Admin)
16757
+ * @summary Update Batch Item (Admin)
16758
+ * @param {number} id Order ID
16759
+ * @param {number} batchId Batch ID
16760
+ * @param {number} itemId Ordered Item ID
16761
+ * @param {OrderedItemModel} [orderedItemModel] Batch Item
16762
+ * @param {*} [options] Override http request option.
16763
+ * @throws {RequiredError}
16764
+ * @memberof OrdersApi
16765
+ */
16766
+ putDeleteBatch(id: number, batchId: number, itemId: number, orderedItemModel?: OrderedItemModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderedItemModel, any, {}>>;
16722
16767
  /**
16723
16768
  * Update An Order (Admin)
16724
16769
  * @summary Update An Order (Admin)
package/dist/api.js CHANGED
@@ -10909,6 +10909,54 @@ var OrdersApiAxiosParamCreator = function (configuration) {
10909
10909
  });
10910
10910
  });
10911
10911
  },
10912
+ /**
10913
+ * Update Batch Item (Admin)
10914
+ * @summary Update Batch Item (Admin)
10915
+ * @param {number} id Order ID
10916
+ * @param {number} batchId Batch ID
10917
+ * @param {number} itemId Ordered Item ID
10918
+ * @param {OrderedItemModel} [orderedItemModel] Batch Item
10919
+ * @param {*} [options] Override http request option.
10920
+ * @throws {RequiredError}
10921
+ */
10922
+ putDeleteBatch: function (id_1, batchId_1, itemId_1, orderedItemModel_1) {
10923
+ var args_1 = [];
10924
+ for (var _i = 4; _i < arguments.length; _i++) {
10925
+ args_1[_i - 4] = arguments[_i];
10926
+ }
10927
+ return __awaiter(_this, __spreadArray([id_1, batchId_1, itemId_1, orderedItemModel_1], args_1, true), void 0, function (id, batchId, itemId, orderedItemModel, options) {
10928
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10929
+ if (options === void 0) { options = {}; }
10930
+ return __generator(this, function (_a) {
10931
+ // verify required parameter 'id' is not null or undefined
10932
+ (0, common_1.assertParamExists)('putDeleteBatch', 'id', id);
10933
+ // verify required parameter 'batchId' is not null or undefined
10934
+ (0, common_1.assertParamExists)('putDeleteBatch', 'batchId', batchId);
10935
+ // verify required parameter 'itemId' is not null or undefined
10936
+ (0, common_1.assertParamExists)('putDeleteBatch', 'itemId', itemId);
10937
+ localVarPath = "/admin/orders/{id}/batches/{batch_id}"
10938
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
10939
+ .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
10940
+ .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
10941
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10942
+ if (configuration) {
10943
+ baseOptions = configuration.baseOptions;
10944
+ }
10945
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
10946
+ localVarHeaderParameter = {};
10947
+ localVarQueryParameter = {};
10948
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10949
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10950
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10951
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10952
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(orderedItemModel, localVarRequestOptions, configuration);
10953
+ return [2 /*return*/, {
10954
+ url: (0, common_1.toPathString)(localVarUrlObj),
10955
+ options: localVarRequestOptions,
10956
+ }];
10957
+ });
10958
+ });
10959
+ },
10912
10960
  /**
10913
10961
  * Update An Order (Admin)
10914
10962
  * @summary Update An Order (Admin)
@@ -11654,6 +11702,32 @@ var OrdersApiFp = function (configuration) {
11654
11702
  });
11655
11703
  });
11656
11704
  },
11705
+ /**
11706
+ * Update Batch Item (Admin)
11707
+ * @summary Update Batch Item (Admin)
11708
+ * @param {number} id Order ID
11709
+ * @param {number} batchId Batch ID
11710
+ * @param {number} itemId Ordered Item ID
11711
+ * @param {OrderedItemModel} [orderedItemModel] Batch Item
11712
+ * @param {*} [options] Override http request option.
11713
+ * @throws {RequiredError}
11714
+ */
11715
+ putDeleteBatch: function (id, batchId, itemId, orderedItemModel, options) {
11716
+ return __awaiter(this, void 0, void 0, function () {
11717
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
11718
+ var _a, _b, _c;
11719
+ return __generator(this, function (_d) {
11720
+ switch (_d.label) {
11721
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.putDeleteBatch(id, batchId, itemId, orderedItemModel, options)];
11722
+ case 1:
11723
+ localVarAxiosArgs = _d.sent();
11724
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11725
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.putDeleteBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11726
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
11727
+ }
11728
+ });
11729
+ });
11730
+ },
11657
11731
  /**
11658
11732
  * Update An Order (Admin)
11659
11733
  * @summary Update An Order (Admin)
@@ -12021,6 +12095,19 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
12021
12095
  putAllocateItems: function (id, supplierId, putAllocateItemsRequest, options) {
12022
12096
  return localVarFp.putAllocateItems(id, supplierId, putAllocateItemsRequest, options).then(function (request) { return request(axios, basePath); });
12023
12097
  },
12098
+ /**
12099
+ * Update Batch Item (Admin)
12100
+ * @summary Update Batch Item (Admin)
12101
+ * @param {number} id Order ID
12102
+ * @param {number} batchId Batch ID
12103
+ * @param {number} itemId Ordered Item ID
12104
+ * @param {OrderedItemModel} [orderedItemModel] Batch Item
12105
+ * @param {*} [options] Override http request option.
12106
+ * @throws {RequiredError}
12107
+ */
12108
+ putDeleteBatch: function (id, batchId, itemId, orderedItemModel, options) {
12109
+ return localVarFp.putDeleteBatch(id, batchId, itemId, orderedItemModel, options).then(function (request) { return request(axios, basePath); });
12110
+ },
12024
12111
  /**
12025
12112
  * Update An Order (Admin)
12026
12113
  * @summary Update An Order (Admin)
@@ -12386,6 +12473,21 @@ var OrdersApi = /** @class */ (function (_super) {
12386
12473
  var _this = this;
12387
12474
  return (0, exports.OrdersApiFp)(this.configuration).putAllocateItems(id, supplierId, putAllocateItemsRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
12388
12475
  };
12476
+ /**
12477
+ * Update Batch Item (Admin)
12478
+ * @summary Update Batch Item (Admin)
12479
+ * @param {number} id Order ID
12480
+ * @param {number} batchId Batch ID
12481
+ * @param {number} itemId Ordered Item ID
12482
+ * @param {OrderedItemModel} [orderedItemModel] Batch Item
12483
+ * @param {*} [options] Override http request option.
12484
+ * @throws {RequiredError}
12485
+ * @memberof OrdersApi
12486
+ */
12487
+ OrdersApi.prototype.putDeleteBatch = function (id, batchId, itemId, orderedItemModel, options) {
12488
+ var _this = this;
12489
+ return (0, exports.OrdersApiFp)(this.configuration).putDeleteBatch(id, batchId, itemId, orderedItemModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
12490
+ };
12389
12491
  /**
12390
12492
  * Update An Order (Admin)
12391
12493
  * @summary Update An Order (Admin)
package/docs/OrdersApi.md CHANGED
@@ -27,6 +27,7 @@ All URIs are relative to *https://api.local.yellowgrid.co.uk*
27
27
  |[**postSendSupplierEmail**](#postsendsupplieremail) | **POST** /admin/orders/{id}/batches/{batch_id}/email/send | Send Supplier Email|
28
28
  |[**postSplitOrder**](#postsplitorder) | **POST** /admin/orders/{id}/split | Split Order|
29
29
  |[**putAllocateItems**](#putallocateitems) | **PUT** /admin/orders/{id}/items/allocate | Allocate Items To Supplier|
30
+ |[**putDeleteBatch**](#putdeletebatch) | **PUT** /admin/orders/{id}/batches/{batch_id} | Update Batch Item (Admin)|
30
31
  |[**putUpdateAdminOrder**](#putupdateadminorder) | **PUT** /admin/orders/{id} | Update An Order (Admin)|
31
32
  |[**putUpdateOrder**](#putupdateorder) | **PUT** /orders/{id} | Update An Order (Beta)|
32
33
  |[**putUpdatePaymentStatus**](#putupdatepaymentstatus) | **PUT** /admin/orders/{id}/paid | Change Payment Status (Admin)|
@@ -1366,6 +1367,70 @@ No authorization required
1366
1367
 
1367
1368
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1368
1369
 
1370
+ # **putDeleteBatch**
1371
+ > OrderedItemModel putDeleteBatch()
1372
+
1373
+ Update Batch Item (Admin)
1374
+
1375
+ ### Example
1376
+
1377
+ ```typescript
1378
+ import {
1379
+ OrdersApi,
1380
+ Configuration,
1381
+ OrderedItemModel
1382
+ } from 'yellowgrid-api-ts';
1383
+
1384
+ const configuration = new Configuration();
1385
+ const apiInstance = new OrdersApi(configuration);
1386
+
1387
+ let id: number; //Order ID (default to undefined)
1388
+ let batchId: number; //Batch ID (default to undefined)
1389
+ let itemId: number; //Ordered Item ID (default to undefined)
1390
+ let orderedItemModel: OrderedItemModel; //Batch Item (optional)
1391
+
1392
+ const { status, data } = await apiInstance.putDeleteBatch(
1393
+ id,
1394
+ batchId,
1395
+ itemId,
1396
+ orderedItemModel
1397
+ );
1398
+ ```
1399
+
1400
+ ### Parameters
1401
+
1402
+ |Name | Type | Description | Notes|
1403
+ |------------- | ------------- | ------------- | -------------|
1404
+ | **orderedItemModel** | **OrderedItemModel**| Batch Item | |
1405
+ | **id** | [**number**] | Order ID | defaults to undefined|
1406
+ | **batchId** | [**number**] | Batch ID | defaults to undefined|
1407
+ | **itemId** | [**number**] | Ordered Item ID | defaults to undefined|
1408
+
1409
+
1410
+ ### Return type
1411
+
1412
+ **OrderedItemModel**
1413
+
1414
+ ### Authorization
1415
+
1416
+ No authorization required
1417
+
1418
+ ### HTTP request headers
1419
+
1420
+ - **Content-Type**: application/json
1421
+ - **Accept**: application/json
1422
+
1423
+
1424
+ ### HTTP response details
1425
+ | Status code | Description | Response headers |
1426
+ |-------------|-------------|------------------|
1427
+ |**200** | Ordered Item | - |
1428
+ |**400** | Bad Request | - |
1429
+ |**401** | Unauthorised | - |
1430
+ |**403** | Access Denied | - |
1431
+
1432
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1433
+
1369
1434
  # **putUpdateAdminOrder**
1370
1435
  > Array<OrderSummaryDTO> putUpdateAdminOrder()
1371
1436
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.96-dev.0",
3
+ "version": "3.2.97-dev.0",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {