@infisale-client/api-client 1.3.30 → 1.3.32
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 +461 -308
- package/dist/api/api.js +54 -38
- package/dist/api/api.mjs +51 -35
- package/package.json +2 -2
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.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UrlRedirectApi = exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = void 0;
|
|
19
|
+
exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.NavigationLinkTypeEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IUrlRedirectCollectionQueryParamsSortEnum = exports.IUrlRedirectCollectionQueryParamsDateFieldEnum = exports.IUniqueCollectionQueryParamsDateFieldEnum = exports.ISubscriptionPostRequestPeriodEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsCategoryEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.INavigationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = 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.SubscriptionStatusEnum = exports.SubscriptionPlanEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = void 0;
|
|
21
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UrlRedirectApi = exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = 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
|
|
@@ -442,14 +442,15 @@ exports.IPageCollectionQueryParamsDateFieldEnum = {
|
|
|
442
442
|
CREATED_AT: 'createdAt',
|
|
443
443
|
UPDATED_AT: 'updatedAt'
|
|
444
444
|
};
|
|
445
|
-
exports.IPaymentPostRequestPeriodEnum = {
|
|
446
|
-
MONTHLY: 'monthly',
|
|
447
|
-
YEARLY: 'yearly'
|
|
448
|
-
};
|
|
449
445
|
exports.IPlanCollectionQueryParamsDateFieldEnum = {
|
|
450
446
|
CREATED_AT: 'createdAt',
|
|
451
447
|
UPDATED_AT: 'updatedAt'
|
|
452
448
|
};
|
|
449
|
+
exports.IPlanCollectionQueryParamsCategoryEnum = {
|
|
450
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
451
|
+
B2C: 'b2c',
|
|
452
|
+
CMS: 'cms'
|
|
453
|
+
};
|
|
453
454
|
exports.IProductCollectionQueryParamsDateFieldEnum = {
|
|
454
455
|
CREATED_AT: 'createdAt',
|
|
455
456
|
UPDATED_AT: 'updatedAt'
|
|
@@ -461,6 +462,10 @@ exports.IProductCollectionQueryParamsSortEnum = {
|
|
|
461
462
|
RATING: 'rating',
|
|
462
463
|
REVIEW_COUNT: 'reviewCount'
|
|
463
464
|
};
|
|
465
|
+
exports.ISubscriptionPostRequestPeriodEnum = {
|
|
466
|
+
MONTHLY: 'monthly',
|
|
467
|
+
YEARLY: 'yearly'
|
|
468
|
+
};
|
|
464
469
|
exports.IUniqueCollectionQueryParamsDateFieldEnum = {
|
|
465
470
|
CREATED_AT: 'createdAt',
|
|
466
471
|
UPDATED_AT: 'updatedAt'
|
|
@@ -623,30 +628,10 @@ exports.PaymentMethodEnum = {
|
|
|
623
628
|
CASH_ON_DELIVERY: 'cash_on_delivery',
|
|
624
629
|
CARD_ON_DELIVERY: 'card_on_delivery'
|
|
625
630
|
};
|
|
626
|
-
/**
|
|
627
|
-
*
|
|
628
|
-
* @export
|
|
629
|
-
* @enum {string}
|
|
630
|
-
*/
|
|
631
|
-
exports.PaymentStatusEnum = {
|
|
632
|
-
WAITING_APPROVAL: 'waiting_approval',
|
|
633
|
-
PAID: 'paid',
|
|
634
|
-
FAILED: 'failed'
|
|
635
|
-
};
|
|
636
631
|
exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = {
|
|
637
632
|
CREATED_AT: 'createdAt',
|
|
638
633
|
UPDATED_AT: 'updatedAt'
|
|
639
634
|
};
|
|
640
|
-
/**
|
|
641
|
-
*
|
|
642
|
-
* @export
|
|
643
|
-
* @enum {string}
|
|
644
|
-
*/
|
|
645
|
-
exports.PlanCurrencyEnum = {
|
|
646
|
-
TRY: 'try',
|
|
647
|
-
EUR: 'eur',
|
|
648
|
-
USD: 'usd'
|
|
649
|
-
};
|
|
650
635
|
/**
|
|
651
636
|
*
|
|
652
637
|
* @export
|
|
@@ -663,12 +648,15 @@ exports.PlanStatusEnum = {
|
|
|
663
648
|
* @enum {string}
|
|
664
649
|
*/
|
|
665
650
|
exports.PlanTypeEnum = {
|
|
651
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
666
652
|
STANDARD_B2C: 'standard-b2c',
|
|
667
653
|
ADVANCED_B2C: 'advanced-b2c',
|
|
668
654
|
PREMIUM_B2C: 'premium-b2c',
|
|
655
|
+
ENTERPRISE_B2C: 'enterprise-b2c',
|
|
669
656
|
STANDARD_CMS: 'standard-cms',
|
|
670
657
|
ADVANCED_CMS: 'advanced-cms',
|
|
671
|
-
PREMIUM_CMS: 'premium-cms'
|
|
658
|
+
PREMIUM_CMS: 'premium-cms',
|
|
659
|
+
ENTERPRISE_CMS: 'enterprise-cms'
|
|
672
660
|
};
|
|
673
661
|
/**
|
|
674
662
|
*
|
|
@@ -697,7 +685,7 @@ exports.SitemapTypeEnum = {
|
|
|
697
685
|
PRODUCTS: 'products',
|
|
698
686
|
PAGES: 'pages',
|
|
699
687
|
COLLECTIONS: 'collections',
|
|
700
|
-
|
|
688
|
+
BLOGS: 'blogs',
|
|
701
689
|
UNIQUE_PAGES: 'unique-pages'
|
|
702
690
|
};
|
|
703
691
|
/**
|
|
@@ -709,6 +697,31 @@ exports.StoreLocationEnum = {
|
|
|
709
697
|
DE: 'DE',
|
|
710
698
|
TR: 'TR'
|
|
711
699
|
};
|
|
700
|
+
/**
|
|
701
|
+
*
|
|
702
|
+
* @export
|
|
703
|
+
* @enum {string}
|
|
704
|
+
*/
|
|
705
|
+
exports.SubscriptionPlanEnum = {
|
|
706
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
707
|
+
STANDARD_B2C: 'standard-b2c',
|
|
708
|
+
ADVANCED_B2C: 'advanced-b2c',
|
|
709
|
+
PREMIUM_B2C: 'premium-b2c',
|
|
710
|
+
STANDARD_CMS: 'standard-cms',
|
|
711
|
+
ADVANCED_CMS: 'advanced-cms',
|
|
712
|
+
PREMIUM_CMS: 'premium-cms'
|
|
713
|
+
};
|
|
714
|
+
/**
|
|
715
|
+
*
|
|
716
|
+
* @export
|
|
717
|
+
* @enum {string}
|
|
718
|
+
*/
|
|
719
|
+
exports.SubscriptionStatusEnum = {
|
|
720
|
+
ACTIVE: 'active',
|
|
721
|
+
CANCELED: 'canceled',
|
|
722
|
+
EXPIRED: 'expired',
|
|
723
|
+
PENDING: 'pending'
|
|
724
|
+
};
|
|
712
725
|
/**
|
|
713
726
|
*
|
|
714
727
|
* @export
|
|
@@ -3978,15 +3991,14 @@ const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
3978
3991
|
/**
|
|
3979
3992
|
*
|
|
3980
3993
|
* @param {string} from
|
|
3981
|
-
* @param {string} companyId
|
|
3994
|
+
* @param {string} [companyId]
|
|
3995
|
+
* @param {string} [domain]
|
|
3982
3996
|
* @param {*} [options] Override http request option.
|
|
3983
3997
|
* @throws {RequiredError}
|
|
3984
3998
|
*/
|
|
3985
|
-
getUrlRedirectBySource: async (from, companyId, options = {}) => {
|
|
3999
|
+
getUrlRedirectBySource: async (from, companyId, domain, options = {}) => {
|
|
3986
4000
|
// verify required parameter 'from' is not null or undefined
|
|
3987
4001
|
(0, common_1.assertParamExists)('getUrlRedirectBySource', 'from', from);
|
|
3988
|
-
// verify required parameter 'companyId' is not null or undefined
|
|
3989
|
-
(0, common_1.assertParamExists)('getUrlRedirectBySource', 'companyId', companyId);
|
|
3990
4002
|
const localVarPath = `/api/url-redirects/from`;
|
|
3991
4003
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3992
4004
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -4003,6 +4015,9 @@ const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
4003
4015
|
if (companyId !== undefined) {
|
|
4004
4016
|
localVarQueryParameter['companyId'] = companyId;
|
|
4005
4017
|
}
|
|
4018
|
+
if (domain !== undefined) {
|
|
4019
|
+
localVarQueryParameter['domain'] = domain;
|
|
4020
|
+
}
|
|
4006
4021
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4007
4022
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4008
4023
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -4024,12 +4039,13 @@ const UrlRedirectApiFp = function (configuration) {
|
|
|
4024
4039
|
/**
|
|
4025
4040
|
*
|
|
4026
4041
|
* @param {string} from
|
|
4027
|
-
* @param {string} companyId
|
|
4042
|
+
* @param {string} [companyId]
|
|
4043
|
+
* @param {string} [domain]
|
|
4028
4044
|
* @param {*} [options] Override http request option.
|
|
4029
4045
|
* @throws {RequiredError}
|
|
4030
4046
|
*/
|
|
4031
|
-
async getUrlRedirectBySource(from, companyId, options) {
|
|
4032
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, options);
|
|
4047
|
+
async getUrlRedirectBySource(from, companyId, domain, options) {
|
|
4048
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, domain, options);
|
|
4033
4049
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4034
4050
|
const localVarOperationServerBasePath = base_1.operationServerMap['UrlRedirectApi.getUrlRedirectBySource']?.[localVarOperationServerIndex]?.url;
|
|
4035
4051
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4051,7 +4067,7 @@ const UrlRedirectApiFactory = function (configuration, basePath, axios) {
|
|
|
4051
4067
|
* @throws {RequiredError}
|
|
4052
4068
|
*/
|
|
4053
4069
|
getUrlRedirectBySource(requestParameters, options) {
|
|
4054
|
-
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
4070
|
+
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
4055
4071
|
},
|
|
4056
4072
|
};
|
|
4057
4073
|
};
|
|
@@ -4071,7 +4087,7 @@ class UrlRedirectApi extends base_1.BaseAPI {
|
|
|
4071
4087
|
* @memberof UrlRedirectApi
|
|
4072
4088
|
*/
|
|
4073
4089
|
getUrlRedirectBySource(requestParameters, options) {
|
|
4074
|
-
return (0, exports.UrlRedirectApiFp)(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
4090
|
+
return (0, exports.UrlRedirectApiFp)(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
4075
4091
|
}
|
|
4076
4092
|
}
|
|
4077
4093
|
exports.UrlRedirectApi = UrlRedirectApi;
|
package/dist/api/api.mjs
CHANGED
|
@@ -431,14 +431,15 @@ export const IPageCollectionQueryParamsDateFieldEnum = {
|
|
|
431
431
|
CREATED_AT: 'createdAt',
|
|
432
432
|
UPDATED_AT: 'updatedAt'
|
|
433
433
|
};
|
|
434
|
-
export const IPaymentPostRequestPeriodEnum = {
|
|
435
|
-
MONTHLY: 'monthly',
|
|
436
|
-
YEARLY: 'yearly'
|
|
437
|
-
};
|
|
438
434
|
export const IPlanCollectionQueryParamsDateFieldEnum = {
|
|
439
435
|
CREATED_AT: 'createdAt',
|
|
440
436
|
UPDATED_AT: 'updatedAt'
|
|
441
437
|
};
|
|
438
|
+
export const IPlanCollectionQueryParamsCategoryEnum = {
|
|
439
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
440
|
+
B2C: 'b2c',
|
|
441
|
+
CMS: 'cms'
|
|
442
|
+
};
|
|
442
443
|
export const IProductCollectionQueryParamsDateFieldEnum = {
|
|
443
444
|
CREATED_AT: 'createdAt',
|
|
444
445
|
UPDATED_AT: 'updatedAt'
|
|
@@ -450,6 +451,10 @@ export const IProductCollectionQueryParamsSortEnum = {
|
|
|
450
451
|
RATING: 'rating',
|
|
451
452
|
REVIEW_COUNT: 'reviewCount'
|
|
452
453
|
};
|
|
454
|
+
export const ISubscriptionPostRequestPeriodEnum = {
|
|
455
|
+
MONTHLY: 'monthly',
|
|
456
|
+
YEARLY: 'yearly'
|
|
457
|
+
};
|
|
453
458
|
export const IUniqueCollectionQueryParamsDateFieldEnum = {
|
|
454
459
|
CREATED_AT: 'createdAt',
|
|
455
460
|
UPDATED_AT: 'updatedAt'
|
|
@@ -612,30 +617,10 @@ export const PaymentMethodEnum = {
|
|
|
612
617
|
CASH_ON_DELIVERY: 'cash_on_delivery',
|
|
613
618
|
CARD_ON_DELIVERY: 'card_on_delivery'
|
|
614
619
|
};
|
|
615
|
-
/**
|
|
616
|
-
*
|
|
617
|
-
* @export
|
|
618
|
-
* @enum {string}
|
|
619
|
-
*/
|
|
620
|
-
export const PaymentStatusEnum = {
|
|
621
|
-
WAITING_APPROVAL: 'waiting_approval',
|
|
622
|
-
PAID: 'paid',
|
|
623
|
-
FAILED: 'failed'
|
|
624
|
-
};
|
|
625
620
|
export const PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = {
|
|
626
621
|
CREATED_AT: 'createdAt',
|
|
627
622
|
UPDATED_AT: 'updatedAt'
|
|
628
623
|
};
|
|
629
|
-
/**
|
|
630
|
-
*
|
|
631
|
-
* @export
|
|
632
|
-
* @enum {string}
|
|
633
|
-
*/
|
|
634
|
-
export const PlanCurrencyEnum = {
|
|
635
|
-
TRY: 'try',
|
|
636
|
-
EUR: 'eur',
|
|
637
|
-
USD: 'usd'
|
|
638
|
-
};
|
|
639
624
|
/**
|
|
640
625
|
*
|
|
641
626
|
* @export
|
|
@@ -652,12 +637,15 @@ export const PlanStatusEnum = {
|
|
|
652
637
|
* @enum {string}
|
|
653
638
|
*/
|
|
654
639
|
export const PlanTypeEnum = {
|
|
640
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
655
641
|
STANDARD_B2C: 'standard-b2c',
|
|
656
642
|
ADVANCED_B2C: 'advanced-b2c',
|
|
657
643
|
PREMIUM_B2C: 'premium-b2c',
|
|
644
|
+
ENTERPRISE_B2C: 'enterprise-b2c',
|
|
658
645
|
STANDARD_CMS: 'standard-cms',
|
|
659
646
|
ADVANCED_CMS: 'advanced-cms',
|
|
660
|
-
PREMIUM_CMS: 'premium-cms'
|
|
647
|
+
PREMIUM_CMS: 'premium-cms',
|
|
648
|
+
ENTERPRISE_CMS: 'enterprise-cms'
|
|
661
649
|
};
|
|
662
650
|
/**
|
|
663
651
|
*
|
|
@@ -686,7 +674,7 @@ export const SitemapTypeEnum = {
|
|
|
686
674
|
PRODUCTS: 'products',
|
|
687
675
|
PAGES: 'pages',
|
|
688
676
|
COLLECTIONS: 'collections',
|
|
689
|
-
|
|
677
|
+
BLOGS: 'blogs',
|
|
690
678
|
UNIQUE_PAGES: 'unique-pages'
|
|
691
679
|
};
|
|
692
680
|
/**
|
|
@@ -698,6 +686,31 @@ export const StoreLocationEnum = {
|
|
|
698
686
|
DE: 'DE',
|
|
699
687
|
TR: 'TR'
|
|
700
688
|
};
|
|
689
|
+
/**
|
|
690
|
+
*
|
|
691
|
+
* @export
|
|
692
|
+
* @enum {string}
|
|
693
|
+
*/
|
|
694
|
+
export const SubscriptionPlanEnum = {
|
|
695
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
696
|
+
STANDARD_B2C: 'standard-b2c',
|
|
697
|
+
ADVANCED_B2C: 'advanced-b2c',
|
|
698
|
+
PREMIUM_B2C: 'premium-b2c',
|
|
699
|
+
STANDARD_CMS: 'standard-cms',
|
|
700
|
+
ADVANCED_CMS: 'advanced-cms',
|
|
701
|
+
PREMIUM_CMS: 'premium-cms'
|
|
702
|
+
};
|
|
703
|
+
/**
|
|
704
|
+
*
|
|
705
|
+
* @export
|
|
706
|
+
* @enum {string}
|
|
707
|
+
*/
|
|
708
|
+
export const SubscriptionStatusEnum = {
|
|
709
|
+
ACTIVE: 'active',
|
|
710
|
+
CANCELED: 'canceled',
|
|
711
|
+
EXPIRED: 'expired',
|
|
712
|
+
PENDING: 'pending'
|
|
713
|
+
};
|
|
701
714
|
/**
|
|
702
715
|
*
|
|
703
716
|
* @export
|
|
@@ -3919,15 +3932,14 @@ export const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
3919
3932
|
/**
|
|
3920
3933
|
*
|
|
3921
3934
|
* @param {string} from
|
|
3922
|
-
* @param {string} companyId
|
|
3935
|
+
* @param {string} [companyId]
|
|
3936
|
+
* @param {string} [domain]
|
|
3923
3937
|
* @param {*} [options] Override http request option.
|
|
3924
3938
|
* @throws {RequiredError}
|
|
3925
3939
|
*/
|
|
3926
|
-
getUrlRedirectBySource: async (from, companyId, options = {}) => {
|
|
3940
|
+
getUrlRedirectBySource: async (from, companyId, domain, options = {}) => {
|
|
3927
3941
|
// verify required parameter 'from' is not null or undefined
|
|
3928
3942
|
assertParamExists('getUrlRedirectBySource', 'from', from);
|
|
3929
|
-
// verify required parameter 'companyId' is not null or undefined
|
|
3930
|
-
assertParamExists('getUrlRedirectBySource', 'companyId', companyId);
|
|
3931
3943
|
const localVarPath = `/api/url-redirects/from`;
|
|
3932
3944
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3933
3945
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3944,6 +3956,9 @@ export const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
3944
3956
|
if (companyId !== undefined) {
|
|
3945
3957
|
localVarQueryParameter['companyId'] = companyId;
|
|
3946
3958
|
}
|
|
3959
|
+
if (domain !== undefined) {
|
|
3960
|
+
localVarQueryParameter['domain'] = domain;
|
|
3961
|
+
}
|
|
3947
3962
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3948
3963
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3949
3964
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -3964,12 +3979,13 @@ export const UrlRedirectApiFp = function (configuration) {
|
|
|
3964
3979
|
/**
|
|
3965
3980
|
*
|
|
3966
3981
|
* @param {string} from
|
|
3967
|
-
* @param {string} companyId
|
|
3982
|
+
* @param {string} [companyId]
|
|
3983
|
+
* @param {string} [domain]
|
|
3968
3984
|
* @param {*} [options] Override http request option.
|
|
3969
3985
|
* @throws {RequiredError}
|
|
3970
3986
|
*/
|
|
3971
|
-
async getUrlRedirectBySource(from, companyId, options) {
|
|
3972
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, options);
|
|
3987
|
+
async getUrlRedirectBySource(from, companyId, domain, options) {
|
|
3988
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, domain, options);
|
|
3973
3989
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3974
3990
|
const localVarOperationServerBasePath = operationServerMap['UrlRedirectApi.getUrlRedirectBySource']?.[localVarOperationServerIndex]?.url;
|
|
3975
3991
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3990,7 +4006,7 @@ export const UrlRedirectApiFactory = function (configuration, basePath, axios) {
|
|
|
3990
4006
|
* @throws {RequiredError}
|
|
3991
4007
|
*/
|
|
3992
4008
|
getUrlRedirectBySource(requestParameters, options) {
|
|
3993
|
-
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
4009
|
+
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
3994
4010
|
},
|
|
3995
4011
|
};
|
|
3996
4012
|
};
|
|
@@ -4009,7 +4025,7 @@ export class UrlRedirectApi extends BaseAPI {
|
|
|
4009
4025
|
* @memberof UrlRedirectApi
|
|
4010
4026
|
*/
|
|
4011
4027
|
getUrlRedirectBySource(requestParameters, options) {
|
|
4012
|
-
return UrlRedirectApiFp(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
4028
|
+
return UrlRedirectApiFp(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
4013
4029
|
}
|
|
4014
4030
|
}
|
|
4015
4031
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.32",
|
|
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": "cdfe243cef0a62d3c8603ac424b0211d0b7ad089"
|
|
41
41
|
}
|