@infisale-client/api-client 1.2.106 → 1.2.107
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 +42 -0
- package/dist/api/api.js +59 -0
- package/dist/api/api.mjs +59 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -13629,6 +13629,13 @@ export type GetCollectionsDateFieldEnum = typeof GetCollectionsDateFieldEnum[key
|
|
|
13629
13629
|
* @export
|
|
13630
13630
|
*/
|
|
13631
13631
|
export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13632
|
+
/**
|
|
13633
|
+
*
|
|
13634
|
+
* @param {string} id
|
|
13635
|
+
* @param {*} [options] Override http request option.
|
|
13636
|
+
* @throws {RequiredError}
|
|
13637
|
+
*/
|
|
13638
|
+
getCompanyAvailablePaymentGateways: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13632
13639
|
/**
|
|
13633
13640
|
*
|
|
13634
13641
|
* @param {string} domain
|
|
@@ -13642,6 +13649,13 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
13642
13649
|
* @export
|
|
13643
13650
|
*/
|
|
13644
13651
|
export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
13652
|
+
/**
|
|
13653
|
+
*
|
|
13654
|
+
* @param {string} id
|
|
13655
|
+
* @param {*} [options] Override http request option.
|
|
13656
|
+
* @throws {RequiredError}
|
|
13657
|
+
*/
|
|
13658
|
+
getCompanyAvailablePaymentGateways(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompanyAvailablePaymentGatewaysResponse>>;
|
|
13645
13659
|
/**
|
|
13646
13660
|
*
|
|
13647
13661
|
* @param {string} domain
|
|
@@ -13655,6 +13669,13 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
13655
13669
|
* @export
|
|
13656
13670
|
*/
|
|
13657
13671
|
export declare const CompanyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13672
|
+
/**
|
|
13673
|
+
*
|
|
13674
|
+
* @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
|
|
13675
|
+
* @param {*} [options] Override http request option.
|
|
13676
|
+
* @throws {RequiredError}
|
|
13677
|
+
*/
|
|
13678
|
+
getCompanyAvailablePaymentGateways(requestParameters: CompanyApiGetCompanyAvailablePaymentGatewaysRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyAvailablePaymentGatewaysResponse>;
|
|
13658
13679
|
/**
|
|
13659
13680
|
*
|
|
13660
13681
|
* @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
|
|
@@ -13663,6 +13684,19 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
13663
13684
|
*/
|
|
13664
13685
|
getCompanyByDomainName(requestParameters: CompanyApiGetCompanyByDomainNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyResponse>;
|
|
13665
13686
|
};
|
|
13687
|
+
/**
|
|
13688
|
+
* Request parameters for getCompanyAvailablePaymentGateways operation in CompanyApi.
|
|
13689
|
+
* @export
|
|
13690
|
+
* @interface CompanyApiGetCompanyAvailablePaymentGatewaysRequest
|
|
13691
|
+
*/
|
|
13692
|
+
export interface CompanyApiGetCompanyAvailablePaymentGatewaysRequest {
|
|
13693
|
+
/**
|
|
13694
|
+
*
|
|
13695
|
+
* @type {string}
|
|
13696
|
+
* @memberof CompanyApiGetCompanyAvailablePaymentGateways
|
|
13697
|
+
*/
|
|
13698
|
+
readonly id: string;
|
|
13699
|
+
}
|
|
13666
13700
|
/**
|
|
13667
13701
|
* Request parameters for getCompanyByDomainName operation in CompanyApi.
|
|
13668
13702
|
* @export
|
|
@@ -13683,6 +13717,14 @@ export interface CompanyApiGetCompanyByDomainNameRequest {
|
|
|
13683
13717
|
* @extends {BaseAPI}
|
|
13684
13718
|
*/
|
|
13685
13719
|
export declare class CompanyApi extends BaseAPI {
|
|
13720
|
+
/**
|
|
13721
|
+
*
|
|
13722
|
+
* @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
|
|
13723
|
+
* @param {*} [options] Override http request option.
|
|
13724
|
+
* @throws {RequiredError}
|
|
13725
|
+
* @memberof CompanyApi
|
|
13726
|
+
*/
|
|
13727
|
+
getCompanyAvailablePaymentGateways(requestParameters: CompanyApiGetCompanyAvailablePaymentGatewaysRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompanyAvailablePaymentGatewaysResponse, any>>;
|
|
13686
13728
|
/**
|
|
13687
13729
|
*
|
|
13688
13730
|
* @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -2254,6 +2254,34 @@ exports.GetCollectionsDateFieldEnum = {
|
|
|
2254
2254
|
*/
|
|
2255
2255
|
const CompanyApiAxiosParamCreator = function (configuration) {
|
|
2256
2256
|
return {
|
|
2257
|
+
/**
|
|
2258
|
+
*
|
|
2259
|
+
* @param {string} id
|
|
2260
|
+
* @param {*} [options] Override http request option.
|
|
2261
|
+
* @throws {RequiredError}
|
|
2262
|
+
*/
|
|
2263
|
+
getCompanyAvailablePaymentGateways: async (id, options = {}) => {
|
|
2264
|
+
// verify required parameter 'id' is not null or undefined
|
|
2265
|
+
(0, common_1.assertParamExists)('getCompanyAvailablePaymentGateways', 'id', id);
|
|
2266
|
+
const localVarPath = `/api/companies/{id}/payment-gateways/available`
|
|
2267
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2268
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2269
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2270
|
+
let baseOptions;
|
|
2271
|
+
if (configuration) {
|
|
2272
|
+
baseOptions = configuration.baseOptions;
|
|
2273
|
+
}
|
|
2274
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2275
|
+
const localVarHeaderParameter = {};
|
|
2276
|
+
const localVarQueryParameter = {};
|
|
2277
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2278
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2279
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2280
|
+
return {
|
|
2281
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2282
|
+
options: localVarRequestOptions,
|
|
2283
|
+
};
|
|
2284
|
+
},
|
|
2257
2285
|
/**
|
|
2258
2286
|
*
|
|
2259
2287
|
* @param {string} domain
|
|
@@ -2292,6 +2320,18 @@ exports.CompanyApiAxiosParamCreator = CompanyApiAxiosParamCreator;
|
|
|
2292
2320
|
const CompanyApiFp = function (configuration) {
|
|
2293
2321
|
const localVarAxiosParamCreator = (0, exports.CompanyApiAxiosParamCreator)(configuration);
|
|
2294
2322
|
return {
|
|
2323
|
+
/**
|
|
2324
|
+
*
|
|
2325
|
+
* @param {string} id
|
|
2326
|
+
* @param {*} [options] Override http request option.
|
|
2327
|
+
* @throws {RequiredError}
|
|
2328
|
+
*/
|
|
2329
|
+
async getCompanyAvailablePaymentGateways(id, options) {
|
|
2330
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyAvailablePaymentGateways(id, options);
|
|
2331
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2332
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyAvailablePaymentGateways']?.[localVarOperationServerIndex]?.url;
|
|
2333
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2334
|
+
},
|
|
2295
2335
|
/**
|
|
2296
2336
|
*
|
|
2297
2337
|
* @param {string} domain
|
|
@@ -2314,6 +2354,15 @@ exports.CompanyApiFp = CompanyApiFp;
|
|
|
2314
2354
|
const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
2315
2355
|
const localVarFp = (0, exports.CompanyApiFp)(configuration);
|
|
2316
2356
|
return {
|
|
2357
|
+
/**
|
|
2358
|
+
*
|
|
2359
|
+
* @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
|
|
2360
|
+
* @param {*} [options] Override http request option.
|
|
2361
|
+
* @throws {RequiredError}
|
|
2362
|
+
*/
|
|
2363
|
+
getCompanyAvailablePaymentGateways(requestParameters, options) {
|
|
2364
|
+
return localVarFp.getCompanyAvailablePaymentGateways(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2365
|
+
},
|
|
2317
2366
|
/**
|
|
2318
2367
|
*
|
|
2319
2368
|
* @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
|
|
@@ -2333,6 +2382,16 @@ exports.CompanyApiFactory = CompanyApiFactory;
|
|
|
2333
2382
|
* @extends {BaseAPI}
|
|
2334
2383
|
*/
|
|
2335
2384
|
class CompanyApi extends base_1.BaseAPI {
|
|
2385
|
+
/**
|
|
2386
|
+
*
|
|
2387
|
+
* @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
|
|
2388
|
+
* @param {*} [options] Override http request option.
|
|
2389
|
+
* @throws {RequiredError}
|
|
2390
|
+
* @memberof CompanyApi
|
|
2391
|
+
*/
|
|
2392
|
+
getCompanyAvailablePaymentGateways(requestParameters, options) {
|
|
2393
|
+
return (0, exports.CompanyApiFp)(this.configuration).getCompanyAvailablePaymentGateways(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2394
|
+
}
|
|
2336
2395
|
/**
|
|
2337
2396
|
*
|
|
2338
2397
|
* @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
|
package/dist/api/api.mjs
CHANGED
|
@@ -2227,6 +2227,34 @@ export const GetCollectionsDateFieldEnum = {
|
|
|
2227
2227
|
*/
|
|
2228
2228
|
export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
2229
2229
|
return {
|
|
2230
|
+
/**
|
|
2231
|
+
*
|
|
2232
|
+
* @param {string} id
|
|
2233
|
+
* @param {*} [options] Override http request option.
|
|
2234
|
+
* @throws {RequiredError}
|
|
2235
|
+
*/
|
|
2236
|
+
getCompanyAvailablePaymentGateways: async (id, options = {}) => {
|
|
2237
|
+
// verify required parameter 'id' is not null or undefined
|
|
2238
|
+
assertParamExists('getCompanyAvailablePaymentGateways', 'id', id);
|
|
2239
|
+
const localVarPath = `/api/companies/{id}/payment-gateways/available`
|
|
2240
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2241
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2242
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2243
|
+
let baseOptions;
|
|
2244
|
+
if (configuration) {
|
|
2245
|
+
baseOptions = configuration.baseOptions;
|
|
2246
|
+
}
|
|
2247
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2248
|
+
const localVarHeaderParameter = {};
|
|
2249
|
+
const localVarQueryParameter = {};
|
|
2250
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2251
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2252
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2253
|
+
return {
|
|
2254
|
+
url: toPathString(localVarUrlObj),
|
|
2255
|
+
options: localVarRequestOptions,
|
|
2256
|
+
};
|
|
2257
|
+
},
|
|
2230
2258
|
/**
|
|
2231
2259
|
*
|
|
2232
2260
|
* @param {string} domain
|
|
@@ -2264,6 +2292,18 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
2264
2292
|
export const CompanyApiFp = function (configuration) {
|
|
2265
2293
|
const localVarAxiosParamCreator = CompanyApiAxiosParamCreator(configuration);
|
|
2266
2294
|
return {
|
|
2295
|
+
/**
|
|
2296
|
+
*
|
|
2297
|
+
* @param {string} id
|
|
2298
|
+
* @param {*} [options] Override http request option.
|
|
2299
|
+
* @throws {RequiredError}
|
|
2300
|
+
*/
|
|
2301
|
+
async getCompanyAvailablePaymentGateways(id, options) {
|
|
2302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyAvailablePaymentGateways(id, options);
|
|
2303
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2304
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyAvailablePaymentGateways']?.[localVarOperationServerIndex]?.url;
|
|
2305
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2306
|
+
},
|
|
2267
2307
|
/**
|
|
2268
2308
|
*
|
|
2269
2309
|
* @param {string} domain
|
|
@@ -2285,6 +2325,15 @@ export const CompanyApiFp = function (configuration) {
|
|
|
2285
2325
|
export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
2286
2326
|
const localVarFp = CompanyApiFp(configuration);
|
|
2287
2327
|
return {
|
|
2328
|
+
/**
|
|
2329
|
+
*
|
|
2330
|
+
* @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
|
|
2331
|
+
* @param {*} [options] Override http request option.
|
|
2332
|
+
* @throws {RequiredError}
|
|
2333
|
+
*/
|
|
2334
|
+
getCompanyAvailablePaymentGateways(requestParameters, options) {
|
|
2335
|
+
return localVarFp.getCompanyAvailablePaymentGateways(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2336
|
+
},
|
|
2288
2337
|
/**
|
|
2289
2338
|
*
|
|
2290
2339
|
* @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
|
|
@@ -2303,6 +2352,16 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
2303
2352
|
* @extends {BaseAPI}
|
|
2304
2353
|
*/
|
|
2305
2354
|
export class CompanyApi extends BaseAPI {
|
|
2355
|
+
/**
|
|
2356
|
+
*
|
|
2357
|
+
* @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
|
|
2358
|
+
* @param {*} [options] Override http request option.
|
|
2359
|
+
* @throws {RequiredError}
|
|
2360
|
+
* @memberof CompanyApi
|
|
2361
|
+
*/
|
|
2362
|
+
getCompanyAvailablePaymentGateways(requestParameters, options) {
|
|
2363
|
+
return CompanyApiFp(this.configuration).getCompanyAvailablePaymentGateways(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2364
|
+
}
|
|
2306
2365
|
/**
|
|
2307
2366
|
*
|
|
2308
2367
|
* @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.107",
|
|
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": "74ee1c5b8c1bd4eeceafec2bc0354aedb6e3db3e"
|
|
41
41
|
}
|