@infisale-client/api 1.3.32 → 1.3.34
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 +75 -54
- package/dist/api/api.js +15 -35
- package/dist/api/api.mjs +12 -32
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -2000,10 +2000,10 @@ export interface ICompany {
|
|
|
2000
2000
|
'main'?: string;
|
|
2001
2001
|
/**
|
|
2002
2002
|
*
|
|
2003
|
-
* @type {
|
|
2003
|
+
* @type {CompanyTypeEnum}
|
|
2004
2004
|
* @memberof ICompany
|
|
2005
2005
|
*/
|
|
2006
|
-
'
|
|
2006
|
+
'planType': CompanyTypeEnum;
|
|
2007
2007
|
/**
|
|
2008
2008
|
*
|
|
2009
2009
|
* @type {string}
|
|
@@ -2244,6 +2244,12 @@ export interface ICompany {
|
|
|
2244
2244
|
* @memberof ICompany
|
|
2245
2245
|
*/
|
|
2246
2246
|
'onboarding': RecordCompanyOnboardingStepEnumBoolean;
|
|
2247
|
+
/**
|
|
2248
|
+
*
|
|
2249
|
+
* @type {Array<ICategoryResponseAttributesInnerContentsValue>}
|
|
2250
|
+
* @memberof ICompany
|
|
2251
|
+
*/
|
|
2252
|
+
'cmsCollections': Array<ICategoryResponseAttributesInnerContentsValue>;
|
|
2247
2253
|
/**
|
|
2248
2254
|
*
|
|
2249
2255
|
* @type {CompanyStatusEnum}
|
|
@@ -2331,10 +2337,10 @@ export interface ICompanyAdminResponse {
|
|
|
2331
2337
|
'updatedAt': string;
|
|
2332
2338
|
/**
|
|
2333
2339
|
*
|
|
2334
|
-
* @type {
|
|
2340
|
+
* @type {CompanyTypeEnum}
|
|
2335
2341
|
* @memberof ICompanyAdminResponse
|
|
2336
2342
|
*/
|
|
2337
|
-
'
|
|
2343
|
+
'planType': CompanyTypeEnum;
|
|
2338
2344
|
/**
|
|
2339
2345
|
*
|
|
2340
2346
|
* @type {string}
|
|
@@ -2475,6 +2481,12 @@ export interface ICompanyAdminResponse {
|
|
|
2475
2481
|
* @memberof ICompanyAdminResponse
|
|
2476
2482
|
*/
|
|
2477
2483
|
'onboarding': RecordCompanyOnboardingStepEnumBoolean;
|
|
2484
|
+
/**
|
|
2485
|
+
*
|
|
2486
|
+
* @type {Array<ICategoryResponseAttributesInnerContentsValue>}
|
|
2487
|
+
* @memberof ICompanyAdminResponse
|
|
2488
|
+
*/
|
|
2489
|
+
'cmsCollections': Array<ICategoryResponseAttributesInnerContentsValue>;
|
|
2478
2490
|
/**
|
|
2479
2491
|
*
|
|
2480
2492
|
* @type {string}
|
|
@@ -2762,10 +2774,10 @@ export interface ICompanyCollectionQueryParams {
|
|
|
2762
2774
|
'type'?: string;
|
|
2763
2775
|
/**
|
|
2764
2776
|
*
|
|
2765
|
-
* @type {
|
|
2777
|
+
* @type {CompanyTypeEnum}
|
|
2766
2778
|
* @memberof ICompanyCollectionQueryParams
|
|
2767
2779
|
*/
|
|
2768
|
-
'
|
|
2780
|
+
'planType'?: CompanyTypeEnum;
|
|
2769
2781
|
/**
|
|
2770
2782
|
*
|
|
2771
2783
|
* @type {CompanyStatusEnum}
|
|
@@ -3089,12 +3101,6 @@ export interface ICompanyPatchRequest {
|
|
|
3089
3101
|
* @memberof ICompanyPatchRequest
|
|
3090
3102
|
*/
|
|
3091
3103
|
'paymentGateways'?: Array<ICompanyPatchRequestPaymentGatewaysInner>;
|
|
3092
|
-
/**
|
|
3093
|
-
*
|
|
3094
|
-
* @type {string}
|
|
3095
|
-
* @memberof ICompanyPatchRequest
|
|
3096
|
-
*/
|
|
3097
|
-
'planId'?: string;
|
|
3098
3104
|
/**
|
|
3099
3105
|
*
|
|
3100
3106
|
* @type {string}
|
|
@@ -3187,6 +3193,12 @@ export interface ICompanyPatchRequest {
|
|
|
3187
3193
|
'legalDocuments'?: {
|
|
3188
3194
|
[key: string]: RecordStringUrlStringFileIImageValue;
|
|
3189
3195
|
};
|
|
3196
|
+
/**
|
|
3197
|
+
*
|
|
3198
|
+
* @type {Array<ICategoryResponseAttributesInnerContentsValue>}
|
|
3199
|
+
* @memberof ICompanyPatchRequest
|
|
3200
|
+
*/
|
|
3201
|
+
'cmsCollections'?: Array<ICategoryResponseAttributesInnerContentsValue>;
|
|
3190
3202
|
/**
|
|
3191
3203
|
*
|
|
3192
3204
|
* @type {string}
|
|
@@ -3410,10 +3422,10 @@ export interface ICompanyResponse {
|
|
|
3410
3422
|
'updatedAt': string;
|
|
3411
3423
|
/**
|
|
3412
3424
|
*
|
|
3413
|
-
* @type {
|
|
3425
|
+
* @type {CompanyTypeEnum}
|
|
3414
3426
|
* @memberof ICompanyResponse
|
|
3415
3427
|
*/
|
|
3416
|
-
'
|
|
3428
|
+
'planType': CompanyTypeEnum;
|
|
3417
3429
|
/**
|
|
3418
3430
|
*
|
|
3419
3431
|
* @type {string}
|
|
@@ -3554,6 +3566,12 @@ export interface ICompanyResponse {
|
|
|
3554
3566
|
* @memberof ICompanyResponse
|
|
3555
3567
|
*/
|
|
3556
3568
|
'onboarding': RecordCompanyOnboardingStepEnumBoolean;
|
|
3569
|
+
/**
|
|
3570
|
+
*
|
|
3571
|
+
* @type {Array<ICategoryResponseAttributesInnerContentsValue>}
|
|
3572
|
+
* @memberof ICompanyResponse
|
|
3573
|
+
*/
|
|
3574
|
+
'cmsCollections': Array<ICategoryResponseAttributesInnerContentsValue>;
|
|
3557
3575
|
/**
|
|
3558
3576
|
*
|
|
3559
3577
|
* @type {string}
|
|
@@ -6527,12 +6545,6 @@ export interface IPagePatchRequest {
|
|
|
6527
6545
|
* @memberof IPagePatchRequest
|
|
6528
6546
|
*/
|
|
6529
6547
|
'thumbnail'?: IImage;
|
|
6530
|
-
/**
|
|
6531
|
-
*
|
|
6532
|
-
* @type {string}
|
|
6533
|
-
* @memberof IPagePatchRequest
|
|
6534
|
-
*/
|
|
6535
|
-
'type'?: string;
|
|
6536
6548
|
}
|
|
6537
6549
|
/**
|
|
6538
6550
|
*
|
|
@@ -7035,6 +7047,12 @@ export interface IPlanResponse {
|
|
|
7035
7047
|
* @interface IPlanResponseLimits
|
|
7036
7048
|
*/
|
|
7037
7049
|
export interface IPlanResponseLimits {
|
|
7050
|
+
/**
|
|
7051
|
+
*
|
|
7052
|
+
* @type {number}
|
|
7053
|
+
* @memberof IPlanResponseLimits
|
|
7054
|
+
*/
|
|
7055
|
+
'domains': number;
|
|
7038
7056
|
/**
|
|
7039
7057
|
*
|
|
7040
7058
|
* @type {number}
|
|
@@ -8336,10 +8354,22 @@ export interface ISubscription {
|
|
|
8336
8354
|
'company': string;
|
|
8337
8355
|
/**
|
|
8338
8356
|
*
|
|
8339
|
-
* @type {
|
|
8357
|
+
* @type {string}
|
|
8358
|
+
* @memberof ISubscription
|
|
8359
|
+
*/
|
|
8360
|
+
'plan': string;
|
|
8361
|
+
/**
|
|
8362
|
+
*
|
|
8363
|
+
* @type {PlanTypeEnum}
|
|
8340
8364
|
* @memberof ISubscription
|
|
8341
8365
|
*/
|
|
8342
|
-
'
|
|
8366
|
+
'planType': PlanTypeEnum;
|
|
8367
|
+
/**
|
|
8368
|
+
*
|
|
8369
|
+
* @type {string}
|
|
8370
|
+
* @memberof ISubscription
|
|
8371
|
+
*/
|
|
8372
|
+
'planName': string;
|
|
8343
8373
|
/**
|
|
8344
8374
|
*
|
|
8345
8375
|
* @type {SubscriptionStatusEnum}
|
|
@@ -8401,6 +8431,12 @@ export interface ISubscriptionPostRequest {
|
|
|
8401
8431
|
* @memberof ISubscriptionPostRequest
|
|
8402
8432
|
*/
|
|
8403
8433
|
'status': SubscriptionStatusEnum;
|
|
8434
|
+
/**
|
|
8435
|
+
*
|
|
8436
|
+
* @type {string}
|
|
8437
|
+
* @memberof ISubscriptionPostRequest
|
|
8438
|
+
*/
|
|
8439
|
+
'plan': string;
|
|
8404
8440
|
}
|
|
8405
8441
|
export declare const ISubscriptionPostRequestPeriodEnum: {
|
|
8406
8442
|
readonly MONTHLY: "monthly";
|
|
@@ -9926,7 +9962,7 @@ export type OrderShippedStatusEnum = typeof OrderShippedStatusEnum[keyof typeof
|
|
|
9926
9962
|
* @enum {string}
|
|
9927
9963
|
*/
|
|
9928
9964
|
export declare const OrderStatusEnum: {
|
|
9929
|
-
readonly
|
|
9965
|
+
readonly CANCELED: "canceled";
|
|
9930
9966
|
readonly CREATED: "created";
|
|
9931
9967
|
};
|
|
9932
9968
|
export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];
|
|
@@ -10536,10 +10572,10 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
10536
10572
|
'updatedAt': string;
|
|
10537
10573
|
/**
|
|
10538
10574
|
*
|
|
10539
|
-
* @type {
|
|
10575
|
+
* @type {CompanyTypeEnum}
|
|
10540
10576
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10541
10577
|
*/
|
|
10542
|
-
'
|
|
10578
|
+
'planType': CompanyTypeEnum;
|
|
10543
10579
|
/**
|
|
10544
10580
|
*
|
|
10545
10581
|
* @type {string}
|
|
@@ -10680,6 +10716,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
10680
10716
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10681
10717
|
*/
|
|
10682
10718
|
'onboarding': RecordCompanyOnboardingStepEnumBoolean;
|
|
10719
|
+
/**
|
|
10720
|
+
*
|
|
10721
|
+
* @type {Array<ICategoryResponseAttributesInnerContentsValue>}
|
|
10722
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10723
|
+
*/
|
|
10724
|
+
'cmsCollections': Array<ICategoryResponseAttributesInnerContentsValue>;
|
|
10683
10725
|
/**
|
|
10684
10726
|
*
|
|
10685
10727
|
* @type {string}
|
|
@@ -12489,14 +12531,8 @@ export type PlanStatusEnum = typeof PlanStatusEnum[keyof typeof PlanStatusEnum];
|
|
|
12489
12531
|
*/
|
|
12490
12532
|
export declare const PlanTypeEnum: {
|
|
12491
12533
|
readonly ADDON_BANDWIDTH: "addon-bandwidth";
|
|
12492
|
-
readonly
|
|
12493
|
-
readonly
|
|
12494
|
-
readonly PREMIUM_B2C: "premium-b2c";
|
|
12495
|
-
readonly ENTERPRISE_B2C: "enterprise-b2c";
|
|
12496
|
-
readonly STANDARD_CMS: "standard-cms";
|
|
12497
|
-
readonly ADVANCED_CMS: "advanced-cms";
|
|
12498
|
-
readonly PREMIUM_CMS: "premium-cms";
|
|
12499
|
-
readonly ENTERPRISE_CMS: "enterprise-cms";
|
|
12534
|
+
readonly CMS: "cms";
|
|
12535
|
+
readonly B2C: "b2c";
|
|
12500
12536
|
};
|
|
12501
12537
|
export type PlanTypeEnum = typeof PlanTypeEnum[keyof typeof PlanTypeEnum];
|
|
12502
12538
|
/**
|
|
@@ -12978,21 +13014,6 @@ export interface SubCategories {
|
|
|
12978
13014
|
*/
|
|
12979
13015
|
'_id': string;
|
|
12980
13016
|
}
|
|
12981
|
-
/**
|
|
12982
|
-
*
|
|
12983
|
-
* @export
|
|
12984
|
-
* @enum {string}
|
|
12985
|
-
*/
|
|
12986
|
-
export declare const SubscriptionPlanEnum: {
|
|
12987
|
-
readonly ADDON_BANDWIDTH: "addon-bandwidth";
|
|
12988
|
-
readonly STANDARD_B2C: "standard-b2c";
|
|
12989
|
-
readonly ADVANCED_B2C: "advanced-b2c";
|
|
12990
|
-
readonly PREMIUM_B2C: "premium-b2c";
|
|
12991
|
-
readonly STANDARD_CMS: "standard-cms";
|
|
12992
|
-
readonly ADVANCED_CMS: "advanced-cms";
|
|
12993
|
-
readonly PREMIUM_CMS: "premium-cms";
|
|
12994
|
-
};
|
|
12995
|
-
export type SubscriptionPlanEnum = typeof SubscriptionPlanEnum[keyof typeof SubscriptionPlanEnum];
|
|
12996
13017
|
/**
|
|
12997
13018
|
*
|
|
12998
13019
|
* @export
|
|
@@ -15416,12 +15437,12 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
15416
15437
|
* @param {string} [sort]
|
|
15417
15438
|
* @param {string} [owner]
|
|
15418
15439
|
* @param {string} [type]
|
|
15419
|
-
* @param {
|
|
15440
|
+
* @param {CompanyTypeEnum} [planType]
|
|
15420
15441
|
* @param {CompanyStatusEnum} [status]
|
|
15421
15442
|
* @param {*} [options] Override http request option.
|
|
15422
15443
|
* @throws {RequiredError}
|
|
15423
15444
|
*/
|
|
15424
|
-
getCompanies: (page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetCompaniesDateFieldEnum, order?: OrderEnum, sort?: string, owner?: string, type?: string,
|
|
15445
|
+
getCompanies: (page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetCompaniesDateFieldEnum, order?: OrderEnum, sort?: string, owner?: string, type?: string, planType?: CompanyTypeEnum, status?: CompanyStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15425
15446
|
/**
|
|
15426
15447
|
*
|
|
15427
15448
|
* @param {string} id
|
|
@@ -15782,12 +15803,12 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
15782
15803
|
* @param {string} [sort]
|
|
15783
15804
|
* @param {string} [owner]
|
|
15784
15805
|
* @param {string} [type]
|
|
15785
|
-
* @param {
|
|
15806
|
+
* @param {CompanyTypeEnum} [planType]
|
|
15786
15807
|
* @param {CompanyStatusEnum} [status]
|
|
15787
15808
|
* @param {*} [options] Override http request option.
|
|
15788
15809
|
* @throws {RequiredError}
|
|
15789
15810
|
*/
|
|
15790
|
-
getCompanies(page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetCompaniesDateFieldEnum, order?: OrderEnum, sort?: string, owner?: string, type?: string,
|
|
15811
|
+
getCompanies(page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetCompaniesDateFieldEnum, order?: OrderEnum, sort?: string, owner?: string, type?: string, planType?: CompanyTypeEnum, status?: CompanyStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompaniesResponse>>;
|
|
15791
15812
|
/**
|
|
15792
15813
|
*
|
|
15793
15814
|
* @param {string} id
|
|
@@ -16662,10 +16683,10 @@ export interface CompanyApiGetCompaniesRequest {
|
|
|
16662
16683
|
readonly type?: string;
|
|
16663
16684
|
/**
|
|
16664
16685
|
*
|
|
16665
|
-
* @type {
|
|
16686
|
+
* @type {CompanyTypeEnum}
|
|
16666
16687
|
* @memberof CompanyApiGetCompanies
|
|
16667
16688
|
*/
|
|
16668
|
-
readonly
|
|
16689
|
+
readonly planType?: CompanyTypeEnum;
|
|
16669
16690
|
/**
|
|
16670
16691
|
*
|
|
16671
16692
|
* @type {CompanyStatusEnum}
|
package/dist/api/api.js
CHANGED
|
@@ -17,9 +17,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
19
|
exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.NavigationLinkTypeEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IUrlRedirectCollectionQueryParamsSortEnum = exports.IUrlRedirectCollectionQueryParamsDateFieldEnum = exports.IUniqueCollectionQueryParamsDateFieldEnum = exports.ISubscriptionPostRequestPeriodEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsCategoryEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.INavigationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
|
|
20
|
-
exports.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.
|
|
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 =
|
|
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
|
|
@@ -604,7 +604,7 @@ exports.OrderShippedStatusEnum = {
|
|
|
604
604
|
* @enum {string}
|
|
605
605
|
*/
|
|
606
606
|
exports.OrderStatusEnum = {
|
|
607
|
-
|
|
607
|
+
CANCELED: 'canceled',
|
|
608
608
|
CREATED: 'created'
|
|
609
609
|
};
|
|
610
610
|
/**
|
|
@@ -650,14 +650,8 @@ exports.PlanStatusEnum = {
|
|
|
650
650
|
*/
|
|
651
651
|
exports.PlanTypeEnum = {
|
|
652
652
|
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
PREMIUM_B2C: 'premium-b2c',
|
|
656
|
-
ENTERPRISE_B2C: 'enterprise-b2c',
|
|
657
|
-
STANDARD_CMS: 'standard-cms',
|
|
658
|
-
ADVANCED_CMS: 'advanced-cms',
|
|
659
|
-
PREMIUM_CMS: 'premium-cms',
|
|
660
|
-
ENTERPRISE_CMS: 'enterprise-cms'
|
|
653
|
+
CMS: 'cms',
|
|
654
|
+
B2C: 'b2c'
|
|
661
655
|
};
|
|
662
656
|
/**
|
|
663
657
|
*
|
|
@@ -698,20 +692,6 @@ exports.StoreLocationEnum = {
|
|
|
698
692
|
DE: 'DE',
|
|
699
693
|
TR: 'TR'
|
|
700
694
|
};
|
|
701
|
-
/**
|
|
702
|
-
*
|
|
703
|
-
* @export
|
|
704
|
-
* @enum {string}
|
|
705
|
-
*/
|
|
706
|
-
exports.SubscriptionPlanEnum = {
|
|
707
|
-
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
708
|
-
STANDARD_B2C: 'standard-b2c',
|
|
709
|
-
ADVANCED_B2C: 'advanced-b2c',
|
|
710
|
-
PREMIUM_B2C: 'premium-b2c',
|
|
711
|
-
STANDARD_CMS: 'standard-cms',
|
|
712
|
-
ADVANCED_CMS: 'advanced-cms',
|
|
713
|
-
PREMIUM_CMS: 'premium-cms'
|
|
714
|
-
};
|
|
715
695
|
/**
|
|
716
696
|
*
|
|
717
697
|
* @export
|
|
@@ -4088,12 +4068,12 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4088
4068
|
* @param {string} [sort]
|
|
4089
4069
|
* @param {string} [owner]
|
|
4090
4070
|
* @param {string} [type]
|
|
4091
|
-
* @param {
|
|
4071
|
+
* @param {CompanyTypeEnum} [planType]
|
|
4092
4072
|
* @param {CompanyStatusEnum} [status]
|
|
4093
4073
|
* @param {*} [options] Override http request option.
|
|
4094
4074
|
* @throws {RequiredError}
|
|
4095
4075
|
*/
|
|
4096
|
-
getCompanies: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, owner, type,
|
|
4076
|
+
getCompanies: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, owner, type, planType, status, options = {}) => {
|
|
4097
4077
|
const localVarPath = `/api/companies`;
|
|
4098
4078
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4099
4079
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -4138,8 +4118,8 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4138
4118
|
if (type !== undefined) {
|
|
4139
4119
|
localVarQueryParameter['type'] = type;
|
|
4140
4120
|
}
|
|
4141
|
-
if (
|
|
4142
|
-
localVarQueryParameter['
|
|
4121
|
+
if (planType !== undefined) {
|
|
4122
|
+
localVarQueryParameter['planType'] = planType;
|
|
4143
4123
|
}
|
|
4144
4124
|
if (status !== undefined) {
|
|
4145
4125
|
localVarQueryParameter['status'] = status;
|
|
@@ -5268,13 +5248,13 @@ const CompanyApiFp = function (configuration) {
|
|
|
5268
5248
|
* @param {string} [sort]
|
|
5269
5249
|
* @param {string} [owner]
|
|
5270
5250
|
* @param {string} [type]
|
|
5271
|
-
* @param {
|
|
5251
|
+
* @param {CompanyTypeEnum} [planType]
|
|
5272
5252
|
* @param {CompanyStatusEnum} [status]
|
|
5273
5253
|
* @param {*} [options] Override http request option.
|
|
5274
5254
|
* @throws {RequiredError}
|
|
5275
5255
|
*/
|
|
5276
|
-
async getCompanies(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, owner, type,
|
|
5277
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanies(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, owner, type,
|
|
5256
|
+
async getCompanies(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, owner, type, planType, status, options) {
|
|
5257
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanies(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, owner, type, planType, status, options);
|
|
5278
5258
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5279
5259
|
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanies']?.[localVarOperationServerIndex]?.url;
|
|
5280
5260
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5788,7 +5768,7 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5788
5768
|
* @throws {RequiredError}
|
|
5789
5769
|
*/
|
|
5790
5770
|
getCompanies(requestParameters = {}, options) {
|
|
5791
|
-
return localVarFp.getCompanies(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.owner, requestParameters.type, requestParameters.
|
|
5771
|
+
return localVarFp.getCompanies(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.owner, requestParameters.type, requestParameters.planType, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
5792
5772
|
},
|
|
5793
5773
|
/**
|
|
5794
5774
|
*
|
|
@@ -6202,7 +6182,7 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
6202
6182
|
* @memberof CompanyApi
|
|
6203
6183
|
*/
|
|
6204
6184
|
getCompanies(requestParameters = {}, options) {
|
|
6205
|
-
return (0, exports.CompanyApiFp)(this.configuration).getCompanies(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.owner, requestParameters.type, requestParameters.
|
|
6185
|
+
return (0, exports.CompanyApiFp)(this.configuration).getCompanies(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.owner, requestParameters.type, requestParameters.planType, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
6206
6186
|
}
|
|
6207
6187
|
/**
|
|
6208
6188
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -592,7 +592,7 @@ export const OrderShippedStatusEnum = {
|
|
|
592
592
|
* @enum {string}
|
|
593
593
|
*/
|
|
594
594
|
export const OrderStatusEnum = {
|
|
595
|
-
|
|
595
|
+
CANCELED: 'canceled',
|
|
596
596
|
CREATED: 'created'
|
|
597
597
|
};
|
|
598
598
|
/**
|
|
@@ -638,14 +638,8 @@ export const PlanStatusEnum = {
|
|
|
638
638
|
*/
|
|
639
639
|
export const PlanTypeEnum = {
|
|
640
640
|
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
PREMIUM_B2C: 'premium-b2c',
|
|
644
|
-
ENTERPRISE_B2C: 'enterprise-b2c',
|
|
645
|
-
STANDARD_CMS: 'standard-cms',
|
|
646
|
-
ADVANCED_CMS: 'advanced-cms',
|
|
647
|
-
PREMIUM_CMS: 'premium-cms',
|
|
648
|
-
ENTERPRISE_CMS: 'enterprise-cms'
|
|
641
|
+
CMS: 'cms',
|
|
642
|
+
B2C: 'b2c'
|
|
649
643
|
};
|
|
650
644
|
/**
|
|
651
645
|
*
|
|
@@ -686,20 +680,6 @@ export const StoreLocationEnum = {
|
|
|
686
680
|
DE: 'DE',
|
|
687
681
|
TR: 'TR'
|
|
688
682
|
};
|
|
689
|
-
/**
|
|
690
|
-
*
|
|
691
|
-
* @export
|
|
692
|
-
* @enum {string}
|
|
693
|
-
*/
|
|
694
|
-
export const SubscriptionPlanEnum = {
|
|
695
|
-
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
696
|
-
STANDARD_B2C: 'standard-b2c',
|
|
697
|
-
ADVANCED_B2C: 'advanced-b2c',
|
|
698
|
-
PREMIUM_B2C: 'premium-b2c',
|
|
699
|
-
STANDARD_CMS: 'standard-cms',
|
|
700
|
-
ADVANCED_CMS: 'advanced-cms',
|
|
701
|
-
PREMIUM_CMS: 'premium-cms'
|
|
702
|
-
};
|
|
703
683
|
/**
|
|
704
684
|
*
|
|
705
685
|
* @export
|
|
@@ -4052,12 +4032,12 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4052
4032
|
* @param {string} [sort]
|
|
4053
4033
|
* @param {string} [owner]
|
|
4054
4034
|
* @param {string} [type]
|
|
4055
|
-
* @param {
|
|
4035
|
+
* @param {CompanyTypeEnum} [planType]
|
|
4056
4036
|
* @param {CompanyStatusEnum} [status]
|
|
4057
4037
|
* @param {*} [options] Override http request option.
|
|
4058
4038
|
* @throws {RequiredError}
|
|
4059
4039
|
*/
|
|
4060
|
-
getCompanies: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, owner, type,
|
|
4040
|
+
getCompanies: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, owner, type, planType, status, options = {}) => {
|
|
4061
4041
|
const localVarPath = `/api/companies`;
|
|
4062
4042
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4063
4043
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4102,8 +4082,8 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4102
4082
|
if (type !== undefined) {
|
|
4103
4083
|
localVarQueryParameter['type'] = type;
|
|
4104
4084
|
}
|
|
4105
|
-
if (
|
|
4106
|
-
localVarQueryParameter['
|
|
4085
|
+
if (planType !== undefined) {
|
|
4086
|
+
localVarQueryParameter['planType'] = planType;
|
|
4107
4087
|
}
|
|
4108
4088
|
if (status !== undefined) {
|
|
4109
4089
|
localVarQueryParameter['status'] = status;
|
|
@@ -5231,13 +5211,13 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5231
5211
|
* @param {string} [sort]
|
|
5232
5212
|
* @param {string} [owner]
|
|
5233
5213
|
* @param {string} [type]
|
|
5234
|
-
* @param {
|
|
5214
|
+
* @param {CompanyTypeEnum} [planType]
|
|
5235
5215
|
* @param {CompanyStatusEnum} [status]
|
|
5236
5216
|
* @param {*} [options] Override http request option.
|
|
5237
5217
|
* @throws {RequiredError}
|
|
5238
5218
|
*/
|
|
5239
|
-
async getCompanies(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, owner, type,
|
|
5240
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanies(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, owner, type,
|
|
5219
|
+
async getCompanies(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, owner, type, planType, status, options) {
|
|
5220
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanies(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, owner, type, planType, status, options);
|
|
5241
5221
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5242
5222
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanies']?.[localVarOperationServerIndex]?.url;
|
|
5243
5223
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5750,7 +5730,7 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5750
5730
|
* @throws {RequiredError}
|
|
5751
5731
|
*/
|
|
5752
5732
|
getCompanies(requestParameters = {}, options) {
|
|
5753
|
-
return localVarFp.getCompanies(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.owner, requestParameters.type, requestParameters.
|
|
5733
|
+
return localVarFp.getCompanies(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.owner, requestParameters.type, requestParameters.planType, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
5754
5734
|
},
|
|
5755
5735
|
/**
|
|
5756
5736
|
*
|
|
@@ -6163,7 +6143,7 @@ export class CompanyApi extends BaseAPI {
|
|
|
6163
6143
|
* @memberof CompanyApi
|
|
6164
6144
|
*/
|
|
6165
6145
|
getCompanies(requestParameters = {}, options) {
|
|
6166
|
-
return CompanyApiFp(this.configuration).getCompanies(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.owner, requestParameters.type, requestParameters.
|
|
6146
|
+
return CompanyApiFp(this.configuration).getCompanies(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.owner, requestParameters.type, requestParameters.planType, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
6167
6147
|
}
|
|
6168
6148
|
/**
|
|
6169
6149
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.34",
|
|
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": "d37590dd2b068958a03d9d7585675f6506675c45"
|
|
41
41
|
}
|