@infisale-client/api 1.3.23 → 1.3.25
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 +99 -49
- package/dist/api/api.js +62 -16
- package/dist/api/api.mjs +58 -12
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -25,16 +25,6 @@ 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 B2_C: "B2C";
|
|
35
|
-
readonly B2_B: "B2B";
|
|
36
|
-
};
|
|
37
|
-
export type CompanyTypeEnum = typeof CompanyTypeEnum[keyof typeof CompanyTypeEnum];
|
|
38
28
|
/**
|
|
39
29
|
*
|
|
40
30
|
* @export
|
|
@@ -2023,12 +2013,6 @@ export interface ICompany {
|
|
|
2023
2013
|
* @memberof ICompany
|
|
2024
2014
|
*/
|
|
2025
2015
|
'plan': PlanTypeEnum;
|
|
2026
|
-
/**
|
|
2027
|
-
*
|
|
2028
|
-
* @type {CompanyTypeEnum}
|
|
2029
|
-
* @memberof ICompany
|
|
2030
|
-
*/
|
|
2031
|
-
'type': CompanyTypeEnum;
|
|
2032
2016
|
/**
|
|
2033
2017
|
*
|
|
2034
2018
|
* @type {string}
|
|
@@ -2362,12 +2346,6 @@ export interface ICompanyAdminResponse {
|
|
|
2362
2346
|
* @memberof ICompanyAdminResponse
|
|
2363
2347
|
*/
|
|
2364
2348
|
'updatedAt': string;
|
|
2365
|
-
/**
|
|
2366
|
-
*
|
|
2367
|
-
* @type {CompanyTypeEnum}
|
|
2368
|
-
* @memberof ICompanyAdminResponse
|
|
2369
|
-
*/
|
|
2370
|
-
'type': CompanyTypeEnum;
|
|
2371
2349
|
/**
|
|
2372
2350
|
*
|
|
2373
2351
|
* @type {PlanTypeEnum}
|
|
@@ -2604,6 +2582,12 @@ export interface ICompanyAdminResponse {
|
|
|
2604
2582
|
* @memberof ICompanyAdminResponse
|
|
2605
2583
|
*/
|
|
2606
2584
|
'customHostnames': Array<ICompanyResponseCustomHostnamesInner>;
|
|
2585
|
+
/**
|
|
2586
|
+
*
|
|
2587
|
+
* @type {number}
|
|
2588
|
+
* @memberof ICompanyAdminResponse
|
|
2589
|
+
*/
|
|
2590
|
+
'totalBandwidth': number;
|
|
2607
2591
|
}
|
|
2608
2592
|
/**
|
|
2609
2593
|
*
|
|
@@ -3050,12 +3034,6 @@ export interface ICompanyPatchRequest {
|
|
|
3050
3034
|
* @memberof ICompanyPatchRequest
|
|
3051
3035
|
*/
|
|
3052
3036
|
'theme'?: string;
|
|
3053
|
-
/**
|
|
3054
|
-
*
|
|
3055
|
-
* @type {CompanyTypeEnum}
|
|
3056
|
-
* @memberof ICompanyPatchRequest
|
|
3057
|
-
*/
|
|
3058
|
-
'type'?: CompanyTypeEnum;
|
|
3059
3037
|
/**
|
|
3060
3038
|
*
|
|
3061
3039
|
* @type {ICompanyResponseFirebaseAdminCredentials}
|
|
@@ -3334,12 +3312,6 @@ export interface ICompanyPostRequest {
|
|
|
3334
3312
|
* @memberof ICompanyPostRequest
|
|
3335
3313
|
*/
|
|
3336
3314
|
'plan': PlanTypeEnum;
|
|
3337
|
-
/**
|
|
3338
|
-
*
|
|
3339
|
-
* @type {CompanyTypeEnum}
|
|
3340
|
-
* @memberof ICompanyPostRequest
|
|
3341
|
-
*/
|
|
3342
|
-
'type': CompanyTypeEnum;
|
|
3343
3315
|
/**
|
|
3344
3316
|
*
|
|
3345
3317
|
* @type {LanguageEnum}
|
|
@@ -3425,12 +3397,6 @@ export interface ICompanyResponse {
|
|
|
3425
3397
|
* @memberof ICompanyResponse
|
|
3426
3398
|
*/
|
|
3427
3399
|
'updatedAt': string;
|
|
3428
|
-
/**
|
|
3429
|
-
*
|
|
3430
|
-
* @type {CompanyTypeEnum}
|
|
3431
|
-
* @memberof ICompanyResponse
|
|
3432
|
-
*/
|
|
3433
|
-
'type': CompanyTypeEnum;
|
|
3434
3400
|
/**
|
|
3435
3401
|
*
|
|
3436
3402
|
* @type {PlanTypeEnum}
|
|
@@ -3647,6 +3613,12 @@ export interface ICompanyResponse {
|
|
|
3647
3613
|
* @memberof ICompanyResponse
|
|
3648
3614
|
*/
|
|
3649
3615
|
'customHostnames': Array<ICompanyResponseCustomHostnamesInner>;
|
|
3616
|
+
/**
|
|
3617
|
+
*
|
|
3618
|
+
* @type {number}
|
|
3619
|
+
* @memberof ICompanyResponse
|
|
3620
|
+
*/
|
|
3621
|
+
'totalBandwidth': number;
|
|
3650
3622
|
}
|
|
3651
3623
|
/**
|
|
3652
3624
|
*
|
|
@@ -10200,12 +10172,6 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
10200
10172
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10201
10173
|
*/
|
|
10202
10174
|
'updatedAt': string;
|
|
10203
|
-
/**
|
|
10204
|
-
*
|
|
10205
|
-
* @type {CompanyTypeEnum}
|
|
10206
|
-
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10207
|
-
*/
|
|
10208
|
-
'type': CompanyTypeEnum;
|
|
10209
10175
|
/**
|
|
10210
10176
|
*
|
|
10211
10177
|
* @type {PlanTypeEnum}
|
|
@@ -12098,9 +12064,12 @@ export type PlanStatusEnum = typeof PlanStatusEnum[keyof typeof PlanStatusEnum];
|
|
|
12098
12064
|
* @enum {string}
|
|
12099
12065
|
*/
|
|
12100
12066
|
export declare const PlanTypeEnum: {
|
|
12101
|
-
readonly
|
|
12102
|
-
readonly
|
|
12103
|
-
readonly
|
|
12067
|
+
readonly STANDARD_B2C: "standard-b2c";
|
|
12068
|
+
readonly ADVANCED_B2C: "advanced-b2c";
|
|
12069
|
+
readonly PREMIUM_B2C: "premium-b2c";
|
|
12070
|
+
readonly STANDARD_CMS: "standard-cms";
|
|
12071
|
+
readonly ADVANCED_CMS: "advanced-cms";
|
|
12072
|
+
readonly PREMIUM_CMS: "premium-cms";
|
|
12104
12073
|
};
|
|
12105
12074
|
export type PlanTypeEnum = typeof PlanTypeEnum[keyof typeof PlanTypeEnum];
|
|
12106
12075
|
/**
|
|
@@ -12321,6 +12290,62 @@ export interface RecordLanguageEnumTitleStringTr {
|
|
|
12321
12290
|
*/
|
|
12322
12291
|
'title': string;
|
|
12323
12292
|
}
|
|
12293
|
+
/**
|
|
12294
|
+
* Construct a type with a set of properties K of type T
|
|
12295
|
+
* @export
|
|
12296
|
+
* @interface RecordPlanTypeEnumMonthlyBandwidthNumber
|
|
12297
|
+
*/
|
|
12298
|
+
export interface RecordPlanTypeEnumMonthlyBandwidthNumber {
|
|
12299
|
+
/**
|
|
12300
|
+
*
|
|
12301
|
+
* @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
|
|
12302
|
+
* @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
|
|
12303
|
+
*/
|
|
12304
|
+
'standard-b2c': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
|
|
12305
|
+
/**
|
|
12306
|
+
*
|
|
12307
|
+
* @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
|
|
12308
|
+
* @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
|
|
12309
|
+
*/
|
|
12310
|
+
'advanced-b2c': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
|
|
12311
|
+
/**
|
|
12312
|
+
*
|
|
12313
|
+
* @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
|
|
12314
|
+
* @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
|
|
12315
|
+
*/
|
|
12316
|
+
'premium-b2c': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
|
|
12317
|
+
/**
|
|
12318
|
+
*
|
|
12319
|
+
* @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
|
|
12320
|
+
* @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
|
|
12321
|
+
*/
|
|
12322
|
+
'standard-cms': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
|
|
12323
|
+
/**
|
|
12324
|
+
*
|
|
12325
|
+
* @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
|
|
12326
|
+
* @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
|
|
12327
|
+
*/
|
|
12328
|
+
'advanced-cms': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
|
|
12329
|
+
/**
|
|
12330
|
+
*
|
|
12331
|
+
* @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
|
|
12332
|
+
* @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
|
|
12333
|
+
*/
|
|
12334
|
+
'premium-cms': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
|
|
12335
|
+
}
|
|
12336
|
+
/**
|
|
12337
|
+
*
|
|
12338
|
+
* @export
|
|
12339
|
+
* @interface RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c
|
|
12340
|
+
*/
|
|
12341
|
+
export interface RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c {
|
|
12342
|
+
/**
|
|
12343
|
+
*
|
|
12344
|
+
* @type {number}
|
|
12345
|
+
* @memberof RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c
|
|
12346
|
+
*/
|
|
12347
|
+
'monthlyBandwidth': number;
|
|
12348
|
+
}
|
|
12324
12349
|
/**
|
|
12325
12350
|
*
|
|
12326
12351
|
* @export
|
|
@@ -20179,6 +20204,12 @@ export declare const PlanApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
20179
20204
|
* @throws {RequiredError}
|
|
20180
20205
|
*/
|
|
20181
20206
|
getPlanById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20207
|
+
/**
|
|
20208
|
+
*
|
|
20209
|
+
* @param {*} [options] Override http request option.
|
|
20210
|
+
* @throws {RequiredError}
|
|
20211
|
+
*/
|
|
20212
|
+
getPlanLimits: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20182
20213
|
/**
|
|
20183
20214
|
*
|
|
20184
20215
|
* @param {number} [page]
|
|
@@ -20230,6 +20261,12 @@ export declare const PlanApiFp: (configuration?: Configuration) => {
|
|
|
20230
20261
|
* @throws {RequiredError}
|
|
20231
20262
|
*/
|
|
20232
20263
|
getPlanById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPlanResponse>>;
|
|
20264
|
+
/**
|
|
20265
|
+
*
|
|
20266
|
+
* @param {*} [options] Override http request option.
|
|
20267
|
+
* @throws {RequiredError}
|
|
20268
|
+
*/
|
|
20269
|
+
getPlanLimits(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecordPlanTypeEnumMonthlyBandwidthNumber>>;
|
|
20233
20270
|
/**
|
|
20234
20271
|
*
|
|
20235
20272
|
* @param {number} [page]
|
|
@@ -20281,6 +20318,12 @@ export declare const PlanApiFactory: (configuration?: Configuration, basePath?:
|
|
|
20281
20318
|
* @throws {RequiredError}
|
|
20282
20319
|
*/
|
|
20283
20320
|
getPlanById(requestParameters: PlanApiGetPlanByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<IPlanResponse>;
|
|
20321
|
+
/**
|
|
20322
|
+
*
|
|
20323
|
+
* @param {*} [options] Override http request option.
|
|
20324
|
+
* @throws {RequiredError}
|
|
20325
|
+
*/
|
|
20326
|
+
getPlanLimits(options?: RawAxiosRequestConfig): AxiosPromise<RecordPlanTypeEnumMonthlyBandwidthNumber>;
|
|
20284
20327
|
/**
|
|
20285
20328
|
*
|
|
20286
20329
|
* @param {PlanApiGetPlansRequest} requestParameters Request parameters.
|
|
@@ -20452,6 +20495,13 @@ export declare class PlanApi extends BaseAPI {
|
|
|
20452
20495
|
* @memberof PlanApi
|
|
20453
20496
|
*/
|
|
20454
20497
|
getPlanById(requestParameters: PlanApiGetPlanByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IPlanResponse, any>>;
|
|
20498
|
+
/**
|
|
20499
|
+
*
|
|
20500
|
+
* @param {*} [options] Override http request option.
|
|
20501
|
+
* @throws {RequiredError}
|
|
20502
|
+
* @memberof PlanApi
|
|
20503
|
+
*/
|
|
20504
|
+
getPlanLimits(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RecordPlanTypeEnumMonthlyBandwidthNumber, any>>;
|
|
20455
20505
|
/**
|
|
20456
20506
|
*
|
|
20457
20507
|
* @param {PlanApiGetPlansRequest} 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.PlanStatusEnum = exports.PlanCurrencyEnum = 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.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.
|
|
20
|
-
exports.FileApi = exports.FileApiFactory = 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 =
|
|
21
|
-
exports.ThemeApi = exports.ThemeApiFactory = 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 =
|
|
22
|
-
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.GetUniquePagesDateFieldEnum = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp =
|
|
19
|
+
exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = 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.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.CompanyStatusEnum = void 0;
|
|
20
|
+
exports.GetFilesDateFieldEnum = exports.FileApi = exports.FileApiFactory = 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 = void 0;
|
|
21
|
+
exports.UniquePageApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = 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 = void 0;
|
|
22
|
+
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.GetUniquePagesDateFieldEnum = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = 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,15 +37,6 @@ 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
|
-
B2_C: 'B2C',
|
|
47
|
-
B2_B: 'B2B'
|
|
48
|
-
};
|
|
49
40
|
/**
|
|
50
41
|
*
|
|
51
42
|
* @export
|
|
@@ -656,9 +647,12 @@ exports.PlanStatusEnum = {
|
|
|
656
647
|
* @enum {string}
|
|
657
648
|
*/
|
|
658
649
|
exports.PlanTypeEnum = {
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
650
|
+
STANDARD_B2C: 'standard-b2c',
|
|
651
|
+
ADVANCED_B2C: 'advanced-b2c',
|
|
652
|
+
PREMIUM_B2C: 'premium-b2c',
|
|
653
|
+
STANDARD_CMS: 'standard-cms',
|
|
654
|
+
ADVANCED_CMS: 'advanced-cms',
|
|
655
|
+
PREMIUM_CMS: 'premium-cms'
|
|
662
656
|
};
|
|
663
657
|
/**
|
|
664
658
|
*
|
|
@@ -10264,6 +10258,30 @@ const PlanApiAxiosParamCreator = function (configuration) {
|
|
|
10264
10258
|
options: localVarRequestOptions,
|
|
10265
10259
|
};
|
|
10266
10260
|
},
|
|
10261
|
+
/**
|
|
10262
|
+
*
|
|
10263
|
+
* @param {*} [options] Override http request option.
|
|
10264
|
+
* @throws {RequiredError}
|
|
10265
|
+
*/
|
|
10266
|
+
getPlanLimits: async (options = {}) => {
|
|
10267
|
+
const localVarPath = `/api/plans/limits`;
|
|
10268
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10269
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10270
|
+
let baseOptions;
|
|
10271
|
+
if (configuration) {
|
|
10272
|
+
baseOptions = configuration.baseOptions;
|
|
10273
|
+
}
|
|
10274
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10275
|
+
const localVarHeaderParameter = {};
|
|
10276
|
+
const localVarQueryParameter = {};
|
|
10277
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10278
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10279
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10280
|
+
return {
|
|
10281
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10282
|
+
options: localVarRequestOptions,
|
|
10283
|
+
};
|
|
10284
|
+
},
|
|
10267
10285
|
/**
|
|
10268
10286
|
*
|
|
10269
10287
|
* @param {number} [page]
|
|
@@ -10411,6 +10429,17 @@ const PlanApiFp = function (configuration) {
|
|
|
10411
10429
|
const localVarOperationServerBasePath = base_1.operationServerMap['PlanApi.getPlanById']?.[localVarOperationServerIndex]?.url;
|
|
10412
10430
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10413
10431
|
},
|
|
10432
|
+
/**
|
|
10433
|
+
*
|
|
10434
|
+
* @param {*} [options] Override http request option.
|
|
10435
|
+
* @throws {RequiredError}
|
|
10436
|
+
*/
|
|
10437
|
+
async getPlanLimits(options) {
|
|
10438
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPlanLimits(options);
|
|
10439
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10440
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PlanApi.getPlanLimits']?.[localVarOperationServerIndex]?.url;
|
|
10441
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10442
|
+
},
|
|
10414
10443
|
/**
|
|
10415
10444
|
*
|
|
10416
10445
|
* @param {number} [page]
|
|
@@ -10482,6 +10511,14 @@ const PlanApiFactory = function (configuration, basePath, axios) {
|
|
|
10482
10511
|
getPlanById(requestParameters, options) {
|
|
10483
10512
|
return localVarFp.getPlanById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
10484
10513
|
},
|
|
10514
|
+
/**
|
|
10515
|
+
*
|
|
10516
|
+
* @param {*} [options] Override http request option.
|
|
10517
|
+
* @throws {RequiredError}
|
|
10518
|
+
*/
|
|
10519
|
+
getPlanLimits(options) {
|
|
10520
|
+
return localVarFp.getPlanLimits(options).then((request) => request(axios, basePath));
|
|
10521
|
+
},
|
|
10485
10522
|
/**
|
|
10486
10523
|
*
|
|
10487
10524
|
* @param {PlanApiGetPlansRequest} requestParameters Request parameters.
|
|
@@ -10540,6 +10577,15 @@ class PlanApi extends base_1.BaseAPI {
|
|
|
10540
10577
|
getPlanById(requestParameters, options) {
|
|
10541
10578
|
return (0, exports.PlanApiFp)(this.configuration).getPlanById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
10542
10579
|
}
|
|
10580
|
+
/**
|
|
10581
|
+
*
|
|
10582
|
+
* @param {*} [options] Override http request option.
|
|
10583
|
+
* @throws {RequiredError}
|
|
10584
|
+
* @memberof PlanApi
|
|
10585
|
+
*/
|
|
10586
|
+
getPlanLimits(options) {
|
|
10587
|
+
return (0, exports.PlanApiFp)(this.configuration).getPlanLimits(options).then((request) => request(this.axios, this.basePath));
|
|
10588
|
+
}
|
|
10543
10589
|
/**
|
|
10544
10590
|
*
|
|
10545
10591
|
* @param {PlanApiGetPlansRequest} requestParameters Request parameters.
|
package/dist/api/api.mjs
CHANGED
|
@@ -25,15 +25,6 @@ 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
|
-
B2_C: 'B2C',
|
|
35
|
-
B2_B: 'B2B'
|
|
36
|
-
};
|
|
37
28
|
/**
|
|
38
29
|
*
|
|
39
30
|
* @export
|
|
@@ -644,9 +635,12 @@ export const PlanStatusEnum = {
|
|
|
644
635
|
* @enum {string}
|
|
645
636
|
*/
|
|
646
637
|
export const PlanTypeEnum = {
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
638
|
+
STANDARD_B2C: 'standard-b2c',
|
|
639
|
+
ADVANCED_B2C: 'advanced-b2c',
|
|
640
|
+
PREMIUM_B2C: 'premium-b2c',
|
|
641
|
+
STANDARD_CMS: 'standard-cms',
|
|
642
|
+
ADVANCED_CMS: 'advanced-cms',
|
|
643
|
+
PREMIUM_CMS: 'premium-cms'
|
|
650
644
|
};
|
|
651
645
|
/**
|
|
652
646
|
*
|
|
@@ -10196,6 +10190,30 @@ export const PlanApiAxiosParamCreator = function (configuration) {
|
|
|
10196
10190
|
options: localVarRequestOptions,
|
|
10197
10191
|
};
|
|
10198
10192
|
},
|
|
10193
|
+
/**
|
|
10194
|
+
*
|
|
10195
|
+
* @param {*} [options] Override http request option.
|
|
10196
|
+
* @throws {RequiredError}
|
|
10197
|
+
*/
|
|
10198
|
+
getPlanLimits: async (options = {}) => {
|
|
10199
|
+
const localVarPath = `/api/plans/limits`;
|
|
10200
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10201
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10202
|
+
let baseOptions;
|
|
10203
|
+
if (configuration) {
|
|
10204
|
+
baseOptions = configuration.baseOptions;
|
|
10205
|
+
}
|
|
10206
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10207
|
+
const localVarHeaderParameter = {};
|
|
10208
|
+
const localVarQueryParameter = {};
|
|
10209
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10210
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10211
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10212
|
+
return {
|
|
10213
|
+
url: toPathString(localVarUrlObj),
|
|
10214
|
+
options: localVarRequestOptions,
|
|
10215
|
+
};
|
|
10216
|
+
},
|
|
10199
10217
|
/**
|
|
10200
10218
|
*
|
|
10201
10219
|
* @param {number} [page]
|
|
@@ -10342,6 +10360,17 @@ export const PlanApiFp = function (configuration) {
|
|
|
10342
10360
|
const localVarOperationServerBasePath = operationServerMap['PlanApi.getPlanById']?.[localVarOperationServerIndex]?.url;
|
|
10343
10361
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10344
10362
|
},
|
|
10363
|
+
/**
|
|
10364
|
+
*
|
|
10365
|
+
* @param {*} [options] Override http request option.
|
|
10366
|
+
* @throws {RequiredError}
|
|
10367
|
+
*/
|
|
10368
|
+
async getPlanLimits(options) {
|
|
10369
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPlanLimits(options);
|
|
10370
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10371
|
+
const localVarOperationServerBasePath = operationServerMap['PlanApi.getPlanLimits']?.[localVarOperationServerIndex]?.url;
|
|
10372
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10373
|
+
},
|
|
10345
10374
|
/**
|
|
10346
10375
|
*
|
|
10347
10376
|
* @param {number} [page]
|
|
@@ -10412,6 +10441,14 @@ export const PlanApiFactory = function (configuration, basePath, axios) {
|
|
|
10412
10441
|
getPlanById(requestParameters, options) {
|
|
10413
10442
|
return localVarFp.getPlanById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
10414
10443
|
},
|
|
10444
|
+
/**
|
|
10445
|
+
*
|
|
10446
|
+
* @param {*} [options] Override http request option.
|
|
10447
|
+
* @throws {RequiredError}
|
|
10448
|
+
*/
|
|
10449
|
+
getPlanLimits(options) {
|
|
10450
|
+
return localVarFp.getPlanLimits(options).then((request) => request(axios, basePath));
|
|
10451
|
+
},
|
|
10415
10452
|
/**
|
|
10416
10453
|
*
|
|
10417
10454
|
* @param {PlanApiGetPlansRequest} requestParameters Request parameters.
|
|
@@ -10469,6 +10506,15 @@ export class PlanApi extends BaseAPI {
|
|
|
10469
10506
|
getPlanById(requestParameters, options) {
|
|
10470
10507
|
return PlanApiFp(this.configuration).getPlanById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
10471
10508
|
}
|
|
10509
|
+
/**
|
|
10510
|
+
*
|
|
10511
|
+
* @param {*} [options] Override http request option.
|
|
10512
|
+
* @throws {RequiredError}
|
|
10513
|
+
* @memberof PlanApi
|
|
10514
|
+
*/
|
|
10515
|
+
getPlanLimits(options) {
|
|
10516
|
+
return PlanApiFp(this.configuration).getPlanLimits(options).then((request) => request(this.axios, this.basePath));
|
|
10517
|
+
}
|
|
10472
10518
|
/**
|
|
10473
10519
|
*
|
|
10474
10520
|
* @param {PlanApiGetPlansRequest} requestParameters Request parameters.
|
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ interface IApiClient {
|
|
|
22
22
|
OrderApi: doc.OrderApi;
|
|
23
23
|
UniquePageApi: doc.UniquePageApi;
|
|
24
24
|
NavigationApi: doc.NavigationApi;
|
|
25
|
+
PlanApi: doc.PlanApi;
|
|
25
26
|
interceptors: {
|
|
26
27
|
request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
|
|
27
28
|
response: AxiosInterceptorManager<AxiosResponse>;
|
|
@@ -57,6 +58,7 @@ export declare class ApiClient implements IApiClient {
|
|
|
57
58
|
OrderApi: doc.OrderApi;
|
|
58
59
|
UniquePageApi: doc.UniquePageApi;
|
|
59
60
|
NavigationApi: doc.NavigationApi;
|
|
61
|
+
PlanApi: doc.PlanApi;
|
|
60
62
|
constructor(baseURL: string, options?: {
|
|
61
63
|
headers?: Record<string, string>;
|
|
62
64
|
} | undefined);
|
package/dist/index.js
CHANGED
|
@@ -66,6 +66,7 @@ class ApiClient {
|
|
|
66
66
|
this.OrderApi = new doc.OrderApi(undefined, this.baseURL, this.api);
|
|
67
67
|
this.UniquePageApi = new doc.UniquePageApi(undefined, this.baseURL, this.api);
|
|
68
68
|
this.NavigationApi = new doc.NavigationApi(undefined, this.baseURL, this.api);
|
|
69
|
+
this.PlanApi = new doc.PlanApi(undefined, this.baseURL, this.api);
|
|
69
70
|
this.interceptors = {
|
|
70
71
|
request: this.api.interceptors.request,
|
|
71
72
|
response: this.api.interceptors.response,
|
package/dist/index.mjs
CHANGED
|
@@ -34,6 +34,7 @@ export class ApiClient {
|
|
|
34
34
|
this.OrderApi = new doc.OrderApi(undefined, this.baseURL, this.api);
|
|
35
35
|
this.UniquePageApi = new doc.UniquePageApi(undefined, this.baseURL, this.api);
|
|
36
36
|
this.NavigationApi = new doc.NavigationApi(undefined, this.baseURL, this.api);
|
|
37
|
+
this.PlanApi = new doc.PlanApi(undefined, this.baseURL, this.api);
|
|
37
38
|
this.interceptors = {
|
|
38
39
|
request: this.api.interceptors.request,
|
|
39
40
|
response: this.api.interceptors.response,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.25",
|
|
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": "2dc9f471b4227310b7df37fed38a564f48d621fa"
|
|
41
41
|
}
|