@infisale-client/api 1.2.108 → 1.2.110
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 +1966 -1870
- package/dist/api/api.js +128 -0
- package/dist/api/api.mjs +128 -0
- package/package.json +2 -2
package/dist/api/api.js
CHANGED
|
@@ -8310,6 +8310,34 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
8310
8310
|
options: localVarRequestOptions,
|
|
8311
8311
|
};
|
|
8312
8312
|
},
|
|
8313
|
+
/**
|
|
8314
|
+
*
|
|
8315
|
+
* @param {string} orderId
|
|
8316
|
+
* @param {*} [options] Override http request option.
|
|
8317
|
+
* @throws {RequiredError}
|
|
8318
|
+
*/
|
|
8319
|
+
getOrderInvoice: async (orderId, options = {}) => {
|
|
8320
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
8321
|
+
(0, common_1.assertParamExists)('getOrderInvoice', 'orderId', orderId);
|
|
8322
|
+
const localVarPath = `/api/orders/{orderId}/invoice`
|
|
8323
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
8324
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8325
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8326
|
+
let baseOptions;
|
|
8327
|
+
if (configuration) {
|
|
8328
|
+
baseOptions = configuration.baseOptions;
|
|
8329
|
+
}
|
|
8330
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8331
|
+
const localVarHeaderParameter = {};
|
|
8332
|
+
const localVarQueryParameter = {};
|
|
8333
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8334
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8335
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8336
|
+
return {
|
|
8337
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8338
|
+
options: localVarRequestOptions,
|
|
8339
|
+
};
|
|
8340
|
+
},
|
|
8313
8341
|
/**
|
|
8314
8342
|
*
|
|
8315
8343
|
* @param {string} id
|
|
@@ -8589,6 +8617,43 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
8589
8617
|
options: localVarRequestOptions,
|
|
8590
8618
|
};
|
|
8591
8619
|
},
|
|
8620
|
+
/**
|
|
8621
|
+
*
|
|
8622
|
+
* @param {string} orderId
|
|
8623
|
+
* @param {File} file
|
|
8624
|
+
* @param {*} [options] Override http request option.
|
|
8625
|
+
* @throws {RequiredError}
|
|
8626
|
+
*/
|
|
8627
|
+
uploadOrderInvoice: async (orderId, file, options = {}) => {
|
|
8628
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
8629
|
+
(0, common_1.assertParamExists)('uploadOrderInvoice', 'orderId', orderId);
|
|
8630
|
+
// verify required parameter 'file' is not null or undefined
|
|
8631
|
+
(0, common_1.assertParamExists)('uploadOrderInvoice', 'file', file);
|
|
8632
|
+
const localVarPath = `/api/orders/{orderId}/invoice`
|
|
8633
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
8634
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8635
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8636
|
+
let baseOptions;
|
|
8637
|
+
if (configuration) {
|
|
8638
|
+
baseOptions = configuration.baseOptions;
|
|
8639
|
+
}
|
|
8640
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
8641
|
+
const localVarHeaderParameter = {};
|
|
8642
|
+
const localVarQueryParameter = {};
|
|
8643
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
8644
|
+
if (file !== undefined) {
|
|
8645
|
+
localVarFormParams.append('file', file);
|
|
8646
|
+
}
|
|
8647
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
8648
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8649
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8650
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8651
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
8652
|
+
return {
|
|
8653
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8654
|
+
options: localVarRequestOptions,
|
|
8655
|
+
};
|
|
8656
|
+
},
|
|
8592
8657
|
};
|
|
8593
8658
|
};
|
|
8594
8659
|
exports.OrderApiAxiosParamCreator = OrderApiAxiosParamCreator;
|
|
@@ -8694,6 +8759,18 @@ const OrderApiFp = function (configuration) {
|
|
|
8694
8759
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getOrderById']?.[localVarOperationServerIndex]?.url;
|
|
8695
8760
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8696
8761
|
},
|
|
8762
|
+
/**
|
|
8763
|
+
*
|
|
8764
|
+
* @param {string} orderId
|
|
8765
|
+
* @param {*} [options] Override http request option.
|
|
8766
|
+
* @throws {RequiredError}
|
|
8767
|
+
*/
|
|
8768
|
+
async getOrderInvoice(orderId, options) {
|
|
8769
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderInvoice(orderId, options);
|
|
8770
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8771
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getOrderInvoice']?.[localVarOperationServerIndex]?.url;
|
|
8772
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8773
|
+
},
|
|
8697
8774
|
/**
|
|
8698
8775
|
*
|
|
8699
8776
|
* @param {string} id
|
|
@@ -8796,6 +8873,19 @@ const OrderApiFp = function (configuration) {
|
|
|
8796
8873
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.updateShipped']?.[localVarOperationServerIndex]?.url;
|
|
8797
8874
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8798
8875
|
},
|
|
8876
|
+
/**
|
|
8877
|
+
*
|
|
8878
|
+
* @param {string} orderId
|
|
8879
|
+
* @param {File} file
|
|
8880
|
+
* @param {*} [options] Override http request option.
|
|
8881
|
+
* @throws {RequiredError}
|
|
8882
|
+
*/
|
|
8883
|
+
async uploadOrderInvoice(orderId, file, options) {
|
|
8884
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadOrderInvoice(orderId, file, options);
|
|
8885
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8886
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.uploadOrderInvoice']?.[localVarOperationServerIndex]?.url;
|
|
8887
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8888
|
+
},
|
|
8799
8889
|
};
|
|
8800
8890
|
};
|
|
8801
8891
|
exports.OrderApiFp = OrderApiFp;
|
|
@@ -8869,6 +8959,15 @@ const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
8869
8959
|
getOrderById(requestParameters, options) {
|
|
8870
8960
|
return localVarFp.getOrderById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
8871
8961
|
},
|
|
8962
|
+
/**
|
|
8963
|
+
*
|
|
8964
|
+
* @param {OrderApiGetOrderInvoiceRequest} requestParameters Request parameters.
|
|
8965
|
+
* @param {*} [options] Override http request option.
|
|
8966
|
+
* @throws {RequiredError}
|
|
8967
|
+
*/
|
|
8968
|
+
getOrderInvoice(requestParameters, options) {
|
|
8969
|
+
return localVarFp.getOrderInvoice(requestParameters.orderId, options).then((request) => request(axios, basePath));
|
|
8970
|
+
},
|
|
8872
8971
|
/**
|
|
8873
8972
|
*
|
|
8874
8973
|
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
@@ -8932,6 +9031,15 @@ const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
8932
9031
|
updateShipped(requestParameters, options) {
|
|
8933
9032
|
return localVarFp.updateShipped(requestParameters.orderId, requestParameters.shippedId, requestParameters.iOrderShippedUpdatePatchRequest, options).then((request) => request(axios, basePath));
|
|
8934
9033
|
},
|
|
9034
|
+
/**
|
|
9035
|
+
*
|
|
9036
|
+
* @param {OrderApiUploadOrderInvoiceRequest} requestParameters Request parameters.
|
|
9037
|
+
* @param {*} [options] Override http request option.
|
|
9038
|
+
* @throws {RequiredError}
|
|
9039
|
+
*/
|
|
9040
|
+
uploadOrderInvoice(requestParameters, options) {
|
|
9041
|
+
return localVarFp.uploadOrderInvoice(requestParameters.orderId, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
9042
|
+
},
|
|
8935
9043
|
};
|
|
8936
9044
|
};
|
|
8937
9045
|
exports.OrderApiFactory = OrderApiFactory;
|
|
@@ -9012,6 +9120,16 @@ class OrderApi extends base_1.BaseAPI {
|
|
|
9012
9120
|
getOrderById(requestParameters, options) {
|
|
9013
9121
|
return (0, exports.OrderApiFp)(this.configuration).getOrderById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
9014
9122
|
}
|
|
9123
|
+
/**
|
|
9124
|
+
*
|
|
9125
|
+
* @param {OrderApiGetOrderInvoiceRequest} requestParameters Request parameters.
|
|
9126
|
+
* @param {*} [options] Override http request option.
|
|
9127
|
+
* @throws {RequiredError}
|
|
9128
|
+
* @memberof OrderApi
|
|
9129
|
+
*/
|
|
9130
|
+
getOrderInvoice(requestParameters, options) {
|
|
9131
|
+
return (0, exports.OrderApiFp)(this.configuration).getOrderInvoice(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
9132
|
+
}
|
|
9015
9133
|
/**
|
|
9016
9134
|
*
|
|
9017
9135
|
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
@@ -9082,6 +9200,16 @@ class OrderApi extends base_1.BaseAPI {
|
|
|
9082
9200
|
updateShipped(requestParameters, options) {
|
|
9083
9201
|
return (0, exports.OrderApiFp)(this.configuration).updateShipped(requestParameters.orderId, requestParameters.shippedId, requestParameters.iOrderShippedUpdatePatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9084
9202
|
}
|
|
9203
|
+
/**
|
|
9204
|
+
*
|
|
9205
|
+
* @param {OrderApiUploadOrderInvoiceRequest} requestParameters Request parameters.
|
|
9206
|
+
* @param {*} [options] Override http request option.
|
|
9207
|
+
* @throws {RequiredError}
|
|
9208
|
+
* @memberof OrderApi
|
|
9209
|
+
*/
|
|
9210
|
+
uploadOrderInvoice(requestParameters, options) {
|
|
9211
|
+
return (0, exports.OrderApiFp)(this.configuration).uploadOrderInvoice(requestParameters.orderId, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
9212
|
+
}
|
|
9085
9213
|
}
|
|
9086
9214
|
exports.OrderApi = OrderApi;
|
|
9087
9215
|
/**
|
package/dist/api/api.mjs
CHANGED
|
@@ -8254,6 +8254,34 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
8254
8254
|
options: localVarRequestOptions,
|
|
8255
8255
|
};
|
|
8256
8256
|
},
|
|
8257
|
+
/**
|
|
8258
|
+
*
|
|
8259
|
+
* @param {string} orderId
|
|
8260
|
+
* @param {*} [options] Override http request option.
|
|
8261
|
+
* @throws {RequiredError}
|
|
8262
|
+
*/
|
|
8263
|
+
getOrderInvoice: async (orderId, options = {}) => {
|
|
8264
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
8265
|
+
assertParamExists('getOrderInvoice', 'orderId', orderId);
|
|
8266
|
+
const localVarPath = `/api/orders/{orderId}/invoice`
|
|
8267
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
8268
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8269
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8270
|
+
let baseOptions;
|
|
8271
|
+
if (configuration) {
|
|
8272
|
+
baseOptions = configuration.baseOptions;
|
|
8273
|
+
}
|
|
8274
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8275
|
+
const localVarHeaderParameter = {};
|
|
8276
|
+
const localVarQueryParameter = {};
|
|
8277
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8278
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8279
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8280
|
+
return {
|
|
8281
|
+
url: toPathString(localVarUrlObj),
|
|
8282
|
+
options: localVarRequestOptions,
|
|
8283
|
+
};
|
|
8284
|
+
},
|
|
8257
8285
|
/**
|
|
8258
8286
|
*
|
|
8259
8287
|
* @param {string} id
|
|
@@ -8533,6 +8561,43 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
8533
8561
|
options: localVarRequestOptions,
|
|
8534
8562
|
};
|
|
8535
8563
|
},
|
|
8564
|
+
/**
|
|
8565
|
+
*
|
|
8566
|
+
* @param {string} orderId
|
|
8567
|
+
* @param {File} file
|
|
8568
|
+
* @param {*} [options] Override http request option.
|
|
8569
|
+
* @throws {RequiredError}
|
|
8570
|
+
*/
|
|
8571
|
+
uploadOrderInvoice: async (orderId, file, options = {}) => {
|
|
8572
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
8573
|
+
assertParamExists('uploadOrderInvoice', 'orderId', orderId);
|
|
8574
|
+
// verify required parameter 'file' is not null or undefined
|
|
8575
|
+
assertParamExists('uploadOrderInvoice', 'file', file);
|
|
8576
|
+
const localVarPath = `/api/orders/{orderId}/invoice`
|
|
8577
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
8578
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8579
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8580
|
+
let baseOptions;
|
|
8581
|
+
if (configuration) {
|
|
8582
|
+
baseOptions = configuration.baseOptions;
|
|
8583
|
+
}
|
|
8584
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
8585
|
+
const localVarHeaderParameter = {};
|
|
8586
|
+
const localVarQueryParameter = {};
|
|
8587
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
8588
|
+
if (file !== undefined) {
|
|
8589
|
+
localVarFormParams.append('file', file);
|
|
8590
|
+
}
|
|
8591
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
8592
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8593
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8594
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8595
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
8596
|
+
return {
|
|
8597
|
+
url: toPathString(localVarUrlObj),
|
|
8598
|
+
options: localVarRequestOptions,
|
|
8599
|
+
};
|
|
8600
|
+
},
|
|
8536
8601
|
};
|
|
8537
8602
|
};
|
|
8538
8603
|
/**
|
|
@@ -8637,6 +8702,18 @@ export const OrderApiFp = function (configuration) {
|
|
|
8637
8702
|
const localVarOperationServerBasePath = operationServerMap['OrderApi.getOrderById']?.[localVarOperationServerIndex]?.url;
|
|
8638
8703
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8639
8704
|
},
|
|
8705
|
+
/**
|
|
8706
|
+
*
|
|
8707
|
+
* @param {string} orderId
|
|
8708
|
+
* @param {*} [options] Override http request option.
|
|
8709
|
+
* @throws {RequiredError}
|
|
8710
|
+
*/
|
|
8711
|
+
async getOrderInvoice(orderId, options) {
|
|
8712
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderInvoice(orderId, options);
|
|
8713
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8714
|
+
const localVarOperationServerBasePath = operationServerMap['OrderApi.getOrderInvoice']?.[localVarOperationServerIndex]?.url;
|
|
8715
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8716
|
+
},
|
|
8640
8717
|
/**
|
|
8641
8718
|
*
|
|
8642
8719
|
* @param {string} id
|
|
@@ -8739,6 +8816,19 @@ export const OrderApiFp = function (configuration) {
|
|
|
8739
8816
|
const localVarOperationServerBasePath = operationServerMap['OrderApi.updateShipped']?.[localVarOperationServerIndex]?.url;
|
|
8740
8817
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8741
8818
|
},
|
|
8819
|
+
/**
|
|
8820
|
+
*
|
|
8821
|
+
* @param {string} orderId
|
|
8822
|
+
* @param {File} file
|
|
8823
|
+
* @param {*} [options] Override http request option.
|
|
8824
|
+
* @throws {RequiredError}
|
|
8825
|
+
*/
|
|
8826
|
+
async uploadOrderInvoice(orderId, file, options) {
|
|
8827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadOrderInvoice(orderId, file, options);
|
|
8828
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8829
|
+
const localVarOperationServerBasePath = operationServerMap['OrderApi.uploadOrderInvoice']?.[localVarOperationServerIndex]?.url;
|
|
8830
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8831
|
+
},
|
|
8742
8832
|
};
|
|
8743
8833
|
};
|
|
8744
8834
|
/**
|
|
@@ -8811,6 +8901,15 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
8811
8901
|
getOrderById(requestParameters, options) {
|
|
8812
8902
|
return localVarFp.getOrderById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
8813
8903
|
},
|
|
8904
|
+
/**
|
|
8905
|
+
*
|
|
8906
|
+
* @param {OrderApiGetOrderInvoiceRequest} requestParameters Request parameters.
|
|
8907
|
+
* @param {*} [options] Override http request option.
|
|
8908
|
+
* @throws {RequiredError}
|
|
8909
|
+
*/
|
|
8910
|
+
getOrderInvoice(requestParameters, options) {
|
|
8911
|
+
return localVarFp.getOrderInvoice(requestParameters.orderId, options).then((request) => request(axios, basePath));
|
|
8912
|
+
},
|
|
8814
8913
|
/**
|
|
8815
8914
|
*
|
|
8816
8915
|
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
@@ -8874,6 +8973,15 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
8874
8973
|
updateShipped(requestParameters, options) {
|
|
8875
8974
|
return localVarFp.updateShipped(requestParameters.orderId, requestParameters.shippedId, requestParameters.iOrderShippedUpdatePatchRequest, options).then((request) => request(axios, basePath));
|
|
8876
8975
|
},
|
|
8976
|
+
/**
|
|
8977
|
+
*
|
|
8978
|
+
* @param {OrderApiUploadOrderInvoiceRequest} requestParameters Request parameters.
|
|
8979
|
+
* @param {*} [options] Override http request option.
|
|
8980
|
+
* @throws {RequiredError}
|
|
8981
|
+
*/
|
|
8982
|
+
uploadOrderInvoice(requestParameters, options) {
|
|
8983
|
+
return localVarFp.uploadOrderInvoice(requestParameters.orderId, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
8984
|
+
},
|
|
8877
8985
|
};
|
|
8878
8986
|
};
|
|
8879
8987
|
/**
|
|
@@ -8953,6 +9061,16 @@ export class OrderApi extends BaseAPI {
|
|
|
8953
9061
|
getOrderById(requestParameters, options) {
|
|
8954
9062
|
return OrderApiFp(this.configuration).getOrderById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
8955
9063
|
}
|
|
9064
|
+
/**
|
|
9065
|
+
*
|
|
9066
|
+
* @param {OrderApiGetOrderInvoiceRequest} requestParameters Request parameters.
|
|
9067
|
+
* @param {*} [options] Override http request option.
|
|
9068
|
+
* @throws {RequiredError}
|
|
9069
|
+
* @memberof OrderApi
|
|
9070
|
+
*/
|
|
9071
|
+
getOrderInvoice(requestParameters, options) {
|
|
9072
|
+
return OrderApiFp(this.configuration).getOrderInvoice(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
9073
|
+
}
|
|
8956
9074
|
/**
|
|
8957
9075
|
*
|
|
8958
9076
|
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
@@ -9023,6 +9141,16 @@ export class OrderApi extends BaseAPI {
|
|
|
9023
9141
|
updateShipped(requestParameters, options) {
|
|
9024
9142
|
return OrderApiFp(this.configuration).updateShipped(requestParameters.orderId, requestParameters.shippedId, requestParameters.iOrderShippedUpdatePatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9025
9143
|
}
|
|
9144
|
+
/**
|
|
9145
|
+
*
|
|
9146
|
+
* @param {OrderApiUploadOrderInvoiceRequest} requestParameters Request parameters.
|
|
9147
|
+
* @param {*} [options] Override http request option.
|
|
9148
|
+
* @throws {RequiredError}
|
|
9149
|
+
* @memberof OrderApi
|
|
9150
|
+
*/
|
|
9151
|
+
uploadOrderInvoice(requestParameters, options) {
|
|
9152
|
+
return OrderApiFp(this.configuration).uploadOrderInvoice(requestParameters.orderId, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
9153
|
+
}
|
|
9026
9154
|
}
|
|
9027
9155
|
/**
|
|
9028
9156
|
* @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.110",
|
|
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": "1284a6ca4e26b558c40d27266b8ef96b73563d66"
|
|
41
41
|
}
|