@infisale-client/api-client 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 CHANGED
@@ -1987,10 +1987,10 @@ export interface ICompany {
1987
1987
  'main'?: string;
1988
1988
  /**
1989
1989
  *
1990
- * @type {PlanTypeEnum}
1990
+ * @type {CompanyTypeEnum}
1991
1991
  * @memberof ICompany
1992
1992
  */
1993
- 'plan': PlanTypeEnum;
1993
+ 'planType': CompanyTypeEnum;
1994
1994
  /**
1995
1995
  *
1996
1996
  * @type {string}
@@ -2231,6 +2231,12 @@ export interface ICompany {
2231
2231
  * @memberof ICompany
2232
2232
  */
2233
2233
  'onboarding': RecordCompanyOnboardingStepEnumBoolean;
2234
+ /**
2235
+ *
2236
+ * @type {Array<ICategoryResponseAttributesInnerContentsValue>}
2237
+ * @memberof ICompany
2238
+ */
2239
+ 'cmsCollections': Array<ICategoryResponseAttributesInnerContentsValue>;
2234
2240
  /**
2235
2241
  *
2236
2242
  * @type {CompanyStatusEnum}
@@ -2318,10 +2324,10 @@ export interface ICompanyAdminResponse {
2318
2324
  'updatedAt': string;
2319
2325
  /**
2320
2326
  *
2321
- * @type {PlanTypeEnum}
2327
+ * @type {CompanyTypeEnum}
2322
2328
  * @memberof ICompanyAdminResponse
2323
2329
  */
2324
- 'plan': PlanTypeEnum;
2330
+ 'planType': CompanyTypeEnum;
2325
2331
  /**
2326
2332
  *
2327
2333
  * @type {string}
@@ -2462,6 +2468,12 @@ export interface ICompanyAdminResponse {
2462
2468
  * @memberof ICompanyAdminResponse
2463
2469
  */
2464
2470
  'onboarding': RecordCompanyOnboardingStepEnumBoolean;
2471
+ /**
2472
+ *
2473
+ * @type {Array<ICategoryResponseAttributesInnerContentsValue>}
2474
+ * @memberof ICompanyAdminResponse
2475
+ */
2476
+ 'cmsCollections': Array<ICategoryResponseAttributesInnerContentsValue>;
2465
2477
  /**
2466
2478
  *
2467
2479
  * @type {string}
@@ -2749,10 +2761,10 @@ export interface ICompanyCollectionQueryParams {
2749
2761
  'type'?: string;
2750
2762
  /**
2751
2763
  *
2752
- * @type {PlanTypeEnum}
2764
+ * @type {CompanyTypeEnum}
2753
2765
  * @memberof ICompanyCollectionQueryParams
2754
2766
  */
2755
- 'plan'?: PlanTypeEnum;
2767
+ 'planType'?: CompanyTypeEnum;
2756
2768
  /**
2757
2769
  *
2758
2770
  * @type {CompanyStatusEnum}
@@ -3076,12 +3088,6 @@ export interface ICompanyPatchRequest {
3076
3088
  * @memberof ICompanyPatchRequest
3077
3089
  */
3078
3090
  'paymentGateways'?: Array<ICompanyPatchRequestPaymentGatewaysInner>;
3079
- /**
3080
- *
3081
- * @type {string}
3082
- * @memberof ICompanyPatchRequest
3083
- */
3084
- 'planId'?: string;
3085
3091
  /**
3086
3092
  *
3087
3093
  * @type {string}
@@ -3174,6 +3180,12 @@ export interface ICompanyPatchRequest {
3174
3180
  'legalDocuments'?: {
3175
3181
  [key: string]: RecordStringUrlStringFileIImageValue;
3176
3182
  };
3183
+ /**
3184
+ *
3185
+ * @type {Array<ICategoryResponseAttributesInnerContentsValue>}
3186
+ * @memberof ICompanyPatchRequest
3187
+ */
3188
+ 'cmsCollections'?: Array<ICategoryResponseAttributesInnerContentsValue>;
3177
3189
  /**
3178
3190
  *
3179
3191
  * @type {string}
@@ -3397,10 +3409,10 @@ export interface ICompanyResponse {
3397
3409
  'updatedAt': string;
3398
3410
  /**
3399
3411
  *
3400
- * @type {PlanTypeEnum}
3412
+ * @type {CompanyTypeEnum}
3401
3413
  * @memberof ICompanyResponse
3402
3414
  */
3403
- 'plan': PlanTypeEnum;
3415
+ 'planType': CompanyTypeEnum;
3404
3416
  /**
3405
3417
  *
3406
3418
  * @type {string}
@@ -3541,6 +3553,12 @@ export interface ICompanyResponse {
3541
3553
  * @memberof ICompanyResponse
3542
3554
  */
3543
3555
  'onboarding': RecordCompanyOnboardingStepEnumBoolean;
3556
+ /**
3557
+ *
3558
+ * @type {Array<ICategoryResponseAttributesInnerContentsValue>}
3559
+ * @memberof ICompanyResponse
3560
+ */
3561
+ 'cmsCollections': Array<ICategoryResponseAttributesInnerContentsValue>;
3544
3562
  /**
3545
3563
  *
3546
3564
  * @type {string}
@@ -6514,12 +6532,6 @@ export interface IPagePatchRequest {
6514
6532
  * @memberof IPagePatchRequest
6515
6533
  */
6516
6534
  'thumbnail'?: IImage;
6517
- /**
6518
- *
6519
- * @type {string}
6520
- * @memberof IPagePatchRequest
6521
- */
6522
- 'type'?: string;
6523
6535
  }
6524
6536
  /**
6525
6537
  *
@@ -7022,6 +7034,12 @@ export interface IPlanResponse {
7022
7034
  * @interface IPlanResponseLimits
7023
7035
  */
7024
7036
  export interface IPlanResponseLimits {
7037
+ /**
7038
+ *
7039
+ * @type {number}
7040
+ * @memberof IPlanResponseLimits
7041
+ */
7042
+ 'domains': number;
7025
7043
  /**
7026
7044
  *
7027
7045
  * @type {number}
@@ -8323,10 +8341,22 @@ export interface ISubscription {
8323
8341
  'company': string;
8324
8342
  /**
8325
8343
  *
8326
- * @type {SubscriptionPlanEnum}
8344
+ * @type {string}
8345
+ * @memberof ISubscription
8346
+ */
8347
+ 'plan': string;
8348
+ /**
8349
+ *
8350
+ * @type {PlanTypeEnum}
8327
8351
  * @memberof ISubscription
8328
8352
  */
8329
- 'plan': SubscriptionPlanEnum;
8353
+ 'planType': PlanTypeEnum;
8354
+ /**
8355
+ *
8356
+ * @type {string}
8357
+ * @memberof ISubscription
8358
+ */
8359
+ 'planName': string;
8330
8360
  /**
8331
8361
  *
8332
8362
  * @type {SubscriptionStatusEnum}
@@ -8388,6 +8418,12 @@ export interface ISubscriptionPostRequest {
8388
8418
  * @memberof ISubscriptionPostRequest
8389
8419
  */
8390
8420
  'status': SubscriptionStatusEnum;
8421
+ /**
8422
+ *
8423
+ * @type {string}
8424
+ * @memberof ISubscriptionPostRequest
8425
+ */
8426
+ 'plan': string;
8391
8427
  }
8392
8428
  export declare const ISubscriptionPostRequestPeriodEnum: {
8393
8429
  readonly MONTHLY: "monthly";
@@ -9913,7 +9949,7 @@ export type OrderShippedStatusEnum = typeof OrderShippedStatusEnum[keyof typeof
9913
9949
  * @enum {string}
9914
9950
  */
9915
9951
  export declare const OrderStatusEnum: {
9916
- readonly CANCELLED: "cancelled";
9952
+ readonly CANCELED: "canceled";
9917
9953
  readonly CREATED: "created";
9918
9954
  };
9919
9955
  export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];
@@ -10523,10 +10559,10 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
10523
10559
  'updatedAt': string;
10524
10560
  /**
10525
10561
  *
10526
- * @type {PlanTypeEnum}
10562
+ * @type {CompanyTypeEnum}
10527
10563
  * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10528
10564
  */
10529
- 'plan': PlanTypeEnum;
10565
+ 'planType': CompanyTypeEnum;
10530
10566
  /**
10531
10567
  *
10532
10568
  * @type {string}
@@ -10667,6 +10703,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
10667
10703
  * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10668
10704
  */
10669
10705
  'onboarding': RecordCompanyOnboardingStepEnumBoolean;
10706
+ /**
10707
+ *
10708
+ * @type {Array<ICategoryResponseAttributesInnerContentsValue>}
10709
+ * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10710
+ */
10711
+ 'cmsCollections': Array<ICategoryResponseAttributesInnerContentsValue>;
10670
10712
  /**
10671
10713
  *
10672
10714
  * @type {string}
@@ -12476,14 +12518,8 @@ export type PlanStatusEnum = typeof PlanStatusEnum[keyof typeof PlanStatusEnum];
12476
12518
  */
12477
12519
  export declare const PlanTypeEnum: {
12478
12520
  readonly ADDON_BANDWIDTH: "addon-bandwidth";
12479
- readonly STANDARD_B2C: "standard-b2c";
12480
- readonly ADVANCED_B2C: "advanced-b2c";
12481
- readonly PREMIUM_B2C: "premium-b2c";
12482
- readonly ENTERPRISE_B2C: "enterprise-b2c";
12483
- readonly STANDARD_CMS: "standard-cms";
12484
- readonly ADVANCED_CMS: "advanced-cms";
12485
- readonly PREMIUM_CMS: "premium-cms";
12486
- readonly ENTERPRISE_CMS: "enterprise-cms";
12521
+ readonly CMS: "cms";
12522
+ readonly B2C: "b2c";
12487
12523
  };
12488
12524
  export type PlanTypeEnum = typeof PlanTypeEnum[keyof typeof PlanTypeEnum];
12489
12525
  /**
@@ -12946,21 +12982,6 @@ export interface SubCategories {
12946
12982
  */
12947
12983
  '_id': string;
12948
12984
  }
12949
- /**
12950
- *
12951
- * @export
12952
- * @enum {string}
12953
- */
12954
- export declare const SubscriptionPlanEnum: {
12955
- readonly ADDON_BANDWIDTH: "addon-bandwidth";
12956
- readonly STANDARD_B2C: "standard-b2c";
12957
- readonly ADVANCED_B2C: "advanced-b2c";
12958
- readonly PREMIUM_B2C: "premium-b2c";
12959
- readonly STANDARD_CMS: "standard-cms";
12960
- readonly ADVANCED_CMS: "advanced-cms";
12961
- readonly PREMIUM_CMS: "premium-cms";
12962
- };
12963
- export type SubscriptionPlanEnum = typeof SubscriptionPlanEnum[keyof typeof SubscriptionPlanEnum];
12964
12985
  /**
12965
12986
  *
12966
12987
  * @export
package/dist/api/api.js CHANGED
@@ -17,8 +17,8 @@ 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.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.SubscriptionStatusEnum = exports.SubscriptionPlanEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = void 0;
21
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UrlRedirectApi = exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = void 0;
20
+ 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.SubscriptionStatusEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = void 0;
21
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UrlRedirectApi = exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = void 0;
22
22
  const axios_1 = __importDefault(require("axios"));
23
23
  // Some imports not used depending on template conditions
24
24
  // @ts-ignore
@@ -603,7 +603,7 @@ exports.OrderShippedStatusEnum = {
603
603
  * @enum {string}
604
604
  */
605
605
  exports.OrderStatusEnum = {
606
- CANCELLED: 'cancelled',
606
+ CANCELED: 'canceled',
607
607
  CREATED: 'created'
608
608
  };
609
609
  /**
@@ -649,14 +649,8 @@ exports.PlanStatusEnum = {
649
649
  */
650
650
  exports.PlanTypeEnum = {
651
651
  ADDON_BANDWIDTH: 'addon-bandwidth',
652
- STANDARD_B2C: 'standard-b2c',
653
- ADVANCED_B2C: 'advanced-b2c',
654
- PREMIUM_B2C: 'premium-b2c',
655
- ENTERPRISE_B2C: 'enterprise-b2c',
656
- STANDARD_CMS: 'standard-cms',
657
- ADVANCED_CMS: 'advanced-cms',
658
- PREMIUM_CMS: 'premium-cms',
659
- ENTERPRISE_CMS: 'enterprise-cms'
652
+ CMS: 'cms',
653
+ B2C: 'b2c'
660
654
  };
661
655
  /**
662
656
  *
@@ -697,20 +691,6 @@ exports.StoreLocationEnum = {
697
691
  DE: 'DE',
698
692
  TR: 'TR'
699
693
  };
700
- /**
701
- *
702
- * @export
703
- * @enum {string}
704
- */
705
- exports.SubscriptionPlanEnum = {
706
- ADDON_BANDWIDTH: 'addon-bandwidth',
707
- STANDARD_B2C: 'standard-b2c',
708
- ADVANCED_B2C: 'advanced-b2c',
709
- PREMIUM_B2C: 'premium-b2c',
710
- STANDARD_CMS: 'standard-cms',
711
- ADVANCED_CMS: 'advanced-cms',
712
- PREMIUM_CMS: 'premium-cms'
713
- };
714
694
  /**
715
695
  *
716
696
  * @export
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
- CANCELLED: 'cancelled',
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
- STANDARD_B2C: 'standard-b2c',
642
- ADVANCED_B2C: 'advanced-b2c',
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.3.32",
3
+ "version": "1.3.34",
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": "cdfe243cef0a62d3c8603ac424b0211d0b7ad089"
40
+ "gitHead": "d37590dd2b068958a03d9d7585675f6506675c45"
41
41
  }