@infisale-client/api 1.3.30 → 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 +132 -5
- package/dist/api/api.js +141 -9
- package/dist/api/api.mjs +141 -9
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -2754,6 +2754,25 @@ export declare const ICompanyCollectionQueryParamsDateFieldEnum: {
|
|
|
2754
2754
|
readonly UPDATED_AT: "updatedAt";
|
|
2755
2755
|
};
|
|
2756
2756
|
export type ICompanyCollectionQueryParamsDateFieldEnum = typeof ICompanyCollectionQueryParamsDateFieldEnum[keyof typeof ICompanyCollectionQueryParamsDateFieldEnum];
|
|
2757
|
+
/**
|
|
2758
|
+
*
|
|
2759
|
+
* @export
|
|
2760
|
+
* @interface ICompanyCreateLanguageRequest
|
|
2761
|
+
*/
|
|
2762
|
+
export interface ICompanyCreateLanguageRequest {
|
|
2763
|
+
/**
|
|
2764
|
+
*
|
|
2765
|
+
* @type {LanguageEnum}
|
|
2766
|
+
* @memberof ICompanyCreateLanguageRequest
|
|
2767
|
+
*/
|
|
2768
|
+
'language': LanguageEnum;
|
|
2769
|
+
/**
|
|
2770
|
+
*
|
|
2771
|
+
* @type {boolean}
|
|
2772
|
+
* @memberof ICompanyCreateLanguageRequest
|
|
2773
|
+
*/
|
|
2774
|
+
'main'?: boolean;
|
|
2775
|
+
}
|
|
2757
2776
|
/**
|
|
2758
2777
|
*
|
|
2759
2778
|
* @export
|
|
@@ -15165,6 +15184,14 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
15165
15184
|
* @throws {RequiredError}
|
|
15166
15185
|
*/
|
|
15167
15186
|
createCompany: (iCompanyPostRequest: ICompanyPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15187
|
+
/**
|
|
15188
|
+
*
|
|
15189
|
+
* @param {string} companyId
|
|
15190
|
+
* @param {ICompanyCreateLanguageRequest} iCompanyCreateLanguageRequest
|
|
15191
|
+
* @param {*} [options] Override http request option.
|
|
15192
|
+
* @throws {RequiredError}
|
|
15193
|
+
*/
|
|
15194
|
+
createCompanyLanguage: (companyId: string, iCompanyCreateLanguageRequest: ICompanyCreateLanguageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15168
15195
|
/**
|
|
15169
15196
|
*
|
|
15170
15197
|
* @param {string} id
|
|
@@ -15400,6 +15427,14 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
15400
15427
|
* @throws {RequiredError}
|
|
15401
15428
|
*/
|
|
15402
15429
|
setCompanySenderEmail: (id: string, setCompanySenderEmailRequest: SetCompanySenderEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15430
|
+
/**
|
|
15431
|
+
*
|
|
15432
|
+
* @param {string} id
|
|
15433
|
+
* @param {LanguageEnum} language
|
|
15434
|
+
* @param {*} [options] Override http request option.
|
|
15435
|
+
* @throws {RequiredError}
|
|
15436
|
+
*/
|
|
15437
|
+
setDefaultCompanyLanguage: (id: string, language: LanguageEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15403
15438
|
/**
|
|
15404
15439
|
*
|
|
15405
15440
|
* @param {string} id
|
|
@@ -15521,6 +15556,14 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
15521
15556
|
* @throws {RequiredError}
|
|
15522
15557
|
*/
|
|
15523
15558
|
createCompany(iCompanyPostRequest: ICompanyPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompanyResponse>>;
|
|
15559
|
+
/**
|
|
15560
|
+
*
|
|
15561
|
+
* @param {string} companyId
|
|
15562
|
+
* @param {ICompanyCreateLanguageRequest} iCompanyCreateLanguageRequest
|
|
15563
|
+
* @param {*} [options] Override http request option.
|
|
15564
|
+
* @throws {RequiredError}
|
|
15565
|
+
*/
|
|
15566
|
+
createCompanyLanguage(companyId: string, iCompanyCreateLanguageRequest: ICompanyCreateLanguageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
15524
15567
|
/**
|
|
15525
15568
|
*
|
|
15526
15569
|
* @param {string} id
|
|
@@ -15756,6 +15799,14 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
15756
15799
|
* @throws {RequiredError}
|
|
15757
15800
|
*/
|
|
15758
15801
|
setCompanySenderEmail(id: string, setCompanySenderEmailRequest: SetCompanySenderEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompany>>;
|
|
15802
|
+
/**
|
|
15803
|
+
*
|
|
15804
|
+
* @param {string} id
|
|
15805
|
+
* @param {LanguageEnum} language
|
|
15806
|
+
* @param {*} [options] Override http request option.
|
|
15807
|
+
* @throws {RequiredError}
|
|
15808
|
+
*/
|
|
15809
|
+
setDefaultCompanyLanguage(id: string, language: LanguageEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
15759
15810
|
/**
|
|
15760
15811
|
*
|
|
15761
15812
|
* @param {string} id
|
|
@@ -15875,6 +15926,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
15875
15926
|
* @throws {RequiredError}
|
|
15876
15927
|
*/
|
|
15877
15928
|
createCompany(requestParameters: CompanyApiCreateCompanyRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyResponse>;
|
|
15929
|
+
/**
|
|
15930
|
+
*
|
|
15931
|
+
* @param {CompanyApiCreateCompanyLanguageRequest} requestParameters Request parameters.
|
|
15932
|
+
* @param {*} [options] Override http request option.
|
|
15933
|
+
* @throws {RequiredError}
|
|
15934
|
+
*/
|
|
15935
|
+
createCompanyLanguage(requestParameters: CompanyApiCreateCompanyLanguageRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
15878
15936
|
/**
|
|
15879
15937
|
*
|
|
15880
15938
|
* @param {CompanyApiCreateCompanyPaymentRequest} requestParameters Request parameters.
|
|
@@ -16071,6 +16129,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
16071
16129
|
* @throws {RequiredError}
|
|
16072
16130
|
*/
|
|
16073
16131
|
setCompanySenderEmail(requestParameters: CompanyApiSetCompanySenderEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompany>;
|
|
16132
|
+
/**
|
|
16133
|
+
*
|
|
16134
|
+
* @param {CompanyApiSetDefaultCompanyLanguageRequest} requestParameters Request parameters.
|
|
16135
|
+
* @param {*} [options] Override http request option.
|
|
16136
|
+
* @throws {RequiredError}
|
|
16137
|
+
*/
|
|
16138
|
+
setDefaultCompanyLanguage(requestParameters: CompanyApiSetDefaultCompanyLanguageRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
16074
16139
|
/**
|
|
16075
16140
|
*
|
|
16076
16141
|
* @param {CompanyApiUpdateCompanyRequest} requestParameters Request parameters.
|
|
@@ -16206,6 +16271,25 @@ export interface CompanyApiCreateCompanyRequest {
|
|
|
16206
16271
|
*/
|
|
16207
16272
|
readonly iCompanyPostRequest: ICompanyPostRequest;
|
|
16208
16273
|
}
|
|
16274
|
+
/**
|
|
16275
|
+
* Request parameters for createCompanyLanguage operation in CompanyApi.
|
|
16276
|
+
* @export
|
|
16277
|
+
* @interface CompanyApiCreateCompanyLanguageRequest
|
|
16278
|
+
*/
|
|
16279
|
+
export interface CompanyApiCreateCompanyLanguageRequest {
|
|
16280
|
+
/**
|
|
16281
|
+
*
|
|
16282
|
+
* @type {string}
|
|
16283
|
+
* @memberof CompanyApiCreateCompanyLanguage
|
|
16284
|
+
*/
|
|
16285
|
+
readonly companyId: string;
|
|
16286
|
+
/**
|
|
16287
|
+
*
|
|
16288
|
+
* @type {ICompanyCreateLanguageRequest}
|
|
16289
|
+
* @memberof CompanyApiCreateCompanyLanguage
|
|
16290
|
+
*/
|
|
16291
|
+
readonly iCompanyCreateLanguageRequest: ICompanyCreateLanguageRequest;
|
|
16292
|
+
}
|
|
16209
16293
|
/**
|
|
16210
16294
|
* Request parameters for createCompanyPayment operation in CompanyApi.
|
|
16211
16295
|
* @export
|
|
@@ -16804,6 +16888,25 @@ export interface CompanyApiSetCompanySenderEmailRequest {
|
|
|
16804
16888
|
*/
|
|
16805
16889
|
readonly setCompanySenderEmailRequest: SetCompanySenderEmailRequest;
|
|
16806
16890
|
}
|
|
16891
|
+
/**
|
|
16892
|
+
* Request parameters for setDefaultCompanyLanguage operation in CompanyApi.
|
|
16893
|
+
* @export
|
|
16894
|
+
* @interface CompanyApiSetDefaultCompanyLanguageRequest
|
|
16895
|
+
*/
|
|
16896
|
+
export interface CompanyApiSetDefaultCompanyLanguageRequest {
|
|
16897
|
+
/**
|
|
16898
|
+
*
|
|
16899
|
+
* @type {string}
|
|
16900
|
+
* @memberof CompanyApiSetDefaultCompanyLanguage
|
|
16901
|
+
*/
|
|
16902
|
+
readonly id: string;
|
|
16903
|
+
/**
|
|
16904
|
+
*
|
|
16905
|
+
* @type {LanguageEnum}
|
|
16906
|
+
* @memberof CompanyApiSetDefaultCompanyLanguage
|
|
16907
|
+
*/
|
|
16908
|
+
readonly language: LanguageEnum;
|
|
16909
|
+
}
|
|
16807
16910
|
/**
|
|
16808
16911
|
* Request parameters for updateCompany operation in CompanyApi.
|
|
16809
16912
|
* @export
|
|
@@ -17063,6 +17166,14 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
17063
17166
|
* @memberof CompanyApi
|
|
17064
17167
|
*/
|
|
17065
17168
|
createCompany(requestParameters: CompanyApiCreateCompanyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompanyResponse, any>>;
|
|
17169
|
+
/**
|
|
17170
|
+
*
|
|
17171
|
+
* @param {CompanyApiCreateCompanyLanguageRequest} requestParameters Request parameters.
|
|
17172
|
+
* @param {*} [options] Override http request option.
|
|
17173
|
+
* @throws {RequiredError}
|
|
17174
|
+
* @memberof CompanyApi
|
|
17175
|
+
*/
|
|
17176
|
+
createCompanyLanguage(requestParameters: CompanyApiCreateCompanyLanguageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
17066
17177
|
/**
|
|
17067
17178
|
*
|
|
17068
17179
|
* @param {CompanyApiCreateCompanyPaymentRequest} requestParameters Request parameters.
|
|
@@ -17287,6 +17398,14 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
17287
17398
|
* @memberof CompanyApi
|
|
17288
17399
|
*/
|
|
17289
17400
|
setCompanySenderEmail(requestParameters: CompanyApiSetCompanySenderEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompany, any>>;
|
|
17401
|
+
/**
|
|
17402
|
+
*
|
|
17403
|
+
* @param {CompanyApiSetDefaultCompanyLanguageRequest} requestParameters Request parameters.
|
|
17404
|
+
* @param {*} [options] Override http request option.
|
|
17405
|
+
* @throws {RequiredError}
|
|
17406
|
+
* @memberof CompanyApi
|
|
17407
|
+
*/
|
|
17408
|
+
setDefaultCompanyLanguage(requestParameters: CompanyApiSetDefaultCompanyLanguageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
17290
17409
|
/**
|
|
17291
17410
|
*
|
|
17292
17411
|
* @param {CompanyApiUpdateCompanyRequest} requestParameters Request parameters.
|
|
@@ -22663,11 +22782,12 @@ export declare const UrlRedirectApiAxiosParamCreator: (configuration?: Configura
|
|
|
22663
22782
|
/**
|
|
22664
22783
|
*
|
|
22665
22784
|
* @param {string} from
|
|
22666
|
-
* @param {string} companyId
|
|
22785
|
+
* @param {string} [companyId]
|
|
22786
|
+
* @param {string} [domain]
|
|
22667
22787
|
* @param {*} [options] Override http request option.
|
|
22668
22788
|
* @throws {RequiredError}
|
|
22669
22789
|
*/
|
|
22670
|
-
getUrlRedirectBySource: (from: string, companyId
|
|
22790
|
+
getUrlRedirectBySource: (from: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22671
22791
|
/**
|
|
22672
22792
|
*
|
|
22673
22793
|
* @param {string} companyId
|
|
@@ -22729,11 +22849,12 @@ export declare const UrlRedirectApiFp: (configuration?: Configuration) => {
|
|
|
22729
22849
|
/**
|
|
22730
22850
|
*
|
|
22731
22851
|
* @param {string} from
|
|
22732
|
-
* @param {string} companyId
|
|
22852
|
+
* @param {string} [companyId]
|
|
22853
|
+
* @param {string} [domain]
|
|
22733
22854
|
* @param {*} [options] Override http request option.
|
|
22734
22855
|
* @throws {RequiredError}
|
|
22735
22856
|
*/
|
|
22736
|
-
getUrlRedirectBySource(from: string, companyId
|
|
22857
|
+
getUrlRedirectBySource(from: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUrlRedirectResponse>>;
|
|
22737
22858
|
/**
|
|
22738
22859
|
*
|
|
22739
22860
|
* @param {string} companyId
|
|
@@ -22883,7 +23004,13 @@ export interface UrlRedirectApiGetUrlRedirectBySourceRequest {
|
|
|
22883
23004
|
* @type {string}
|
|
22884
23005
|
* @memberof UrlRedirectApiGetUrlRedirectBySource
|
|
22885
23006
|
*/
|
|
22886
|
-
readonly companyId
|
|
23007
|
+
readonly companyId?: string;
|
|
23008
|
+
/**
|
|
23009
|
+
*
|
|
23010
|
+
* @type {string}
|
|
23011
|
+
* @memberof UrlRedirectApiGetUrlRedirectBySource
|
|
23012
|
+
*/
|
|
23013
|
+
readonly domain?: string;
|
|
22887
23014
|
}
|
|
22888
23015
|
/**
|
|
22889
23016
|
* Request parameters for getUrlRedirects operation in UrlRedirectApi.
|
package/dist/api/api.js
CHANGED
|
@@ -3682,6 +3682,39 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3682
3682
|
options: localVarRequestOptions,
|
|
3683
3683
|
};
|
|
3684
3684
|
},
|
|
3685
|
+
/**
|
|
3686
|
+
*
|
|
3687
|
+
* @param {string} companyId
|
|
3688
|
+
* @param {ICompanyCreateLanguageRequest} iCompanyCreateLanguageRequest
|
|
3689
|
+
* @param {*} [options] Override http request option.
|
|
3690
|
+
* @throws {RequiredError}
|
|
3691
|
+
*/
|
|
3692
|
+
createCompanyLanguage: async (companyId, iCompanyCreateLanguageRequest, options = {}) => {
|
|
3693
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
3694
|
+
(0, common_1.assertParamExists)('createCompanyLanguage', 'companyId', companyId);
|
|
3695
|
+
// verify required parameter 'iCompanyCreateLanguageRequest' is not null or undefined
|
|
3696
|
+
(0, common_1.assertParamExists)('createCompanyLanguage', 'iCompanyCreateLanguageRequest', iCompanyCreateLanguageRequest);
|
|
3697
|
+
const localVarPath = `/api/companies/{companyId}/languages`
|
|
3698
|
+
.replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)));
|
|
3699
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3700
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3701
|
+
let baseOptions;
|
|
3702
|
+
if (configuration) {
|
|
3703
|
+
baseOptions = configuration.baseOptions;
|
|
3704
|
+
}
|
|
3705
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3706
|
+
const localVarHeaderParameter = {};
|
|
3707
|
+
const localVarQueryParameter = {};
|
|
3708
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3709
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3710
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3711
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3712
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iCompanyCreateLanguageRequest, localVarRequestOptions, configuration);
|
|
3713
|
+
return {
|
|
3714
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3715
|
+
options: localVarRequestOptions,
|
|
3716
|
+
};
|
|
3717
|
+
},
|
|
3685
3718
|
/**
|
|
3686
3719
|
*
|
|
3687
3720
|
* @param {string} id
|
|
@@ -4639,6 +4672,38 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4639
4672
|
options: localVarRequestOptions,
|
|
4640
4673
|
};
|
|
4641
4674
|
},
|
|
4675
|
+
/**
|
|
4676
|
+
*
|
|
4677
|
+
* @param {string} id
|
|
4678
|
+
* @param {LanguageEnum} language
|
|
4679
|
+
* @param {*} [options] Override http request option.
|
|
4680
|
+
* @throws {RequiredError}
|
|
4681
|
+
*/
|
|
4682
|
+
setDefaultCompanyLanguage: async (id, language, options = {}) => {
|
|
4683
|
+
// verify required parameter 'id' is not null or undefined
|
|
4684
|
+
(0, common_1.assertParamExists)('setDefaultCompanyLanguage', 'id', id);
|
|
4685
|
+
// verify required parameter 'language' is not null or undefined
|
|
4686
|
+
(0, common_1.assertParamExists)('setDefaultCompanyLanguage', 'language', language);
|
|
4687
|
+
const localVarPath = `/api/companies/{id}/languages/{language}/default`
|
|
4688
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4689
|
+
.replace(`{${"language"}}`, encodeURIComponent(String(language)));
|
|
4690
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4691
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4692
|
+
let baseOptions;
|
|
4693
|
+
if (configuration) {
|
|
4694
|
+
baseOptions = configuration.baseOptions;
|
|
4695
|
+
}
|
|
4696
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
4697
|
+
const localVarHeaderParameter = {};
|
|
4698
|
+
const localVarQueryParameter = {};
|
|
4699
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4700
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4701
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4702
|
+
return {
|
|
4703
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4704
|
+
options: localVarRequestOptions,
|
|
4705
|
+
};
|
|
4706
|
+
},
|
|
4642
4707
|
/**
|
|
4643
4708
|
*
|
|
4644
4709
|
* @param {string} id
|
|
@@ -5048,6 +5113,19 @@ const CompanyApiFp = function (configuration) {
|
|
|
5048
5113
|
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.createCompany']?.[localVarOperationServerIndex]?.url;
|
|
5049
5114
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5050
5115
|
},
|
|
5116
|
+
/**
|
|
5117
|
+
*
|
|
5118
|
+
* @param {string} companyId
|
|
5119
|
+
* @param {ICompanyCreateLanguageRequest} iCompanyCreateLanguageRequest
|
|
5120
|
+
* @param {*} [options] Override http request option.
|
|
5121
|
+
* @throws {RequiredError}
|
|
5122
|
+
*/
|
|
5123
|
+
async createCompanyLanguage(companyId, iCompanyCreateLanguageRequest, options) {
|
|
5124
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCompanyLanguage(companyId, iCompanyCreateLanguageRequest, options);
|
|
5125
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5126
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.createCompanyLanguage']?.[localVarOperationServerIndex]?.url;
|
|
5127
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5128
|
+
},
|
|
5051
5129
|
/**
|
|
5052
5130
|
*
|
|
5053
5131
|
* @param {string} id
|
|
@@ -5423,6 +5501,19 @@ const CompanyApiFp = function (configuration) {
|
|
|
5423
5501
|
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.setCompanySenderEmail']?.[localVarOperationServerIndex]?.url;
|
|
5424
5502
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5425
5503
|
},
|
|
5504
|
+
/**
|
|
5505
|
+
*
|
|
5506
|
+
* @param {string} id
|
|
5507
|
+
* @param {LanguageEnum} language
|
|
5508
|
+
* @param {*} [options] Override http request option.
|
|
5509
|
+
* @throws {RequiredError}
|
|
5510
|
+
*/
|
|
5511
|
+
async setDefaultCompanyLanguage(id, language, options) {
|
|
5512
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setDefaultCompanyLanguage(id, language, options);
|
|
5513
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5514
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.setDefaultCompanyLanguage']?.[localVarOperationServerIndex]?.url;
|
|
5515
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5516
|
+
},
|
|
5426
5517
|
/**
|
|
5427
5518
|
*
|
|
5428
5519
|
* @param {string} id
|
|
@@ -5604,6 +5695,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5604
5695
|
createCompany(requestParameters, options) {
|
|
5605
5696
|
return localVarFp.createCompany(requestParameters.iCompanyPostRequest, options).then((request) => request(axios, basePath));
|
|
5606
5697
|
},
|
|
5698
|
+
/**
|
|
5699
|
+
*
|
|
5700
|
+
* @param {CompanyApiCreateCompanyLanguageRequest} requestParameters Request parameters.
|
|
5701
|
+
* @param {*} [options] Override http request option.
|
|
5702
|
+
* @throws {RequiredError}
|
|
5703
|
+
*/
|
|
5704
|
+
createCompanyLanguage(requestParameters, options) {
|
|
5705
|
+
return localVarFp.createCompanyLanguage(requestParameters.companyId, requestParameters.iCompanyCreateLanguageRequest, options).then((request) => request(axios, basePath));
|
|
5706
|
+
},
|
|
5607
5707
|
/**
|
|
5608
5708
|
*
|
|
5609
5709
|
* @param {CompanyApiCreateCompanyPaymentRequest} requestParameters Request parameters.
|
|
@@ -5856,6 +5956,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5856
5956
|
setCompanySenderEmail(requestParameters, options) {
|
|
5857
5957
|
return localVarFp.setCompanySenderEmail(requestParameters.id, requestParameters.setCompanySenderEmailRequest, options).then((request) => request(axios, basePath));
|
|
5858
5958
|
},
|
|
5959
|
+
/**
|
|
5960
|
+
*
|
|
5961
|
+
* @param {CompanyApiSetDefaultCompanyLanguageRequest} requestParameters Request parameters.
|
|
5962
|
+
* @param {*} [options] Override http request option.
|
|
5963
|
+
* @throws {RequiredError}
|
|
5964
|
+
*/
|
|
5965
|
+
setDefaultCompanyLanguage(requestParameters, options) {
|
|
5966
|
+
return localVarFp.setDefaultCompanyLanguage(requestParameters.id, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
5967
|
+
},
|
|
5859
5968
|
/**
|
|
5860
5969
|
*
|
|
5861
5970
|
* @param {CompanyApiUpdateCompanyRequest} requestParameters Request parameters.
|
|
@@ -5996,6 +6105,16 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
5996
6105
|
createCompany(requestParameters, options) {
|
|
5997
6106
|
return (0, exports.CompanyApiFp)(this.configuration).createCompany(requestParameters.iCompanyPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5998
6107
|
}
|
|
6108
|
+
/**
|
|
6109
|
+
*
|
|
6110
|
+
* @param {CompanyApiCreateCompanyLanguageRequest} requestParameters Request parameters.
|
|
6111
|
+
* @param {*} [options] Override http request option.
|
|
6112
|
+
* @throws {RequiredError}
|
|
6113
|
+
* @memberof CompanyApi
|
|
6114
|
+
*/
|
|
6115
|
+
createCompanyLanguage(requestParameters, options) {
|
|
6116
|
+
return (0, exports.CompanyApiFp)(this.configuration).createCompanyLanguage(requestParameters.companyId, requestParameters.iCompanyCreateLanguageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6117
|
+
}
|
|
5999
6118
|
/**
|
|
6000
6119
|
*
|
|
6001
6120
|
* @param {CompanyApiCreateCompanyPaymentRequest} requestParameters Request parameters.
|
|
@@ -6276,6 +6395,16 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
6276
6395
|
setCompanySenderEmail(requestParameters, options) {
|
|
6277
6396
|
return (0, exports.CompanyApiFp)(this.configuration).setCompanySenderEmail(requestParameters.id, requestParameters.setCompanySenderEmailRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6278
6397
|
}
|
|
6398
|
+
/**
|
|
6399
|
+
*
|
|
6400
|
+
* @param {CompanyApiSetDefaultCompanyLanguageRequest} requestParameters Request parameters.
|
|
6401
|
+
* @param {*} [options] Override http request option.
|
|
6402
|
+
* @throws {RequiredError}
|
|
6403
|
+
* @memberof CompanyApi
|
|
6404
|
+
*/
|
|
6405
|
+
setDefaultCompanyLanguage(requestParameters, options) {
|
|
6406
|
+
return (0, exports.CompanyApiFp)(this.configuration).setDefaultCompanyLanguage(requestParameters.id, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
6407
|
+
}
|
|
6279
6408
|
/**
|
|
6280
6409
|
*
|
|
6281
6410
|
* @param {CompanyApiUpdateCompanyRequest} requestParameters Request parameters.
|
|
@@ -12973,15 +13102,14 @@ const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
12973
13102
|
/**
|
|
12974
13103
|
*
|
|
12975
13104
|
* @param {string} from
|
|
12976
|
-
* @param {string} companyId
|
|
13105
|
+
* @param {string} [companyId]
|
|
13106
|
+
* @param {string} [domain]
|
|
12977
13107
|
* @param {*} [options] Override http request option.
|
|
12978
13108
|
* @throws {RequiredError}
|
|
12979
13109
|
*/
|
|
12980
|
-
getUrlRedirectBySource: async (from, companyId, options = {}) => {
|
|
13110
|
+
getUrlRedirectBySource: async (from, companyId, domain, options = {}) => {
|
|
12981
13111
|
// verify required parameter 'from' is not null or undefined
|
|
12982
13112
|
(0, common_1.assertParamExists)('getUrlRedirectBySource', 'from', from);
|
|
12983
|
-
// verify required parameter 'companyId' is not null or undefined
|
|
12984
|
-
(0, common_1.assertParamExists)('getUrlRedirectBySource', 'companyId', companyId);
|
|
12985
13113
|
const localVarPath = `/api/url-redirects/from`;
|
|
12986
13114
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12987
13115
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -12998,6 +13126,9 @@ const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
12998
13126
|
if (companyId !== undefined) {
|
|
12999
13127
|
localVarQueryParameter['companyId'] = companyId;
|
|
13000
13128
|
}
|
|
13129
|
+
if (domain !== undefined) {
|
|
13130
|
+
localVarQueryParameter['domain'] = domain;
|
|
13131
|
+
}
|
|
13001
13132
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13002
13133
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13003
13134
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -13170,12 +13301,13 @@ const UrlRedirectApiFp = function (configuration) {
|
|
|
13170
13301
|
/**
|
|
13171
13302
|
*
|
|
13172
13303
|
* @param {string} from
|
|
13173
|
-
* @param {string} companyId
|
|
13304
|
+
* @param {string} [companyId]
|
|
13305
|
+
* @param {string} [domain]
|
|
13174
13306
|
* @param {*} [options] Override http request option.
|
|
13175
13307
|
* @throws {RequiredError}
|
|
13176
13308
|
*/
|
|
13177
|
-
async getUrlRedirectBySource(from, companyId, options) {
|
|
13178
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, options);
|
|
13309
|
+
async getUrlRedirectBySource(from, companyId, domain, options) {
|
|
13310
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, domain, options);
|
|
13179
13311
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13180
13312
|
const localVarOperationServerBasePath = base_1.operationServerMap['UrlRedirectApi.getUrlRedirectBySource']?.[localVarOperationServerIndex]?.url;
|
|
13181
13313
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -13267,7 +13399,7 @@ const UrlRedirectApiFactory = function (configuration, basePath, axios) {
|
|
|
13267
13399
|
* @throws {RequiredError}
|
|
13268
13400
|
*/
|
|
13269
13401
|
getUrlRedirectBySource(requestParameters, options) {
|
|
13270
|
-
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
13402
|
+
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
13271
13403
|
},
|
|
13272
13404
|
/**
|
|
13273
13405
|
*
|
|
@@ -13345,7 +13477,7 @@ class UrlRedirectApi extends base_1.BaseAPI {
|
|
|
13345
13477
|
* @memberof UrlRedirectApi
|
|
13346
13478
|
*/
|
|
13347
13479
|
getUrlRedirectBySource(requestParameters, options) {
|
|
13348
|
-
return (0, exports.UrlRedirectApiFp)(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
13480
|
+
return (0, exports.UrlRedirectApiFp)(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
13349
13481
|
}
|
|
13350
13482
|
/**
|
|
13351
13483
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -3646,6 +3646,39 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3646
3646
|
options: localVarRequestOptions,
|
|
3647
3647
|
};
|
|
3648
3648
|
},
|
|
3649
|
+
/**
|
|
3650
|
+
*
|
|
3651
|
+
* @param {string} companyId
|
|
3652
|
+
* @param {ICompanyCreateLanguageRequest} iCompanyCreateLanguageRequest
|
|
3653
|
+
* @param {*} [options] Override http request option.
|
|
3654
|
+
* @throws {RequiredError}
|
|
3655
|
+
*/
|
|
3656
|
+
createCompanyLanguage: async (companyId, iCompanyCreateLanguageRequest, options = {}) => {
|
|
3657
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
3658
|
+
assertParamExists('createCompanyLanguage', 'companyId', companyId);
|
|
3659
|
+
// verify required parameter 'iCompanyCreateLanguageRequest' is not null or undefined
|
|
3660
|
+
assertParamExists('createCompanyLanguage', 'iCompanyCreateLanguageRequest', iCompanyCreateLanguageRequest);
|
|
3661
|
+
const localVarPath = `/api/companies/{companyId}/languages`
|
|
3662
|
+
.replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)));
|
|
3663
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3664
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3665
|
+
let baseOptions;
|
|
3666
|
+
if (configuration) {
|
|
3667
|
+
baseOptions = configuration.baseOptions;
|
|
3668
|
+
}
|
|
3669
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3670
|
+
const localVarHeaderParameter = {};
|
|
3671
|
+
const localVarQueryParameter = {};
|
|
3672
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3673
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3674
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3675
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3676
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iCompanyCreateLanguageRequest, localVarRequestOptions, configuration);
|
|
3677
|
+
return {
|
|
3678
|
+
url: toPathString(localVarUrlObj),
|
|
3679
|
+
options: localVarRequestOptions,
|
|
3680
|
+
};
|
|
3681
|
+
},
|
|
3649
3682
|
/**
|
|
3650
3683
|
*
|
|
3651
3684
|
* @param {string} id
|
|
@@ -4603,6 +4636,38 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4603
4636
|
options: localVarRequestOptions,
|
|
4604
4637
|
};
|
|
4605
4638
|
},
|
|
4639
|
+
/**
|
|
4640
|
+
*
|
|
4641
|
+
* @param {string} id
|
|
4642
|
+
* @param {LanguageEnum} language
|
|
4643
|
+
* @param {*} [options] Override http request option.
|
|
4644
|
+
* @throws {RequiredError}
|
|
4645
|
+
*/
|
|
4646
|
+
setDefaultCompanyLanguage: async (id, language, options = {}) => {
|
|
4647
|
+
// verify required parameter 'id' is not null or undefined
|
|
4648
|
+
assertParamExists('setDefaultCompanyLanguage', 'id', id);
|
|
4649
|
+
// verify required parameter 'language' is not null or undefined
|
|
4650
|
+
assertParamExists('setDefaultCompanyLanguage', 'language', language);
|
|
4651
|
+
const localVarPath = `/api/companies/{id}/languages/{language}/default`
|
|
4652
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4653
|
+
.replace(`{${"language"}}`, encodeURIComponent(String(language)));
|
|
4654
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4655
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4656
|
+
let baseOptions;
|
|
4657
|
+
if (configuration) {
|
|
4658
|
+
baseOptions = configuration.baseOptions;
|
|
4659
|
+
}
|
|
4660
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
4661
|
+
const localVarHeaderParameter = {};
|
|
4662
|
+
const localVarQueryParameter = {};
|
|
4663
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4664
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4665
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4666
|
+
return {
|
|
4667
|
+
url: toPathString(localVarUrlObj),
|
|
4668
|
+
options: localVarRequestOptions,
|
|
4669
|
+
};
|
|
4670
|
+
},
|
|
4606
4671
|
/**
|
|
4607
4672
|
*
|
|
4608
4673
|
* @param {string} id
|
|
@@ -5011,6 +5076,19 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5011
5076
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.createCompany']?.[localVarOperationServerIndex]?.url;
|
|
5012
5077
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5013
5078
|
},
|
|
5079
|
+
/**
|
|
5080
|
+
*
|
|
5081
|
+
* @param {string} companyId
|
|
5082
|
+
* @param {ICompanyCreateLanguageRequest} iCompanyCreateLanguageRequest
|
|
5083
|
+
* @param {*} [options] Override http request option.
|
|
5084
|
+
* @throws {RequiredError}
|
|
5085
|
+
*/
|
|
5086
|
+
async createCompanyLanguage(companyId, iCompanyCreateLanguageRequest, options) {
|
|
5087
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCompanyLanguage(companyId, iCompanyCreateLanguageRequest, options);
|
|
5088
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5089
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.createCompanyLanguage']?.[localVarOperationServerIndex]?.url;
|
|
5090
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5091
|
+
},
|
|
5014
5092
|
/**
|
|
5015
5093
|
*
|
|
5016
5094
|
* @param {string} id
|
|
@@ -5386,6 +5464,19 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5386
5464
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.setCompanySenderEmail']?.[localVarOperationServerIndex]?.url;
|
|
5387
5465
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5388
5466
|
},
|
|
5467
|
+
/**
|
|
5468
|
+
*
|
|
5469
|
+
* @param {string} id
|
|
5470
|
+
* @param {LanguageEnum} language
|
|
5471
|
+
* @param {*} [options] Override http request option.
|
|
5472
|
+
* @throws {RequiredError}
|
|
5473
|
+
*/
|
|
5474
|
+
async setDefaultCompanyLanguage(id, language, options) {
|
|
5475
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setDefaultCompanyLanguage(id, language, options);
|
|
5476
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5477
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.setDefaultCompanyLanguage']?.[localVarOperationServerIndex]?.url;
|
|
5478
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5479
|
+
},
|
|
5389
5480
|
/**
|
|
5390
5481
|
*
|
|
5391
5482
|
* @param {string} id
|
|
@@ -5566,6 +5657,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5566
5657
|
createCompany(requestParameters, options) {
|
|
5567
5658
|
return localVarFp.createCompany(requestParameters.iCompanyPostRequest, options).then((request) => request(axios, basePath));
|
|
5568
5659
|
},
|
|
5660
|
+
/**
|
|
5661
|
+
*
|
|
5662
|
+
* @param {CompanyApiCreateCompanyLanguageRequest} requestParameters Request parameters.
|
|
5663
|
+
* @param {*} [options] Override http request option.
|
|
5664
|
+
* @throws {RequiredError}
|
|
5665
|
+
*/
|
|
5666
|
+
createCompanyLanguage(requestParameters, options) {
|
|
5667
|
+
return localVarFp.createCompanyLanguage(requestParameters.companyId, requestParameters.iCompanyCreateLanguageRequest, options).then((request) => request(axios, basePath));
|
|
5668
|
+
},
|
|
5569
5669
|
/**
|
|
5570
5670
|
*
|
|
5571
5671
|
* @param {CompanyApiCreateCompanyPaymentRequest} requestParameters Request parameters.
|
|
@@ -5818,6 +5918,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5818
5918
|
setCompanySenderEmail(requestParameters, options) {
|
|
5819
5919
|
return localVarFp.setCompanySenderEmail(requestParameters.id, requestParameters.setCompanySenderEmailRequest, options).then((request) => request(axios, basePath));
|
|
5820
5920
|
},
|
|
5921
|
+
/**
|
|
5922
|
+
*
|
|
5923
|
+
* @param {CompanyApiSetDefaultCompanyLanguageRequest} requestParameters Request parameters.
|
|
5924
|
+
* @param {*} [options] Override http request option.
|
|
5925
|
+
* @throws {RequiredError}
|
|
5926
|
+
*/
|
|
5927
|
+
setDefaultCompanyLanguage(requestParameters, options) {
|
|
5928
|
+
return localVarFp.setDefaultCompanyLanguage(requestParameters.id, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
5929
|
+
},
|
|
5821
5930
|
/**
|
|
5822
5931
|
*
|
|
5823
5932
|
* @param {CompanyApiUpdateCompanyRequest} requestParameters Request parameters.
|
|
@@ -5957,6 +6066,16 @@ export class CompanyApi extends BaseAPI {
|
|
|
5957
6066
|
createCompany(requestParameters, options) {
|
|
5958
6067
|
return CompanyApiFp(this.configuration).createCompany(requestParameters.iCompanyPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5959
6068
|
}
|
|
6069
|
+
/**
|
|
6070
|
+
*
|
|
6071
|
+
* @param {CompanyApiCreateCompanyLanguageRequest} requestParameters Request parameters.
|
|
6072
|
+
* @param {*} [options] Override http request option.
|
|
6073
|
+
* @throws {RequiredError}
|
|
6074
|
+
* @memberof CompanyApi
|
|
6075
|
+
*/
|
|
6076
|
+
createCompanyLanguage(requestParameters, options) {
|
|
6077
|
+
return CompanyApiFp(this.configuration).createCompanyLanguage(requestParameters.companyId, requestParameters.iCompanyCreateLanguageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6078
|
+
}
|
|
5960
6079
|
/**
|
|
5961
6080
|
*
|
|
5962
6081
|
* @param {CompanyApiCreateCompanyPaymentRequest} requestParameters Request parameters.
|
|
@@ -6237,6 +6356,16 @@ export class CompanyApi extends BaseAPI {
|
|
|
6237
6356
|
setCompanySenderEmail(requestParameters, options) {
|
|
6238
6357
|
return CompanyApiFp(this.configuration).setCompanySenderEmail(requestParameters.id, requestParameters.setCompanySenderEmailRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6239
6358
|
}
|
|
6359
|
+
/**
|
|
6360
|
+
*
|
|
6361
|
+
* @param {CompanyApiSetDefaultCompanyLanguageRequest} requestParameters Request parameters.
|
|
6362
|
+
* @param {*} [options] Override http request option.
|
|
6363
|
+
* @throws {RequiredError}
|
|
6364
|
+
* @memberof CompanyApi
|
|
6365
|
+
*/
|
|
6366
|
+
setDefaultCompanyLanguage(requestParameters, options) {
|
|
6367
|
+
return CompanyApiFp(this.configuration).setDefaultCompanyLanguage(requestParameters.id, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
6368
|
+
}
|
|
6240
6369
|
/**
|
|
6241
6370
|
*
|
|
6242
6371
|
* @param {CompanyApiUpdateCompanyRequest} requestParameters Request parameters.
|
|
@@ -12881,15 +13010,14 @@ export const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
12881
13010
|
/**
|
|
12882
13011
|
*
|
|
12883
13012
|
* @param {string} from
|
|
12884
|
-
* @param {string} companyId
|
|
13013
|
+
* @param {string} [companyId]
|
|
13014
|
+
* @param {string} [domain]
|
|
12885
13015
|
* @param {*} [options] Override http request option.
|
|
12886
13016
|
* @throws {RequiredError}
|
|
12887
13017
|
*/
|
|
12888
|
-
getUrlRedirectBySource: async (from, companyId, options = {}) => {
|
|
13018
|
+
getUrlRedirectBySource: async (from, companyId, domain, options = {}) => {
|
|
12889
13019
|
// verify required parameter 'from' is not null or undefined
|
|
12890
13020
|
assertParamExists('getUrlRedirectBySource', 'from', from);
|
|
12891
|
-
// verify required parameter 'companyId' is not null or undefined
|
|
12892
|
-
assertParamExists('getUrlRedirectBySource', 'companyId', companyId);
|
|
12893
13021
|
const localVarPath = `/api/url-redirects/from`;
|
|
12894
13022
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12895
13023
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12906,6 +13034,9 @@ export const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
12906
13034
|
if (companyId !== undefined) {
|
|
12907
13035
|
localVarQueryParameter['companyId'] = companyId;
|
|
12908
13036
|
}
|
|
13037
|
+
if (domain !== undefined) {
|
|
13038
|
+
localVarQueryParameter['domain'] = domain;
|
|
13039
|
+
}
|
|
12909
13040
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12910
13041
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12911
13042
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -13077,12 +13208,13 @@ export const UrlRedirectApiFp = function (configuration) {
|
|
|
13077
13208
|
/**
|
|
13078
13209
|
*
|
|
13079
13210
|
* @param {string} from
|
|
13080
|
-
* @param {string} companyId
|
|
13211
|
+
* @param {string} [companyId]
|
|
13212
|
+
* @param {string} [domain]
|
|
13081
13213
|
* @param {*} [options] Override http request option.
|
|
13082
13214
|
* @throws {RequiredError}
|
|
13083
13215
|
*/
|
|
13084
|
-
async getUrlRedirectBySource(from, companyId, options) {
|
|
13085
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, options);
|
|
13216
|
+
async getUrlRedirectBySource(from, companyId, domain, options) {
|
|
13217
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, domain, options);
|
|
13086
13218
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13087
13219
|
const localVarOperationServerBasePath = operationServerMap['UrlRedirectApi.getUrlRedirectBySource']?.[localVarOperationServerIndex]?.url;
|
|
13088
13220
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -13173,7 +13305,7 @@ export const UrlRedirectApiFactory = function (configuration, basePath, axios) {
|
|
|
13173
13305
|
* @throws {RequiredError}
|
|
13174
13306
|
*/
|
|
13175
13307
|
getUrlRedirectBySource(requestParameters, options) {
|
|
13176
|
-
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
13308
|
+
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
13177
13309
|
},
|
|
13178
13310
|
/**
|
|
13179
13311
|
*
|
|
@@ -13250,7 +13382,7 @@ export class UrlRedirectApi extends BaseAPI {
|
|
|
13250
13382
|
* @memberof UrlRedirectApi
|
|
13251
13383
|
*/
|
|
13252
13384
|
getUrlRedirectBySource(requestParameters, options) {
|
|
13253
|
-
return UrlRedirectApiFp(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
13385
|
+
return UrlRedirectApiFp(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
13254
13386
|
}
|
|
13255
13387
|
/**
|
|
13256
13388
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.31",
|
|
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": "
|
|
40
|
+
"gitHead": "32fd9f1776dbff5442b596356e8130b82571eea3"
|
|
41
41
|
}
|