@infisale-client/api 1.3.44 → 1.3.46
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 +54 -61
- package/dist/api/api.js +20 -34
- package/dist/api/api.mjs +16 -30
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -404,16 +404,6 @@ export declare const FileKeywordEnum: {
|
|
|
404
404
|
readonly LEGAL: "legal";
|
|
405
405
|
};
|
|
406
406
|
export type FileKeywordEnum = typeof FileKeywordEnum[keyof typeof FileKeywordEnum];
|
|
407
|
-
/**
|
|
408
|
-
*
|
|
409
|
-
* @export
|
|
410
|
-
* @enum {string}
|
|
411
|
-
*/
|
|
412
|
-
export declare const FileStatusEnum: {
|
|
413
|
-
readonly WAITING_PROCESS: "waiting_process";
|
|
414
|
-
readonly ACTIVE: "active";
|
|
415
|
-
};
|
|
416
|
-
export type FileStatusEnum = typeof FileStatusEnum[keyof typeof FileStatusEnum];
|
|
417
407
|
/**
|
|
418
408
|
*
|
|
419
409
|
* @export
|
|
@@ -4633,12 +4623,6 @@ export interface IFileCollectionQueryParams {
|
|
|
4633
4623
|
* @memberof IFileCollectionQueryParams
|
|
4634
4624
|
*/
|
|
4635
4625
|
'type'?: FileTypeEnum;
|
|
4636
|
-
/**
|
|
4637
|
-
*
|
|
4638
|
-
* @type {FileStatusEnum}
|
|
4639
|
-
* @memberof IFileCollectionQueryParams
|
|
4640
|
-
*/
|
|
4641
|
-
'status'?: FileStatusEnum;
|
|
4642
4626
|
}
|
|
4643
4627
|
export declare const IFileCollectionQueryParamsDateFieldEnum: {
|
|
4644
4628
|
readonly CREATED_AT: "createdAt";
|
|
@@ -4711,13 +4695,37 @@ export interface IFileResponse {
|
|
|
4711
4695
|
* @type {string}
|
|
4712
4696
|
* @memberof IFileResponse
|
|
4713
4697
|
*/
|
|
4714
|
-
'company'
|
|
4698
|
+
'company': string;
|
|
4699
|
+
/**
|
|
4700
|
+
*
|
|
4701
|
+
* @type {number}
|
|
4702
|
+
* @memberof IFileResponse
|
|
4703
|
+
*/
|
|
4704
|
+
'size': number;
|
|
4705
|
+
/**
|
|
4706
|
+
*
|
|
4707
|
+
* @type {number}
|
|
4708
|
+
* @memberof IFileResponse
|
|
4709
|
+
*/
|
|
4710
|
+
'width': number;
|
|
4711
|
+
/**
|
|
4712
|
+
*
|
|
4713
|
+
* @type {number}
|
|
4714
|
+
* @memberof IFileResponse
|
|
4715
|
+
*/
|
|
4716
|
+
'height': number;
|
|
4715
4717
|
/**
|
|
4716
4718
|
*
|
|
4717
|
-
* @type {Array<
|
|
4719
|
+
* @type {Array<number>}
|
|
4718
4720
|
* @memberof IFileResponse
|
|
4719
4721
|
*/
|
|
4720
|
-
'
|
|
4722
|
+
'widths': Array<number>;
|
|
4723
|
+
/**
|
|
4724
|
+
*
|
|
4725
|
+
* @type {string}
|
|
4726
|
+
* @memberof IFileResponse
|
|
4727
|
+
*/
|
|
4728
|
+
'blurHash'?: string;
|
|
4721
4729
|
/**
|
|
4722
4730
|
*
|
|
4723
4731
|
* @type {FileTypeEnum}
|
|
@@ -4736,12 +4744,6 @@ export interface IFileResponse {
|
|
|
4736
4744
|
* @memberof IFileResponse
|
|
4737
4745
|
*/
|
|
4738
4746
|
'mimetype': string;
|
|
4739
|
-
/**
|
|
4740
|
-
*
|
|
4741
|
-
* @type {FileStatusEnum}
|
|
4742
|
-
* @memberof IFileResponse
|
|
4743
|
-
*/
|
|
4744
|
-
'status': FileStatusEnum;
|
|
4745
4747
|
}
|
|
4746
4748
|
/**
|
|
4747
4749
|
*
|
|
@@ -4810,44 +4812,43 @@ export interface IImage {
|
|
|
4810
4812
|
* @type {string}
|
|
4811
4813
|
* @memberof IImage
|
|
4812
4814
|
*/
|
|
4813
|
-
'
|
|
4815
|
+
'company': string;
|
|
4814
4816
|
/**
|
|
4815
4817
|
*
|
|
4816
|
-
* @type {
|
|
4818
|
+
* @type {string}
|
|
4817
4819
|
* @memberof IImage
|
|
4818
4820
|
*/
|
|
4819
|
-
'
|
|
4820
|
-
}
|
|
4821
|
-
/**
|
|
4822
|
-
*
|
|
4823
|
-
* @export
|
|
4824
|
-
* @interface IImagePathsInner
|
|
4825
|
-
*/
|
|
4826
|
-
export interface IImagePathsInner {
|
|
4821
|
+
'name': string;
|
|
4827
4822
|
/**
|
|
4828
4823
|
*
|
|
4829
4824
|
* @type {number}
|
|
4830
|
-
* @memberof
|
|
4825
|
+
* @memberof IImage
|
|
4831
4826
|
*/
|
|
4832
|
-
'
|
|
4827
|
+
'width': number;
|
|
4833
4828
|
/**
|
|
4834
4829
|
*
|
|
4835
4830
|
* @type {number}
|
|
4836
|
-
* @memberof
|
|
4831
|
+
* @memberof IImage
|
|
4837
4832
|
*/
|
|
4838
|
-
'
|
|
4833
|
+
'height': number;
|
|
4839
4834
|
/**
|
|
4840
4835
|
*
|
|
4841
|
-
* @type {number}
|
|
4842
|
-
* @memberof
|
|
4836
|
+
* @type {Array<number>}
|
|
4837
|
+
* @memberof IImage
|
|
4843
4838
|
*/
|
|
4844
|
-
'
|
|
4839
|
+
'widths': Array<number>;
|
|
4845
4840
|
/**
|
|
4846
4841
|
*
|
|
4847
4842
|
* @type {string}
|
|
4848
|
-
* @memberof
|
|
4843
|
+
* @memberof IImage
|
|
4849
4844
|
*/
|
|
4850
|
-
'
|
|
4845
|
+
'blurHash'?: string;
|
|
4846
|
+
/**
|
|
4847
|
+
*
|
|
4848
|
+
* @type {string}
|
|
4849
|
+
* @memberof IImage
|
|
4850
|
+
*/
|
|
4851
|
+
'mimetype': string;
|
|
4851
4852
|
}
|
|
4852
4853
|
/**
|
|
4853
4854
|
*
|
|
@@ -11327,10 +11328,10 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner {
|
|
|
11327
11328
|
'productSlug': PartialRecordLanguageEnumString;
|
|
11328
11329
|
/**
|
|
11329
11330
|
*
|
|
11330
|
-
* @type {
|
|
11331
|
+
* @type {IImage}
|
|
11331
11332
|
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
11332
11333
|
*/
|
|
11333
|
-
'productThumbnail'?:
|
|
11334
|
+
'productThumbnail'?: IImage;
|
|
11334
11335
|
/**
|
|
11335
11336
|
*
|
|
11336
11337
|
* @type {PartialRecordLanguageEnumString}
|
|
@@ -17988,11 +17989,11 @@ export declare const FileApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
17988
17989
|
deleteFile: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17989
17990
|
/**
|
|
17990
17991
|
*
|
|
17991
|
-
* @param {string}
|
|
17992
|
+
* @param {string} id
|
|
17992
17993
|
* @param {*} [options] Override http request option.
|
|
17993
17994
|
* @throws {RequiredError}
|
|
17994
17995
|
*/
|
|
17995
|
-
downloadFile: (
|
|
17996
|
+
downloadFile: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17996
17997
|
/**
|
|
17997
17998
|
*
|
|
17998
17999
|
* @param {string} id
|
|
@@ -18013,11 +18014,10 @@ export declare const FileApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
18013
18014
|
* @param {string} [sort]
|
|
18014
18015
|
* @param {Array<FileKeywordEnum>} [keywords]
|
|
18015
18016
|
* @param {FileTypeEnum} [type]
|
|
18016
|
-
* @param {FileStatusEnum} [status]
|
|
18017
18017
|
* @param {*} [options] Override http request option.
|
|
18018
18018
|
* @throws {RequiredError}
|
|
18019
18019
|
*/
|
|
18020
|
-
getFiles: (companyId: string, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetFilesDateFieldEnum, order?: OrderEnum, sort?: string, keywords?: Array<FileKeywordEnum>, type?: FileTypeEnum,
|
|
18020
|
+
getFiles: (companyId: string, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetFilesDateFieldEnum, order?: OrderEnum, sort?: string, keywords?: Array<FileKeywordEnum>, type?: FileTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18021
18021
|
/**
|
|
18022
18022
|
*
|
|
18023
18023
|
* @param {string} id
|
|
@@ -18050,11 +18050,11 @@ export declare const FileApiFp: (configuration?: Configuration) => {
|
|
|
18050
18050
|
deleteFile(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
18051
18051
|
/**
|
|
18052
18052
|
*
|
|
18053
|
-
* @param {string}
|
|
18053
|
+
* @param {string} id
|
|
18054
18054
|
* @param {*} [options] Override http request option.
|
|
18055
18055
|
* @throws {RequiredError}
|
|
18056
18056
|
*/
|
|
18057
|
-
downloadFile(
|
|
18057
|
+
downloadFile(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
18058
18058
|
/**
|
|
18059
18059
|
*
|
|
18060
18060
|
* @param {string} id
|
|
@@ -18075,11 +18075,10 @@ export declare const FileApiFp: (configuration?: Configuration) => {
|
|
|
18075
18075
|
* @param {string} [sort]
|
|
18076
18076
|
* @param {Array<FileKeywordEnum>} [keywords]
|
|
18077
18077
|
* @param {FileTypeEnum} [type]
|
|
18078
|
-
* @param {FileStatusEnum} [status]
|
|
18079
18078
|
* @param {*} [options] Override http request option.
|
|
18080
18079
|
* @throws {RequiredError}
|
|
18081
18080
|
*/
|
|
18082
|
-
getFiles(companyId: string, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetFilesDateFieldEnum, order?: OrderEnum, sort?: string, keywords?: Array<FileKeywordEnum>, type?: FileTypeEnum,
|
|
18081
|
+
getFiles(companyId: string, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetFilesDateFieldEnum, order?: OrderEnum, sort?: string, keywords?: Array<FileKeywordEnum>, type?: FileTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IFilesResponse>>;
|
|
18083
18082
|
/**
|
|
18084
18083
|
*
|
|
18085
18084
|
* @param {string} id
|
|
@@ -18170,7 +18169,7 @@ export interface FileApiDownloadFileRequest {
|
|
|
18170
18169
|
* @type {string}
|
|
18171
18170
|
* @memberof FileApiDownloadFile
|
|
18172
18171
|
*/
|
|
18173
|
-
readonly
|
|
18172
|
+
readonly id: string;
|
|
18174
18173
|
}
|
|
18175
18174
|
/**
|
|
18176
18175
|
* Request parameters for getFileById operation in FileApi.
|
|
@@ -18257,12 +18256,6 @@ export interface FileApiGetFilesRequest {
|
|
|
18257
18256
|
* @memberof FileApiGetFiles
|
|
18258
18257
|
*/
|
|
18259
18258
|
readonly type?: FileTypeEnum;
|
|
18260
|
-
/**
|
|
18261
|
-
*
|
|
18262
|
-
* @type {FileStatusEnum}
|
|
18263
|
-
* @memberof FileApiGetFiles
|
|
18264
|
-
*/
|
|
18265
|
-
readonly status?: FileStatusEnum;
|
|
18266
18259
|
}
|
|
18267
18260
|
/**
|
|
18268
18261
|
* Request parameters for updateFile operation in FileApi.
|
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.PlanAttributeGroupEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IUrlRedirectCollectionQueryParamsSortEnum = exports.IUrlRedirectCollectionQueryParamsDateFieldEnum = exports.IUniqueCollectionQueryParamsDateFieldEnum = exports.ISubscriptionPostRequestPeriodEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsCategoryEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.INavigationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.
|
|
20
|
-
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.SubscriptionStatusEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum =
|
|
21
|
-
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.GetPlansCategoryEnum = 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 =
|
|
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 = exports.ThemeApiFp =
|
|
19
|
+
exports.PlanAttributeKeyEnum = exports.PlanAttributeGroupEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IUrlRedirectCollectionQueryParamsSortEnum = exports.IUrlRedirectCollectionQueryParamsDateFieldEnum = exports.IUniqueCollectionQueryParamsDateFieldEnum = exports.ISubscriptionPostRequestPeriodEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsCategoryEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.INavigationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.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.SubscriptionStatusEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = void 0;
|
|
21
|
+
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.GetPlansCategoryEnum = 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 = exports.ThemeApiFp = void 0;
|
|
23
23
|
const axios_1 = __importDefault(require("axios"));
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
@@ -364,15 +364,6 @@ exports.FileKeywordEnum = {
|
|
|
364
364
|
COMMENT: 'comment',
|
|
365
365
|
LEGAL: 'legal'
|
|
366
366
|
};
|
|
367
|
-
/**
|
|
368
|
-
*
|
|
369
|
-
* @export
|
|
370
|
-
* @enum {string}
|
|
371
|
-
*/
|
|
372
|
-
exports.FileStatusEnum = {
|
|
373
|
-
WAITING_PROCESS: 'waiting_process',
|
|
374
|
-
ACTIVE: 'active'
|
|
375
|
-
};
|
|
376
367
|
/**
|
|
377
368
|
*
|
|
378
369
|
* @export
|
|
@@ -6836,15 +6827,15 @@ const FileApiAxiosParamCreator = function (configuration) {
|
|
|
6836
6827
|
},
|
|
6837
6828
|
/**
|
|
6838
6829
|
*
|
|
6839
|
-
* @param {string}
|
|
6830
|
+
* @param {string} id
|
|
6840
6831
|
* @param {*} [options] Override http request option.
|
|
6841
6832
|
* @throws {RequiredError}
|
|
6842
6833
|
*/
|
|
6843
|
-
downloadFile: async (
|
|
6844
|
-
// verify required parameter '
|
|
6845
|
-
(0, common_1.assertParamExists)('downloadFile', '
|
|
6846
|
-
const localVarPath = `/api/files/{
|
|
6847
|
-
.replace(`{${"
|
|
6834
|
+
downloadFile: async (id, options = {}) => {
|
|
6835
|
+
// verify required parameter 'id' is not null or undefined
|
|
6836
|
+
(0, common_1.assertParamExists)('downloadFile', 'id', id);
|
|
6837
|
+
const localVarPath = `/api/files/{id}/download`
|
|
6838
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6848
6839
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6849
6840
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6850
6841
|
let baseOptions;
|
|
@@ -6903,11 +6894,10 @@ const FileApiAxiosParamCreator = function (configuration) {
|
|
|
6903
6894
|
* @param {string} [sort]
|
|
6904
6895
|
* @param {Array<FileKeywordEnum>} [keywords]
|
|
6905
6896
|
* @param {FileTypeEnum} [type]
|
|
6906
|
-
* @param {FileStatusEnum} [status]
|
|
6907
6897
|
* @param {*} [options] Override http request option.
|
|
6908
6898
|
* @throws {RequiredError}
|
|
6909
6899
|
*/
|
|
6910
|
-
getFiles: async (companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type,
|
|
6900
|
+
getFiles: async (companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type, options = {}) => {
|
|
6911
6901
|
// verify required parameter 'companyId' is not null or undefined
|
|
6912
6902
|
(0, common_1.assertParamExists)('getFiles', 'companyId', companyId);
|
|
6913
6903
|
const localVarPath = `/api/files`;
|
|
@@ -6957,9 +6947,6 @@ const FileApiAxiosParamCreator = function (configuration) {
|
|
|
6957
6947
|
if (type !== undefined) {
|
|
6958
6948
|
localVarQueryParameter['type'] = type;
|
|
6959
6949
|
}
|
|
6960
|
-
if (status !== undefined) {
|
|
6961
|
-
localVarQueryParameter['status'] = status;
|
|
6962
|
-
}
|
|
6963
6950
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6964
6951
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6965
6952
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -7070,12 +7057,12 @@ const FileApiFp = function (configuration) {
|
|
|
7070
7057
|
},
|
|
7071
7058
|
/**
|
|
7072
7059
|
*
|
|
7073
|
-
* @param {string}
|
|
7060
|
+
* @param {string} id
|
|
7074
7061
|
* @param {*} [options] Override http request option.
|
|
7075
7062
|
* @throws {RequiredError}
|
|
7076
7063
|
*/
|
|
7077
|
-
async downloadFile(
|
|
7078
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(
|
|
7064
|
+
async downloadFile(id, options) {
|
|
7065
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(id, options);
|
|
7079
7066
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7080
7067
|
const localVarOperationServerBasePath = base_1.operationServerMap['FileApi.downloadFile']?.[localVarOperationServerIndex]?.url;
|
|
7081
7068
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7105,12 +7092,11 @@ const FileApiFp = function (configuration) {
|
|
|
7105
7092
|
* @param {string} [sort]
|
|
7106
7093
|
* @param {Array<FileKeywordEnum>} [keywords]
|
|
7107
7094
|
* @param {FileTypeEnum} [type]
|
|
7108
|
-
* @param {FileStatusEnum} [status]
|
|
7109
7095
|
* @param {*} [options] Override http request option.
|
|
7110
7096
|
* @throws {RequiredError}
|
|
7111
7097
|
*/
|
|
7112
|
-
async getFiles(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type,
|
|
7113
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getFiles(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type,
|
|
7098
|
+
async getFiles(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type, options) {
|
|
7099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFiles(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type, options);
|
|
7114
7100
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7115
7101
|
const localVarOperationServerBasePath = base_1.operationServerMap['FileApi.getFiles']?.[localVarOperationServerIndex]?.url;
|
|
7116
7102
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7168,7 +7154,7 @@ const FileApiFactory = function (configuration, basePath, axios) {
|
|
|
7168
7154
|
* @throws {RequiredError}
|
|
7169
7155
|
*/
|
|
7170
7156
|
downloadFile(requestParameters, options) {
|
|
7171
|
-
return localVarFp.downloadFile(requestParameters.
|
|
7157
|
+
return localVarFp.downloadFile(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7172
7158
|
},
|
|
7173
7159
|
/**
|
|
7174
7160
|
*
|
|
@@ -7186,7 +7172,7 @@ const FileApiFactory = function (configuration, basePath, axios) {
|
|
|
7186
7172
|
* @throws {RequiredError}
|
|
7187
7173
|
*/
|
|
7188
7174
|
getFiles(requestParameters, options) {
|
|
7189
|
-
return localVarFp.getFiles(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.keywords, requestParameters.type,
|
|
7175
|
+
return localVarFp.getFiles(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.keywords, requestParameters.type, options).then((request) => request(axios, basePath));
|
|
7190
7176
|
},
|
|
7191
7177
|
/**
|
|
7192
7178
|
*
|
|
@@ -7234,7 +7220,7 @@ class FileApi extends base_1.BaseAPI {
|
|
|
7234
7220
|
* @memberof FileApi
|
|
7235
7221
|
*/
|
|
7236
7222
|
downloadFile(requestParameters, options) {
|
|
7237
|
-
return (0, exports.FileApiFp)(this.configuration).downloadFile(requestParameters.
|
|
7223
|
+
return (0, exports.FileApiFp)(this.configuration).downloadFile(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7238
7224
|
}
|
|
7239
7225
|
/**
|
|
7240
7226
|
*
|
|
@@ -7254,7 +7240,7 @@ class FileApi extends base_1.BaseAPI {
|
|
|
7254
7240
|
* @memberof FileApi
|
|
7255
7241
|
*/
|
|
7256
7242
|
getFiles(requestParameters, options) {
|
|
7257
|
-
return (0, exports.FileApiFp)(this.configuration).getFiles(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.keywords, requestParameters.type,
|
|
7243
|
+
return (0, exports.FileApiFp)(this.configuration).getFiles(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.keywords, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
7258
7244
|
}
|
|
7259
7245
|
/**
|
|
7260
7246
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -352,15 +352,6 @@ export const FileKeywordEnum = {
|
|
|
352
352
|
COMMENT: 'comment',
|
|
353
353
|
LEGAL: 'legal'
|
|
354
354
|
};
|
|
355
|
-
/**
|
|
356
|
-
*
|
|
357
|
-
* @export
|
|
358
|
-
* @enum {string}
|
|
359
|
-
*/
|
|
360
|
-
export const FileStatusEnum = {
|
|
361
|
-
WAITING_PROCESS: 'waiting_process',
|
|
362
|
-
ACTIVE: 'active'
|
|
363
|
-
};
|
|
364
355
|
/**
|
|
365
356
|
*
|
|
366
357
|
* @export
|
|
@@ -6792,15 +6783,15 @@ export const FileApiAxiosParamCreator = function (configuration) {
|
|
|
6792
6783
|
},
|
|
6793
6784
|
/**
|
|
6794
6785
|
*
|
|
6795
|
-
* @param {string}
|
|
6786
|
+
* @param {string} id
|
|
6796
6787
|
* @param {*} [options] Override http request option.
|
|
6797
6788
|
* @throws {RequiredError}
|
|
6798
6789
|
*/
|
|
6799
|
-
downloadFile: async (
|
|
6800
|
-
// verify required parameter '
|
|
6801
|
-
assertParamExists('downloadFile', '
|
|
6802
|
-
const localVarPath = `/api/files/{
|
|
6803
|
-
.replace(`{${"
|
|
6790
|
+
downloadFile: async (id, options = {}) => {
|
|
6791
|
+
// verify required parameter 'id' is not null or undefined
|
|
6792
|
+
assertParamExists('downloadFile', 'id', id);
|
|
6793
|
+
const localVarPath = `/api/files/{id}/download`
|
|
6794
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6804
6795
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6805
6796
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6806
6797
|
let baseOptions;
|
|
@@ -6859,11 +6850,10 @@ export const FileApiAxiosParamCreator = function (configuration) {
|
|
|
6859
6850
|
* @param {string} [sort]
|
|
6860
6851
|
* @param {Array<FileKeywordEnum>} [keywords]
|
|
6861
6852
|
* @param {FileTypeEnum} [type]
|
|
6862
|
-
* @param {FileStatusEnum} [status]
|
|
6863
6853
|
* @param {*} [options] Override http request option.
|
|
6864
6854
|
* @throws {RequiredError}
|
|
6865
6855
|
*/
|
|
6866
|
-
getFiles: async (companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type,
|
|
6856
|
+
getFiles: async (companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type, options = {}) => {
|
|
6867
6857
|
// verify required parameter 'companyId' is not null or undefined
|
|
6868
6858
|
assertParamExists('getFiles', 'companyId', companyId);
|
|
6869
6859
|
const localVarPath = `/api/files`;
|
|
@@ -6913,9 +6903,6 @@ export const FileApiAxiosParamCreator = function (configuration) {
|
|
|
6913
6903
|
if (type !== undefined) {
|
|
6914
6904
|
localVarQueryParameter['type'] = type;
|
|
6915
6905
|
}
|
|
6916
|
-
if (status !== undefined) {
|
|
6917
|
-
localVarQueryParameter['status'] = status;
|
|
6918
|
-
}
|
|
6919
6906
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6920
6907
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6921
6908
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -7025,12 +7012,12 @@ export const FileApiFp = function (configuration) {
|
|
|
7025
7012
|
},
|
|
7026
7013
|
/**
|
|
7027
7014
|
*
|
|
7028
|
-
* @param {string}
|
|
7015
|
+
* @param {string} id
|
|
7029
7016
|
* @param {*} [options] Override http request option.
|
|
7030
7017
|
* @throws {RequiredError}
|
|
7031
7018
|
*/
|
|
7032
|
-
async downloadFile(
|
|
7033
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(
|
|
7019
|
+
async downloadFile(id, options) {
|
|
7020
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(id, options);
|
|
7034
7021
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7035
7022
|
const localVarOperationServerBasePath = operationServerMap['FileApi.downloadFile']?.[localVarOperationServerIndex]?.url;
|
|
7036
7023
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7060,12 +7047,11 @@ export const FileApiFp = function (configuration) {
|
|
|
7060
7047
|
* @param {string} [sort]
|
|
7061
7048
|
* @param {Array<FileKeywordEnum>} [keywords]
|
|
7062
7049
|
* @param {FileTypeEnum} [type]
|
|
7063
|
-
* @param {FileStatusEnum} [status]
|
|
7064
7050
|
* @param {*} [options] Override http request option.
|
|
7065
7051
|
* @throws {RequiredError}
|
|
7066
7052
|
*/
|
|
7067
|
-
async getFiles(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type,
|
|
7068
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getFiles(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type,
|
|
7053
|
+
async getFiles(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type, options) {
|
|
7054
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFiles(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type, options);
|
|
7069
7055
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7070
7056
|
const localVarOperationServerBasePath = operationServerMap['FileApi.getFiles']?.[localVarOperationServerIndex]?.url;
|
|
7071
7057
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7122,7 +7108,7 @@ export const FileApiFactory = function (configuration, basePath, axios) {
|
|
|
7122
7108
|
* @throws {RequiredError}
|
|
7123
7109
|
*/
|
|
7124
7110
|
downloadFile(requestParameters, options) {
|
|
7125
|
-
return localVarFp.downloadFile(requestParameters.
|
|
7111
|
+
return localVarFp.downloadFile(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7126
7112
|
},
|
|
7127
7113
|
/**
|
|
7128
7114
|
*
|
|
@@ -7140,7 +7126,7 @@ export const FileApiFactory = function (configuration, basePath, axios) {
|
|
|
7140
7126
|
* @throws {RequiredError}
|
|
7141
7127
|
*/
|
|
7142
7128
|
getFiles(requestParameters, options) {
|
|
7143
|
-
return localVarFp.getFiles(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.keywords, requestParameters.type,
|
|
7129
|
+
return localVarFp.getFiles(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.keywords, requestParameters.type, options).then((request) => request(axios, basePath));
|
|
7144
7130
|
},
|
|
7145
7131
|
/**
|
|
7146
7132
|
*
|
|
@@ -7187,7 +7173,7 @@ export class FileApi extends BaseAPI {
|
|
|
7187
7173
|
* @memberof FileApi
|
|
7188
7174
|
*/
|
|
7189
7175
|
downloadFile(requestParameters, options) {
|
|
7190
|
-
return FileApiFp(this.configuration).downloadFile(requestParameters.
|
|
7176
|
+
return FileApiFp(this.configuration).downloadFile(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7191
7177
|
}
|
|
7192
7178
|
/**
|
|
7193
7179
|
*
|
|
@@ -7207,7 +7193,7 @@ export class FileApi extends BaseAPI {
|
|
|
7207
7193
|
* @memberof FileApi
|
|
7208
7194
|
*/
|
|
7209
7195
|
getFiles(requestParameters, options) {
|
|
7210
|
-
return FileApiFp(this.configuration).getFiles(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.keywords, requestParameters.type,
|
|
7196
|
+
return FileApiFp(this.configuration).getFiles(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.keywords, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
7211
7197
|
}
|
|
7212
7198
|
/**
|
|
7213
7199
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.46",
|
|
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": "8eb47500e7a879a9dea53b524c9883d85264d9a7"
|
|
41
41
|
}
|