@infisale-client/api-client 1.2.64 → 1.2.66
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 +20 -12
- package/dist/api/api.js +16 -15
- package/dist/api/api.mjs +13 -12
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -5431,10 +5431,10 @@ export interface IOrderReturnPostRequest {
|
|
|
5431
5431
|
export interface IOrderReturnUpdatePostRequest {
|
|
5432
5432
|
/**
|
|
5433
5433
|
*
|
|
5434
|
-
* @type {
|
|
5434
|
+
* @type {IOrderReturnUpdatePostRequestStatus}
|
|
5435
5435
|
* @memberof IOrderReturnUpdatePostRequest
|
|
5436
5436
|
*/
|
|
5437
|
-
'status'?:
|
|
5437
|
+
'status'?: IOrderReturnUpdatePostRequestStatus;
|
|
5438
5438
|
/**
|
|
5439
5439
|
*
|
|
5440
5440
|
* @type {string}
|
|
@@ -5478,6 +5478,13 @@ export interface IOrderReturnUpdatePostRequest {
|
|
|
5478
5478
|
*/
|
|
5479
5479
|
'refund': boolean;
|
|
5480
5480
|
}
|
|
5481
|
+
/**
|
|
5482
|
+
*
|
|
5483
|
+
* @export
|
|
5484
|
+
* @interface IOrderReturnUpdatePostRequestStatus
|
|
5485
|
+
*/
|
|
5486
|
+
export interface IOrderReturnUpdatePostRequestStatus {
|
|
5487
|
+
}
|
|
5481
5488
|
/**
|
|
5482
5489
|
*
|
|
5483
5490
|
* @export
|
|
@@ -8113,6 +8120,15 @@ export declare const OrderReturnStatusEnum: {
|
|
|
8113
8120
|
readonly RETURNED: "returned";
|
|
8114
8121
|
};
|
|
8115
8122
|
export type OrderReturnStatusEnum = typeof OrderReturnStatusEnum[keyof typeof OrderReturnStatusEnum];
|
|
8123
|
+
/**
|
|
8124
|
+
*
|
|
8125
|
+
* @export
|
|
8126
|
+
* @enum {string}
|
|
8127
|
+
*/
|
|
8128
|
+
export declare const OrderReturnStatusEnumREJECTED: {
|
|
8129
|
+
readonly REJECTED: "rejected";
|
|
8130
|
+
};
|
|
8131
|
+
export type OrderReturnStatusEnumREJECTED = typeof OrderReturnStatusEnumREJECTED[keyof typeof OrderReturnStatusEnumREJECTED];
|
|
8116
8132
|
/**
|
|
8117
8133
|
*
|
|
8118
8134
|
* @export
|
|
@@ -10703,12 +10719,11 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
10703
10719
|
login: (domain: string, iLoginRequest: ILoginRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10704
10720
|
/**
|
|
10705
10721
|
*
|
|
10706
|
-
* @param {string} domain
|
|
10707
10722
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
10708
10723
|
* @param {*} [options] Override http request option.
|
|
10709
10724
|
* @throws {RequiredError}
|
|
10710
10725
|
*/
|
|
10711
|
-
refreshToken: (
|
|
10726
|
+
refreshToken: (iRefreshTokenRequest: IRefreshTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10712
10727
|
/**
|
|
10713
10728
|
*
|
|
10714
10729
|
* @param {string} domain
|
|
@@ -10772,12 +10787,11 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
10772
10787
|
login(domain: string, iLoginRequest: ILoginRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ILoginResponse>>;
|
|
10773
10788
|
/**
|
|
10774
10789
|
*
|
|
10775
|
-
* @param {string} domain
|
|
10776
10790
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
10777
10791
|
* @param {*} [options] Override http request option.
|
|
10778
10792
|
* @throws {RequiredError}
|
|
10779
10793
|
*/
|
|
10780
|
-
refreshToken(
|
|
10794
|
+
refreshToken(iRefreshTokenRequest: IRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ILoginResponse>>;
|
|
10781
10795
|
/**
|
|
10782
10796
|
*
|
|
10783
10797
|
* @param {string} domain
|
|
@@ -10924,12 +10938,6 @@ export interface AuthApiLoginRequest {
|
|
|
10924
10938
|
* @interface AuthApiRefreshTokenRequest
|
|
10925
10939
|
*/
|
|
10926
10940
|
export interface AuthApiRefreshTokenRequest {
|
|
10927
|
-
/**
|
|
10928
|
-
*
|
|
10929
|
-
* @type {string}
|
|
10930
|
-
* @memberof AuthApiRefreshToken
|
|
10931
|
-
*/
|
|
10932
|
-
readonly domain: string;
|
|
10933
10941
|
/**
|
|
10934
10942
|
*
|
|
10935
10943
|
* @type {IRefreshTokenRequest}
|
package/dist/api/api.js
CHANGED
|
@@ -16,9 +16,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsDateFieldEnum = void 0;
|
|
19
|
+
exports.PaymentGatewayEnum = exports.PageTypeEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnumREJECTED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FontSizeEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ContentPositionYEnum = exports.ContentPositionXEnum = exports.ComponentTypeEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.ComponentContentTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = exports.ButtonVariantEnum = void 0;
|
|
20
|
+
exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PaymentMethodEnum = void 0;
|
|
21
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsDateFieldEnum = exports.ProductApi = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -647,6 +647,14 @@ exports.OrderReturnStatusEnum = {
|
|
|
647
647
|
WAITING_RETURN: 'waiting_return',
|
|
648
648
|
RETURNED: 'returned'
|
|
649
649
|
};
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @export
|
|
653
|
+
* @enum {string}
|
|
654
|
+
*/
|
|
655
|
+
exports.OrderReturnStatusEnumREJECTED = {
|
|
656
|
+
REJECTED: 'rejected'
|
|
657
|
+
};
|
|
650
658
|
/**
|
|
651
659
|
*
|
|
652
660
|
* @export
|
|
@@ -1085,14 +1093,11 @@ const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
1085
1093
|
},
|
|
1086
1094
|
/**
|
|
1087
1095
|
*
|
|
1088
|
-
* @param {string} domain
|
|
1089
1096
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
1090
1097
|
* @param {*} [options] Override http request option.
|
|
1091
1098
|
* @throws {RequiredError}
|
|
1092
1099
|
*/
|
|
1093
|
-
refreshToken: async (
|
|
1094
|
-
// verify required parameter 'domain' is not null or undefined
|
|
1095
|
-
(0, common_1.assertParamExists)('refreshToken', 'domain', domain);
|
|
1100
|
+
refreshToken: async (iRefreshTokenRequest, options = {}) => {
|
|
1096
1101
|
// verify required parameter 'iRefreshTokenRequest' is not null or undefined
|
|
1097
1102
|
(0, common_1.assertParamExists)('refreshToken', 'iRefreshTokenRequest', iRefreshTokenRequest);
|
|
1098
1103
|
const localVarPath = `/api/auth/refresh-token`;
|
|
@@ -1105,9 +1110,6 @@ const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
1105
1110
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1106
1111
|
const localVarHeaderParameter = {};
|
|
1107
1112
|
const localVarQueryParameter = {};
|
|
1108
|
-
if (domain !== undefined) {
|
|
1109
|
-
localVarQueryParameter['domain'] = domain;
|
|
1110
|
-
}
|
|
1111
1113
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1112
1114
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1113
1115
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1324,13 +1326,12 @@ const AuthApiFp = function (configuration) {
|
|
|
1324
1326
|
},
|
|
1325
1327
|
/**
|
|
1326
1328
|
*
|
|
1327
|
-
* @param {string} domain
|
|
1328
1329
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
1329
1330
|
* @param {*} [options] Override http request option.
|
|
1330
1331
|
* @throws {RequiredError}
|
|
1331
1332
|
*/
|
|
1332
|
-
async refreshToken(
|
|
1333
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshToken(
|
|
1333
|
+
async refreshToken(iRefreshTokenRequest, options) {
|
|
1334
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshToken(iRefreshTokenRequest, options);
|
|
1334
1335
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1335
1336
|
const localVarOperationServerBasePath = base_1.operationServerMap['AuthApi.refreshToken']?.[localVarOperationServerIndex]?.url;
|
|
1336
1337
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1434,7 +1435,7 @@ const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
1434
1435
|
* @throws {RequiredError}
|
|
1435
1436
|
*/
|
|
1436
1437
|
refreshToken(requestParameters, options) {
|
|
1437
|
-
return localVarFp.refreshToken(requestParameters.
|
|
1438
|
+
return localVarFp.refreshToken(requestParameters.iRefreshTokenRequest, options).then((request) => request(axios, basePath));
|
|
1438
1439
|
},
|
|
1439
1440
|
/**
|
|
1440
1441
|
*
|
|
@@ -1519,7 +1520,7 @@ class AuthApi extends base_1.BaseAPI {
|
|
|
1519
1520
|
* @memberof AuthApi
|
|
1520
1521
|
*/
|
|
1521
1522
|
refreshToken(requestParameters, options) {
|
|
1522
|
-
return (0, exports.AuthApiFp)(this.configuration).refreshToken(requestParameters.
|
|
1523
|
+
return (0, exports.AuthApiFp)(this.configuration).refreshToken(requestParameters.iRefreshTokenRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1523
1524
|
}
|
|
1524
1525
|
/**
|
|
1525
1526
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -636,6 +636,14 @@ export const OrderReturnStatusEnum = {
|
|
|
636
636
|
WAITING_RETURN: 'waiting_return',
|
|
637
637
|
RETURNED: 'returned'
|
|
638
638
|
};
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @export
|
|
642
|
+
* @enum {string}
|
|
643
|
+
*/
|
|
644
|
+
export const OrderReturnStatusEnumREJECTED = {
|
|
645
|
+
REJECTED: 'rejected'
|
|
646
|
+
};
|
|
639
647
|
/**
|
|
640
648
|
*
|
|
641
649
|
* @export
|
|
@@ -1070,14 +1078,11 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
1070
1078
|
},
|
|
1071
1079
|
/**
|
|
1072
1080
|
*
|
|
1073
|
-
* @param {string} domain
|
|
1074
1081
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
1075
1082
|
* @param {*} [options] Override http request option.
|
|
1076
1083
|
* @throws {RequiredError}
|
|
1077
1084
|
*/
|
|
1078
|
-
refreshToken: async (
|
|
1079
|
-
// verify required parameter 'domain' is not null or undefined
|
|
1080
|
-
assertParamExists('refreshToken', 'domain', domain);
|
|
1085
|
+
refreshToken: async (iRefreshTokenRequest, options = {}) => {
|
|
1081
1086
|
// verify required parameter 'iRefreshTokenRequest' is not null or undefined
|
|
1082
1087
|
assertParamExists('refreshToken', 'iRefreshTokenRequest', iRefreshTokenRequest);
|
|
1083
1088
|
const localVarPath = `/api/auth/refresh-token`;
|
|
@@ -1090,9 +1095,6 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
1090
1095
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1091
1096
|
const localVarHeaderParameter = {};
|
|
1092
1097
|
const localVarQueryParameter = {};
|
|
1093
|
-
if (domain !== undefined) {
|
|
1094
|
-
localVarQueryParameter['domain'] = domain;
|
|
1095
|
-
}
|
|
1096
1098
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1097
1099
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1098
1100
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1308,13 +1310,12 @@ export const AuthApiFp = function (configuration) {
|
|
|
1308
1310
|
},
|
|
1309
1311
|
/**
|
|
1310
1312
|
*
|
|
1311
|
-
* @param {string} domain
|
|
1312
1313
|
* @param {IRefreshTokenRequest} iRefreshTokenRequest
|
|
1313
1314
|
* @param {*} [options] Override http request option.
|
|
1314
1315
|
* @throws {RequiredError}
|
|
1315
1316
|
*/
|
|
1316
|
-
async refreshToken(
|
|
1317
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshToken(
|
|
1317
|
+
async refreshToken(iRefreshTokenRequest, options) {
|
|
1318
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshToken(iRefreshTokenRequest, options);
|
|
1318
1319
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1319
1320
|
const localVarOperationServerBasePath = operationServerMap['AuthApi.refreshToken']?.[localVarOperationServerIndex]?.url;
|
|
1320
1321
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1417,7 +1418,7 @@ export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
1417
1418
|
* @throws {RequiredError}
|
|
1418
1419
|
*/
|
|
1419
1420
|
refreshToken(requestParameters, options) {
|
|
1420
|
-
return localVarFp.refreshToken(requestParameters.
|
|
1421
|
+
return localVarFp.refreshToken(requestParameters.iRefreshTokenRequest, options).then((request) => request(axios, basePath));
|
|
1421
1422
|
},
|
|
1422
1423
|
/**
|
|
1423
1424
|
*
|
|
@@ -1501,7 +1502,7 @@ export class AuthApi extends BaseAPI {
|
|
|
1501
1502
|
* @memberof AuthApi
|
|
1502
1503
|
*/
|
|
1503
1504
|
refreshToken(requestParameters, options) {
|
|
1504
|
-
return AuthApiFp(this.configuration).refreshToken(requestParameters.
|
|
1505
|
+
return AuthApiFp(this.configuration).refreshToken(requestParameters.iRefreshTokenRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1505
1506
|
}
|
|
1506
1507
|
/**
|
|
1507
1508
|
*
|
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.66",
|
|
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": "6744fe2416ab048f512075ad0763e82a50297bdb"
|
|
41
41
|
}
|