yellowgrid-api-ts 3.2.70-dev.0 → 3.2.71-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 +2 -2
- package/dist/api.d.ts +3 -3
- package/docs/OrdersApi.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -20740,7 +20740,7 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
20740
20740
|
* @param {*} [options] Override http request option.
|
|
20741
20741
|
* @throws {RequiredError}
|
|
20742
20742
|
*/
|
|
20743
|
-
async postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
20743
|
+
async postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentDTO>> {
|
|
20744
20744
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateShipment(id, batchId, shipmentRequestDTO, options);
|
|
20745
20745
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20746
20746
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateShipment']?.[localVarOperationServerIndex]?.url;
|
|
@@ -21033,7 +21033,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
21033
21033
|
* @param {*} [options] Override http request option.
|
|
21034
21034
|
* @throws {RequiredError}
|
|
21035
21035
|
*/
|
|
21036
|
-
postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
21036
|
+
postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentDTO> {
|
|
21037
21037
|
return localVarFp.postCreateShipment(id, batchId, shipmentRequestDTO, options).then((request) => request(axios, basePath));
|
|
21038
21038
|
},
|
|
21039
21039
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -15709,7 +15709,7 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
15709
15709
|
* @param {*} [options] Override http request option.
|
|
15710
15710
|
* @throws {RequiredError}
|
|
15711
15711
|
*/
|
|
15712
|
-
postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
15712
|
+
postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentDTO>>;
|
|
15713
15713
|
/**
|
|
15714
15714
|
* Create An Order (Beta)
|
|
15715
15715
|
* @summary Create An Order (Beta)
|
|
@@ -15921,7 +15921,7 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
15921
15921
|
* @param {*} [options] Override http request option.
|
|
15922
15922
|
* @throws {RequiredError}
|
|
15923
15923
|
*/
|
|
15924
|
-
postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
15924
|
+
postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentDTO>;
|
|
15925
15925
|
/**
|
|
15926
15926
|
* Create An Order (Beta)
|
|
15927
15927
|
* @summary Create An Order (Beta)
|
|
@@ -16147,7 +16147,7 @@ export declare class OrdersApi extends BaseAPI {
|
|
|
16147
16147
|
* @throws {RequiredError}
|
|
16148
16148
|
* @memberof OrdersApi
|
|
16149
16149
|
*/
|
|
16150
|
-
postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
16150
|
+
postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShipmentDTO, any, {}>>;
|
|
16151
16151
|
/**
|
|
16152
16152
|
* Create An Order (Beta)
|
|
16153
16153
|
* @summary Create An Order (Beta)
|
package/docs/OrdersApi.md
CHANGED
|
@@ -664,7 +664,7 @@ No authorization required
|
|
|
664
664
|
[[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)
|
|
665
665
|
|
|
666
666
|
# **postCreateShipment**
|
|
667
|
-
>
|
|
667
|
+
> ShipmentDTO postCreateShipment()
|
|
668
668
|
|
|
669
669
|
Create Shipment (Admin)
|
|
670
670
|
|
|
@@ -702,7 +702,7 @@ const { status, data } = await apiInstance.postCreateShipment(
|
|
|
702
702
|
|
|
703
703
|
### Return type
|
|
704
704
|
|
|
705
|
-
**
|
|
705
|
+
**ShipmentDTO**
|
|
706
706
|
|
|
707
707
|
### Authorization
|
|
708
708
|
|