@infisale-client/api 1.3.67 → 1.3.68
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 +55 -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
|
@@ -492,6 +492,19 @@ export interface FinalizeAiChat200Response {
|
|
|
492
492
|
*/
|
|
493
493
|
'chat': IAiChatResponse;
|
|
494
494
|
}
|
|
495
|
+
/**
|
|
496
|
+
*
|
|
497
|
+
* @export
|
|
498
|
+
* @interface GetCompanyIframeToken200Response
|
|
499
|
+
*/
|
|
500
|
+
export interface GetCompanyIframeToken200Response {
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
* @type {string}
|
|
504
|
+
* @memberof GetCompanyIframeToken200Response
|
|
505
|
+
*/
|
|
506
|
+
'token': string;
|
|
507
|
+
}
|
|
495
508
|
/**
|
|
496
509
|
*
|
|
497
510
|
* @export
|
|
@@ -18245,6 +18258,13 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
18245
18258
|
* @throws {RequiredError}
|
|
18246
18259
|
*/
|
|
18247
18260
|
getCompanyDashboard: (id: string, start?: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18261
|
+
/**
|
|
18262
|
+
*
|
|
18263
|
+
* @param {string} id
|
|
18264
|
+
* @param {*} [options] Override http request option.
|
|
18265
|
+
* @throws {RequiredError}
|
|
18266
|
+
*/
|
|
18267
|
+
getCompanyIframeToken: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18248
18268
|
/**
|
|
18249
18269
|
*
|
|
18250
18270
|
* @param {string} id
|
|
@@ -18611,6 +18631,13 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
18611
18631
|
* @throws {RequiredError}
|
|
18612
18632
|
*/
|
|
18613
18633
|
getCompanyDashboard(id: string, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompanyDashboardResponse>>;
|
|
18634
|
+
/**
|
|
18635
|
+
*
|
|
18636
|
+
* @param {string} id
|
|
18637
|
+
* @param {*} [options] Override http request option.
|
|
18638
|
+
* @throws {RequiredError}
|
|
18639
|
+
*/
|
|
18640
|
+
getCompanyIframeToken(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCompanyIframeToken200Response>>;
|
|
18614
18641
|
/**
|
|
18615
18642
|
*
|
|
18616
18643
|
* @param {string} id
|
|
@@ -18943,6 +18970,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
18943
18970
|
* @throws {RequiredError}
|
|
18944
18971
|
*/
|
|
18945
18972
|
getCompanyDashboard(requestParameters: CompanyApiGetCompanyDashboardRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyDashboardResponse>;
|
|
18973
|
+
/**
|
|
18974
|
+
*
|
|
18975
|
+
* @param {CompanyApiGetCompanyIframeTokenRequest} requestParameters Request parameters.
|
|
18976
|
+
* @param {*} [options] Override http request option.
|
|
18977
|
+
* @throws {RequiredError}
|
|
18978
|
+
*/
|
|
18979
|
+
getCompanyIframeToken(requestParameters: CompanyApiGetCompanyIframeTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCompanyIframeToken200Response>;
|
|
18946
18980
|
/**
|
|
18947
18981
|
*
|
|
18948
18982
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
|
@@ -19581,6 +19615,19 @@ export interface CompanyApiGetCompanyDashboardRequest {
|
|
|
19581
19615
|
*/
|
|
19582
19616
|
readonly end?: string;
|
|
19583
19617
|
}
|
|
19618
|
+
/**
|
|
19619
|
+
* Request parameters for getCompanyIframeToken operation in CompanyApi.
|
|
19620
|
+
* @export
|
|
19621
|
+
* @interface CompanyApiGetCompanyIframeTokenRequest
|
|
19622
|
+
*/
|
|
19623
|
+
export interface CompanyApiGetCompanyIframeTokenRequest {
|
|
19624
|
+
/**
|
|
19625
|
+
*
|
|
19626
|
+
* @type {string}
|
|
19627
|
+
* @memberof CompanyApiGetCompanyIframeToken
|
|
19628
|
+
*/
|
|
19629
|
+
readonly id: string;
|
|
19630
|
+
}
|
|
19584
19631
|
/**
|
|
19585
19632
|
* Request parameters for getCompanyOnboarding operation in CompanyApi.
|
|
19586
19633
|
* @export
|
|
@@ -20187,6 +20234,14 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
20187
20234
|
* @memberof CompanyApi
|
|
20188
20235
|
*/
|
|
20189
20236
|
getCompanyDashboard(requestParameters: CompanyApiGetCompanyDashboardRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompanyDashboardResponse, any>>;
|
|
20237
|
+
/**
|
|
20238
|
+
*
|
|
20239
|
+
* @param {CompanyApiGetCompanyIframeTokenRequest} requestParameters Request parameters.
|
|
20240
|
+
* @param {*} [options] Override http request option.
|
|
20241
|
+
* @throws {RequiredError}
|
|
20242
|
+
* @memberof CompanyApi
|
|
20243
|
+
*/
|
|
20244
|
+
getCompanyIframeToken(requestParameters: CompanyApiGetCompanyIframeTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCompanyIframeToken200Response, any>>;
|
|
20190
20245
|
/**
|
|
20191
20246
|
*
|
|
20192
20247
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -4880,6 +4880,34 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4880
4880
|
options: localVarRequestOptions,
|
|
4881
4881
|
};
|
|
4882
4882
|
},
|
|
4883
|
+
/**
|
|
4884
|
+
*
|
|
4885
|
+
* @param {string} id
|
|
4886
|
+
* @param {*} [options] Override http request option.
|
|
4887
|
+
* @throws {RequiredError}
|
|
4888
|
+
*/
|
|
4889
|
+
getCompanyIframeToken: async (id, options = {}) => {
|
|
4890
|
+
// verify required parameter 'id' is not null or undefined
|
|
4891
|
+
(0, common_1.assertParamExists)('getCompanyIframeToken', 'id', id);
|
|
4892
|
+
const localVarPath = `/api/companies/{id}/iframe-token`
|
|
4893
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4894
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4895
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4896
|
+
let baseOptions;
|
|
4897
|
+
if (configuration) {
|
|
4898
|
+
baseOptions = configuration.baseOptions;
|
|
4899
|
+
}
|
|
4900
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4901
|
+
const localVarHeaderParameter = {};
|
|
4902
|
+
const localVarQueryParameter = {};
|
|
4903
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4904
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4905
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4906
|
+
return {
|
|
4907
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4908
|
+
options: localVarRequestOptions,
|
|
4909
|
+
};
|
|
4910
|
+
},
|
|
4883
4911
|
/**
|
|
4884
4912
|
*
|
|
4885
4913
|
* @param {string} id
|
|
@@ -5886,6 +5914,18 @@ const CompanyApiFp = function (configuration) {
|
|
|
5886
5914
|
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyDashboard']?.[localVarOperationServerIndex]?.url;
|
|
5887
5915
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5888
5916
|
},
|
|
5917
|
+
/**
|
|
5918
|
+
*
|
|
5919
|
+
* @param {string} id
|
|
5920
|
+
* @param {*} [options] Override http request option.
|
|
5921
|
+
* @throws {RequiredError}
|
|
5922
|
+
*/
|
|
5923
|
+
async getCompanyIframeToken(id, options) {
|
|
5924
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyIframeToken(id, options);
|
|
5925
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5926
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyIframeToken']?.[localVarOperationServerIndex]?.url;
|
|
5927
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5928
|
+
},
|
|
5889
5929
|
/**
|
|
5890
5930
|
*
|
|
5891
5931
|
* @param {string} id
|
|
@@ -6371,6 +6411,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
6371
6411
|
getCompanyDashboard(requestParameters, options) {
|
|
6372
6412
|
return localVarFp.getCompanyDashboard(requestParameters.id, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
6373
6413
|
},
|
|
6414
|
+
/**
|
|
6415
|
+
*
|
|
6416
|
+
* @param {CompanyApiGetCompanyIframeTokenRequest} requestParameters Request parameters.
|
|
6417
|
+
* @param {*} [options] Override http request option.
|
|
6418
|
+
* @throws {RequiredError}
|
|
6419
|
+
*/
|
|
6420
|
+
getCompanyIframeToken(requestParameters, options) {
|
|
6421
|
+
return localVarFp.getCompanyIframeToken(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
6422
|
+
},
|
|
6374
6423
|
/**
|
|
6375
6424
|
*
|
|
6376
6425
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
|
@@ -6790,6 +6839,16 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
6790
6839
|
getCompanyDashboard(requestParameters, options) {
|
|
6791
6840
|
return (0, exports.CompanyApiFp)(this.configuration).getCompanyDashboard(requestParameters.id, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
6792
6841
|
}
|
|
6842
|
+
/**
|
|
6843
|
+
*
|
|
6844
|
+
* @param {CompanyApiGetCompanyIframeTokenRequest} requestParameters Request parameters.
|
|
6845
|
+
* @param {*} [options] Override http request option.
|
|
6846
|
+
* @throws {RequiredError}
|
|
6847
|
+
* @memberof CompanyApi
|
|
6848
|
+
*/
|
|
6849
|
+
getCompanyIframeToken(requestParameters, options) {
|
|
6850
|
+
return (0, exports.CompanyApiFp)(this.configuration).getCompanyIframeToken(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6851
|
+
}
|
|
6793
6852
|
/**
|
|
6794
6853
|
*
|
|
6795
6854
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
package/dist/api/api.mjs
CHANGED
|
@@ -4840,6 +4840,34 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4840
4840
|
options: localVarRequestOptions,
|
|
4841
4841
|
};
|
|
4842
4842
|
},
|
|
4843
|
+
/**
|
|
4844
|
+
*
|
|
4845
|
+
* @param {string} id
|
|
4846
|
+
* @param {*} [options] Override http request option.
|
|
4847
|
+
* @throws {RequiredError}
|
|
4848
|
+
*/
|
|
4849
|
+
getCompanyIframeToken: async (id, options = {}) => {
|
|
4850
|
+
// verify required parameter 'id' is not null or undefined
|
|
4851
|
+
assertParamExists('getCompanyIframeToken', 'id', id);
|
|
4852
|
+
const localVarPath = `/api/companies/{id}/iframe-token`
|
|
4853
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4854
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4855
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4856
|
+
let baseOptions;
|
|
4857
|
+
if (configuration) {
|
|
4858
|
+
baseOptions = configuration.baseOptions;
|
|
4859
|
+
}
|
|
4860
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4861
|
+
const localVarHeaderParameter = {};
|
|
4862
|
+
const localVarQueryParameter = {};
|
|
4863
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4864
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4865
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4866
|
+
return {
|
|
4867
|
+
url: toPathString(localVarUrlObj),
|
|
4868
|
+
options: localVarRequestOptions,
|
|
4869
|
+
};
|
|
4870
|
+
},
|
|
4843
4871
|
/**
|
|
4844
4872
|
*
|
|
4845
4873
|
* @param {string} id
|
|
@@ -5845,6 +5873,18 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5845
5873
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyDashboard']?.[localVarOperationServerIndex]?.url;
|
|
5846
5874
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5847
5875
|
},
|
|
5876
|
+
/**
|
|
5877
|
+
*
|
|
5878
|
+
* @param {string} id
|
|
5879
|
+
* @param {*} [options] Override http request option.
|
|
5880
|
+
* @throws {RequiredError}
|
|
5881
|
+
*/
|
|
5882
|
+
async getCompanyIframeToken(id, options) {
|
|
5883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyIframeToken(id, options);
|
|
5884
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5885
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyIframeToken']?.[localVarOperationServerIndex]?.url;
|
|
5886
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5887
|
+
},
|
|
5848
5888
|
/**
|
|
5849
5889
|
*
|
|
5850
5890
|
* @param {string} id
|
|
@@ -6329,6 +6369,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
6329
6369
|
getCompanyDashboard(requestParameters, options) {
|
|
6330
6370
|
return localVarFp.getCompanyDashboard(requestParameters.id, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
6331
6371
|
},
|
|
6372
|
+
/**
|
|
6373
|
+
*
|
|
6374
|
+
* @param {CompanyApiGetCompanyIframeTokenRequest} requestParameters Request parameters.
|
|
6375
|
+
* @param {*} [options] Override http request option.
|
|
6376
|
+
* @throws {RequiredError}
|
|
6377
|
+
*/
|
|
6378
|
+
getCompanyIframeToken(requestParameters, options) {
|
|
6379
|
+
return localVarFp.getCompanyIframeToken(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
6380
|
+
},
|
|
6332
6381
|
/**
|
|
6333
6382
|
*
|
|
6334
6383
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
|
@@ -6747,6 +6796,16 @@ export class CompanyApi extends BaseAPI {
|
|
|
6747
6796
|
getCompanyDashboard(requestParameters, options) {
|
|
6748
6797
|
return CompanyApiFp(this.configuration).getCompanyDashboard(requestParameters.id, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
6749
6798
|
}
|
|
6799
|
+
/**
|
|
6800
|
+
*
|
|
6801
|
+
* @param {CompanyApiGetCompanyIframeTokenRequest} requestParameters Request parameters.
|
|
6802
|
+
* @param {*} [options] Override http request option.
|
|
6803
|
+
* @throws {RequiredError}
|
|
6804
|
+
* @memberof CompanyApi
|
|
6805
|
+
*/
|
|
6806
|
+
getCompanyIframeToken(requestParameters, options) {
|
|
6807
|
+
return CompanyApiFp(this.configuration).getCompanyIframeToken(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6808
|
+
}
|
|
6750
6809
|
/**
|
|
6751
6810
|
*
|
|
6752
6811
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.68",
|
|
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": "7421a91f71020304a1ef29215c75c7d7b71b15ca"
|
|
41
41
|
}
|