@infisale-client/api 1.2.77 → 1.2.78
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 +50 -0
- package/dist/api/api.js +64 -0
- package/dist/api/api.mjs +64 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -16431,6 +16431,14 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
16431
16431
|
* @throws {RequiredError}
|
|
16432
16432
|
*/
|
|
16433
16433
|
getOrderById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16434
|
+
/**
|
|
16435
|
+
*
|
|
16436
|
+
* @param {string} id
|
|
16437
|
+
* @param {string} productId
|
|
16438
|
+
* @param {*} [options] Override http request option.
|
|
16439
|
+
* @throws {RequiredError}
|
|
16440
|
+
*/
|
|
16441
|
+
getOrderProductReview: (id: string, productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16434
16442
|
/**
|
|
16435
16443
|
*
|
|
16436
16444
|
* @param {string} company
|
|
@@ -16539,6 +16547,14 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
16539
16547
|
* @throws {RequiredError}
|
|
16540
16548
|
*/
|
|
16541
16549
|
getOrderById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IOrderResponse>>;
|
|
16550
|
+
/**
|
|
16551
|
+
*
|
|
16552
|
+
* @param {string} id
|
|
16553
|
+
* @param {string} productId
|
|
16554
|
+
* @param {*} [options] Override http request option.
|
|
16555
|
+
* @throws {RequiredError}
|
|
16556
|
+
*/
|
|
16557
|
+
getOrderProductReview(id: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IReview>>;
|
|
16542
16558
|
/**
|
|
16543
16559
|
*
|
|
16544
16560
|
* @param {string} company
|
|
@@ -16637,6 +16653,13 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
16637
16653
|
* @throws {RequiredError}
|
|
16638
16654
|
*/
|
|
16639
16655
|
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<IOrderResponse>;
|
|
16656
|
+
/**
|
|
16657
|
+
*
|
|
16658
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
16659
|
+
* @param {*} [options] Override http request option.
|
|
16660
|
+
* @throws {RequiredError}
|
|
16661
|
+
*/
|
|
16662
|
+
getOrderProductReview(requestParameters: OrderApiGetOrderProductReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<IReview>;
|
|
16640
16663
|
/**
|
|
16641
16664
|
*
|
|
16642
16665
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -16811,6 +16834,25 @@ export interface OrderApiGetOrderByIdRequest {
|
|
|
16811
16834
|
*/
|
|
16812
16835
|
readonly id: string;
|
|
16813
16836
|
}
|
|
16837
|
+
/**
|
|
16838
|
+
* Request parameters for getOrderProductReview operation in OrderApi.
|
|
16839
|
+
* @export
|
|
16840
|
+
* @interface OrderApiGetOrderProductReviewRequest
|
|
16841
|
+
*/
|
|
16842
|
+
export interface OrderApiGetOrderProductReviewRequest {
|
|
16843
|
+
/**
|
|
16844
|
+
*
|
|
16845
|
+
* @type {string}
|
|
16846
|
+
* @memberof OrderApiGetOrderProductReview
|
|
16847
|
+
*/
|
|
16848
|
+
readonly id: string;
|
|
16849
|
+
/**
|
|
16850
|
+
*
|
|
16851
|
+
* @type {string}
|
|
16852
|
+
* @memberof OrderApiGetOrderProductReview
|
|
16853
|
+
*/
|
|
16854
|
+
readonly productId: string;
|
|
16855
|
+
}
|
|
16814
16856
|
/**
|
|
16815
16857
|
* Request parameters for getOrders operation in OrderApi.
|
|
16816
16858
|
* @export
|
|
@@ -17021,6 +17063,14 @@ export declare class OrderApi extends BaseAPI {
|
|
|
17021
17063
|
* @memberof OrderApi
|
|
17022
17064
|
*/
|
|
17023
17065
|
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IOrderResponse, any>>;
|
|
17066
|
+
/**
|
|
17067
|
+
*
|
|
17068
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
17069
|
+
* @param {*} [options] Override http request option.
|
|
17070
|
+
* @throws {RequiredError}
|
|
17071
|
+
* @memberof OrderApi
|
|
17072
|
+
*/
|
|
17073
|
+
getOrderProductReview(requestParameters: OrderApiGetOrderProductReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IReview, any>>;
|
|
17024
17074
|
/**
|
|
17025
17075
|
*
|
|
17026
17076
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -7316,6 +7316,38 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
7316
7316
|
options: localVarRequestOptions,
|
|
7317
7317
|
};
|
|
7318
7318
|
},
|
|
7319
|
+
/**
|
|
7320
|
+
*
|
|
7321
|
+
* @param {string} id
|
|
7322
|
+
* @param {string} productId
|
|
7323
|
+
* @param {*} [options] Override http request option.
|
|
7324
|
+
* @throws {RequiredError}
|
|
7325
|
+
*/
|
|
7326
|
+
getOrderProductReview: async (id, productId, options = {}) => {
|
|
7327
|
+
// verify required parameter 'id' is not null or undefined
|
|
7328
|
+
(0, common_1.assertParamExists)('getOrderProductReview', 'id', id);
|
|
7329
|
+
// verify required parameter 'productId' is not null or undefined
|
|
7330
|
+
(0, common_1.assertParamExists)('getOrderProductReview', 'productId', productId);
|
|
7331
|
+
const localVarPath = `/api/orders/{id}/product/{productId}/review`
|
|
7332
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
7333
|
+
.replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
|
|
7334
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7335
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7336
|
+
let baseOptions;
|
|
7337
|
+
if (configuration) {
|
|
7338
|
+
baseOptions = configuration.baseOptions;
|
|
7339
|
+
}
|
|
7340
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7341
|
+
const localVarHeaderParameter = {};
|
|
7342
|
+
const localVarQueryParameter = {};
|
|
7343
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7344
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7345
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7346
|
+
return {
|
|
7347
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7348
|
+
options: localVarRequestOptions,
|
|
7349
|
+
};
|
|
7350
|
+
},
|
|
7319
7351
|
/**
|
|
7320
7352
|
*
|
|
7321
7353
|
* @param {string} company
|
|
@@ -7618,6 +7650,19 @@ const OrderApiFp = function (configuration) {
|
|
|
7618
7650
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getOrderById']?.[localVarOperationServerIndex]?.url;
|
|
7619
7651
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7620
7652
|
},
|
|
7653
|
+
/**
|
|
7654
|
+
*
|
|
7655
|
+
* @param {string} id
|
|
7656
|
+
* @param {string} productId
|
|
7657
|
+
* @param {*} [options] Override http request option.
|
|
7658
|
+
* @throws {RequiredError}
|
|
7659
|
+
*/
|
|
7660
|
+
async getOrderProductReview(id, productId, options) {
|
|
7661
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderProductReview(id, productId, options);
|
|
7662
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7663
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getOrderProductReview']?.[localVarOperationServerIndex]?.url;
|
|
7664
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7665
|
+
},
|
|
7621
7666
|
/**
|
|
7622
7667
|
*
|
|
7623
7668
|
* @param {string} company
|
|
@@ -7757,6 +7802,15 @@ const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
7757
7802
|
getOrderById(requestParameters, options) {
|
|
7758
7803
|
return localVarFp.getOrderById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7759
7804
|
},
|
|
7805
|
+
/**
|
|
7806
|
+
*
|
|
7807
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
7808
|
+
* @param {*} [options] Override http request option.
|
|
7809
|
+
* @throws {RequiredError}
|
|
7810
|
+
*/
|
|
7811
|
+
getOrderProductReview(requestParameters, options) {
|
|
7812
|
+
return localVarFp.getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(axios, basePath));
|
|
7813
|
+
},
|
|
7760
7814
|
/**
|
|
7761
7815
|
*
|
|
7762
7816
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -7872,6 +7926,16 @@ class OrderApi extends base_1.BaseAPI {
|
|
|
7872
7926
|
getOrderById(requestParameters, options) {
|
|
7873
7927
|
return (0, exports.OrderApiFp)(this.configuration).getOrderById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7874
7928
|
}
|
|
7929
|
+
/**
|
|
7930
|
+
*
|
|
7931
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
7932
|
+
* @param {*} [options] Override http request option.
|
|
7933
|
+
* @throws {RequiredError}
|
|
7934
|
+
* @memberof OrderApi
|
|
7935
|
+
*/
|
|
7936
|
+
getOrderProductReview(requestParameters, options) {
|
|
7937
|
+
return (0, exports.OrderApiFp)(this.configuration).getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
7938
|
+
}
|
|
7875
7939
|
/**
|
|
7876
7940
|
*
|
|
7877
7941
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
package/dist/api/api.mjs
CHANGED
|
@@ -7260,6 +7260,38 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
7260
7260
|
options: localVarRequestOptions,
|
|
7261
7261
|
};
|
|
7262
7262
|
},
|
|
7263
|
+
/**
|
|
7264
|
+
*
|
|
7265
|
+
* @param {string} id
|
|
7266
|
+
* @param {string} productId
|
|
7267
|
+
* @param {*} [options] Override http request option.
|
|
7268
|
+
* @throws {RequiredError}
|
|
7269
|
+
*/
|
|
7270
|
+
getOrderProductReview: async (id, productId, options = {}) => {
|
|
7271
|
+
// verify required parameter 'id' is not null or undefined
|
|
7272
|
+
assertParamExists('getOrderProductReview', 'id', id);
|
|
7273
|
+
// verify required parameter 'productId' is not null or undefined
|
|
7274
|
+
assertParamExists('getOrderProductReview', 'productId', productId);
|
|
7275
|
+
const localVarPath = `/api/orders/{id}/product/{productId}/review`
|
|
7276
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
7277
|
+
.replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
|
|
7278
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7279
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7280
|
+
let baseOptions;
|
|
7281
|
+
if (configuration) {
|
|
7282
|
+
baseOptions = configuration.baseOptions;
|
|
7283
|
+
}
|
|
7284
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7285
|
+
const localVarHeaderParameter = {};
|
|
7286
|
+
const localVarQueryParameter = {};
|
|
7287
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7288
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7289
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7290
|
+
return {
|
|
7291
|
+
url: toPathString(localVarUrlObj),
|
|
7292
|
+
options: localVarRequestOptions,
|
|
7293
|
+
};
|
|
7294
|
+
},
|
|
7263
7295
|
/**
|
|
7264
7296
|
*
|
|
7265
7297
|
* @param {string} company
|
|
@@ -7561,6 +7593,19 @@ export const OrderApiFp = function (configuration) {
|
|
|
7561
7593
|
const localVarOperationServerBasePath = operationServerMap['OrderApi.getOrderById']?.[localVarOperationServerIndex]?.url;
|
|
7562
7594
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7563
7595
|
},
|
|
7596
|
+
/**
|
|
7597
|
+
*
|
|
7598
|
+
* @param {string} id
|
|
7599
|
+
* @param {string} productId
|
|
7600
|
+
* @param {*} [options] Override http request option.
|
|
7601
|
+
* @throws {RequiredError}
|
|
7602
|
+
*/
|
|
7603
|
+
async getOrderProductReview(id, productId, options) {
|
|
7604
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderProductReview(id, productId, options);
|
|
7605
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7606
|
+
const localVarOperationServerBasePath = operationServerMap['OrderApi.getOrderProductReview']?.[localVarOperationServerIndex]?.url;
|
|
7607
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7608
|
+
},
|
|
7564
7609
|
/**
|
|
7565
7610
|
*
|
|
7566
7611
|
* @param {string} company
|
|
@@ -7699,6 +7744,15 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
7699
7744
|
getOrderById(requestParameters, options) {
|
|
7700
7745
|
return localVarFp.getOrderById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7701
7746
|
},
|
|
7747
|
+
/**
|
|
7748
|
+
*
|
|
7749
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
7750
|
+
* @param {*} [options] Override http request option.
|
|
7751
|
+
* @throws {RequiredError}
|
|
7752
|
+
*/
|
|
7753
|
+
getOrderProductReview(requestParameters, options) {
|
|
7754
|
+
return localVarFp.getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(axios, basePath));
|
|
7755
|
+
},
|
|
7702
7756
|
/**
|
|
7703
7757
|
*
|
|
7704
7758
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -7813,6 +7867,16 @@ export class OrderApi extends BaseAPI {
|
|
|
7813
7867
|
getOrderById(requestParameters, options) {
|
|
7814
7868
|
return OrderApiFp(this.configuration).getOrderById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7815
7869
|
}
|
|
7870
|
+
/**
|
|
7871
|
+
*
|
|
7872
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
7873
|
+
* @param {*} [options] Override http request option.
|
|
7874
|
+
* @throws {RequiredError}
|
|
7875
|
+
* @memberof OrderApi
|
|
7876
|
+
*/
|
|
7877
|
+
getOrderProductReview(requestParameters, options) {
|
|
7878
|
+
return OrderApiFp(this.configuration).getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
7879
|
+
}
|
|
7816
7880
|
/**
|
|
7817
7881
|
*
|
|
7818
7882
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.78",
|
|
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": "294183d29b9438ce08e5e6854b0deff927a417cd"
|
|
41
41
|
}
|