@infisale-client/api 1.2.95 → 1.2.97
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 +247 -18
- 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
|
@@ -2223,6 +2223,14 @@ export interface ICompany {
|
|
|
2223
2223
|
* @memberof ICompany
|
|
2224
2224
|
*/
|
|
2225
2225
|
'policyPages': PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysPolicyPages;
|
|
2226
|
+
/**
|
|
2227
|
+
* Construct a type with a set of properties K of type T
|
|
2228
|
+
* @type {{ [key: string]: RecordStringUrlStringFileIImageValue; }}
|
|
2229
|
+
* @memberof ICompany
|
|
2230
|
+
*/
|
|
2231
|
+
'legalDocuments': {
|
|
2232
|
+
[key: string]: RecordStringUrlStringFileIImageValue;
|
|
2233
|
+
};
|
|
2226
2234
|
/**
|
|
2227
2235
|
*
|
|
2228
2236
|
* @type {CompanyStatusEnum}
|
|
@@ -2442,6 +2450,14 @@ export interface ICompanyAdminResponse {
|
|
|
2442
2450
|
* @memberof ICompanyAdminResponse
|
|
2443
2451
|
*/
|
|
2444
2452
|
'policyPages': PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysPolicyPages;
|
|
2453
|
+
/**
|
|
2454
|
+
* Construct a type with a set of properties K of type T
|
|
2455
|
+
* @type {{ [key: string]: RecordStringUrlStringFileIImageValue; }}
|
|
2456
|
+
* @memberof ICompanyAdminResponse
|
|
2457
|
+
*/
|
|
2458
|
+
'legalDocuments': {
|
|
2459
|
+
[key: string]: RecordStringUrlStringFileIImageValue;
|
|
2460
|
+
};
|
|
2445
2461
|
/**
|
|
2446
2462
|
*
|
|
2447
2463
|
* @type {string}
|
|
@@ -2892,6 +2908,14 @@ export interface ICompanyPatchRequest {
|
|
|
2892
2908
|
* @memberof ICompanyPatchRequest
|
|
2893
2909
|
*/
|
|
2894
2910
|
'policyPages'?: PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysPolicyPages;
|
|
2911
|
+
/**
|
|
2912
|
+
* Construct a type with a set of properties K of type T
|
|
2913
|
+
* @type {{ [key: string]: RecordStringUrlStringFileIImageValue; }}
|
|
2914
|
+
* @memberof ICompanyPatchRequest
|
|
2915
|
+
*/
|
|
2916
|
+
'legalDocuments'?: {
|
|
2917
|
+
[key: string]: RecordStringUrlStringFileIImageValue;
|
|
2918
|
+
};
|
|
2895
2919
|
/**
|
|
2896
2920
|
*
|
|
2897
2921
|
* @type {string}
|
|
@@ -3210,6 +3234,14 @@ export interface ICompanyResponse {
|
|
|
3210
3234
|
* @memberof ICompanyResponse
|
|
3211
3235
|
*/
|
|
3212
3236
|
'policyPages': PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysPolicyPages;
|
|
3237
|
+
/**
|
|
3238
|
+
* Construct a type with a set of properties K of type T
|
|
3239
|
+
* @type {{ [key: string]: RecordStringUrlStringFileIImageValue; }}
|
|
3240
|
+
* @memberof ICompanyResponse
|
|
3241
|
+
*/
|
|
3242
|
+
'legalDocuments': {
|
|
3243
|
+
[key: string]: RecordStringUrlStringFileIImageValue;
|
|
3244
|
+
};
|
|
3213
3245
|
/**
|
|
3214
3246
|
*
|
|
3215
3247
|
* @type {string}
|
|
@@ -5206,24 +5238,6 @@ export interface IOrderPatchRequest {
|
|
|
5206
5238
|
* @memberof IOrderPatchRequest
|
|
5207
5239
|
*/
|
|
5208
5240
|
'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
5241
|
}
|
|
5228
5242
|
/**
|
|
5229
5243
|
*
|
|
@@ -5658,6 +5672,80 @@ export interface IOrderReviewPostRequest {
|
|
|
5658
5672
|
*/
|
|
5659
5673
|
'comment': string;
|
|
5660
5674
|
}
|
|
5675
|
+
/**
|
|
5676
|
+
*
|
|
5677
|
+
* @export
|
|
5678
|
+
* @interface IOrderShippedPostRequest
|
|
5679
|
+
*/
|
|
5680
|
+
export interface IOrderShippedPostRequest {
|
|
5681
|
+
/**
|
|
5682
|
+
*
|
|
5683
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner>}
|
|
5684
|
+
* @memberof IOrderShippedPostRequest
|
|
5685
|
+
*/
|
|
5686
|
+
'products': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner>;
|
|
5687
|
+
/**
|
|
5688
|
+
*
|
|
5689
|
+
* @type {string}
|
|
5690
|
+
* @memberof IOrderShippedPostRequest
|
|
5691
|
+
*/
|
|
5692
|
+
'cargoCode'?: string;
|
|
5693
|
+
/**
|
|
5694
|
+
*
|
|
5695
|
+
* @type {string}
|
|
5696
|
+
* @memberof IOrderShippedPostRequest
|
|
5697
|
+
*/
|
|
5698
|
+
'cargoUrl'?: string;
|
|
5699
|
+
/**
|
|
5700
|
+
*
|
|
5701
|
+
* @type {string}
|
|
5702
|
+
* @memberof IOrderShippedPostRequest
|
|
5703
|
+
*/
|
|
5704
|
+
'warehouse'?: string;
|
|
5705
|
+
/**
|
|
5706
|
+
*
|
|
5707
|
+
* @type {string}
|
|
5708
|
+
* @memberof IOrderShippedPostRequest
|
|
5709
|
+
*/
|
|
5710
|
+
'note'?: string;
|
|
5711
|
+
}
|
|
5712
|
+
/**
|
|
5713
|
+
*
|
|
5714
|
+
* @export
|
|
5715
|
+
* @interface IOrderShippedUpdatePatchRequest
|
|
5716
|
+
*/
|
|
5717
|
+
export interface IOrderShippedUpdatePatchRequest {
|
|
5718
|
+
/**
|
|
5719
|
+
*
|
|
5720
|
+
* @type {string}
|
|
5721
|
+
* @memberof IOrderShippedUpdatePatchRequest
|
|
5722
|
+
*/
|
|
5723
|
+
'cargoCode'?: string;
|
|
5724
|
+
/**
|
|
5725
|
+
*
|
|
5726
|
+
* @type {string}
|
|
5727
|
+
* @memberof IOrderShippedUpdatePatchRequest
|
|
5728
|
+
*/
|
|
5729
|
+
'cargoUrl'?: string;
|
|
5730
|
+
/**
|
|
5731
|
+
*
|
|
5732
|
+
* @type {string}
|
|
5733
|
+
* @memberof IOrderShippedUpdatePatchRequest
|
|
5734
|
+
*/
|
|
5735
|
+
'warehouse'?: string;
|
|
5736
|
+
/**
|
|
5737
|
+
*
|
|
5738
|
+
* @type {string}
|
|
5739
|
+
* @memberof IOrderShippedUpdatePatchRequest
|
|
5740
|
+
*/
|
|
5741
|
+
'note'?: string;
|
|
5742
|
+
/**
|
|
5743
|
+
*
|
|
5744
|
+
* @type {OrderShippedStatusEnum}
|
|
5745
|
+
* @memberof IOrderShippedUpdatePatchRequest
|
|
5746
|
+
*/
|
|
5747
|
+
'status'?: OrderShippedStatusEnum;
|
|
5748
|
+
}
|
|
5661
5749
|
/**
|
|
5662
5750
|
*
|
|
5663
5751
|
* @export
|
|
@@ -7860,6 +7948,12 @@ export interface ITemplateResponseComponentsInnerBlogs {
|
|
|
7860
7948
|
* @interface ITemplateResponseComponentsInnerConfig
|
|
7861
7949
|
*/
|
|
7862
7950
|
export interface ITemplateResponseComponentsInnerConfig {
|
|
7951
|
+
/**
|
|
7952
|
+
*
|
|
7953
|
+
* @type {boolean}
|
|
7954
|
+
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7955
|
+
*/
|
|
7956
|
+
'legalDocuments'?: boolean;
|
|
7863
7957
|
/**
|
|
7864
7958
|
*
|
|
7865
7959
|
* @type {boolean}
|
|
@@ -9654,6 +9748,14 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
9654
9748
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
9655
9749
|
*/
|
|
9656
9750
|
'policyPages': PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysPolicyPages;
|
|
9751
|
+
/**
|
|
9752
|
+
* Construct a type with a set of properties K of type T
|
|
9753
|
+
* @type {{ [key: string]: RecordStringUrlStringFileIImageValue; }}
|
|
9754
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
9755
|
+
*/
|
|
9756
|
+
'legalDocuments': {
|
|
9757
|
+
[key: string]: RecordStringUrlStringFileIImageValue;
|
|
9758
|
+
};
|
|
9657
9759
|
/**
|
|
9658
9760
|
*
|
|
9659
9761
|
* @type {string}
|
|
@@ -11579,6 +11681,25 @@ export interface RecordLanguageEnumTitleStringTr {
|
|
|
11579
11681
|
*/
|
|
11580
11682
|
'title': string;
|
|
11581
11683
|
}
|
|
11684
|
+
/**
|
|
11685
|
+
*
|
|
11686
|
+
* @export
|
|
11687
|
+
* @interface RecordStringUrlStringFileIImageValue
|
|
11688
|
+
*/
|
|
11689
|
+
export interface RecordStringUrlStringFileIImageValue {
|
|
11690
|
+
/**
|
|
11691
|
+
*
|
|
11692
|
+
* @type {IImage}
|
|
11693
|
+
* @memberof RecordStringUrlStringFileIImageValue
|
|
11694
|
+
*/
|
|
11695
|
+
'file': IImage;
|
|
11696
|
+
/**
|
|
11697
|
+
*
|
|
11698
|
+
* @type {string}
|
|
11699
|
+
* @memberof RecordStringUrlStringFileIImageValue
|
|
11700
|
+
*/
|
|
11701
|
+
'url': string;
|
|
11702
|
+
}
|
|
11582
11703
|
/**
|
|
11583
11704
|
*
|
|
11584
11705
|
* @export
|
|
@@ -17002,6 +17123,14 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
17002
17123
|
* @throws {RequiredError}
|
|
17003
17124
|
*/
|
|
17004
17125
|
createReview: (iOrderReviewPostRequest: IOrderReviewPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17126
|
+
/**
|
|
17127
|
+
*
|
|
17128
|
+
* @param {string} id
|
|
17129
|
+
* @param {IOrderShippedPostRequest} iOrderShippedPostRequest
|
|
17130
|
+
* @param {*} [options] Override http request option.
|
|
17131
|
+
* @throws {RequiredError}
|
|
17132
|
+
*/
|
|
17133
|
+
createShipped: (id: string, iOrderShippedPostRequest: IOrderShippedPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17005
17134
|
/**
|
|
17006
17135
|
*
|
|
17007
17136
|
* @param {number} [page]
|
|
@@ -17082,6 +17211,15 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
17082
17211
|
* @throws {RequiredError}
|
|
17083
17212
|
*/
|
|
17084
17213
|
updateReviewStatus: (id: string, updateReviewStatusRequest: UpdateReviewStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17214
|
+
/**
|
|
17215
|
+
*
|
|
17216
|
+
* @param {string} orderId
|
|
17217
|
+
* @param {string} shippedId
|
|
17218
|
+
* @param {IOrderShippedUpdatePatchRequest} iOrderShippedUpdatePatchRequest
|
|
17219
|
+
* @param {*} [options] Override http request option.
|
|
17220
|
+
* @throws {RequiredError}
|
|
17221
|
+
*/
|
|
17222
|
+
updateShipped: (orderId: string, shippedId: string, iOrderShippedUpdatePatchRequest: IOrderShippedUpdatePatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17085
17223
|
};
|
|
17086
17224
|
/**
|
|
17087
17225
|
* OrderApi - functional programming interface
|
|
@@ -17118,6 +17256,14 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
17118
17256
|
* @throws {RequiredError}
|
|
17119
17257
|
*/
|
|
17120
17258
|
createReview(iOrderReviewPostRequest: IOrderReviewPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
17259
|
+
/**
|
|
17260
|
+
*
|
|
17261
|
+
* @param {string} id
|
|
17262
|
+
* @param {IOrderShippedPostRequest} iOrderShippedPostRequest
|
|
17263
|
+
* @param {*} [options] Override http request option.
|
|
17264
|
+
* @throws {RequiredError}
|
|
17265
|
+
*/
|
|
17266
|
+
createShipped(id: string, iOrderShippedPostRequest: IOrderShippedPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
17121
17267
|
/**
|
|
17122
17268
|
*
|
|
17123
17269
|
* @param {number} [page]
|
|
@@ -17198,6 +17344,15 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
17198
17344
|
* @throws {RequiredError}
|
|
17199
17345
|
*/
|
|
17200
17346
|
updateReviewStatus(id: string, updateReviewStatusRequest: UpdateReviewStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IReview>>;
|
|
17347
|
+
/**
|
|
17348
|
+
*
|
|
17349
|
+
* @param {string} orderId
|
|
17350
|
+
* @param {string} shippedId
|
|
17351
|
+
* @param {IOrderShippedUpdatePatchRequest} iOrderShippedUpdatePatchRequest
|
|
17352
|
+
* @param {*} [options] Override http request option.
|
|
17353
|
+
* @throws {RequiredError}
|
|
17354
|
+
*/
|
|
17355
|
+
updateShipped(orderId: string, shippedId: string, iOrderShippedUpdatePatchRequest: IOrderShippedUpdatePatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
17201
17356
|
};
|
|
17202
17357
|
/**
|
|
17203
17358
|
* OrderApi - factory interface
|
|
@@ -17232,6 +17387,13 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
17232
17387
|
* @throws {RequiredError}
|
|
17233
17388
|
*/
|
|
17234
17389
|
createReview(requestParameters: OrderApiCreateReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
17390
|
+
/**
|
|
17391
|
+
*
|
|
17392
|
+
* @param {OrderApiCreateShippedRequest} requestParameters Request parameters.
|
|
17393
|
+
* @param {*} [options] Override http request option.
|
|
17394
|
+
* @throws {RequiredError}
|
|
17395
|
+
*/
|
|
17396
|
+
createShipped(requestParameters: OrderApiCreateShippedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
17235
17397
|
/**
|
|
17236
17398
|
*
|
|
17237
17399
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -17288,6 +17450,13 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
17288
17450
|
* @throws {RequiredError}
|
|
17289
17451
|
*/
|
|
17290
17452
|
updateReviewStatus(requestParameters: OrderApiUpdateReviewStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<IReview>;
|
|
17453
|
+
/**
|
|
17454
|
+
*
|
|
17455
|
+
* @param {OrderApiUpdateShippedRequest} requestParameters Request parameters.
|
|
17456
|
+
* @param {*} [options] Override http request option.
|
|
17457
|
+
* @throws {RequiredError}
|
|
17458
|
+
*/
|
|
17459
|
+
updateShipped(requestParameters: OrderApiUpdateShippedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
17291
17460
|
};
|
|
17292
17461
|
/**
|
|
17293
17462
|
* Request parameters for createOrder operation in OrderApi.
|
|
@@ -17353,6 +17522,25 @@ export interface OrderApiCreateReviewRequest {
|
|
|
17353
17522
|
*/
|
|
17354
17523
|
readonly iOrderReviewPostRequest: IOrderReviewPostRequest;
|
|
17355
17524
|
}
|
|
17525
|
+
/**
|
|
17526
|
+
* Request parameters for createShipped operation in OrderApi.
|
|
17527
|
+
* @export
|
|
17528
|
+
* @interface OrderApiCreateShippedRequest
|
|
17529
|
+
*/
|
|
17530
|
+
export interface OrderApiCreateShippedRequest {
|
|
17531
|
+
/**
|
|
17532
|
+
*
|
|
17533
|
+
* @type {string}
|
|
17534
|
+
* @memberof OrderApiCreateShipped
|
|
17535
|
+
*/
|
|
17536
|
+
readonly id: string;
|
|
17537
|
+
/**
|
|
17538
|
+
*
|
|
17539
|
+
* @type {IOrderShippedPostRequest}
|
|
17540
|
+
* @memberof OrderApiCreateShipped
|
|
17541
|
+
*/
|
|
17542
|
+
readonly iOrderShippedPostRequest: IOrderShippedPostRequest;
|
|
17543
|
+
}
|
|
17356
17544
|
/**
|
|
17357
17545
|
* Request parameters for getMyOrders operation in OrderApi.
|
|
17358
17546
|
* @export
|
|
@@ -17601,6 +17789,31 @@ export interface OrderApiUpdateReviewStatusRequest {
|
|
|
17601
17789
|
*/
|
|
17602
17790
|
readonly updateReviewStatusRequest: UpdateReviewStatusRequest;
|
|
17603
17791
|
}
|
|
17792
|
+
/**
|
|
17793
|
+
* Request parameters for updateShipped operation in OrderApi.
|
|
17794
|
+
* @export
|
|
17795
|
+
* @interface OrderApiUpdateShippedRequest
|
|
17796
|
+
*/
|
|
17797
|
+
export interface OrderApiUpdateShippedRequest {
|
|
17798
|
+
/**
|
|
17799
|
+
*
|
|
17800
|
+
* @type {string}
|
|
17801
|
+
* @memberof OrderApiUpdateShipped
|
|
17802
|
+
*/
|
|
17803
|
+
readonly orderId: string;
|
|
17804
|
+
/**
|
|
17805
|
+
*
|
|
17806
|
+
* @type {string}
|
|
17807
|
+
* @memberof OrderApiUpdateShipped
|
|
17808
|
+
*/
|
|
17809
|
+
readonly shippedId: string;
|
|
17810
|
+
/**
|
|
17811
|
+
*
|
|
17812
|
+
* @type {IOrderShippedUpdatePatchRequest}
|
|
17813
|
+
* @memberof OrderApiUpdateShipped
|
|
17814
|
+
*/
|
|
17815
|
+
readonly iOrderShippedUpdatePatchRequest: IOrderShippedUpdatePatchRequest;
|
|
17816
|
+
}
|
|
17604
17817
|
/**
|
|
17605
17818
|
* OrderApi - object-oriented interface
|
|
17606
17819
|
* @export
|
|
@@ -17640,6 +17853,14 @@ export declare class OrderApi extends BaseAPI {
|
|
|
17640
17853
|
* @memberof OrderApi
|
|
17641
17854
|
*/
|
|
17642
17855
|
createReview(requestParameters: OrderApiCreateReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
17856
|
+
/**
|
|
17857
|
+
*
|
|
17858
|
+
* @param {OrderApiCreateShippedRequest} requestParameters Request parameters.
|
|
17859
|
+
* @param {*} [options] Override http request option.
|
|
17860
|
+
* @throws {RequiredError}
|
|
17861
|
+
* @memberof OrderApi
|
|
17862
|
+
*/
|
|
17863
|
+
createShipped(requestParameters: OrderApiCreateShippedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
17643
17864
|
/**
|
|
17644
17865
|
*
|
|
17645
17866
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -17704,6 +17925,14 @@ export declare class OrderApi extends BaseAPI {
|
|
|
17704
17925
|
* @memberof OrderApi
|
|
17705
17926
|
*/
|
|
17706
17927
|
updateReviewStatus(requestParameters: OrderApiUpdateReviewStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IReview, any>>;
|
|
17928
|
+
/**
|
|
17929
|
+
*
|
|
17930
|
+
* @param {OrderApiUpdateShippedRequest} requestParameters Request parameters.
|
|
17931
|
+
* @param {*} [options] Override http request option.
|
|
17932
|
+
* @throws {RequiredError}
|
|
17933
|
+
* @memberof OrderApi
|
|
17934
|
+
*/
|
|
17935
|
+
updateShipped(requestParameters: OrderApiUpdateShippedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
17707
17936
|
}
|
|
17708
17937
|
/**
|
|
17709
17938
|
* @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.97",
|
|
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": "ee17f0fbb87adc3623595e6530b3ca6dd55ae4f4"
|
|
41
41
|
}
|