@infisale-client/api-client 1.2.64 → 1.2.65
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 +2 -10
- package/dist/api/api.js +5 -12
- package/dist/api/api.mjs +5 -12
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -10703,12 +10703,11 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
10703
10703
|
login: (domain: string, iLoginRequest: ILoginRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10704
10704
|
/**
|
|
10705
10705
|
*
|
|
10706
|
-
* @param {string} domain
|
|
10707
10706
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
10708
10707
|
* @param {*} [options] Override http request option.
|
|
10709
10708
|
* @throws {RequiredError}
|
|
10710
10709
|
*/
|
|
10711
|
-
refreshToken: (
|
|
10710
|
+
refreshToken: (iRefreshTokenRequest: IRefreshTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10712
10711
|
/**
|
|
10713
10712
|
*
|
|
10714
10713
|
* @param {string} domain
|
|
@@ -10772,12 +10771,11 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
10772
10771
|
login(domain: string, iLoginRequest: ILoginRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ILoginResponse>>;
|
|
10773
10772
|
/**
|
|
10774
10773
|
*
|
|
10775
|
-
* @param {string} domain
|
|
10776
10774
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
10777
10775
|
* @param {*} [options] Override http request option.
|
|
10778
10776
|
* @throws {RequiredError}
|
|
10779
10777
|
*/
|
|
10780
|
-
refreshToken(
|
|
10778
|
+
refreshToken(iRefreshTokenRequest: IRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ILoginResponse>>;
|
|
10781
10779
|
/**
|
|
10782
10780
|
*
|
|
10783
10781
|
* @param {string} domain
|
|
@@ -10924,12 +10922,6 @@ export interface AuthApiLoginRequest {
|
|
|
10924
10922
|
* @interface AuthApiRefreshTokenRequest
|
|
10925
10923
|
*/
|
|
10926
10924
|
export interface AuthApiRefreshTokenRequest {
|
|
10927
|
-
/**
|
|
10928
|
-
*
|
|
10929
|
-
* @type {string}
|
|
10930
|
-
* @memberof AuthApiRefreshToken
|
|
10931
|
-
*/
|
|
10932
|
-
readonly domain: string;
|
|
10933
10925
|
/**
|
|
10934
10926
|
*
|
|
10935
10927
|
* @type {IRefreshTokenRequest}
|
package/dist/api/api.js
CHANGED
|
@@ -1085,14 +1085,11 @@ const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
1085
1085
|
},
|
|
1086
1086
|
/**
|
|
1087
1087
|
*
|
|
1088
|
-
* @param {string} domain
|
|
1089
1088
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
1090
1089
|
* @param {*} [options] Override http request option.
|
|
1091
1090
|
* @throws {RequiredError}
|
|
1092
1091
|
*/
|
|
1093
|
-
refreshToken: async (
|
|
1094
|
-
// verify required parameter 'domain' is not null or undefined
|
|
1095
|
-
(0, common_1.assertParamExists)('refreshToken', 'domain', domain);
|
|
1092
|
+
refreshToken: async (iRefreshTokenRequest, options = {}) => {
|
|
1096
1093
|
// verify required parameter 'iRefreshTokenRequest' is not null or undefined
|
|
1097
1094
|
(0, common_1.assertParamExists)('refreshToken', 'iRefreshTokenRequest', iRefreshTokenRequest);
|
|
1098
1095
|
const localVarPath = `/api/auth/refresh-token`;
|
|
@@ -1105,9 +1102,6 @@ const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
1105
1102
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1106
1103
|
const localVarHeaderParameter = {};
|
|
1107
1104
|
const localVarQueryParameter = {};
|
|
1108
|
-
if (domain !== undefined) {
|
|
1109
|
-
localVarQueryParameter['domain'] = domain;
|
|
1110
|
-
}
|
|
1111
1105
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1112
1106
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1113
1107
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1324,13 +1318,12 @@ const AuthApiFp = function (configuration) {
|
|
|
1324
1318
|
},
|
|
1325
1319
|
/**
|
|
1326
1320
|
*
|
|
1327
|
-
* @param {string} domain
|
|
1328
1321
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
1329
1322
|
* @param {*} [options] Override http request option.
|
|
1330
1323
|
* @throws {RequiredError}
|
|
1331
1324
|
*/
|
|
1332
|
-
async refreshToken(
|
|
1333
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshToken(
|
|
1325
|
+
async refreshToken(iRefreshTokenRequest, options) {
|
|
1326
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshToken(iRefreshTokenRequest, options);
|
|
1334
1327
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1335
1328
|
const localVarOperationServerBasePath = base_1.operationServerMap['AuthApi.refreshToken']?.[localVarOperationServerIndex]?.url;
|
|
1336
1329
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1434,7 +1427,7 @@ const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
1434
1427
|
* @throws {RequiredError}
|
|
1435
1428
|
*/
|
|
1436
1429
|
refreshToken(requestParameters, options) {
|
|
1437
|
-
return localVarFp.refreshToken(requestParameters.
|
|
1430
|
+
return localVarFp.refreshToken(requestParameters.iRefreshTokenRequest, options).then((request) => request(axios, basePath));
|
|
1438
1431
|
},
|
|
1439
1432
|
/**
|
|
1440
1433
|
*
|
|
@@ -1519,7 +1512,7 @@ class AuthApi extends base_1.BaseAPI {
|
|
|
1519
1512
|
* @memberof AuthApi
|
|
1520
1513
|
*/
|
|
1521
1514
|
refreshToken(requestParameters, options) {
|
|
1522
|
-
return (0, exports.AuthApiFp)(this.configuration).refreshToken(requestParameters.
|
|
1515
|
+
return (0, exports.AuthApiFp)(this.configuration).refreshToken(requestParameters.iRefreshTokenRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1523
1516
|
}
|
|
1524
1517
|
/**
|
|
1525
1518
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -1070,14 +1070,11 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
1070
1070
|
},
|
|
1071
1071
|
/**
|
|
1072
1072
|
*
|
|
1073
|
-
* @param {string} domain
|
|
1074
1073
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
1075
1074
|
* @param {*} [options] Override http request option.
|
|
1076
1075
|
* @throws {RequiredError}
|
|
1077
1076
|
*/
|
|
1078
|
-
refreshToken: async (
|
|
1079
|
-
// verify required parameter 'domain' is not null or undefined
|
|
1080
|
-
assertParamExists('refreshToken', 'domain', domain);
|
|
1077
|
+
refreshToken: async (iRefreshTokenRequest, options = {}) => {
|
|
1081
1078
|
// verify required parameter 'iRefreshTokenRequest' is not null or undefined
|
|
1082
1079
|
assertParamExists('refreshToken', 'iRefreshTokenRequest', iRefreshTokenRequest);
|
|
1083
1080
|
const localVarPath = `/api/auth/refresh-token`;
|
|
@@ -1090,9 +1087,6 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
1090
1087
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1091
1088
|
const localVarHeaderParameter = {};
|
|
1092
1089
|
const localVarQueryParameter = {};
|
|
1093
|
-
if (domain !== undefined) {
|
|
1094
|
-
localVarQueryParameter['domain'] = domain;
|
|
1095
|
-
}
|
|
1096
1090
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1097
1091
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1098
1092
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1308,13 +1302,12 @@ export const AuthApiFp = function (configuration) {
|
|
|
1308
1302
|
},
|
|
1309
1303
|
/**
|
|
1310
1304
|
*
|
|
1311
|
-
* @param {string} domain
|
|
1312
1305
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
1313
1306
|
* @param {*} [options] Override http request option.
|
|
1314
1307
|
* @throws {RequiredError}
|
|
1315
1308
|
*/
|
|
1316
|
-
async refreshToken(
|
|
1317
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshToken(
|
|
1309
|
+
async refreshToken(iRefreshTokenRequest, options) {
|
|
1310
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshToken(iRefreshTokenRequest, options);
|
|
1318
1311
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1319
1312
|
const localVarOperationServerBasePath = operationServerMap['AuthApi.refreshToken']?.[localVarOperationServerIndex]?.url;
|
|
1320
1313
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1417,7 +1410,7 @@ export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
1417
1410
|
* @throws {RequiredError}
|
|
1418
1411
|
*/
|
|
1419
1412
|
refreshToken(requestParameters, options) {
|
|
1420
|
-
return localVarFp.refreshToken(requestParameters.
|
|
1413
|
+
return localVarFp.refreshToken(requestParameters.iRefreshTokenRequest, options).then((request) => request(axios, basePath));
|
|
1421
1414
|
},
|
|
1422
1415
|
/**
|
|
1423
1416
|
*
|
|
@@ -1501,7 +1494,7 @@ export class AuthApi extends BaseAPI {
|
|
|
1501
1494
|
* @memberof AuthApi
|
|
1502
1495
|
*/
|
|
1503
1496
|
refreshToken(requestParameters, options) {
|
|
1504
|
-
return AuthApiFp(this.configuration).refreshToken(requestParameters.
|
|
1497
|
+
return AuthApiFp(this.configuration).refreshToken(requestParameters.iRefreshTokenRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1505
1498
|
}
|
|
1506
1499
|
/**
|
|
1507
1500
|
*
|
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.65",
|
|
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": "3869e07503f3a0c9e55a62119fd32a7c2f1999af"
|
|
41
41
|
}
|