@infisale-client/api-client 1.3.31 → 1.3.33
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 +448 -304
- package/dist/api/api.js +43 -30
- package/dist/api/api.mjs +40 -27
- 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,207 @@ 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 {string}
|
|
8327
|
+
* @memberof ISubscription
|
|
8328
|
+
*/
|
|
8329
|
+
'plan': string;
|
|
8330
|
+
/**
|
|
8331
|
+
*
|
|
8332
|
+
* @type {SubscriptionPlanEnum}
|
|
8333
|
+
* @memberof ISubscription
|
|
8334
|
+
*/
|
|
8335
|
+
'planType': SubscriptionPlanEnum;
|
|
8336
|
+
/**
|
|
8337
|
+
*
|
|
8338
|
+
* @type {string}
|
|
8339
|
+
* @memberof ISubscription
|
|
8340
|
+
*/
|
|
8341
|
+
'planName': string;
|
|
8342
|
+
/**
|
|
8343
|
+
*
|
|
8344
|
+
* @type {SubscriptionStatusEnum}
|
|
8345
|
+
* @memberof ISubscription
|
|
8346
|
+
*/
|
|
8347
|
+
'status': SubscriptionStatusEnum;
|
|
8348
|
+
/**
|
|
8349
|
+
*
|
|
8350
|
+
* @type {string}
|
|
8351
|
+
* @memberof ISubscription
|
|
8352
|
+
*/
|
|
8353
|
+
'startDate': string;
|
|
8354
|
+
/**
|
|
8355
|
+
*
|
|
8356
|
+
* @type {string}
|
|
8357
|
+
* @memberof ISubscription
|
|
8358
|
+
*/
|
|
8359
|
+
'endDate': string;
|
|
8360
|
+
/**
|
|
8361
|
+
*
|
|
8362
|
+
* @type {IPlanResponseLimits}
|
|
8363
|
+
* @memberof ISubscription
|
|
8364
|
+
*/
|
|
8365
|
+
'limits': IPlanResponseLimits;
|
|
8366
|
+
/**
|
|
8367
|
+
*
|
|
8368
|
+
* @type {number}
|
|
8369
|
+
* @memberof ISubscription
|
|
8370
|
+
*/
|
|
8371
|
+
'price': number;
|
|
8372
|
+
/**
|
|
8373
|
+
*
|
|
8374
|
+
* @type {number}
|
|
8375
|
+
* @memberof ISubscription
|
|
8376
|
+
*/
|
|
8377
|
+
'addonAmount': number;
|
|
8378
|
+
/**
|
|
8379
|
+
*
|
|
8380
|
+
* @type {number}
|
|
8381
|
+
* @memberof ISubscription
|
|
8382
|
+
*/
|
|
8383
|
+
'addonUsage': number;
|
|
8384
|
+
}
|
|
8385
|
+
/**
|
|
8386
|
+
*
|
|
8387
|
+
* @export
|
|
8388
|
+
* @interface ISubscriptionPostRequest
|
|
8389
|
+
*/
|
|
8390
|
+
export interface ISubscriptionPostRequest {
|
|
8391
|
+
/**
|
|
8392
|
+
*
|
|
8393
|
+
* @type {string}
|
|
8394
|
+
* @memberof ISubscriptionPostRequest
|
|
8395
|
+
*/
|
|
8396
|
+
'period': ISubscriptionPostRequestPeriodEnum;
|
|
8397
|
+
/**
|
|
8398
|
+
*
|
|
8399
|
+
* @type {SubscriptionStatusEnum}
|
|
8400
|
+
* @memberof ISubscriptionPostRequest
|
|
8401
|
+
*/
|
|
8402
|
+
'status': SubscriptionStatusEnum;
|
|
8403
|
+
/**
|
|
8404
|
+
*
|
|
8405
|
+
* @type {string}
|
|
8406
|
+
* @memberof ISubscriptionPostRequest
|
|
8407
|
+
*/
|
|
8408
|
+
'plan': string;
|
|
8409
|
+
}
|
|
8410
|
+
export declare const ISubscriptionPostRequestPeriodEnum: {
|
|
8411
|
+
readonly MONTHLY: "monthly";
|
|
8412
|
+
readonly YEARLY: "yearly";
|
|
8413
|
+
};
|
|
8414
|
+
export type ISubscriptionPostRequestPeriodEnum = typeof ISubscriptionPostRequestPeriodEnum[keyof typeof ISubscriptionPostRequestPeriodEnum];
|
|
8415
|
+
/**
|
|
8416
|
+
*
|
|
8417
|
+
* @export
|
|
8418
|
+
* @interface ISubscriptionQueryParams
|
|
8419
|
+
*/
|
|
8420
|
+
export interface ISubscriptionQueryParams {
|
|
8421
|
+
/**
|
|
8422
|
+
*
|
|
8423
|
+
* @type {number}
|
|
8424
|
+
* @memberof ISubscriptionQueryParams
|
|
8425
|
+
*/
|
|
8426
|
+
'page'?: number;
|
|
8427
|
+
/**
|
|
8428
|
+
*
|
|
8429
|
+
* @type {number}
|
|
8430
|
+
* @memberof ISubscriptionQueryParams
|
|
8431
|
+
*/
|
|
8432
|
+
'itemsPerPage'?: number;
|
|
8433
|
+
/**
|
|
8434
|
+
*
|
|
8435
|
+
* @type {SubscriptionStatusEnum}
|
|
8436
|
+
* @memberof ISubscriptionQueryParams
|
|
8437
|
+
*/
|
|
8438
|
+
'status'?: SubscriptionStatusEnum;
|
|
8439
|
+
}
|
|
8440
|
+
/**
|
|
8441
|
+
*
|
|
8442
|
+
* @export
|
|
8443
|
+
* @interface ISubscriptionsResponse
|
|
8444
|
+
*/
|
|
8445
|
+
export interface ISubscriptionsResponse {
|
|
8446
|
+
/**
|
|
8447
|
+
*
|
|
8448
|
+
* @type {number}
|
|
8449
|
+
* @memberof ISubscriptionsResponse
|
|
8450
|
+
*/
|
|
8451
|
+
'totalPages': number;
|
|
8452
|
+
/**
|
|
8453
|
+
*
|
|
8454
|
+
* @type {number}
|
|
8455
|
+
* @memberof ISubscriptionsResponse
|
|
8456
|
+
*/
|
|
8457
|
+
'page': number;
|
|
8458
|
+
/**
|
|
8459
|
+
*
|
|
8460
|
+
* @type {number}
|
|
8461
|
+
* @memberof ISubscriptionsResponse
|
|
8462
|
+
*/
|
|
8463
|
+
'itemsPerPage': number;
|
|
8464
|
+
/**
|
|
8465
|
+
*
|
|
8466
|
+
* @type {number}
|
|
8467
|
+
* @memberof ISubscriptionsResponse
|
|
8468
|
+
*/
|
|
8469
|
+
'total': number;
|
|
8470
|
+
/**
|
|
8471
|
+
*
|
|
8472
|
+
* @type {Array<ISubscription>}
|
|
8473
|
+
* @memberof ISubscriptionsResponse
|
|
8474
|
+
*/
|
|
8475
|
+
'data': Array<ISubscription>;
|
|
8476
|
+
}
|
|
8383
8477
|
/**
|
|
8384
8478
|
*
|
|
8385
8479
|
* @export
|
|
@@ -9837,7 +9931,7 @@ export type OrderShippedStatusEnum = typeof OrderShippedStatusEnum[keyof typeof
|
|
|
9837
9931
|
* @enum {string}
|
|
9838
9932
|
*/
|
|
9839
9933
|
export declare const OrderStatusEnum: {
|
|
9840
|
-
readonly
|
|
9934
|
+
readonly CANCELED: "canceled";
|
|
9841
9935
|
readonly CREATED: "created";
|
|
9842
9936
|
};
|
|
9843
9937
|
export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];
|
|
@@ -10022,17 +10116,6 @@ export declare const PaymentMethodEnum: {
|
|
|
10022
10116
|
readonly CARD_ON_DELIVERY: "card_on_delivery";
|
|
10023
10117
|
};
|
|
10024
10118
|
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
10119
|
/**
|
|
10037
10120
|
* From T, pick a set of properties whose keys are in the union K
|
|
10038
10121
|
* @export
|
|
@@ -10462,6 +10545,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
10462
10545
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10463
10546
|
*/
|
|
10464
10547
|
'plan': PlanTypeEnum;
|
|
10548
|
+
/**
|
|
10549
|
+
*
|
|
10550
|
+
* @type {string}
|
|
10551
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10552
|
+
*/
|
|
10553
|
+
'planId': string;
|
|
10465
10554
|
/**
|
|
10466
10555
|
*
|
|
10467
10556
|
* @type {string}
|
|
@@ -11392,6 +11481,61 @@ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrT
|
|
|
11392
11481
|
*/
|
|
11393
11482
|
'type': string;
|
|
11394
11483
|
}
|
|
11484
|
+
/**
|
|
11485
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
11486
|
+
* @export
|
|
11487
|
+
* @interface PickIPlanExcludeKeyofIPlanKeyofMongoResponse
|
|
11488
|
+
*/
|
|
11489
|
+
export interface PickIPlanExcludeKeyofIPlanKeyofMongoResponse {
|
|
11490
|
+
/**
|
|
11491
|
+
*
|
|
11492
|
+
* @type {string}
|
|
11493
|
+
* @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
|
|
11494
|
+
*/
|
|
11495
|
+
'name': string;
|
|
11496
|
+
/**
|
|
11497
|
+
*
|
|
11498
|
+
* @type {string}
|
|
11499
|
+
* @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
|
|
11500
|
+
*/
|
|
11501
|
+
'company'?: string;
|
|
11502
|
+
/**
|
|
11503
|
+
*
|
|
11504
|
+
* @type {PlanStatusEnum}
|
|
11505
|
+
* @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
|
|
11506
|
+
*/
|
|
11507
|
+
'status': PlanStatusEnum;
|
|
11508
|
+
/**
|
|
11509
|
+
*
|
|
11510
|
+
* @type {PlanTypeEnum}
|
|
11511
|
+
* @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
|
|
11512
|
+
*/
|
|
11513
|
+
'type': PlanTypeEnum;
|
|
11514
|
+
/**
|
|
11515
|
+
*
|
|
11516
|
+
* @type {RecordPlanCurrencyEnumNumber}
|
|
11517
|
+
* @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
|
|
11518
|
+
*/
|
|
11519
|
+
'monthlyPrice': RecordPlanCurrencyEnumNumber;
|
|
11520
|
+
/**
|
|
11521
|
+
*
|
|
11522
|
+
* @type {RecordPlanCurrencyEnumNumber}
|
|
11523
|
+
* @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
|
|
11524
|
+
*/
|
|
11525
|
+
'annuallyPrice': RecordPlanCurrencyEnumNumber;
|
|
11526
|
+
/**
|
|
11527
|
+
*
|
|
11528
|
+
* @type {IPlanResponseLimits}
|
|
11529
|
+
* @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
|
|
11530
|
+
*/
|
|
11531
|
+
'limits': IPlanResponseLimits;
|
|
11532
|
+
/**
|
|
11533
|
+
*
|
|
11534
|
+
* @type {number}
|
|
11535
|
+
* @memberof PickIPlanExcludeKeyofIPlanKeyofMongoResponse
|
|
11536
|
+
*/
|
|
11537
|
+
'addonAmount': number;
|
|
11538
|
+
}
|
|
11395
11539
|
/**
|
|
11396
11540
|
* From T, pick a set of properties whose keys are in the union K
|
|
11397
11541
|
* @export
|
|
@@ -12332,17 +12476,6 @@ export interface PickShippingProviderExcludeKeyofShippingProviderId {
|
|
|
12332
12476
|
*/
|
|
12333
12477
|
'rates': Array<ShippingProviderRates>;
|
|
12334
12478
|
}
|
|
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
12479
|
/**
|
|
12347
12480
|
*
|
|
12348
12481
|
* @export
|
|
@@ -12360,12 +12493,15 @@ export type PlanStatusEnum = typeof PlanStatusEnum[keyof typeof PlanStatusEnum];
|
|
|
12360
12493
|
* @enum {string}
|
|
12361
12494
|
*/
|
|
12362
12495
|
export declare const PlanTypeEnum: {
|
|
12496
|
+
readonly ADDON_BANDWIDTH: "addon-bandwidth";
|
|
12363
12497
|
readonly STANDARD_B2C: "standard-b2c";
|
|
12364
12498
|
readonly ADVANCED_B2C: "advanced-b2c";
|
|
12365
12499
|
readonly PREMIUM_B2C: "premium-b2c";
|
|
12500
|
+
readonly ENTERPRISE_B2C: "enterprise-b2c";
|
|
12366
12501
|
readonly STANDARD_CMS: "standard-cms";
|
|
12367
12502
|
readonly ADVANCED_CMS: "advanced-cms";
|
|
12368
12503
|
readonly PREMIUM_CMS: "premium-cms";
|
|
12504
|
+
readonly ENTERPRISE_CMS: "enterprise-cms";
|
|
12369
12505
|
};
|
|
12370
12506
|
export type PlanTypeEnum = typeof PlanTypeEnum[keyof typeof PlanTypeEnum];
|
|
12371
12507
|
/**
|
|
@@ -12411,6 +12547,18 @@ export interface RecordCompanyOnboardingStepEnumBoolean {
|
|
|
12411
12547
|
* @memberof RecordCompanyOnboardingStepEnumBoolean
|
|
12412
12548
|
*/
|
|
12413
12549
|
'addFirstProduct': boolean;
|
|
12550
|
+
/**
|
|
12551
|
+
*
|
|
12552
|
+
* @type {boolean}
|
|
12553
|
+
* @memberof RecordCompanyOnboardingStepEnumBoolean
|
|
12554
|
+
*/
|
|
12555
|
+
'addFirstPage': boolean;
|
|
12556
|
+
/**
|
|
12557
|
+
*
|
|
12558
|
+
* @type {boolean}
|
|
12559
|
+
* @memberof RecordCompanyOnboardingStepEnumBoolean
|
|
12560
|
+
*/
|
|
12561
|
+
'addFirstBlog': boolean;
|
|
12414
12562
|
/**
|
|
12415
12563
|
*
|
|
12416
12564
|
* @type {boolean}
|
|
@@ -12589,58 +12737,27 @@ export interface RecordLanguageEnumTitleStringTr {
|
|
|
12589
12737
|
/**
|
|
12590
12738
|
* Construct a type with a set of properties K of type T
|
|
12591
12739
|
* @export
|
|
12592
|
-
* @interface
|
|
12740
|
+
* @interface RecordPlanCurrencyEnumNumber
|
|
12593
12741
|
*/
|
|
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;
|
|
12613
|
-
/**
|
|
12614
|
-
*
|
|
12615
|
-
* @type {RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c}
|
|
12616
|
-
* @memberof RecordPlanTypeEnumMonthlyBandwidthNumber
|
|
12617
|
-
*/
|
|
12618
|
-
'standard-cms': RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c;
|
|
12742
|
+
export interface RecordPlanCurrencyEnumNumber {
|
|
12619
12743
|
/**
|
|
12620
12744
|
*
|
|
12621
|
-
* @type {
|
|
12622
|
-
* @memberof
|
|
12745
|
+
* @type {number}
|
|
12746
|
+
* @memberof RecordPlanCurrencyEnumNumber
|
|
12623
12747
|
*/
|
|
12624
|
-
'
|
|
12748
|
+
'TRY': number;
|
|
12625
12749
|
/**
|
|
12626
12750
|
*
|
|
12627
|
-
* @type {
|
|
12628
|
-
* @memberof
|
|
12751
|
+
* @type {number}
|
|
12752
|
+
* @memberof RecordPlanCurrencyEnumNumber
|
|
12629
12753
|
*/
|
|
12630
|
-
'
|
|
12631
|
-
}
|
|
12632
|
-
/**
|
|
12633
|
-
*
|
|
12634
|
-
* @export
|
|
12635
|
-
* @interface RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c
|
|
12636
|
-
*/
|
|
12637
|
-
export interface RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c {
|
|
12754
|
+
'USD': number;
|
|
12638
12755
|
/**
|
|
12639
12756
|
*
|
|
12640
12757
|
* @type {number}
|
|
12641
|
-
* @memberof
|
|
12758
|
+
* @memberof RecordPlanCurrencyEnumNumber
|
|
12642
12759
|
*/
|
|
12643
|
-
'
|
|
12760
|
+
'EUR': number;
|
|
12644
12761
|
}
|
|
12645
12762
|
/**
|
|
12646
12763
|
*
|
|
@@ -12789,7 +12906,7 @@ export declare const SitemapTypeEnum: {
|
|
|
12789
12906
|
readonly PRODUCTS: "products";
|
|
12790
12907
|
readonly PAGES: "pages";
|
|
12791
12908
|
readonly COLLECTIONS: "collections";
|
|
12792
|
-
readonly
|
|
12909
|
+
readonly BLOGS: "blogs";
|
|
12793
12910
|
readonly UNIQUE_PAGES: "unique-pages";
|
|
12794
12911
|
};
|
|
12795
12912
|
export type SitemapTypeEnum = typeof SitemapTypeEnum[keyof typeof SitemapTypeEnum];
|
|
@@ -12847,6 +12964,33 @@ export interface SubCategories {
|
|
|
12847
12964
|
*/
|
|
12848
12965
|
'_id': string;
|
|
12849
12966
|
}
|
|
12967
|
+
/**
|
|
12968
|
+
*
|
|
12969
|
+
* @export
|
|
12970
|
+
* @enum {string}
|
|
12971
|
+
*/
|
|
12972
|
+
export declare const SubscriptionPlanEnum: {
|
|
12973
|
+
readonly ADDON_BANDWIDTH: "addon-bandwidth";
|
|
12974
|
+
readonly STANDARD_B2C: "standard-b2c";
|
|
12975
|
+
readonly ADVANCED_B2C: "advanced-b2c";
|
|
12976
|
+
readonly PREMIUM_B2C: "premium-b2c";
|
|
12977
|
+
readonly STANDARD_CMS: "standard-cms";
|
|
12978
|
+
readonly ADVANCED_CMS: "advanced-cms";
|
|
12979
|
+
readonly PREMIUM_CMS: "premium-cms";
|
|
12980
|
+
};
|
|
12981
|
+
export type SubscriptionPlanEnum = typeof SubscriptionPlanEnum[keyof typeof SubscriptionPlanEnum];
|
|
12982
|
+
/**
|
|
12983
|
+
*
|
|
12984
|
+
* @export
|
|
12985
|
+
* @enum {string}
|
|
12986
|
+
*/
|
|
12987
|
+
export declare const SubscriptionStatusEnum: {
|
|
12988
|
+
readonly ACTIVE: "active";
|
|
12989
|
+
readonly CANCELED: "canceled";
|
|
12990
|
+
readonly EXPIRED: "expired";
|
|
12991
|
+
readonly PENDING: "pending";
|
|
12992
|
+
};
|
|
12993
|
+
export type SubscriptionStatusEnum = typeof SubscriptionStatusEnum[keyof typeof SubscriptionStatusEnum];
|
|
12850
12994
|
/**
|
|
12851
12995
|
*
|
|
12852
12996
|
* @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'
|
|
@@ -598,7 +603,7 @@ exports.OrderShippedStatusEnum = {
|
|
|
598
603
|
* @enum {string}
|
|
599
604
|
*/
|
|
600
605
|
exports.OrderStatusEnum = {
|
|
601
|
-
|
|
606
|
+
CANCELED: 'canceled',
|
|
602
607
|
CREATED: 'created'
|
|
603
608
|
};
|
|
604
609
|
/**
|
|
@@ -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'
|
|
@@ -587,7 +592,7 @@ export const OrderShippedStatusEnum = {
|
|
|
587
592
|
* @enum {string}
|
|
588
593
|
*/
|
|
589
594
|
export const OrderStatusEnum = {
|
|
590
|
-
|
|
595
|
+
CANCELED: 'canceled',
|
|
591
596
|
CREATED: 'created'
|
|
592
597
|
};
|
|
593
598
|
/**
|
|
@@ -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.33",
|
|
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": "8f8f714b9ca1444d76637c4ebce21b09d58b49a8"
|
|
41
41
|
}
|