@infisale-client/api-client 1.3.29 → 1.3.31
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 +79 -5
- package/dist/api/api.js +24 -12
- package/dist/api/api.mjs +21 -9
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -25,6 +25,16 @@ export declare const CompanyStatusEnum: {
|
|
|
25
25
|
readonly DELETED: "deleted";
|
|
26
26
|
};
|
|
27
27
|
export type CompanyStatusEnum = typeof CompanyStatusEnum[keyof typeof CompanyStatusEnum];
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @export
|
|
31
|
+
* @enum {string}
|
|
32
|
+
*/
|
|
33
|
+
export declare const CompanyTypeEnum: {
|
|
34
|
+
readonly B2C: "b2c";
|
|
35
|
+
readonly CMS: "cms";
|
|
36
|
+
};
|
|
37
|
+
export type CompanyTypeEnum = typeof CompanyTypeEnum[keyof typeof CompanyTypeEnum];
|
|
28
38
|
/**
|
|
29
39
|
*
|
|
30
40
|
* @export
|
|
@@ -2731,6 +2741,25 @@ export declare const ICompanyCollectionQueryParamsDateFieldEnum: {
|
|
|
2731
2741
|
readonly UPDATED_AT: "updatedAt";
|
|
2732
2742
|
};
|
|
2733
2743
|
export type ICompanyCollectionQueryParamsDateFieldEnum = typeof ICompanyCollectionQueryParamsDateFieldEnum[keyof typeof ICompanyCollectionQueryParamsDateFieldEnum];
|
|
2744
|
+
/**
|
|
2745
|
+
*
|
|
2746
|
+
* @export
|
|
2747
|
+
* @interface ICompanyCreateLanguageRequest
|
|
2748
|
+
*/
|
|
2749
|
+
export interface ICompanyCreateLanguageRequest {
|
|
2750
|
+
/**
|
|
2751
|
+
*
|
|
2752
|
+
* @type {LanguageEnum}
|
|
2753
|
+
* @memberof ICompanyCreateLanguageRequest
|
|
2754
|
+
*/
|
|
2755
|
+
'language': LanguageEnum;
|
|
2756
|
+
/**
|
|
2757
|
+
*
|
|
2758
|
+
* @type {boolean}
|
|
2759
|
+
* @memberof ICompanyCreateLanguageRequest
|
|
2760
|
+
*/
|
|
2761
|
+
'main'?: boolean;
|
|
2762
|
+
}
|
|
2734
2763
|
/**
|
|
2735
2764
|
*
|
|
2736
2765
|
* @export
|
|
@@ -2849,6 +2878,19 @@ export interface ICompanyCreateWarehousesRequest {
|
|
|
2849
2878
|
*/
|
|
2850
2879
|
'address'?: string;
|
|
2851
2880
|
}
|
|
2881
|
+
/**
|
|
2882
|
+
*
|
|
2883
|
+
* @export
|
|
2884
|
+
* @interface ICompanyCustomerPatchRequest
|
|
2885
|
+
*/
|
|
2886
|
+
export interface ICompanyCustomerPatchRequest {
|
|
2887
|
+
/**
|
|
2888
|
+
*
|
|
2889
|
+
* @type {UserStatusEnum}
|
|
2890
|
+
* @memberof ICompanyCustomerPatchRequest
|
|
2891
|
+
*/
|
|
2892
|
+
'status': UserStatusEnum;
|
|
2893
|
+
}
|
|
2852
2894
|
/**
|
|
2853
2895
|
*
|
|
2854
2896
|
* @export
|
|
@@ -8656,6 +8698,12 @@ export interface IThemePostRequest {
|
|
|
8656
8698
|
* @memberof IThemePostRequest
|
|
8657
8699
|
*/
|
|
8658
8700
|
'thumbnail'?: IImage;
|
|
8701
|
+
/**
|
|
8702
|
+
*
|
|
8703
|
+
* @type {CompanyTypeEnum}
|
|
8704
|
+
* @memberof IThemePostRequest
|
|
8705
|
+
*/
|
|
8706
|
+
'type': CompanyTypeEnum;
|
|
8659
8707
|
/**
|
|
8660
8708
|
* Construct a type with a set of properties K of type T
|
|
8661
8709
|
* @type {{ [key: string]: any; }}
|
|
@@ -8753,6 +8801,12 @@ export interface IThemeResponse {
|
|
|
8753
8801
|
* @memberof IThemeResponse
|
|
8754
8802
|
*/
|
|
8755
8803
|
'main'?: string;
|
|
8804
|
+
/**
|
|
8805
|
+
*
|
|
8806
|
+
* @type {CompanyTypeEnum}
|
|
8807
|
+
* @memberof IThemeResponse
|
|
8808
|
+
*/
|
|
8809
|
+
'type': CompanyTypeEnum;
|
|
8756
8810
|
/**
|
|
8757
8811
|
* Construct a type with a set of properties K of type T
|
|
8758
8812
|
* @type {{ [key: string]: any; }}
|
|
@@ -11936,6 +11990,12 @@ export interface PickIThemeExcludeKeyofIThemeGroups {
|
|
|
11936
11990
|
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
11937
11991
|
*/
|
|
11938
11992
|
'main'?: string;
|
|
11993
|
+
/**
|
|
11994
|
+
*
|
|
11995
|
+
* @type {CompanyTypeEnum}
|
|
11996
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
11997
|
+
*/
|
|
11998
|
+
'type': CompanyTypeEnum;
|
|
11939
11999
|
/**
|
|
11940
12000
|
* Construct a type with a set of properties K of type T
|
|
11941
12001
|
* @type {{ [key: string]: any; }}
|
|
@@ -11975,6 +12035,12 @@ export interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseO
|
|
|
11975
12035
|
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
|
|
11976
12036
|
*/
|
|
11977
12037
|
'thumbnail'?: IImage;
|
|
12038
|
+
/**
|
|
12039
|
+
*
|
|
12040
|
+
* @type {CompanyTypeEnum}
|
|
12041
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
|
|
12042
|
+
*/
|
|
12043
|
+
'type': CompanyTypeEnum;
|
|
11978
12044
|
/**
|
|
11979
12045
|
* Construct a type with a set of properties K of type T
|
|
11980
12046
|
* @type {{ [key: string]: any; }}
|
|
@@ -15493,11 +15559,12 @@ export declare const UrlRedirectApiAxiosParamCreator: (configuration?: Configura
|
|
|
15493
15559
|
/**
|
|
15494
15560
|
*
|
|
15495
15561
|
* @param {string} from
|
|
15496
|
-
* @param {string} companyId
|
|
15562
|
+
* @param {string} [companyId]
|
|
15563
|
+
* @param {string} [domain]
|
|
15497
15564
|
* @param {*} [options] Override http request option.
|
|
15498
15565
|
* @throws {RequiredError}
|
|
15499
15566
|
*/
|
|
15500
|
-
getUrlRedirectBySource: (from: string, companyId
|
|
15567
|
+
getUrlRedirectBySource: (from: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15501
15568
|
};
|
|
15502
15569
|
/**
|
|
15503
15570
|
* UrlRedirectApi - functional programming interface
|
|
@@ -15507,11 +15574,12 @@ export declare const UrlRedirectApiFp: (configuration?: Configuration) => {
|
|
|
15507
15574
|
/**
|
|
15508
15575
|
*
|
|
15509
15576
|
* @param {string} from
|
|
15510
|
-
* @param {string} companyId
|
|
15577
|
+
* @param {string} [companyId]
|
|
15578
|
+
* @param {string} [domain]
|
|
15511
15579
|
* @param {*} [options] Override http request option.
|
|
15512
15580
|
* @throws {RequiredError}
|
|
15513
15581
|
*/
|
|
15514
|
-
getUrlRedirectBySource(from: string, companyId
|
|
15582
|
+
getUrlRedirectBySource(from: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUrlRedirectResponse>>;
|
|
15515
15583
|
};
|
|
15516
15584
|
/**
|
|
15517
15585
|
* UrlRedirectApi - factory interface
|
|
@@ -15543,7 +15611,13 @@ export interface UrlRedirectApiGetUrlRedirectBySourceRequest {
|
|
|
15543
15611
|
* @type {string}
|
|
15544
15612
|
* @memberof UrlRedirectApiGetUrlRedirectBySource
|
|
15545
15613
|
*/
|
|
15546
|
-
readonly companyId
|
|
15614
|
+
readonly companyId?: string;
|
|
15615
|
+
/**
|
|
15616
|
+
*
|
|
15617
|
+
* @type {string}
|
|
15618
|
+
* @memberof UrlRedirectApiGetUrlRedirectBySource
|
|
15619
|
+
*/
|
|
15620
|
+
readonly domain?: string;
|
|
15547
15621
|
}
|
|
15548
15622
|
/**
|
|
15549
15623
|
* UrlRedirectApi - object-oriented interface
|
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.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 = void 0;
|
|
19
|
+
exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = 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.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPaymentPostRequestPeriodEnum = 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.ProductApi = 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.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = 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 = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -36,6 +36,15 @@ exports.CompanyStatusEnum = {
|
|
|
36
36
|
PAYMENT_REQUIRED: 'payment_required',
|
|
37
37
|
DELETED: 'deleted'
|
|
38
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @export
|
|
42
|
+
* @enum {string}
|
|
43
|
+
*/
|
|
44
|
+
exports.CompanyTypeEnum = {
|
|
45
|
+
B2C: 'b2c',
|
|
46
|
+
CMS: 'cms'
|
|
47
|
+
};
|
|
39
48
|
/**
|
|
40
49
|
*
|
|
41
50
|
* @export
|
|
@@ -3969,15 +3978,14 @@ const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
3969
3978
|
/**
|
|
3970
3979
|
*
|
|
3971
3980
|
* @param {string} from
|
|
3972
|
-
* @param {string} companyId
|
|
3981
|
+
* @param {string} [companyId]
|
|
3982
|
+
* @param {string} [domain]
|
|
3973
3983
|
* @param {*} [options] Override http request option.
|
|
3974
3984
|
* @throws {RequiredError}
|
|
3975
3985
|
*/
|
|
3976
|
-
getUrlRedirectBySource: async (from, companyId, options = {}) => {
|
|
3986
|
+
getUrlRedirectBySource: async (from, companyId, domain, options = {}) => {
|
|
3977
3987
|
// verify required parameter 'from' is not null or undefined
|
|
3978
3988
|
(0, common_1.assertParamExists)('getUrlRedirectBySource', 'from', from);
|
|
3979
|
-
// verify required parameter 'companyId' is not null or undefined
|
|
3980
|
-
(0, common_1.assertParamExists)('getUrlRedirectBySource', 'companyId', companyId);
|
|
3981
3989
|
const localVarPath = `/api/url-redirects/from`;
|
|
3982
3990
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3983
3991
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -3994,6 +4002,9 @@ const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
3994
4002
|
if (companyId !== undefined) {
|
|
3995
4003
|
localVarQueryParameter['companyId'] = companyId;
|
|
3996
4004
|
}
|
|
4005
|
+
if (domain !== undefined) {
|
|
4006
|
+
localVarQueryParameter['domain'] = domain;
|
|
4007
|
+
}
|
|
3997
4008
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3998
4009
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3999
4010
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -4015,12 +4026,13 @@ const UrlRedirectApiFp = function (configuration) {
|
|
|
4015
4026
|
/**
|
|
4016
4027
|
*
|
|
4017
4028
|
* @param {string} from
|
|
4018
|
-
* @param {string} companyId
|
|
4029
|
+
* @param {string} [companyId]
|
|
4030
|
+
* @param {string} [domain]
|
|
4019
4031
|
* @param {*} [options] Override http request option.
|
|
4020
4032
|
* @throws {RequiredError}
|
|
4021
4033
|
*/
|
|
4022
|
-
async getUrlRedirectBySource(from, companyId, options) {
|
|
4023
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, options);
|
|
4034
|
+
async getUrlRedirectBySource(from, companyId, domain, options) {
|
|
4035
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, domain, options);
|
|
4024
4036
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4025
4037
|
const localVarOperationServerBasePath = base_1.operationServerMap['UrlRedirectApi.getUrlRedirectBySource']?.[localVarOperationServerIndex]?.url;
|
|
4026
4038
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4042,7 +4054,7 @@ const UrlRedirectApiFactory = function (configuration, basePath, axios) {
|
|
|
4042
4054
|
* @throws {RequiredError}
|
|
4043
4055
|
*/
|
|
4044
4056
|
getUrlRedirectBySource(requestParameters, options) {
|
|
4045
|
-
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
4057
|
+
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
4046
4058
|
},
|
|
4047
4059
|
};
|
|
4048
4060
|
};
|
|
@@ -4062,7 +4074,7 @@ class UrlRedirectApi extends base_1.BaseAPI {
|
|
|
4062
4074
|
* @memberof UrlRedirectApi
|
|
4063
4075
|
*/
|
|
4064
4076
|
getUrlRedirectBySource(requestParameters, options) {
|
|
4065
|
-
return (0, exports.UrlRedirectApiFp)(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
4077
|
+
return (0, exports.UrlRedirectApiFp)(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
4066
4078
|
}
|
|
4067
4079
|
}
|
|
4068
4080
|
exports.UrlRedirectApi = UrlRedirectApi;
|
package/dist/api/api.mjs
CHANGED
|
@@ -25,6 +25,15 @@ export const CompanyStatusEnum = {
|
|
|
25
25
|
PAYMENT_REQUIRED: 'payment_required',
|
|
26
26
|
DELETED: 'deleted'
|
|
27
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @export
|
|
31
|
+
* @enum {string}
|
|
32
|
+
*/
|
|
33
|
+
export const CompanyTypeEnum = {
|
|
34
|
+
B2C: 'b2c',
|
|
35
|
+
CMS: 'cms'
|
|
36
|
+
};
|
|
28
37
|
/**
|
|
29
38
|
*
|
|
30
39
|
* @export
|
|
@@ -3910,15 +3919,14 @@ export const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
3910
3919
|
/**
|
|
3911
3920
|
*
|
|
3912
3921
|
* @param {string} from
|
|
3913
|
-
* @param {string} companyId
|
|
3922
|
+
* @param {string} [companyId]
|
|
3923
|
+
* @param {string} [domain]
|
|
3914
3924
|
* @param {*} [options] Override http request option.
|
|
3915
3925
|
* @throws {RequiredError}
|
|
3916
3926
|
*/
|
|
3917
|
-
getUrlRedirectBySource: async (from, companyId, options = {}) => {
|
|
3927
|
+
getUrlRedirectBySource: async (from, companyId, domain, options = {}) => {
|
|
3918
3928
|
// verify required parameter 'from' is not null or undefined
|
|
3919
3929
|
assertParamExists('getUrlRedirectBySource', 'from', from);
|
|
3920
|
-
// verify required parameter 'companyId' is not null or undefined
|
|
3921
|
-
assertParamExists('getUrlRedirectBySource', 'companyId', companyId);
|
|
3922
3930
|
const localVarPath = `/api/url-redirects/from`;
|
|
3923
3931
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3924
3932
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3935,6 +3943,9 @@ export const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
3935
3943
|
if (companyId !== undefined) {
|
|
3936
3944
|
localVarQueryParameter['companyId'] = companyId;
|
|
3937
3945
|
}
|
|
3946
|
+
if (domain !== undefined) {
|
|
3947
|
+
localVarQueryParameter['domain'] = domain;
|
|
3948
|
+
}
|
|
3938
3949
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3939
3950
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3940
3951
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -3955,12 +3966,13 @@ export const UrlRedirectApiFp = function (configuration) {
|
|
|
3955
3966
|
/**
|
|
3956
3967
|
*
|
|
3957
3968
|
* @param {string} from
|
|
3958
|
-
* @param {string} companyId
|
|
3969
|
+
* @param {string} [companyId]
|
|
3970
|
+
* @param {string} [domain]
|
|
3959
3971
|
* @param {*} [options] Override http request option.
|
|
3960
3972
|
* @throws {RequiredError}
|
|
3961
3973
|
*/
|
|
3962
|
-
async getUrlRedirectBySource(from, companyId, options) {
|
|
3963
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, options);
|
|
3974
|
+
async getUrlRedirectBySource(from, companyId, domain, options) {
|
|
3975
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, domain, options);
|
|
3964
3976
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3965
3977
|
const localVarOperationServerBasePath = operationServerMap['UrlRedirectApi.getUrlRedirectBySource']?.[localVarOperationServerIndex]?.url;
|
|
3966
3978
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3981,7 +3993,7 @@ export const UrlRedirectApiFactory = function (configuration, basePath, axios) {
|
|
|
3981
3993
|
* @throws {RequiredError}
|
|
3982
3994
|
*/
|
|
3983
3995
|
getUrlRedirectBySource(requestParameters, options) {
|
|
3984
|
-
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
3996
|
+
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
3985
3997
|
},
|
|
3986
3998
|
};
|
|
3987
3999
|
};
|
|
@@ -4000,7 +4012,7 @@ export class UrlRedirectApi extends BaseAPI {
|
|
|
4000
4012
|
* @memberof UrlRedirectApi
|
|
4001
4013
|
*/
|
|
4002
4014
|
getUrlRedirectBySource(requestParameters, options) {
|
|
4003
|
-
return UrlRedirectApiFp(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
4015
|
+
return UrlRedirectApiFp(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
4004
4016
|
}
|
|
4005
4017
|
}
|
|
4006
4018
|
/**
|
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.31",
|
|
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": "32fd9f1776dbff5442b596356e8130b82571eea3"
|
|
41
41
|
}
|