@infisale-client/api 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 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}
@@ -10716,12 +10722,11 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
10716
10722
  login: (domain: string, iLoginRequest: ILoginRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10717
10723
  /**
10718
10724
  *
10719
- * @param {string} domain
10720
10725
  * @param {IRefreshTokenRequest} iRefreshTokenRequest
10721
10726
  * @param {*} [options] Override http request option.
10722
10727
  * @throws {RequiredError}
10723
10728
  */
10724
- refreshToken: (domain: string, iRefreshTokenRequest: IRefreshTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10729
+ refreshToken: (iRefreshTokenRequest: IRefreshTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10725
10730
  /**
10726
10731
  *
10727
10732
  * @param {string} domain
@@ -10785,12 +10790,11 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
10785
10790
  login(domain: string, iLoginRequest: ILoginRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ILoginResponse>>;
10786
10791
  /**
10787
10792
  *
10788
- * @param {string} domain
10789
10793
  * @param {IRefreshTokenRequest} iRefreshTokenRequest
10790
10794
  * @param {*} [options] Override http request option.
10791
10795
  * @throws {RequiredError}
10792
10796
  */
10793
- refreshToken(domain: string, iRefreshTokenRequest: IRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ILoginResponse>>;
10797
+ refreshToken(iRefreshTokenRequest: IRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ILoginResponse>>;
10794
10798
  /**
10795
10799
  *
10796
10800
  * @param {string} domain
@@ -10937,12 +10941,6 @@ export interface AuthApiLoginRequest {
10937
10941
  * @interface AuthApiRefreshTokenRequest
10938
10942
  */
10939
10943
  export interface AuthApiRefreshTokenRequest {
10940
- /**
10941
- *
10942
- * @type {string}
10943
- * @memberof AuthApiRefreshToken
10944
- */
10945
- readonly domain: string;
10946
10944
  /**
10947
10945
  *
10948
10946
  * @type {IRefreshTokenRequest}
package/dist/api/api.js CHANGED
@@ -1086,14 +1086,11 @@ const AuthApiAxiosParamCreator = function (configuration) {
1086
1086
  },
1087
1087
  /**
1088
1088
  *
1089
- * @param {string} domain
1090
1089
  * @param {IRefreshTokenRequest} iRefreshTokenRequest
1091
1090
  * @param {*} [options] Override http request option.
1092
1091
  * @throws {RequiredError}
1093
1092
  */
1094
- refreshToken: async (domain, iRefreshTokenRequest, options = {}) => {
1095
- // verify required parameter 'domain' is not null or undefined
1096
- (0, common_1.assertParamExists)('refreshToken', 'domain', domain);
1093
+ refreshToken: async (iRefreshTokenRequest, options = {}) => {
1097
1094
  // verify required parameter 'iRefreshTokenRequest' is not null or undefined
1098
1095
  (0, common_1.assertParamExists)('refreshToken', 'iRefreshTokenRequest', iRefreshTokenRequest);
1099
1096
  const localVarPath = `/api/auth/refresh-token`;
@@ -1106,9 +1103,6 @@ const AuthApiAxiosParamCreator = function (configuration) {
1106
1103
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1107
1104
  const localVarHeaderParameter = {};
1108
1105
  const localVarQueryParameter = {};
1109
- if (domain !== undefined) {
1110
- localVarQueryParameter['domain'] = domain;
1111
- }
1112
1106
  localVarHeaderParameter['Content-Type'] = 'application/json';
1113
1107
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1114
1108
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1325,13 +1319,12 @@ const AuthApiFp = function (configuration) {
1325
1319
  },
1326
1320
  /**
1327
1321
  *
1328
- * @param {string} domain
1329
1322
  * @param {IRefreshTokenRequest} iRefreshTokenRequest
1330
1323
  * @param {*} [options] Override http request option.
1331
1324
  * @throws {RequiredError}
1332
1325
  */
1333
- async refreshToken(domain, iRefreshTokenRequest, options) {
1334
- const localVarAxiosArgs = await localVarAxiosParamCreator.refreshToken(domain, iRefreshTokenRequest, options);
1326
+ async refreshToken(iRefreshTokenRequest, options) {
1327
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refreshToken(iRefreshTokenRequest, options);
1335
1328
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1336
1329
  const localVarOperationServerBasePath = base_1.operationServerMap['AuthApi.refreshToken']?.[localVarOperationServerIndex]?.url;
1337
1330
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1435,7 +1428,7 @@ const AuthApiFactory = function (configuration, basePath, axios) {
1435
1428
  * @throws {RequiredError}
1436
1429
  */
1437
1430
  refreshToken(requestParameters, options) {
1438
- return localVarFp.refreshToken(requestParameters.domain, requestParameters.iRefreshTokenRequest, options).then((request) => request(axios, basePath));
1431
+ return localVarFp.refreshToken(requestParameters.iRefreshTokenRequest, options).then((request) => request(axios, basePath));
1439
1432
  },
1440
1433
  /**
1441
1434
  *
@@ -1520,7 +1513,7 @@ class AuthApi extends base_1.BaseAPI {
1520
1513
  * @memberof AuthApi
1521
1514
  */
1522
1515
  refreshToken(requestParameters, options) {
1523
- return (0, exports.AuthApiFp)(this.configuration).refreshToken(requestParameters.domain, requestParameters.iRefreshTokenRequest, options).then((request) => request(this.axios, this.basePath));
1516
+ return (0, exports.AuthApiFp)(this.configuration).refreshToken(requestParameters.iRefreshTokenRequest, options).then((request) => request(this.axios, this.basePath));
1524
1517
  }
1525
1518
  /**
1526
1519
  *
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 (domain, iRefreshTokenRequest, options = {}) => {
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(domain, iRefreshTokenRequest, options) {
1317
- const localVarAxiosArgs = await localVarAxiosParamCreator.refreshToken(domain, iRefreshTokenRequest, options);
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.domain, requestParameters.iRefreshTokenRequest, options).then((request) => request(axios, basePath));
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.domain, requestParameters.iRefreshTokenRequest, options).then((request) => request(this.axios, this.basePath));
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",
3
- "version": "1.2.63",
3
+ "version": "1.2.65",
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": "48f8474ffc676fb508dbe4adc3732efd008710bd"
40
+ "gitHead": "3869e07503f3a0c9e55a62119fd32a7c2f1999af"
41
41
  }