@infisale-client/api-client 1.1.37 → 1.1.38
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 +58 -0
- package/dist/api/api.js +71 -0
- package/dist/api/api.mjs +71 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -9910,6 +9910,15 @@ export declare class ProductApi extends BaseAPI {
|
|
|
9910
9910
|
* @export
|
|
9911
9911
|
*/
|
|
9912
9912
|
export declare const SitemapApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
9913
|
+
/**
|
|
9914
|
+
*
|
|
9915
|
+
* @param {string} type
|
|
9916
|
+
* @param {string} page
|
|
9917
|
+
* @param {string} domain
|
|
9918
|
+
* @param {*} [options] Override http request option.
|
|
9919
|
+
* @throws {RequiredError}
|
|
9920
|
+
*/
|
|
9921
|
+
getSitemapByType: (type: string, page: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9913
9922
|
/**
|
|
9914
9923
|
*
|
|
9915
9924
|
* @param {string} domain
|
|
@@ -9923,6 +9932,15 @@ export declare const SitemapApiAxiosParamCreator: (configuration?: Configuration
|
|
|
9923
9932
|
* @export
|
|
9924
9933
|
*/
|
|
9925
9934
|
export declare const SitemapApiFp: (configuration?: Configuration) => {
|
|
9935
|
+
/**
|
|
9936
|
+
*
|
|
9937
|
+
* @param {string} type
|
|
9938
|
+
* @param {string} page
|
|
9939
|
+
* @param {string} domain
|
|
9940
|
+
* @param {*} [options] Override http request option.
|
|
9941
|
+
* @throws {RequiredError}
|
|
9942
|
+
*/
|
|
9943
|
+
getSitemapByType(type: string, page: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ISitemapResponse>>;
|
|
9926
9944
|
/**
|
|
9927
9945
|
*
|
|
9928
9946
|
* @param {string} domain
|
|
@@ -9936,6 +9954,13 @@ export declare const SitemapApiFp: (configuration?: Configuration) => {
|
|
|
9936
9954
|
* @export
|
|
9937
9955
|
*/
|
|
9938
9956
|
export declare const SitemapApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
9957
|
+
/**
|
|
9958
|
+
*
|
|
9959
|
+
* @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
|
|
9960
|
+
* @param {*} [options] Override http request option.
|
|
9961
|
+
* @throws {RequiredError}
|
|
9962
|
+
*/
|
|
9963
|
+
getSitemapByType(requestParameters: SitemapApiGetSitemapByTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ISitemapResponse>;
|
|
9939
9964
|
/**
|
|
9940
9965
|
*
|
|
9941
9966
|
* @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
|
|
@@ -9944,6 +9969,31 @@ export declare const SitemapApiFactory: (configuration?: Configuration, basePath
|
|
|
9944
9969
|
*/
|
|
9945
9970
|
getSitemaps(requestParameters: SitemapApiGetSitemapsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ISitemapsResponse>;
|
|
9946
9971
|
};
|
|
9972
|
+
/**
|
|
9973
|
+
* Request parameters for getSitemapByType operation in SitemapApi.
|
|
9974
|
+
* @export
|
|
9975
|
+
* @interface SitemapApiGetSitemapByTypeRequest
|
|
9976
|
+
*/
|
|
9977
|
+
export interface SitemapApiGetSitemapByTypeRequest {
|
|
9978
|
+
/**
|
|
9979
|
+
*
|
|
9980
|
+
* @type {string}
|
|
9981
|
+
* @memberof SitemapApiGetSitemapByType
|
|
9982
|
+
*/
|
|
9983
|
+
readonly type: string;
|
|
9984
|
+
/**
|
|
9985
|
+
*
|
|
9986
|
+
* @type {string}
|
|
9987
|
+
* @memberof SitemapApiGetSitemapByType
|
|
9988
|
+
*/
|
|
9989
|
+
readonly page: string;
|
|
9990
|
+
/**
|
|
9991
|
+
*
|
|
9992
|
+
* @type {string}
|
|
9993
|
+
* @memberof SitemapApiGetSitemapByType
|
|
9994
|
+
*/
|
|
9995
|
+
readonly domain: string;
|
|
9996
|
+
}
|
|
9947
9997
|
/**
|
|
9948
9998
|
* Request parameters for getSitemaps operation in SitemapApi.
|
|
9949
9999
|
* @export
|
|
@@ -9964,6 +10014,14 @@ export interface SitemapApiGetSitemapsRequest {
|
|
|
9964
10014
|
* @extends {BaseAPI}
|
|
9965
10015
|
*/
|
|
9966
10016
|
export declare class SitemapApi extends BaseAPI {
|
|
10017
|
+
/**
|
|
10018
|
+
*
|
|
10019
|
+
* @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
|
|
10020
|
+
* @param {*} [options] Override http request option.
|
|
10021
|
+
* @throws {RequiredError}
|
|
10022
|
+
* @memberof SitemapApi
|
|
10023
|
+
*/
|
|
10024
|
+
getSitemapByType(requestParameters: SitemapApiGetSitemapByTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ISitemapResponse, any>>;
|
|
9967
10025
|
/**
|
|
9968
10026
|
*
|
|
9969
10027
|
* @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -2356,6 +2356,44 @@ exports.ProductApi = ProductApi;
|
|
|
2356
2356
|
*/
|
|
2357
2357
|
const SitemapApiAxiosParamCreator = function (configuration) {
|
|
2358
2358
|
return {
|
|
2359
|
+
/**
|
|
2360
|
+
*
|
|
2361
|
+
* @param {string} type
|
|
2362
|
+
* @param {string} page
|
|
2363
|
+
* @param {string} domain
|
|
2364
|
+
* @param {*} [options] Override http request option.
|
|
2365
|
+
* @throws {RequiredError}
|
|
2366
|
+
*/
|
|
2367
|
+
getSitemapByType: async (type, page, domain, options = {}) => {
|
|
2368
|
+
// verify required parameter 'type' is not null or undefined
|
|
2369
|
+
(0, common_1.assertParamExists)('getSitemapByType', 'type', type);
|
|
2370
|
+
// verify required parameter 'page' is not null or undefined
|
|
2371
|
+
(0, common_1.assertParamExists)('getSitemapByType', 'page', page);
|
|
2372
|
+
// verify required parameter 'domain' is not null or undefined
|
|
2373
|
+
(0, common_1.assertParamExists)('getSitemapByType', 'domain', domain);
|
|
2374
|
+
const localVarPath = `/api/sitemaps/{type}/{page}`
|
|
2375
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
2376
|
+
.replace(`{${"page"}}`, encodeURIComponent(String(page)));
|
|
2377
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2378
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2379
|
+
let baseOptions;
|
|
2380
|
+
if (configuration) {
|
|
2381
|
+
baseOptions = configuration.baseOptions;
|
|
2382
|
+
}
|
|
2383
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2384
|
+
const localVarHeaderParameter = {};
|
|
2385
|
+
const localVarQueryParameter = {};
|
|
2386
|
+
if (domain !== undefined) {
|
|
2387
|
+
localVarQueryParameter['domain'] = domain;
|
|
2388
|
+
}
|
|
2389
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2390
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2391
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2392
|
+
return {
|
|
2393
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2394
|
+
options: localVarRequestOptions,
|
|
2395
|
+
};
|
|
2396
|
+
},
|
|
2359
2397
|
/**
|
|
2360
2398
|
*
|
|
2361
2399
|
* @param {string} domain
|
|
@@ -2396,6 +2434,20 @@ exports.SitemapApiAxiosParamCreator = SitemapApiAxiosParamCreator;
|
|
|
2396
2434
|
const SitemapApiFp = function (configuration) {
|
|
2397
2435
|
const localVarAxiosParamCreator = (0, exports.SitemapApiAxiosParamCreator)(configuration);
|
|
2398
2436
|
return {
|
|
2437
|
+
/**
|
|
2438
|
+
*
|
|
2439
|
+
* @param {string} type
|
|
2440
|
+
* @param {string} page
|
|
2441
|
+
* @param {string} domain
|
|
2442
|
+
* @param {*} [options] Override http request option.
|
|
2443
|
+
* @throws {RequiredError}
|
|
2444
|
+
*/
|
|
2445
|
+
async getSitemapByType(type, page, domain, options) {
|
|
2446
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemapByType(type, page, domain, options);
|
|
2447
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2448
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SitemapApi.getSitemapByType']?.[localVarOperationServerIndex]?.url;
|
|
2449
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2450
|
+
},
|
|
2399
2451
|
/**
|
|
2400
2452
|
*
|
|
2401
2453
|
* @param {string} domain
|
|
@@ -2418,6 +2470,15 @@ exports.SitemapApiFp = SitemapApiFp;
|
|
|
2418
2470
|
const SitemapApiFactory = function (configuration, basePath, axios) {
|
|
2419
2471
|
const localVarFp = (0, exports.SitemapApiFp)(configuration);
|
|
2420
2472
|
return {
|
|
2473
|
+
/**
|
|
2474
|
+
*
|
|
2475
|
+
* @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
|
|
2476
|
+
* @param {*} [options] Override http request option.
|
|
2477
|
+
* @throws {RequiredError}
|
|
2478
|
+
*/
|
|
2479
|
+
getSitemapByType(requestParameters, options) {
|
|
2480
|
+
return localVarFp.getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2481
|
+
},
|
|
2421
2482
|
/**
|
|
2422
2483
|
*
|
|
2423
2484
|
* @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
|
|
@@ -2437,6 +2498,16 @@ exports.SitemapApiFactory = SitemapApiFactory;
|
|
|
2437
2498
|
* @extends {BaseAPI}
|
|
2438
2499
|
*/
|
|
2439
2500
|
class SitemapApi extends base_1.BaseAPI {
|
|
2501
|
+
/**
|
|
2502
|
+
*
|
|
2503
|
+
* @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
|
|
2504
|
+
* @param {*} [options] Override http request option.
|
|
2505
|
+
* @throws {RequiredError}
|
|
2506
|
+
* @memberof SitemapApi
|
|
2507
|
+
*/
|
|
2508
|
+
getSitemapByType(requestParameters, options) {
|
|
2509
|
+
return (0, exports.SitemapApiFp)(this.configuration).getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2510
|
+
}
|
|
2440
2511
|
/**
|
|
2441
2512
|
*
|
|
2442
2513
|
* @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
|
package/dist/api/api.mjs
CHANGED
|
@@ -2318,6 +2318,44 @@ export class ProductApi extends BaseAPI {
|
|
|
2318
2318
|
*/
|
|
2319
2319
|
export const SitemapApiAxiosParamCreator = function (configuration) {
|
|
2320
2320
|
return {
|
|
2321
|
+
/**
|
|
2322
|
+
*
|
|
2323
|
+
* @param {string} type
|
|
2324
|
+
* @param {string} page
|
|
2325
|
+
* @param {string} domain
|
|
2326
|
+
* @param {*} [options] Override http request option.
|
|
2327
|
+
* @throws {RequiredError}
|
|
2328
|
+
*/
|
|
2329
|
+
getSitemapByType: async (type, page, domain, options = {}) => {
|
|
2330
|
+
// verify required parameter 'type' is not null or undefined
|
|
2331
|
+
assertParamExists('getSitemapByType', 'type', type);
|
|
2332
|
+
// verify required parameter 'page' is not null or undefined
|
|
2333
|
+
assertParamExists('getSitemapByType', 'page', page);
|
|
2334
|
+
// verify required parameter 'domain' is not null or undefined
|
|
2335
|
+
assertParamExists('getSitemapByType', 'domain', domain);
|
|
2336
|
+
const localVarPath = `/api/sitemaps/{type}/{page}`
|
|
2337
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
2338
|
+
.replace(`{${"page"}}`, encodeURIComponent(String(page)));
|
|
2339
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2340
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2341
|
+
let baseOptions;
|
|
2342
|
+
if (configuration) {
|
|
2343
|
+
baseOptions = configuration.baseOptions;
|
|
2344
|
+
}
|
|
2345
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2346
|
+
const localVarHeaderParameter = {};
|
|
2347
|
+
const localVarQueryParameter = {};
|
|
2348
|
+
if (domain !== undefined) {
|
|
2349
|
+
localVarQueryParameter['domain'] = domain;
|
|
2350
|
+
}
|
|
2351
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2352
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2353
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2354
|
+
return {
|
|
2355
|
+
url: toPathString(localVarUrlObj),
|
|
2356
|
+
options: localVarRequestOptions,
|
|
2357
|
+
};
|
|
2358
|
+
},
|
|
2321
2359
|
/**
|
|
2322
2360
|
*
|
|
2323
2361
|
* @param {string} domain
|
|
@@ -2357,6 +2395,20 @@ export const SitemapApiAxiosParamCreator = function (configuration) {
|
|
|
2357
2395
|
export const SitemapApiFp = function (configuration) {
|
|
2358
2396
|
const localVarAxiosParamCreator = SitemapApiAxiosParamCreator(configuration);
|
|
2359
2397
|
return {
|
|
2398
|
+
/**
|
|
2399
|
+
*
|
|
2400
|
+
* @param {string} type
|
|
2401
|
+
* @param {string} page
|
|
2402
|
+
* @param {string} domain
|
|
2403
|
+
* @param {*} [options] Override http request option.
|
|
2404
|
+
* @throws {RequiredError}
|
|
2405
|
+
*/
|
|
2406
|
+
async getSitemapByType(type, page, domain, options) {
|
|
2407
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemapByType(type, page, domain, options);
|
|
2408
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2409
|
+
const localVarOperationServerBasePath = operationServerMap['SitemapApi.getSitemapByType']?.[localVarOperationServerIndex]?.url;
|
|
2410
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2411
|
+
},
|
|
2360
2412
|
/**
|
|
2361
2413
|
*
|
|
2362
2414
|
* @param {string} domain
|
|
@@ -2378,6 +2430,15 @@ export const SitemapApiFp = function (configuration) {
|
|
|
2378
2430
|
export const SitemapApiFactory = function (configuration, basePath, axios) {
|
|
2379
2431
|
const localVarFp = SitemapApiFp(configuration);
|
|
2380
2432
|
return {
|
|
2433
|
+
/**
|
|
2434
|
+
*
|
|
2435
|
+
* @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
|
|
2436
|
+
* @param {*} [options] Override http request option.
|
|
2437
|
+
* @throws {RequiredError}
|
|
2438
|
+
*/
|
|
2439
|
+
getSitemapByType(requestParameters, options) {
|
|
2440
|
+
return localVarFp.getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2441
|
+
},
|
|
2381
2442
|
/**
|
|
2382
2443
|
*
|
|
2383
2444
|
* @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
|
|
@@ -2396,6 +2457,16 @@ export const SitemapApiFactory = function (configuration, basePath, axios) {
|
|
|
2396
2457
|
* @extends {BaseAPI}
|
|
2397
2458
|
*/
|
|
2398
2459
|
export class SitemapApi extends BaseAPI {
|
|
2460
|
+
/**
|
|
2461
|
+
*
|
|
2462
|
+
* @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
|
|
2463
|
+
* @param {*} [options] Override http request option.
|
|
2464
|
+
* @throws {RequiredError}
|
|
2465
|
+
* @memberof SitemapApi
|
|
2466
|
+
*/
|
|
2467
|
+
getSitemapByType(requestParameters, options) {
|
|
2468
|
+
return SitemapApiFp(this.configuration).getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2469
|
+
}
|
|
2399
2470
|
/**
|
|
2400
2471
|
*
|
|
2401
2472
|
* @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.38",
|
|
4
4
|
"description": "api-client-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": "cb341b93f6dff49c149a0d2eabe3ed1def18e812"
|
|
41
41
|
}
|