@infisale-client/api-client 1.3.24 → 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 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
@@ -2010,12 +2000,6 @@ export interface ICompany {
2010
2000
  * @memberof ICompany
2011
2001
  */
2012
2002
  'plan': PlanTypeEnum;
2013
- /**
2014
- *
2015
- * @type {CompanyTypeEnum}
2016
- * @memberof ICompany
2017
- */
2018
- 'type': CompanyTypeEnum;
2019
2003
  /**
2020
2004
  *
2021
2005
  * @type {string}
@@ -2349,12 +2333,6 @@ export interface ICompanyAdminResponse {
2349
2333
  * @memberof ICompanyAdminResponse
2350
2334
  */
2351
2335
  'updatedAt': string;
2352
- /**
2353
- *
2354
- * @type {CompanyTypeEnum}
2355
- * @memberof ICompanyAdminResponse
2356
- */
2357
- 'type': CompanyTypeEnum;
2358
2336
  /**
2359
2337
  *
2360
2338
  * @type {PlanTypeEnum}
@@ -2591,6 +2569,12 @@ export interface ICompanyAdminResponse {
2591
2569
  * @memberof ICompanyAdminResponse
2592
2570
  */
2593
2571
  'customHostnames': Array<ICompanyResponseCustomHostnamesInner>;
2572
+ /**
2573
+ *
2574
+ * @type {number}
2575
+ * @memberof ICompanyAdminResponse
2576
+ */
2577
+ 'totalBandwidth': number;
2594
2578
  }
2595
2579
  /**
2596
2580
  *
@@ -3037,12 +3021,6 @@ export interface ICompanyPatchRequest {
3037
3021
  * @memberof ICompanyPatchRequest
3038
3022
  */
3039
3023
  'theme'?: string;
3040
- /**
3041
- *
3042
- * @type {CompanyTypeEnum}
3043
- * @memberof ICompanyPatchRequest
3044
- */
3045
- 'type'?: CompanyTypeEnum;
3046
3024
  /**
3047
3025
  *
3048
3026
  * @type {ICompanyResponseFirebaseAdminCredentials}
@@ -3321,12 +3299,6 @@ export interface ICompanyPostRequest {
3321
3299
  * @memberof ICompanyPostRequest
3322
3300
  */
3323
3301
  'plan': PlanTypeEnum;
3324
- /**
3325
- *
3326
- * @type {CompanyTypeEnum}
3327
- * @memberof ICompanyPostRequest
3328
- */
3329
- 'type': CompanyTypeEnum;
3330
3302
  /**
3331
3303
  *
3332
3304
  * @type {LanguageEnum}
@@ -3412,12 +3384,6 @@ export interface ICompanyResponse {
3412
3384
  * @memberof ICompanyResponse
3413
3385
  */
3414
3386
  'updatedAt': string;
3415
- /**
3416
- *
3417
- * @type {CompanyTypeEnum}
3418
- * @memberof ICompanyResponse
3419
- */
3420
- 'type': CompanyTypeEnum;
3421
3387
  /**
3422
3388
  *
3423
3389
  * @type {PlanTypeEnum}
@@ -3634,6 +3600,12 @@ export interface ICompanyResponse {
3634
3600
  * @memberof ICompanyResponse
3635
3601
  */
3636
3602
  'customHostnames': Array<ICompanyResponseCustomHostnamesInner>;
3603
+ /**
3604
+ *
3605
+ * @type {number}
3606
+ * @memberof ICompanyResponse
3607
+ */
3608
+ 'totalBandwidth': number;
3637
3609
  }
3638
3610
  /**
3639
3611
  *
@@ -10187,12 +10159,6 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
10187
10159
  * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10188
10160
  */
10189
10161
  'updatedAt': string;
10190
- /**
10191
- *
10192
- * @type {CompanyTypeEnum}
10193
- * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10194
- */
10195
- 'type': CompanyTypeEnum;
10196
10162
  /**
10197
10163
  *
10198
10164
  * @type {PlanTypeEnum}
@@ -12085,9 +12051,12 @@ export type PlanStatusEnum = typeof PlanStatusEnum[keyof typeof PlanStatusEnum];
12085
12051
  * @enum {string}
12086
12052
  */
12087
12053
  export declare const PlanTypeEnum: {
12088
- readonly STANDARD: "standard";
12089
- readonly ADVANCED: "advanced";
12090
- readonly PREMIUM: "premium";
12054
+ readonly STANDARD_B2C: "standard-b2c";
12055
+ readonly ADVANCED_B2C: "advanced-b2c";
12056
+ readonly PREMIUM_B2C: "premium-b2c";
12057
+ readonly STANDARD_CMS: "standard-cms";
12058
+ readonly ADVANCED_CMS: "advanced-cms";
12059
+ readonly PREMIUM_CMS: "premium-cms";
12091
12060
  };
12092
12061
  export type PlanTypeEnum = typeof PlanTypeEnum[keyof typeof PlanTypeEnum];
12093
12062
  /**
@@ -12308,6 +12277,62 @@ export interface RecordLanguageEnumTitleStringTr {
12308
12277
  */
12309
12278
  'title': string;
12310
12279
  }
12280
+ /**
12281
+ * Construct a type with a set of properties K of type T
12282
+ * @export
12283
+ * @interface RecordPlanTypeEnumMonthlyBandwidthNumber
12284
+ */
12285
+ export interface RecordPlanTypeEnumMonthlyBandwidthNumber {
12286
+ /**
12287
+ *
12288
+ * @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
12289
+ * @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
12290
+ */
12291
+ 'standard-b2c': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
12292
+ /**
12293
+ *
12294
+ * @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
12295
+ * @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
12296
+ */
12297
+ 'advanced-b2c': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
12298
+ /**
12299
+ *
12300
+ * @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
12301
+ * @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
12302
+ */
12303
+ 'premium-b2c': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
12304
+ /**
12305
+ *
12306
+ * @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
12307
+ * @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
12308
+ */
12309
+ 'standard-cms': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
12310
+ /**
12311
+ *
12312
+ * @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
12313
+ * @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
12314
+ */
12315
+ 'advanced-cms': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
12316
+ /**
12317
+ *
12318
+ * @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
12319
+ * @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
12320
+ */
12321
+ 'premium-cms': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
12322
+ }
12323
+ /**
12324
+ *
12325
+ * @export
12326
+ * @interface RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c
12327
+ */
12328
+ export interface RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c {
12329
+ /**
12330
+ *
12331
+ * @type {number}
12332
+ * @memberof RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c
12333
+ */
12334
+ 'monthlyBandwidth': number;
12335
+ }
12311
12336
  /**
12312
12337
  *
12313
12338
  * @export
package/dist/api/api.js CHANGED
@@ -16,9 +16,9 @@ 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.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
20
- exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = void 0;
21
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = void 0;
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.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = 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.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = void 0;
22
22
  const axios_1 = __importDefault(require("axios"));
23
23
  // Some imports not used depending on template conditions
24
24
  // @ts-ignore
@@ -36,15 +36,6 @@ exports.CompanyStatusEnum = {
36
36
  PAYMENT_REQUIRED: 'payment_required',
37
37
  DELETED: 'deleted'
38
38
  };
39
- /**
40
- *
41
- * @export
42
- * @enum {string}
43
- */
44
- exports.CompanyTypeEnum = {
45
- B2_C: 'B2C',
46
- B2_B: 'B2B'
47
- };
48
39
  /**
49
40
  *
50
41
  * @export
@@ -655,9 +646,12 @@ exports.PlanStatusEnum = {
655
646
  * @enum {string}
656
647
  */
657
648
  exports.PlanTypeEnum = {
658
- STANDARD: 'standard',
659
- ADVANCED: 'advanced',
660
- PREMIUM: 'premium'
649
+ STANDARD_B2C: 'standard-b2c',
650
+ ADVANCED_B2C: 'advanced-b2c',
651
+ PREMIUM_B2C: 'premium-b2c',
652
+ STANDARD_CMS: 'standard-cms',
653
+ ADVANCED_CMS: 'advanced-cms',
654
+ PREMIUM_CMS: 'premium-cms'
661
655
  };
662
656
  /**
663
657
  *
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
- STANDARD: 'standard',
648
- ADVANCED: 'advanced',
649
- PREMIUM: 'premium'
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
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.3.24",
3
+ "version": "1.3.25",
4
4
  "description": "api-client-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": "bf68e1333fd0185327f172ba7fa64fb64a954895"
40
+ "gitHead": "2dc9f471b4227310b7df37fed38a564f48d621fa"
41
41
  }