@outseta/react 0.4.2 → 0.4.3
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/index.js +152 -0
- package/package.json +2 -2
- package/src/generated/outsetaAPI.schemas.ts +2354 -0
|
@@ -30698,6 +30698,2360 @@ export interface AccountSubscriptionCancellationRequestedWebhookPayload {
|
|
|
30698
30698
|
ActivityEventData?: AccountSubscriptionCancellationRequestedActivityData;
|
|
30699
30699
|
}
|
|
30700
30700
|
|
|
30701
|
+
/**
|
|
30702
|
+
* @nullable
|
|
30703
|
+
*/
|
|
30704
|
+
export type AccountBillingInvoiceDeletedActivityDataInvoice = unknown | null;
|
|
30705
|
+
|
|
30706
|
+
export interface AccountBillingInvoiceDeletedActivityData {
|
|
30707
|
+
/** @nullable */
|
|
30708
|
+
Invoice?: AccountBillingInvoiceDeletedActivityDataInvoice;
|
|
30709
|
+
/** @nullable */
|
|
30710
|
+
AccountUid?: string | null;
|
|
30711
|
+
/** @nullable */
|
|
30712
|
+
CurrentPrincipal?: string | null;
|
|
30713
|
+
}
|
|
30714
|
+
|
|
30715
|
+
/**
|
|
30716
|
+
* @nullable
|
|
30717
|
+
*/
|
|
30718
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadBillingAddress = {
|
|
30719
|
+
/**
|
|
30720
|
+
* @maxLength 10
|
|
30721
|
+
* @nullable
|
|
30722
|
+
*/
|
|
30723
|
+
Uid?: string | null;
|
|
30724
|
+
/** @nullable */
|
|
30725
|
+
_objectType?: string | null;
|
|
30726
|
+
/** @minLength 1 */
|
|
30727
|
+
Created?: string;
|
|
30728
|
+
/** @minLength 1 */
|
|
30729
|
+
Updated?: string;
|
|
30730
|
+
/**
|
|
30731
|
+
* @maxLength 250
|
|
30732
|
+
* @nullable
|
|
30733
|
+
*/
|
|
30734
|
+
AddressLine1?: string | null;
|
|
30735
|
+
/**
|
|
30736
|
+
* @maxLength 250
|
|
30737
|
+
* @nullable
|
|
30738
|
+
*/
|
|
30739
|
+
AddressLine2?: string | null;
|
|
30740
|
+
/**
|
|
30741
|
+
* @maxLength 250
|
|
30742
|
+
* @nullable
|
|
30743
|
+
*/
|
|
30744
|
+
AddressLine3?: string | null;
|
|
30745
|
+
/**
|
|
30746
|
+
* @maxLength 250
|
|
30747
|
+
* @nullable
|
|
30748
|
+
*/
|
|
30749
|
+
City?: string | null;
|
|
30750
|
+
/**
|
|
30751
|
+
* @maxLength 250
|
|
30752
|
+
* @nullable
|
|
30753
|
+
*/
|
|
30754
|
+
State?: string | null;
|
|
30755
|
+
/**
|
|
30756
|
+
* @maxLength 250
|
|
30757
|
+
* @nullable
|
|
30758
|
+
*/
|
|
30759
|
+
PostalCode?: string | null;
|
|
30760
|
+
/**
|
|
30761
|
+
* @maxLength 250
|
|
30762
|
+
* @nullable
|
|
30763
|
+
*/
|
|
30764
|
+
Country?: string | null;
|
|
30765
|
+
/**
|
|
30766
|
+
* @maxLength 250
|
|
30767
|
+
* @nullable
|
|
30768
|
+
*/
|
|
30769
|
+
GeoLocation?: string | null;
|
|
30770
|
+
} | null;
|
|
30771
|
+
|
|
30772
|
+
/**
|
|
30773
|
+
* @nullable
|
|
30774
|
+
*/
|
|
30775
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadMailingAddress = {
|
|
30776
|
+
/**
|
|
30777
|
+
* @maxLength 10
|
|
30778
|
+
* @nullable
|
|
30779
|
+
*/
|
|
30780
|
+
Uid?: string | null;
|
|
30781
|
+
/** @nullable */
|
|
30782
|
+
_objectType?: string | null;
|
|
30783
|
+
/** @minLength 1 */
|
|
30784
|
+
Created?: string;
|
|
30785
|
+
/** @minLength 1 */
|
|
30786
|
+
Updated?: string;
|
|
30787
|
+
/**
|
|
30788
|
+
* @maxLength 250
|
|
30789
|
+
* @nullable
|
|
30790
|
+
*/
|
|
30791
|
+
AddressLine1?: string | null;
|
|
30792
|
+
/**
|
|
30793
|
+
* @maxLength 250
|
|
30794
|
+
* @nullable
|
|
30795
|
+
*/
|
|
30796
|
+
AddressLine2?: string | null;
|
|
30797
|
+
/**
|
|
30798
|
+
* @maxLength 250
|
|
30799
|
+
* @nullable
|
|
30800
|
+
*/
|
|
30801
|
+
AddressLine3?: string | null;
|
|
30802
|
+
/**
|
|
30803
|
+
* @maxLength 250
|
|
30804
|
+
* @nullable
|
|
30805
|
+
*/
|
|
30806
|
+
City?: string | null;
|
|
30807
|
+
/**
|
|
30808
|
+
* @maxLength 250
|
|
30809
|
+
* @nullable
|
|
30810
|
+
*/
|
|
30811
|
+
State?: string | null;
|
|
30812
|
+
/**
|
|
30813
|
+
* @maxLength 250
|
|
30814
|
+
* @nullable
|
|
30815
|
+
*/
|
|
30816
|
+
PostalCode?: string | null;
|
|
30817
|
+
/**
|
|
30818
|
+
* @maxLength 250
|
|
30819
|
+
* @nullable
|
|
30820
|
+
*/
|
|
30821
|
+
Country?: string | null;
|
|
30822
|
+
/**
|
|
30823
|
+
* @maxLength 250
|
|
30824
|
+
* @nullable
|
|
30825
|
+
*/
|
|
30826
|
+
GeoLocation?: string | null;
|
|
30827
|
+
} | null;
|
|
30828
|
+
|
|
30829
|
+
/**
|
|
30830
|
+
* `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created
|
|
30831
|
+
*/
|
|
30832
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadAccountStage = typeof AccountBillingInvoiceDeletedWebhookPayloadAccountStage[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadAccountStage];
|
|
30833
|
+
|
|
30834
|
+
|
|
30835
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
30836
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadAccountStage = {
|
|
30837
|
+
Trialing: 2,
|
|
30838
|
+
Subscribing: 3,
|
|
30839
|
+
Cancelling: 4,
|
|
30840
|
+
Expired: 5,
|
|
30841
|
+
TrialExpired: 6,
|
|
30842
|
+
PastDue: 7,
|
|
30843
|
+
CancellingTrial: 8,
|
|
30844
|
+
Paused: 9,
|
|
30845
|
+
Created: 10,
|
|
30846
|
+
} as const;
|
|
30847
|
+
|
|
30848
|
+
/**
|
|
30849
|
+
* @nullable
|
|
30850
|
+
*/
|
|
30851
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPaymentInformation = {
|
|
30852
|
+
/**
|
|
30853
|
+
* @maxLength 10
|
|
30854
|
+
* @nullable
|
|
30855
|
+
*/
|
|
30856
|
+
Uid?: string | null;
|
|
30857
|
+
/** @nullable */
|
|
30858
|
+
_objectType?: string | null;
|
|
30859
|
+
/** @minLength 1 */
|
|
30860
|
+
Created?: string;
|
|
30861
|
+
/** @minLength 1 */
|
|
30862
|
+
Updated?: string;
|
|
30863
|
+
/**
|
|
30864
|
+
* @maxLength 250
|
|
30865
|
+
* @nullable
|
|
30866
|
+
*/
|
|
30867
|
+
CustomerToken?: string | null;
|
|
30868
|
+
/** @nullable */
|
|
30869
|
+
LastFourDigits?: string | null;
|
|
30870
|
+
/** @nullable */
|
|
30871
|
+
LatestFailureDateTime?: string | null;
|
|
30872
|
+
/** @nullable */
|
|
30873
|
+
LatestFailureDescription?: string | null;
|
|
30874
|
+
/** @nullable */
|
|
30875
|
+
LatestSuccessDateTime?: string | null;
|
|
30876
|
+
NumberOfFailures?: number;
|
|
30877
|
+
/** @nullable */
|
|
30878
|
+
PaymentClientSecret?: string | null;
|
|
30879
|
+
/**
|
|
30880
|
+
* @maxLength 50
|
|
30881
|
+
* @nullable
|
|
30882
|
+
*/
|
|
30883
|
+
PaymentMethodType?: string | null;
|
|
30884
|
+
/**
|
|
30885
|
+
* @maxLength 250
|
|
30886
|
+
* @nullable
|
|
30887
|
+
*/
|
|
30888
|
+
PaymentToken?: string | null;
|
|
30889
|
+
/**
|
|
30890
|
+
* @maxLength 100
|
|
30891
|
+
* @nullable
|
|
30892
|
+
*/
|
|
30893
|
+
BankName?: string | null;
|
|
30894
|
+
/**
|
|
30895
|
+
* @maxLength 50
|
|
30896
|
+
* @nullable
|
|
30897
|
+
*/
|
|
30898
|
+
BankAccountType?: string | null;
|
|
30899
|
+
/**
|
|
30900
|
+
* @maxLength 50
|
|
30901
|
+
* @nullable
|
|
30902
|
+
*/
|
|
30903
|
+
BankAccountHolderType?: string | null;
|
|
30904
|
+
/** @nullable */
|
|
30905
|
+
NameOnCard?: string | null;
|
|
30906
|
+
/** @nullable */
|
|
30907
|
+
CardType?: string | null;
|
|
30908
|
+
/** @nullable */
|
|
30909
|
+
ExpirationMonth?: string | null;
|
|
30910
|
+
/** @nullable */
|
|
30911
|
+
ExpirationYear?: string | null;
|
|
30912
|
+
/** @nullable */
|
|
30913
|
+
Mode?: string | null;
|
|
30914
|
+
/** @nullable */
|
|
30915
|
+
OneTimeToken?: string | null;
|
|
30916
|
+
/** @nullable */
|
|
30917
|
+
RecaptchaToken?: string | null;
|
|
30918
|
+
/** @nullable */
|
|
30919
|
+
SetupIntent?: string | null;
|
|
30920
|
+
} | null;
|
|
30921
|
+
|
|
30922
|
+
/**
|
|
30923
|
+
* `0` - None, `1` - Gmail
|
|
30924
|
+
*/
|
|
30925
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus = typeof AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus];
|
|
30926
|
+
|
|
30927
|
+
|
|
30928
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
30929
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus = {
|
|
30930
|
+
None: 0,
|
|
30931
|
+
Gmail: 1,
|
|
30932
|
+
} as const;
|
|
30933
|
+
|
|
30934
|
+
/**
|
|
30935
|
+
* @nullable
|
|
30936
|
+
*/
|
|
30937
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPerson = {
|
|
30938
|
+
/**
|
|
30939
|
+
* @maxLength 10
|
|
30940
|
+
* @nullable
|
|
30941
|
+
*/
|
|
30942
|
+
Uid?: string | null;
|
|
30943
|
+
/** @nullable */
|
|
30944
|
+
_objectType?: string | null;
|
|
30945
|
+
/** @minLength 1 */
|
|
30946
|
+
Created?: string;
|
|
30947
|
+
/** @minLength 1 */
|
|
30948
|
+
Updated?: string;
|
|
30949
|
+
/**
|
|
30950
|
+
* @maxLength 250
|
|
30951
|
+
* @nullable
|
|
30952
|
+
*/
|
|
30953
|
+
Email?: string | null;
|
|
30954
|
+
/**
|
|
30955
|
+
* @maxLength 250
|
|
30956
|
+
* @nullable
|
|
30957
|
+
*/
|
|
30958
|
+
FirstName?: string | null;
|
|
30959
|
+
/**
|
|
30960
|
+
* @maxLength 250
|
|
30961
|
+
* @nullable
|
|
30962
|
+
*/
|
|
30963
|
+
LastName?: string | null;
|
|
30964
|
+
/** @nullable */
|
|
30965
|
+
PasswordLastUpdated?: string | null;
|
|
30966
|
+
PasswordMustChange?: boolean;
|
|
30967
|
+
/**
|
|
30968
|
+
* @maxLength 250
|
|
30969
|
+
* @nullable
|
|
30970
|
+
*/
|
|
30971
|
+
PhoneMobile?: string | null;
|
|
30972
|
+
/**
|
|
30973
|
+
* @maxLength 250
|
|
30974
|
+
* @nullable
|
|
30975
|
+
*/
|
|
30976
|
+
PhoneWork?: string | null;
|
|
30977
|
+
/**
|
|
30978
|
+
* @maxLength 250
|
|
30979
|
+
* @nullable
|
|
30980
|
+
*/
|
|
30981
|
+
ProfileImageS3Url?: string | null;
|
|
30982
|
+
/**
|
|
30983
|
+
* @maxLength 250
|
|
30984
|
+
* @nullable
|
|
30985
|
+
*/
|
|
30986
|
+
Title?: string | null;
|
|
30987
|
+
/**
|
|
30988
|
+
* @maxLength 100
|
|
30989
|
+
* @nullable
|
|
30990
|
+
*/
|
|
30991
|
+
Timezone?: string | null;
|
|
30992
|
+
/**
|
|
30993
|
+
* @maxLength 50
|
|
30994
|
+
* @nullable
|
|
30995
|
+
*/
|
|
30996
|
+
Language?: string | null;
|
|
30997
|
+
/**
|
|
30998
|
+
* @maxLength 250
|
|
30999
|
+
* @nullable
|
|
31000
|
+
*/
|
|
31001
|
+
IPAddress?: string | null;
|
|
31002
|
+
/**
|
|
31003
|
+
* @maxLength 250
|
|
31004
|
+
* @nullable
|
|
31005
|
+
*/
|
|
31006
|
+
Referer?: string | null;
|
|
31007
|
+
/**
|
|
31008
|
+
* @maxLength 1000
|
|
31009
|
+
* @nullable
|
|
31010
|
+
*/
|
|
31011
|
+
UserAgent?: string | null;
|
|
31012
|
+
/** @nullable */
|
|
31013
|
+
LastLoginDateTime?: string | null;
|
|
31014
|
+
/**
|
|
31015
|
+
* @maxLength 50
|
|
31016
|
+
* @nullable
|
|
31017
|
+
*/
|
|
31018
|
+
OAuthGoogleProfileId?: string | null;
|
|
31019
|
+
/** @nullable */
|
|
31020
|
+
AccountUids?: string | null;
|
|
31021
|
+
/** @nullable */
|
|
31022
|
+
FullName?: string | null;
|
|
31023
|
+
HasLoggedIn?: boolean;
|
|
31024
|
+
/** `0` - None, `1` - Gmail */
|
|
31025
|
+
OAuthIntegrationStatus?: AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus;
|
|
31026
|
+
OptInToEmailList?: boolean;
|
|
31027
|
+
/** @nullable */
|
|
31028
|
+
Password?: string | null;
|
|
31029
|
+
/** @nullable */
|
|
31030
|
+
UserAgentPlatformBrowser?: string | null;
|
|
31031
|
+
HasUnsubscribed?: boolean;
|
|
31032
|
+
IsConnectedToDiscord?: boolean;
|
|
31033
|
+
} | null;
|
|
31034
|
+
|
|
31035
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItem = {
|
|
31036
|
+
/**
|
|
31037
|
+
* @maxLength 10
|
|
31038
|
+
* @nullable
|
|
31039
|
+
*/
|
|
31040
|
+
Uid?: string | null;
|
|
31041
|
+
/** @nullable */
|
|
31042
|
+
_objectType?: string | null;
|
|
31043
|
+
/** @minLength 1 */
|
|
31044
|
+
Created: string;
|
|
31045
|
+
/** @minLength 1 */
|
|
31046
|
+
Updated: string;
|
|
31047
|
+
/** @nullable */
|
|
31048
|
+
Person?: AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPerson;
|
|
31049
|
+
IsPrimary?: boolean;
|
|
31050
|
+
ReceiveInvoices?: boolean;
|
|
31051
|
+
};
|
|
31052
|
+
|
|
31053
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadStripeInvoicesItem = {
|
|
31054
|
+
/**
|
|
31055
|
+
* @maxLength 10
|
|
31056
|
+
* @nullable
|
|
31057
|
+
*/
|
|
31058
|
+
Uid?: string | null;
|
|
31059
|
+
/** @nullable */
|
|
31060
|
+
_objectType?: string | null;
|
|
31061
|
+
/** @minLength 1 */
|
|
31062
|
+
Created: string;
|
|
31063
|
+
/** @minLength 1 */
|
|
31064
|
+
Updated: string;
|
|
31065
|
+
/**
|
|
31066
|
+
* @maxLength 255
|
|
31067
|
+
* @nullable
|
|
31068
|
+
*/
|
|
31069
|
+
StripeId?: string | null;
|
|
31070
|
+
IsLivemode?: boolean;
|
|
31071
|
+
AmountDue?: number;
|
|
31072
|
+
AmountPaid?: number;
|
|
31073
|
+
AmountShipping?: number;
|
|
31074
|
+
AttemptCount?: number;
|
|
31075
|
+
Attempted?: boolean;
|
|
31076
|
+
/**
|
|
31077
|
+
* @maxLength 3
|
|
31078
|
+
* @nullable
|
|
31079
|
+
*/
|
|
31080
|
+
Currency?: string | null;
|
|
31081
|
+
/** @nullable */
|
|
31082
|
+
Description?: string | null;
|
|
31083
|
+
/** @nullable */
|
|
31084
|
+
FinalizedAt?: string | null;
|
|
31085
|
+
/**
|
|
31086
|
+
* @maxLength 500
|
|
31087
|
+
* @nullable
|
|
31088
|
+
*/
|
|
31089
|
+
HostedInvoiceUrl?: string | null;
|
|
31090
|
+
/**
|
|
31091
|
+
* @maxLength 500
|
|
31092
|
+
* @nullable
|
|
31093
|
+
*/
|
|
31094
|
+
InvoicePdf?: string | null;
|
|
31095
|
+
/** @nullable */
|
|
31096
|
+
NextPaymentAttempt?: string | null;
|
|
31097
|
+
/**
|
|
31098
|
+
* @maxLength 50
|
|
31099
|
+
* @nullable
|
|
31100
|
+
*/
|
|
31101
|
+
Number?: string | null;
|
|
31102
|
+
PeriodEnd?: string;
|
|
31103
|
+
PeriodStart?: string;
|
|
31104
|
+
/**
|
|
31105
|
+
* @maxLength 30
|
|
31106
|
+
* @nullable
|
|
31107
|
+
*/
|
|
31108
|
+
Status?: string | null;
|
|
31109
|
+
SubTotal?: number;
|
|
31110
|
+
/** @nullable */
|
|
31111
|
+
SubTotalExcludingTax?: number | null;
|
|
31112
|
+
/**
|
|
31113
|
+
* @maxLength 255
|
|
31114
|
+
* @nullable
|
|
31115
|
+
*/
|
|
31116
|
+
SubscriptionId?: string | null;
|
|
31117
|
+
/** @nullable */
|
|
31118
|
+
Tax?: number | null;
|
|
31119
|
+
Total?: number;
|
|
31120
|
+
/** @nullable */
|
|
31121
|
+
TotalExcludingTax?: number | null;
|
|
31122
|
+
IsRefunded?: boolean;
|
|
31123
|
+
CurrencyAmountCreditedPostPayment?: number;
|
|
31124
|
+
CurrencyAmountCreditedPrePayment?: number;
|
|
31125
|
+
CurrencyAmountDue?: number;
|
|
31126
|
+
CurrencyAmountPaid?: number;
|
|
31127
|
+
/** @nullable */
|
|
31128
|
+
CurrencySymbol?: string | null;
|
|
31129
|
+
CurrencyTotal?: number;
|
|
31130
|
+
CurrencyTotalExcludingTax?: number;
|
|
31131
|
+
CurrencySubTotal?: number;
|
|
31132
|
+
CurrencySubTotalExcludingTax?: number;
|
|
31133
|
+
CurrencyTax?: number;
|
|
31134
|
+
/** @nullable */
|
|
31135
|
+
DaysUntilDue?: number | null;
|
|
31136
|
+
/** @nullable */
|
|
31137
|
+
CustomerId?: string | null;
|
|
31138
|
+
/** @nullable */
|
|
31139
|
+
PaymentStatus?: string | null;
|
|
31140
|
+
/** @nullable */
|
|
31141
|
+
StripePaymentMethodId?: string | null;
|
|
31142
|
+
};
|
|
31143
|
+
|
|
31144
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadStripePaymentMethodsItem = {
|
|
31145
|
+
/**
|
|
31146
|
+
* @maxLength 10
|
|
31147
|
+
* @nullable
|
|
31148
|
+
*/
|
|
31149
|
+
Uid?: string | null;
|
|
31150
|
+
/** @nullable */
|
|
31151
|
+
_objectType?: string | null;
|
|
31152
|
+
/** @minLength 1 */
|
|
31153
|
+
Created: string;
|
|
31154
|
+
/** @minLength 1 */
|
|
31155
|
+
Updated: string;
|
|
31156
|
+
/**
|
|
31157
|
+
* @maxLength 255
|
|
31158
|
+
* @nullable
|
|
31159
|
+
*/
|
|
31160
|
+
StripeId?: string | null;
|
|
31161
|
+
IsLivemode?: boolean;
|
|
31162
|
+
/** @nullable */
|
|
31163
|
+
Card_Brand?: string | null;
|
|
31164
|
+
/** @nullable */
|
|
31165
|
+
Card_ExpMonth?: number | null;
|
|
31166
|
+
/** @nullable */
|
|
31167
|
+
Card_ExpYear?: number | null;
|
|
31168
|
+
/** @nullable */
|
|
31169
|
+
Card_Wallet_Type?: string | null;
|
|
31170
|
+
/** @nullable */
|
|
31171
|
+
BankName?: string | null;
|
|
31172
|
+
/** @nullable */
|
|
31173
|
+
Last4?: string | null;
|
|
31174
|
+
/** @nullable */
|
|
31175
|
+
Type?: string | null;
|
|
31176
|
+
/** @nullable */
|
|
31177
|
+
Label?: string | null;
|
|
31178
|
+
};
|
|
31179
|
+
|
|
31180
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadStripeSubscriptionsItem = {
|
|
31181
|
+
/**
|
|
31182
|
+
* @maxLength 10
|
|
31183
|
+
* @nullable
|
|
31184
|
+
*/
|
|
31185
|
+
Uid?: string | null;
|
|
31186
|
+
/** @nullable */
|
|
31187
|
+
_objectType?: string | null;
|
|
31188
|
+
/** @minLength 1 */
|
|
31189
|
+
Created: string;
|
|
31190
|
+
/** @minLength 1 */
|
|
31191
|
+
Updated: string;
|
|
31192
|
+
/**
|
|
31193
|
+
* @maxLength 255
|
|
31194
|
+
* @nullable
|
|
31195
|
+
*/
|
|
31196
|
+
StripeId?: string | null;
|
|
31197
|
+
IsLivemode?: boolean;
|
|
31198
|
+
/** @nullable */
|
|
31199
|
+
CancelAt?: string | null;
|
|
31200
|
+
CancelAtPeriodEnd?: boolean;
|
|
31201
|
+
/**
|
|
31202
|
+
* @maxLength 3
|
|
31203
|
+
* @nullable
|
|
31204
|
+
*/
|
|
31205
|
+
Currency?: string | null;
|
|
31206
|
+
/** @nullable */
|
|
31207
|
+
EndedAt?: string | null;
|
|
31208
|
+
/**
|
|
31209
|
+
* @maxLength 30
|
|
31210
|
+
* @nullable
|
|
31211
|
+
*/
|
|
31212
|
+
PauseCollection_Behavior?: string | null;
|
|
31213
|
+
/** @nullable */
|
|
31214
|
+
PauseCollection_ResumesAt?: string | null;
|
|
31215
|
+
StartDate?: string;
|
|
31216
|
+
/**
|
|
31217
|
+
* @maxLength 30
|
|
31218
|
+
* @nullable
|
|
31219
|
+
*/
|
|
31220
|
+
Status?: string | null;
|
|
31221
|
+
/** @nullable */
|
|
31222
|
+
TrialEnd?: string | null;
|
|
31223
|
+
/** @nullable */
|
|
31224
|
+
AccountUid?: string | null;
|
|
31225
|
+
/** @nullable */
|
|
31226
|
+
BillingCycleAnchor?: string | null;
|
|
31227
|
+
/** @nullable */
|
|
31228
|
+
CollectionMethod?: string | null;
|
|
31229
|
+
/** @nullable */
|
|
31230
|
+
CustomerId?: string | null;
|
|
31231
|
+
/** @nullable */
|
|
31232
|
+
DaysUntilDue?: number | null;
|
|
31233
|
+
/** @nullable */
|
|
31234
|
+
ScheduleId?: string | null;
|
|
31235
|
+
/** @nullable */
|
|
31236
|
+
StripeDiscountIds?: string[] | null;
|
|
31237
|
+
/** @nullable */
|
|
31238
|
+
StripePriceIds?: string | null;
|
|
31239
|
+
TrialPeriodDays?: number;
|
|
31240
|
+
};
|
|
31241
|
+
|
|
31242
|
+
/**
|
|
31243
|
+
* `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
|
|
31244
|
+
*/
|
|
31245
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemBillingRenewalTerm = typeof AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemBillingRenewalTerm[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemBillingRenewalTerm];
|
|
31246
|
+
|
|
31247
|
+
|
|
31248
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
31249
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemBillingRenewalTerm = {
|
|
31250
|
+
Monthly: 1,
|
|
31251
|
+
Yearly: 2,
|
|
31252
|
+
Quarterly: 3,
|
|
31253
|
+
OneTime: 4,
|
|
31254
|
+
} as const;
|
|
31255
|
+
|
|
31256
|
+
/**
|
|
31257
|
+
* @nullable
|
|
31258
|
+
*/
|
|
31259
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanPlanFamily = {
|
|
31260
|
+
/**
|
|
31261
|
+
* @maxLength 10
|
|
31262
|
+
* @nullable
|
|
31263
|
+
*/
|
|
31264
|
+
Uid?: string | null;
|
|
31265
|
+
/** @nullable */
|
|
31266
|
+
_objectType?: string | null;
|
|
31267
|
+
/** @minLength 1 */
|
|
31268
|
+
Created?: string;
|
|
31269
|
+
/** @minLength 1 */
|
|
31270
|
+
Updated?: string;
|
|
31271
|
+
/**
|
|
31272
|
+
* @maxLength 250
|
|
31273
|
+
* @nullable
|
|
31274
|
+
*/
|
|
31275
|
+
Name?: string | null;
|
|
31276
|
+
IsActive?: boolean;
|
|
31277
|
+
IsDefault?: boolean;
|
|
31278
|
+
} | null;
|
|
31279
|
+
|
|
31280
|
+
/**
|
|
31281
|
+
* `1` - Individual, `2` - Team
|
|
31282
|
+
*/
|
|
31283
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode = typeof AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode];
|
|
31284
|
+
|
|
31285
|
+
|
|
31286
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
31287
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode = {
|
|
31288
|
+
Individual: 1,
|
|
31289
|
+
Team: 2,
|
|
31290
|
+
} as const;
|
|
31291
|
+
|
|
31292
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanPlanAddOnsItem = {
|
|
31293
|
+
/**
|
|
31294
|
+
* @maxLength 10
|
|
31295
|
+
* @nullable
|
|
31296
|
+
*/
|
|
31297
|
+
Uid?: string | null;
|
|
31298
|
+
/** @nullable */
|
|
31299
|
+
_objectType?: string | null;
|
|
31300
|
+
/** @minLength 1 */
|
|
31301
|
+
Created: string;
|
|
31302
|
+
/** @minLength 1 */
|
|
31303
|
+
Updated: string;
|
|
31304
|
+
IsUserSelectable: boolean;
|
|
31305
|
+
};
|
|
31306
|
+
|
|
31307
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanContentGroupsItem = {
|
|
31308
|
+
/**
|
|
31309
|
+
* @maxLength 10
|
|
31310
|
+
* @nullable
|
|
31311
|
+
*/
|
|
31312
|
+
Uid?: string | null;
|
|
31313
|
+
/** @nullable */
|
|
31314
|
+
_objectType?: string | null;
|
|
31315
|
+
/** @minLength 1 */
|
|
31316
|
+
Created: string;
|
|
31317
|
+
/** @minLength 1 */
|
|
31318
|
+
Updated: string;
|
|
31319
|
+
/**
|
|
31320
|
+
* @minLength 1
|
|
31321
|
+
* @maxLength 50
|
|
31322
|
+
*/
|
|
31323
|
+
Name: string;
|
|
31324
|
+
/**
|
|
31325
|
+
* @maxLength 1024
|
|
31326
|
+
* @nullable
|
|
31327
|
+
*/
|
|
31328
|
+
AccessDeniedPath?: string | null;
|
|
31329
|
+
};
|
|
31330
|
+
|
|
31331
|
+
/**
|
|
31332
|
+
* @nullable
|
|
31333
|
+
*/
|
|
31334
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlan = {
|
|
31335
|
+
/**
|
|
31336
|
+
* @maxLength 10
|
|
31337
|
+
* @nullable
|
|
31338
|
+
*/
|
|
31339
|
+
Uid?: string | null;
|
|
31340
|
+
/** @nullable */
|
|
31341
|
+
_objectType?: string | null;
|
|
31342
|
+
/** @minLength 1 */
|
|
31343
|
+
Created?: string;
|
|
31344
|
+
/** @minLength 1 */
|
|
31345
|
+
Updated?: string;
|
|
31346
|
+
/**
|
|
31347
|
+
* @maxLength 250
|
|
31348
|
+
* @nullable
|
|
31349
|
+
*/
|
|
31350
|
+
Name?: string | null;
|
|
31351
|
+
/** @nullable */
|
|
31352
|
+
Description?: string | null;
|
|
31353
|
+
/** @nullable */
|
|
31354
|
+
PlanFamily?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanPlanFamily;
|
|
31355
|
+
/** `1` - Individual, `2` - Team */
|
|
31356
|
+
AccountRegistrationMode?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode;
|
|
31357
|
+
IsQuantityEditable?: boolean;
|
|
31358
|
+
MinimumQuantity?: number;
|
|
31359
|
+
/** @nullable */
|
|
31360
|
+
MaximumPeople?: number | null;
|
|
31361
|
+
MonthlyRate?: number;
|
|
31362
|
+
AnnualRate?: number;
|
|
31363
|
+
QuarterlyRate?: number;
|
|
31364
|
+
OneTimeRate?: number;
|
|
31365
|
+
SetupFee?: number;
|
|
31366
|
+
SkipSetupFeeOnPlanChange?: boolean;
|
|
31367
|
+
IsTaxable?: boolean;
|
|
31368
|
+
IsActive?: boolean;
|
|
31369
|
+
IsPerUser?: boolean;
|
|
31370
|
+
RequirePaymentInformation?: boolean;
|
|
31371
|
+
TrialPeriodDays?: number;
|
|
31372
|
+
/** @nullable */
|
|
31373
|
+
TrialUntilDate?: string | null;
|
|
31374
|
+
ExpiresAfterMonths?: number;
|
|
31375
|
+
/** @nullable */
|
|
31376
|
+
ExpirationDate?: string | null;
|
|
31377
|
+
/**
|
|
31378
|
+
* @maxLength 250
|
|
31379
|
+
* @nullable
|
|
31380
|
+
*/
|
|
31381
|
+
PostLoginPath?: string | null;
|
|
31382
|
+
/**
|
|
31383
|
+
* @maxLength 15
|
|
31384
|
+
* @nullable
|
|
31385
|
+
*/
|
|
31386
|
+
StripeTaxCodeId?: string | null;
|
|
31387
|
+
/**
|
|
31388
|
+
* @maxLength 250
|
|
31389
|
+
* @nullable
|
|
31390
|
+
*/
|
|
31391
|
+
UnitOfMeasure?: string | null;
|
|
31392
|
+
/** @nullable */
|
|
31393
|
+
PlanAddOns?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanPlanAddOnsItem[] | null;
|
|
31394
|
+
/** @nullable */
|
|
31395
|
+
ContentGroups?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanContentGroupsItem[] | null;
|
|
31396
|
+
/** @nullable */
|
|
31397
|
+
NumberOfSubscriptions?: number | null;
|
|
31398
|
+
} | null;
|
|
31399
|
+
|
|
31400
|
+
/**
|
|
31401
|
+
* `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
|
|
31402
|
+
*/
|
|
31403
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm = typeof AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm];
|
|
31404
|
+
|
|
31405
|
+
|
|
31406
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
31407
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm = {
|
|
31408
|
+
Monthly: 1,
|
|
31409
|
+
Yearly: 2,
|
|
31410
|
+
Quarterly: 3,
|
|
31411
|
+
OneTime: 4,
|
|
31412
|
+
} as const;
|
|
31413
|
+
|
|
31414
|
+
/**
|
|
31415
|
+
* `1` - Recurring, `2` - Usage, `3` - OneTime
|
|
31416
|
+
*/
|
|
31417
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType = typeof AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType];
|
|
31418
|
+
|
|
31419
|
+
|
|
31420
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
31421
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType = {
|
|
31422
|
+
Recurring: 1,
|
|
31423
|
+
Usage: 2,
|
|
31424
|
+
OneTime: 3,
|
|
31425
|
+
} as const;
|
|
31426
|
+
|
|
31427
|
+
/**
|
|
31428
|
+
* @nullable
|
|
31429
|
+
*/
|
|
31430
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOn = {
|
|
31431
|
+
/**
|
|
31432
|
+
* @maxLength 10
|
|
31433
|
+
* @nullable
|
|
31434
|
+
*/
|
|
31435
|
+
Uid?: string | null;
|
|
31436
|
+
/** @nullable */
|
|
31437
|
+
_objectType?: string | null;
|
|
31438
|
+
/** @minLength 1 */
|
|
31439
|
+
Created?: string;
|
|
31440
|
+
/** @minLength 1 */
|
|
31441
|
+
Updated?: string;
|
|
31442
|
+
/**
|
|
31443
|
+
* @maxLength 250
|
|
31444
|
+
* @nullable
|
|
31445
|
+
*/
|
|
31446
|
+
Name?: string | null;
|
|
31447
|
+
/** `1` - Recurring, `2` - Usage, `3` - OneTime */
|
|
31448
|
+
BillingAddOnType?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType;
|
|
31449
|
+
IsQuantityEditable?: boolean;
|
|
31450
|
+
MinimumQuantity?: number;
|
|
31451
|
+
MonthlyRate?: number;
|
|
31452
|
+
AnnualRate?: number;
|
|
31453
|
+
SetupFee?: number;
|
|
31454
|
+
/**
|
|
31455
|
+
* @maxLength 250
|
|
31456
|
+
* @nullable
|
|
31457
|
+
*/
|
|
31458
|
+
UnitOfMeasure?: string | null;
|
|
31459
|
+
IsTaxable?: boolean;
|
|
31460
|
+
IsBilledDuringTrial?: boolean;
|
|
31461
|
+
ExpiresAfterMonths?: number;
|
|
31462
|
+
/** @nullable */
|
|
31463
|
+
ExpirationDate?: string | null;
|
|
31464
|
+
/**
|
|
31465
|
+
* @maxLength 15
|
|
31466
|
+
* @nullable
|
|
31467
|
+
*/
|
|
31468
|
+
StripeTaxCodeId?: string | null;
|
|
31469
|
+
IsPerUser?: boolean;
|
|
31470
|
+
QuarterlyRate?: number;
|
|
31471
|
+
OneTimeRate?: number;
|
|
31472
|
+
SubscriptionCount?: number;
|
|
31473
|
+
Quantity?: number;
|
|
31474
|
+
} | null;
|
|
31475
|
+
|
|
31476
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItem = {
|
|
31477
|
+
/**
|
|
31478
|
+
* @maxLength 10
|
|
31479
|
+
* @nullable
|
|
31480
|
+
*/
|
|
31481
|
+
Uid?: string | null;
|
|
31482
|
+
/** @nullable */
|
|
31483
|
+
_objectType?: string | null;
|
|
31484
|
+
/** @minLength 1 */
|
|
31485
|
+
Created: string;
|
|
31486
|
+
/** @minLength 1 */
|
|
31487
|
+
Updated: string;
|
|
31488
|
+
/** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
|
|
31489
|
+
BillingRenewalTerm?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm;
|
|
31490
|
+
/** @nullable */
|
|
31491
|
+
AddOn?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOn;
|
|
31492
|
+
/** @nullable */
|
|
31493
|
+
Quantity?: number | null;
|
|
31494
|
+
StartDate?: string;
|
|
31495
|
+
/** @nullable */
|
|
31496
|
+
EndDate?: string | null;
|
|
31497
|
+
/** @nullable */
|
|
31498
|
+
ExpirationDate?: string | null;
|
|
31499
|
+
/** @nullable */
|
|
31500
|
+
RenewalDate?: string | null;
|
|
31501
|
+
/** @nullable */
|
|
31502
|
+
NewRequiredQuantity?: number | null;
|
|
31503
|
+
/** @nullable */
|
|
31504
|
+
Rate?: number | null;
|
|
31505
|
+
};
|
|
31506
|
+
|
|
31507
|
+
/**
|
|
31508
|
+
* `1` - Forever, `2` - Once, `3` - Repeating
|
|
31509
|
+
*/
|
|
31510
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration = typeof AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration];
|
|
31511
|
+
|
|
31512
|
+
|
|
31513
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
31514
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration = {
|
|
31515
|
+
Forever: 1,
|
|
31516
|
+
Once: 2,
|
|
31517
|
+
Repeating: 3,
|
|
31518
|
+
} as const;
|
|
31519
|
+
|
|
31520
|
+
/**
|
|
31521
|
+
* @nullable
|
|
31522
|
+
*/
|
|
31523
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCoupon = {
|
|
31524
|
+
/**
|
|
31525
|
+
* @maxLength 10
|
|
31526
|
+
* @nullable
|
|
31527
|
+
*/
|
|
31528
|
+
Uid?: string | null;
|
|
31529
|
+
/** @nullable */
|
|
31530
|
+
_objectType?: string | null;
|
|
31531
|
+
/** @minLength 1 */
|
|
31532
|
+
Created?: string;
|
|
31533
|
+
/** @minLength 1 */
|
|
31534
|
+
Updated?: string;
|
|
31535
|
+
/** @nullable */
|
|
31536
|
+
UniqueIdentifier?: string | null;
|
|
31537
|
+
/** @nullable */
|
|
31538
|
+
Name?: string | null;
|
|
31539
|
+
IsActive?: boolean;
|
|
31540
|
+
/** @nullable */
|
|
31541
|
+
AmountOff?: number | null;
|
|
31542
|
+
/** @nullable */
|
|
31543
|
+
PercentOff?: number | null;
|
|
31544
|
+
/** @nullable */
|
|
31545
|
+
RedeemBy?: string | null;
|
|
31546
|
+
/** `1` - Forever, `2` - Once, `3` - Repeating */
|
|
31547
|
+
Duration?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration;
|
|
31548
|
+
/** @nullable */
|
|
31549
|
+
DurationInMonths?: number | null;
|
|
31550
|
+
TimesRedeemed?: number;
|
|
31551
|
+
/** @nullable */
|
|
31552
|
+
MaxRedemptions?: number | null;
|
|
31553
|
+
ApplyToAddOns?: boolean;
|
|
31554
|
+
/** @nullable */
|
|
31555
|
+
PlanUids?: string | null;
|
|
31556
|
+
} | null;
|
|
31557
|
+
|
|
31558
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItem = {
|
|
31559
|
+
/**
|
|
31560
|
+
* @maxLength 10
|
|
31561
|
+
* @nullable
|
|
31562
|
+
*/
|
|
31563
|
+
Uid?: string | null;
|
|
31564
|
+
/** @nullable */
|
|
31565
|
+
_objectType?: string | null;
|
|
31566
|
+
/** @minLength 1 */
|
|
31567
|
+
Created: string;
|
|
31568
|
+
/** @minLength 1 */
|
|
31569
|
+
Updated: string;
|
|
31570
|
+
/** @nullable */
|
|
31571
|
+
RedeemedDate?: string | null;
|
|
31572
|
+
/** @nullable */
|
|
31573
|
+
ExpireDate?: string | null;
|
|
31574
|
+
/** @nullable */
|
|
31575
|
+
DiscountCoupon?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCoupon;
|
|
31576
|
+
};
|
|
31577
|
+
|
|
31578
|
+
/**
|
|
31579
|
+
* `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing
|
|
31580
|
+
*/
|
|
31581
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus = typeof AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus];
|
|
31582
|
+
|
|
31583
|
+
|
|
31584
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
31585
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus = {
|
|
31586
|
+
Unpaid: 1,
|
|
31587
|
+
Paid: 2,
|
|
31588
|
+
Partial: 3,
|
|
31589
|
+
Uncollected: 4,
|
|
31590
|
+
Refunded: 5,
|
|
31591
|
+
Uncollectible: 6,
|
|
31592
|
+
Processing: 7,
|
|
31593
|
+
} as const;
|
|
31594
|
+
|
|
31595
|
+
/**
|
|
31596
|
+
* @nullable
|
|
31597
|
+
*/
|
|
31598
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoice = {
|
|
31599
|
+
/**
|
|
31600
|
+
* @maxLength 10
|
|
31601
|
+
* @nullable
|
|
31602
|
+
*/
|
|
31603
|
+
Uid?: string | null;
|
|
31604
|
+
/** @nullable */
|
|
31605
|
+
_objectType?: string | null;
|
|
31606
|
+
/** @minLength 1 */
|
|
31607
|
+
Created?: string;
|
|
31608
|
+
/** @minLength 1 */
|
|
31609
|
+
Updated?: string;
|
|
31610
|
+
InvoiceDate?: string;
|
|
31611
|
+
/** @nullable */
|
|
31612
|
+
PaymentReminderSentDate?: string | null;
|
|
31613
|
+
Number?: number;
|
|
31614
|
+
/** `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing */
|
|
31615
|
+
BillingInvoiceStatus?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus;
|
|
31616
|
+
Amount?: number;
|
|
31617
|
+
AmountOutstanding?: number;
|
|
31618
|
+
IsUserGenerated?: boolean;
|
|
31619
|
+
/**
|
|
31620
|
+
* @maxLength 50
|
|
31621
|
+
* @nullable
|
|
31622
|
+
*/
|
|
31623
|
+
StripeTaxCalculationId?: string | null;
|
|
31624
|
+
/**
|
|
31625
|
+
* @maxLength 10
|
|
31626
|
+
* @nullable
|
|
31627
|
+
*/
|
|
31628
|
+
StripeTaxBehavior?: string | null;
|
|
31629
|
+
AmountCredit?: number;
|
|
31630
|
+
AmountDiscount?: number;
|
|
31631
|
+
AmountPaid?: number;
|
|
31632
|
+
AmountRefunded?: number;
|
|
31633
|
+
AmountSubtotal?: number;
|
|
31634
|
+
AmountTax?: number;
|
|
31635
|
+
AmountTaxRefunded?: number;
|
|
31636
|
+
IsTaxable?: boolean;
|
|
31637
|
+
HasPaymentGatewayTransactions?: boolean;
|
|
31638
|
+
/** @nullable */
|
|
31639
|
+
StripePaymentTransactionIds?: string | null;
|
|
31640
|
+
/** @nullable */
|
|
31641
|
+
StripeRefundTransactionIds?: string | null;
|
|
31642
|
+
/** @nullable */
|
|
31643
|
+
StripeTaxRefundTransactionIds?: string | null;
|
|
31644
|
+
} | null;
|
|
31645
|
+
|
|
31646
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItem = {
|
|
31647
|
+
/**
|
|
31648
|
+
* @maxLength 10
|
|
31649
|
+
* @nullable
|
|
31650
|
+
*/
|
|
31651
|
+
Uid?: string | null;
|
|
31652
|
+
/** @nullable */
|
|
31653
|
+
_objectType?: string | null;
|
|
31654
|
+
/** @minLength 1 */
|
|
31655
|
+
Created: string;
|
|
31656
|
+
/** @minLength 1 */
|
|
31657
|
+
Updated: string;
|
|
31658
|
+
/** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
|
|
31659
|
+
BillingRenewalTerm?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemBillingRenewalTerm;
|
|
31660
|
+
/** @nullable */
|
|
31661
|
+
Plan?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlan;
|
|
31662
|
+
/** @nullable */
|
|
31663
|
+
Quantity?: number | null;
|
|
31664
|
+
StartDate?: string;
|
|
31665
|
+
/** @nullable */
|
|
31666
|
+
EndDate?: string | null;
|
|
31667
|
+
/** @nullable */
|
|
31668
|
+
ExpirationDate?: string | null;
|
|
31669
|
+
/** @nullable */
|
|
31670
|
+
RenewalDate?: string | null;
|
|
31671
|
+
/** @nullable */
|
|
31672
|
+
NewRequiredQuantity?: number | null;
|
|
31673
|
+
IsPlanUpgradeRequired?: boolean;
|
|
31674
|
+
/** @nullable */
|
|
31675
|
+
PlanUpgradeRequiredMessage?: string | null;
|
|
31676
|
+
/** @nullable */
|
|
31677
|
+
SubscriptionAddOns?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItem[] | null;
|
|
31678
|
+
/** @nullable */
|
|
31679
|
+
DiscountCouponSubscriptions?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItem[] | null;
|
|
31680
|
+
/** @nullable */
|
|
31681
|
+
DiscountCode?: string | null;
|
|
31682
|
+
/** @nullable */
|
|
31683
|
+
DiscountCouponExpirationDate?: string | null;
|
|
31684
|
+
/** @nullable */
|
|
31685
|
+
LatestInvoice?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoice;
|
|
31686
|
+
/** @nullable */
|
|
31687
|
+
Rate?: number | null;
|
|
31688
|
+
};
|
|
31689
|
+
|
|
31690
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadDealsItem = {
|
|
31691
|
+
/**
|
|
31692
|
+
* @maxLength 10
|
|
31693
|
+
* @nullable
|
|
31694
|
+
*/
|
|
31695
|
+
Uid?: string | null;
|
|
31696
|
+
/** @nullable */
|
|
31697
|
+
_objectType?: string | null;
|
|
31698
|
+
/** @minLength 1 */
|
|
31699
|
+
Created: string;
|
|
31700
|
+
/** @minLength 1 */
|
|
31701
|
+
Updated: string;
|
|
31702
|
+
/**
|
|
31703
|
+
* @minLength 1
|
|
31704
|
+
* @maxLength 250
|
|
31705
|
+
*/
|
|
31706
|
+
Name: string;
|
|
31707
|
+
/** @nullable */
|
|
31708
|
+
Amount?: number | null;
|
|
31709
|
+
/** @nullable */
|
|
31710
|
+
DueDate?: string | null;
|
|
31711
|
+
/**
|
|
31712
|
+
* @maxLength 50
|
|
31713
|
+
* @nullable
|
|
31714
|
+
*/
|
|
31715
|
+
AssignedToPersonClientIdentifier?: string | null;
|
|
31716
|
+
Weight?: number;
|
|
31717
|
+
/** @nullable */
|
|
31718
|
+
Contacts?: string | null;
|
|
31719
|
+
AccountId?: number;
|
|
31720
|
+
/** @nullable */
|
|
31721
|
+
PipelineUid?: string | null;
|
|
31722
|
+
};
|
|
31723
|
+
|
|
31724
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadTaxIdsItem = {
|
|
31725
|
+
/**
|
|
31726
|
+
* @maxLength 10
|
|
31727
|
+
* @nullable
|
|
31728
|
+
*/
|
|
31729
|
+
Uid?: string | null;
|
|
31730
|
+
/** @nullable */
|
|
31731
|
+
_objectType?: string | null;
|
|
31732
|
+
/** @minLength 1 */
|
|
31733
|
+
Created: string;
|
|
31734
|
+
/** @minLength 1 */
|
|
31735
|
+
Updated: string;
|
|
31736
|
+
/**
|
|
31737
|
+
* @maxLength 255
|
|
31738
|
+
* @nullable
|
|
31739
|
+
*/
|
|
31740
|
+
StripeId?: string | null;
|
|
31741
|
+
IsLivemode?: boolean;
|
|
31742
|
+
/**
|
|
31743
|
+
* @maxLength 50
|
|
31744
|
+
* @nullable
|
|
31745
|
+
*/
|
|
31746
|
+
TaxId?: string | null;
|
|
31747
|
+
/**
|
|
31748
|
+
* @maxLength 20
|
|
31749
|
+
* @nullable
|
|
31750
|
+
*/
|
|
31751
|
+
TaxIdType?: string | null;
|
|
31752
|
+
IsInvalid?: boolean;
|
|
31753
|
+
};
|
|
31754
|
+
|
|
31755
|
+
/**
|
|
31756
|
+
* `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
|
|
31757
|
+
*/
|
|
31758
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm = typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm];
|
|
31759
|
+
|
|
31760
|
+
|
|
31761
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
31762
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm = {
|
|
31763
|
+
Monthly: 1,
|
|
31764
|
+
Yearly: 2,
|
|
31765
|
+
Quarterly: 3,
|
|
31766
|
+
OneTime: 4,
|
|
31767
|
+
} as const;
|
|
31768
|
+
|
|
31769
|
+
/**
|
|
31770
|
+
* @nullable
|
|
31771
|
+
*/
|
|
31772
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanFamily = {
|
|
31773
|
+
/**
|
|
31774
|
+
* @maxLength 10
|
|
31775
|
+
* @nullable
|
|
31776
|
+
*/
|
|
31777
|
+
Uid?: string | null;
|
|
31778
|
+
/** @nullable */
|
|
31779
|
+
_objectType?: string | null;
|
|
31780
|
+
/** @minLength 1 */
|
|
31781
|
+
Created?: string;
|
|
31782
|
+
/** @minLength 1 */
|
|
31783
|
+
Updated?: string;
|
|
31784
|
+
/**
|
|
31785
|
+
* @maxLength 250
|
|
31786
|
+
* @nullable
|
|
31787
|
+
*/
|
|
31788
|
+
Name?: string | null;
|
|
31789
|
+
IsActive?: boolean;
|
|
31790
|
+
IsDefault?: boolean;
|
|
31791
|
+
} | null;
|
|
31792
|
+
|
|
31793
|
+
/**
|
|
31794
|
+
* `1` - Individual, `2` - Team
|
|
31795
|
+
*/
|
|
31796
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode = typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode];
|
|
31797
|
+
|
|
31798
|
+
|
|
31799
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
31800
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode = {
|
|
31801
|
+
Individual: 1,
|
|
31802
|
+
Team: 2,
|
|
31803
|
+
} as const;
|
|
31804
|
+
|
|
31805
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanAddOnsItem = {
|
|
31806
|
+
/**
|
|
31807
|
+
* @maxLength 10
|
|
31808
|
+
* @nullable
|
|
31809
|
+
*/
|
|
31810
|
+
Uid?: string | null;
|
|
31811
|
+
/** @nullable */
|
|
31812
|
+
_objectType?: string | null;
|
|
31813
|
+
/** @minLength 1 */
|
|
31814
|
+
Created: string;
|
|
31815
|
+
/** @minLength 1 */
|
|
31816
|
+
Updated: string;
|
|
31817
|
+
IsUserSelectable: boolean;
|
|
31818
|
+
};
|
|
31819
|
+
|
|
31820
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanContentGroupsItem = {
|
|
31821
|
+
/**
|
|
31822
|
+
* @maxLength 10
|
|
31823
|
+
* @nullable
|
|
31824
|
+
*/
|
|
31825
|
+
Uid?: string | null;
|
|
31826
|
+
/** @nullable */
|
|
31827
|
+
_objectType?: string | null;
|
|
31828
|
+
/** @minLength 1 */
|
|
31829
|
+
Created: string;
|
|
31830
|
+
/** @minLength 1 */
|
|
31831
|
+
Updated: string;
|
|
31832
|
+
/**
|
|
31833
|
+
* @minLength 1
|
|
31834
|
+
* @maxLength 50
|
|
31835
|
+
*/
|
|
31836
|
+
Name: string;
|
|
31837
|
+
/**
|
|
31838
|
+
* @maxLength 1024
|
|
31839
|
+
* @nullable
|
|
31840
|
+
*/
|
|
31841
|
+
AccessDeniedPath?: string | null;
|
|
31842
|
+
};
|
|
31843
|
+
|
|
31844
|
+
/**
|
|
31845
|
+
* @nullable
|
|
31846
|
+
*/
|
|
31847
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlan = {
|
|
31848
|
+
/**
|
|
31849
|
+
* @maxLength 10
|
|
31850
|
+
* @nullable
|
|
31851
|
+
*/
|
|
31852
|
+
Uid?: string | null;
|
|
31853
|
+
/** @nullable */
|
|
31854
|
+
_objectType?: string | null;
|
|
31855
|
+
/** @minLength 1 */
|
|
31856
|
+
Created?: string;
|
|
31857
|
+
/** @minLength 1 */
|
|
31858
|
+
Updated?: string;
|
|
31859
|
+
/**
|
|
31860
|
+
* @maxLength 250
|
|
31861
|
+
* @nullable
|
|
31862
|
+
*/
|
|
31863
|
+
Name?: string | null;
|
|
31864
|
+
/** @nullable */
|
|
31865
|
+
Description?: string | null;
|
|
31866
|
+
/** @nullable */
|
|
31867
|
+
PlanFamily?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanFamily;
|
|
31868
|
+
/** `1` - Individual, `2` - Team */
|
|
31869
|
+
AccountRegistrationMode?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode;
|
|
31870
|
+
IsQuantityEditable?: boolean;
|
|
31871
|
+
MinimumQuantity?: number;
|
|
31872
|
+
/** @nullable */
|
|
31873
|
+
MaximumPeople?: number | null;
|
|
31874
|
+
MonthlyRate?: number;
|
|
31875
|
+
AnnualRate?: number;
|
|
31876
|
+
QuarterlyRate?: number;
|
|
31877
|
+
OneTimeRate?: number;
|
|
31878
|
+
SetupFee?: number;
|
|
31879
|
+
SkipSetupFeeOnPlanChange?: boolean;
|
|
31880
|
+
IsTaxable?: boolean;
|
|
31881
|
+
IsActive?: boolean;
|
|
31882
|
+
IsPerUser?: boolean;
|
|
31883
|
+
RequirePaymentInformation?: boolean;
|
|
31884
|
+
TrialPeriodDays?: number;
|
|
31885
|
+
/** @nullable */
|
|
31886
|
+
TrialUntilDate?: string | null;
|
|
31887
|
+
ExpiresAfterMonths?: number;
|
|
31888
|
+
/** @nullable */
|
|
31889
|
+
ExpirationDate?: string | null;
|
|
31890
|
+
/**
|
|
31891
|
+
* @maxLength 250
|
|
31892
|
+
* @nullable
|
|
31893
|
+
*/
|
|
31894
|
+
PostLoginPath?: string | null;
|
|
31895
|
+
/**
|
|
31896
|
+
* @maxLength 15
|
|
31897
|
+
* @nullable
|
|
31898
|
+
*/
|
|
31899
|
+
StripeTaxCodeId?: string | null;
|
|
31900
|
+
/**
|
|
31901
|
+
* @maxLength 250
|
|
31902
|
+
* @nullable
|
|
31903
|
+
*/
|
|
31904
|
+
UnitOfMeasure?: string | null;
|
|
31905
|
+
/** @nullable */
|
|
31906
|
+
PlanAddOns?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanAddOnsItem[] | null;
|
|
31907
|
+
/** @nullable */
|
|
31908
|
+
ContentGroups?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanContentGroupsItem[] | null;
|
|
31909
|
+
/** @nullable */
|
|
31910
|
+
NumberOfSubscriptions?: number | null;
|
|
31911
|
+
} | null;
|
|
31912
|
+
|
|
31913
|
+
/**
|
|
31914
|
+
* `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
|
|
31915
|
+
*/
|
|
31916
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm];
|
|
31917
|
+
|
|
31918
|
+
|
|
31919
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
31920
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = {
|
|
31921
|
+
Monthly: 1,
|
|
31922
|
+
Yearly: 2,
|
|
31923
|
+
Quarterly: 3,
|
|
31924
|
+
OneTime: 4,
|
|
31925
|
+
} as const;
|
|
31926
|
+
|
|
31927
|
+
/**
|
|
31928
|
+
* `1` - Recurring, `2` - Usage, `3` - OneTime
|
|
31929
|
+
*/
|
|
31930
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType];
|
|
31931
|
+
|
|
31932
|
+
|
|
31933
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
31934
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = {
|
|
31935
|
+
Recurring: 1,
|
|
31936
|
+
Usage: 2,
|
|
31937
|
+
OneTime: 3,
|
|
31938
|
+
} as const;
|
|
31939
|
+
|
|
31940
|
+
/**
|
|
31941
|
+
* @nullable
|
|
31942
|
+
*/
|
|
31943
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOn = {
|
|
31944
|
+
/**
|
|
31945
|
+
* @maxLength 10
|
|
31946
|
+
* @nullable
|
|
31947
|
+
*/
|
|
31948
|
+
Uid?: string | null;
|
|
31949
|
+
/** @nullable */
|
|
31950
|
+
_objectType?: string | null;
|
|
31951
|
+
/** @minLength 1 */
|
|
31952
|
+
Created?: string;
|
|
31953
|
+
/** @minLength 1 */
|
|
31954
|
+
Updated?: string;
|
|
31955
|
+
/**
|
|
31956
|
+
* @maxLength 250
|
|
31957
|
+
* @nullable
|
|
31958
|
+
*/
|
|
31959
|
+
Name?: string | null;
|
|
31960
|
+
/** `1` - Recurring, `2` - Usage, `3` - OneTime */
|
|
31961
|
+
BillingAddOnType?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType;
|
|
31962
|
+
IsQuantityEditable?: boolean;
|
|
31963
|
+
MinimumQuantity?: number;
|
|
31964
|
+
MonthlyRate?: number;
|
|
31965
|
+
AnnualRate?: number;
|
|
31966
|
+
SetupFee?: number;
|
|
31967
|
+
/**
|
|
31968
|
+
* @maxLength 250
|
|
31969
|
+
* @nullable
|
|
31970
|
+
*/
|
|
31971
|
+
UnitOfMeasure?: string | null;
|
|
31972
|
+
IsTaxable?: boolean;
|
|
31973
|
+
IsBilledDuringTrial?: boolean;
|
|
31974
|
+
ExpiresAfterMonths?: number;
|
|
31975
|
+
/** @nullable */
|
|
31976
|
+
ExpirationDate?: string | null;
|
|
31977
|
+
/**
|
|
31978
|
+
* @maxLength 15
|
|
31979
|
+
* @nullable
|
|
31980
|
+
*/
|
|
31981
|
+
StripeTaxCodeId?: string | null;
|
|
31982
|
+
IsPerUser?: boolean;
|
|
31983
|
+
QuarterlyRate?: number;
|
|
31984
|
+
OneTimeRate?: number;
|
|
31985
|
+
SubscriptionCount?: number;
|
|
31986
|
+
Quantity?: number;
|
|
31987
|
+
} | null;
|
|
31988
|
+
|
|
31989
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItem = {
|
|
31990
|
+
/**
|
|
31991
|
+
* @maxLength 10
|
|
31992
|
+
* @nullable
|
|
31993
|
+
*/
|
|
31994
|
+
Uid?: string | null;
|
|
31995
|
+
/** @nullable */
|
|
31996
|
+
_objectType?: string | null;
|
|
31997
|
+
/** @minLength 1 */
|
|
31998
|
+
Created: string;
|
|
31999
|
+
/** @minLength 1 */
|
|
32000
|
+
Updated: string;
|
|
32001
|
+
/** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
|
|
32002
|
+
BillingRenewalTerm?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm;
|
|
32003
|
+
/** @nullable */
|
|
32004
|
+
AddOn?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOn;
|
|
32005
|
+
/** @nullable */
|
|
32006
|
+
Quantity?: number | null;
|
|
32007
|
+
StartDate?: string;
|
|
32008
|
+
/** @nullable */
|
|
32009
|
+
EndDate?: string | null;
|
|
32010
|
+
/** @nullable */
|
|
32011
|
+
ExpirationDate?: string | null;
|
|
32012
|
+
/** @nullable */
|
|
32013
|
+
RenewalDate?: string | null;
|
|
32014
|
+
/** @nullable */
|
|
32015
|
+
NewRequiredQuantity?: number | null;
|
|
32016
|
+
/** @nullable */
|
|
32017
|
+
Rate?: number | null;
|
|
32018
|
+
};
|
|
32019
|
+
|
|
32020
|
+
/**
|
|
32021
|
+
* `1` - Forever, `2` - Once, `3` - Repeating
|
|
32022
|
+
*/
|
|
32023
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration];
|
|
32024
|
+
|
|
32025
|
+
|
|
32026
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
32027
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = {
|
|
32028
|
+
Forever: 1,
|
|
32029
|
+
Once: 2,
|
|
32030
|
+
Repeating: 3,
|
|
32031
|
+
} as const;
|
|
32032
|
+
|
|
32033
|
+
/**
|
|
32034
|
+
* @nullable
|
|
32035
|
+
*/
|
|
32036
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon = {
|
|
32037
|
+
/**
|
|
32038
|
+
* @maxLength 10
|
|
32039
|
+
* @nullable
|
|
32040
|
+
*/
|
|
32041
|
+
Uid?: string | null;
|
|
32042
|
+
/** @nullable */
|
|
32043
|
+
_objectType?: string | null;
|
|
32044
|
+
/** @minLength 1 */
|
|
32045
|
+
Created?: string;
|
|
32046
|
+
/** @minLength 1 */
|
|
32047
|
+
Updated?: string;
|
|
32048
|
+
/** @nullable */
|
|
32049
|
+
UniqueIdentifier?: string | null;
|
|
32050
|
+
/** @nullable */
|
|
32051
|
+
Name?: string | null;
|
|
32052
|
+
IsActive?: boolean;
|
|
32053
|
+
/** @nullable */
|
|
32054
|
+
AmountOff?: number | null;
|
|
32055
|
+
/** @nullable */
|
|
32056
|
+
PercentOff?: number | null;
|
|
32057
|
+
/** @nullable */
|
|
32058
|
+
RedeemBy?: string | null;
|
|
32059
|
+
/** `1` - Forever, `2` - Once, `3` - Repeating */
|
|
32060
|
+
Duration?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration;
|
|
32061
|
+
/** @nullable */
|
|
32062
|
+
DurationInMonths?: number | null;
|
|
32063
|
+
TimesRedeemed?: number;
|
|
32064
|
+
/** @nullable */
|
|
32065
|
+
MaxRedemptions?: number | null;
|
|
32066
|
+
ApplyToAddOns?: boolean;
|
|
32067
|
+
/** @nullable */
|
|
32068
|
+
PlanUids?: string | null;
|
|
32069
|
+
} | null;
|
|
32070
|
+
|
|
32071
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItem = {
|
|
32072
|
+
/**
|
|
32073
|
+
* @maxLength 10
|
|
32074
|
+
* @nullable
|
|
32075
|
+
*/
|
|
32076
|
+
Uid?: string | null;
|
|
32077
|
+
/** @nullable */
|
|
32078
|
+
_objectType?: string | null;
|
|
32079
|
+
/** @minLength 1 */
|
|
32080
|
+
Created: string;
|
|
32081
|
+
/** @minLength 1 */
|
|
32082
|
+
Updated: string;
|
|
32083
|
+
/** @nullable */
|
|
32084
|
+
RedeemedDate?: string | null;
|
|
32085
|
+
/** @nullable */
|
|
32086
|
+
ExpireDate?: string | null;
|
|
32087
|
+
/** @nullable */
|
|
32088
|
+
DiscountCoupon?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon;
|
|
32089
|
+
};
|
|
32090
|
+
|
|
32091
|
+
/**
|
|
32092
|
+
* `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing
|
|
32093
|
+
*/
|
|
32094
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus = typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus];
|
|
32095
|
+
|
|
32096
|
+
|
|
32097
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
32098
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus = {
|
|
32099
|
+
Unpaid: 1,
|
|
32100
|
+
Paid: 2,
|
|
32101
|
+
Partial: 3,
|
|
32102
|
+
Uncollected: 4,
|
|
32103
|
+
Refunded: 5,
|
|
32104
|
+
Uncollectible: 6,
|
|
32105
|
+
Processing: 7,
|
|
32106
|
+
} as const;
|
|
32107
|
+
|
|
32108
|
+
/**
|
|
32109
|
+
* @nullable
|
|
32110
|
+
*/
|
|
32111
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoice = {
|
|
32112
|
+
/**
|
|
32113
|
+
* @maxLength 10
|
|
32114
|
+
* @nullable
|
|
32115
|
+
*/
|
|
32116
|
+
Uid?: string | null;
|
|
32117
|
+
/** @nullable */
|
|
32118
|
+
_objectType?: string | null;
|
|
32119
|
+
/** @minLength 1 */
|
|
32120
|
+
Created?: string;
|
|
32121
|
+
/** @minLength 1 */
|
|
32122
|
+
Updated?: string;
|
|
32123
|
+
InvoiceDate?: string;
|
|
32124
|
+
/** @nullable */
|
|
32125
|
+
PaymentReminderSentDate?: string | null;
|
|
32126
|
+
Number?: number;
|
|
32127
|
+
/** `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing */
|
|
32128
|
+
BillingInvoiceStatus?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus;
|
|
32129
|
+
Amount?: number;
|
|
32130
|
+
AmountOutstanding?: number;
|
|
32131
|
+
IsUserGenerated?: boolean;
|
|
32132
|
+
/**
|
|
32133
|
+
* @maxLength 50
|
|
32134
|
+
* @nullable
|
|
32135
|
+
*/
|
|
32136
|
+
StripeTaxCalculationId?: string | null;
|
|
32137
|
+
/**
|
|
32138
|
+
* @maxLength 10
|
|
32139
|
+
* @nullable
|
|
32140
|
+
*/
|
|
32141
|
+
StripeTaxBehavior?: string | null;
|
|
32142
|
+
AmountCredit?: number;
|
|
32143
|
+
AmountDiscount?: number;
|
|
32144
|
+
AmountPaid?: number;
|
|
32145
|
+
AmountRefunded?: number;
|
|
32146
|
+
AmountSubtotal?: number;
|
|
32147
|
+
AmountTax?: number;
|
|
32148
|
+
AmountTaxRefunded?: number;
|
|
32149
|
+
IsTaxable?: boolean;
|
|
32150
|
+
HasPaymentGatewayTransactions?: boolean;
|
|
32151
|
+
/** @nullable */
|
|
32152
|
+
StripePaymentTransactionIds?: string | null;
|
|
32153
|
+
/** @nullable */
|
|
32154
|
+
StripeRefundTransactionIds?: string | null;
|
|
32155
|
+
/** @nullable */
|
|
32156
|
+
StripeTaxRefundTransactionIds?: string | null;
|
|
32157
|
+
} | null;
|
|
32158
|
+
|
|
32159
|
+
/**
|
|
32160
|
+
* @nullable
|
|
32161
|
+
*/
|
|
32162
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscription = {
|
|
32163
|
+
/**
|
|
32164
|
+
* @maxLength 10
|
|
32165
|
+
* @nullable
|
|
32166
|
+
*/
|
|
32167
|
+
Uid?: string | null;
|
|
32168
|
+
/** @nullable */
|
|
32169
|
+
_objectType?: string | null;
|
|
32170
|
+
/** @minLength 1 */
|
|
32171
|
+
Created?: string;
|
|
32172
|
+
/** @minLength 1 */
|
|
32173
|
+
Updated?: string;
|
|
32174
|
+
/** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
|
|
32175
|
+
BillingRenewalTerm?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm;
|
|
32176
|
+
/** @nullable */
|
|
32177
|
+
Plan?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlan;
|
|
32178
|
+
/** @nullable */
|
|
32179
|
+
Quantity?: number | null;
|
|
32180
|
+
StartDate?: string;
|
|
32181
|
+
/** @nullable */
|
|
32182
|
+
EndDate?: string | null;
|
|
32183
|
+
/** @nullable */
|
|
32184
|
+
ExpirationDate?: string | null;
|
|
32185
|
+
/** @nullable */
|
|
32186
|
+
RenewalDate?: string | null;
|
|
32187
|
+
/** @nullable */
|
|
32188
|
+
NewRequiredQuantity?: number | null;
|
|
32189
|
+
IsPlanUpgradeRequired?: boolean;
|
|
32190
|
+
/** @nullable */
|
|
32191
|
+
PlanUpgradeRequiredMessage?: string | null;
|
|
32192
|
+
/** @nullable */
|
|
32193
|
+
SubscriptionAddOns?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItem[] | null;
|
|
32194
|
+
/** @nullable */
|
|
32195
|
+
DiscountCouponSubscriptions?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItem[] | null;
|
|
32196
|
+
/** @nullable */
|
|
32197
|
+
DiscountCode?: string | null;
|
|
32198
|
+
/** @nullable */
|
|
32199
|
+
DiscountCouponExpirationDate?: string | null;
|
|
32200
|
+
/** @nullable */
|
|
32201
|
+
LatestInvoice?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoice;
|
|
32202
|
+
/** @nullable */
|
|
32203
|
+
Rate?: number | null;
|
|
32204
|
+
} | null;
|
|
32205
|
+
|
|
32206
|
+
/**
|
|
32207
|
+
* `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
|
|
32208
|
+
*/
|
|
32209
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm = typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm];
|
|
32210
|
+
|
|
32211
|
+
|
|
32212
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
32213
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm = {
|
|
32214
|
+
Monthly: 1,
|
|
32215
|
+
Yearly: 2,
|
|
32216
|
+
Quarterly: 3,
|
|
32217
|
+
OneTime: 4,
|
|
32218
|
+
} as const;
|
|
32219
|
+
|
|
32220
|
+
/**
|
|
32221
|
+
* @nullable
|
|
32222
|
+
*/
|
|
32223
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanFamily = {
|
|
32224
|
+
/**
|
|
32225
|
+
* @maxLength 10
|
|
32226
|
+
* @nullable
|
|
32227
|
+
*/
|
|
32228
|
+
Uid?: string | null;
|
|
32229
|
+
/** @nullable */
|
|
32230
|
+
_objectType?: string | null;
|
|
32231
|
+
/** @minLength 1 */
|
|
32232
|
+
Created?: string;
|
|
32233
|
+
/** @minLength 1 */
|
|
32234
|
+
Updated?: string;
|
|
32235
|
+
/**
|
|
32236
|
+
* @maxLength 250
|
|
32237
|
+
* @nullable
|
|
32238
|
+
*/
|
|
32239
|
+
Name?: string | null;
|
|
32240
|
+
IsActive?: boolean;
|
|
32241
|
+
IsDefault?: boolean;
|
|
32242
|
+
} | null;
|
|
32243
|
+
|
|
32244
|
+
/**
|
|
32245
|
+
* `1` - Individual, `2` - Team
|
|
32246
|
+
*/
|
|
32247
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode = typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode];
|
|
32248
|
+
|
|
32249
|
+
|
|
32250
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
32251
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode = {
|
|
32252
|
+
Individual: 1,
|
|
32253
|
+
Team: 2,
|
|
32254
|
+
} as const;
|
|
32255
|
+
|
|
32256
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanAddOnsItem = {
|
|
32257
|
+
/**
|
|
32258
|
+
* @maxLength 10
|
|
32259
|
+
* @nullable
|
|
32260
|
+
*/
|
|
32261
|
+
Uid?: string | null;
|
|
32262
|
+
/** @nullable */
|
|
32263
|
+
_objectType?: string | null;
|
|
32264
|
+
/** @minLength 1 */
|
|
32265
|
+
Created: string;
|
|
32266
|
+
/** @minLength 1 */
|
|
32267
|
+
Updated: string;
|
|
32268
|
+
IsUserSelectable: boolean;
|
|
32269
|
+
};
|
|
32270
|
+
|
|
32271
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanContentGroupsItem = {
|
|
32272
|
+
/**
|
|
32273
|
+
* @maxLength 10
|
|
32274
|
+
* @nullable
|
|
32275
|
+
*/
|
|
32276
|
+
Uid?: string | null;
|
|
32277
|
+
/** @nullable */
|
|
32278
|
+
_objectType?: string | null;
|
|
32279
|
+
/** @minLength 1 */
|
|
32280
|
+
Created: string;
|
|
32281
|
+
/** @minLength 1 */
|
|
32282
|
+
Updated: string;
|
|
32283
|
+
/**
|
|
32284
|
+
* @minLength 1
|
|
32285
|
+
* @maxLength 50
|
|
32286
|
+
*/
|
|
32287
|
+
Name: string;
|
|
32288
|
+
/**
|
|
32289
|
+
* @maxLength 1024
|
|
32290
|
+
* @nullable
|
|
32291
|
+
*/
|
|
32292
|
+
AccessDeniedPath?: string | null;
|
|
32293
|
+
};
|
|
32294
|
+
|
|
32295
|
+
/**
|
|
32296
|
+
* @nullable
|
|
32297
|
+
*/
|
|
32298
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlan = {
|
|
32299
|
+
/**
|
|
32300
|
+
* @maxLength 10
|
|
32301
|
+
* @nullable
|
|
32302
|
+
*/
|
|
32303
|
+
Uid?: string | null;
|
|
32304
|
+
/** @nullable */
|
|
32305
|
+
_objectType?: string | null;
|
|
32306
|
+
/** @minLength 1 */
|
|
32307
|
+
Created?: string;
|
|
32308
|
+
/** @minLength 1 */
|
|
32309
|
+
Updated?: string;
|
|
32310
|
+
/**
|
|
32311
|
+
* @maxLength 250
|
|
32312
|
+
* @nullable
|
|
32313
|
+
*/
|
|
32314
|
+
Name?: string | null;
|
|
32315
|
+
/** @nullable */
|
|
32316
|
+
Description?: string | null;
|
|
32317
|
+
/** @nullable */
|
|
32318
|
+
PlanFamily?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanFamily;
|
|
32319
|
+
/** `1` - Individual, `2` - Team */
|
|
32320
|
+
AccountRegistrationMode?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode;
|
|
32321
|
+
IsQuantityEditable?: boolean;
|
|
32322
|
+
MinimumQuantity?: number;
|
|
32323
|
+
/** @nullable */
|
|
32324
|
+
MaximumPeople?: number | null;
|
|
32325
|
+
MonthlyRate?: number;
|
|
32326
|
+
AnnualRate?: number;
|
|
32327
|
+
QuarterlyRate?: number;
|
|
32328
|
+
OneTimeRate?: number;
|
|
32329
|
+
SetupFee?: number;
|
|
32330
|
+
SkipSetupFeeOnPlanChange?: boolean;
|
|
32331
|
+
IsTaxable?: boolean;
|
|
32332
|
+
IsActive?: boolean;
|
|
32333
|
+
IsPerUser?: boolean;
|
|
32334
|
+
RequirePaymentInformation?: boolean;
|
|
32335
|
+
TrialPeriodDays?: number;
|
|
32336
|
+
/** @nullable */
|
|
32337
|
+
TrialUntilDate?: string | null;
|
|
32338
|
+
ExpiresAfterMonths?: number;
|
|
32339
|
+
/** @nullable */
|
|
32340
|
+
ExpirationDate?: string | null;
|
|
32341
|
+
/**
|
|
32342
|
+
* @maxLength 250
|
|
32343
|
+
* @nullable
|
|
32344
|
+
*/
|
|
32345
|
+
PostLoginPath?: string | null;
|
|
32346
|
+
/**
|
|
32347
|
+
* @maxLength 15
|
|
32348
|
+
* @nullable
|
|
32349
|
+
*/
|
|
32350
|
+
StripeTaxCodeId?: string | null;
|
|
32351
|
+
/**
|
|
32352
|
+
* @maxLength 250
|
|
32353
|
+
* @nullable
|
|
32354
|
+
*/
|
|
32355
|
+
UnitOfMeasure?: string | null;
|
|
32356
|
+
/** @nullable */
|
|
32357
|
+
PlanAddOns?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanAddOnsItem[] | null;
|
|
32358
|
+
/** @nullable */
|
|
32359
|
+
ContentGroups?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanContentGroupsItem[] | null;
|
|
32360
|
+
/** @nullable */
|
|
32361
|
+
NumberOfSubscriptions?: number | null;
|
|
32362
|
+
} | null;
|
|
32363
|
+
|
|
32364
|
+
/**
|
|
32365
|
+
* `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
|
|
32366
|
+
*/
|
|
32367
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm];
|
|
32368
|
+
|
|
32369
|
+
|
|
32370
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
32371
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = {
|
|
32372
|
+
Monthly: 1,
|
|
32373
|
+
Yearly: 2,
|
|
32374
|
+
Quarterly: 3,
|
|
32375
|
+
OneTime: 4,
|
|
32376
|
+
} as const;
|
|
32377
|
+
|
|
32378
|
+
/**
|
|
32379
|
+
* `1` - Recurring, `2` - Usage, `3` - OneTime
|
|
32380
|
+
*/
|
|
32381
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType];
|
|
32382
|
+
|
|
32383
|
+
|
|
32384
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
32385
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = {
|
|
32386
|
+
Recurring: 1,
|
|
32387
|
+
Usage: 2,
|
|
32388
|
+
OneTime: 3,
|
|
32389
|
+
} as const;
|
|
32390
|
+
|
|
32391
|
+
/**
|
|
32392
|
+
* @nullable
|
|
32393
|
+
*/
|
|
32394
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOn = {
|
|
32395
|
+
/**
|
|
32396
|
+
* @maxLength 10
|
|
32397
|
+
* @nullable
|
|
32398
|
+
*/
|
|
32399
|
+
Uid?: string | null;
|
|
32400
|
+
/** @nullable */
|
|
32401
|
+
_objectType?: string | null;
|
|
32402
|
+
/** @minLength 1 */
|
|
32403
|
+
Created?: string;
|
|
32404
|
+
/** @minLength 1 */
|
|
32405
|
+
Updated?: string;
|
|
32406
|
+
/**
|
|
32407
|
+
* @maxLength 250
|
|
32408
|
+
* @nullable
|
|
32409
|
+
*/
|
|
32410
|
+
Name?: string | null;
|
|
32411
|
+
/** `1` - Recurring, `2` - Usage, `3` - OneTime */
|
|
32412
|
+
BillingAddOnType?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType;
|
|
32413
|
+
IsQuantityEditable?: boolean;
|
|
32414
|
+
MinimumQuantity?: number;
|
|
32415
|
+
MonthlyRate?: number;
|
|
32416
|
+
AnnualRate?: number;
|
|
32417
|
+
SetupFee?: number;
|
|
32418
|
+
/**
|
|
32419
|
+
* @maxLength 250
|
|
32420
|
+
* @nullable
|
|
32421
|
+
*/
|
|
32422
|
+
UnitOfMeasure?: string | null;
|
|
32423
|
+
IsTaxable?: boolean;
|
|
32424
|
+
IsBilledDuringTrial?: boolean;
|
|
32425
|
+
ExpiresAfterMonths?: number;
|
|
32426
|
+
/** @nullable */
|
|
32427
|
+
ExpirationDate?: string | null;
|
|
32428
|
+
/**
|
|
32429
|
+
* @maxLength 15
|
|
32430
|
+
* @nullable
|
|
32431
|
+
*/
|
|
32432
|
+
StripeTaxCodeId?: string | null;
|
|
32433
|
+
IsPerUser?: boolean;
|
|
32434
|
+
QuarterlyRate?: number;
|
|
32435
|
+
OneTimeRate?: number;
|
|
32436
|
+
SubscriptionCount?: number;
|
|
32437
|
+
Quantity?: number;
|
|
32438
|
+
} | null;
|
|
32439
|
+
|
|
32440
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItem = {
|
|
32441
|
+
/**
|
|
32442
|
+
* @maxLength 10
|
|
32443
|
+
* @nullable
|
|
32444
|
+
*/
|
|
32445
|
+
Uid?: string | null;
|
|
32446
|
+
/** @nullable */
|
|
32447
|
+
_objectType?: string | null;
|
|
32448
|
+
/** @minLength 1 */
|
|
32449
|
+
Created: string;
|
|
32450
|
+
/** @minLength 1 */
|
|
32451
|
+
Updated: string;
|
|
32452
|
+
/** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
|
|
32453
|
+
BillingRenewalTerm?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm;
|
|
32454
|
+
/** @nullable */
|
|
32455
|
+
AddOn?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOn;
|
|
32456
|
+
/** @nullable */
|
|
32457
|
+
Quantity?: number | null;
|
|
32458
|
+
StartDate?: string;
|
|
32459
|
+
/** @nullable */
|
|
32460
|
+
EndDate?: string | null;
|
|
32461
|
+
/** @nullable */
|
|
32462
|
+
ExpirationDate?: string | null;
|
|
32463
|
+
/** @nullable */
|
|
32464
|
+
RenewalDate?: string | null;
|
|
32465
|
+
/** @nullable */
|
|
32466
|
+
NewRequiredQuantity?: number | null;
|
|
32467
|
+
/** @nullable */
|
|
32468
|
+
Rate?: number | null;
|
|
32469
|
+
};
|
|
32470
|
+
|
|
32471
|
+
/**
|
|
32472
|
+
* `1` - Forever, `2` - Once, `3` - Repeating
|
|
32473
|
+
*/
|
|
32474
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration];
|
|
32475
|
+
|
|
32476
|
+
|
|
32477
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
32478
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = {
|
|
32479
|
+
Forever: 1,
|
|
32480
|
+
Once: 2,
|
|
32481
|
+
Repeating: 3,
|
|
32482
|
+
} as const;
|
|
32483
|
+
|
|
32484
|
+
/**
|
|
32485
|
+
* @nullable
|
|
32486
|
+
*/
|
|
32487
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon = {
|
|
32488
|
+
/**
|
|
32489
|
+
* @maxLength 10
|
|
32490
|
+
* @nullable
|
|
32491
|
+
*/
|
|
32492
|
+
Uid?: string | null;
|
|
32493
|
+
/** @nullable */
|
|
32494
|
+
_objectType?: string | null;
|
|
32495
|
+
/** @minLength 1 */
|
|
32496
|
+
Created?: string;
|
|
32497
|
+
/** @minLength 1 */
|
|
32498
|
+
Updated?: string;
|
|
32499
|
+
/** @nullable */
|
|
32500
|
+
UniqueIdentifier?: string | null;
|
|
32501
|
+
/** @nullable */
|
|
32502
|
+
Name?: string | null;
|
|
32503
|
+
IsActive?: boolean;
|
|
32504
|
+
/** @nullable */
|
|
32505
|
+
AmountOff?: number | null;
|
|
32506
|
+
/** @nullable */
|
|
32507
|
+
PercentOff?: number | null;
|
|
32508
|
+
/** @nullable */
|
|
32509
|
+
RedeemBy?: string | null;
|
|
32510
|
+
/** `1` - Forever, `2` - Once, `3` - Repeating */
|
|
32511
|
+
Duration?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration;
|
|
32512
|
+
/** @nullable */
|
|
32513
|
+
DurationInMonths?: number | null;
|
|
32514
|
+
TimesRedeemed?: number;
|
|
32515
|
+
/** @nullable */
|
|
32516
|
+
MaxRedemptions?: number | null;
|
|
32517
|
+
ApplyToAddOns?: boolean;
|
|
32518
|
+
/** @nullable */
|
|
32519
|
+
PlanUids?: string | null;
|
|
32520
|
+
} | null;
|
|
32521
|
+
|
|
32522
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItem = {
|
|
32523
|
+
/**
|
|
32524
|
+
* @maxLength 10
|
|
32525
|
+
* @nullable
|
|
32526
|
+
*/
|
|
32527
|
+
Uid?: string | null;
|
|
32528
|
+
/** @nullable */
|
|
32529
|
+
_objectType?: string | null;
|
|
32530
|
+
/** @minLength 1 */
|
|
32531
|
+
Created: string;
|
|
32532
|
+
/** @minLength 1 */
|
|
32533
|
+
Updated: string;
|
|
32534
|
+
/** @nullable */
|
|
32535
|
+
RedeemedDate?: string | null;
|
|
32536
|
+
/** @nullable */
|
|
32537
|
+
ExpireDate?: string | null;
|
|
32538
|
+
/** @nullable */
|
|
32539
|
+
DiscountCoupon?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon;
|
|
32540
|
+
};
|
|
32541
|
+
|
|
32542
|
+
/**
|
|
32543
|
+
* `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing
|
|
32544
|
+
*/
|
|
32545
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus = typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus];
|
|
32546
|
+
|
|
32547
|
+
|
|
32548
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
32549
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus = {
|
|
32550
|
+
Unpaid: 1,
|
|
32551
|
+
Paid: 2,
|
|
32552
|
+
Partial: 3,
|
|
32553
|
+
Uncollected: 4,
|
|
32554
|
+
Refunded: 5,
|
|
32555
|
+
Uncollectible: 6,
|
|
32556
|
+
Processing: 7,
|
|
32557
|
+
} as const;
|
|
32558
|
+
|
|
32559
|
+
/**
|
|
32560
|
+
* @nullable
|
|
32561
|
+
*/
|
|
32562
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoice = {
|
|
32563
|
+
/**
|
|
32564
|
+
* @maxLength 10
|
|
32565
|
+
* @nullable
|
|
32566
|
+
*/
|
|
32567
|
+
Uid?: string | null;
|
|
32568
|
+
/** @nullable */
|
|
32569
|
+
_objectType?: string | null;
|
|
32570
|
+
/** @minLength 1 */
|
|
32571
|
+
Created?: string;
|
|
32572
|
+
/** @minLength 1 */
|
|
32573
|
+
Updated?: string;
|
|
32574
|
+
InvoiceDate?: string;
|
|
32575
|
+
/** @nullable */
|
|
32576
|
+
PaymentReminderSentDate?: string | null;
|
|
32577
|
+
Number?: number;
|
|
32578
|
+
/** `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing */
|
|
32579
|
+
BillingInvoiceStatus?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus;
|
|
32580
|
+
Amount?: number;
|
|
32581
|
+
AmountOutstanding?: number;
|
|
32582
|
+
IsUserGenerated?: boolean;
|
|
32583
|
+
/**
|
|
32584
|
+
* @maxLength 50
|
|
32585
|
+
* @nullable
|
|
32586
|
+
*/
|
|
32587
|
+
StripeTaxCalculationId?: string | null;
|
|
32588
|
+
/**
|
|
32589
|
+
* @maxLength 10
|
|
32590
|
+
* @nullable
|
|
32591
|
+
*/
|
|
32592
|
+
StripeTaxBehavior?: string | null;
|
|
32593
|
+
AmountCredit?: number;
|
|
32594
|
+
AmountDiscount?: number;
|
|
32595
|
+
AmountPaid?: number;
|
|
32596
|
+
AmountRefunded?: number;
|
|
32597
|
+
AmountSubtotal?: number;
|
|
32598
|
+
AmountTax?: number;
|
|
32599
|
+
AmountTaxRefunded?: number;
|
|
32600
|
+
IsTaxable?: boolean;
|
|
32601
|
+
HasPaymentGatewayTransactions?: boolean;
|
|
32602
|
+
/** @nullable */
|
|
32603
|
+
StripePaymentTransactionIds?: string | null;
|
|
32604
|
+
/** @nullable */
|
|
32605
|
+
StripeRefundTransactionIds?: string | null;
|
|
32606
|
+
/** @nullable */
|
|
32607
|
+
StripeTaxRefundTransactionIds?: string | null;
|
|
32608
|
+
} | null;
|
|
32609
|
+
|
|
32610
|
+
/**
|
|
32611
|
+
* @nullable
|
|
32612
|
+
*/
|
|
32613
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscription = {
|
|
32614
|
+
/**
|
|
32615
|
+
* @maxLength 10
|
|
32616
|
+
* @nullable
|
|
32617
|
+
*/
|
|
32618
|
+
Uid?: string | null;
|
|
32619
|
+
/** @nullable */
|
|
32620
|
+
_objectType?: string | null;
|
|
32621
|
+
/** @minLength 1 */
|
|
32622
|
+
Created?: string;
|
|
32623
|
+
/** @minLength 1 */
|
|
32624
|
+
Updated?: string;
|
|
32625
|
+
/** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
|
|
32626
|
+
BillingRenewalTerm?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm;
|
|
32627
|
+
/** @nullable */
|
|
32628
|
+
Plan?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlan;
|
|
32629
|
+
/** @nullable */
|
|
32630
|
+
Quantity?: number | null;
|
|
32631
|
+
StartDate?: string;
|
|
32632
|
+
/** @nullable */
|
|
32633
|
+
EndDate?: string | null;
|
|
32634
|
+
/** @nullable */
|
|
32635
|
+
ExpirationDate?: string | null;
|
|
32636
|
+
/** @nullable */
|
|
32637
|
+
RenewalDate?: string | null;
|
|
32638
|
+
/** @nullable */
|
|
32639
|
+
NewRequiredQuantity?: number | null;
|
|
32640
|
+
IsPlanUpgradeRequired?: boolean;
|
|
32641
|
+
/** @nullable */
|
|
32642
|
+
PlanUpgradeRequiredMessage?: string | null;
|
|
32643
|
+
/** @nullable */
|
|
32644
|
+
SubscriptionAddOns?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItem[] | null;
|
|
32645
|
+
/** @nullable */
|
|
32646
|
+
DiscountCouponSubscriptions?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItem[] | null;
|
|
32647
|
+
/** @nullable */
|
|
32648
|
+
DiscountCode?: string | null;
|
|
32649
|
+
/** @nullable */
|
|
32650
|
+
DiscountCouponExpirationDate?: string | null;
|
|
32651
|
+
/** @nullable */
|
|
32652
|
+
LatestInvoice?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoice;
|
|
32653
|
+
/** @nullable */
|
|
32654
|
+
Rate?: number | null;
|
|
32655
|
+
} | null;
|
|
32656
|
+
|
|
32657
|
+
/**
|
|
32658
|
+
* `0` - None, `1` - Gmail
|
|
32659
|
+
*/
|
|
32660
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus = typeof AccountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus];
|
|
32661
|
+
|
|
32662
|
+
|
|
32663
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
32664
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus = {
|
|
32665
|
+
None: 0,
|
|
32666
|
+
Gmail: 1,
|
|
32667
|
+
} as const;
|
|
32668
|
+
|
|
32669
|
+
/**
|
|
32670
|
+
* @nullable
|
|
32671
|
+
*/
|
|
32672
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPrimaryContact = {
|
|
32673
|
+
/**
|
|
32674
|
+
* @maxLength 10
|
|
32675
|
+
* @nullable
|
|
32676
|
+
*/
|
|
32677
|
+
Uid?: string | null;
|
|
32678
|
+
/** @nullable */
|
|
32679
|
+
_objectType?: string | null;
|
|
32680
|
+
/** @minLength 1 */
|
|
32681
|
+
Created?: string;
|
|
32682
|
+
/** @minLength 1 */
|
|
32683
|
+
Updated?: string;
|
|
32684
|
+
/**
|
|
32685
|
+
* @maxLength 250
|
|
32686
|
+
* @nullable
|
|
32687
|
+
*/
|
|
32688
|
+
Email?: string | null;
|
|
32689
|
+
/**
|
|
32690
|
+
* @maxLength 250
|
|
32691
|
+
* @nullable
|
|
32692
|
+
*/
|
|
32693
|
+
FirstName?: string | null;
|
|
32694
|
+
/**
|
|
32695
|
+
* @maxLength 250
|
|
32696
|
+
* @nullable
|
|
32697
|
+
*/
|
|
32698
|
+
LastName?: string | null;
|
|
32699
|
+
/** @nullable */
|
|
32700
|
+
PasswordLastUpdated?: string | null;
|
|
32701
|
+
PasswordMustChange?: boolean;
|
|
32702
|
+
/**
|
|
32703
|
+
* @maxLength 250
|
|
32704
|
+
* @nullable
|
|
32705
|
+
*/
|
|
32706
|
+
PhoneMobile?: string | null;
|
|
32707
|
+
/**
|
|
32708
|
+
* @maxLength 250
|
|
32709
|
+
* @nullable
|
|
32710
|
+
*/
|
|
32711
|
+
PhoneWork?: string | null;
|
|
32712
|
+
/**
|
|
32713
|
+
* @maxLength 250
|
|
32714
|
+
* @nullable
|
|
32715
|
+
*/
|
|
32716
|
+
ProfileImageS3Url?: string | null;
|
|
32717
|
+
/**
|
|
32718
|
+
* @maxLength 250
|
|
32719
|
+
* @nullable
|
|
32720
|
+
*/
|
|
32721
|
+
Title?: string | null;
|
|
32722
|
+
/**
|
|
32723
|
+
* @maxLength 100
|
|
32724
|
+
* @nullable
|
|
32725
|
+
*/
|
|
32726
|
+
Timezone?: string | null;
|
|
32727
|
+
/**
|
|
32728
|
+
* @maxLength 50
|
|
32729
|
+
* @nullable
|
|
32730
|
+
*/
|
|
32731
|
+
Language?: string | null;
|
|
32732
|
+
/**
|
|
32733
|
+
* @maxLength 250
|
|
32734
|
+
* @nullable
|
|
32735
|
+
*/
|
|
32736
|
+
IPAddress?: string | null;
|
|
32737
|
+
/**
|
|
32738
|
+
* @maxLength 250
|
|
32739
|
+
* @nullable
|
|
32740
|
+
*/
|
|
32741
|
+
Referer?: string | null;
|
|
32742
|
+
/**
|
|
32743
|
+
* @maxLength 1000
|
|
32744
|
+
* @nullable
|
|
32745
|
+
*/
|
|
32746
|
+
UserAgent?: string | null;
|
|
32747
|
+
/** @nullable */
|
|
32748
|
+
LastLoginDateTime?: string | null;
|
|
32749
|
+
/**
|
|
32750
|
+
* @maxLength 50
|
|
32751
|
+
* @nullable
|
|
32752
|
+
*/
|
|
32753
|
+
OAuthGoogleProfileId?: string | null;
|
|
32754
|
+
/** @nullable */
|
|
32755
|
+
AccountUids?: string | null;
|
|
32756
|
+
/** @nullable */
|
|
32757
|
+
FullName?: string | null;
|
|
32758
|
+
HasLoggedIn?: boolean;
|
|
32759
|
+
/** `0` - None, `1` - Gmail */
|
|
32760
|
+
OAuthIntegrationStatus?: AccountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus;
|
|
32761
|
+
OptInToEmailList?: boolean;
|
|
32762
|
+
/** @nullable */
|
|
32763
|
+
Password?: string | null;
|
|
32764
|
+
/** @nullable */
|
|
32765
|
+
UserAgentPlatformBrowser?: string | null;
|
|
32766
|
+
HasUnsubscribed?: boolean;
|
|
32767
|
+
IsConnectedToDiscord?: boolean;
|
|
32768
|
+
} | null;
|
|
32769
|
+
|
|
32770
|
+
/**
|
|
32771
|
+
* `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
|
|
32772
|
+
*/
|
|
32773
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPrimarySubscriptionBillingRenewalTerm = typeof AccountBillingInvoiceDeletedWebhookPayloadPrimarySubscriptionBillingRenewalTerm[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadPrimarySubscriptionBillingRenewalTerm];
|
|
32774
|
+
|
|
32775
|
+
|
|
32776
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
32777
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadPrimarySubscriptionBillingRenewalTerm = {
|
|
32778
|
+
Monthly: 1,
|
|
32779
|
+
Yearly: 2,
|
|
32780
|
+
Quarterly: 3,
|
|
32781
|
+
OneTime: 4,
|
|
32782
|
+
} as const;
|
|
32783
|
+
|
|
32784
|
+
/**
|
|
32785
|
+
* @nullable
|
|
32786
|
+
*/
|
|
32787
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPrimarySubscription = {
|
|
32788
|
+
/**
|
|
32789
|
+
* @maxLength 10
|
|
32790
|
+
* @nullable
|
|
32791
|
+
*/
|
|
32792
|
+
Uid?: string | null;
|
|
32793
|
+
/** @nullable */
|
|
32794
|
+
_objectType?: string | null;
|
|
32795
|
+
/** @minLength 1 */
|
|
32796
|
+
Created?: string;
|
|
32797
|
+
/** @minLength 1 */
|
|
32798
|
+
Updated?: string;
|
|
32799
|
+
/** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
|
|
32800
|
+
BillingRenewalTerm?: AccountBillingInvoiceDeletedWebhookPayloadPrimarySubscriptionBillingRenewalTerm;
|
|
32801
|
+
/** @nullable */
|
|
32802
|
+
Quantity?: number | null;
|
|
32803
|
+
StartDate?: string;
|
|
32804
|
+
/** @nullable */
|
|
32805
|
+
EndDate?: string | null;
|
|
32806
|
+
/** @nullable */
|
|
32807
|
+
ExpirationDate?: string | null;
|
|
32808
|
+
/** @nullable */
|
|
32809
|
+
RenewalDate?: string | null;
|
|
32810
|
+
/** @nullable */
|
|
32811
|
+
NewRequiredQuantity?: number | null;
|
|
32812
|
+
IsPlanUpgradeRequired?: boolean;
|
|
32813
|
+
/** @nullable */
|
|
32814
|
+
PlanUpgradeRequiredMessage?: string | null;
|
|
32815
|
+
/** @nullable */
|
|
32816
|
+
DiscountCode?: string | null;
|
|
32817
|
+
/** @nullable */
|
|
32818
|
+
DiscountCouponExpirationDate?: string | null;
|
|
32819
|
+
/** @nullable */
|
|
32820
|
+
Rate?: number | null;
|
|
32821
|
+
} | null;
|
|
32822
|
+
|
|
32823
|
+
/**
|
|
32824
|
+
* @nullable
|
|
32825
|
+
*/
|
|
32826
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPrimaryStripeSubscription = {
|
|
32827
|
+
/**
|
|
32828
|
+
* @maxLength 10
|
|
32829
|
+
* @nullable
|
|
32830
|
+
*/
|
|
32831
|
+
Uid?: string | null;
|
|
32832
|
+
/** @nullable */
|
|
32833
|
+
_objectType?: string | null;
|
|
32834
|
+
/** @minLength 1 */
|
|
32835
|
+
Created?: string;
|
|
32836
|
+
/** @minLength 1 */
|
|
32837
|
+
Updated?: string;
|
|
32838
|
+
/**
|
|
32839
|
+
* @maxLength 255
|
|
32840
|
+
* @nullable
|
|
32841
|
+
*/
|
|
32842
|
+
StripeId?: string | null;
|
|
32843
|
+
IsLivemode?: boolean;
|
|
32844
|
+
/** @nullable */
|
|
32845
|
+
CancelAt?: string | null;
|
|
32846
|
+
CancelAtPeriodEnd?: boolean;
|
|
32847
|
+
/**
|
|
32848
|
+
* @maxLength 3
|
|
32849
|
+
* @nullable
|
|
32850
|
+
*/
|
|
32851
|
+
Currency?: string | null;
|
|
32852
|
+
/** @nullable */
|
|
32853
|
+
EndedAt?: string | null;
|
|
32854
|
+
/**
|
|
32855
|
+
* @maxLength 30
|
|
32856
|
+
* @nullable
|
|
32857
|
+
*/
|
|
32858
|
+
PauseCollection_Behavior?: string | null;
|
|
32859
|
+
/** @nullable */
|
|
32860
|
+
PauseCollection_ResumesAt?: string | null;
|
|
32861
|
+
StartDate?: string;
|
|
32862
|
+
/**
|
|
32863
|
+
* @maxLength 30
|
|
32864
|
+
* @nullable
|
|
32865
|
+
*/
|
|
32866
|
+
Status?: string | null;
|
|
32867
|
+
/** @nullable */
|
|
32868
|
+
TrialEnd?: string | null;
|
|
32869
|
+
/** @nullable */
|
|
32870
|
+
AccountUid?: string | null;
|
|
32871
|
+
/** @nullable */
|
|
32872
|
+
BillingCycleAnchor?: string | null;
|
|
32873
|
+
/** @nullable */
|
|
32874
|
+
CollectionMethod?: string | null;
|
|
32875
|
+
/** @nullable */
|
|
32876
|
+
CustomerId?: string | null;
|
|
32877
|
+
/** @nullable */
|
|
32878
|
+
DaysUntilDue?: number | null;
|
|
32879
|
+
/** @nullable */
|
|
32880
|
+
ScheduleId?: string | null;
|
|
32881
|
+
/** @nullable */
|
|
32882
|
+
StripeDiscountIds?: string[] | null;
|
|
32883
|
+
/** @nullable */
|
|
32884
|
+
StripePriceIds?: string | null;
|
|
32885
|
+
TrialPeriodDays?: number;
|
|
32886
|
+
} | null;
|
|
32887
|
+
|
|
32888
|
+
export interface AccountBillingInvoiceDeletedWebhookPayload {
|
|
32889
|
+
/**
|
|
32890
|
+
* @maxLength 10
|
|
32891
|
+
* @nullable
|
|
32892
|
+
*/
|
|
32893
|
+
Uid?: string | null;
|
|
32894
|
+
/** @nullable */
|
|
32895
|
+
_objectType?: string | null;
|
|
32896
|
+
/** @minLength 1 */
|
|
32897
|
+
Created: string;
|
|
32898
|
+
/** @minLength 1 */
|
|
32899
|
+
Updated: string;
|
|
32900
|
+
/**
|
|
32901
|
+
* @maxLength 255
|
|
32902
|
+
* @nullable
|
|
32903
|
+
*/
|
|
32904
|
+
StripeId?: string | null;
|
|
32905
|
+
IsLivemode?: boolean;
|
|
32906
|
+
/**
|
|
32907
|
+
* @minLength 1
|
|
32908
|
+
* @maxLength 250
|
|
32909
|
+
*/
|
|
32910
|
+
Name: string;
|
|
32911
|
+
/**
|
|
32912
|
+
* @maxLength 250
|
|
32913
|
+
* @nullable
|
|
32914
|
+
*/
|
|
32915
|
+
ClientIdentifier?: string | null;
|
|
32916
|
+
/**
|
|
32917
|
+
* @maxLength 3
|
|
32918
|
+
* @nullable
|
|
32919
|
+
*/
|
|
32920
|
+
Currency?: string | null;
|
|
32921
|
+
/** @nullable */
|
|
32922
|
+
InvoiceNotes?: string | null;
|
|
32923
|
+
IsDemo?: boolean;
|
|
32924
|
+
/** @nullable */
|
|
32925
|
+
BillingAddress?: AccountBillingInvoiceDeletedWebhookPayloadBillingAddress;
|
|
32926
|
+
/** @nullable */
|
|
32927
|
+
MailingAddress?: AccountBillingInvoiceDeletedWebhookPayloadMailingAddress;
|
|
32928
|
+
/** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */
|
|
32929
|
+
AccountStage?: AccountBillingInvoiceDeletedWebhookPayloadAccountStage;
|
|
32930
|
+
/** @nullable */
|
|
32931
|
+
PaymentInformation?: AccountBillingInvoiceDeletedWebhookPayloadPaymentInformation;
|
|
32932
|
+
/** @nullable */
|
|
32933
|
+
PersonAccount?: AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItem[] | null;
|
|
32934
|
+
/**
|
|
32935
|
+
* @maxLength 50
|
|
32936
|
+
* @nullable
|
|
32937
|
+
*/
|
|
32938
|
+
StripeDefaultPaymentMethodId?: string | null;
|
|
32939
|
+
/** @nullable */
|
|
32940
|
+
StripeInvoices?: AccountBillingInvoiceDeletedWebhookPayloadStripeInvoicesItem[] | null;
|
|
32941
|
+
/** @nullable */
|
|
32942
|
+
StripePaymentMethods?: AccountBillingInvoiceDeletedWebhookPayloadStripePaymentMethodsItem[] | null;
|
|
32943
|
+
/** @nullable */
|
|
32944
|
+
StripeSubscriptions?: AccountBillingInvoiceDeletedWebhookPayloadStripeSubscriptionsItem[] | null;
|
|
32945
|
+
/** @nullable */
|
|
32946
|
+
Subscriptions?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItem[] | null;
|
|
32947
|
+
/** @nullable */
|
|
32948
|
+
Deals?: AccountBillingInvoiceDeletedWebhookPayloadDealsItem[] | null;
|
|
32949
|
+
/** @nullable */
|
|
32950
|
+
LastLoginDateTime?: string | null;
|
|
32951
|
+
/**
|
|
32952
|
+
* @maxLength 255
|
|
32953
|
+
* @nullable
|
|
32954
|
+
*/
|
|
32955
|
+
AccountSpecificPageUrl1?: string | null;
|
|
32956
|
+
/**
|
|
32957
|
+
* @maxLength 255
|
|
32958
|
+
* @nullable
|
|
32959
|
+
*/
|
|
32960
|
+
AccountSpecificPageUrl2?: string | null;
|
|
32961
|
+
/**
|
|
32962
|
+
* @maxLength 255
|
|
32963
|
+
* @nullable
|
|
32964
|
+
*/
|
|
32965
|
+
AccountSpecificPageUrl3?: string | null;
|
|
32966
|
+
/**
|
|
32967
|
+
* @maxLength 255
|
|
32968
|
+
* @nullable
|
|
32969
|
+
*/
|
|
32970
|
+
AccountSpecificPageUrl4?: string | null;
|
|
32971
|
+
/**
|
|
32972
|
+
* @maxLength 255
|
|
32973
|
+
* @nullable
|
|
32974
|
+
*/
|
|
32975
|
+
AccountSpecificPageUrl5?: string | null;
|
|
32976
|
+
/**
|
|
32977
|
+
* @maxLength 255
|
|
32978
|
+
* @nullable
|
|
32979
|
+
*/
|
|
32980
|
+
AccountSpecificPageUrl6?: string | null;
|
|
32981
|
+
/**
|
|
32982
|
+
* @maxLength 255
|
|
32983
|
+
* @nullable
|
|
32984
|
+
*/
|
|
32985
|
+
AccountSpecificPageUrl7?: string | null;
|
|
32986
|
+
/**
|
|
32987
|
+
* @maxLength 255
|
|
32988
|
+
* @nullable
|
|
32989
|
+
*/
|
|
32990
|
+
AccountSpecificPageUrl8?: string | null;
|
|
32991
|
+
/**
|
|
32992
|
+
* @maxLength 255
|
|
32993
|
+
* @nullable
|
|
32994
|
+
*/
|
|
32995
|
+
AccountSpecificPageUrl9?: string | null;
|
|
32996
|
+
/**
|
|
32997
|
+
* @maxLength 255
|
|
32998
|
+
* @nullable
|
|
32999
|
+
*/
|
|
33000
|
+
AccountSpecificPageUrl10?: string | null;
|
|
33001
|
+
/** @nullable */
|
|
33002
|
+
RewardFulReferralId?: string | null;
|
|
33003
|
+
/**
|
|
33004
|
+
* @maxLength 36
|
|
33005
|
+
* @nullable
|
|
33006
|
+
*/
|
|
33007
|
+
ToltReferralId?: string | null;
|
|
33008
|
+
/** @nullable */
|
|
33009
|
+
TaxIds?: AccountBillingInvoiceDeletedWebhookPayloadTaxIdsItem[] | null;
|
|
33010
|
+
/**
|
|
33011
|
+
* @maxLength 20
|
|
33012
|
+
* @nullable
|
|
33013
|
+
*/
|
|
33014
|
+
TaxStatus?: string | null;
|
|
33015
|
+
/** @nullable */
|
|
33016
|
+
AccountStageLabel?: string | null;
|
|
33017
|
+
/** @nullable */
|
|
33018
|
+
CurrentStripeProducts?: string | null;
|
|
33019
|
+
/** @nullable */
|
|
33020
|
+
CurrentSubscription?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscription;
|
|
33021
|
+
/** @nullable */
|
|
33022
|
+
DomainName?: string | null;
|
|
33023
|
+
HasLoggedIn?: boolean;
|
|
33024
|
+
/** @nullable */
|
|
33025
|
+
LatestSubscription?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscription;
|
|
33026
|
+
LifetimeRevenue?: number;
|
|
33027
|
+
/** @nullable */
|
|
33028
|
+
NextStripeInvoiceDate?: string | null;
|
|
33029
|
+
/** @nullable */
|
|
33030
|
+
Nonce?: string | null;
|
|
33031
|
+
/** @nullable */
|
|
33032
|
+
PrimaryContact?: AccountBillingInvoiceDeletedWebhookPayloadPrimaryContact;
|
|
33033
|
+
/** @nullable */
|
|
33034
|
+
PrimarySubscription?: AccountBillingInvoiceDeletedWebhookPayloadPrimarySubscription;
|
|
33035
|
+
/** @nullable */
|
|
33036
|
+
PrimaryStripeSubscription?: AccountBillingInvoiceDeletedWebhookPayloadPrimaryStripeSubscription;
|
|
33037
|
+
/** @nullable */
|
|
33038
|
+
RecaptchaToken?: string | null;
|
|
33039
|
+
/** @nullable */
|
|
33040
|
+
StripeNextInvoiceSequence?: number | null;
|
|
33041
|
+
/** @nullable */
|
|
33042
|
+
StripePrice?: string[] | null;
|
|
33043
|
+
/** @nullable */
|
|
33044
|
+
StripePromotionCode?: string | null;
|
|
33045
|
+
/** @nullable */
|
|
33046
|
+
TaxId?: string | null;
|
|
33047
|
+
TaxIdIsInvalid?: boolean;
|
|
33048
|
+
/** @nullable */
|
|
33049
|
+
TaxIdType?: string | null;
|
|
33050
|
+
/** @nullable */
|
|
33051
|
+
WebflowSlug?: string | null;
|
|
33052
|
+
ActivityEventData?: AccountBillingInvoiceDeletedActivityData;
|
|
33053
|
+
}
|
|
33054
|
+
|
|
30701
33055
|
export interface PersonLoginActivityData {
|
|
30702
33056
|
/** @nullable */
|
|
30703
33057
|
PersonUid?: string | null;
|