@seekora-ai/admin-api 1.1.72 → 1.1.74
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/README.md +17 -2
- package/api.ts +908 -0
- package/dist/api.d.ts +693 -0
- package/dist/api.js +386 -5
- package/dist/esm/api.d.ts +693 -0
- package/dist/esm/api.js +377 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.74.tgz +0 -0
- package/seekora-ai-admin-api-1.1.72.tgz +0 -0
package/dist/api.d.ts
CHANGED
|
@@ -6656,6 +6656,360 @@ export interface BillingServiceCancelledSubscriptionInfo {
|
|
|
6656
6656
|
*/
|
|
6657
6657
|
'subscription_id'?: string;
|
|
6658
6658
|
}
|
|
6659
|
+
/**
|
|
6660
|
+
*
|
|
6661
|
+
* @export
|
|
6662
|
+
* @interface BillingServicePaymentMethodSummary
|
|
6663
|
+
*/
|
|
6664
|
+
export interface BillingServicePaymentMethodSummary {
|
|
6665
|
+
/**
|
|
6666
|
+
*
|
|
6667
|
+
* @type {string}
|
|
6668
|
+
* @memberof BillingServicePaymentMethodSummary
|
|
6669
|
+
*/
|
|
6670
|
+
'brand'?: string;
|
|
6671
|
+
/**
|
|
6672
|
+
*
|
|
6673
|
+
* @type {string}
|
|
6674
|
+
* @memberof BillingServicePaymentMethodSummary
|
|
6675
|
+
*/
|
|
6676
|
+
'id'?: string;
|
|
6677
|
+
/**
|
|
6678
|
+
*
|
|
6679
|
+
* @type {boolean}
|
|
6680
|
+
* @memberof BillingServicePaymentMethodSummary
|
|
6681
|
+
*/
|
|
6682
|
+
'is_default'?: boolean;
|
|
6683
|
+
/**
|
|
6684
|
+
*
|
|
6685
|
+
* @type {string}
|
|
6686
|
+
* @memberof BillingServicePaymentMethodSummary
|
|
6687
|
+
*/
|
|
6688
|
+
'last4'?: string;
|
|
6689
|
+
/**
|
|
6690
|
+
* card, upi, bank_transfer
|
|
6691
|
+
* @type {string}
|
|
6692
|
+
* @memberof BillingServicePaymentMethodSummary
|
|
6693
|
+
*/
|
|
6694
|
+
'type'?: string;
|
|
6695
|
+
}
|
|
6696
|
+
/**
|
|
6697
|
+
*
|
|
6698
|
+
* @export
|
|
6699
|
+
* @interface BillingServicePaymentStatusResponse
|
|
6700
|
+
*/
|
|
6701
|
+
export interface BillingServicePaymentStatusResponse {
|
|
6702
|
+
/**
|
|
6703
|
+
*
|
|
6704
|
+
* @type {number}
|
|
6705
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6706
|
+
*/
|
|
6707
|
+
'amount_due'?: number;
|
|
6708
|
+
/**
|
|
6709
|
+
*
|
|
6710
|
+
* @type {boolean}
|
|
6711
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6712
|
+
*/
|
|
6713
|
+
'can_retry'?: boolean;
|
|
6714
|
+
/**
|
|
6715
|
+
*
|
|
6716
|
+
* @type {string}
|
|
6717
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6718
|
+
*/
|
|
6719
|
+
'currency'?: string;
|
|
6720
|
+
/**
|
|
6721
|
+
*
|
|
6722
|
+
* @type {number}
|
|
6723
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6724
|
+
*/
|
|
6725
|
+
'days_overdue'?: number;
|
|
6726
|
+
/**
|
|
6727
|
+
*
|
|
6728
|
+
* @type {number}
|
|
6729
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6730
|
+
*/
|
|
6731
|
+
'dunning_stage'?: number;
|
|
6732
|
+
/**
|
|
6733
|
+
*
|
|
6734
|
+
* @type {string}
|
|
6735
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6736
|
+
*/
|
|
6737
|
+
'dunning_stage_name'?: string;
|
|
6738
|
+
/**
|
|
6739
|
+
*
|
|
6740
|
+
* @type {string}
|
|
6741
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6742
|
+
*/
|
|
6743
|
+
'grace_period_ends_at'?: string;
|
|
6744
|
+
/**
|
|
6745
|
+
*
|
|
6746
|
+
* @type {string}
|
|
6747
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6748
|
+
*/
|
|
6749
|
+
'last_payment_date'?: string;
|
|
6750
|
+
/**
|
|
6751
|
+
*
|
|
6752
|
+
* @type {string}
|
|
6753
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6754
|
+
*/
|
|
6755
|
+
'last_payment_status'?: string;
|
|
6756
|
+
/**
|
|
6757
|
+
*
|
|
6758
|
+
* @type {string}
|
|
6759
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6760
|
+
*/
|
|
6761
|
+
'next_billing_date'?: string;
|
|
6762
|
+
/**
|
|
6763
|
+
*
|
|
6764
|
+
* @type {Array<BillingServicePaymentMethodSummary>}
|
|
6765
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6766
|
+
*/
|
|
6767
|
+
'payment_methods'?: Array<BillingServicePaymentMethodSummary>;
|
|
6768
|
+
/**
|
|
6769
|
+
*
|
|
6770
|
+
* @type {number}
|
|
6771
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6772
|
+
*/
|
|
6773
|
+
'retry_attempts_left'?: number;
|
|
6774
|
+
/**
|
|
6775
|
+
* \"active\", \"past_due\", \"suspended\", \"cancelled\"
|
|
6776
|
+
* @type {string}
|
|
6777
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6778
|
+
*/
|
|
6779
|
+
'status'?: string;
|
|
6780
|
+
/**
|
|
6781
|
+
*
|
|
6782
|
+
* @type {number}
|
|
6783
|
+
* @memberof BillingServicePaymentStatusResponse
|
|
6784
|
+
*/
|
|
6785
|
+
'subscription_id'?: number;
|
|
6786
|
+
}
|
|
6787
|
+
/**
|
|
6788
|
+
*
|
|
6789
|
+
* @export
|
|
6790
|
+
* @interface BillingServiceRetryPaymentRequest
|
|
6791
|
+
*/
|
|
6792
|
+
export interface BillingServiceRetryPaymentRequest {
|
|
6793
|
+
/**
|
|
6794
|
+
*
|
|
6795
|
+
* @type {number}
|
|
6796
|
+
* @memberof BillingServiceRetryPaymentRequest
|
|
6797
|
+
*/
|
|
6798
|
+
'subscription_id': number;
|
|
6799
|
+
}
|
|
6800
|
+
/**
|
|
6801
|
+
*
|
|
6802
|
+
* @export
|
|
6803
|
+
* @interface BillingServiceRetryPaymentResponse
|
|
6804
|
+
*/
|
|
6805
|
+
export interface BillingServiceRetryPaymentResponse {
|
|
6806
|
+
/**
|
|
6807
|
+
*
|
|
6808
|
+
* @type {string}
|
|
6809
|
+
* @memberof BillingServiceRetryPaymentResponse
|
|
6810
|
+
*/
|
|
6811
|
+
'message'?: string;
|
|
6812
|
+
/**
|
|
6813
|
+
*
|
|
6814
|
+
* @type {string}
|
|
6815
|
+
* @memberof BillingServiceRetryPaymentResponse
|
|
6816
|
+
*/
|
|
6817
|
+
'next_billing_date'?: string;
|
|
6818
|
+
/**
|
|
6819
|
+
*
|
|
6820
|
+
* @type {string}
|
|
6821
|
+
* @memberof BillingServiceRetryPaymentResponse
|
|
6822
|
+
*/
|
|
6823
|
+
'payment_id'?: string;
|
|
6824
|
+
/**
|
|
6825
|
+
* For 3DS authentication
|
|
6826
|
+
* @type {string}
|
|
6827
|
+
* @memberof BillingServiceRetryPaymentResponse
|
|
6828
|
+
*/
|
|
6829
|
+
'redirect_url'?: string;
|
|
6830
|
+
/**
|
|
6831
|
+
* \"processing\", \"success\", \"failed\", \"requires_action\"
|
|
6832
|
+
* @type {string}
|
|
6833
|
+
* @memberof BillingServiceRetryPaymentResponse
|
|
6834
|
+
*/
|
|
6835
|
+
'status'?: string;
|
|
6836
|
+
/**
|
|
6837
|
+
*
|
|
6838
|
+
* @type {boolean}
|
|
6839
|
+
* @memberof BillingServiceRetryPaymentResponse
|
|
6840
|
+
*/
|
|
6841
|
+
'success'?: boolean;
|
|
6842
|
+
}
|
|
6843
|
+
/**
|
|
6844
|
+
*
|
|
6845
|
+
* @export
|
|
6846
|
+
* @interface BillingServiceSubscriptionPlanChangeInfo
|
|
6847
|
+
*/
|
|
6848
|
+
export interface BillingServiceSubscriptionPlanChangeInfo {
|
|
6849
|
+
/**
|
|
6850
|
+
*
|
|
6851
|
+
* @type {number}
|
|
6852
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6853
|
+
*/
|
|
6854
|
+
'amount_remaining_value'?: number;
|
|
6855
|
+
/**
|
|
6856
|
+
*
|
|
6857
|
+
* @type {string}
|
|
6858
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6859
|
+
*/
|
|
6860
|
+
'change_type'?: string;
|
|
6861
|
+
/**
|
|
6862
|
+
*
|
|
6863
|
+
* @type {string}
|
|
6864
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6865
|
+
*/
|
|
6866
|
+
'created_at'?: string;
|
|
6867
|
+
/**
|
|
6868
|
+
*
|
|
6869
|
+
* @type {number}
|
|
6870
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6871
|
+
*/
|
|
6872
|
+
'credits_added_new_plan'?: number;
|
|
6873
|
+
/**
|
|
6874
|
+
*
|
|
6875
|
+
* @type {number}
|
|
6876
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6877
|
+
*/
|
|
6878
|
+
'credits_forfeited'?: number;
|
|
6879
|
+
/**
|
|
6880
|
+
*
|
|
6881
|
+
* @type {number}
|
|
6882
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6883
|
+
*/
|
|
6884
|
+
'credits_remaining_before'?: number;
|
|
6885
|
+
/**
|
|
6886
|
+
*
|
|
6887
|
+
* @type {number}
|
|
6888
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6889
|
+
*/
|
|
6890
|
+
'credits_transferred'?: number;
|
|
6891
|
+
/**
|
|
6892
|
+
*
|
|
6893
|
+
* @type {number}
|
|
6894
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6895
|
+
*/
|
|
6896
|
+
'days_remaining_old_plan'?: number;
|
|
6897
|
+
/**
|
|
6898
|
+
*
|
|
6899
|
+
* @type {number}
|
|
6900
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6901
|
+
*/
|
|
6902
|
+
'from_plan_id'?: number;
|
|
6903
|
+
/**
|
|
6904
|
+
*
|
|
6905
|
+
* @type {string}
|
|
6906
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6907
|
+
*/
|
|
6908
|
+
'from_plan_name'?: string;
|
|
6909
|
+
/**
|
|
6910
|
+
*
|
|
6911
|
+
* @type {number}
|
|
6912
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6913
|
+
*/
|
|
6914
|
+
'id'?: number;
|
|
6915
|
+
/**
|
|
6916
|
+
*
|
|
6917
|
+
* @type {number}
|
|
6918
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6919
|
+
*/
|
|
6920
|
+
'org_id'?: number;
|
|
6921
|
+
/**
|
|
6922
|
+
*
|
|
6923
|
+
* @type {string}
|
|
6924
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6925
|
+
*/
|
|
6926
|
+
'processed_at'?: string;
|
|
6927
|
+
/**
|
|
6928
|
+
*
|
|
6929
|
+
* @type {string}
|
|
6930
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6931
|
+
*/
|
|
6932
|
+
'proration_policy'?: string;
|
|
6933
|
+
/**
|
|
6934
|
+
*
|
|
6935
|
+
* @type {string}
|
|
6936
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6937
|
+
*/
|
|
6938
|
+
'reason'?: string;
|
|
6939
|
+
/**
|
|
6940
|
+
*
|
|
6941
|
+
* @type {string}
|
|
6942
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6943
|
+
*/
|
|
6944
|
+
'status'?: string;
|
|
6945
|
+
/**
|
|
6946
|
+
*
|
|
6947
|
+
* @type {number}
|
|
6948
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6949
|
+
*/
|
|
6950
|
+
'to_plan_id'?: number;
|
|
6951
|
+
/**
|
|
6952
|
+
*
|
|
6953
|
+
* @type {string}
|
|
6954
|
+
* @memberof BillingServiceSubscriptionPlanChangeInfo
|
|
6955
|
+
*/
|
|
6956
|
+
'to_plan_name'?: string;
|
|
6957
|
+
}
|
|
6958
|
+
/**
|
|
6959
|
+
*
|
|
6960
|
+
* @export
|
|
6961
|
+
* @interface BillingServiceTrialEligibilityResponse
|
|
6962
|
+
*/
|
|
6963
|
+
export interface BillingServiceTrialEligibilityResponse {
|
|
6964
|
+
/**
|
|
6965
|
+
*
|
|
6966
|
+
* @type {number}
|
|
6967
|
+
* @memberof BillingServiceTrialEligibilityResponse
|
|
6968
|
+
*/
|
|
6969
|
+
'active_trial_plan_id'?: number;
|
|
6970
|
+
/**
|
|
6971
|
+
*
|
|
6972
|
+
* @type {boolean}
|
|
6973
|
+
* @memberof BillingServiceTrialEligibilityResponse
|
|
6974
|
+
*/
|
|
6975
|
+
'eligible'?: boolean;
|
|
6976
|
+
/**
|
|
6977
|
+
*
|
|
6978
|
+
* @type {boolean}
|
|
6979
|
+
* @memberof BillingServiceTrialEligibilityResponse
|
|
6980
|
+
*/
|
|
6981
|
+
'has_active_trial'?: boolean;
|
|
6982
|
+
/**
|
|
6983
|
+
*
|
|
6984
|
+
* @type {string}
|
|
6985
|
+
* @memberof BillingServiceTrialEligibilityResponse
|
|
6986
|
+
*/
|
|
6987
|
+
'reason'?: string;
|
|
6988
|
+
/**
|
|
6989
|
+
*
|
|
6990
|
+
* @type {number}
|
|
6991
|
+
* @memberof BillingServiceTrialEligibilityResponse
|
|
6992
|
+
*/
|
|
6993
|
+
'trial_plan_id'?: number;
|
|
6994
|
+
/**
|
|
6995
|
+
*
|
|
6996
|
+
* @type {string}
|
|
6997
|
+
* @memberof BillingServiceTrialEligibilityResponse
|
|
6998
|
+
*/
|
|
6999
|
+
'trial_plan_name'?: string;
|
|
7000
|
+
/**
|
|
7001
|
+
*
|
|
7002
|
+
* @type {number}
|
|
7003
|
+
* @memberof BillingServiceTrialEligibilityResponse
|
|
7004
|
+
*/
|
|
7005
|
+
'trial_subscription_id'?: number;
|
|
7006
|
+
/**
|
|
7007
|
+
*
|
|
7008
|
+
* @type {string}
|
|
7009
|
+
* @memberof BillingServiceTrialEligibilityResponse
|
|
7010
|
+
*/
|
|
7011
|
+
'trial_used_at'?: string;
|
|
7012
|
+
}
|
|
6659
7013
|
/**
|
|
6660
7014
|
*
|
|
6661
7015
|
* @export
|
|
@@ -11878,6 +12232,31 @@ export interface DataTypesGenericResponseArrayBillingServiceCancelledSubscriptio
|
|
|
11878
12232
|
*/
|
|
11879
12233
|
'status'?: number;
|
|
11880
12234
|
}
|
|
12235
|
+
/**
|
|
12236
|
+
*
|
|
12237
|
+
* @export
|
|
12238
|
+
* @interface DataTypesGenericResponseArrayBillingServiceSubscriptionPlanChangeInfo
|
|
12239
|
+
*/
|
|
12240
|
+
export interface DataTypesGenericResponseArrayBillingServiceSubscriptionPlanChangeInfo {
|
|
12241
|
+
/**
|
|
12242
|
+
*
|
|
12243
|
+
* @type {Array<BillingServiceSubscriptionPlanChangeInfo>}
|
|
12244
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceSubscriptionPlanChangeInfo
|
|
12245
|
+
*/
|
|
12246
|
+
'data'?: Array<BillingServiceSubscriptionPlanChangeInfo>;
|
|
12247
|
+
/**
|
|
12248
|
+
*
|
|
12249
|
+
* @type {string}
|
|
12250
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceSubscriptionPlanChangeInfo
|
|
12251
|
+
*/
|
|
12252
|
+
'message'?: string;
|
|
12253
|
+
/**
|
|
12254
|
+
*
|
|
12255
|
+
* @type {number}
|
|
12256
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceSubscriptionPlanChangeInfo
|
|
12257
|
+
*/
|
|
12258
|
+
'status'?: number;
|
|
12259
|
+
}
|
|
11881
12260
|
/**
|
|
11882
12261
|
*
|
|
11883
12262
|
* @export
|
|
@@ -11978,6 +12357,31 @@ export interface DataTypesGenericResponseArrayString {
|
|
|
11978
12357
|
*/
|
|
11979
12358
|
'status'?: number;
|
|
11980
12359
|
}
|
|
12360
|
+
/**
|
|
12361
|
+
*
|
|
12362
|
+
* @export
|
|
12363
|
+
* @interface DataTypesGenericResponseBillingServiceTrialEligibilityResponse
|
|
12364
|
+
*/
|
|
12365
|
+
export interface DataTypesGenericResponseBillingServiceTrialEligibilityResponse {
|
|
12366
|
+
/**
|
|
12367
|
+
*
|
|
12368
|
+
* @type {BillingServiceTrialEligibilityResponse}
|
|
12369
|
+
* @memberof DataTypesGenericResponseBillingServiceTrialEligibilityResponse
|
|
12370
|
+
*/
|
|
12371
|
+
'data'?: BillingServiceTrialEligibilityResponse;
|
|
12372
|
+
/**
|
|
12373
|
+
*
|
|
12374
|
+
* @type {string}
|
|
12375
|
+
* @memberof DataTypesGenericResponseBillingServiceTrialEligibilityResponse
|
|
12376
|
+
*/
|
|
12377
|
+
'message'?: string;
|
|
12378
|
+
/**
|
|
12379
|
+
*
|
|
12380
|
+
* @type {number}
|
|
12381
|
+
* @memberof DataTypesGenericResponseBillingServiceTrialEligibilityResponse
|
|
12382
|
+
*/
|
|
12383
|
+
'status'?: number;
|
|
12384
|
+
}
|
|
11981
12385
|
/**
|
|
11982
12386
|
*
|
|
11983
12387
|
* @export
|
|
@@ -12603,6 +13007,31 @@ export interface DataTypesGenericResponseMenuRoutesAddMenuResponse {
|
|
|
12603
13007
|
*/
|
|
12604
13008
|
'status'?: number;
|
|
12605
13009
|
}
|
|
13010
|
+
/**
|
|
13011
|
+
*
|
|
13012
|
+
* @export
|
|
13013
|
+
* @interface DataTypesGenericResponsePaymentGatewayCreditProrationResult
|
|
13014
|
+
*/
|
|
13015
|
+
export interface DataTypesGenericResponsePaymentGatewayCreditProrationResult {
|
|
13016
|
+
/**
|
|
13017
|
+
*
|
|
13018
|
+
* @type {PaymentGatewayCreditProrationResult}
|
|
13019
|
+
* @memberof DataTypesGenericResponsePaymentGatewayCreditProrationResult
|
|
13020
|
+
*/
|
|
13021
|
+
'data'?: PaymentGatewayCreditProrationResult;
|
|
13022
|
+
/**
|
|
13023
|
+
*
|
|
13024
|
+
* @type {string}
|
|
13025
|
+
* @memberof DataTypesGenericResponsePaymentGatewayCreditProrationResult
|
|
13026
|
+
*/
|
|
13027
|
+
'message'?: string;
|
|
13028
|
+
/**
|
|
13029
|
+
*
|
|
13030
|
+
* @type {number}
|
|
13031
|
+
* @memberof DataTypesGenericResponsePaymentGatewayCreditProrationResult
|
|
13032
|
+
*/
|
|
13033
|
+
'status'?: number;
|
|
13034
|
+
}
|
|
12606
13035
|
/**
|
|
12607
13036
|
*
|
|
12608
13037
|
* @export
|
|
@@ -26271,6 +26700,79 @@ export interface MgDocumentTypesCreateArticleRequestDto {
|
|
|
26271
26700
|
*/
|
|
26272
26701
|
'title'?: string;
|
|
26273
26702
|
}
|
|
26703
|
+
/**
|
|
26704
|
+
*
|
|
26705
|
+
* @export
|
|
26706
|
+
* @interface PaymentGatewayCreditProrationResult
|
|
26707
|
+
*/
|
|
26708
|
+
export interface PaymentGatewayCreditProrationResult {
|
|
26709
|
+
/**
|
|
26710
|
+
*
|
|
26711
|
+
* @type {string}
|
|
26712
|
+
* @memberof PaymentGatewayCreditProrationResult
|
|
26713
|
+
*/
|
|
26714
|
+
'change_type'?: string;
|
|
26715
|
+
/**
|
|
26716
|
+
*
|
|
26717
|
+
* @type {number}
|
|
26718
|
+
* @memberof PaymentGatewayCreditProrationResult
|
|
26719
|
+
*/
|
|
26720
|
+
'credits_remaining'?: number;
|
|
26721
|
+
/**
|
|
26722
|
+
*
|
|
26723
|
+
* @type {number}
|
|
26724
|
+
* @memberof PaymentGatewayCreditProrationResult
|
|
26725
|
+
*/
|
|
26726
|
+
'credits_to_forfeit'?: number;
|
|
26727
|
+
/**
|
|
26728
|
+
*
|
|
26729
|
+
* @type {number}
|
|
26730
|
+
* @memberof PaymentGatewayCreditProrationResult
|
|
26731
|
+
*/
|
|
26732
|
+
'credits_to_transfer'?: number;
|
|
26733
|
+
/**
|
|
26734
|
+
*
|
|
26735
|
+
* @type {number}
|
|
26736
|
+
* @memberof PaymentGatewayCreditProrationResult
|
|
26737
|
+
*/
|
|
26738
|
+
'days_remaining'?: number;
|
|
26739
|
+
/**
|
|
26740
|
+
*
|
|
26741
|
+
* @type {number}
|
|
26742
|
+
* @memberof PaymentGatewayCreditProrationResult
|
|
26743
|
+
*/
|
|
26744
|
+
'from_plan_id'?: number;
|
|
26745
|
+
/**
|
|
26746
|
+
*
|
|
26747
|
+
* @type {number}
|
|
26748
|
+
* @memberof PaymentGatewayCreditProrationResult
|
|
26749
|
+
*/
|
|
26750
|
+
'monetary_value'?: number;
|
|
26751
|
+
/**
|
|
26752
|
+
*
|
|
26753
|
+
* @type {number}
|
|
26754
|
+
* @memberof PaymentGatewayCreditProrationResult
|
|
26755
|
+
*/
|
|
26756
|
+
'new_plan_credits'?: number;
|
|
26757
|
+
/**
|
|
26758
|
+
*
|
|
26759
|
+
* @type {number}
|
|
26760
|
+
* @memberof PaymentGatewayCreditProrationResult
|
|
26761
|
+
*/
|
|
26762
|
+
'plan_change_record_id'?: number;
|
|
26763
|
+
/**
|
|
26764
|
+
*
|
|
26765
|
+
* @type {number}
|
|
26766
|
+
* @memberof PaymentGatewayCreditProrationResult
|
|
26767
|
+
*/
|
|
26768
|
+
'proration_ratio'?: number;
|
|
26769
|
+
/**
|
|
26770
|
+
*
|
|
26771
|
+
* @type {number}
|
|
26772
|
+
* @memberof PaymentGatewayCreditProrationResult
|
|
26773
|
+
*/
|
|
26774
|
+
'to_plan_id'?: number;
|
|
26775
|
+
}
|
|
26274
26776
|
/**
|
|
26275
26777
|
*
|
|
26276
26778
|
* @export
|
|
@@ -34615,6 +35117,30 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
34615
35117
|
* @throws {RequiredError}
|
|
34616
35118
|
*/
|
|
34617
35119
|
apiAdminBillingCancelledSubscriptionsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35120
|
+
/**
|
|
35121
|
+
* Calculates and previews how credits would be handled when changing from current plan to a new plan
|
|
35122
|
+
* @summary Preview credit proration for plan change
|
|
35123
|
+
* @param {number} toPlanId Target plan ID
|
|
35124
|
+
* @param {*} [options] Override http request option.
|
|
35125
|
+
* @throws {RequiredError}
|
|
35126
|
+
*/
|
|
35127
|
+
apiAdminBillingCreditProrationPreviewGet: (toPlanId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35128
|
+
/**
|
|
35129
|
+
* Retrieves a list of all subscription plan changes (upgrades/downgrades) with credit proration details
|
|
35130
|
+
* @summary Get subscription plan change history
|
|
35131
|
+
* @param {number} [limit] Number of results per page (default 20)
|
|
35132
|
+
* @param {number} [offset] Offset for pagination (default 0)
|
|
35133
|
+
* @param {*} [options] Override http request option.
|
|
35134
|
+
* @throws {RequiredError}
|
|
35135
|
+
*/
|
|
35136
|
+
apiAdminBillingSubscriptionChangesGet: (limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35137
|
+
/**
|
|
35138
|
+
* Checks if the organization is eligible for a trial subscription (one trial per organization rule)
|
|
35139
|
+
* @summary Check trial eligibility
|
|
35140
|
+
* @param {*} [options] Override http request option.
|
|
35141
|
+
* @throws {RequiredError}
|
|
35142
|
+
*/
|
|
35143
|
+
apiAdminBillingTrialEligibilityGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34618
35144
|
};
|
|
34619
35145
|
/**
|
|
34620
35146
|
* BillingDashboardApi - functional programming interface
|
|
@@ -34969,6 +35495,30 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
34969
35495
|
* @throws {RequiredError}
|
|
34970
35496
|
*/
|
|
34971
35497
|
apiAdminBillingCancelledSubscriptionsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayBillingServiceCancelledSubscriptionInfo>>;
|
|
35498
|
+
/**
|
|
35499
|
+
* Calculates and previews how credits would be handled when changing from current plan to a new plan
|
|
35500
|
+
* @summary Preview credit proration for plan change
|
|
35501
|
+
* @param {number} toPlanId Target plan ID
|
|
35502
|
+
* @param {*} [options] Override http request option.
|
|
35503
|
+
* @throws {RequiredError}
|
|
35504
|
+
*/
|
|
35505
|
+
apiAdminBillingCreditProrationPreviewGet(toPlanId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponsePaymentGatewayCreditProrationResult>>;
|
|
35506
|
+
/**
|
|
35507
|
+
* Retrieves a list of all subscription plan changes (upgrades/downgrades) with credit proration details
|
|
35508
|
+
* @summary Get subscription plan change history
|
|
35509
|
+
* @param {number} [limit] Number of results per page (default 20)
|
|
35510
|
+
* @param {number} [offset] Offset for pagination (default 0)
|
|
35511
|
+
* @param {*} [options] Override http request option.
|
|
35512
|
+
* @throws {RequiredError}
|
|
35513
|
+
*/
|
|
35514
|
+
apiAdminBillingSubscriptionChangesGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayBillingServiceSubscriptionPlanChangeInfo>>;
|
|
35515
|
+
/**
|
|
35516
|
+
* Checks if the organization is eligible for a trial subscription (one trial per organization rule)
|
|
35517
|
+
* @summary Check trial eligibility
|
|
35518
|
+
* @param {*} [options] Override http request option.
|
|
35519
|
+
* @throws {RequiredError}
|
|
35520
|
+
*/
|
|
35521
|
+
apiAdminBillingTrialEligibilityGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseBillingServiceTrialEligibilityResponse>>;
|
|
34972
35522
|
};
|
|
34973
35523
|
/**
|
|
34974
35524
|
* BillingDashboardApi - factory interface
|
|
@@ -35323,6 +35873,30 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
35323
35873
|
* @throws {RequiredError}
|
|
35324
35874
|
*/
|
|
35325
35875
|
apiAdminBillingCancelledSubscriptionsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayBillingServiceCancelledSubscriptionInfo>;
|
|
35876
|
+
/**
|
|
35877
|
+
* Calculates and previews how credits would be handled when changing from current plan to a new plan
|
|
35878
|
+
* @summary Preview credit proration for plan change
|
|
35879
|
+
* @param {number} toPlanId Target plan ID
|
|
35880
|
+
* @param {*} [options] Override http request option.
|
|
35881
|
+
* @throws {RequiredError}
|
|
35882
|
+
*/
|
|
35883
|
+
apiAdminBillingCreditProrationPreviewGet(toPlanId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponsePaymentGatewayCreditProrationResult>;
|
|
35884
|
+
/**
|
|
35885
|
+
* Retrieves a list of all subscription plan changes (upgrades/downgrades) with credit proration details
|
|
35886
|
+
* @summary Get subscription plan change history
|
|
35887
|
+
* @param {number} [limit] Number of results per page (default 20)
|
|
35888
|
+
* @param {number} [offset] Offset for pagination (default 0)
|
|
35889
|
+
* @param {*} [options] Override http request option.
|
|
35890
|
+
* @throws {RequiredError}
|
|
35891
|
+
*/
|
|
35892
|
+
apiAdminBillingSubscriptionChangesGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayBillingServiceSubscriptionPlanChangeInfo>;
|
|
35893
|
+
/**
|
|
35894
|
+
* Checks if the organization is eligible for a trial subscription (one trial per organization rule)
|
|
35895
|
+
* @summary Check trial eligibility
|
|
35896
|
+
* @param {*} [options] Override http request option.
|
|
35897
|
+
* @throws {RequiredError}
|
|
35898
|
+
*/
|
|
35899
|
+
apiAdminBillingTrialEligibilityGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseBillingServiceTrialEligibilityResponse>;
|
|
35326
35900
|
};
|
|
35327
35901
|
/**
|
|
35328
35902
|
* BillingDashboardApi - object-oriented interface
|
|
@@ -35713,6 +36287,33 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
35713
36287
|
* @memberof BillingDashboardApi
|
|
35714
36288
|
*/
|
|
35715
36289
|
apiAdminBillingCancelledSubscriptionsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseArrayBillingServiceCancelledSubscriptionInfo, any, {}>>;
|
|
36290
|
+
/**
|
|
36291
|
+
* Calculates and previews how credits would be handled when changing from current plan to a new plan
|
|
36292
|
+
* @summary Preview credit proration for plan change
|
|
36293
|
+
* @param {number} toPlanId Target plan ID
|
|
36294
|
+
* @param {*} [options] Override http request option.
|
|
36295
|
+
* @throws {RequiredError}
|
|
36296
|
+
* @memberof BillingDashboardApi
|
|
36297
|
+
*/
|
|
36298
|
+
apiAdminBillingCreditProrationPreviewGet(toPlanId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponsePaymentGatewayCreditProrationResult, any, {}>>;
|
|
36299
|
+
/**
|
|
36300
|
+
* Retrieves a list of all subscription plan changes (upgrades/downgrades) with credit proration details
|
|
36301
|
+
* @summary Get subscription plan change history
|
|
36302
|
+
* @param {number} [limit] Number of results per page (default 20)
|
|
36303
|
+
* @param {number} [offset] Offset for pagination (default 0)
|
|
36304
|
+
* @param {*} [options] Override http request option.
|
|
36305
|
+
* @throws {RequiredError}
|
|
36306
|
+
* @memberof BillingDashboardApi
|
|
36307
|
+
*/
|
|
36308
|
+
apiAdminBillingSubscriptionChangesGet(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseArrayBillingServiceSubscriptionPlanChangeInfo, any, {}>>;
|
|
36309
|
+
/**
|
|
36310
|
+
* Checks if the organization is eligible for a trial subscription (one trial per organization rule)
|
|
36311
|
+
* @summary Check trial eligibility
|
|
36312
|
+
* @param {*} [options] Override http request option.
|
|
36313
|
+
* @throws {RequiredError}
|
|
36314
|
+
* @memberof BillingDashboardApi
|
|
36315
|
+
*/
|
|
36316
|
+
apiAdminBillingTrialEligibilityGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseBillingServiceTrialEligibilityResponse, any, {}>>;
|
|
35716
36317
|
}
|
|
35717
36318
|
/**
|
|
35718
36319
|
* @export
|
|
@@ -36124,6 +36725,98 @@ export declare const AdminBillingGraphsUsageBreakdownGetGranularityEnum: {
|
|
|
36124
36725
|
readonly Month: "month";
|
|
36125
36726
|
};
|
|
36126
36727
|
export type AdminBillingGraphsUsageBreakdownGetGranularityEnum = typeof AdminBillingGraphsUsageBreakdownGetGranularityEnum[keyof typeof AdminBillingGraphsUsageBreakdownGetGranularityEnum];
|
|
36728
|
+
/**
|
|
36729
|
+
* BillingUserPaymentsApi - axios parameter creator
|
|
36730
|
+
* @export
|
|
36731
|
+
*/
|
|
36732
|
+
export declare const BillingUserPaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
36733
|
+
/**
|
|
36734
|
+
* Allows user to retry a failed payment for their subscription
|
|
36735
|
+
* @summary Retry a failed subscription payment
|
|
36736
|
+
* @param {BillingServiceRetryPaymentRequest} billingServiceRetryPaymentRequest Retry payment request
|
|
36737
|
+
* @param {*} [options] Override http request option.
|
|
36738
|
+
* @throws {RequiredError}
|
|
36739
|
+
*/
|
|
36740
|
+
apiBillingPaymentsRetryPost: (billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36741
|
+
/**
|
|
36742
|
+
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
36743
|
+
* @summary Get payment status for a subscription
|
|
36744
|
+
* @param {number} id Subscription ID
|
|
36745
|
+
* @param {*} [options] Override http request option.
|
|
36746
|
+
* @throws {RequiredError}
|
|
36747
|
+
*/
|
|
36748
|
+
apiBillingSubscriptionsIdPaymentStatusGet: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36749
|
+
};
|
|
36750
|
+
/**
|
|
36751
|
+
* BillingUserPaymentsApi - functional programming interface
|
|
36752
|
+
* @export
|
|
36753
|
+
*/
|
|
36754
|
+
export declare const BillingUserPaymentsApiFp: (configuration?: Configuration) => {
|
|
36755
|
+
/**
|
|
36756
|
+
* Allows user to retry a failed payment for their subscription
|
|
36757
|
+
* @summary Retry a failed subscription payment
|
|
36758
|
+
* @param {BillingServiceRetryPaymentRequest} billingServiceRetryPaymentRequest Retry payment request
|
|
36759
|
+
* @param {*} [options] Override http request option.
|
|
36760
|
+
* @throws {RequiredError}
|
|
36761
|
+
*/
|
|
36762
|
+
apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingServiceRetryPaymentResponse>>;
|
|
36763
|
+
/**
|
|
36764
|
+
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
36765
|
+
* @summary Get payment status for a subscription
|
|
36766
|
+
* @param {number} id Subscription ID
|
|
36767
|
+
* @param {*} [options] Override http request option.
|
|
36768
|
+
* @throws {RequiredError}
|
|
36769
|
+
*/
|
|
36770
|
+
apiBillingSubscriptionsIdPaymentStatusGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingServicePaymentStatusResponse>>;
|
|
36771
|
+
};
|
|
36772
|
+
/**
|
|
36773
|
+
* BillingUserPaymentsApi - factory interface
|
|
36774
|
+
* @export
|
|
36775
|
+
*/
|
|
36776
|
+
export declare const BillingUserPaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
36777
|
+
/**
|
|
36778
|
+
* Allows user to retry a failed payment for their subscription
|
|
36779
|
+
* @summary Retry a failed subscription payment
|
|
36780
|
+
* @param {BillingServiceRetryPaymentRequest} billingServiceRetryPaymentRequest Retry payment request
|
|
36781
|
+
* @param {*} [options] Override http request option.
|
|
36782
|
+
* @throws {RequiredError}
|
|
36783
|
+
*/
|
|
36784
|
+
apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingServiceRetryPaymentResponse>;
|
|
36785
|
+
/**
|
|
36786
|
+
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
36787
|
+
* @summary Get payment status for a subscription
|
|
36788
|
+
* @param {number} id Subscription ID
|
|
36789
|
+
* @param {*} [options] Override http request option.
|
|
36790
|
+
* @throws {RequiredError}
|
|
36791
|
+
*/
|
|
36792
|
+
apiBillingSubscriptionsIdPaymentStatusGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<BillingServicePaymentStatusResponse>;
|
|
36793
|
+
};
|
|
36794
|
+
/**
|
|
36795
|
+
* BillingUserPaymentsApi - object-oriented interface
|
|
36796
|
+
* @export
|
|
36797
|
+
* @class BillingUserPaymentsApi
|
|
36798
|
+
* @extends {BaseAPI}
|
|
36799
|
+
*/
|
|
36800
|
+
export declare class BillingUserPaymentsApi extends BaseAPI {
|
|
36801
|
+
/**
|
|
36802
|
+
* Allows user to retry a failed payment for their subscription
|
|
36803
|
+
* @summary Retry a failed subscription payment
|
|
36804
|
+
* @param {BillingServiceRetryPaymentRequest} billingServiceRetryPaymentRequest Retry payment request
|
|
36805
|
+
* @param {*} [options] Override http request option.
|
|
36806
|
+
* @throws {RequiredError}
|
|
36807
|
+
* @memberof BillingUserPaymentsApi
|
|
36808
|
+
*/
|
|
36809
|
+
apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingServiceRetryPaymentResponse, any, {}>>;
|
|
36810
|
+
/**
|
|
36811
|
+
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
36812
|
+
* @summary Get payment status for a subscription
|
|
36813
|
+
* @param {number} id Subscription ID
|
|
36814
|
+
* @param {*} [options] Override http request option.
|
|
36815
|
+
* @throws {RequiredError}
|
|
36816
|
+
* @memberof BillingUserPaymentsApi
|
|
36817
|
+
*/
|
|
36818
|
+
apiBillingSubscriptionsIdPaymentStatusGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingServicePaymentStatusResponse, any, {}>>;
|
|
36819
|
+
}
|
|
36127
36820
|
/**
|
|
36128
36821
|
* CommonApi - axios parameter creator
|
|
36129
36822
|
* @export
|