@infisale-client/api-client 1.3.31 → 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 +429 -303
- package/dist/api/api.js +42 -29
- package/dist/api/api.mjs +39 -26
- package/package.json +2 -2
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
|
-
'
|
|
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
|
*
|
|
@@ -2966,56 +2990,6 @@ export interface ICompanyDashboardResponseOrdersInner {
|
|
|
2966
2990
|
*/
|
|
2967
2991
|
'date': string;
|
|
2968
2992
|
}
|
|
2969
|
-
/**
|
|
2970
|
-
*
|
|
2971
|
-
* @export
|
|
2972
|
-
* @interface ICompanyMonthlyBandwidth
|
|
2973
|
-
*/
|
|
2974
|
-
export interface ICompanyMonthlyBandwidth {
|
|
2975
|
-
/**
|
|
2976
|
-
*
|
|
2977
|
-
* @type {string}
|
|
2978
|
-
* @memberof ICompanyMonthlyBandwidth
|
|
2979
|
-
*/
|
|
2980
|
-
'_id': string;
|
|
2981
|
-
/**
|
|
2982
|
-
*
|
|
2983
|
-
* @type {string}
|
|
2984
|
-
* @memberof ICompanyMonthlyBandwidth
|
|
2985
|
-
*/
|
|
2986
|
-
'company': string;
|
|
2987
|
-
/**
|
|
2988
|
-
*
|
|
2989
|
-
* @type {number}
|
|
2990
|
-
* @memberof ICompanyMonthlyBandwidth
|
|
2991
|
-
*/
|
|
2992
|
-
'year': number;
|
|
2993
|
-
/**
|
|
2994
|
-
*
|
|
2995
|
-
* @type {number}
|
|
2996
|
-
* @memberof ICompanyMonthlyBandwidth
|
|
2997
|
-
*/
|
|
2998
|
-
'month': number;
|
|
2999
|
-
/**
|
|
3000
|
-
*
|
|
3001
|
-
* @type {number}
|
|
3002
|
-
* @memberof ICompanyMonthlyBandwidth
|
|
3003
|
-
*/
|
|
3004
|
-
'bandwidth': number;
|
|
3005
|
-
}
|
|
3006
|
-
/**
|
|
3007
|
-
*
|
|
3008
|
-
* @export
|
|
3009
|
-
* @interface ICompanyMonthlyBandwidthResponse
|
|
3010
|
-
*/
|
|
3011
|
-
export interface ICompanyMonthlyBandwidthResponse {
|
|
3012
|
-
/**
|
|
3013
|
-
*
|
|
3014
|
-
* @type {Array<ICompanyMonthlyBandwidth>}
|
|
3015
|
-
* @memberof ICompanyMonthlyBandwidthResponse
|
|
3016
|
-
*/
|
|
3017
|
-
'data': Array<ICompanyMonthlyBandwidth>;
|
|
3018
|
-
}
|
|
3019
2993
|
/**
|
|
3020
2994
|
*
|
|
3021
2995
|
* @export
|
|
@@ -3102,6 +3076,12 @@ export interface ICompanyPatchRequest {
|
|
|
3102
3076
|
* @memberof ICompanyPatchRequest
|
|
3103
3077
|
*/
|
|
3104
3078
|
'paymentGateways'?: Array<ICompanyPatchRequestPaymentGatewaysInner>;
|
|
3079
|
+
/**
|
|
3080
|
+
*
|
|
3081
|
+
* @type {string}
|
|
3082
|
+
* @memberof ICompanyPatchRequest
|
|
3083
|
+
*/
|
|
3084
|
+
'planId'?: string;
|
|
3105
3085
|
/**
|
|
3106
3086
|
*
|
|
3107
3087
|
* @type {string}
|
|
@@ -3326,10 +3306,10 @@ export interface ICompanyPostRequest {
|
|
|
3326
3306
|
'name': string;
|
|
3327
3307
|
/**
|
|
3328
3308
|
*
|
|
3329
|
-
* @type {
|
|
3309
|
+
* @type {string}
|
|
3330
3310
|
* @memberof ICompanyPostRequest
|
|
3331
3311
|
*/
|
|
3332
|
-
'plan':
|
|
3312
|
+
'plan': string;
|
|
3333
3313
|
/**
|
|
3334
3314
|
*
|
|
3335
3315
|
* @type {LanguageEnum}
|
|
@@ -3421,6 +3401,12 @@ export interface ICompanyResponse {
|
|
|
3421
3401
|
* @memberof ICompanyResponse
|
|
3422
3402
|
*/
|
|
3423
3403
|
'plan': PlanTypeEnum;
|
|
3404
|
+
/**
|
|
3405
|
+
*
|
|
3406
|
+
* @type {string}
|
|
3407
|
+
* @memberof ICompanyResponse
|
|
3408
|
+
*/
|
|
3409
|
+
'planId': string;
|
|
3424
3410
|
/**
|
|
3425
3411
|
*
|
|
3426
3412
|
* @type {string}
|
|
@@ -3622,7 +3608,13 @@ export interface ICompanyResponse {
|
|
|
3622
3608
|
* @type {number}
|
|
3623
3609
|
* @memberof ICompanyResponse
|
|
3624
3610
|
*/
|
|
3625
|
-
'
|
|
3611
|
+
'totalBandwidthUsage': number;
|
|
3612
|
+
/**
|
|
3613
|
+
*
|
|
3614
|
+
* @type {number}
|
|
3615
|
+
* @memberof ICompanyResponse
|
|
3616
|
+
*/
|
|
3617
|
+
'totalBandwidthLimit': number;
|
|
3626
3618
|
}
|
|
3627
3619
|
/**
|
|
3628
3620
|
*
|
|
@@ -6726,67 +6718,6 @@ export interface IPagesResponse {
|
|
|
6726
6718
|
*/
|
|
6727
6719
|
'data': Array<IPageResponse>;
|
|
6728
6720
|
}
|
|
6729
|
-
/**
|
|
6730
|
-
*
|
|
6731
|
-
* @export
|
|
6732
|
-
* @interface IPayment
|
|
6733
|
-
*/
|
|
6734
|
-
export interface IPayment {
|
|
6735
|
-
/**
|
|
6736
|
-
*
|
|
6737
|
-
* @type {string}
|
|
6738
|
-
* @memberof IPayment
|
|
6739
|
-
*/
|
|
6740
|
-
'_id': string;
|
|
6741
|
-
/**
|
|
6742
|
-
*
|
|
6743
|
-
* @type {number}
|
|
6744
|
-
* @memberof IPayment
|
|
6745
|
-
*/
|
|
6746
|
-
'__v': number;
|
|
6747
|
-
/**
|
|
6748
|
-
*
|
|
6749
|
-
* @type {string}
|
|
6750
|
-
* @memberof IPayment
|
|
6751
|
-
*/
|
|
6752
|
-
'createdAt': string;
|
|
6753
|
-
/**
|
|
6754
|
-
*
|
|
6755
|
-
* @type {string}
|
|
6756
|
-
* @memberof IPayment
|
|
6757
|
-
*/
|
|
6758
|
-
'updatedAt': string;
|
|
6759
|
-
/**
|
|
6760
|
-
*
|
|
6761
|
-
* @type {string}
|
|
6762
|
-
* @memberof IPayment
|
|
6763
|
-
*/
|
|
6764
|
-
'company': string;
|
|
6765
|
-
/**
|
|
6766
|
-
*
|
|
6767
|
-
* @type {number}
|
|
6768
|
-
* @memberof IPayment
|
|
6769
|
-
*/
|
|
6770
|
-
'period': number;
|
|
6771
|
-
/**
|
|
6772
|
-
*
|
|
6773
|
-
* @type {number}
|
|
6774
|
-
* @memberof IPayment
|
|
6775
|
-
*/
|
|
6776
|
-
'total': number;
|
|
6777
|
-
/**
|
|
6778
|
-
*
|
|
6779
|
-
* @type {string}
|
|
6780
|
-
* @memberof IPayment
|
|
6781
|
-
*/
|
|
6782
|
-
'iframe': string;
|
|
6783
|
-
/**
|
|
6784
|
-
*
|
|
6785
|
-
* @type {PaymentStatusEnum}
|
|
6786
|
-
* @memberof IPayment
|
|
6787
|
-
*/
|
|
6788
|
-
'status': PaymentStatusEnum;
|
|
6789
|
-
}
|
|
6790
6721
|
/**
|
|
6791
6722
|
*
|
|
6792
6723
|
* @export
|
|
@@ -6818,61 +6749,6 @@ export interface IPaymentCreateResponse {
|
|
|
6818
6749
|
*/
|
|
6819
6750
|
'iframe'?: string;
|
|
6820
6751
|
}
|
|
6821
|
-
/**
|
|
6822
|
-
*
|
|
6823
|
-
* @export
|
|
6824
|
-
* @interface IPaymentPostRequest
|
|
6825
|
-
*/
|
|
6826
|
-
export interface IPaymentPostRequest {
|
|
6827
|
-
/**
|
|
6828
|
-
*
|
|
6829
|
-
* @type {string}
|
|
6830
|
-
* @memberof IPaymentPostRequest
|
|
6831
|
-
*/
|
|
6832
|
-
'period': IPaymentPostRequestPeriodEnum;
|
|
6833
|
-
}
|
|
6834
|
-
export declare const IPaymentPostRequestPeriodEnum: {
|
|
6835
|
-
readonly MONTHLY: "monthly";
|
|
6836
|
-
readonly YEARLY: "yearly";
|
|
6837
|
-
};
|
|
6838
|
-
export type IPaymentPostRequestPeriodEnum = typeof IPaymentPostRequestPeriodEnum[keyof typeof IPaymentPostRequestPeriodEnum];
|
|
6839
|
-
/**
|
|
6840
|
-
*
|
|
6841
|
-
* @export
|
|
6842
|
-
* @interface IPaymentsResponse
|
|
6843
|
-
*/
|
|
6844
|
-
export interface IPaymentsResponse {
|
|
6845
|
-
/**
|
|
6846
|
-
*
|
|
6847
|
-
* @type {number}
|
|
6848
|
-
* @memberof IPaymentsResponse
|
|
6849
|
-
*/
|
|
6850
|
-
'totalPages': number;
|
|
6851
|
-
/**
|
|
6852
|
-
*
|
|
6853
|
-
* @type {number}
|
|
6854
|
-
* @memberof IPaymentsResponse
|
|
6855
|
-
*/
|
|
6856
|
-
'page': number;
|
|
6857
|
-
/**
|
|
6858
|
-
*
|
|
6859
|
-
* @type {number}
|
|
6860
|
-
* @memberof IPaymentsResponse
|
|
6861
|
-
*/
|
|
6862
|
-
'itemsPerPage': number;
|
|
6863
|
-
/**
|
|
6864
|
-
*
|
|
6865
|
-
* @type {number}
|
|
6866
|
-
* @memberof IPaymentsResponse
|
|
6867
|
-
*/
|
|
6868
|
-
'total': number;
|
|
6869
|
-
/**
|
|
6870
|
-
*
|
|
6871
|
-
* @type {Array<IPayment>}
|
|
6872
|
-
* @memberof IPaymentsResponse
|
|
6873
|
-
*/
|
|
6874
|
-
'data': Array<IPayment>;
|
|
6875
|
-
}
|
|
6876
6752
|
/**
|
|
6877
6753
|
*
|
|
6878
6754
|
* @export
|
|
@@ -6935,16 +6811,28 @@ export interface IPlanCollectionQueryParams {
|
|
|
6935
6811
|
'status'?: PlanStatusEnum;
|
|
6936
6812
|
/**
|
|
6937
6813
|
*
|
|
6938
|
-
* @type {
|
|
6814
|
+
* @type {string}
|
|
6939
6815
|
* @memberof IPlanCollectionQueryParams
|
|
6940
6816
|
*/
|
|
6941
|
-
'
|
|
6817
|
+
'category'?: IPlanCollectionQueryParamsCategoryEnum;
|
|
6818
|
+
/**
|
|
6819
|
+
*
|
|
6820
|
+
* @type {string}
|
|
6821
|
+
* @memberof IPlanCollectionQueryParams
|
|
6822
|
+
*/
|
|
6823
|
+
'company'?: string;
|
|
6942
6824
|
}
|
|
6943
6825
|
export declare const IPlanCollectionQueryParamsDateFieldEnum: {
|
|
6944
6826
|
readonly CREATED_AT: "createdAt";
|
|
6945
6827
|
readonly UPDATED_AT: "updatedAt";
|
|
6946
6828
|
};
|
|
6947
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];
|
|
6948
6836
|
/**
|
|
6949
6837
|
*
|
|
6950
6838
|
* @export
|
|
@@ -6959,10 +6847,10 @@ export interface IPlanPatchRequest {
|
|
|
6959
6847
|
'name'?: string;
|
|
6960
6848
|
/**
|
|
6961
6849
|
*
|
|
6962
|
-
* @type {
|
|
6850
|
+
* @type {PlanStatusEnum}
|
|
6963
6851
|
* @memberof IPlanPatchRequest
|
|
6964
6852
|
*/
|
|
6965
|
-
'
|
|
6853
|
+
'status'?: PlanStatusEnum;
|
|
6966
6854
|
/**
|
|
6967
6855
|
*
|
|
6968
6856
|
* @type {PlanTypeEnum}
|
|
@@ -6971,22 +6859,28 @@ export interface IPlanPatchRequest {
|
|
|
6971
6859
|
'type'?: PlanTypeEnum;
|
|
6972
6860
|
/**
|
|
6973
6861
|
*
|
|
6974
|
-
* @type {
|
|
6862
|
+
* @type {RecordPlanCurrencyEnumNumber}
|
|
6975
6863
|
* @memberof IPlanPatchRequest
|
|
6976
6864
|
*/
|
|
6977
|
-
'
|
|
6865
|
+
'monthlyPrice'?: RecordPlanCurrencyEnumNumber;
|
|
6978
6866
|
/**
|
|
6979
6867
|
*
|
|
6980
|
-
* @type {
|
|
6868
|
+
* @type {RecordPlanCurrencyEnumNumber}
|
|
6981
6869
|
* @memberof IPlanPatchRequest
|
|
6982
6870
|
*/
|
|
6983
|
-
'
|
|
6871
|
+
'annuallyPrice'?: RecordPlanCurrencyEnumNumber;
|
|
6984
6872
|
/**
|
|
6985
6873
|
*
|
|
6986
|
-
* @type {
|
|
6874
|
+
* @type {IPlanResponseLimits}
|
|
6987
6875
|
* @memberof IPlanPatchRequest
|
|
6988
6876
|
*/
|
|
6989
|
-
'
|
|
6877
|
+
'limits'?: IPlanResponseLimits;
|
|
6878
|
+
/**
|
|
6879
|
+
*
|
|
6880
|
+
* @type {number}
|
|
6881
|
+
* @memberof IPlanPatchRequest
|
|
6882
|
+
*/
|
|
6883
|
+
'addonAmount'?: number;
|
|
6990
6884
|
}
|
|
6991
6885
|
/**
|
|
6992
6886
|
*
|
|
@@ -7005,7 +6899,13 @@ export interface IPlanPostRequest {
|
|
|
7005
6899
|
* @type {string}
|
|
7006
6900
|
* @memberof IPlanPostRequest
|
|
7007
6901
|
*/
|
|
7008
|
-
'
|
|
6902
|
+
'company'?: string;
|
|
6903
|
+
/**
|
|
6904
|
+
*
|
|
6905
|
+
* @type {PlanStatusEnum}
|
|
6906
|
+
* @memberof IPlanPostRequest
|
|
6907
|
+
*/
|
|
6908
|
+
'status': PlanStatusEnum;
|
|
7009
6909
|
/**
|
|
7010
6910
|
*
|
|
7011
6911
|
* @type {PlanTypeEnum}
|
|
@@ -7014,22 +6914,28 @@ export interface IPlanPostRequest {
|
|
|
7014
6914
|
'type': PlanTypeEnum;
|
|
7015
6915
|
/**
|
|
7016
6916
|
*
|
|
7017
|
-
* @type {
|
|
6917
|
+
* @type {RecordPlanCurrencyEnumNumber}
|
|
7018
6918
|
* @memberof IPlanPostRequest
|
|
7019
6919
|
*/
|
|
7020
|
-
'
|
|
6920
|
+
'monthlyPrice': RecordPlanCurrencyEnumNumber;
|
|
7021
6921
|
/**
|
|
7022
6922
|
*
|
|
7023
|
-
* @type {
|
|
6923
|
+
* @type {RecordPlanCurrencyEnumNumber}
|
|
7024
6924
|
* @memberof IPlanPostRequest
|
|
7025
6925
|
*/
|
|
7026
|
-
'
|
|
6926
|
+
'annuallyPrice': RecordPlanCurrencyEnumNumber;
|
|
7027
6927
|
/**
|
|
7028
6928
|
*
|
|
7029
|
-
* @type {
|
|
6929
|
+
* @type {IPlanResponseLimits}
|
|
7030
6930
|
* @memberof IPlanPostRequest
|
|
7031
6931
|
*/
|
|
7032
|
-
'
|
|
6932
|
+
'limits': IPlanResponseLimits;
|
|
6933
|
+
/**
|
|
6934
|
+
*
|
|
6935
|
+
* @type {number}
|
|
6936
|
+
* @memberof IPlanPostRequest
|
|
6937
|
+
*/
|
|
6938
|
+
'addonAmount': number;
|
|
7033
6939
|
}
|
|
7034
6940
|
/**
|
|
7035
6941
|
*
|
|
@@ -7067,12 +6973,6 @@ export interface IPlanResponse {
|
|
|
7067
6973
|
* @memberof IPlanResponse
|
|
7068
6974
|
*/
|
|
7069
6975
|
'name': string;
|
|
7070
|
-
/**
|
|
7071
|
-
*
|
|
7072
|
-
* @type {string}
|
|
7073
|
-
* @memberof IPlanResponse
|
|
7074
|
-
*/
|
|
7075
|
-
'description'?: string;
|
|
7076
6976
|
/**
|
|
7077
6977
|
*
|
|
7078
6978
|
* @type {PlanTypeEnum}
|
|
@@ -7081,103 +6981,96 @@ export interface IPlanResponse {
|
|
|
7081
6981
|
'type': PlanTypeEnum;
|
|
7082
6982
|
/**
|
|
7083
6983
|
*
|
|
7084
|
-
* @type {
|
|
6984
|
+
* @type {string}
|
|
7085
6985
|
* @memberof IPlanResponse
|
|
7086
6986
|
*/
|
|
7087
|
-
'
|
|
6987
|
+
'company'?: string;
|
|
7088
6988
|
/**
|
|
7089
6989
|
*
|
|
7090
|
-
* @type {
|
|
6990
|
+
* @type {RecordPlanCurrencyEnumNumber}
|
|
7091
6991
|
* @memberof IPlanResponse
|
|
7092
6992
|
*/
|
|
7093
|
-
'
|
|
6993
|
+
'monthlyPrice': RecordPlanCurrencyEnumNumber;
|
|
7094
6994
|
/**
|
|
7095
6995
|
*
|
|
7096
|
-
* @type {
|
|
6996
|
+
* @type {RecordPlanCurrencyEnumNumber}
|
|
7097
6997
|
* @memberof IPlanResponse
|
|
7098
6998
|
*/
|
|
7099
|
-
'
|
|
7100
|
-
}
|
|
7101
|
-
/**
|
|
7102
|
-
*
|
|
7103
|
-
* @export
|
|
7104
|
-
* @interface IPlanResponseAttributesInner
|
|
7105
|
-
*/
|
|
7106
|
-
export interface IPlanResponseAttributesInner {
|
|
6999
|
+
'annuallyPrice': RecordPlanCurrencyEnumNumber;
|
|
7107
7000
|
/**
|
|
7108
7001
|
*
|
|
7109
|
-
* @type {
|
|
7110
|
-
* @memberof
|
|
7002
|
+
* @type {IPlanResponseLimits}
|
|
7003
|
+
* @memberof IPlanResponse
|
|
7111
7004
|
*/
|
|
7112
|
-
'
|
|
7005
|
+
'limits': IPlanResponseLimits;
|
|
7113
7006
|
/**
|
|
7114
7007
|
*
|
|
7115
|
-
* @type {
|
|
7116
|
-
* @memberof
|
|
7008
|
+
* @type {number}
|
|
7009
|
+
* @memberof IPlanResponse
|
|
7117
7010
|
*/
|
|
7118
|
-
'
|
|
7011
|
+
'addonAmount': number;
|
|
7119
7012
|
/**
|
|
7120
7013
|
*
|
|
7121
|
-
* @type {
|
|
7122
|
-
* @memberof
|
|
7014
|
+
* @type {PlanStatusEnum}
|
|
7015
|
+
* @memberof IPlanResponse
|
|
7123
7016
|
*/
|
|
7124
|
-
'
|
|
7017
|
+
'status': PlanStatusEnum;
|
|
7125
7018
|
}
|
|
7126
7019
|
/**
|
|
7127
7020
|
*
|
|
7128
7021
|
* @export
|
|
7129
|
-
* @interface
|
|
7022
|
+
* @interface IPlanResponseLimits
|
|
7130
7023
|
*/
|
|
7131
|
-
export interface
|
|
7024
|
+
export interface IPlanResponseLimits {
|
|
7132
7025
|
/**
|
|
7133
7026
|
*
|
|
7134
|
-
* @type {
|
|
7135
|
-
* @memberof
|
|
7027
|
+
* @type {number}
|
|
7028
|
+
* @memberof IPlanResponseLimits
|
|
7136
7029
|
*/
|
|
7137
|
-
'
|
|
7030
|
+
'users': number;
|
|
7138
7031
|
/**
|
|
7139
7032
|
*
|
|
7140
7033
|
* @type {number}
|
|
7141
|
-
* @memberof
|
|
7034
|
+
* @memberof IPlanResponseLimits
|
|
7142
7035
|
*/
|
|
7143
|
-
'
|
|
7036
|
+
'languages': number;
|
|
7144
7037
|
/**
|
|
7145
7038
|
*
|
|
7146
7039
|
* @type {number}
|
|
7147
|
-
* @memberof
|
|
7040
|
+
* @memberof IPlanResponseLimits
|
|
7148
7041
|
*/
|
|
7149
|
-
'
|
|
7150
|
-
}
|
|
7151
|
-
/**
|
|
7152
|
-
*
|
|
7153
|
-
* @export
|
|
7154
|
-
* @interface IPlansResponse
|
|
7155
|
-
*/
|
|
7156
|
-
export interface IPlansResponse {
|
|
7042
|
+
'products': number;
|
|
7157
7043
|
/**
|
|
7158
7044
|
*
|
|
7159
7045
|
* @type {number}
|
|
7160
|
-
* @memberof
|
|
7046
|
+
* @memberof IPlanResponseLimits
|
|
7161
7047
|
*/
|
|
7162
|
-
'
|
|
7048
|
+
'cmsItems': number;
|
|
7163
7049
|
/**
|
|
7164
7050
|
*
|
|
7165
7051
|
* @type {number}
|
|
7166
|
-
* @memberof
|
|
7052
|
+
* @memberof IPlanResponseLimits
|
|
7167
7053
|
*/
|
|
7168
|
-
'
|
|
7054
|
+
'cmsCollections': number;
|
|
7169
7055
|
/**
|
|
7170
7056
|
*
|
|
7171
7057
|
* @type {number}
|
|
7172
|
-
* @memberof
|
|
7058
|
+
* @memberof IPlanResponseLimits
|
|
7173
7059
|
*/
|
|
7174
|
-
'
|
|
7060
|
+
'storage': number;
|
|
7175
7061
|
/**
|
|
7176
7062
|
*
|
|
7177
7063
|
* @type {number}
|
|
7178
|
-
* @memberof
|
|
7064
|
+
* @memberof IPlanResponseLimits
|
|
7179
7065
|
*/
|
|
7180
|
-
'
|
|
7066
|
+
'bandwidth': number;
|
|
7067
|
+
}
|
|
7068
|
+
/**
|
|
7069
|
+
*
|
|
7070
|
+
* @export
|
|
7071
|
+
* @interface IPlansResponse
|
|
7072
|
+
*/
|
|
7073
|
+
export interface IPlansResponse {
|
|
7181
7074
|
/**
|
|
7182
7075
|
*
|
|
7183
7076
|
* @type {Array<IPlanResponse>}
|
|
@@ -8380,6 +8273,189 @@ export interface IState {
|
|
|
8380
8273
|
*/
|
|
8381
8274
|
'cities': Array<string>;
|
|
8382
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
|
+
}
|
|
8383
8459
|
/**
|
|
8384
8460
|
*
|
|
8385
8461
|
* @export
|
|
@@ -10022,17 +10098,6 @@ export declare const PaymentMethodEnum: {
|
|
|
10022
10098
|
readonly CARD_ON_DELIVERY: "card_on_delivery";
|
|
10023
10099
|
};
|
|
10024
10100
|
export type PaymentMethodEnum = typeof PaymentMethodEnum[keyof typeof PaymentMethodEnum];
|
|
10025
|
-
/**
|
|
10026
|
-
*
|
|
10027
|
-
* @export
|
|
10028
|
-
* @enum {string}
|
|
10029
|
-
*/
|
|
10030
|
-
export declare const PaymentStatusEnum: {
|
|
10031
|
-
readonly WAITING_APPROVAL: "waiting_approval";
|
|
10032
|
-
readonly PAID: "paid";
|
|
10033
|
-
readonly FAILED: "failed";
|
|
10034
|
-
};
|
|
10035
|
-
export type PaymentStatusEnum = typeof PaymentStatusEnum[keyof typeof PaymentStatusEnum];
|
|
10036
10101
|
/**
|
|
10037
10102
|
* From T, pick a set of properties whose keys are in the union K
|
|
10038
10103
|
* @export
|
|
@@ -10462,6 +10527,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
10462
10527
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10463
10528
|
*/
|
|
10464
10529
|
'plan': PlanTypeEnum;
|
|
10530
|
+
/**
|
|
10531
|
+
*
|
|
10532
|
+
* @type {string}
|
|
10533
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10534
|
+
*/
|
|
10535
|
+
'planId': string;
|
|
10465
10536
|
/**
|
|
10466
10537
|
*
|
|
10467
10538
|
* @type {string}
|
|
@@ -11392,6 +11463,61 @@ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrT
|
|
|
11392
11463
|
*/
|
|
11393
11464
|
'type': string;
|
|
11394
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
|
+
}
|
|
11395
11521
|
/**
|
|
11396
11522
|
* From T, pick a set of properties whose keys are in the union K
|
|
11397
11523
|
* @export
|
|
@@ -12332,17 +12458,6 @@ export interface PickShippingProviderExcludeKeyofShippingProviderId {
|
|
|
12332
12458
|
*/
|
|
12333
12459
|
'rates': Array<ShippingProviderRates>;
|
|
12334
12460
|
}
|
|
12335
|
-
/**
|
|
12336
|
-
*
|
|
12337
|
-
* @export
|
|
12338
|
-
* @enum {string}
|
|
12339
|
-
*/
|
|
12340
|
-
export declare const PlanCurrencyEnum: {
|
|
12341
|
-
readonly TRY: "try";
|
|
12342
|
-
readonly EUR: "eur";
|
|
12343
|
-
readonly USD: "usd";
|
|
12344
|
-
};
|
|
12345
|
-
export type PlanCurrencyEnum = typeof PlanCurrencyEnum[keyof typeof PlanCurrencyEnum];
|
|
12346
12461
|
/**
|
|
12347
12462
|
*
|
|
12348
12463
|
* @export
|
|
@@ -12360,12 +12475,15 @@ export type PlanStatusEnum = typeof PlanStatusEnum[keyof typeof PlanStatusEnum];
|
|
|
12360
12475
|
* @enum {string}
|
|
12361
12476
|
*/
|
|
12362
12477
|
export declare const PlanTypeEnum: {
|
|
12478
|
+
readonly ADDON_BANDWIDTH: "addon-bandwidth";
|
|
12363
12479
|
readonly STANDARD_B2C: "standard-b2c";
|
|
12364
12480
|
readonly ADVANCED_B2C: "advanced-b2c";
|
|
12365
12481
|
readonly PREMIUM_B2C: "premium-b2c";
|
|
12482
|
+
readonly ENTERPRISE_B2C: "enterprise-b2c";
|
|
12366
12483
|
readonly STANDARD_CMS: "standard-cms";
|
|
12367
12484
|
readonly ADVANCED_CMS: "advanced-cms";
|
|
12368
12485
|
readonly PREMIUM_CMS: "premium-cms";
|
|
12486
|
+
readonly ENTERPRISE_CMS: "enterprise-cms";
|
|
12369
12487
|
};
|
|
12370
12488
|
export type PlanTypeEnum = typeof PlanTypeEnum[keyof typeof PlanTypeEnum];
|
|
12371
12489
|
/**
|
|
@@ -12411,6 +12529,18 @@ export interface RecordCompanyOnboardingStepEnumBoolean {
|
|
|
12411
12529
|
* @memberof RecordCompanyOnboardingStepEnumBoolean
|
|
12412
12530
|
*/
|
|
12413
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;
|
|
12414
12544
|
/**
|
|
12415
12545
|
*
|
|
12416
12546
|
* @type {boolean}
|
|
@@ -12589,58 +12719,27 @@ export interface RecordLanguageEnumTitleStringTr {
|
|
|
12589
12719
|
/**
|
|
12590
12720
|
* Construct a type with a set of properties K of type T
|
|
12591
12721
|
* @export
|
|
12592
|
-
* @interface
|
|
12722
|
+
* @interface RecordPlanCurrencyEnumNumber
|
|
12593
12723
|
*/
|
|
12594
|
-
export interface
|
|
12595
|
-
/**
|
|
12596
|
-
*
|
|
12597
|
-
* @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
|
|
12598
|
-
* @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
|
|
12599
|
-
*/
|
|
12600
|
-
'standard-b2c': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
|
|
12601
|
-
/**
|
|
12602
|
-
*
|
|
12603
|
-
* @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
|
|
12604
|
-
* @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
|
|
12605
|
-
*/
|
|
12606
|
-
'advanced-b2c': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
|
|
12607
|
-
/**
|
|
12608
|
-
*
|
|
12609
|
-
* @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
|
|
12610
|
-
* @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
|
|
12611
|
-
*/
|
|
12612
|
-
'premium-b2c': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
|
|
12724
|
+
export interface RecordPlanCurrencyEnumNumber {
|
|
12613
12725
|
/**
|
|
12614
12726
|
*
|
|
12615
|
-
* @type {
|
|
12616
|
-
* @memberof
|
|
12727
|
+
* @type {number}
|
|
12728
|
+
* @memberof RecordPlanCurrencyEnumNumber
|
|
12617
12729
|
*/
|
|
12618
|
-
'
|
|
12730
|
+
'TRY': number;
|
|
12619
12731
|
/**
|
|
12620
12732
|
*
|
|
12621
|
-
* @type {
|
|
12622
|
-
* @memberof
|
|
12733
|
+
* @type {number}
|
|
12734
|
+
* @memberof RecordPlanCurrencyEnumNumber
|
|
12623
12735
|
*/
|
|
12624
|
-
'
|
|
12625
|
-
/**
|
|
12626
|
-
*
|
|
12627
|
-
* @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
|
|
12628
|
-
* @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
|
|
12629
|
-
*/
|
|
12630
|
-
'premium-cms': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
|
|
12631
|
-
}
|
|
12632
|
-
/**
|
|
12633
|
-
*
|
|
12634
|
-
* @export
|
|
12635
|
-
* @interface RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c
|
|
12636
|
-
*/
|
|
12637
|
-
export interface RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c {
|
|
12736
|
+
'USD': number;
|
|
12638
12737
|
/**
|
|
12639
12738
|
*
|
|
12640
12739
|
* @type {number}
|
|
12641
|
-
* @memberof
|
|
12740
|
+
* @memberof RecordPlanCurrencyEnumNumber
|
|
12642
12741
|
*/
|
|
12643
|
-
'
|
|
12742
|
+
'EUR': number;
|
|
12644
12743
|
}
|
|
12645
12744
|
/**
|
|
12646
12745
|
*
|
|
@@ -12789,7 +12888,7 @@ export declare const SitemapTypeEnum: {
|
|
|
12789
12888
|
readonly PRODUCTS: "products";
|
|
12790
12889
|
readonly PAGES: "pages";
|
|
12791
12890
|
readonly COLLECTIONS: "collections";
|
|
12792
|
-
readonly
|
|
12891
|
+
readonly BLOGS: "blogs";
|
|
12793
12892
|
readonly UNIQUE_PAGES: "unique-pages";
|
|
12794
12893
|
};
|
|
12795
12894
|
export type SitemapTypeEnum = typeof SitemapTypeEnum[keyof typeof SitemapTypeEnum];
|
|
@@ -12847,6 +12946,33 @@ export interface SubCategories {
|
|
|
12847
12946
|
*/
|
|
12848
12947
|
'_id': string;
|
|
12849
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];
|
|
12850
12976
|
/**
|
|
12851
12977
|
*
|
|
12852
12978
|
* @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.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.
|
|
20
|
-
exports.
|
|
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;
|
|
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;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -442,14 +442,15 @@ exports.IPageCollectionQueryParamsDateFieldEnum = {
|
|
|
442
442
|
CREATED_AT: 'createdAt',
|
|
443
443
|
UPDATED_AT: 'updatedAt'
|
|
444
444
|
};
|
|
445
|
-
exports.IPaymentPostRequestPeriodEnum = {
|
|
446
|
-
MONTHLY: 'monthly',
|
|
447
|
-
YEARLY: 'yearly'
|
|
448
|
-
};
|
|
449
445
|
exports.IPlanCollectionQueryParamsDateFieldEnum = {
|
|
450
446
|
CREATED_AT: 'createdAt',
|
|
451
447
|
UPDATED_AT: 'updatedAt'
|
|
452
448
|
};
|
|
449
|
+
exports.IPlanCollectionQueryParamsCategoryEnum = {
|
|
450
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
451
|
+
B2C: 'b2c',
|
|
452
|
+
CMS: 'cms'
|
|
453
|
+
};
|
|
453
454
|
exports.IProductCollectionQueryParamsDateFieldEnum = {
|
|
454
455
|
CREATED_AT: 'createdAt',
|
|
455
456
|
UPDATED_AT: 'updatedAt'
|
|
@@ -461,6 +462,10 @@ exports.IProductCollectionQueryParamsSortEnum = {
|
|
|
461
462
|
RATING: 'rating',
|
|
462
463
|
REVIEW_COUNT: 'reviewCount'
|
|
463
464
|
};
|
|
465
|
+
exports.ISubscriptionPostRequestPeriodEnum = {
|
|
466
|
+
MONTHLY: 'monthly',
|
|
467
|
+
YEARLY: 'yearly'
|
|
468
|
+
};
|
|
464
469
|
exports.IUniqueCollectionQueryParamsDateFieldEnum = {
|
|
465
470
|
CREATED_AT: 'createdAt',
|
|
466
471
|
UPDATED_AT: 'updatedAt'
|
|
@@ -623,30 +628,10 @@ exports.PaymentMethodEnum = {
|
|
|
623
628
|
CASH_ON_DELIVERY: 'cash_on_delivery',
|
|
624
629
|
CARD_ON_DELIVERY: 'card_on_delivery'
|
|
625
630
|
};
|
|
626
|
-
/**
|
|
627
|
-
*
|
|
628
|
-
* @export
|
|
629
|
-
* @enum {string}
|
|
630
|
-
*/
|
|
631
|
-
exports.PaymentStatusEnum = {
|
|
632
|
-
WAITING_APPROVAL: 'waiting_approval',
|
|
633
|
-
PAID: 'paid',
|
|
634
|
-
FAILED: 'failed'
|
|
635
|
-
};
|
|
636
631
|
exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = {
|
|
637
632
|
CREATED_AT: 'createdAt',
|
|
638
633
|
UPDATED_AT: 'updatedAt'
|
|
639
634
|
};
|
|
640
|
-
/**
|
|
641
|
-
*
|
|
642
|
-
* @export
|
|
643
|
-
* @enum {string}
|
|
644
|
-
*/
|
|
645
|
-
exports.PlanCurrencyEnum = {
|
|
646
|
-
TRY: 'try',
|
|
647
|
-
EUR: 'eur',
|
|
648
|
-
USD: 'usd'
|
|
649
|
-
};
|
|
650
635
|
/**
|
|
651
636
|
*
|
|
652
637
|
* @export
|
|
@@ -663,12 +648,15 @@ exports.PlanStatusEnum = {
|
|
|
663
648
|
* @enum {string}
|
|
664
649
|
*/
|
|
665
650
|
exports.PlanTypeEnum = {
|
|
651
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
666
652
|
STANDARD_B2C: 'standard-b2c',
|
|
667
653
|
ADVANCED_B2C: 'advanced-b2c',
|
|
668
654
|
PREMIUM_B2C: 'premium-b2c',
|
|
655
|
+
ENTERPRISE_B2C: 'enterprise-b2c',
|
|
669
656
|
STANDARD_CMS: 'standard-cms',
|
|
670
657
|
ADVANCED_CMS: 'advanced-cms',
|
|
671
|
-
PREMIUM_CMS: 'premium-cms'
|
|
658
|
+
PREMIUM_CMS: 'premium-cms',
|
|
659
|
+
ENTERPRISE_CMS: 'enterprise-cms'
|
|
672
660
|
};
|
|
673
661
|
/**
|
|
674
662
|
*
|
|
@@ -697,7 +685,7 @@ exports.SitemapTypeEnum = {
|
|
|
697
685
|
PRODUCTS: 'products',
|
|
698
686
|
PAGES: 'pages',
|
|
699
687
|
COLLECTIONS: 'collections',
|
|
700
|
-
|
|
688
|
+
BLOGS: 'blogs',
|
|
701
689
|
UNIQUE_PAGES: 'unique-pages'
|
|
702
690
|
};
|
|
703
691
|
/**
|
|
@@ -709,6 +697,31 @@ exports.StoreLocationEnum = {
|
|
|
709
697
|
DE: 'DE',
|
|
710
698
|
TR: 'TR'
|
|
711
699
|
};
|
|
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
|
+
/**
|
|
715
|
+
*
|
|
716
|
+
* @export
|
|
717
|
+
* @enum {string}
|
|
718
|
+
*/
|
|
719
|
+
exports.SubscriptionStatusEnum = {
|
|
720
|
+
ACTIVE: 'active',
|
|
721
|
+
CANCELED: 'canceled',
|
|
722
|
+
EXPIRED: 'expired',
|
|
723
|
+
PENDING: 'pending'
|
|
724
|
+
};
|
|
712
725
|
/**
|
|
713
726
|
*
|
|
714
727
|
* @export
|
package/dist/api/api.mjs
CHANGED
|
@@ -431,14 +431,15 @@ export const IPageCollectionQueryParamsDateFieldEnum = {
|
|
|
431
431
|
CREATED_AT: 'createdAt',
|
|
432
432
|
UPDATED_AT: 'updatedAt'
|
|
433
433
|
};
|
|
434
|
-
export const IPaymentPostRequestPeriodEnum = {
|
|
435
|
-
MONTHLY: 'monthly',
|
|
436
|
-
YEARLY: 'yearly'
|
|
437
|
-
};
|
|
438
434
|
export const IPlanCollectionQueryParamsDateFieldEnum = {
|
|
439
435
|
CREATED_AT: 'createdAt',
|
|
440
436
|
UPDATED_AT: 'updatedAt'
|
|
441
437
|
};
|
|
438
|
+
export const IPlanCollectionQueryParamsCategoryEnum = {
|
|
439
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
440
|
+
B2C: 'b2c',
|
|
441
|
+
CMS: 'cms'
|
|
442
|
+
};
|
|
442
443
|
export const IProductCollectionQueryParamsDateFieldEnum = {
|
|
443
444
|
CREATED_AT: 'createdAt',
|
|
444
445
|
UPDATED_AT: 'updatedAt'
|
|
@@ -450,6 +451,10 @@ export const IProductCollectionQueryParamsSortEnum = {
|
|
|
450
451
|
RATING: 'rating',
|
|
451
452
|
REVIEW_COUNT: 'reviewCount'
|
|
452
453
|
};
|
|
454
|
+
export const ISubscriptionPostRequestPeriodEnum = {
|
|
455
|
+
MONTHLY: 'monthly',
|
|
456
|
+
YEARLY: 'yearly'
|
|
457
|
+
};
|
|
453
458
|
export const IUniqueCollectionQueryParamsDateFieldEnum = {
|
|
454
459
|
CREATED_AT: 'createdAt',
|
|
455
460
|
UPDATED_AT: 'updatedAt'
|
|
@@ -612,30 +617,10 @@ export const PaymentMethodEnum = {
|
|
|
612
617
|
CASH_ON_DELIVERY: 'cash_on_delivery',
|
|
613
618
|
CARD_ON_DELIVERY: 'card_on_delivery'
|
|
614
619
|
};
|
|
615
|
-
/**
|
|
616
|
-
*
|
|
617
|
-
* @export
|
|
618
|
-
* @enum {string}
|
|
619
|
-
*/
|
|
620
|
-
export const PaymentStatusEnum = {
|
|
621
|
-
WAITING_APPROVAL: 'waiting_approval',
|
|
622
|
-
PAID: 'paid',
|
|
623
|
-
FAILED: 'failed'
|
|
624
|
-
};
|
|
625
620
|
export const PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = {
|
|
626
621
|
CREATED_AT: 'createdAt',
|
|
627
622
|
UPDATED_AT: 'updatedAt'
|
|
628
623
|
};
|
|
629
|
-
/**
|
|
630
|
-
*
|
|
631
|
-
* @export
|
|
632
|
-
* @enum {string}
|
|
633
|
-
*/
|
|
634
|
-
export const PlanCurrencyEnum = {
|
|
635
|
-
TRY: 'try',
|
|
636
|
-
EUR: 'eur',
|
|
637
|
-
USD: 'usd'
|
|
638
|
-
};
|
|
639
624
|
/**
|
|
640
625
|
*
|
|
641
626
|
* @export
|
|
@@ -652,12 +637,15 @@ export const PlanStatusEnum = {
|
|
|
652
637
|
* @enum {string}
|
|
653
638
|
*/
|
|
654
639
|
export const PlanTypeEnum = {
|
|
640
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
655
641
|
STANDARD_B2C: 'standard-b2c',
|
|
656
642
|
ADVANCED_B2C: 'advanced-b2c',
|
|
657
643
|
PREMIUM_B2C: 'premium-b2c',
|
|
644
|
+
ENTERPRISE_B2C: 'enterprise-b2c',
|
|
658
645
|
STANDARD_CMS: 'standard-cms',
|
|
659
646
|
ADVANCED_CMS: 'advanced-cms',
|
|
660
|
-
PREMIUM_CMS: 'premium-cms'
|
|
647
|
+
PREMIUM_CMS: 'premium-cms',
|
|
648
|
+
ENTERPRISE_CMS: 'enterprise-cms'
|
|
661
649
|
};
|
|
662
650
|
/**
|
|
663
651
|
*
|
|
@@ -686,7 +674,7 @@ export const SitemapTypeEnum = {
|
|
|
686
674
|
PRODUCTS: 'products',
|
|
687
675
|
PAGES: 'pages',
|
|
688
676
|
COLLECTIONS: 'collections',
|
|
689
|
-
|
|
677
|
+
BLOGS: 'blogs',
|
|
690
678
|
UNIQUE_PAGES: 'unique-pages'
|
|
691
679
|
};
|
|
692
680
|
/**
|
|
@@ -698,6 +686,31 @@ export const StoreLocationEnum = {
|
|
|
698
686
|
DE: 'DE',
|
|
699
687
|
TR: 'TR'
|
|
700
688
|
};
|
|
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
|
+
/**
|
|
704
|
+
*
|
|
705
|
+
* @export
|
|
706
|
+
* @enum {string}
|
|
707
|
+
*/
|
|
708
|
+
export const SubscriptionStatusEnum = {
|
|
709
|
+
ACTIVE: 'active',
|
|
710
|
+
CANCELED: 'canceled',
|
|
711
|
+
EXPIRED: 'expired',
|
|
712
|
+
PENDING: 'pending'
|
|
713
|
+
};
|
|
701
714
|
/**
|
|
702
715
|
*
|
|
703
716
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.32",
|
|
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": "
|
|
40
|
+
"gitHead": "cdfe243cef0a62d3c8603ac424b0211d0b7ad089"
|
|
41
41
|
}
|