yellowgrid-api-ts 3.2.74-dev.0 → 3.2.75-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/api.ts CHANGED
@@ -7016,10 +7016,10 @@ export interface ShipmentItemEntity {
7016
7016
  'quantity'?: number;
7017
7017
  /**
7018
7018
  * item
7019
- * @type {string}
7019
+ * @type {number}
7020
7020
  * @memberof ShipmentItemEntity
7021
7021
  */
7022
- 'itemId'?: string;
7022
+ 'itemId'?: number;
7023
7023
  }
7024
7024
  /**
7025
7025
  * Shipment Item
@@ -7053,10 +7053,10 @@ export interface ShipmentItemModel {
7053
7053
  'quantity'?: number;
7054
7054
  /**
7055
7055
  * item
7056
- * @type {string}
7056
+ * @type {number}
7057
7057
  * @memberof ShipmentItemModel
7058
7058
  */
7059
- 'itemId'?: string;
7059
+ 'itemId'?: number;
7060
7060
  }
7061
7061
  /**
7062
7062
  * Shipment
@@ -20855,7 +20855,7 @@ export const OrdersApiFp = function(configuration?: Configuration) {
20855
20855
  * @param {*} [options] Override http request option.
20856
20856
  * @throws {RequiredError}
20857
20857
  */
20858
- async postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>> {
20858
+ async postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentDTO>> {
20859
20859
  const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateConsignment(id, shipmentId, shippingRequestDTO, options);
20860
20860
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20861
20861
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateConsignment']?.[localVarOperationServerIndex]?.url;
@@ -21016,7 +21016,7 @@ export const OrdersApiFp = function(configuration?: Configuration) {
21016
21016
  * @param {*} [options] Override http request option.
21017
21017
  * @throws {RequiredError}
21018
21018
  */
21019
- async putUpdateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>> {
21019
+ async putUpdateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentDTO>> {
21020
21020
  const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateShipment(id, batchId, shipmentId, shipmentRequestDTO, options);
21021
21021
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21022
21022
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateShipment']?.[localVarOperationServerIndex]?.url;
@@ -21151,7 +21151,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
21151
21151
  * @param {*} [options] Override http request option.
21152
21152
  * @throws {RequiredError}
21153
21153
  */
21154
- postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel> {
21154
+ postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentDTO> {
21155
21155
  return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then((request) => request(axios, basePath));
21156
21156
  },
21157
21157
  /**
@@ -21279,7 +21279,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
21279
21279
  * @param {*} [options] Override http request option.
21280
21280
  * @throws {RequiredError}
21281
21281
  */
21282
- putUpdateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel> {
21282
+ putUpdateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentDTO> {
21283
21283
  return localVarFp.putUpdateShipment(id, batchId, shipmentId, shipmentRequestDTO, options).then((request) => request(axios, basePath));
21284
21284
  },
21285
21285
  };
package/dist/api.d.ts CHANGED
@@ -6965,10 +6965,10 @@ export interface ShipmentItemEntity {
6965
6965
  'quantity'?: number;
6966
6966
  /**
6967
6967
  * item
6968
- * @type {string}
6968
+ * @type {number}
6969
6969
  * @memberof ShipmentItemEntity
6970
6970
  */
6971
- 'itemId'?: string;
6971
+ 'itemId'?: number;
6972
6972
  }
6973
6973
  /**
6974
6974
  * Shipment Item
@@ -7002,10 +7002,10 @@ export interface ShipmentItemModel {
7002
7002
  'quantity'?: number;
7003
7003
  /**
7004
7004
  * item
7005
- * @type {string}
7005
+ * @type {number}
7006
7006
  * @memberof ShipmentItemModel
7007
7007
  */
7008
- 'itemId'?: string;
7008
+ 'itemId'?: number;
7009
7009
  }
7010
7010
  /**
7011
7011
  * Shipment
@@ -15788,7 +15788,7 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
15788
15788
  * @param {*} [options] Override http request option.
15789
15789
  * @throws {RequiredError}
15790
15790
  */
15791
- postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>>;
15791
+ postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentDTO>>;
15792
15792
  /**
15793
15793
  * Create Shipment (Admin)
15794
15794
  * @summary Create Shipment (Admin)
@@ -15894,7 +15894,7 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
15894
15894
  * @param {*} [options] Override http request option.
15895
15895
  * @throws {RequiredError}
15896
15896
  */
15897
- putUpdateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>>;
15897
+ putUpdateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentDTO>>;
15898
15898
  };
15899
15899
  /**
15900
15900
  * OrdersApi - factory interface
@@ -16000,7 +16000,7 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
16000
16000
  * @param {*} [options] Override http request option.
16001
16001
  * @throws {RequiredError}
16002
16002
  */
16003
- postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel>;
16003
+ postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentDTO>;
16004
16004
  /**
16005
16005
  * Create Shipment (Admin)
16006
16006
  * @summary Create Shipment (Admin)
@@ -16106,7 +16106,7 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
16106
16106
  * @param {*} [options] Override http request option.
16107
16107
  * @throws {RequiredError}
16108
16108
  */
16109
- putUpdateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel>;
16109
+ putUpdateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentDTO>;
16110
16110
  };
16111
16111
  /**
16112
16112
  * OrdersApi - object-oriented interface
@@ -16225,7 +16225,7 @@ export declare class OrdersApi extends BaseAPI {
16225
16225
  * @throws {RequiredError}
16226
16226
  * @memberof OrdersApi
16227
16227
  */
16228
- postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShipmentModel, any, {}>>;
16228
+ postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShipmentDTO, any, {}>>;
16229
16229
  /**
16230
16230
  * Create Shipment (Admin)
16231
16231
  * @summary Create Shipment (Admin)
@@ -16342,7 +16342,7 @@ export declare class OrdersApi extends BaseAPI {
16342
16342
  * @throws {RequiredError}
16343
16343
  * @memberof OrdersApi
16344
16344
  */
16345
- putUpdateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShipmentModel, any, {}>>;
16345
+ putUpdateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShipmentDTO, any, {}>>;
16346
16346
  }
16347
16347
  /**
16348
16348
  * @export
package/docs/OrdersApi.md CHANGED
@@ -603,7 +603,7 @@ No authorization required
603
603
  [[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)
604
604
 
605
605
  # **postCreateConsignment**
606
- > ShipmentModel postCreateConsignment()
606
+ > ShipmentDTO postCreateConsignment()
607
607
 
608
608
  Create Shipping Consignment
609
609
 
@@ -641,7 +641,7 @@ const { status, data } = await apiInstance.postCreateConsignment(
641
641
 
642
642
  ### Return type
643
643
 
644
- **ShipmentModel**
644
+ **ShipmentDTO**
645
645
 
646
646
  ### Authorization
647
647
 
@@ -1256,7 +1256,7 @@ No authorization required
1256
1256
  [[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)
1257
1257
 
1258
1258
  # **putUpdateShipment**
1259
- > ShipmentModel putUpdateShipment()
1259
+ > ShipmentDTO putUpdateShipment()
1260
1260
 
1261
1261
  Update Shipment (Admin)
1262
1262
 
@@ -1297,7 +1297,7 @@ const { status, data } = await apiInstance.putUpdateShipment(
1297
1297
 
1298
1298
  ### Return type
1299
1299
 
1300
- **ShipmentModel**
1300
+ **ShipmentDTO**
1301
1301
 
1302
1302
  ### Authorization
1303
1303
 
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **shipmentId** | **number** | shipmentId | [optional] [default to undefined]
11
11
  **batchId** | **number** | batchId | [optional] [default to undefined]
12
12
  **quantity** | **number** | quantity | [optional] [default to undefined]
13
- **itemId** | **string** | item | [optional] [default to undefined]
13
+ **itemId** | **number** | item | [optional] [default to undefined]
14
14
 
15
15
  ## Example
16
16
 
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **shipmentId** | **number** | shipmentId | [optional] [default to undefined]
11
11
  **batchId** | **number** | batchId | [optional] [default to undefined]
12
12
  **quantity** | **number** | quantity | [optional] [default to undefined]
13
- **itemId** | **string** | item | [optional] [default to undefined]
13
+ **itemId** | **number** | item | [optional] [default to undefined]
14
14
 
15
15
  ## Example
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.74-dev.0",
3
+ "version": "3.2.75-dev.0",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {