@infisale-client/api-client 1.2.63 → 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 +8 -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
|
@@ -9209,6 +9209,12 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner {
|
|
|
9209
9209
|
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
9210
9210
|
*/
|
|
9211
9211
|
'cargoCode'?: string;
|
|
9212
|
+
/**
|
|
9213
|
+
*
|
|
9214
|
+
* @type {boolean}
|
|
9215
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
9216
|
+
*/
|
|
9217
|
+
'refund': boolean;
|
|
9212
9218
|
/**
|
|
9213
9219
|
*
|
|
9214
9220
|
* @type {number}
|
|
@@ -10697,12 +10703,11 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
10697
10703
|
login: (domain: string, iLoginRequest: ILoginRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10698
10704
|
/**
|
|
10699
10705
|
*
|
|
10700
|
-
* @param {string} domain
|
|
10701
10706
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
10702
10707
|
* @param {*} [options] Override http request option.
|
|
10703
10708
|
* @throws {RequiredError}
|
|
10704
10709
|
*/
|
|
10705
|
-
refreshToken: (
|
|
10710
|
+
refreshToken: (iRefreshTokenRequest: IRefreshTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10706
10711
|
/**
|
|
10707
10712
|
*
|
|
10708
10713
|
* @param {string} domain
|
|
@@ -10766,12 +10771,11 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
10766
10771
|
login(domain: string, iLoginRequest: ILoginRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ILoginResponse>>;
|
|
10767
10772
|
/**
|
|
10768
10773
|
*
|
|
10769
|
-
* @param {string} domain
|
|
10770
10774
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
10771
10775
|
* @param {*} [options] Override http request option.
|
|
10772
10776
|
* @throws {RequiredError}
|
|
10773
10777
|
*/
|
|
10774
|
-
refreshToken(
|
|
10778
|
+
refreshToken(iRefreshTokenRequest: IRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ILoginResponse>>;
|
|
10775
10779
|
/**
|
|
10776
10780
|
*
|
|
10777
10781
|
* @param {string} domain
|
|
@@ -10918,12 +10922,6 @@ export interface AuthApiLoginRequest {
|
|
|
10918
10922
|
* @interface AuthApiRefreshTokenRequest
|
|
10919
10923
|
*/
|
|
10920
10924
|
export interface AuthApiRefreshTokenRequest {
|
|
10921
|
-
/**
|
|
10922
|
-
*
|
|
10923
|
-
* @type {string}
|
|
10924
|
-
* @memberof AuthApiRefreshToken
|
|
10925
|
-
*/
|
|
10926
|
-
readonly domain: string;
|
|
10927
10925
|
/**
|
|
10928
10926
|
*
|
|
10929
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
|
}
|