@infisale-client/api-client 1.3.30 → 1.3.32

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
@@ -1991,6 +1991,12 @@ export interface ICompany {
1991
1991
  * @memberof ICompany
1992
1992
  */
1993
1993
  'plan': PlanTypeEnum;
1994
+ /**
1995
+ *
1996
+ * @type {string}
1997
+ * @memberof ICompany
1998
+ */
1999
+ 'planId': string;
1994
2000
  /**
1995
2001
  *
1996
2002
  * @type {string}
@@ -2316,6 +2322,12 @@ export interface ICompanyAdminResponse {
2316
2322
  * @memberof ICompanyAdminResponse
2317
2323
  */
2318
2324
  'plan': PlanTypeEnum;
2325
+ /**
2326
+ *
2327
+ * @type {string}
2328
+ * @memberof ICompanyAdminResponse
2329
+ */
2330
+ 'planId': string;
2319
2331
  /**
2320
2332
  *
2321
2333
  * @type {string}
@@ -2537,7 +2549,19 @@ export interface ICompanyAdminResponse {
2537
2549
  * @type {number}
2538
2550
  * @memberof ICompanyAdminResponse
2539
2551
  */
2540
- 'totalBandwidth': number;
2552
+ 'totalBandwidthUsage': number;
2553
+ /**
2554
+ *
2555
+ * @type {number}
2556
+ * @memberof ICompanyAdminResponse
2557
+ */
2558
+ 'totalBandwidthLimit': number;
2559
+ /**
2560
+ *
2561
+ * @type {IPlanResponse}
2562
+ * @memberof ICompanyAdminResponse
2563
+ */
2564
+ '_plan'?: IPlanResponse;
2541
2565
  }
2542
2566
  /**
2543
2567
  *
@@ -2741,6 +2765,25 @@ export declare const ICompanyCollectionQueryParamsDateFieldEnum: {
2741
2765
  readonly UPDATED_AT: "updatedAt";
2742
2766
  };
2743
2767
  export type ICompanyCollectionQueryParamsDateFieldEnum = typeof ICompanyCollectionQueryParamsDateFieldEnum[keyof typeof ICompanyCollectionQueryParamsDateFieldEnum];
2768
+ /**
2769
+ *
2770
+ * @export
2771
+ * @interface ICompanyCreateLanguageRequest
2772
+ */
2773
+ export interface ICompanyCreateLanguageRequest {
2774
+ /**
2775
+ *
2776
+ * @type {LanguageEnum}
2777
+ * @memberof ICompanyCreateLanguageRequest
2778
+ */
2779
+ 'language': LanguageEnum;
2780
+ /**
2781
+ *
2782
+ * @type {boolean}
2783
+ * @memberof ICompanyCreateLanguageRequest
2784
+ */
2785
+ 'main'?: boolean;
2786
+ }
2744
2787
  /**
2745
2788
  *
2746
2789
  * @export
@@ -2947,56 +2990,6 @@ export interface ICompanyDashboardResponseOrdersInner {
2947
2990
  */
2948
2991
  'date': string;
2949
2992
  }
2950
- /**
2951
- *
2952
- * @export
2953
- * @interface ICompanyMonthlyBandwidth
2954
- */
2955
- export interface ICompanyMonthlyBandwidth {
2956
- /**
2957
- *
2958
- * @type {string}
2959
- * @memberof ICompanyMonthlyBandwidth
2960
- */
2961
- '_id': string;
2962
- /**
2963
- *
2964
- * @type {string}
2965
- * @memberof ICompanyMonthlyBandwidth
2966
- */
2967
- 'company': string;
2968
- /**
2969
- *
2970
- * @type {number}
2971
- * @memberof ICompanyMonthlyBandwidth
2972
- */
2973
- 'year': number;
2974
- /**
2975
- *
2976
- * @type {number}
2977
- * @memberof ICompanyMonthlyBandwidth
2978
- */
2979
- 'month': number;
2980
- /**
2981
- *
2982
- * @type {number}
2983
- * @memberof ICompanyMonthlyBandwidth
2984
- */
2985
- 'bandwidth': number;
2986
- }
2987
- /**
2988
- *
2989
- * @export
2990
- * @interface ICompanyMonthlyBandwidthResponse
2991
- */
2992
- export interface ICompanyMonthlyBandwidthResponse {
2993
- /**
2994
- *
2995
- * @type {Array<ICompanyMonthlyBandwidth>}
2996
- * @memberof ICompanyMonthlyBandwidthResponse
2997
- */
2998
- 'data': Array<ICompanyMonthlyBandwidth>;
2999
- }
3000
2993
  /**
3001
2994
  *
3002
2995
  * @export
@@ -3083,6 +3076,12 @@ export interface ICompanyPatchRequest {
3083
3076
  * @memberof ICompanyPatchRequest
3084
3077
  */
3085
3078
  'paymentGateways'?: Array<ICompanyPatchRequestPaymentGatewaysInner>;
3079
+ /**
3080
+ *
3081
+ * @type {string}
3082
+ * @memberof ICompanyPatchRequest
3083
+ */
3084
+ 'planId'?: string;
3086
3085
  /**
3087
3086
  *
3088
3087
  * @type {string}
@@ -3307,10 +3306,10 @@ export interface ICompanyPostRequest {
3307
3306
  'name': string;
3308
3307
  /**
3309
3308
  *
3310
- * @type {PlanTypeEnum}
3309
+ * @type {string}
3311
3310
  * @memberof ICompanyPostRequest
3312
3311
  */
3313
- 'plan': PlanTypeEnum;
3312
+ 'plan': string;
3314
3313
  /**
3315
3314
  *
3316
3315
  * @type {LanguageEnum}
@@ -3402,6 +3401,12 @@ export interface ICompanyResponse {
3402
3401
  * @memberof ICompanyResponse
3403
3402
  */
3404
3403
  'plan': PlanTypeEnum;
3404
+ /**
3405
+ *
3406
+ * @type {string}
3407
+ * @memberof ICompanyResponse
3408
+ */
3409
+ 'planId': string;
3405
3410
  /**
3406
3411
  *
3407
3412
  * @type {string}
@@ -3603,7 +3608,13 @@ export interface ICompanyResponse {
3603
3608
  * @type {number}
3604
3609
  * @memberof ICompanyResponse
3605
3610
  */
3606
- 'totalBandwidth': number;
3611
+ 'totalBandwidthUsage': number;
3612
+ /**
3613
+ *
3614
+ * @type {number}
3615
+ * @memberof ICompanyResponse
3616
+ */
3617
+ 'totalBandwidthLimit': number;
3607
3618
  }
3608
3619
  /**
3609
3620
  *
@@ -6707,67 +6718,6 @@ export interface IPagesResponse {
6707
6718
  */
6708
6719
  'data': Array<IPageResponse>;
6709
6720
  }
6710
- /**
6711
- *
6712
- * @export
6713
- * @interface IPayment
6714
- */
6715
- export interface IPayment {
6716
- /**
6717
- *
6718
- * @type {string}
6719
- * @memberof IPayment
6720
- */
6721
- '_id': string;
6722
- /**
6723
- *
6724
- * @type {number}
6725
- * @memberof IPayment
6726
- */
6727
- '__v': number;
6728
- /**
6729
- *
6730
- * @type {string}
6731
- * @memberof IPayment
6732
- */
6733
- 'createdAt': string;
6734
- /**
6735
- *
6736
- * @type {string}
6737
- * @memberof IPayment
6738
- */
6739
- 'updatedAt': string;
6740
- /**
6741
- *
6742
- * @type {string}
6743
- * @memberof IPayment
6744
- */
6745
- 'company': string;
6746
- /**
6747
- *
6748
- * @type {number}
6749
- * @memberof IPayment
6750
- */
6751
- 'period': number;
6752
- /**
6753
- *
6754
- * @type {number}
6755
- * @memberof IPayment
6756
- */
6757
- 'total': number;
6758
- /**
6759
- *
6760
- * @type {string}
6761
- * @memberof IPayment
6762
- */
6763
- 'iframe': string;
6764
- /**
6765
- *
6766
- * @type {PaymentStatusEnum}
6767
- * @memberof IPayment
6768
- */
6769
- 'status': PaymentStatusEnum;
6770
- }
6771
6721
  /**
6772
6722
  *
6773
6723
  * @export
@@ -6799,61 +6749,6 @@ export interface IPaymentCreateResponse {
6799
6749
  */
6800
6750
  'iframe'?: string;
6801
6751
  }
6802
- /**
6803
- *
6804
- * @export
6805
- * @interface IPaymentPostRequest
6806
- */
6807
- export interface IPaymentPostRequest {
6808
- /**
6809
- *
6810
- * @type {string}
6811
- * @memberof IPaymentPostRequest
6812
- */
6813
- 'period': IPaymentPostRequestPeriodEnum;
6814
- }
6815
- export declare const IPaymentPostRequestPeriodEnum: {
6816
- readonly MONTHLY: "monthly";
6817
- readonly YEARLY: "yearly";
6818
- };
6819
- export type IPaymentPostRequestPeriodEnum = typeof IPaymentPostRequestPeriodEnum[keyof typeof IPaymentPostRequestPeriodEnum];
6820
- /**
6821
- *
6822
- * @export
6823
- * @interface IPaymentsResponse
6824
- */
6825
- export interface IPaymentsResponse {
6826
- /**
6827
- *
6828
- * @type {number}
6829
- * @memberof IPaymentsResponse
6830
- */
6831
- 'totalPages': number;
6832
- /**
6833
- *
6834
- * @type {number}
6835
- * @memberof IPaymentsResponse
6836
- */
6837
- 'page': number;
6838
- /**
6839
- *
6840
- * @type {number}
6841
- * @memberof IPaymentsResponse
6842
- */
6843
- 'itemsPerPage': number;
6844
- /**
6845
- *
6846
- * @type {number}
6847
- * @memberof IPaymentsResponse
6848
- */
6849
- 'total': number;
6850
- /**
6851
- *
6852
- * @type {Array<IPayment>}
6853
- * @memberof IPaymentsResponse
6854
- */
6855
- 'data': Array<IPayment>;
6856
- }
6857
6752
  /**
6858
6753
  *
6859
6754
  * @export
@@ -6916,16 +6811,28 @@ export interface IPlanCollectionQueryParams {
6916
6811
  'status'?: PlanStatusEnum;
6917
6812
  /**
6918
6813
  *
6919
- * @type {PlanTypeEnum}
6814
+ * @type {string}
6920
6815
  * @memberof IPlanCollectionQueryParams
6921
6816
  */
6922
- 'type'?: PlanTypeEnum;
6817
+ 'category'?: IPlanCollectionQueryParamsCategoryEnum;
6818
+ /**
6819
+ *
6820
+ * @type {string}
6821
+ * @memberof IPlanCollectionQueryParams
6822
+ */
6823
+ 'company'?: string;
6923
6824
  }
6924
6825
  export declare const IPlanCollectionQueryParamsDateFieldEnum: {
6925
6826
  readonly CREATED_AT: "createdAt";
6926
6827
  readonly UPDATED_AT: "updatedAt";
6927
6828
  };
6928
6829
  export type IPlanCollectionQueryParamsDateFieldEnum = typeof IPlanCollectionQueryParamsDateFieldEnum[keyof typeof IPlanCollectionQueryParamsDateFieldEnum];
6830
+ export declare const IPlanCollectionQueryParamsCategoryEnum: {
6831
+ readonly ADDON_BANDWIDTH: "addon-bandwidth";
6832
+ readonly B2C: "b2c";
6833
+ readonly CMS: "cms";
6834
+ };
6835
+ export type IPlanCollectionQueryParamsCategoryEnum = typeof IPlanCollectionQueryParamsCategoryEnum[keyof typeof IPlanCollectionQueryParamsCategoryEnum];
6929
6836
  /**
6930
6837
  *
6931
6838
  * @export
@@ -6940,10 +6847,10 @@ export interface IPlanPatchRequest {
6940
6847
  'name'?: string;
6941
6848
  /**
6942
6849
  *
6943
- * @type {string}
6850
+ * @type {PlanStatusEnum}
6944
6851
  * @memberof IPlanPatchRequest
6945
6852
  */
6946
- 'description'?: string;
6853
+ 'status'?: PlanStatusEnum;
6947
6854
  /**
6948
6855
  *
6949
6856
  * @type {PlanTypeEnum}
@@ -6952,22 +6859,28 @@ export interface IPlanPatchRequest {
6952
6859
  'type'?: PlanTypeEnum;
6953
6860
  /**
6954
6861
  *
6955
- * @type {Array<IPlanResponsePriceInner>}
6862
+ * @type {RecordPlanCurrencyEnumNumber}
6956
6863
  * @memberof IPlanPatchRequest
6957
6864
  */
6958
- 'price'?: Array<IPlanResponsePriceInner>;
6865
+ 'monthlyPrice'?: RecordPlanCurrencyEnumNumber;
6959
6866
  /**
6960
6867
  *
6961
- * @type {Array<IPlanResponseAttributesInner>}
6868
+ * @type {RecordPlanCurrencyEnumNumber}
6962
6869
  * @memberof IPlanPatchRequest
6963
6870
  */
6964
- 'attributes'?: Array<IPlanResponseAttributesInner>;
6871
+ 'annuallyPrice'?: RecordPlanCurrencyEnumNumber;
6965
6872
  /**
6966
6873
  *
6967
- * @type {PlanStatusEnum}
6874
+ * @type {IPlanResponseLimits}
6968
6875
  * @memberof IPlanPatchRequest
6969
6876
  */
6970
- 'status'?: PlanStatusEnum;
6877
+ 'limits'?: IPlanResponseLimits;
6878
+ /**
6879
+ *
6880
+ * @type {number}
6881
+ * @memberof IPlanPatchRequest
6882
+ */
6883
+ 'addonAmount'?: number;
6971
6884
  }
6972
6885
  /**
6973
6886
  *
@@ -6986,7 +6899,13 @@ export interface IPlanPostRequest {
6986
6899
  * @type {string}
6987
6900
  * @memberof IPlanPostRequest
6988
6901
  */
6989
- 'description'?: string;
6902
+ 'company'?: string;
6903
+ /**
6904
+ *
6905
+ * @type {PlanStatusEnum}
6906
+ * @memberof IPlanPostRequest
6907
+ */
6908
+ 'status': PlanStatusEnum;
6990
6909
  /**
6991
6910
  *
6992
6911
  * @type {PlanTypeEnum}
@@ -6995,22 +6914,28 @@ export interface IPlanPostRequest {
6995
6914
  'type': PlanTypeEnum;
6996
6915
  /**
6997
6916
  *
6998
- * @type {Array<IPlanResponsePriceInner>}
6917
+ * @type {RecordPlanCurrencyEnumNumber}
6999
6918
  * @memberof IPlanPostRequest
7000
6919
  */
7001
- 'price': Array<IPlanResponsePriceInner>;
6920
+ 'monthlyPrice': RecordPlanCurrencyEnumNumber;
7002
6921
  /**
7003
6922
  *
7004
- * @type {Array<IPlanResponseAttributesInner>}
6923
+ * @type {RecordPlanCurrencyEnumNumber}
7005
6924
  * @memberof IPlanPostRequest
7006
6925
  */
7007
- 'attributes'?: Array<IPlanResponseAttributesInner>;
6926
+ 'annuallyPrice': RecordPlanCurrencyEnumNumber;
7008
6927
  /**
7009
6928
  *
7010
- * @type {PlanStatusEnum}
6929
+ * @type {IPlanResponseLimits}
7011
6930
  * @memberof IPlanPostRequest
7012
6931
  */
7013
- 'status'?: PlanStatusEnum;
6932
+ 'limits': IPlanResponseLimits;
6933
+ /**
6934
+ *
6935
+ * @type {number}
6936
+ * @memberof IPlanPostRequest
6937
+ */
6938
+ 'addonAmount': number;
7014
6939
  }
7015
6940
  /**
7016
6941
  *
@@ -7048,12 +6973,6 @@ export interface IPlanResponse {
7048
6973
  * @memberof IPlanResponse
7049
6974
  */
7050
6975
  'name': string;
7051
- /**
7052
- *
7053
- * @type {string}
7054
- * @memberof IPlanResponse
7055
- */
7056
- 'description'?: string;
7057
6976
  /**
7058
6977
  *
7059
6978
  * @type {PlanTypeEnum}
@@ -7062,103 +6981,96 @@ export interface IPlanResponse {
7062
6981
  'type': PlanTypeEnum;
7063
6982
  /**
7064
6983
  *
7065
- * @type {Array<IPlanResponsePriceInner>}
6984
+ * @type {string}
7066
6985
  * @memberof IPlanResponse
7067
6986
  */
7068
- 'price': Array<IPlanResponsePriceInner>;
6987
+ 'company'?: string;
7069
6988
  /**
7070
6989
  *
7071
- * @type {Array<IPlanResponseAttributesInner>}
6990
+ * @type {RecordPlanCurrencyEnumNumber}
7072
6991
  * @memberof IPlanResponse
7073
6992
  */
7074
- 'attributes'?: Array<IPlanResponseAttributesInner>;
6993
+ 'monthlyPrice': RecordPlanCurrencyEnumNumber;
7075
6994
  /**
7076
6995
  *
7077
- * @type {PlanStatusEnum}
6996
+ * @type {RecordPlanCurrencyEnumNumber}
7078
6997
  * @memberof IPlanResponse
7079
6998
  */
7080
- 'status': PlanStatusEnum;
7081
- }
7082
- /**
7083
- *
7084
- * @export
7085
- * @interface IPlanResponseAttributesInner
7086
- */
7087
- export interface IPlanResponseAttributesInner {
6999
+ 'annuallyPrice': RecordPlanCurrencyEnumNumber;
7088
7000
  /**
7089
7001
  *
7090
- * @type {boolean}
7091
- * @memberof IPlanResponseAttributesInner
7002
+ * @type {IPlanResponseLimits}
7003
+ * @memberof IPlanResponse
7092
7004
  */
7093
- 'active': boolean;
7005
+ 'limits': IPlanResponseLimits;
7094
7006
  /**
7095
7007
  *
7096
- * @type {string}
7097
- * @memberof IPlanResponseAttributesInner
7008
+ * @type {number}
7009
+ * @memberof IPlanResponse
7098
7010
  */
7099
- 'description': string;
7011
+ 'addonAmount': number;
7100
7012
  /**
7101
7013
  *
7102
- * @type {string}
7103
- * @memberof IPlanResponseAttributesInner
7014
+ * @type {PlanStatusEnum}
7015
+ * @memberof IPlanResponse
7104
7016
  */
7105
- 'title': string;
7017
+ 'status': PlanStatusEnum;
7106
7018
  }
7107
7019
  /**
7108
7020
  *
7109
7021
  * @export
7110
- * @interface IPlanResponsePriceInner
7022
+ * @interface IPlanResponseLimits
7111
7023
  */
7112
- export interface IPlanResponsePriceInner {
7024
+ export interface IPlanResponseLimits {
7113
7025
  /**
7114
7026
  *
7115
- * @type {PlanCurrencyEnum}
7116
- * @memberof IPlanResponsePriceInner
7027
+ * @type {number}
7028
+ * @memberof IPlanResponseLimits
7117
7029
  */
7118
- 'currency': PlanCurrencyEnum;
7030
+ 'users': number;
7119
7031
  /**
7120
7032
  *
7121
7033
  * @type {number}
7122
- * @memberof IPlanResponsePriceInner
7034
+ * @memberof IPlanResponseLimits
7123
7035
  */
7124
- 'annually': number;
7036
+ 'languages': number;
7125
7037
  /**
7126
7038
  *
7127
7039
  * @type {number}
7128
- * @memberof IPlanResponsePriceInner
7040
+ * @memberof IPlanResponseLimits
7129
7041
  */
7130
- 'monthly': number;
7131
- }
7132
- /**
7133
- *
7134
- * @export
7135
- * @interface IPlansResponse
7136
- */
7137
- export interface IPlansResponse {
7042
+ 'products': number;
7138
7043
  /**
7139
7044
  *
7140
7045
  * @type {number}
7141
- * @memberof IPlansResponse
7046
+ * @memberof IPlanResponseLimits
7142
7047
  */
7143
- 'page': number;
7048
+ 'cmsItems': number;
7144
7049
  /**
7145
7050
  *
7146
7051
  * @type {number}
7147
- * @memberof IPlansResponse
7052
+ * @memberof IPlanResponseLimits
7148
7053
  */
7149
- 'itemsPerPage': number;
7054
+ 'cmsCollections': number;
7150
7055
  /**
7151
7056
  *
7152
7057
  * @type {number}
7153
- * @memberof IPlansResponse
7058
+ * @memberof IPlanResponseLimits
7154
7059
  */
7155
- 'total': number;
7060
+ 'storage': number;
7156
7061
  /**
7157
7062
  *
7158
7063
  * @type {number}
7159
- * @memberof IPlansResponse
7064
+ * @memberof IPlanResponseLimits
7160
7065
  */
7161
- 'totalPages': number;
7066
+ 'bandwidth': number;
7067
+ }
7068
+ /**
7069
+ *
7070
+ * @export
7071
+ * @interface IPlansResponse
7072
+ */
7073
+ export interface IPlansResponse {
7162
7074
  /**
7163
7075
  *
7164
7076
  * @type {Array<IPlanResponse>}
@@ -8361,6 +8273,189 @@ export interface IState {
8361
8273
  */
8362
8274
  'cities': Array<string>;
8363
8275
  }
8276
+ /**
8277
+ *
8278
+ * @export
8279
+ * @interface ISubscription
8280
+ */
8281
+ export interface ISubscription {
8282
+ /**
8283
+ *
8284
+ * @type {string}
8285
+ * @memberof ISubscription
8286
+ */
8287
+ '_id': string;
8288
+ /**
8289
+ *
8290
+ * @type {number}
8291
+ * @memberof ISubscription
8292
+ */
8293
+ '__v': number;
8294
+ /**
8295
+ *
8296
+ * @type {string}
8297
+ * @memberof ISubscription
8298
+ */
8299
+ 'createdAt': string;
8300
+ /**
8301
+ *
8302
+ * @type {string}
8303
+ * @memberof ISubscription
8304
+ */
8305
+ 'updatedAt': string;
8306
+ /**
8307
+ *
8308
+ * @type {string}
8309
+ * @memberof ISubscription
8310
+ */
8311
+ 'paymentId': string;
8312
+ /**
8313
+ *
8314
+ * @type {string}
8315
+ * @memberof ISubscription
8316
+ */
8317
+ 'iframe': string;
8318
+ /**
8319
+ *
8320
+ * @type {string}
8321
+ * @memberof ISubscription
8322
+ */
8323
+ 'company': string;
8324
+ /**
8325
+ *
8326
+ * @type {SubscriptionPlanEnum}
8327
+ * @memberof ISubscription
8328
+ */
8329
+ 'plan': SubscriptionPlanEnum;
8330
+ /**
8331
+ *
8332
+ * @type {SubscriptionStatusEnum}
8333
+ * @memberof ISubscription
8334
+ */
8335
+ 'status': SubscriptionStatusEnum;
8336
+ /**
8337
+ *
8338
+ * @type {string}
8339
+ * @memberof ISubscription
8340
+ */
8341
+ 'startDate': string;
8342
+ /**
8343
+ *
8344
+ * @type {string}
8345
+ * @memberof ISubscription
8346
+ */
8347
+ 'endDate': string;
8348
+ /**
8349
+ *
8350
+ * @type {IPlanResponseLimits}
8351
+ * @memberof ISubscription
8352
+ */
8353
+ 'limits': IPlanResponseLimits;
8354
+ /**
8355
+ *
8356
+ * @type {number}
8357
+ * @memberof ISubscription
8358
+ */
8359
+ 'price': number;
8360
+ /**
8361
+ *
8362
+ * @type {number}
8363
+ * @memberof ISubscription
8364
+ */
8365
+ 'addonAmount': number;
8366
+ /**
8367
+ *
8368
+ * @type {number}
8369
+ * @memberof ISubscription
8370
+ */
8371
+ 'addonUsage': number;
8372
+ }
8373
+ /**
8374
+ *
8375
+ * @export
8376
+ * @interface ISubscriptionPostRequest
8377
+ */
8378
+ export interface ISubscriptionPostRequest {
8379
+ /**
8380
+ *
8381
+ * @type {string}
8382
+ * @memberof ISubscriptionPostRequest
8383
+ */
8384
+ 'period': ISubscriptionPostRequestPeriodEnum;
8385
+ /**
8386
+ *
8387
+ * @type {SubscriptionStatusEnum}
8388
+ * @memberof ISubscriptionPostRequest
8389
+ */
8390
+ 'status': SubscriptionStatusEnum;
8391
+ }
8392
+ export declare const ISubscriptionPostRequestPeriodEnum: {
8393
+ readonly MONTHLY: "monthly";
8394
+ readonly YEARLY: "yearly";
8395
+ };
8396
+ export type ISubscriptionPostRequestPeriodEnum = typeof ISubscriptionPostRequestPeriodEnum[keyof typeof ISubscriptionPostRequestPeriodEnum];
8397
+ /**
8398
+ *
8399
+ * @export
8400
+ * @interface ISubscriptionQueryParams
8401
+ */
8402
+ export interface ISubscriptionQueryParams {
8403
+ /**
8404
+ *
8405
+ * @type {number}
8406
+ * @memberof ISubscriptionQueryParams
8407
+ */
8408
+ 'page'?: number;
8409
+ /**
8410
+ *
8411
+ * @type {number}
8412
+ * @memberof ISubscriptionQueryParams
8413
+ */
8414
+ 'itemsPerPage'?: number;
8415
+ /**
8416
+ *
8417
+ * @type {SubscriptionStatusEnum}
8418
+ * @memberof ISubscriptionQueryParams
8419
+ */
8420
+ 'status'?: SubscriptionStatusEnum;
8421
+ }
8422
+ /**
8423
+ *
8424
+ * @export
8425
+ * @interface ISubscriptionsResponse
8426
+ */
8427
+ export interface ISubscriptionsResponse {
8428
+ /**
8429
+ *
8430
+ * @type {number}
8431
+ * @memberof ISubscriptionsResponse
8432
+ */
8433
+ 'totalPages': number;
8434
+ /**
8435
+ *
8436
+ * @type {number}
8437
+ * @memberof ISubscriptionsResponse
8438
+ */
8439
+ 'page': number;
8440
+ /**
8441
+ *
8442
+ * @type {number}
8443
+ * @memberof ISubscriptionsResponse
8444
+ */
8445
+ 'itemsPerPage': number;
8446
+ /**
8447
+ *
8448
+ * @type {number}
8449
+ * @memberof ISubscriptionsResponse
8450
+ */
8451
+ 'total': number;
8452
+ /**
8453
+ *
8454
+ * @type {Array<ISubscription>}
8455
+ * @memberof ISubscriptionsResponse
8456
+ */
8457
+ 'data': Array<ISubscription>;
8458
+ }
8364
8459
  /**
8365
8460
  *
8366
8461
  * @export
@@ -10003,17 +10098,6 @@ export declare const PaymentMethodEnum: {
10003
10098
  readonly CARD_ON_DELIVERY: "card_on_delivery";
10004
10099
  };
10005
10100
  export type PaymentMethodEnum = typeof PaymentMethodEnum[keyof typeof PaymentMethodEnum];
10006
- /**
10007
- *
10008
- * @export
10009
- * @enum {string}
10010
- */
10011
- export declare const PaymentStatusEnum: {
10012
- readonly WAITING_APPROVAL: "waiting_approval";
10013
- readonly PAID: "paid";
10014
- readonly FAILED: "failed";
10015
- };
10016
- export type PaymentStatusEnum = typeof PaymentStatusEnum[keyof typeof PaymentStatusEnum];
10017
10101
  /**
10018
10102
  * From T, pick a set of properties whose keys are in the union K
10019
10103
  * @export
@@ -10443,6 +10527,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
10443
10527
  * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10444
10528
  */
10445
10529
  'plan': PlanTypeEnum;
10530
+ /**
10531
+ *
10532
+ * @type {string}
10533
+ * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10534
+ */
10535
+ 'planId': string;
10446
10536
  /**
10447
10537
  *
10448
10538
  * @type {string}
@@ -11373,6 +11463,61 @@ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrT
11373
11463
  */
11374
11464
  'type': string;
11375
11465
  }
11466
+ /**
11467
+ * From T, pick a set of properties whose keys are in the union K
11468
+ * @export
11469
+ * @interface PickIPlanExcludeKeyofIPlanKeyofMongoResponse
11470
+ */
11471
+ export interface PickIPlanExcludeKeyofIPlanKeyofMongoResponse {
11472
+ /**
11473
+ *
11474
+ * @type {string}
11475
+ * @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
11476
+ */
11477
+ 'name': string;
11478
+ /**
11479
+ *
11480
+ * @type {string}
11481
+ * @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
11482
+ */
11483
+ 'company'?: string;
11484
+ /**
11485
+ *
11486
+ * @type {PlanStatusEnum}
11487
+ * @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
11488
+ */
11489
+ 'status': PlanStatusEnum;
11490
+ /**
11491
+ *
11492
+ * @type {PlanTypeEnum}
11493
+ * @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
11494
+ */
11495
+ 'type': PlanTypeEnum;
11496
+ /**
11497
+ *
11498
+ * @type {RecordPlanCurrencyEnumNumber}
11499
+ * @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
11500
+ */
11501
+ 'monthlyPrice': RecordPlanCurrencyEnumNumber;
11502
+ /**
11503
+ *
11504
+ * @type {RecordPlanCurrencyEnumNumber}
11505
+ * @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
11506
+ */
11507
+ 'annuallyPrice': RecordPlanCurrencyEnumNumber;
11508
+ /**
11509
+ *
11510
+ * @type {IPlanResponseLimits}
11511
+ * @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
11512
+ */
11513
+ 'limits': IPlanResponseLimits;
11514
+ /**
11515
+ *
11516
+ * @type {number}
11517
+ * @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
11518
+ */
11519
+ 'addonAmount': number;
11520
+ }
11376
11521
  /**
11377
11522
  * From T, pick a set of properties whose keys are in the union K
11378
11523
  * @export
@@ -12313,17 +12458,6 @@ export interface PickShippingProviderExcludeKeyofShippingProviderId {
12313
12458
  */
12314
12459
  'rates': Array<ShippingProviderRates>;
12315
12460
  }
12316
- /**
12317
- *
12318
- * @export
12319
- * @enum {string}
12320
- */
12321
- export declare const PlanCurrencyEnum: {
12322
- readonly TRY: "try";
12323
- readonly EUR: "eur";
12324
- readonly USD: "usd";
12325
- };
12326
- export type PlanCurrencyEnum = typeof PlanCurrencyEnum[keyof typeof PlanCurrencyEnum];
12327
12461
  /**
12328
12462
  *
12329
12463
  * @export
@@ -12341,12 +12475,15 @@ export type PlanStatusEnum = typeof PlanStatusEnum[keyof typeof PlanStatusEnum];
12341
12475
  * @enum {string}
12342
12476
  */
12343
12477
  export declare const PlanTypeEnum: {
12478
+ readonly ADDON_BANDWIDTH: "addon-bandwidth";
12344
12479
  readonly STANDARD_B2C: "standard-b2c";
12345
12480
  readonly ADVANCED_B2C: "advanced-b2c";
12346
12481
  readonly PREMIUM_B2C: "premium-b2c";
12482
+ readonly ENTERPRISE_B2C: "enterprise-b2c";
12347
12483
  readonly STANDARD_CMS: "standard-cms";
12348
12484
  readonly ADVANCED_CMS: "advanced-cms";
12349
12485
  readonly PREMIUM_CMS: "premium-cms";
12486
+ readonly ENTERPRISE_CMS: "enterprise-cms";
12350
12487
  };
12351
12488
  export type PlanTypeEnum = typeof PlanTypeEnum[keyof typeof PlanTypeEnum];
12352
12489
  /**
@@ -12392,6 +12529,18 @@ export interface RecordCompanyOnboardingStepEnumBoolean {
12392
12529
  * @memberof RecordCompanyOnboardingStepEnumBoolean
12393
12530
  */
12394
12531
  'addFirstProduct': boolean;
12532
+ /**
12533
+ *
12534
+ * @type {boolean}
12535
+ * @memberof RecordCompanyOnboardingStepEnumBoolean
12536
+ */
12537
+ 'addFirstPage': boolean;
12538
+ /**
12539
+ *
12540
+ * @type {boolean}
12541
+ * @memberof RecordCompanyOnboardingStepEnumBoolean
12542
+ */
12543
+ 'addFirstBlog': boolean;
12395
12544
  /**
12396
12545
  *
12397
12546
  * @type {boolean}
@@ -12570,58 +12719,27 @@ export interface RecordLanguageEnumTitleStringTr {
12570
12719
  /**
12571
12720
  * Construct a type with a set of properties K of type T
12572
12721
  * @export
12573
- * @interface RecordPlanTypeEnumMonthlyBandwidthNumber
12722
+ * @interface RecordPlanCurrencyEnumNumber
12574
12723
  */
12575
- export interface RecordPlanTypeEnumMonthlyBandwidthNumber {
12576
- /**
12577
- *
12578
- * @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
12579
- * @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
12580
- */
12581
- 'standard-b2c': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
12582
- /**
12583
- *
12584
- * @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
12585
- * @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
12586
- */
12587
- 'advanced-b2c': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
12588
- /**
12589
- *
12590
- * @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
12591
- * @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
12592
- */
12593
- 'premium-b2c': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
12724
+ export interface RecordPlanCurrencyEnumNumber {
12594
12725
  /**
12595
12726
  *
12596
- * @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
12597
- * @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
12598
- */
12599
- 'standard-cms': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
12600
- /**
12601
- *
12602
- * @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
12603
- * @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
12727
+ * @type {number}
12728
+ * @memberof RecordPlanCurrencyEnumNumber
12604
12729
  */
12605
- 'advanced-cms': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
12730
+ 'TRY': number;
12606
12731
  /**
12607
12732
  *
12608
- * @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
12609
- * @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
12733
+ * @type {number}
12734
+ * @memberof RecordPlanCurrencyEnumNumber
12610
12735
  */
12611
- 'premium-cms': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
12612
- }
12613
- /**
12614
- *
12615
- * @export
12616
- * @interface RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c
12617
- */
12618
- export interface RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c {
12736
+ 'USD': number;
12619
12737
  /**
12620
12738
  *
12621
12739
  * @type {number}
12622
- * @memberof RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c
12740
+ * @memberof RecordPlanCurrencyEnumNumber
12623
12741
  */
12624
- 'monthlyBandwidth': number;
12742
+ 'EUR': number;
12625
12743
  }
12626
12744
  /**
12627
12745
  *
@@ -12770,7 +12888,7 @@ export declare const SitemapTypeEnum: {
12770
12888
  readonly PRODUCTS: "products";
12771
12889
  readonly PAGES: "pages";
12772
12890
  readonly COLLECTIONS: "collections";
12773
- readonly BLOG: "blog";
12891
+ readonly BLOGS: "blogs";
12774
12892
  readonly UNIQUE_PAGES: "unique-pages";
12775
12893
  };
12776
12894
  export type SitemapTypeEnum = typeof SitemapTypeEnum[keyof typeof SitemapTypeEnum];
@@ -12828,6 +12946,33 @@ export interface SubCategories {
12828
12946
  */
12829
12947
  '_id': string;
12830
12948
  }
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
+ /**
12965
+ *
12966
+ * @export
12967
+ * @enum {string}
12968
+ */
12969
+ export declare const SubscriptionStatusEnum: {
12970
+ readonly ACTIVE: "active";
12971
+ readonly CANCELED: "canceled";
12972
+ readonly EXPIRED: "expired";
12973
+ readonly PENDING: "pending";
12974
+ };
12975
+ export type SubscriptionStatusEnum = typeof SubscriptionStatusEnum[keyof typeof SubscriptionStatusEnum];
12831
12976
  /**
12832
12977
  *
12833
12978
  * @export
@@ -15540,11 +15685,12 @@ export declare const UrlRedirectApiAxiosParamCreator: (configuration?: Configura
15540
15685
  /**
15541
15686
  *
15542
15687
  * @param {string} from
15543
- * @param {string} companyId
15688
+ * @param {string} [companyId]
15689
+ * @param {string} [domain]
15544
15690
  * @param {*} [options] Override http request option.
15545
15691
  * @throws {RequiredError}
15546
15692
  */
15547
- getUrlRedirectBySource: (from: string, companyId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15693
+ getUrlRedirectBySource: (from: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15548
15694
  };
15549
15695
  /**
15550
15696
  * UrlRedirectApi - functional programming interface
@@ -15554,11 +15700,12 @@ export declare const UrlRedirectApiFp: (configuration?: Configuration) => {
15554
15700
  /**
15555
15701
  *
15556
15702
  * @param {string} from
15557
- * @param {string} companyId
15703
+ * @param {string} [companyId]
15704
+ * @param {string} [domain]
15558
15705
  * @param {*} [options] Override http request option.
15559
15706
  * @throws {RequiredError}
15560
15707
  */
15561
- getUrlRedirectBySource(from: string, companyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUrlRedirectResponse>>;
15708
+ getUrlRedirectBySource(from: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUrlRedirectResponse>>;
15562
15709
  };
15563
15710
  /**
15564
15711
  * UrlRedirectApi - factory interface
@@ -15590,7 +15737,13 @@ export interface UrlRedirectApiGetUrlRedirectBySourceRequest {
15590
15737
  * @type {string}
15591
15738
  * @memberof UrlRedirectApiGetUrlRedirectBySource
15592
15739
  */
15593
- readonly companyId: string;
15740
+ readonly companyId?: string;
15741
+ /**
15742
+ *
15743
+ * @type {string}
15744
+ * @memberof UrlRedirectApiGetUrlRedirectBySource
15745
+ */
15746
+ readonly domain?: string;
15594
15747
  }
15595
15748
  /**
15596
15749
  * UrlRedirectApi - object-oriented interface