@infisale-client/api 1.2.94 → 1.2.96
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/api/api.d.ts +194 -36
- package/dist/api/api.js +135 -0
- package/dist/api/api.mjs +135 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -5206,24 +5206,6 @@ export interface IOrderPatchRequest {
|
|
|
5206
5206
|
* @memberof IOrderPatchRequest
|
|
5207
5207
|
*/
|
|
5208
5208
|
'paymentStatus'?: OrderPaymentStatusEnum;
|
|
5209
|
-
/**
|
|
5210
|
-
*
|
|
5211
|
-
* @type {string}
|
|
5212
|
-
* @memberof IOrderPatchRequest
|
|
5213
|
-
*/
|
|
5214
|
-
'cargoCode'?: string;
|
|
5215
|
-
/**
|
|
5216
|
-
*
|
|
5217
|
-
* @type {string}
|
|
5218
|
-
* @memberof IOrderPatchRequest
|
|
5219
|
-
*/
|
|
5220
|
-
'cargoUrl'?: string;
|
|
5221
|
-
/**
|
|
5222
|
-
*
|
|
5223
|
-
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>}
|
|
5224
|
-
* @memberof IOrderPatchRequest
|
|
5225
|
-
*/
|
|
5226
|
-
'shipped'?: Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>;
|
|
5227
5209
|
}
|
|
5228
5210
|
/**
|
|
5229
5211
|
*
|
|
@@ -5658,6 +5640,80 @@ export interface IOrderReviewPostRequest {
|
|
|
5658
5640
|
*/
|
|
5659
5641
|
'comment': string;
|
|
5660
5642
|
}
|
|
5643
|
+
/**
|
|
5644
|
+
*
|
|
5645
|
+
* @export
|
|
5646
|
+
* @interface IOrderShippedPostRequest
|
|
5647
|
+
*/
|
|
5648
|
+
export interface IOrderShippedPostRequest {
|
|
5649
|
+
/**
|
|
5650
|
+
*
|
|
5651
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner>}
|
|
5652
|
+
* @memberof IOrderShippedPostRequest
|
|
5653
|
+
*/
|
|
5654
|
+
'products': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner>;
|
|
5655
|
+
/**
|
|
5656
|
+
*
|
|
5657
|
+
* @type {string}
|
|
5658
|
+
* @memberof IOrderShippedPostRequest
|
|
5659
|
+
*/
|
|
5660
|
+
'cargoCode'?: string;
|
|
5661
|
+
/**
|
|
5662
|
+
*
|
|
5663
|
+
* @type {string}
|
|
5664
|
+
* @memberof IOrderShippedPostRequest
|
|
5665
|
+
*/
|
|
5666
|
+
'cargoUrl'?: string;
|
|
5667
|
+
/**
|
|
5668
|
+
*
|
|
5669
|
+
* @type {string}
|
|
5670
|
+
* @memberof IOrderShippedPostRequest
|
|
5671
|
+
*/
|
|
5672
|
+
'warehouse'?: string;
|
|
5673
|
+
/**
|
|
5674
|
+
*
|
|
5675
|
+
* @type {string}
|
|
5676
|
+
* @memberof IOrderShippedPostRequest
|
|
5677
|
+
*/
|
|
5678
|
+
'note'?: string;
|
|
5679
|
+
}
|
|
5680
|
+
/**
|
|
5681
|
+
*
|
|
5682
|
+
* @export
|
|
5683
|
+
* @interface IOrderShippedUpdatePatchRequest
|
|
5684
|
+
*/
|
|
5685
|
+
export interface IOrderShippedUpdatePatchRequest {
|
|
5686
|
+
/**
|
|
5687
|
+
*
|
|
5688
|
+
* @type {string}
|
|
5689
|
+
* @memberof IOrderShippedUpdatePatchRequest
|
|
5690
|
+
*/
|
|
5691
|
+
'cargoCode'?: string;
|
|
5692
|
+
/**
|
|
5693
|
+
*
|
|
5694
|
+
* @type {string}
|
|
5695
|
+
* @memberof IOrderShippedUpdatePatchRequest
|
|
5696
|
+
*/
|
|
5697
|
+
'cargoUrl'?: string;
|
|
5698
|
+
/**
|
|
5699
|
+
*
|
|
5700
|
+
* @type {string}
|
|
5701
|
+
* @memberof IOrderShippedUpdatePatchRequest
|
|
5702
|
+
*/
|
|
5703
|
+
'warehouse'?: string;
|
|
5704
|
+
/**
|
|
5705
|
+
*
|
|
5706
|
+
* @type {string}
|
|
5707
|
+
* @memberof IOrderShippedUpdatePatchRequest
|
|
5708
|
+
*/
|
|
5709
|
+
'note'?: string;
|
|
5710
|
+
/**
|
|
5711
|
+
*
|
|
5712
|
+
* @type {OrderShippedStatusEnum}
|
|
5713
|
+
* @memberof IOrderShippedUpdatePatchRequest
|
|
5714
|
+
*/
|
|
5715
|
+
'status'?: OrderShippedStatusEnum;
|
|
5716
|
+
}
|
|
5661
5717
|
/**
|
|
5662
5718
|
*
|
|
5663
5719
|
* @export
|
|
@@ -8230,12 +8286,6 @@ export interface ITemplateResponseComponentsInnerContentsInnerConfig {
|
|
|
8230
8286
|
* @interface ITemplateResponseComponentsInnerIdentity
|
|
8231
8287
|
*/
|
|
8232
8288
|
export interface ITemplateResponseComponentsInnerIdentity {
|
|
8233
|
-
/**
|
|
8234
|
-
*
|
|
8235
|
-
* @type {IProductResponse}
|
|
8236
|
-
* @memberof ITemplateResponseComponentsInnerIdentity
|
|
8237
|
-
*/
|
|
8238
|
-
'singleProduct'?: IProductResponse;
|
|
8239
8289
|
/**
|
|
8240
8290
|
*
|
|
8241
8291
|
* @type {Array<ITemplateResponseComponentsInnerIdentityButtonsInner>}
|
|
@@ -9699,29 +9749,29 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysFi
|
|
|
9699
9749
|
*/
|
|
9700
9750
|
export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysPolicyPages {
|
|
9701
9751
|
/**
|
|
9702
|
-
*
|
|
9703
|
-
* @type {
|
|
9752
|
+
*
|
|
9753
|
+
* @type {PartialRecordLanguageEnumString}
|
|
9704
9754
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysPolicyPages
|
|
9705
9755
|
*/
|
|
9706
|
-
'
|
|
9756
|
+
'termsOfService'?: PartialRecordLanguageEnumString;
|
|
9707
9757
|
/**
|
|
9708
|
-
*
|
|
9709
|
-
* @type {
|
|
9758
|
+
*
|
|
9759
|
+
* @type {PartialRecordLanguageEnumString}
|
|
9710
9760
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysPolicyPages
|
|
9711
9761
|
*/
|
|
9712
|
-
'
|
|
9762
|
+
'privacyPolicy'?: PartialRecordLanguageEnumString;
|
|
9713
9763
|
/**
|
|
9714
|
-
*
|
|
9715
|
-
* @type {
|
|
9764
|
+
*
|
|
9765
|
+
* @type {PartialRecordLanguageEnumString}
|
|
9716
9766
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysPolicyPages
|
|
9717
9767
|
*/
|
|
9718
|
-
'
|
|
9768
|
+
'returnPolicy'?: PartialRecordLanguageEnumString;
|
|
9719
9769
|
/**
|
|
9720
|
-
*
|
|
9721
|
-
* @type {
|
|
9770
|
+
*
|
|
9771
|
+
* @type {PartialRecordLanguageEnumString}
|
|
9722
9772
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysPolicyPages
|
|
9723
9773
|
*/
|
|
9724
|
-
'
|
|
9774
|
+
'distanceSalesAgreement'?: PartialRecordLanguageEnumString;
|
|
9725
9775
|
}
|
|
9726
9776
|
/**
|
|
9727
9777
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -17008,6 +17058,14 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
17008
17058
|
* @throws {RequiredError}
|
|
17009
17059
|
*/
|
|
17010
17060
|
createReview: (iOrderReviewPostRequest: IOrderReviewPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17061
|
+
/**
|
|
17062
|
+
*
|
|
17063
|
+
* @param {string} id
|
|
17064
|
+
* @param {IOrderShippedPostRequest} iOrderShippedPostRequest
|
|
17065
|
+
* @param {*} [options] Override http request option.
|
|
17066
|
+
* @throws {RequiredError}
|
|
17067
|
+
*/
|
|
17068
|
+
createShipped: (id: string, iOrderShippedPostRequest: IOrderShippedPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17011
17069
|
/**
|
|
17012
17070
|
*
|
|
17013
17071
|
* @param {number} [page]
|
|
@@ -17088,6 +17146,15 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
17088
17146
|
* @throws {RequiredError}
|
|
17089
17147
|
*/
|
|
17090
17148
|
updateReviewStatus: (id: string, updateReviewStatusRequest: UpdateReviewStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17149
|
+
/**
|
|
17150
|
+
*
|
|
17151
|
+
* @param {string} orderId
|
|
17152
|
+
* @param {string} shippedId
|
|
17153
|
+
* @param {IOrderShippedUpdatePatchRequest} iOrderShippedUpdatePatchRequest
|
|
17154
|
+
* @param {*} [options] Override http request option.
|
|
17155
|
+
* @throws {RequiredError}
|
|
17156
|
+
*/
|
|
17157
|
+
updateShipped: (orderId: string, shippedId: string, iOrderShippedUpdatePatchRequest: IOrderShippedUpdatePatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17091
17158
|
};
|
|
17092
17159
|
/**
|
|
17093
17160
|
* OrderApi - functional programming interface
|
|
@@ -17124,6 +17191,14 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
17124
17191
|
* @throws {RequiredError}
|
|
17125
17192
|
*/
|
|
17126
17193
|
createReview(iOrderReviewPostRequest: IOrderReviewPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
17194
|
+
/**
|
|
17195
|
+
*
|
|
17196
|
+
* @param {string} id
|
|
17197
|
+
* @param {IOrderShippedPostRequest} iOrderShippedPostRequest
|
|
17198
|
+
* @param {*} [options] Override http request option.
|
|
17199
|
+
* @throws {RequiredError}
|
|
17200
|
+
*/
|
|
17201
|
+
createShipped(id: string, iOrderShippedPostRequest: IOrderShippedPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
17127
17202
|
/**
|
|
17128
17203
|
*
|
|
17129
17204
|
* @param {number} [page]
|
|
@@ -17204,6 +17279,15 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
17204
17279
|
* @throws {RequiredError}
|
|
17205
17280
|
*/
|
|
17206
17281
|
updateReviewStatus(id: string, updateReviewStatusRequest: UpdateReviewStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IReview>>;
|
|
17282
|
+
/**
|
|
17283
|
+
*
|
|
17284
|
+
* @param {string} orderId
|
|
17285
|
+
* @param {string} shippedId
|
|
17286
|
+
* @param {IOrderShippedUpdatePatchRequest} iOrderShippedUpdatePatchRequest
|
|
17287
|
+
* @param {*} [options] Override http request option.
|
|
17288
|
+
* @throws {RequiredError}
|
|
17289
|
+
*/
|
|
17290
|
+
updateShipped(orderId: string, shippedId: string, iOrderShippedUpdatePatchRequest: IOrderShippedUpdatePatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
17207
17291
|
};
|
|
17208
17292
|
/**
|
|
17209
17293
|
* OrderApi - factory interface
|
|
@@ -17238,6 +17322,13 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
17238
17322
|
* @throws {RequiredError}
|
|
17239
17323
|
*/
|
|
17240
17324
|
createReview(requestParameters: OrderApiCreateReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
17325
|
+
/**
|
|
17326
|
+
*
|
|
17327
|
+
* @param {OrderApiCreateShippedRequest} requestParameters Request parameters.
|
|
17328
|
+
* @param {*} [options] Override http request option.
|
|
17329
|
+
* @throws {RequiredError}
|
|
17330
|
+
*/
|
|
17331
|
+
createShipped(requestParameters: OrderApiCreateShippedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
17241
17332
|
/**
|
|
17242
17333
|
*
|
|
17243
17334
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -17294,6 +17385,13 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
17294
17385
|
* @throws {RequiredError}
|
|
17295
17386
|
*/
|
|
17296
17387
|
updateReviewStatus(requestParameters: OrderApiUpdateReviewStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<IReview>;
|
|
17388
|
+
/**
|
|
17389
|
+
*
|
|
17390
|
+
* @param {OrderApiUpdateShippedRequest} requestParameters Request parameters.
|
|
17391
|
+
* @param {*} [options] Override http request option.
|
|
17392
|
+
* @throws {RequiredError}
|
|
17393
|
+
*/
|
|
17394
|
+
updateShipped(requestParameters: OrderApiUpdateShippedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
17297
17395
|
};
|
|
17298
17396
|
/**
|
|
17299
17397
|
* Request parameters for createOrder operation in OrderApi.
|
|
@@ -17359,6 +17457,25 @@ export interface OrderApiCreateReviewRequest {
|
|
|
17359
17457
|
*/
|
|
17360
17458
|
readonly iOrderReviewPostRequest: IOrderReviewPostRequest;
|
|
17361
17459
|
}
|
|
17460
|
+
/**
|
|
17461
|
+
* Request parameters for createShipped operation in OrderApi.
|
|
17462
|
+
* @export
|
|
17463
|
+
* @interface OrderApiCreateShippedRequest
|
|
17464
|
+
*/
|
|
17465
|
+
export interface OrderApiCreateShippedRequest {
|
|
17466
|
+
/**
|
|
17467
|
+
*
|
|
17468
|
+
* @type {string}
|
|
17469
|
+
* @memberof OrderApiCreateShipped
|
|
17470
|
+
*/
|
|
17471
|
+
readonly id: string;
|
|
17472
|
+
/**
|
|
17473
|
+
*
|
|
17474
|
+
* @type {IOrderShippedPostRequest}
|
|
17475
|
+
* @memberof OrderApiCreateShipped
|
|
17476
|
+
*/
|
|
17477
|
+
readonly iOrderShippedPostRequest: IOrderShippedPostRequest;
|
|
17478
|
+
}
|
|
17362
17479
|
/**
|
|
17363
17480
|
* Request parameters for getMyOrders operation in OrderApi.
|
|
17364
17481
|
* @export
|
|
@@ -17607,6 +17724,31 @@ export interface OrderApiUpdateReviewStatusRequest {
|
|
|
17607
17724
|
*/
|
|
17608
17725
|
readonly updateReviewStatusRequest: UpdateReviewStatusRequest;
|
|
17609
17726
|
}
|
|
17727
|
+
/**
|
|
17728
|
+
* Request parameters for updateShipped operation in OrderApi.
|
|
17729
|
+
* @export
|
|
17730
|
+
* @interface OrderApiUpdateShippedRequest
|
|
17731
|
+
*/
|
|
17732
|
+
export interface OrderApiUpdateShippedRequest {
|
|
17733
|
+
/**
|
|
17734
|
+
*
|
|
17735
|
+
* @type {string}
|
|
17736
|
+
* @memberof OrderApiUpdateShipped
|
|
17737
|
+
*/
|
|
17738
|
+
readonly orderId: string;
|
|
17739
|
+
/**
|
|
17740
|
+
*
|
|
17741
|
+
* @type {string}
|
|
17742
|
+
* @memberof OrderApiUpdateShipped
|
|
17743
|
+
*/
|
|
17744
|
+
readonly shippedId: string;
|
|
17745
|
+
/**
|
|
17746
|
+
*
|
|
17747
|
+
* @type {IOrderShippedUpdatePatchRequest}
|
|
17748
|
+
* @memberof OrderApiUpdateShipped
|
|
17749
|
+
*/
|
|
17750
|
+
readonly iOrderShippedUpdatePatchRequest: IOrderShippedUpdatePatchRequest;
|
|
17751
|
+
}
|
|
17610
17752
|
/**
|
|
17611
17753
|
* OrderApi - object-oriented interface
|
|
17612
17754
|
* @export
|
|
@@ -17646,6 +17788,14 @@ export declare class OrderApi extends BaseAPI {
|
|
|
17646
17788
|
* @memberof OrderApi
|
|
17647
17789
|
*/
|
|
17648
17790
|
createReview(requestParameters: OrderApiCreateReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
17791
|
+
/**
|
|
17792
|
+
*
|
|
17793
|
+
* @param {OrderApiCreateShippedRequest} requestParameters Request parameters.
|
|
17794
|
+
* @param {*} [options] Override http request option.
|
|
17795
|
+
* @throws {RequiredError}
|
|
17796
|
+
* @memberof OrderApi
|
|
17797
|
+
*/
|
|
17798
|
+
createShipped(requestParameters: OrderApiCreateShippedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
17649
17799
|
/**
|
|
17650
17800
|
*
|
|
17651
17801
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -17710,6 +17860,14 @@ export declare class OrderApi extends BaseAPI {
|
|
|
17710
17860
|
* @memberof OrderApi
|
|
17711
17861
|
*/
|
|
17712
17862
|
updateReviewStatus(requestParameters: OrderApiUpdateReviewStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IReview, any>>;
|
|
17863
|
+
/**
|
|
17864
|
+
*
|
|
17865
|
+
* @param {OrderApiUpdateShippedRequest} requestParameters Request parameters.
|
|
17866
|
+
* @param {*} [options] Override http request option.
|
|
17867
|
+
* @throws {RequiredError}
|
|
17868
|
+
* @memberof OrderApi
|
|
17869
|
+
*/
|
|
17870
|
+
updateShipped(requestParameters: OrderApiUpdateShippedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
17713
17871
|
}
|
|
17714
17872
|
/**
|
|
17715
17873
|
* @export
|
package/dist/api/api.js
CHANGED
|
@@ -7456,6 +7456,39 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
7456
7456
|
options: localVarRequestOptions,
|
|
7457
7457
|
};
|
|
7458
7458
|
},
|
|
7459
|
+
/**
|
|
7460
|
+
*
|
|
7461
|
+
* @param {string} id
|
|
7462
|
+
* @param {IOrderShippedPostRequest} iOrderShippedPostRequest
|
|
7463
|
+
* @param {*} [options] Override http request option.
|
|
7464
|
+
* @throws {RequiredError}
|
|
7465
|
+
*/
|
|
7466
|
+
createShipped: async (id, iOrderShippedPostRequest, options = {}) => {
|
|
7467
|
+
// verify required parameter 'id' is not null or undefined
|
|
7468
|
+
(0, common_1.assertParamExists)('createShipped', 'id', id);
|
|
7469
|
+
// verify required parameter 'iOrderShippedPostRequest' is not null or undefined
|
|
7470
|
+
(0, common_1.assertParamExists)('createShipped', 'iOrderShippedPostRequest', iOrderShippedPostRequest);
|
|
7471
|
+
const localVarPath = `/api/orders/{id}/shipped`
|
|
7472
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7473
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7474
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7475
|
+
let baseOptions;
|
|
7476
|
+
if (configuration) {
|
|
7477
|
+
baseOptions = configuration.baseOptions;
|
|
7478
|
+
}
|
|
7479
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7480
|
+
const localVarHeaderParameter = {};
|
|
7481
|
+
const localVarQueryParameter = {};
|
|
7482
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7483
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7484
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7485
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7486
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iOrderShippedPostRequest, localVarRequestOptions, configuration);
|
|
7487
|
+
return {
|
|
7488
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7489
|
+
options: localVarRequestOptions,
|
|
7490
|
+
};
|
|
7491
|
+
},
|
|
7459
7492
|
/**
|
|
7460
7493
|
*
|
|
7461
7494
|
* @param {number} [page]
|
|
@@ -7790,6 +7823,43 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
7790
7823
|
options: localVarRequestOptions,
|
|
7791
7824
|
};
|
|
7792
7825
|
},
|
|
7826
|
+
/**
|
|
7827
|
+
*
|
|
7828
|
+
* @param {string} orderId
|
|
7829
|
+
* @param {string} shippedId
|
|
7830
|
+
* @param {IOrderShippedUpdatePatchRequest} iOrderShippedUpdatePatchRequest
|
|
7831
|
+
* @param {*} [options] Override http request option.
|
|
7832
|
+
* @throws {RequiredError}
|
|
7833
|
+
*/
|
|
7834
|
+
updateShipped: async (orderId, shippedId, iOrderShippedUpdatePatchRequest, options = {}) => {
|
|
7835
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
7836
|
+
(0, common_1.assertParamExists)('updateShipped', 'orderId', orderId);
|
|
7837
|
+
// verify required parameter 'shippedId' is not null or undefined
|
|
7838
|
+
(0, common_1.assertParamExists)('updateShipped', 'shippedId', shippedId);
|
|
7839
|
+
// verify required parameter 'iOrderShippedUpdatePatchRequest' is not null or undefined
|
|
7840
|
+
(0, common_1.assertParamExists)('updateShipped', 'iOrderShippedUpdatePatchRequest', iOrderShippedUpdatePatchRequest);
|
|
7841
|
+
const localVarPath = `/api/orders/{orderId}/shipped-update/{shippedId}`
|
|
7842
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)))
|
|
7843
|
+
.replace(`{${"shippedId"}}`, encodeURIComponent(String(shippedId)));
|
|
7844
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7845
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7846
|
+
let baseOptions;
|
|
7847
|
+
if (configuration) {
|
|
7848
|
+
baseOptions = configuration.baseOptions;
|
|
7849
|
+
}
|
|
7850
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
7851
|
+
const localVarHeaderParameter = {};
|
|
7852
|
+
const localVarQueryParameter = {};
|
|
7853
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7854
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7855
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7856
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7857
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iOrderShippedUpdatePatchRequest, localVarRequestOptions, configuration);
|
|
7858
|
+
return {
|
|
7859
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7860
|
+
options: localVarRequestOptions,
|
|
7861
|
+
};
|
|
7862
|
+
},
|
|
7793
7863
|
};
|
|
7794
7864
|
};
|
|
7795
7865
|
exports.OrderApiAxiosParamCreator = OrderApiAxiosParamCreator;
|
|
@@ -7850,6 +7920,19 @@ const OrderApiFp = function (configuration) {
|
|
|
7850
7920
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.createReview']?.[localVarOperationServerIndex]?.url;
|
|
7851
7921
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7852
7922
|
},
|
|
7923
|
+
/**
|
|
7924
|
+
*
|
|
7925
|
+
* @param {string} id
|
|
7926
|
+
* @param {IOrderShippedPostRequest} iOrderShippedPostRequest
|
|
7927
|
+
* @param {*} [options] Override http request option.
|
|
7928
|
+
* @throws {RequiredError}
|
|
7929
|
+
*/
|
|
7930
|
+
async createShipped(id, iOrderShippedPostRequest, options) {
|
|
7931
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createShipped(id, iOrderShippedPostRequest, options);
|
|
7932
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7933
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.createShipped']?.[localVarOperationServerIndex]?.url;
|
|
7934
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7935
|
+
},
|
|
7853
7936
|
/**
|
|
7854
7937
|
*
|
|
7855
7938
|
* @param {number} [page]
|
|
@@ -7970,6 +8053,20 @@ const OrderApiFp = function (configuration) {
|
|
|
7970
8053
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.updateReviewStatus']?.[localVarOperationServerIndex]?.url;
|
|
7971
8054
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7972
8055
|
},
|
|
8056
|
+
/**
|
|
8057
|
+
*
|
|
8058
|
+
* @param {string} orderId
|
|
8059
|
+
* @param {string} shippedId
|
|
8060
|
+
* @param {IOrderShippedUpdatePatchRequest} iOrderShippedUpdatePatchRequest
|
|
8061
|
+
* @param {*} [options] Override http request option.
|
|
8062
|
+
* @throws {RequiredError}
|
|
8063
|
+
*/
|
|
8064
|
+
async updateShipped(orderId, shippedId, iOrderShippedUpdatePatchRequest, options) {
|
|
8065
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateShipped(orderId, shippedId, iOrderShippedUpdatePatchRequest, options);
|
|
8066
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8067
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.updateShipped']?.[localVarOperationServerIndex]?.url;
|
|
8068
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8069
|
+
},
|
|
7973
8070
|
};
|
|
7974
8071
|
};
|
|
7975
8072
|
exports.OrderApiFp = OrderApiFp;
|
|
@@ -8016,6 +8113,15 @@ const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
8016
8113
|
createReview(requestParameters, options) {
|
|
8017
8114
|
return localVarFp.createReview(requestParameters.iOrderReviewPostRequest, options).then((request) => request(axios, basePath));
|
|
8018
8115
|
},
|
|
8116
|
+
/**
|
|
8117
|
+
*
|
|
8118
|
+
* @param {OrderApiCreateShippedRequest} requestParameters Request parameters.
|
|
8119
|
+
* @param {*} [options] Override http request option.
|
|
8120
|
+
* @throws {RequiredError}
|
|
8121
|
+
*/
|
|
8122
|
+
createShipped(requestParameters, options) {
|
|
8123
|
+
return localVarFp.createShipped(requestParameters.id, requestParameters.iOrderShippedPostRequest, options).then((request) => request(axios, basePath));
|
|
8124
|
+
},
|
|
8019
8125
|
/**
|
|
8020
8126
|
*
|
|
8021
8127
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -8088,6 +8194,15 @@ const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
8088
8194
|
updateReviewStatus(requestParameters, options) {
|
|
8089
8195
|
return localVarFp.updateReviewStatus(requestParameters.id, requestParameters.updateReviewStatusRequest, options).then((request) => request(axios, basePath));
|
|
8090
8196
|
},
|
|
8197
|
+
/**
|
|
8198
|
+
*
|
|
8199
|
+
* @param {OrderApiUpdateShippedRequest} requestParameters Request parameters.
|
|
8200
|
+
* @param {*} [options] Override http request option.
|
|
8201
|
+
* @throws {RequiredError}
|
|
8202
|
+
*/
|
|
8203
|
+
updateShipped(requestParameters, options) {
|
|
8204
|
+
return localVarFp.updateShipped(requestParameters.orderId, requestParameters.shippedId, requestParameters.iOrderShippedUpdatePatchRequest, options).then((request) => request(axios, basePath));
|
|
8205
|
+
},
|
|
8091
8206
|
};
|
|
8092
8207
|
};
|
|
8093
8208
|
exports.OrderApiFactory = OrderApiFactory;
|
|
@@ -8138,6 +8253,16 @@ class OrderApi extends base_1.BaseAPI {
|
|
|
8138
8253
|
createReview(requestParameters, options) {
|
|
8139
8254
|
return (0, exports.OrderApiFp)(this.configuration).createReview(requestParameters.iOrderReviewPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8140
8255
|
}
|
|
8256
|
+
/**
|
|
8257
|
+
*
|
|
8258
|
+
* @param {OrderApiCreateShippedRequest} requestParameters Request parameters.
|
|
8259
|
+
* @param {*} [options] Override http request option.
|
|
8260
|
+
* @throws {RequiredError}
|
|
8261
|
+
* @memberof OrderApi
|
|
8262
|
+
*/
|
|
8263
|
+
createShipped(requestParameters, options) {
|
|
8264
|
+
return (0, exports.OrderApiFp)(this.configuration).createShipped(requestParameters.id, requestParameters.iOrderShippedPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8265
|
+
}
|
|
8141
8266
|
/**
|
|
8142
8267
|
*
|
|
8143
8268
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -8218,6 +8343,16 @@ class OrderApi extends base_1.BaseAPI {
|
|
|
8218
8343
|
updateReviewStatus(requestParameters, options) {
|
|
8219
8344
|
return (0, exports.OrderApiFp)(this.configuration).updateReviewStatus(requestParameters.id, requestParameters.updateReviewStatusRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8220
8345
|
}
|
|
8346
|
+
/**
|
|
8347
|
+
*
|
|
8348
|
+
* @param {OrderApiUpdateShippedRequest} requestParameters Request parameters.
|
|
8349
|
+
* @param {*} [options] Override http request option.
|
|
8350
|
+
* @throws {RequiredError}
|
|
8351
|
+
* @memberof OrderApi
|
|
8352
|
+
*/
|
|
8353
|
+
updateShipped(requestParameters, options) {
|
|
8354
|
+
return (0, exports.OrderApiFp)(this.configuration).updateShipped(requestParameters.orderId, requestParameters.shippedId, requestParameters.iOrderShippedUpdatePatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8355
|
+
}
|
|
8221
8356
|
}
|
|
8222
8357
|
exports.OrderApi = OrderApi;
|
|
8223
8358
|
/**
|
package/dist/api/api.mjs
CHANGED
|
@@ -7400,6 +7400,39 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
7400
7400
|
options: localVarRequestOptions,
|
|
7401
7401
|
};
|
|
7402
7402
|
},
|
|
7403
|
+
/**
|
|
7404
|
+
*
|
|
7405
|
+
* @param {string} id
|
|
7406
|
+
* @param {IOrderShippedPostRequest} iOrderShippedPostRequest
|
|
7407
|
+
* @param {*} [options] Override http request option.
|
|
7408
|
+
* @throws {RequiredError}
|
|
7409
|
+
*/
|
|
7410
|
+
createShipped: async (id, iOrderShippedPostRequest, options = {}) => {
|
|
7411
|
+
// verify required parameter 'id' is not null or undefined
|
|
7412
|
+
assertParamExists('createShipped', 'id', id);
|
|
7413
|
+
// verify required parameter 'iOrderShippedPostRequest' is not null or undefined
|
|
7414
|
+
assertParamExists('createShipped', 'iOrderShippedPostRequest', iOrderShippedPostRequest);
|
|
7415
|
+
const localVarPath = `/api/orders/{id}/shipped`
|
|
7416
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7417
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7418
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7419
|
+
let baseOptions;
|
|
7420
|
+
if (configuration) {
|
|
7421
|
+
baseOptions = configuration.baseOptions;
|
|
7422
|
+
}
|
|
7423
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7424
|
+
const localVarHeaderParameter = {};
|
|
7425
|
+
const localVarQueryParameter = {};
|
|
7426
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7427
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7428
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7429
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7430
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iOrderShippedPostRequest, localVarRequestOptions, configuration);
|
|
7431
|
+
return {
|
|
7432
|
+
url: toPathString(localVarUrlObj),
|
|
7433
|
+
options: localVarRequestOptions,
|
|
7434
|
+
};
|
|
7435
|
+
},
|
|
7403
7436
|
/**
|
|
7404
7437
|
*
|
|
7405
7438
|
* @param {number} [page]
|
|
@@ -7734,6 +7767,43 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
7734
7767
|
options: localVarRequestOptions,
|
|
7735
7768
|
};
|
|
7736
7769
|
},
|
|
7770
|
+
/**
|
|
7771
|
+
*
|
|
7772
|
+
* @param {string} orderId
|
|
7773
|
+
* @param {string} shippedId
|
|
7774
|
+
* @param {IOrderShippedUpdatePatchRequest} iOrderShippedUpdatePatchRequest
|
|
7775
|
+
* @param {*} [options] Override http request option.
|
|
7776
|
+
* @throws {RequiredError}
|
|
7777
|
+
*/
|
|
7778
|
+
updateShipped: async (orderId, shippedId, iOrderShippedUpdatePatchRequest, options = {}) => {
|
|
7779
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
7780
|
+
assertParamExists('updateShipped', 'orderId', orderId);
|
|
7781
|
+
// verify required parameter 'shippedId' is not null or undefined
|
|
7782
|
+
assertParamExists('updateShipped', 'shippedId', shippedId);
|
|
7783
|
+
// verify required parameter 'iOrderShippedUpdatePatchRequest' is not null or undefined
|
|
7784
|
+
assertParamExists('updateShipped', 'iOrderShippedUpdatePatchRequest', iOrderShippedUpdatePatchRequest);
|
|
7785
|
+
const localVarPath = `/api/orders/{orderId}/shipped-update/{shippedId}`
|
|
7786
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)))
|
|
7787
|
+
.replace(`{${"shippedId"}}`, encodeURIComponent(String(shippedId)));
|
|
7788
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7789
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7790
|
+
let baseOptions;
|
|
7791
|
+
if (configuration) {
|
|
7792
|
+
baseOptions = configuration.baseOptions;
|
|
7793
|
+
}
|
|
7794
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
7795
|
+
const localVarHeaderParameter = {};
|
|
7796
|
+
const localVarQueryParameter = {};
|
|
7797
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7798
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7799
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7800
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7801
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iOrderShippedUpdatePatchRequest, localVarRequestOptions, configuration);
|
|
7802
|
+
return {
|
|
7803
|
+
url: toPathString(localVarUrlObj),
|
|
7804
|
+
options: localVarRequestOptions,
|
|
7805
|
+
};
|
|
7806
|
+
},
|
|
7737
7807
|
};
|
|
7738
7808
|
};
|
|
7739
7809
|
/**
|
|
@@ -7793,6 +7863,19 @@ export const OrderApiFp = function (configuration) {
|
|
|
7793
7863
|
const localVarOperationServerBasePath = operationServerMap['OrderApi.createReview']?.[localVarOperationServerIndex]?.url;
|
|
7794
7864
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7795
7865
|
},
|
|
7866
|
+
/**
|
|
7867
|
+
*
|
|
7868
|
+
* @param {string} id
|
|
7869
|
+
* @param {IOrderShippedPostRequest} iOrderShippedPostRequest
|
|
7870
|
+
* @param {*} [options] Override http request option.
|
|
7871
|
+
* @throws {RequiredError}
|
|
7872
|
+
*/
|
|
7873
|
+
async createShipped(id, iOrderShippedPostRequest, options) {
|
|
7874
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createShipped(id, iOrderShippedPostRequest, options);
|
|
7875
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7876
|
+
const localVarOperationServerBasePath = operationServerMap['OrderApi.createShipped']?.[localVarOperationServerIndex]?.url;
|
|
7877
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7878
|
+
},
|
|
7796
7879
|
/**
|
|
7797
7880
|
*
|
|
7798
7881
|
* @param {number} [page]
|
|
@@ -7913,6 +7996,20 @@ export const OrderApiFp = function (configuration) {
|
|
|
7913
7996
|
const localVarOperationServerBasePath = operationServerMap['OrderApi.updateReviewStatus']?.[localVarOperationServerIndex]?.url;
|
|
7914
7997
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7915
7998
|
},
|
|
7999
|
+
/**
|
|
8000
|
+
*
|
|
8001
|
+
* @param {string} orderId
|
|
8002
|
+
* @param {string} shippedId
|
|
8003
|
+
* @param {IOrderShippedUpdatePatchRequest} iOrderShippedUpdatePatchRequest
|
|
8004
|
+
* @param {*} [options] Override http request option.
|
|
8005
|
+
* @throws {RequiredError}
|
|
8006
|
+
*/
|
|
8007
|
+
async updateShipped(orderId, shippedId, iOrderShippedUpdatePatchRequest, options) {
|
|
8008
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateShipped(orderId, shippedId, iOrderShippedUpdatePatchRequest, options);
|
|
8009
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8010
|
+
const localVarOperationServerBasePath = operationServerMap['OrderApi.updateShipped']?.[localVarOperationServerIndex]?.url;
|
|
8011
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8012
|
+
},
|
|
7916
8013
|
};
|
|
7917
8014
|
};
|
|
7918
8015
|
/**
|
|
@@ -7958,6 +8055,15 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
7958
8055
|
createReview(requestParameters, options) {
|
|
7959
8056
|
return localVarFp.createReview(requestParameters.iOrderReviewPostRequest, options).then((request) => request(axios, basePath));
|
|
7960
8057
|
},
|
|
8058
|
+
/**
|
|
8059
|
+
*
|
|
8060
|
+
* @param {OrderApiCreateShippedRequest} requestParameters Request parameters.
|
|
8061
|
+
* @param {*} [options] Override http request option.
|
|
8062
|
+
* @throws {RequiredError}
|
|
8063
|
+
*/
|
|
8064
|
+
createShipped(requestParameters, options) {
|
|
8065
|
+
return localVarFp.createShipped(requestParameters.id, requestParameters.iOrderShippedPostRequest, options).then((request) => request(axios, basePath));
|
|
8066
|
+
},
|
|
7961
8067
|
/**
|
|
7962
8068
|
*
|
|
7963
8069
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -8030,6 +8136,15 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
8030
8136
|
updateReviewStatus(requestParameters, options) {
|
|
8031
8137
|
return localVarFp.updateReviewStatus(requestParameters.id, requestParameters.updateReviewStatusRequest, options).then((request) => request(axios, basePath));
|
|
8032
8138
|
},
|
|
8139
|
+
/**
|
|
8140
|
+
*
|
|
8141
|
+
* @param {OrderApiUpdateShippedRequest} requestParameters Request parameters.
|
|
8142
|
+
* @param {*} [options] Override http request option.
|
|
8143
|
+
* @throws {RequiredError}
|
|
8144
|
+
*/
|
|
8145
|
+
updateShipped(requestParameters, options) {
|
|
8146
|
+
return localVarFp.updateShipped(requestParameters.orderId, requestParameters.shippedId, requestParameters.iOrderShippedUpdatePatchRequest, options).then((request) => request(axios, basePath));
|
|
8147
|
+
},
|
|
8033
8148
|
};
|
|
8034
8149
|
};
|
|
8035
8150
|
/**
|
|
@@ -8079,6 +8194,16 @@ export class OrderApi extends BaseAPI {
|
|
|
8079
8194
|
createReview(requestParameters, options) {
|
|
8080
8195
|
return OrderApiFp(this.configuration).createReview(requestParameters.iOrderReviewPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8081
8196
|
}
|
|
8197
|
+
/**
|
|
8198
|
+
*
|
|
8199
|
+
* @param {OrderApiCreateShippedRequest} requestParameters Request parameters.
|
|
8200
|
+
* @param {*} [options] Override http request option.
|
|
8201
|
+
* @throws {RequiredError}
|
|
8202
|
+
* @memberof OrderApi
|
|
8203
|
+
*/
|
|
8204
|
+
createShipped(requestParameters, options) {
|
|
8205
|
+
return OrderApiFp(this.configuration).createShipped(requestParameters.id, requestParameters.iOrderShippedPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8206
|
+
}
|
|
8082
8207
|
/**
|
|
8083
8208
|
*
|
|
8084
8209
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -8159,6 +8284,16 @@ export class OrderApi extends BaseAPI {
|
|
|
8159
8284
|
updateReviewStatus(requestParameters, options) {
|
|
8160
8285
|
return OrderApiFp(this.configuration).updateReviewStatus(requestParameters.id, requestParameters.updateReviewStatusRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8161
8286
|
}
|
|
8287
|
+
/**
|
|
8288
|
+
*
|
|
8289
|
+
* @param {OrderApiUpdateShippedRequest} requestParameters Request parameters.
|
|
8290
|
+
* @param {*} [options] Override http request option.
|
|
8291
|
+
* @throws {RequiredError}
|
|
8292
|
+
* @memberof OrderApi
|
|
8293
|
+
*/
|
|
8294
|
+
updateShipped(requestParameters, options) {
|
|
8295
|
+
return OrderApiFp(this.configuration).updateShipped(requestParameters.orderId, requestParameters.shippedId, requestParameters.iOrderShippedUpdatePatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8296
|
+
}
|
|
8162
8297
|
}
|
|
8163
8298
|
/**
|
|
8164
8299
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.96",
|
|
4
4
|
"description": "api-sdk",
|
|
5
5
|
"author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
|
|
6
6
|
"homepage": "https://github.com/infisale/infisale-client#readme",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "3558c050d3c68d3111fa3856bb9d66171750c39b"
|
|
41
41
|
}
|