@infisale-client/api 1.3.29 → 1.3.30
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 +126 -4
- package/dist/api/api.js +97 -11
- package/dist/api/api.mjs +93 -7
- 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
|
|
@@ -2862,6 +2872,19 @@ export interface ICompanyCreateWarehousesRequest {
|
|
|
2862
2872
|
*/
|
|
2863
2873
|
'address'?: string;
|
|
2864
2874
|
}
|
|
2875
|
+
/**
|
|
2876
|
+
*
|
|
2877
|
+
* @export
|
|
2878
|
+
* @interface ICompanyCustomerPatchRequest
|
|
2879
|
+
*/
|
|
2880
|
+
export interface ICompanyCustomerPatchRequest {
|
|
2881
|
+
/**
|
|
2882
|
+
*
|
|
2883
|
+
* @type {UserStatusEnum}
|
|
2884
|
+
* @memberof ICompanyCustomerPatchRequest
|
|
2885
|
+
*/
|
|
2886
|
+
'status': UserStatusEnum;
|
|
2887
|
+
}
|
|
2865
2888
|
/**
|
|
2866
2889
|
*
|
|
2867
2890
|
* @export
|
|
@@ -8669,6 +8692,12 @@ export interface IThemePostRequest {
|
|
|
8669
8692
|
* @memberof IThemePostRequest
|
|
8670
8693
|
*/
|
|
8671
8694
|
'thumbnail'?: IImage;
|
|
8695
|
+
/**
|
|
8696
|
+
*
|
|
8697
|
+
* @type {CompanyTypeEnum}
|
|
8698
|
+
* @memberof IThemePostRequest
|
|
8699
|
+
*/
|
|
8700
|
+
'type': CompanyTypeEnum;
|
|
8672
8701
|
/**
|
|
8673
8702
|
* Construct a type with a set of properties K of type T
|
|
8674
8703
|
* @type {{ [key: string]: any; }}
|
|
@@ -8766,6 +8795,12 @@ export interface IThemeResponse {
|
|
|
8766
8795
|
* @memberof IThemeResponse
|
|
8767
8796
|
*/
|
|
8768
8797
|
'main'?: string;
|
|
8798
|
+
/**
|
|
8799
|
+
*
|
|
8800
|
+
* @type {CompanyTypeEnum}
|
|
8801
|
+
* @memberof IThemeResponse
|
|
8802
|
+
*/
|
|
8803
|
+
'type': CompanyTypeEnum;
|
|
8769
8804
|
/**
|
|
8770
8805
|
* Construct a type with a set of properties K of type T
|
|
8771
8806
|
* @type {{ [key: string]: any; }}
|
|
@@ -11949,6 +11984,12 @@ export interface PickIThemeExcludeKeyofIThemeGroups {
|
|
|
11949
11984
|
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
11950
11985
|
*/
|
|
11951
11986
|
'main'?: string;
|
|
11987
|
+
/**
|
|
11988
|
+
*
|
|
11989
|
+
* @type {CompanyTypeEnum}
|
|
11990
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
11991
|
+
*/
|
|
11992
|
+
'type': CompanyTypeEnum;
|
|
11952
11993
|
/**
|
|
11953
11994
|
* Construct a type with a set of properties K of type T
|
|
11954
11995
|
* @type {{ [key: string]: any; }}
|
|
@@ -11988,6 +12029,12 @@ export interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseO
|
|
|
11988
12029
|
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
|
|
11989
12030
|
*/
|
|
11990
12031
|
'thumbnail'?: IImage;
|
|
12032
|
+
/**
|
|
12033
|
+
*
|
|
12034
|
+
* @type {CompanyTypeEnum}
|
|
12035
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
|
|
12036
|
+
*/
|
|
12037
|
+
'type': CompanyTypeEnum;
|
|
11991
12038
|
/**
|
|
11992
12039
|
* Construct a type with a set of properties K of type T
|
|
11993
12040
|
* @type {{ [key: string]: any; }}
|
|
@@ -15369,6 +15416,15 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
15369
15416
|
* @throws {RequiredError}
|
|
15370
15417
|
*/
|
|
15371
15418
|
updateCompanyConfig: (id: string, iCompanyUpdateConfigRequest: ICompanyUpdateConfigRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15419
|
+
/**
|
|
15420
|
+
*
|
|
15421
|
+
* @param {string} id
|
|
15422
|
+
* @param {string} customerId
|
|
15423
|
+
* @param {ICompanyCustomerPatchRequest} iCompanyCustomerPatchRequest
|
|
15424
|
+
* @param {*} [options] Override http request option.
|
|
15425
|
+
* @throws {RequiredError}
|
|
15426
|
+
*/
|
|
15427
|
+
updateCompanyCustomer: (id: string, customerId: string, iCompanyCustomerPatchRequest: ICompanyCustomerPatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15372
15428
|
/**
|
|
15373
15429
|
*
|
|
15374
15430
|
* @param {string} id
|
|
@@ -15716,6 +15772,15 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
15716
15772
|
* @throws {RequiredError}
|
|
15717
15773
|
*/
|
|
15718
15774
|
updateCompanyConfig(id: string, iCompanyUpdateConfigRequest: ICompanyUpdateConfigRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompanyResponse>>;
|
|
15775
|
+
/**
|
|
15776
|
+
*
|
|
15777
|
+
* @param {string} id
|
|
15778
|
+
* @param {string} customerId
|
|
15779
|
+
* @param {ICompanyCustomerPatchRequest} iCompanyCustomerPatchRequest
|
|
15780
|
+
* @param {*} [options] Override http request option.
|
|
15781
|
+
* @throws {RequiredError}
|
|
15782
|
+
*/
|
|
15783
|
+
updateCompanyCustomer(id: string, customerId: string, iCompanyCustomerPatchRequest: ICompanyCustomerPatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
15719
15784
|
/**
|
|
15720
15785
|
*
|
|
15721
15786
|
* @param {string} id
|
|
@@ -16020,6 +16085,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
16020
16085
|
* @throws {RequiredError}
|
|
16021
16086
|
*/
|
|
16022
16087
|
updateCompanyConfig(requestParameters: CompanyApiUpdateCompanyConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyResponse>;
|
|
16088
|
+
/**
|
|
16089
|
+
*
|
|
16090
|
+
* @param {CompanyApiUpdateCompanyCustomerRequest} requestParameters Request parameters.
|
|
16091
|
+
* @param {*} [options] Override http request option.
|
|
16092
|
+
* @throws {RequiredError}
|
|
16093
|
+
*/
|
|
16094
|
+
updateCompanyCustomer(requestParameters: CompanyApiUpdateCompanyCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
16023
16095
|
/**
|
|
16024
16096
|
*
|
|
16025
16097
|
* @param {CompanyApiUpdateCompanyFirebaseConfigRequest} requestParameters Request parameters.
|
|
@@ -16770,6 +16842,31 @@ export interface CompanyApiUpdateCompanyConfigRequest {
|
|
|
16770
16842
|
*/
|
|
16771
16843
|
readonly iCompanyUpdateConfigRequest: ICompanyUpdateConfigRequest;
|
|
16772
16844
|
}
|
|
16845
|
+
/**
|
|
16846
|
+
* Request parameters for updateCompanyCustomer operation in CompanyApi.
|
|
16847
|
+
* @export
|
|
16848
|
+
* @interface CompanyApiUpdateCompanyCustomerRequest
|
|
16849
|
+
*/
|
|
16850
|
+
export interface CompanyApiUpdateCompanyCustomerRequest {
|
|
16851
|
+
/**
|
|
16852
|
+
*
|
|
16853
|
+
* @type {string}
|
|
16854
|
+
* @memberof CompanyApiUpdateCompanyCustomer
|
|
16855
|
+
*/
|
|
16856
|
+
readonly id: string;
|
|
16857
|
+
/**
|
|
16858
|
+
*
|
|
16859
|
+
* @type {string}
|
|
16860
|
+
* @memberof CompanyApiUpdateCompanyCustomer
|
|
16861
|
+
*/
|
|
16862
|
+
readonly customerId: string;
|
|
16863
|
+
/**
|
|
16864
|
+
*
|
|
16865
|
+
* @type {ICompanyCustomerPatchRequest}
|
|
16866
|
+
* @memberof CompanyApiUpdateCompanyCustomer
|
|
16867
|
+
*/
|
|
16868
|
+
readonly iCompanyCustomerPatchRequest: ICompanyCustomerPatchRequest;
|
|
16869
|
+
}
|
|
16773
16870
|
/**
|
|
16774
16871
|
* Request parameters for updateCompanyFirebaseConfig operation in CompanyApi.
|
|
16775
16872
|
* @export
|
|
@@ -17206,6 +17303,14 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
17206
17303
|
* @memberof CompanyApi
|
|
17207
17304
|
*/
|
|
17208
17305
|
updateCompanyConfig(requestParameters: CompanyApiUpdateCompanyConfigRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompanyResponse, any>>;
|
|
17306
|
+
/**
|
|
17307
|
+
*
|
|
17308
|
+
* @param {CompanyApiUpdateCompanyCustomerRequest} requestParameters Request parameters.
|
|
17309
|
+
* @param {*} [options] Override http request option.
|
|
17310
|
+
* @throws {RequiredError}
|
|
17311
|
+
* @memberof CompanyApi
|
|
17312
|
+
*/
|
|
17313
|
+
updateCompanyCustomer(requestParameters: CompanyApiUpdateCompanyCustomerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
17209
17314
|
/**
|
|
17210
17315
|
*
|
|
17211
17316
|
* @param {CompanyApiUpdateCompanyFirebaseConfigRequest} requestParameters Request parameters.
|
|
@@ -21880,10 +21985,11 @@ export declare const ThemeApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
21880
21985
|
getThemeById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21881
21986
|
/**
|
|
21882
21987
|
*
|
|
21988
|
+
* @param {CompanyTypeEnum} [type]
|
|
21883
21989
|
* @param {*} [options] Override http request option.
|
|
21884
21990
|
* @throws {RequiredError}
|
|
21885
21991
|
*/
|
|
21886
|
-
getThemes: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21992
|
+
getThemes: (type?: CompanyTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21887
21993
|
/**
|
|
21888
21994
|
*
|
|
21889
21995
|
* @param {string} id
|
|
@@ -21943,10 +22049,11 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
|
|
|
21943
22049
|
getThemeById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemeResponse>>;
|
|
21944
22050
|
/**
|
|
21945
22051
|
*
|
|
22052
|
+
* @param {CompanyTypeEnum} [type]
|
|
21946
22053
|
* @param {*} [options] Override http request option.
|
|
21947
22054
|
* @throws {RequiredError}
|
|
21948
22055
|
*/
|
|
21949
|
-
getThemes(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
|
|
22056
|
+
getThemes(type?: CompanyTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
|
|
21950
22057
|
/**
|
|
21951
22058
|
*
|
|
21952
22059
|
* @param {string} id
|
|
@@ -22006,10 +22113,11 @@ export declare const ThemeApiFactory: (configuration?: Configuration, basePath?:
|
|
|
22006
22113
|
getThemeById(requestParameters: ThemeApiGetThemeByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<IThemeResponse>;
|
|
22007
22114
|
/**
|
|
22008
22115
|
*
|
|
22116
|
+
* @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
|
|
22009
22117
|
* @param {*} [options] Override http request option.
|
|
22010
22118
|
* @throws {RequiredError}
|
|
22011
22119
|
*/
|
|
22012
|
-
getThemes(options?: RawAxiosRequestConfig): AxiosPromise<IThemesResponse>;
|
|
22120
|
+
getThemes(requestParameters?: ThemeApiGetThemesRequest, options?: RawAxiosRequestConfig): AxiosPromise<IThemesResponse>;
|
|
22013
22121
|
/**
|
|
22014
22122
|
*
|
|
22015
22123
|
* @param {ThemeApiUpdateThemeRequest} requestParameters Request parameters.
|
|
@@ -22090,6 +22198,19 @@ export interface ThemeApiGetThemeByIdRequest {
|
|
|
22090
22198
|
*/
|
|
22091
22199
|
readonly id: string;
|
|
22092
22200
|
}
|
|
22201
|
+
/**
|
|
22202
|
+
* Request parameters for getThemes operation in ThemeApi.
|
|
22203
|
+
* @export
|
|
22204
|
+
* @interface ThemeApiGetThemesRequest
|
|
22205
|
+
*/
|
|
22206
|
+
export interface ThemeApiGetThemesRequest {
|
|
22207
|
+
/**
|
|
22208
|
+
*
|
|
22209
|
+
* @type {CompanyTypeEnum}
|
|
22210
|
+
* @memberof ThemeApiGetThemes
|
|
22211
|
+
*/
|
|
22212
|
+
readonly type?: CompanyTypeEnum;
|
|
22213
|
+
}
|
|
22093
22214
|
/**
|
|
22094
22215
|
* Request parameters for updateTheme operation in ThemeApi.
|
|
22095
22216
|
* @export
|
|
@@ -22177,11 +22298,12 @@ export declare class ThemeApi extends BaseAPI {
|
|
|
22177
22298
|
getThemeById(requestParameters: ThemeApiGetThemeByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IThemeResponse, any>>;
|
|
22178
22299
|
/**
|
|
22179
22300
|
*
|
|
22301
|
+
* @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
|
|
22180
22302
|
* @param {*} [options] Override http request option.
|
|
22181
22303
|
* @throws {RequiredError}
|
|
22182
22304
|
* @memberof ThemeApi
|
|
22183
22305
|
*/
|
|
22184
|
-
getThemes(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IThemesResponse, any>>;
|
|
22306
|
+
getThemes(requestParameters?: ThemeApiGetThemesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IThemesResponse, any>>;
|
|
22185
22307
|
/**
|
|
22186
22308
|
*
|
|
22187
22309
|
* @param {ThemeApiUpdateThemeRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -16,10 +16,10 @@ 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.
|
|
22
|
-
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.GetUrlRedirectsSortEnum = exports.GetUrlRedirectsDateFieldEnum = exports.UrlRedirectApi = exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.GetUniquePagesDateFieldEnum = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.ThemeApi = 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.FileApiFp = exports.FileApiAxiosParamCreator = exports.GetContactFormsDateFieldEnum = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.GetCompanyCustomersDateFieldEnum = exports.GetCompaniesDateFieldEnum = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.GetCategoriesDateFieldEnum = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.GetBrandsDateFieldEnum = exports.BrandApi = exports.BrandApiFactory = exports.BrandApiFp = exports.BrandApiAxiosParamCreator = 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.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPlansDateFieldEnum = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.GetOperationsDateFieldEnum = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.GetNotificationsDateFieldEnum = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.GetNavigationsDateFieldEnum = exports.NavigationApi = exports.NavigationApiFactory = exports.NavigationApiFp = exports.NavigationApiAxiosParamCreator = exports.GetFilesDateFieldEnum = exports.FileApi = exports.FileApiFactory = void 0;
|
|
22
|
+
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.GetUrlRedirectsSortEnum = exports.GetUrlRedirectsDateFieldEnum = exports.UrlRedirectApi = exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.GetUniquePagesDateFieldEnum = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = void 0;
|
|
23
23
|
const axios_1 = __importDefault(require("axios"));
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
@@ -37,6 +37,15 @@ exports.CompanyStatusEnum = {
|
|
|
37
37
|
PAYMENT_REQUIRED: 'payment_required',
|
|
38
38
|
DELETED: 'deleted'
|
|
39
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @export
|
|
43
|
+
* @enum {string}
|
|
44
|
+
*/
|
|
45
|
+
exports.CompanyTypeEnum = {
|
|
46
|
+
B2C: 'b2c',
|
|
47
|
+
CMS: 'cms'
|
|
48
|
+
};
|
|
40
49
|
/**
|
|
41
50
|
*
|
|
42
51
|
* @export
|
|
@@ -4696,6 +4705,43 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4696
4705
|
options: localVarRequestOptions,
|
|
4697
4706
|
};
|
|
4698
4707
|
},
|
|
4708
|
+
/**
|
|
4709
|
+
*
|
|
4710
|
+
* @param {string} id
|
|
4711
|
+
* @param {string} customerId
|
|
4712
|
+
* @param {ICompanyCustomerPatchRequest} iCompanyCustomerPatchRequest
|
|
4713
|
+
* @param {*} [options] Override http request option.
|
|
4714
|
+
* @throws {RequiredError}
|
|
4715
|
+
*/
|
|
4716
|
+
updateCompanyCustomer: async (id, customerId, iCompanyCustomerPatchRequest, options = {}) => {
|
|
4717
|
+
// verify required parameter 'id' is not null or undefined
|
|
4718
|
+
(0, common_1.assertParamExists)('updateCompanyCustomer', 'id', id);
|
|
4719
|
+
// verify required parameter 'customerId' is not null or undefined
|
|
4720
|
+
(0, common_1.assertParamExists)('updateCompanyCustomer', 'customerId', customerId);
|
|
4721
|
+
// verify required parameter 'iCompanyCustomerPatchRequest' is not null or undefined
|
|
4722
|
+
(0, common_1.assertParamExists)('updateCompanyCustomer', 'iCompanyCustomerPatchRequest', iCompanyCustomerPatchRequest);
|
|
4723
|
+
const localVarPath = `/api/companies/{id}/customers/{customerId}`
|
|
4724
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4725
|
+
.replace(`{${"customerId"}}`, encodeURIComponent(String(customerId)));
|
|
4726
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4727
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4728
|
+
let baseOptions;
|
|
4729
|
+
if (configuration) {
|
|
4730
|
+
baseOptions = configuration.baseOptions;
|
|
4731
|
+
}
|
|
4732
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
4733
|
+
const localVarHeaderParameter = {};
|
|
4734
|
+
const localVarQueryParameter = {};
|
|
4735
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4736
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4737
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4738
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4739
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iCompanyCustomerPatchRequest, localVarRequestOptions, configuration);
|
|
4740
|
+
return {
|
|
4741
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4742
|
+
options: localVarRequestOptions,
|
|
4743
|
+
};
|
|
4744
|
+
},
|
|
4699
4745
|
/**
|
|
4700
4746
|
*
|
|
4701
4747
|
* @param {string} id
|
|
@@ -5403,6 +5449,20 @@ const CompanyApiFp = function (configuration) {
|
|
|
5403
5449
|
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.updateCompanyConfig']?.[localVarOperationServerIndex]?.url;
|
|
5404
5450
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5405
5451
|
},
|
|
5452
|
+
/**
|
|
5453
|
+
*
|
|
5454
|
+
* @param {string} id
|
|
5455
|
+
* @param {string} customerId
|
|
5456
|
+
* @param {ICompanyCustomerPatchRequest} iCompanyCustomerPatchRequest
|
|
5457
|
+
* @param {*} [options] Override http request option.
|
|
5458
|
+
* @throws {RequiredError}
|
|
5459
|
+
*/
|
|
5460
|
+
async updateCompanyCustomer(id, customerId, iCompanyCustomerPatchRequest, options) {
|
|
5461
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyCustomer(id, customerId, iCompanyCustomerPatchRequest, options);
|
|
5462
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5463
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.updateCompanyCustomer']?.[localVarOperationServerIndex]?.url;
|
|
5464
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5465
|
+
},
|
|
5406
5466
|
/**
|
|
5407
5467
|
*
|
|
5408
5468
|
* @param {string} id
|
|
@@ -5814,6 +5874,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5814
5874
|
updateCompanyConfig(requestParameters, options) {
|
|
5815
5875
|
return localVarFp.updateCompanyConfig(requestParameters.id, requestParameters.iCompanyUpdateConfigRequest, options).then((request) => request(axios, basePath));
|
|
5816
5876
|
},
|
|
5877
|
+
/**
|
|
5878
|
+
*
|
|
5879
|
+
* @param {CompanyApiUpdateCompanyCustomerRequest} requestParameters Request parameters.
|
|
5880
|
+
* @param {*} [options] Override http request option.
|
|
5881
|
+
* @throws {RequiredError}
|
|
5882
|
+
*/
|
|
5883
|
+
updateCompanyCustomer(requestParameters, options) {
|
|
5884
|
+
return localVarFp.updateCompanyCustomer(requestParameters.id, requestParameters.customerId, requestParameters.iCompanyCustomerPatchRequest, options).then((request) => request(axios, basePath));
|
|
5885
|
+
},
|
|
5817
5886
|
/**
|
|
5818
5887
|
*
|
|
5819
5888
|
* @param {CompanyApiUpdateCompanyFirebaseConfigRequest} requestParameters Request parameters.
|
|
@@ -6227,6 +6296,16 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
6227
6296
|
updateCompanyConfig(requestParameters, options) {
|
|
6228
6297
|
return (0, exports.CompanyApiFp)(this.configuration).updateCompanyConfig(requestParameters.id, requestParameters.iCompanyUpdateConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6229
6298
|
}
|
|
6299
|
+
/**
|
|
6300
|
+
*
|
|
6301
|
+
* @param {CompanyApiUpdateCompanyCustomerRequest} requestParameters Request parameters.
|
|
6302
|
+
* @param {*} [options] Override http request option.
|
|
6303
|
+
* @throws {RequiredError}
|
|
6304
|
+
* @memberof CompanyApi
|
|
6305
|
+
*/
|
|
6306
|
+
updateCompanyCustomer(requestParameters, options) {
|
|
6307
|
+
return (0, exports.CompanyApiFp)(this.configuration).updateCompanyCustomer(requestParameters.id, requestParameters.customerId, requestParameters.iCompanyCustomerPatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6308
|
+
}
|
|
6230
6309
|
/**
|
|
6231
6310
|
*
|
|
6232
6311
|
* @param {CompanyApiUpdateCompanyFirebaseConfigRequest} requestParameters Request parameters.
|
|
@@ -12042,10 +12121,11 @@ const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
12042
12121
|
},
|
|
12043
12122
|
/**
|
|
12044
12123
|
*
|
|
12124
|
+
* @param {CompanyTypeEnum} [type]
|
|
12045
12125
|
* @param {*} [options] Override http request option.
|
|
12046
12126
|
* @throws {RequiredError}
|
|
12047
12127
|
*/
|
|
12048
|
-
getThemes: async (options = {}) => {
|
|
12128
|
+
getThemes: async (type, options = {}) => {
|
|
12049
12129
|
const localVarPath = `/api/themes`;
|
|
12050
12130
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12051
12131
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -12056,6 +12136,9 @@ const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
12056
12136
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
12057
12137
|
const localVarHeaderParameter = {};
|
|
12058
12138
|
const localVarQueryParameter = {};
|
|
12139
|
+
if (type !== undefined) {
|
|
12140
|
+
localVarQueryParameter['type'] = type;
|
|
12141
|
+
}
|
|
12059
12142
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12060
12143
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12061
12144
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -12206,11 +12289,12 @@ const ThemeApiFp = function (configuration) {
|
|
|
12206
12289
|
},
|
|
12207
12290
|
/**
|
|
12208
12291
|
*
|
|
12292
|
+
* @param {CompanyTypeEnum} [type]
|
|
12209
12293
|
* @param {*} [options] Override http request option.
|
|
12210
12294
|
* @throws {RequiredError}
|
|
12211
12295
|
*/
|
|
12212
|
-
async getThemes(options) {
|
|
12213
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(options);
|
|
12296
|
+
async getThemes(type, options) {
|
|
12297
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, options);
|
|
12214
12298
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12215
12299
|
const localVarOperationServerBasePath = base_1.operationServerMap['ThemeApi.getThemes']?.[localVarOperationServerIndex]?.url;
|
|
12216
12300
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12298,11 +12382,12 @@ const ThemeApiFactory = function (configuration, basePath, axios) {
|
|
|
12298
12382
|
},
|
|
12299
12383
|
/**
|
|
12300
12384
|
*
|
|
12385
|
+
* @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
|
|
12301
12386
|
* @param {*} [options] Override http request option.
|
|
12302
12387
|
* @throws {RequiredError}
|
|
12303
12388
|
*/
|
|
12304
|
-
getThemes(options) {
|
|
12305
|
-
return localVarFp.getThemes(options).then((request) => request(axios, basePath));
|
|
12389
|
+
getThemes(requestParameters = {}, options) {
|
|
12390
|
+
return localVarFp.getThemes(requestParameters.type, options).then((request) => request(axios, basePath));
|
|
12306
12391
|
},
|
|
12307
12392
|
/**
|
|
12308
12393
|
*
|
|
@@ -12384,12 +12469,13 @@ class ThemeApi extends base_1.BaseAPI {
|
|
|
12384
12469
|
}
|
|
12385
12470
|
/**
|
|
12386
12471
|
*
|
|
12472
|
+
* @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
|
|
12387
12473
|
* @param {*} [options] Override http request option.
|
|
12388
12474
|
* @throws {RequiredError}
|
|
12389
12475
|
* @memberof ThemeApi
|
|
12390
12476
|
*/
|
|
12391
|
-
getThemes(options) {
|
|
12392
|
-
return (0, exports.ThemeApiFp)(this.configuration).getThemes(options).then((request) => request(this.axios, this.basePath));
|
|
12477
|
+
getThemes(requestParameters = {}, options) {
|
|
12478
|
+
return (0, exports.ThemeApiFp)(this.configuration).getThemes(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
12393
12479
|
}
|
|
12394
12480
|
/**
|
|
12395
12481
|
*
|
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
|
|
@@ -4660,6 +4669,43 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4660
4669
|
options: localVarRequestOptions,
|
|
4661
4670
|
};
|
|
4662
4671
|
},
|
|
4672
|
+
/**
|
|
4673
|
+
*
|
|
4674
|
+
* @param {string} id
|
|
4675
|
+
* @param {string} customerId
|
|
4676
|
+
* @param {ICompanyCustomerPatchRequest} iCompanyCustomerPatchRequest
|
|
4677
|
+
* @param {*} [options] Override http request option.
|
|
4678
|
+
* @throws {RequiredError}
|
|
4679
|
+
*/
|
|
4680
|
+
updateCompanyCustomer: async (id, customerId, iCompanyCustomerPatchRequest, options = {}) => {
|
|
4681
|
+
// verify required parameter 'id' is not null or undefined
|
|
4682
|
+
assertParamExists('updateCompanyCustomer', 'id', id);
|
|
4683
|
+
// verify required parameter 'customerId' is not null or undefined
|
|
4684
|
+
assertParamExists('updateCompanyCustomer', 'customerId', customerId);
|
|
4685
|
+
// verify required parameter 'iCompanyCustomerPatchRequest' is not null or undefined
|
|
4686
|
+
assertParamExists('updateCompanyCustomer', 'iCompanyCustomerPatchRequest', iCompanyCustomerPatchRequest);
|
|
4687
|
+
const localVarPath = `/api/companies/{id}/customers/{customerId}`
|
|
4688
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4689
|
+
.replace(`{${"customerId"}}`, encodeURIComponent(String(customerId)));
|
|
4690
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4691
|
+
const localVarUrlObj = new URL(localVarPath, 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
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4700
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4701
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4702
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4703
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iCompanyCustomerPatchRequest, localVarRequestOptions, configuration);
|
|
4704
|
+
return {
|
|
4705
|
+
url: toPathString(localVarUrlObj),
|
|
4706
|
+
options: localVarRequestOptions,
|
|
4707
|
+
};
|
|
4708
|
+
},
|
|
4663
4709
|
/**
|
|
4664
4710
|
*
|
|
4665
4711
|
* @param {string} id
|
|
@@ -5366,6 +5412,20 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5366
5412
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.updateCompanyConfig']?.[localVarOperationServerIndex]?.url;
|
|
5367
5413
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5368
5414
|
},
|
|
5415
|
+
/**
|
|
5416
|
+
*
|
|
5417
|
+
* @param {string} id
|
|
5418
|
+
* @param {string} customerId
|
|
5419
|
+
* @param {ICompanyCustomerPatchRequest} iCompanyCustomerPatchRequest
|
|
5420
|
+
* @param {*} [options] Override http request option.
|
|
5421
|
+
* @throws {RequiredError}
|
|
5422
|
+
*/
|
|
5423
|
+
async updateCompanyCustomer(id, customerId, iCompanyCustomerPatchRequest, options) {
|
|
5424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyCustomer(id, customerId, iCompanyCustomerPatchRequest, options);
|
|
5425
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5426
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.updateCompanyCustomer']?.[localVarOperationServerIndex]?.url;
|
|
5427
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5428
|
+
},
|
|
5369
5429
|
/**
|
|
5370
5430
|
*
|
|
5371
5431
|
* @param {string} id
|
|
@@ -5776,6 +5836,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5776
5836
|
updateCompanyConfig(requestParameters, options) {
|
|
5777
5837
|
return localVarFp.updateCompanyConfig(requestParameters.id, requestParameters.iCompanyUpdateConfigRequest, options).then((request) => request(axios, basePath));
|
|
5778
5838
|
},
|
|
5839
|
+
/**
|
|
5840
|
+
*
|
|
5841
|
+
* @param {CompanyApiUpdateCompanyCustomerRequest} requestParameters Request parameters.
|
|
5842
|
+
* @param {*} [options] Override http request option.
|
|
5843
|
+
* @throws {RequiredError}
|
|
5844
|
+
*/
|
|
5845
|
+
updateCompanyCustomer(requestParameters, options) {
|
|
5846
|
+
return localVarFp.updateCompanyCustomer(requestParameters.id, requestParameters.customerId, requestParameters.iCompanyCustomerPatchRequest, options).then((request) => request(axios, basePath));
|
|
5847
|
+
},
|
|
5779
5848
|
/**
|
|
5780
5849
|
*
|
|
5781
5850
|
* @param {CompanyApiUpdateCompanyFirebaseConfigRequest} requestParameters Request parameters.
|
|
@@ -6188,6 +6257,16 @@ export class CompanyApi extends BaseAPI {
|
|
|
6188
6257
|
updateCompanyConfig(requestParameters, options) {
|
|
6189
6258
|
return CompanyApiFp(this.configuration).updateCompanyConfig(requestParameters.id, requestParameters.iCompanyUpdateConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6190
6259
|
}
|
|
6260
|
+
/**
|
|
6261
|
+
*
|
|
6262
|
+
* @param {CompanyApiUpdateCompanyCustomerRequest} requestParameters Request parameters.
|
|
6263
|
+
* @param {*} [options] Override http request option.
|
|
6264
|
+
* @throws {RequiredError}
|
|
6265
|
+
* @memberof CompanyApi
|
|
6266
|
+
*/
|
|
6267
|
+
updateCompanyCustomer(requestParameters, options) {
|
|
6268
|
+
return CompanyApiFp(this.configuration).updateCompanyCustomer(requestParameters.id, requestParameters.customerId, requestParameters.iCompanyCustomerPatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6269
|
+
}
|
|
6191
6270
|
/**
|
|
6192
6271
|
*
|
|
6193
6272
|
* @param {CompanyApiUpdateCompanyFirebaseConfigRequest} requestParameters Request parameters.
|
|
@@ -11958,10 +12037,11 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
11958
12037
|
},
|
|
11959
12038
|
/**
|
|
11960
12039
|
*
|
|
12040
|
+
* @param {CompanyTypeEnum} [type]
|
|
11961
12041
|
* @param {*} [options] Override http request option.
|
|
11962
12042
|
* @throws {RequiredError}
|
|
11963
12043
|
*/
|
|
11964
|
-
getThemes: async (options = {}) => {
|
|
12044
|
+
getThemes: async (type, options = {}) => {
|
|
11965
12045
|
const localVarPath = `/api/themes`;
|
|
11966
12046
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11967
12047
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11972,6 +12052,9 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
11972
12052
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11973
12053
|
const localVarHeaderParameter = {};
|
|
11974
12054
|
const localVarQueryParameter = {};
|
|
12055
|
+
if (type !== undefined) {
|
|
12056
|
+
localVarQueryParameter['type'] = type;
|
|
12057
|
+
}
|
|
11975
12058
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11976
12059
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11977
12060
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -12121,11 +12204,12 @@ export const ThemeApiFp = function (configuration) {
|
|
|
12121
12204
|
},
|
|
12122
12205
|
/**
|
|
12123
12206
|
*
|
|
12207
|
+
* @param {CompanyTypeEnum} [type]
|
|
12124
12208
|
* @param {*} [options] Override http request option.
|
|
12125
12209
|
* @throws {RequiredError}
|
|
12126
12210
|
*/
|
|
12127
|
-
async getThemes(options) {
|
|
12128
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(options);
|
|
12211
|
+
async getThemes(type, options) {
|
|
12212
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, options);
|
|
12129
12213
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12130
12214
|
const localVarOperationServerBasePath = operationServerMap['ThemeApi.getThemes']?.[localVarOperationServerIndex]?.url;
|
|
12131
12215
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12212,11 +12296,12 @@ export const ThemeApiFactory = function (configuration, basePath, axios) {
|
|
|
12212
12296
|
},
|
|
12213
12297
|
/**
|
|
12214
12298
|
*
|
|
12299
|
+
* @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
|
|
12215
12300
|
* @param {*} [options] Override http request option.
|
|
12216
12301
|
* @throws {RequiredError}
|
|
12217
12302
|
*/
|
|
12218
|
-
getThemes(options) {
|
|
12219
|
-
return localVarFp.getThemes(options).then((request) => request(axios, basePath));
|
|
12303
|
+
getThemes(requestParameters = {}, options) {
|
|
12304
|
+
return localVarFp.getThemes(requestParameters.type, options).then((request) => request(axios, basePath));
|
|
12220
12305
|
},
|
|
12221
12306
|
/**
|
|
12222
12307
|
*
|
|
@@ -12297,12 +12382,13 @@ export class ThemeApi extends BaseAPI {
|
|
|
12297
12382
|
}
|
|
12298
12383
|
/**
|
|
12299
12384
|
*
|
|
12385
|
+
* @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
|
|
12300
12386
|
* @param {*} [options] Override http request option.
|
|
12301
12387
|
* @throws {RequiredError}
|
|
12302
12388
|
* @memberof ThemeApi
|
|
12303
12389
|
*/
|
|
12304
|
-
getThemes(options) {
|
|
12305
|
-
return ThemeApiFp(this.configuration).getThemes(options).then((request) => request(this.axios, this.basePath));
|
|
12390
|
+
getThemes(requestParameters = {}, options) {
|
|
12391
|
+
return ThemeApiFp(this.configuration).getThemes(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
12306
12392
|
}
|
|
12307
12393
|
/**
|
|
12308
12394
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.30",
|
|
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": "edc22a366d2e1b45b12a5343347591492f244a15"
|
|
41
41
|
}
|