@revkeen/sdk 1.20260425.986 → 1.20260428.990
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.d.mts +444 -10
- package/dist/index.d.ts +444 -10
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -708,7 +708,7 @@ type CreateCheckoutSessionInput = {
|
|
|
708
708
|
/**
|
|
709
709
|
* Payment methods to offer. Intersected with merchant capabilities. Defaults to merchant config.
|
|
710
710
|
*/
|
|
711
|
-
allowedMethods?: Array<'card' | 'in_store'>;
|
|
711
|
+
allowedMethods?: Array<'card' | 'direct_debit' | 'pay_by_bank' | 'in_store'>;
|
|
712
712
|
/**
|
|
713
713
|
* Target a registered companion device. Session is pushed via SSE to the device.
|
|
714
714
|
*/
|
|
@@ -916,6 +916,34 @@ type CustomerCreateResponse = {
|
|
|
916
916
|
* Customer's phone number
|
|
917
917
|
*/
|
|
918
918
|
phone?: string;
|
|
919
|
+
/**
|
|
920
|
+
* Customer's company name
|
|
921
|
+
*/
|
|
922
|
+
companyName?: string;
|
|
923
|
+
/**
|
|
924
|
+
* Billing address line 1
|
|
925
|
+
*/
|
|
926
|
+
addressLine1?: string;
|
|
927
|
+
/**
|
|
928
|
+
* Billing address line 2
|
|
929
|
+
*/
|
|
930
|
+
addressLine2?: string;
|
|
931
|
+
/**
|
|
932
|
+
* Billing address city
|
|
933
|
+
*/
|
|
934
|
+
city?: string;
|
|
935
|
+
/**
|
|
936
|
+
* Billing address state or county
|
|
937
|
+
*/
|
|
938
|
+
state?: string;
|
|
939
|
+
/**
|
|
940
|
+
* Billing address postal code
|
|
941
|
+
*/
|
|
942
|
+
postalCode?: string;
|
|
943
|
+
/**
|
|
944
|
+
* Billing address country code
|
|
945
|
+
*/
|
|
946
|
+
country?: string;
|
|
919
947
|
/**
|
|
920
948
|
* Linked Better Auth user ID for portal access
|
|
921
949
|
*/
|
|
@@ -971,6 +999,34 @@ type CustomerListResponse = {
|
|
|
971
999
|
* Customer's phone number
|
|
972
1000
|
*/
|
|
973
1001
|
phone?: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* Customer's company name
|
|
1004
|
+
*/
|
|
1005
|
+
companyName?: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* Billing address line 1
|
|
1008
|
+
*/
|
|
1009
|
+
addressLine1?: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* Billing address line 2
|
|
1012
|
+
*/
|
|
1013
|
+
addressLine2?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* Billing address city
|
|
1016
|
+
*/
|
|
1017
|
+
city?: string;
|
|
1018
|
+
/**
|
|
1019
|
+
* Billing address state or county
|
|
1020
|
+
*/
|
|
1021
|
+
state?: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* Billing address postal code
|
|
1024
|
+
*/
|
|
1025
|
+
postalCode?: string;
|
|
1026
|
+
/**
|
|
1027
|
+
* Billing address country code
|
|
1028
|
+
*/
|
|
1029
|
+
country?: string;
|
|
974
1030
|
/**
|
|
975
1031
|
* Linked Better Auth user ID for portal access
|
|
976
1032
|
*/
|
|
@@ -1031,6 +1087,34 @@ type CustomerRetrieveResponse = {
|
|
|
1031
1087
|
* Customer's phone number
|
|
1032
1088
|
*/
|
|
1033
1089
|
phone?: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* Customer's company name
|
|
1092
|
+
*/
|
|
1093
|
+
companyName?: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* Billing address line 1
|
|
1096
|
+
*/
|
|
1097
|
+
addressLine1?: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* Billing address line 2
|
|
1100
|
+
*/
|
|
1101
|
+
addressLine2?: string;
|
|
1102
|
+
/**
|
|
1103
|
+
* Billing address city
|
|
1104
|
+
*/
|
|
1105
|
+
city?: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* Billing address state or county
|
|
1108
|
+
*/
|
|
1109
|
+
state?: string;
|
|
1110
|
+
/**
|
|
1111
|
+
* Billing address postal code
|
|
1112
|
+
*/
|
|
1113
|
+
postalCode?: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* Billing address country code
|
|
1116
|
+
*/
|
|
1117
|
+
country?: string;
|
|
1034
1118
|
/**
|
|
1035
1119
|
* Linked Better Auth user ID for portal access
|
|
1036
1120
|
*/
|
|
@@ -1086,6 +1170,34 @@ type CustomerUpdateResponse = {
|
|
|
1086
1170
|
* Customer's phone number
|
|
1087
1171
|
*/
|
|
1088
1172
|
phone?: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* Customer's company name
|
|
1175
|
+
*/
|
|
1176
|
+
companyName?: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* Billing address line 1
|
|
1179
|
+
*/
|
|
1180
|
+
addressLine1?: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* Billing address line 2
|
|
1183
|
+
*/
|
|
1184
|
+
addressLine2?: string;
|
|
1185
|
+
/**
|
|
1186
|
+
* Billing address city
|
|
1187
|
+
*/
|
|
1188
|
+
city?: string;
|
|
1189
|
+
/**
|
|
1190
|
+
* Billing address state or county
|
|
1191
|
+
*/
|
|
1192
|
+
state?: string;
|
|
1193
|
+
/**
|
|
1194
|
+
* Billing address postal code
|
|
1195
|
+
*/
|
|
1196
|
+
postalCode?: string;
|
|
1197
|
+
/**
|
|
1198
|
+
* Billing address country code
|
|
1199
|
+
*/
|
|
1200
|
+
country?: string;
|
|
1089
1201
|
/**
|
|
1090
1202
|
* Linked Better Auth user ID for portal access
|
|
1091
1203
|
*/
|
|
@@ -6174,7 +6286,7 @@ type InvoicesCreateData = {
|
|
|
6174
6286
|
/**
|
|
6175
6287
|
* Restrict checkout payment methods for this invoice. When set, narrows available rails for checkout sessions created against this invoice. Omit to use merchant default.
|
|
6176
6288
|
*/
|
|
6177
|
-
allowed_methods?: Array<'card' | 'in_store'>;
|
|
6289
|
+
allowed_methods?: Array<'card' | 'direct_debit' | 'pay_by_bank' | 'in_store'>;
|
|
6178
6290
|
};
|
|
6179
6291
|
path?: never;
|
|
6180
6292
|
query?: never;
|
|
@@ -6210,6 +6322,10 @@ type InvoicesUpdateData = {
|
|
|
6210
6322
|
status?: string;
|
|
6211
6323
|
total_minor?: number;
|
|
6212
6324
|
due_date?: string;
|
|
6325
|
+
/**
|
|
6326
|
+
* Update the invoice's restricted payment methods. Empty array clears restriction (merchant defaults apply); omit to leave unchanged.
|
|
6327
|
+
*/
|
|
6328
|
+
allowed_methods?: Array<'card' | 'direct_debit' | 'pay_by_bank' | 'in_store'>;
|
|
6213
6329
|
/**
|
|
6214
6330
|
* Subscription billing terms — set to null to remove
|
|
6215
6331
|
*/
|
|
@@ -6257,6 +6373,67 @@ type InvoicesUpdateResponses = {
|
|
|
6257
6373
|
200: InvoiceResponse;
|
|
6258
6374
|
};
|
|
6259
6375
|
type InvoicesUpdateResponse = InvoicesUpdateResponses[keyof InvoicesUpdateResponses];
|
|
6376
|
+
type InvoicesMarginEstimateData = {
|
|
6377
|
+
/**
|
|
6378
|
+
* Margin estimate inputs
|
|
6379
|
+
*/
|
|
6380
|
+
body: {
|
|
6381
|
+
/**
|
|
6382
|
+
* Optional amount in minor units. Defaults to the invoice total.
|
|
6383
|
+
*/
|
|
6384
|
+
amount_minor?: number;
|
|
6385
|
+
/**
|
|
6386
|
+
* Rails to estimate. Defaults to invoice allowed_methods or all rails.
|
|
6387
|
+
*/
|
|
6388
|
+
rails?: Array<'card' | 'direct_debit' | 'pay_by_bank' | 'in_store'>;
|
|
6389
|
+
/**
|
|
6390
|
+
* Single card scheme to estimate for card rail, e.g. visa or mastercard.
|
|
6391
|
+
*/
|
|
6392
|
+
card_scheme?: string;
|
|
6393
|
+
/**
|
|
6394
|
+
* Card schemes to estimate for card rail.
|
|
6395
|
+
*/
|
|
6396
|
+
card_schemes?: Array<string>;
|
|
6397
|
+
};
|
|
6398
|
+
path: {
|
|
6399
|
+
id: string;
|
|
6400
|
+
};
|
|
6401
|
+
query?: never;
|
|
6402
|
+
url: '/invoices/{id}/margin-estimate';
|
|
6403
|
+
};
|
|
6404
|
+
type InvoicesMarginEstimateErrors = {
|
|
6405
|
+
/**
|
|
6406
|
+
* Invoice not found
|
|
6407
|
+
*/
|
|
6408
|
+
404: unknown;
|
|
6409
|
+
};
|
|
6410
|
+
type InvoicesMarginEstimateResponses = {
|
|
6411
|
+
/**
|
|
6412
|
+
* Margin estimates by rail
|
|
6413
|
+
*/
|
|
6414
|
+
200: {
|
|
6415
|
+
data: {
|
|
6416
|
+
invoice_id: string;
|
|
6417
|
+
amount_minor: number;
|
|
6418
|
+
currency: string;
|
|
6419
|
+
estimates: Array<{
|
|
6420
|
+
rail: 'card' | 'direct_debit' | 'pay_by_bank' | 'in_store';
|
|
6421
|
+
card_scheme: string | null;
|
|
6422
|
+
gross_minor: number;
|
|
6423
|
+
estimated_fee_minor: number;
|
|
6424
|
+
net_after_fees_minor: number;
|
|
6425
|
+
fee_breakdown: {
|
|
6426
|
+
percentage_fee_minor: number;
|
|
6427
|
+
fixed_fee_minor: number;
|
|
6428
|
+
minimum_fee_adjustment_minor: number;
|
|
6429
|
+
};
|
|
6430
|
+
pricing_source: 'matrix';
|
|
6431
|
+
matrix_version: string;
|
|
6432
|
+
}>;
|
|
6433
|
+
};
|
|
6434
|
+
};
|
|
6435
|
+
};
|
|
6436
|
+
type InvoicesMarginEstimateResponse = InvoicesMarginEstimateResponses[keyof InvoicesMarginEstimateResponses];
|
|
6260
6437
|
type InvoicesFinalizeData = {
|
|
6261
6438
|
/**
|
|
6262
6439
|
* Finalization options
|
|
@@ -6649,6 +6826,34 @@ type CustomersCreateData = {
|
|
|
6649
6826
|
* Customer's phone number
|
|
6650
6827
|
*/
|
|
6651
6828
|
phone?: string;
|
|
6829
|
+
/**
|
|
6830
|
+
* Customer's company name
|
|
6831
|
+
*/
|
|
6832
|
+
companyName?: string;
|
|
6833
|
+
/**
|
|
6834
|
+
* Billing address line 1
|
|
6835
|
+
*/
|
|
6836
|
+
addressLine1?: string;
|
|
6837
|
+
/**
|
|
6838
|
+
* Billing address line 2
|
|
6839
|
+
*/
|
|
6840
|
+
addressLine2?: string;
|
|
6841
|
+
/**
|
|
6842
|
+
* Billing address city
|
|
6843
|
+
*/
|
|
6844
|
+
city?: string;
|
|
6845
|
+
/**
|
|
6846
|
+
* Billing address state or county
|
|
6847
|
+
*/
|
|
6848
|
+
state?: string;
|
|
6849
|
+
/**
|
|
6850
|
+
* Billing address postal code
|
|
6851
|
+
*/
|
|
6852
|
+
postalCode?: string;
|
|
6853
|
+
/**
|
|
6854
|
+
* Billing address country code
|
|
6855
|
+
*/
|
|
6856
|
+
country?: string;
|
|
6652
6857
|
/**
|
|
6653
6858
|
* Arbitrary key-value metadata to attach to this customer
|
|
6654
6859
|
*/
|
|
@@ -6725,6 +6930,34 @@ type CustomersUpdateData = {
|
|
|
6725
6930
|
* Updated phone number
|
|
6726
6931
|
*/
|
|
6727
6932
|
phone?: string;
|
|
6933
|
+
/**
|
|
6934
|
+
* Updated company name
|
|
6935
|
+
*/
|
|
6936
|
+
companyName?: string;
|
|
6937
|
+
/**
|
|
6938
|
+
* Updated billing address line 1
|
|
6939
|
+
*/
|
|
6940
|
+
addressLine1?: string;
|
|
6941
|
+
/**
|
|
6942
|
+
* Updated billing address line 2
|
|
6943
|
+
*/
|
|
6944
|
+
addressLine2?: string;
|
|
6945
|
+
/**
|
|
6946
|
+
* Updated billing address city
|
|
6947
|
+
*/
|
|
6948
|
+
city?: string;
|
|
6949
|
+
/**
|
|
6950
|
+
* Updated billing address state or county
|
|
6951
|
+
*/
|
|
6952
|
+
state?: string;
|
|
6953
|
+
/**
|
|
6954
|
+
* Updated billing address postal code
|
|
6955
|
+
*/
|
|
6956
|
+
postalCode?: string;
|
|
6957
|
+
/**
|
|
6958
|
+
* Updated billing address country code
|
|
6959
|
+
*/
|
|
6960
|
+
country?: string;
|
|
6728
6961
|
/**
|
|
6729
6962
|
* Metadata to merge with existing values (set a key to null to remove it)
|
|
6730
6963
|
*/
|
|
@@ -6764,6 +6997,127 @@ type CustomersUpdateResponses = {
|
|
|
6764
6997
|
200: CustomerUpdateResponse;
|
|
6765
6998
|
};
|
|
6766
6999
|
type CustomersUpdateResponse = CustomersUpdateResponses[keyof CustomersUpdateResponses];
|
|
7000
|
+
type CustomersPaymentRailsGetData = {
|
|
7001
|
+
body?: never;
|
|
7002
|
+
path: {
|
|
7003
|
+
/**
|
|
7004
|
+
* Customer UUID
|
|
7005
|
+
*/
|
|
7006
|
+
id: string;
|
|
7007
|
+
};
|
|
7008
|
+
query?: {
|
|
7009
|
+
/**
|
|
7010
|
+
* Optional invoice context used to apply invoice-level rail restrictions.
|
|
7011
|
+
*/
|
|
7012
|
+
invoice_id?: string;
|
|
7013
|
+
};
|
|
7014
|
+
url: '/customers/{id}/payment-rails';
|
|
7015
|
+
};
|
|
7016
|
+
type CustomersPaymentRailsGetErrors = {
|
|
7017
|
+
/**
|
|
7018
|
+
* Invalid invoice context
|
|
7019
|
+
*/
|
|
7020
|
+
400: unknown;
|
|
7021
|
+
/**
|
|
7022
|
+
* Unauthorized
|
|
7023
|
+
*/
|
|
7024
|
+
401: unknown;
|
|
7025
|
+
/**
|
|
7026
|
+
* Customer or invoice not found
|
|
7027
|
+
*/
|
|
7028
|
+
404: unknown;
|
|
7029
|
+
};
|
|
7030
|
+
type CustomersPaymentRailsGetResponses = {
|
|
7031
|
+
/**
|
|
7032
|
+
* Payment rail availability
|
|
7033
|
+
*/
|
|
7034
|
+
200: {
|
|
7035
|
+
data: {
|
|
7036
|
+
customer_id: string;
|
|
7037
|
+
invoice_id?: string | null;
|
|
7038
|
+
rails: Array<{
|
|
7039
|
+
rail: 'card' | 'direct_debit' | 'pay_by_bank' | 'in_store';
|
|
7040
|
+
available: boolean;
|
|
7041
|
+
reason_if_not: string | null;
|
|
7042
|
+
last_used_at: string | null;
|
|
7043
|
+
mandate_id?: string;
|
|
7044
|
+
mandate_ref?: string | null;
|
|
7045
|
+
}>;
|
|
7046
|
+
};
|
|
7047
|
+
};
|
|
7048
|
+
};
|
|
7049
|
+
type CustomersPaymentRailsGetResponse = CustomersPaymentRailsGetResponses[keyof CustomersPaymentRailsGetResponses];
|
|
7050
|
+
type CustomersPreferredRailsGetData = {
|
|
7051
|
+
body?: never;
|
|
7052
|
+
path: {
|
|
7053
|
+
/**
|
|
7054
|
+
* Customer UUID
|
|
7055
|
+
*/
|
|
7056
|
+
id: string;
|
|
7057
|
+
};
|
|
7058
|
+
query?: {
|
|
7059
|
+
/**
|
|
7060
|
+
* Optional invoice context used to apply invoice-level rail restrictions and amount.
|
|
7061
|
+
*/
|
|
7062
|
+
invoice_id?: string;
|
|
7063
|
+
/**
|
|
7064
|
+
* Optional amount in minor units. Use amount_minor for the explicit alias.
|
|
7065
|
+
*/
|
|
7066
|
+
amount?: number | null;
|
|
7067
|
+
/**
|
|
7068
|
+
* Optional amount in minor units. Overrides invoice total for margin-aware ranking.
|
|
7069
|
+
*/
|
|
7070
|
+
amount_minor?: number | null;
|
|
7071
|
+
};
|
|
7072
|
+
url: '/customers/{id}/preferred-rails';
|
|
7073
|
+
};
|
|
7074
|
+
type CustomersPreferredRailsGetErrors = {
|
|
7075
|
+
/**
|
|
7076
|
+
* Invalid invoice context
|
|
7077
|
+
*/
|
|
7078
|
+
400: unknown;
|
|
7079
|
+
/**
|
|
7080
|
+
* Unauthorized
|
|
7081
|
+
*/
|
|
7082
|
+
401: unknown;
|
|
7083
|
+
/**
|
|
7084
|
+
* Customer or invoice not found
|
|
7085
|
+
*/
|
|
7086
|
+
404: unknown;
|
|
7087
|
+
};
|
|
7088
|
+
type CustomersPreferredRailsGetResponses = {
|
|
7089
|
+
/**
|
|
7090
|
+
* Preferred rails
|
|
7091
|
+
*/
|
|
7092
|
+
200: {
|
|
7093
|
+
data: {
|
|
7094
|
+
customer_id: string;
|
|
7095
|
+
invoice_id: string | null;
|
|
7096
|
+
amount_minor: number | null;
|
|
7097
|
+
currency: string | null;
|
|
7098
|
+
preferred_rails: Array<{
|
|
7099
|
+
rail: 'card' | 'direct_debit' | 'pay_by_bank' | 'in_store';
|
|
7100
|
+
available: boolean;
|
|
7101
|
+
reason_if_not: string | null;
|
|
7102
|
+
last_used_at: string | null;
|
|
7103
|
+
mandate_id?: string;
|
|
7104
|
+
mandate_ref?: string | null;
|
|
7105
|
+
rank: number;
|
|
7106
|
+
score: number;
|
|
7107
|
+
reason: string;
|
|
7108
|
+
reasons: Array<string>;
|
|
7109
|
+
estimated_fee_minor?: number;
|
|
7110
|
+
net_after_fees_minor?: number;
|
|
7111
|
+
mandate?: {
|
|
7112
|
+
id: string;
|
|
7113
|
+
status: 'PENDING_LODGEMENT' | 'ACTIVE' | 'SUSPENDED' | 'CANCELLED' | 'FAILED';
|
|
7114
|
+
createdAt: string;
|
|
7115
|
+
};
|
|
7116
|
+
}>;
|
|
7117
|
+
};
|
|
7118
|
+
};
|
|
7119
|
+
};
|
|
7120
|
+
type CustomersPreferredRailsGetResponse = CustomersPreferredRailsGetResponses[keyof CustomersPreferredRailsGetResponses];
|
|
6767
7121
|
type CustomersPaymentMethodsListData = {
|
|
6768
7122
|
body?: never;
|
|
6769
7123
|
path: {
|
|
@@ -9297,6 +9651,8 @@ interface CustomersResource {
|
|
|
9297
9651
|
get: (id: NonNullable<CustomersGetData["path"]>["id"]) => Promise<CustomersGetResponse>;
|
|
9298
9652
|
list: (query?: NonNullable<CustomersListData["query"]>) => Promise<CustomersListResponse>;
|
|
9299
9653
|
paymentMethodsList: (id: NonNullable<CustomersPaymentMethodsListData["path"]>["id"]) => Promise<CustomersPaymentMethodsListResponse>;
|
|
9654
|
+
paymentRailsGet: (id: NonNullable<CustomersPaymentRailsGetData["path"]>["id"], query?: NonNullable<CustomersPaymentRailsGetData["query"]>) => Promise<CustomersPaymentRailsGetResponse>;
|
|
9655
|
+
preferredRailsGet: (id: NonNullable<CustomersPreferredRailsGetData["path"]>["id"], query?: NonNullable<CustomersPreferredRailsGetData["query"]>) => Promise<CustomersPreferredRailsGetResponse>;
|
|
9300
9656
|
update: (id: NonNullable<CustomersUpdateData["path"]>["id"], body?: NonNullable<CustomersUpdateData["body"]>) => Promise<CustomersUpdateResponse>;
|
|
9301
9657
|
}
|
|
9302
9658
|
interface EntitlementsResource {
|
|
@@ -9313,6 +9669,7 @@ interface InvoicesResource {
|
|
|
9313
9669
|
finalize: (id: NonNullable<InvoicesFinalizeData["path"]>["id"], body?: NonNullable<InvoicesFinalizeData["body"]>) => Promise<InvoicesFinalizeResponse>;
|
|
9314
9670
|
get: (id: NonNullable<InvoicesGetData["path"]>["id"]) => Promise<InvoicesGetResponse>;
|
|
9315
9671
|
list: (query?: NonNullable<InvoicesListData["query"]>) => Promise<InvoicesListResponse>;
|
|
9672
|
+
marginEstimate: (id: NonNullable<InvoicesMarginEstimateData["path"]>["id"], body: NonNullable<InvoicesMarginEstimateData["body"]>) => Promise<InvoicesMarginEstimateResponse>;
|
|
9316
9673
|
send: (id: NonNullable<InvoicesSendData["path"]>["id"], body?: NonNullable<InvoicesSendData["body"]>) => Promise<InvoicesSendResponse>;
|
|
9317
9674
|
update: (id: NonNullable<InvoicesUpdateData["path"]>["id"], body: NonNullable<InvoicesUpdateData["body"]>) => Promise<InvoicesUpdateResponse>;
|
|
9318
9675
|
void: (id: NonNullable<InvoicesVoidData["path"]>["id"], body?: NonNullable<InvoicesVoidData["body"]>) => Promise<InvoicesVoidResponse>;
|
|
@@ -9763,9 +10120,9 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
9763
10120
|
* - `GET /invoices/{id}` — Get invoice
|
|
9764
10121
|
* - `PATCH /invoices/{id}` — Update invoice
|
|
9765
10122
|
* - `DELETE /invoices/{id}` — Delete invoice
|
|
10123
|
+
* - `POST /invoices/{id}/margin-estimate` — Estimate invoice net by payment rail
|
|
9766
10124
|
* - `POST /invoices/{id}/refund` — Refund invoice
|
|
9767
10125
|
* - `POST /invoices/{id}/reject` — Reject invoice
|
|
9768
|
-
* - `POST /invoices/mark-delivered` — Mark invoices as already delivered
|
|
9769
10126
|
*
|
|
9770
10127
|
* **Pagination**
|
|
9771
10128
|
*
|
|
@@ -9786,9 +10143,9 @@ declare const invoicesList: <ThrowOnError extends boolean = false>(options?: Opt
|
|
|
9786
10143
|
* - `GET /invoices/{id}` — Get invoice
|
|
9787
10144
|
* - `PATCH /invoices/{id}` — Update invoice
|
|
9788
10145
|
* - `DELETE /invoices/{id}` — Delete invoice
|
|
10146
|
+
* - `POST /invoices/{id}/margin-estimate` — Estimate invoice net by payment rail
|
|
9789
10147
|
* - `POST /invoices/{id}/refund` — Refund invoice
|
|
9790
10148
|
* - `POST /invoices/{id}/reject` — Reject invoice
|
|
9791
|
-
* - `POST /invoices/mark-delivered` — Mark invoices as already delivered
|
|
9792
10149
|
*
|
|
9793
10150
|
* **Idempotency**
|
|
9794
10151
|
*
|
|
@@ -9809,9 +10166,9 @@ declare const invoicesCreate: <ThrowOnError extends boolean = false>(options: Op
|
|
|
9809
10166
|
* - `POST /invoices` — Create invoice
|
|
9810
10167
|
* - `PATCH /invoices/{id}` — Update invoice
|
|
9811
10168
|
* - `DELETE /invoices/{id}` — Delete invoice
|
|
10169
|
+
* - `POST /invoices/{id}/margin-estimate` — Estimate invoice net by payment rail
|
|
9812
10170
|
* - `POST /invoices/{id}/refund` — Refund invoice
|
|
9813
10171
|
* - `POST /invoices/{id}/reject` — Reject invoice
|
|
9814
|
-
* - `POST /invoices/mark-delivered` — Mark invoices as already delivered
|
|
9815
10172
|
*/
|
|
9816
10173
|
declare const invoicesGet: <ThrowOnError extends boolean = false>(options: Options<InvoicesGetData, ThrowOnError>) => RequestResult<InvoicesGetResponses, unknown, ThrowOnError, "fields">;
|
|
9817
10174
|
/**
|
|
@@ -9828,15 +10185,42 @@ declare const invoicesGet: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
9828
10185
|
* - `POST /invoices` — Create invoice
|
|
9829
10186
|
* - `GET /invoices/{id}` — Get invoice
|
|
9830
10187
|
* - `DELETE /invoices/{id}` — Delete invoice
|
|
10188
|
+
* - `POST /invoices/{id}/margin-estimate` — Estimate invoice net by payment rail
|
|
9831
10189
|
* - `POST /invoices/{id}/refund` — Refund invoice
|
|
9832
10190
|
* - `POST /invoices/{id}/reject` — Reject invoice
|
|
9833
|
-
* - `POST /invoices/mark-delivered` — Mark invoices as already delivered
|
|
9834
10191
|
*
|
|
9835
10192
|
* **Idempotency**
|
|
9836
10193
|
*
|
|
9837
10194
|
* Pass an `Idempotency-Key` header (UUID v4 recommended) to make retries safe. Keys are valid for 24 hours; see [the idempotency guide](/docs/fundamentals/idempotency).
|
|
9838
10195
|
*/
|
|
9839
10196
|
declare const invoicesUpdate: <ThrowOnError extends boolean = false>(options: Options<InvoicesUpdateData, ThrowOnError>) => RequestResult<InvoicesUpdateResponses, unknown, ThrowOnError, "fields">;
|
|
10197
|
+
/**
|
|
10198
|
+
* Estimate invoice net by payment rail
|
|
10199
|
+
*
|
|
10200
|
+
* Estimate per-rail processing fees and net-after-fees for an invoice amount.
|
|
10201
|
+
*
|
|
10202
|
+
* ---
|
|
10203
|
+
*
|
|
10204
|
+
* **Related endpoints**
|
|
10205
|
+
*
|
|
10206
|
+
* - `PUT /invoices/external/batch` — Batch upsert invoices by external ID
|
|
10207
|
+
* - `GET /invoices` — List invoices
|
|
10208
|
+
* - `POST /invoices` — Create invoice
|
|
10209
|
+
* - `GET /invoices/{id}` — Get invoice
|
|
10210
|
+
* - `PATCH /invoices/{id}` — Update invoice
|
|
10211
|
+
* - `DELETE /invoices/{id}` — Delete invoice
|
|
10212
|
+
* - `POST /invoices/{id}/refund` — Refund invoice
|
|
10213
|
+
* - `POST /invoices/{id}/reject` — Reject invoice
|
|
10214
|
+
*
|
|
10215
|
+
* **Common errors**
|
|
10216
|
+
*
|
|
10217
|
+
* - `404 resource_missing` — the referenced resource does not exist or is not visible to your key.
|
|
10218
|
+
*
|
|
10219
|
+
* **Idempotency**
|
|
10220
|
+
*
|
|
10221
|
+
* Pass an `Idempotency-Key` header (UUID v4 recommended) to make retries safe. Keys are valid for 24 hours; see [the idempotency guide](/docs/fundamentals/idempotency).
|
|
10222
|
+
*/
|
|
10223
|
+
declare const invoicesMarginEstimate: <ThrowOnError extends boolean = false>(options: Options<InvoicesMarginEstimateData, ThrowOnError>) => RequestResult<InvoicesMarginEstimateResponses, InvoicesMarginEstimateErrors, ThrowOnError, "fields">;
|
|
9840
10224
|
/**
|
|
9841
10225
|
* Finalize an invoice
|
|
9842
10226
|
*
|
|
@@ -9852,8 +10236,8 @@ declare const invoicesUpdate: <ThrowOnError extends boolean = false>(options: Op
|
|
|
9852
10236
|
* - `GET /invoices/{id}` — Get invoice
|
|
9853
10237
|
* - `PATCH /invoices/{id}` — Update invoice
|
|
9854
10238
|
* - `DELETE /invoices/{id}` — Delete invoice
|
|
10239
|
+
* - `POST /invoices/{id}/margin-estimate` — Estimate invoice net by payment rail
|
|
9855
10240
|
* - `POST /invoices/{id}/refund` — Refund invoice
|
|
9856
|
-
* - `POST /invoices/{id}/reject` — Reject invoice
|
|
9857
10241
|
*
|
|
9858
10242
|
* **Common errors**
|
|
9859
10243
|
*
|
|
@@ -9880,8 +10264,8 @@ declare const invoicesFinalize: <ThrowOnError extends boolean = false>(options:
|
|
|
9880
10264
|
* - `GET /invoices/{id}` — Get invoice
|
|
9881
10265
|
* - `PATCH /invoices/{id}` — Update invoice
|
|
9882
10266
|
* - `DELETE /invoices/{id}` — Delete invoice
|
|
10267
|
+
* - `POST /invoices/{id}/margin-estimate` — Estimate invoice net by payment rail
|
|
9883
10268
|
* - `POST /invoices/{id}/refund` — Refund invoice
|
|
9884
|
-
* - `POST /invoices/{id}/reject` — Reject invoice
|
|
9885
10269
|
*
|
|
9886
10270
|
* **Common errors**
|
|
9887
10271
|
*
|
|
@@ -9908,8 +10292,8 @@ declare const invoicesVoid: <ThrowOnError extends boolean = false>(options: Opti
|
|
|
9908
10292
|
* - `GET /invoices/{id}` — Get invoice
|
|
9909
10293
|
* - `PATCH /invoices/{id}` — Update invoice
|
|
9910
10294
|
* - `DELETE /invoices/{id}` — Delete invoice
|
|
10295
|
+
* - `POST /invoices/{id}/margin-estimate` — Estimate invoice net by payment rail
|
|
9911
10296
|
* - `POST /invoices/{id}/refund` — Refund invoice
|
|
9912
|
-
* - `POST /invoices/{id}/reject` — Reject invoice
|
|
9913
10297
|
*
|
|
9914
10298
|
* **Common errors**
|
|
9915
10299
|
*
|
|
@@ -10189,6 +10573,56 @@ declare const customersGet: <ThrowOnError extends boolean = false>(options: Opti
|
|
|
10189
10573
|
* Pass an `Idempotency-Key` header (UUID v4 recommended) to make retries safe. Keys are valid for 24 hours; see [the idempotency guide](/docs/fundamentals/idempotency).
|
|
10190
10574
|
*/
|
|
10191
10575
|
declare const customersUpdate: <ThrowOnError extends boolean = false>(options: Options<CustomersUpdateData, ThrowOnError>) => RequestResult<CustomersUpdateResponses, CustomersUpdateErrors, ThrowOnError, "fields">;
|
|
10576
|
+
/**
|
|
10577
|
+
* Get customer payment rail availability
|
|
10578
|
+
*
|
|
10579
|
+
* Return per-rail availability for a customer, including mandate state and last successful rail usage.
|
|
10580
|
+
*
|
|
10581
|
+
* ---
|
|
10582
|
+
*
|
|
10583
|
+
* **Related endpoints**
|
|
10584
|
+
*
|
|
10585
|
+
* - `GET /customers/{customerId}/invoices` — List customer invoices
|
|
10586
|
+
* - `GET /customers/{customerId}/subscriptions` — List customer subscriptions
|
|
10587
|
+
* - `GET /customers/{customerId}/orders` — List customer orders
|
|
10588
|
+
* - `GET /customers/{customerId}/payments` — List customer payments
|
|
10589
|
+
* - `PUT /customers/external/batch` — Batch upsert customers by external ID
|
|
10590
|
+
* - `POST /customers` — Create a new customer
|
|
10591
|
+
* - `GET /customers` — List customers
|
|
10592
|
+
* - `GET /customers/{id}` — Get customer by ID
|
|
10593
|
+
*
|
|
10594
|
+
* **Common errors**
|
|
10595
|
+
*
|
|
10596
|
+
* - `400 invalid_request` — malformed payload or failed validation.
|
|
10597
|
+
* - `401 unauthenticated` — missing, malformed, or revoked API key.
|
|
10598
|
+
* - `404 resource_missing` — the referenced resource does not exist or is not visible to your key.
|
|
10599
|
+
*/
|
|
10600
|
+
declare const customersPaymentRailsGet: <ThrowOnError extends boolean = false>(options: Options<CustomersPaymentRailsGetData, ThrowOnError>) => RequestResult<CustomersPaymentRailsGetResponses, CustomersPaymentRailsGetErrors, ThrowOnError, "fields">;
|
|
10601
|
+
/**
|
|
10602
|
+
* Get preferred payment rails
|
|
10603
|
+
*
|
|
10604
|
+
* Return smart-pick rail recommendations with customer history, mandate state, and margin-aware reasoning.
|
|
10605
|
+
*
|
|
10606
|
+
* ---
|
|
10607
|
+
*
|
|
10608
|
+
* **Related endpoints**
|
|
10609
|
+
*
|
|
10610
|
+
* - `GET /customers/{customerId}/invoices` — List customer invoices
|
|
10611
|
+
* - `GET /customers/{customerId}/subscriptions` — List customer subscriptions
|
|
10612
|
+
* - `GET /customers/{customerId}/orders` — List customer orders
|
|
10613
|
+
* - `GET /customers/{customerId}/payments` — List customer payments
|
|
10614
|
+
* - `PUT /customers/external/batch` — Batch upsert customers by external ID
|
|
10615
|
+
* - `POST /customers` — Create a new customer
|
|
10616
|
+
* - `GET /customers` — List customers
|
|
10617
|
+
* - `GET /customers/{id}` — Get customer by ID
|
|
10618
|
+
*
|
|
10619
|
+
* **Common errors**
|
|
10620
|
+
*
|
|
10621
|
+
* - `400 invalid_request` — malformed payload or failed validation.
|
|
10622
|
+
* - `401 unauthenticated` — missing, malformed, or revoked API key.
|
|
10623
|
+
* - `404 resource_missing` — the referenced resource does not exist or is not visible to your key.
|
|
10624
|
+
*/
|
|
10625
|
+
declare const customersPreferredRailsGet: <ThrowOnError extends boolean = false>(options: Options<CustomersPreferredRailsGetData, ThrowOnError>) => RequestResult<CustomersPreferredRailsGetResponses, CustomersPreferredRailsGetErrors, ThrowOnError, "fields">;
|
|
10192
10626
|
/**
|
|
10193
10627
|
* Get customer payment methods
|
|
10194
10628
|
*
|
|
@@ -11643,4 +12077,4 @@ declare const transactionsList: <ThrowOnError extends boolean = false>(options?:
|
|
|
11643
12077
|
*/
|
|
11644
12078
|
declare const transactionsGet: <ThrowOnError extends boolean = false>(options: Options<TransactionsGetData, ThrowOnError>) => RequestResult<TransactionsGetResponses, TransactionsGetErrors, ThrowOnError, "fields">;
|
|
11645
12079
|
|
|
11646
|
-
export { type AnalyticsResource, type AnalyticsRevenueMrrSummaryData, type AnalyticsRevenueMrrSummaryResponse, type AnalyticsRevenueMrrSummaryResponses, type AnalyticsRevenueTimeSeriesData, type AnalyticsRevenueTimeSeriesResponse, type AnalyticsRevenueTimeSeriesResponses, type AttachPaymentMethodRequest, type AuthenticationError, type AvsCodeInterpretation, type BankAccountDetails, type BatchIngestRequest, type BatchIngestResult, type Benefit, type BillingAnchorRulesResponse, type BillingDetails, type BillingIntervalsResponse, type BillingPreviewErrorResponse, type BillingPreviewResponse, type Business, type CancelOrderRequest, type CancelPaymentIntentRequest, type CancelPaymentRequest, type CancelSetupIntentRequest, type CancelSubscriptionInput, type CancelSubscriptionRequest, type CancelSubscriptionScheduleRequest, type CapturePaymentIntentRequest, type CapturePaymentRequest, type CardDetails, type ChargeCaptureResponse, type ChargeCreateResponse, type ChargeDuplicateErrorResponse, type ChargeErrorResponse, type ChargeListResponse, type ChargeRefundResponse, type ChargeRetrieveResponse, type CheckoutSession, type CheckoutSessionCreateResponse, type CheckoutSessionErrorResponse, type CheckoutSessionExpireResponse, type CheckoutSessionRetrieveResponse, type CheckoutSessionsCreateData, type CheckoutSessionsCreateError, type CheckoutSessionsCreateErrors, type CheckoutSessionsCreateResponse, type CheckoutSessionsCreateResponses, type CheckoutSessionsExpireData, type CheckoutSessionsExpireError, type CheckoutSessionsExpireErrors, type CheckoutSessionsExpireResponse, type CheckoutSessionsExpireResponses, type CheckoutSessionsGetData, type CheckoutSessionsGetError, type CheckoutSessionsGetErrors, type CheckoutSessionsGetResponse, type CheckoutSessionsGetResponses, type CheckoutSessionsResource, type ClientOptions$1 as ClientOptions, type ConfirmPaymentIntentRequest, type ConfirmSetupIntentRequest, type CreateCheckoutSessionInput, type CreateCreditNoteInput, type CreateCustomerPortalSessionRequest, type CreateDiscountInput, type CreateExportRequest, type CreateImportRequest, type CreateMeterPriceRequest, type CreateMeterRequest, type CreateMeterResponse, type CreateOrderRequest, type CreatePaymentIntentRequest, type CreatePriceRequest, type CreateProductRequest, type CreateRefundInput, type CreateSetupIntentRequest, type CreateSubscriptionItemInput, type CreateSubscriptionScheduleRequest, type CreateTaxRateRequest, type CreateTerminalPaymentRequest, type CreateTestEventRequest, type CreateVoidInput, type CreditEligibilityResponse, type CreditNote, type CreditNoteCreateResponse, type CreditNoteEligibilityResponse, type CreditNoteLine, type CreditNoteLineList, type CreditNoteListResponse, type CreditNotePreview, type CreditNotePreviewResponse, type CreditNoteResponse, type CreditNoteRetrieveResponse, type CreditNoteVoidResponse, type CreditNotesCreateData, type CreditNotesCreateErrors, type CreditNotesCreateResponse, type CreditNotesCreateResponses, type CreditNotesGetData, type CreditNotesGetErrors, type CreditNotesGetResponse, type CreditNotesGetResponses, type CreditNotesListData, type CreditNotesListErrors, type CreditNotesListLinesData, type CreditNotesListLinesErrors, type CreditNotesListLinesResponse, type CreditNotesListLinesResponses, type CreditNotesListResponse, type CreditNotesListResponses, type CreditNotesPreviewData, type CreditNotesPreviewErrors, type CreditNotesPreviewResponse, type CreditNotesPreviewResponses, type CreditNotesResource, type CreditNotesVoidData, type CreditNotesVoidErrors, type CreditNotesVoidResponse, type CreditNotesVoidResponses, type CustomerCreateResponse, type CustomerInvoice, type CustomerListResponse, type CustomerMeter, type CustomerMeterErrorResponse, type CustomerMeterList, type CustomerMeterResponse, type CustomerMetersGetData, type CustomerMetersGetError, type CustomerMetersGetErrors, type CustomerMetersGetResponse, type CustomerMetersGetResponses, type CustomerMetersListData, type CustomerMetersListError, type CustomerMetersListErrors, type CustomerMetersListResponse, type CustomerMetersListResponses, type CustomerOrder, type CustomerPayment, type CustomerPaymentMethodsListResponse, type CustomerPortalCustomerGetData, type CustomerPortalCustomerGetError, type CustomerPortalCustomerGetErrors, type CustomerPortalCustomerGetResponse, type CustomerPortalCustomerGetResponses, type CustomerPortalErrorResponse, type CustomerPortalInvoicesGetData, type CustomerPortalInvoicesGetError, type CustomerPortalInvoicesGetErrors, type CustomerPortalInvoicesGetResponse, type CustomerPortalInvoicesGetResponses, type CustomerPortalInvoicesListData, type CustomerPortalInvoicesListError, type CustomerPortalInvoicesListErrors, type CustomerPortalInvoicesListResponse, type CustomerPortalInvoicesListResponses, type CustomerPortalSessionCreateResponse, type CustomerPortalSessionsCreateData, type CustomerPortalSessionsCreateError, type CustomerPortalSessionsCreateErrors, type CustomerPortalSessionsCreateResponse, type CustomerPortalSessionsCreateResponses, type CustomerPortalSubscriptionsCancelData, type CustomerPortalSubscriptionsCancelError, type CustomerPortalSubscriptionsCancelErrors, type CustomerPortalSubscriptionsCancelResponse, type CustomerPortalSubscriptionsCancelResponses, type CustomerPortalSubscriptionsGetData, type CustomerPortalSubscriptionsGetError, type CustomerPortalSubscriptionsGetErrors, type CustomerPortalSubscriptionsGetResponse, type CustomerPortalSubscriptionsGetResponses, type CustomerPortalSubscriptionsListData, type CustomerPortalSubscriptionsListError, type CustomerPortalSubscriptionsListErrors, type CustomerPortalSubscriptionsListResponse, type CustomerPortalSubscriptionsListResponses, type CustomerResource, type CustomerRetrieveResponse, type CustomerSubscription, type CustomerUpdateResponse, type CustomersCreateData, type CustomersCreateErrors, type CustomersCreateResponse, type CustomersCreateResponses, type CustomersGetData, type CustomersGetErrors, type CustomersGetResponse, type CustomersGetResponses, type CustomersListData, type CustomersListErrors, type CustomersListResponse, type CustomersListResponses, type CustomersPaymentMethodsListData, type CustomersPaymentMethodsListErrors, type CustomersPaymentMethodsListResponse, type CustomersPaymentMethodsListResponses, type CustomersResource, type CustomersUpdateData, type CustomersUpdateErrors, type CustomersUpdateResponse, type CustomersUpdateResponses, type CvvCodeInterpretation, type DeclineAnalyticsResponse, type Discount, type DiscountCreateResponse, type DiscountDeleteResponse, type DiscountListResponse, type DiscountRetrieveResponse, type DiscountUpdateResponse, type Dispute, type DryRunResult, type Entitlement, type EntitlementCheck, type EntitlementCheckResponse, type EntitlementListResponse, type EntitlementsCheckData, type EntitlementsCheckErrors, type EntitlementsCheckResponse, type EntitlementsCheckResponses, type EntitlementsListData, type EntitlementsListErrors, type EntitlementsListResponse, type EntitlementsListResponses, type EntitlementsResource, type ErrorResponse, type Event, type EventErrorResponse, type EventListResponse, type EventRequest, type EventsGetData, type EventsGetError, type EventsGetErrors, type EventsGetResponse, type EventsGetResponses, type EventsListData, type EventsListError, type EventsListErrors, type EventsListResponse, type EventsListResponses, type EventsResendData, type EventsResendError, type EventsResendErrors, type EventsResendResponse, type EventsResendResponses, type EventsResource, type Export, type ExportCreateResponse, type ExportRetrieveResponse, type ExternalUpsertResponse, type ForbiddenError, type FulfillOrderRequest, type GeneratedResourceRuntime, type GeneratedResources, type Import, type ImportCreateResponse, type ImportRetrieveResponse, type Invoice, type InvoiceCommentDetail, type InvoiceCommentDetailResponse, type InvoiceCommentListDetailResponse, type InvoiceListResponse, type InvoiceResponse, type InvoicesCreateData, type InvoicesCreateResponse, type InvoicesCreateResponses, type InvoicesFinalizeData, type InvoicesFinalizeErrors, type InvoicesFinalizeResponse, type InvoicesFinalizeResponses, type InvoicesGetData, type InvoicesGetResponse, type InvoicesGetResponses, type InvoicesListData, type InvoicesListResponse, type InvoicesListResponses, type InvoicesResource, type InvoicesSendData, type InvoicesSendErrors, type InvoicesSendResponse, type InvoicesSendResponses, type InvoicesUpdateData, type InvoicesUpdateResponse, type InvoicesUpdateResponses, type InvoicesVoidData, type InvoicesVoidErrors, type InvoicesVoidResponse, type InvoicesVoidResponses, type MarkDeliveredResponse, type MeterError, type MeterGetResponse, type MeterListResponse, type MeterPriceError, type MeterPriceListResponse, type MeterPriceResponse, type NotFoundError, OAuthConfig, type OpenDispute, type Options, type Order, type OrderErrorResponse, type OrderLineItem, type OrderListResponse, type Pagination, type PauseSubscriptionInput, type PayOrderRequest, type Payment, type PaymentAttempt, type PaymentAttemptErrorResponse, type PaymentAttemptListResponse, type PaymentAttemptSingleResponse, type PaymentErrorResponse, type PaymentIntent, type PaymentIntentErrorResponse, type PaymentIntentListResponse, type PaymentIntentsCancelData, type PaymentIntentsCancelError, type PaymentIntentsCancelErrors, type PaymentIntentsCancelResponse, type PaymentIntentsCancelResponses, type PaymentIntentsCaptureData, type PaymentIntentsCaptureError, type PaymentIntentsCaptureErrors, type PaymentIntentsCaptureResponse, type PaymentIntentsCaptureResponses, type PaymentIntentsConfirmData, type PaymentIntentsConfirmError, type PaymentIntentsConfirmErrors, type PaymentIntentsConfirmResponse, type PaymentIntentsConfirmResponses, type PaymentIntentsCreateData, type PaymentIntentsCreateError, type PaymentIntentsCreateErrors, type PaymentIntentsCreateResponse, type PaymentIntentsCreateResponses, type PaymentIntentsGetData, type PaymentIntentsGetError, type PaymentIntentsGetErrors, type PaymentIntentsGetResponse, type PaymentIntentsGetResponses, type PaymentIntentsListData, type PaymentIntentsListError, type PaymentIntentsListErrors, type PaymentIntentsListResponse, type PaymentIntentsListResponses, type PaymentIntentsResource, type PaymentLinksActivateData, type PaymentLinksActivateError, type PaymentLinksActivateErrors, type PaymentLinksActivateResponse, type PaymentLinksActivateResponses, type PaymentLinksArchiveData, type PaymentLinksArchiveError, type PaymentLinksArchiveErrors, type PaymentLinksArchiveResponse, type PaymentLinksArchiveResponses, type PaymentLinksCreateData, type PaymentLinksCreateError, type PaymentLinksCreateErrors, type PaymentLinksCreateResponse, type PaymentLinksCreateResponses, type PaymentLinksDeactivateData, type PaymentLinksDeactivateError, type PaymentLinksDeactivateErrors, type PaymentLinksDeactivateResponse, type PaymentLinksDeactivateResponses, type PaymentLinksExpireData, type PaymentLinksExpireError, type PaymentLinksExpireErrors, type PaymentLinksExpireResponse, type PaymentLinksExpireResponses, type PaymentLinksGetData, type PaymentLinksGetError, type PaymentLinksGetErrors, type PaymentLinksGetResponse, type PaymentLinksGetResponses, type PaymentLinksListData, type PaymentLinksListError, type PaymentLinksListErrors, type PaymentLinksListResponse, type PaymentLinksListResponses, type PaymentLinksResource, type PaymentLinksUpdateData, type PaymentLinksUpdateError, type PaymentLinksUpdateErrors, type PaymentLinksUpdateResponse, type PaymentLinksUpdateResponses, type PaymentListResponse, type PaymentMethod, type PaymentMethodList, type PaymentSecurityResponse, type PaymentSecurityResult, type Payout, type PayoutPayment, type PhaseItem, type PortalCustomer, type PortalCustomerResponse, type PortalInvoice, type PortalInvoiceList, type PortalInvoiceResponse, type PortalSubscription, type PortalSubscriptionCancelResponse, type PortalSubscriptionList, type PortalSubscriptionResponse, type PreviewCreditNoteInput, type Price, type PriceErrorResponse, type PriceListResponse, type PriceTier, type PricesArchiveData, type PricesArchiveError, type PricesArchiveErrors, type PricesArchiveResponse, type PricesArchiveResponses, type PricesCreateData, type PricesCreateError, type PricesCreateErrors, type PricesCreateResponse, type PricesCreateResponses, type PricesGetData, type PricesGetError, type PricesGetErrors, type PricesGetResponse, type PricesGetResponses, type PricesListData, type PricesListError, type PricesListErrors, type PricesListResponse, type PricesListResponses, type PricesResource, type PricesUpdateData, type PricesUpdateError, type PricesUpdateErrors, type PricesUpdateResponse, type PricesUpdateResponses, type Product, type ProductCreateResponse, type ProductErrorResponse, type ProductListResponse, type ProductRetrieveResponse, type ProductUpdateResponse, type ProductsCreateData, type ProductsCreateError, type ProductsCreateErrors, type ProductsCreateResponse, type ProductsCreateResponses, type ProductsGetData, type ProductsGetError, type ProductsGetErrors, type ProductsGetResponse, type ProductsGetResponses, type ProductsListData, type ProductsListError, type ProductsListErrors, type ProductsListResponse, type ProductsListResponses, type ProductsResource, type ProductsUpdateData, type ProductsUpdateError, type ProductsUpdateErrors, type ProductsUpdateResponse, type ProductsUpdateResponses, type Refund, type RefundCreateResponse, type RefundListResponse, type RefundRetrieveResponse, type RefundTerminalPaymentRequest, type RefundsCreateData, type RefundsCreateErrors, type RefundsCreateResponse, type RefundsCreateResponses, type RefundsGetData, type RefundsGetErrors, type RefundsGetResponse, type RefundsGetResponses, type RefundsListData, type RefundsListErrors, type RefundsListResponse, type RefundsListResponses, type RefundsResource, type ReleaseSubscriptionScheduleRequest, type ResendWebhookResponse, type RetryEligibilityResponse, RevKeenClient as RevKeen, RevKeenAPIError, RevKeenClient, type RevKeenClientOptions, RevKeenError, RevKeenTimeoutError, type SchedulePhase, type SetupIntent, type SetupIntentError, type SetupIntentList, type SetupIntentNextAction, type StaleUpdateResponse, type SubscriptionCancelResponse, type SubscriptionCancelSubscriptionResponse, type SubscriptionChangePlanResponse, type SubscriptionChangeQuantityResponse, type SubscriptionCreateResponse, type SubscriptionItem, type SubscriptionItemCreateResponse, type SubscriptionItemDeleteResponse, type SubscriptionItemListResponse, type SubscriptionItemUpdateResponse, type SubscriptionListResponse, type SubscriptionPauseResponse, type SubscriptionPreviewRenewalResponse, type SubscriptionReactivateResponse, type SubscriptionResumeResponse, type SubscriptionRetrieveResponse, type SubscriptionSchedule, type SubscriptionScheduleErrorResponse, type SubscriptionScheduleListResponse, type SubscriptionTerms, type SubscriptionUpdateResponse, type SubscriptionsCancelData, type SubscriptionsCancelErrors, type SubscriptionsCancelResponse, type SubscriptionsCancelResponses, type SubscriptionsCreateData, type SubscriptionsCreateErrors, type SubscriptionsCreateResponse, type SubscriptionsCreateResponses, type SubscriptionsGetData, type SubscriptionsGetErrors, type SubscriptionsGetResponse, type SubscriptionsGetResponses, type SubscriptionsListData, type SubscriptionsListErrors, type SubscriptionsListResponse, type SubscriptionsListResponses, type SubscriptionsResource, type SubscriptionsUpdateData, type SubscriptionsUpdateErrors, type SubscriptionsUpdateResponse, type SubscriptionsUpdateResponses, type SuccessResponse, type TaxRate, type TaxRateErrorResponse, type TaxRateListResponse, type TerminalDevice, type TerminalDeviceErrorResponse, type TerminalDeviceListResponse, type TerminalDeviceResponse, type TerminalPayment, type TerminalPaymentErrorResponse, type TerminalPaymentListResponse, type TerminalPaymentResponse, type TestEventResponse, type Transaction, type TransactionListResponse, type TransactionRetrieveResponse, type TransactionReversalEligibilityResponse, type TransactionsGetData, type TransactionsGetError, type TransactionsGetErrors, type TransactionsGetResponse, type TransactionsGetResponses, type TransactionsListData, type TransactionsListError, type TransactionsListErrors, type TransactionsListResponse, type TransactionsListResponses, type TransactionsResource, type TransformQuantity, type UpdateDiscountInput, type UpdateMeterPriceRequest, type UpdateMeterRequest, type UpdateMeterResponse, type UpdateOrderRequest, type UpdatePaymentIntentRequest, type UpdatePaymentMethodRequest, type UpdatePriceRequest, type UpdateProductRequest, type UpdateSetupIntentRequest, type UpdateSubscriptionItemInput, type UpdateSubscriptionScheduleRequest, type UpdateTaxRateRequest, type UsageAggregateResponse, type UsageBalanceMeter, type UsageBalanceResponse, type UsageEvent, type UsageEventError, type UsageEventListResponse, type ValidationError, type Void, type VoidCreateResponse, type VoidListResponse, type VoidRetrieveResponse, type VoidTerminalPaymentRequest, type WebhookDeliveriesGetData, type WebhookDeliveriesGetError, type WebhookDeliveriesGetErrors, type WebhookDeliveriesGetResponse, type WebhookDeliveriesGetResponses, type WebhookDeliveriesListData, type WebhookDeliveriesListError, type WebhookDeliveriesListErrors, type WebhookDeliveriesListResponse, type WebhookDeliveriesListResponses, type WebhookDeliveriesRetryData, type WebhookDeliveriesRetryError, type WebhookDeliveriesRetryErrors, type WebhookDeliveriesRetryResponse, type WebhookDeliveriesRetryResponses, type WebhookDelivery, type WebhookDeliveryErrorResponse, type WebhookDeliveryListResponse, type WebhookDeliveryResponse, type WebhookDeliveryRetryResponse, type WebhookEndpoint, type WebhookEndpointsCreateData, type WebhookEndpointsCreateResponse, type WebhookEndpointsCreateResponses, type WebhookEndpointsDeleteData, type WebhookEndpointsDeleteResponse, type WebhookEndpointsDeleteResponses, type WebhookEndpointsGetData, type WebhookEndpointsGetResponse, type WebhookEndpointsGetResponses, type WebhookEndpointsListData, type WebhookEndpointsListResponse, type WebhookEndpointsListResponses, type WebhookEndpointsResource, type WebhookEndpointsRotateSecretData, type WebhookEndpointsRotateSecretResponse, type WebhookEndpointsRotateSecretResponses, type WebhookEndpointsUpdateData, type WebhookEndpointsUpdateResponse, type WebhookEndpointsUpdateResponses, type WebhookEvent, type WebhookResource, analyticsRevenueMrrSummary, analyticsRevenueTimeSeries, buildGeneratedResources, checkoutSessionsCreate, checkoutSessionsExpire, checkoutSessionsGet, creditNotesCreate, creditNotesGet, creditNotesList, creditNotesListLines, creditNotesPreview, creditNotesVoid, customerMetersGet, customerMetersList, customerPortalCustomerGet, customerPortalInvoicesGet, customerPortalInvoicesList, customerPortalSessionsCreate, customerPortalSubscriptionsCancel, customerPortalSubscriptionsGet, customerPortalSubscriptionsList, customersCreate, customersGet, customersList, customersPaymentMethodsList, customersUpdate, RevKeenClient as default, entitlementsCheck, entitlementsList, eventsGet, eventsList, eventsResend, invoicesCreate, invoicesFinalize, invoicesGet, invoicesList, invoicesSend, invoicesUpdate, invoicesVoid, paymentIntentsCancel, paymentIntentsCapture, paymentIntentsConfirm, paymentIntentsCreate, paymentIntentsGet, paymentIntentsList, paymentLinksActivate, paymentLinksArchive, paymentLinksCreate, paymentLinksDeactivate, paymentLinksExpire, paymentLinksGet, paymentLinksList, paymentLinksUpdate, pricesArchive, pricesCreate, pricesGet, pricesList, pricesUpdate, productsCreate, productsGet, productsList, productsUpdate, refundsCreate, refundsGet, refundsList, subscriptionsCancel, subscriptionsCreate, subscriptionsGet, subscriptionsList, subscriptionsUpdate, transactionsGet, transactionsList, webhookDeliveriesGet, webhookDeliveriesList, webhookDeliveriesRetry, webhookEndpointsCreate, webhookEndpointsDelete, webhookEndpointsGet, webhookEndpointsList, webhookEndpointsRotateSecret, webhookEndpointsUpdate };
|
|
12080
|
+
export { type AnalyticsResource, type AnalyticsRevenueMrrSummaryData, type AnalyticsRevenueMrrSummaryResponse, type AnalyticsRevenueMrrSummaryResponses, type AnalyticsRevenueTimeSeriesData, type AnalyticsRevenueTimeSeriesResponse, type AnalyticsRevenueTimeSeriesResponses, type AttachPaymentMethodRequest, type AuthenticationError, type AvsCodeInterpretation, type BankAccountDetails, type BatchIngestRequest, type BatchIngestResult, type Benefit, type BillingAnchorRulesResponse, type BillingDetails, type BillingIntervalsResponse, type BillingPreviewErrorResponse, type BillingPreviewResponse, type Business, type CancelOrderRequest, type CancelPaymentIntentRequest, type CancelPaymentRequest, type CancelSetupIntentRequest, type CancelSubscriptionInput, type CancelSubscriptionRequest, type CancelSubscriptionScheduleRequest, type CapturePaymentIntentRequest, type CapturePaymentRequest, type CardDetails, type ChargeCaptureResponse, type ChargeCreateResponse, type ChargeDuplicateErrorResponse, type ChargeErrorResponse, type ChargeListResponse, type ChargeRefundResponse, type ChargeRetrieveResponse, type CheckoutSession, type CheckoutSessionCreateResponse, type CheckoutSessionErrorResponse, type CheckoutSessionExpireResponse, type CheckoutSessionRetrieveResponse, type CheckoutSessionsCreateData, type CheckoutSessionsCreateError, type CheckoutSessionsCreateErrors, type CheckoutSessionsCreateResponse, type CheckoutSessionsCreateResponses, type CheckoutSessionsExpireData, type CheckoutSessionsExpireError, type CheckoutSessionsExpireErrors, type CheckoutSessionsExpireResponse, type CheckoutSessionsExpireResponses, type CheckoutSessionsGetData, type CheckoutSessionsGetError, type CheckoutSessionsGetErrors, type CheckoutSessionsGetResponse, type CheckoutSessionsGetResponses, type CheckoutSessionsResource, type ClientOptions$1 as ClientOptions, type ConfirmPaymentIntentRequest, type ConfirmSetupIntentRequest, type CreateCheckoutSessionInput, type CreateCreditNoteInput, type CreateCustomerPortalSessionRequest, type CreateDiscountInput, type CreateExportRequest, type CreateImportRequest, type CreateMeterPriceRequest, type CreateMeterRequest, type CreateMeterResponse, type CreateOrderRequest, type CreatePaymentIntentRequest, type CreatePriceRequest, type CreateProductRequest, type CreateRefundInput, type CreateSetupIntentRequest, type CreateSubscriptionItemInput, type CreateSubscriptionScheduleRequest, type CreateTaxRateRequest, type CreateTerminalPaymentRequest, type CreateTestEventRequest, type CreateVoidInput, type CreditEligibilityResponse, type CreditNote, type CreditNoteCreateResponse, type CreditNoteEligibilityResponse, type CreditNoteLine, type CreditNoteLineList, type CreditNoteListResponse, type CreditNotePreview, type CreditNotePreviewResponse, type CreditNoteResponse, type CreditNoteRetrieveResponse, type CreditNoteVoidResponse, type CreditNotesCreateData, type CreditNotesCreateErrors, type CreditNotesCreateResponse, type CreditNotesCreateResponses, type CreditNotesGetData, type CreditNotesGetErrors, type CreditNotesGetResponse, type CreditNotesGetResponses, type CreditNotesListData, type CreditNotesListErrors, type CreditNotesListLinesData, type CreditNotesListLinesErrors, type CreditNotesListLinesResponse, type CreditNotesListLinesResponses, type CreditNotesListResponse, type CreditNotesListResponses, type CreditNotesPreviewData, type CreditNotesPreviewErrors, type CreditNotesPreviewResponse, type CreditNotesPreviewResponses, type CreditNotesResource, type CreditNotesVoidData, type CreditNotesVoidErrors, type CreditNotesVoidResponse, type CreditNotesVoidResponses, type CustomerCreateResponse, type CustomerInvoice, type CustomerListResponse, type CustomerMeter, type CustomerMeterErrorResponse, type CustomerMeterList, type CustomerMeterResponse, type CustomerMetersGetData, type CustomerMetersGetError, type CustomerMetersGetErrors, type CustomerMetersGetResponse, type CustomerMetersGetResponses, type CustomerMetersListData, type CustomerMetersListError, type CustomerMetersListErrors, type CustomerMetersListResponse, type CustomerMetersListResponses, type CustomerOrder, type CustomerPayment, type CustomerPaymentMethodsListResponse, type CustomerPortalCustomerGetData, type CustomerPortalCustomerGetError, type CustomerPortalCustomerGetErrors, type CustomerPortalCustomerGetResponse, type CustomerPortalCustomerGetResponses, type CustomerPortalErrorResponse, type CustomerPortalInvoicesGetData, type CustomerPortalInvoicesGetError, type CustomerPortalInvoicesGetErrors, type CustomerPortalInvoicesGetResponse, type CustomerPortalInvoicesGetResponses, type CustomerPortalInvoicesListData, type CustomerPortalInvoicesListError, type CustomerPortalInvoicesListErrors, type CustomerPortalInvoicesListResponse, type CustomerPortalInvoicesListResponses, type CustomerPortalSessionCreateResponse, type CustomerPortalSessionsCreateData, type CustomerPortalSessionsCreateError, type CustomerPortalSessionsCreateErrors, type CustomerPortalSessionsCreateResponse, type CustomerPortalSessionsCreateResponses, type CustomerPortalSubscriptionsCancelData, type CustomerPortalSubscriptionsCancelError, type CustomerPortalSubscriptionsCancelErrors, type CustomerPortalSubscriptionsCancelResponse, type CustomerPortalSubscriptionsCancelResponses, type CustomerPortalSubscriptionsGetData, type CustomerPortalSubscriptionsGetError, type CustomerPortalSubscriptionsGetErrors, type CustomerPortalSubscriptionsGetResponse, type CustomerPortalSubscriptionsGetResponses, type CustomerPortalSubscriptionsListData, type CustomerPortalSubscriptionsListError, type CustomerPortalSubscriptionsListErrors, type CustomerPortalSubscriptionsListResponse, type CustomerPortalSubscriptionsListResponses, type CustomerResource, type CustomerRetrieveResponse, type CustomerSubscription, type CustomerUpdateResponse, type CustomersCreateData, type CustomersCreateErrors, type CustomersCreateResponse, type CustomersCreateResponses, type CustomersGetData, type CustomersGetErrors, type CustomersGetResponse, type CustomersGetResponses, type CustomersListData, type CustomersListErrors, type CustomersListResponse, type CustomersListResponses, type CustomersPaymentMethodsListData, type CustomersPaymentMethodsListErrors, type CustomersPaymentMethodsListResponse, type CustomersPaymentMethodsListResponses, type CustomersPaymentRailsGetData, type CustomersPaymentRailsGetErrors, type CustomersPaymentRailsGetResponse, type CustomersPaymentRailsGetResponses, type CustomersPreferredRailsGetData, type CustomersPreferredRailsGetErrors, type CustomersPreferredRailsGetResponse, type CustomersPreferredRailsGetResponses, type CustomersResource, type CustomersUpdateData, type CustomersUpdateErrors, type CustomersUpdateResponse, type CustomersUpdateResponses, type CvvCodeInterpretation, type DeclineAnalyticsResponse, type Discount, type DiscountCreateResponse, type DiscountDeleteResponse, type DiscountListResponse, type DiscountRetrieveResponse, type DiscountUpdateResponse, type Dispute, type DryRunResult, type Entitlement, type EntitlementCheck, type EntitlementCheckResponse, type EntitlementListResponse, type EntitlementsCheckData, type EntitlementsCheckErrors, type EntitlementsCheckResponse, type EntitlementsCheckResponses, type EntitlementsListData, type EntitlementsListErrors, type EntitlementsListResponse, type EntitlementsListResponses, type EntitlementsResource, type ErrorResponse, type Event, type EventErrorResponse, type EventListResponse, type EventRequest, type EventsGetData, type EventsGetError, type EventsGetErrors, type EventsGetResponse, type EventsGetResponses, type EventsListData, type EventsListError, type EventsListErrors, type EventsListResponse, type EventsListResponses, type EventsResendData, type EventsResendError, type EventsResendErrors, type EventsResendResponse, type EventsResendResponses, type EventsResource, type Export, type ExportCreateResponse, type ExportRetrieveResponse, type ExternalUpsertResponse, type ForbiddenError, type FulfillOrderRequest, type GeneratedResourceRuntime, type GeneratedResources, type Import, type ImportCreateResponse, type ImportRetrieveResponse, type Invoice, type InvoiceCommentDetail, type InvoiceCommentDetailResponse, type InvoiceCommentListDetailResponse, type InvoiceListResponse, type InvoiceResponse, type InvoicesCreateData, type InvoicesCreateResponse, type InvoicesCreateResponses, type InvoicesFinalizeData, type InvoicesFinalizeErrors, type InvoicesFinalizeResponse, type InvoicesFinalizeResponses, type InvoicesGetData, type InvoicesGetResponse, type InvoicesGetResponses, type InvoicesListData, type InvoicesListResponse, type InvoicesListResponses, type InvoicesMarginEstimateData, type InvoicesMarginEstimateErrors, type InvoicesMarginEstimateResponse, type InvoicesMarginEstimateResponses, type InvoicesResource, type InvoicesSendData, type InvoicesSendErrors, type InvoicesSendResponse, type InvoicesSendResponses, type InvoicesUpdateData, type InvoicesUpdateResponse, type InvoicesUpdateResponses, type InvoicesVoidData, type InvoicesVoidErrors, type InvoicesVoidResponse, type InvoicesVoidResponses, type MarkDeliveredResponse, type MeterError, type MeterGetResponse, type MeterListResponse, type MeterPriceError, type MeterPriceListResponse, type MeterPriceResponse, type NotFoundError, OAuthConfig, type OpenDispute, type Options, type Order, type OrderErrorResponse, type OrderLineItem, type OrderListResponse, type Pagination, type PauseSubscriptionInput, type PayOrderRequest, type Payment, type PaymentAttempt, type PaymentAttemptErrorResponse, type PaymentAttemptListResponse, type PaymentAttemptSingleResponse, type PaymentErrorResponse, type PaymentIntent, type PaymentIntentErrorResponse, type PaymentIntentListResponse, type PaymentIntentsCancelData, type PaymentIntentsCancelError, type PaymentIntentsCancelErrors, type PaymentIntentsCancelResponse, type PaymentIntentsCancelResponses, type PaymentIntentsCaptureData, type PaymentIntentsCaptureError, type PaymentIntentsCaptureErrors, type PaymentIntentsCaptureResponse, type PaymentIntentsCaptureResponses, type PaymentIntentsConfirmData, type PaymentIntentsConfirmError, type PaymentIntentsConfirmErrors, type PaymentIntentsConfirmResponse, type PaymentIntentsConfirmResponses, type PaymentIntentsCreateData, type PaymentIntentsCreateError, type PaymentIntentsCreateErrors, type PaymentIntentsCreateResponse, type PaymentIntentsCreateResponses, type PaymentIntentsGetData, type PaymentIntentsGetError, type PaymentIntentsGetErrors, type PaymentIntentsGetResponse, type PaymentIntentsGetResponses, type PaymentIntentsListData, type PaymentIntentsListError, type PaymentIntentsListErrors, type PaymentIntentsListResponse, type PaymentIntentsListResponses, type PaymentIntentsResource, type PaymentLinksActivateData, type PaymentLinksActivateError, type PaymentLinksActivateErrors, type PaymentLinksActivateResponse, type PaymentLinksActivateResponses, type PaymentLinksArchiveData, type PaymentLinksArchiveError, type PaymentLinksArchiveErrors, type PaymentLinksArchiveResponse, type PaymentLinksArchiveResponses, type PaymentLinksCreateData, type PaymentLinksCreateError, type PaymentLinksCreateErrors, type PaymentLinksCreateResponse, type PaymentLinksCreateResponses, type PaymentLinksDeactivateData, type PaymentLinksDeactivateError, type PaymentLinksDeactivateErrors, type PaymentLinksDeactivateResponse, type PaymentLinksDeactivateResponses, type PaymentLinksExpireData, type PaymentLinksExpireError, type PaymentLinksExpireErrors, type PaymentLinksExpireResponse, type PaymentLinksExpireResponses, type PaymentLinksGetData, type PaymentLinksGetError, type PaymentLinksGetErrors, type PaymentLinksGetResponse, type PaymentLinksGetResponses, type PaymentLinksListData, type PaymentLinksListError, type PaymentLinksListErrors, type PaymentLinksListResponse, type PaymentLinksListResponses, type PaymentLinksResource, type PaymentLinksUpdateData, type PaymentLinksUpdateError, type PaymentLinksUpdateErrors, type PaymentLinksUpdateResponse, type PaymentLinksUpdateResponses, type PaymentListResponse, type PaymentMethod, type PaymentMethodList, type PaymentSecurityResponse, type PaymentSecurityResult, type Payout, type PayoutPayment, type PhaseItem, type PortalCustomer, type PortalCustomerResponse, type PortalInvoice, type PortalInvoiceList, type PortalInvoiceResponse, type PortalSubscription, type PortalSubscriptionCancelResponse, type PortalSubscriptionList, type PortalSubscriptionResponse, type PreviewCreditNoteInput, type Price, type PriceErrorResponse, type PriceListResponse, type PriceTier, type PricesArchiveData, type PricesArchiveError, type PricesArchiveErrors, type PricesArchiveResponse, type PricesArchiveResponses, type PricesCreateData, type PricesCreateError, type PricesCreateErrors, type PricesCreateResponse, type PricesCreateResponses, type PricesGetData, type PricesGetError, type PricesGetErrors, type PricesGetResponse, type PricesGetResponses, type PricesListData, type PricesListError, type PricesListErrors, type PricesListResponse, type PricesListResponses, type PricesResource, type PricesUpdateData, type PricesUpdateError, type PricesUpdateErrors, type PricesUpdateResponse, type PricesUpdateResponses, type Product, type ProductCreateResponse, type ProductErrorResponse, type ProductListResponse, type ProductRetrieveResponse, type ProductUpdateResponse, type ProductsCreateData, type ProductsCreateError, type ProductsCreateErrors, type ProductsCreateResponse, type ProductsCreateResponses, type ProductsGetData, type ProductsGetError, type ProductsGetErrors, type ProductsGetResponse, type ProductsGetResponses, type ProductsListData, type ProductsListError, type ProductsListErrors, type ProductsListResponse, type ProductsListResponses, type ProductsResource, type ProductsUpdateData, type ProductsUpdateError, type ProductsUpdateErrors, type ProductsUpdateResponse, type ProductsUpdateResponses, type Refund, type RefundCreateResponse, type RefundListResponse, type RefundRetrieveResponse, type RefundTerminalPaymentRequest, type RefundsCreateData, type RefundsCreateErrors, type RefundsCreateResponse, type RefundsCreateResponses, type RefundsGetData, type RefundsGetErrors, type RefundsGetResponse, type RefundsGetResponses, type RefundsListData, type RefundsListErrors, type RefundsListResponse, type RefundsListResponses, type RefundsResource, type ReleaseSubscriptionScheduleRequest, type ResendWebhookResponse, type RetryEligibilityResponse, RevKeenClient as RevKeen, RevKeenAPIError, RevKeenClient, type RevKeenClientOptions, RevKeenError, RevKeenTimeoutError, type SchedulePhase, type SetupIntent, type SetupIntentError, type SetupIntentList, type SetupIntentNextAction, type StaleUpdateResponse, type SubscriptionCancelResponse, type SubscriptionCancelSubscriptionResponse, type SubscriptionChangePlanResponse, type SubscriptionChangeQuantityResponse, type SubscriptionCreateResponse, type SubscriptionItem, type SubscriptionItemCreateResponse, type SubscriptionItemDeleteResponse, type SubscriptionItemListResponse, type SubscriptionItemUpdateResponse, type SubscriptionListResponse, type SubscriptionPauseResponse, type SubscriptionPreviewRenewalResponse, type SubscriptionReactivateResponse, type SubscriptionResumeResponse, type SubscriptionRetrieveResponse, type SubscriptionSchedule, type SubscriptionScheduleErrorResponse, type SubscriptionScheduleListResponse, type SubscriptionTerms, type SubscriptionUpdateResponse, type SubscriptionsCancelData, type SubscriptionsCancelErrors, type SubscriptionsCancelResponse, type SubscriptionsCancelResponses, type SubscriptionsCreateData, type SubscriptionsCreateErrors, type SubscriptionsCreateResponse, type SubscriptionsCreateResponses, type SubscriptionsGetData, type SubscriptionsGetErrors, type SubscriptionsGetResponse, type SubscriptionsGetResponses, type SubscriptionsListData, type SubscriptionsListErrors, type SubscriptionsListResponse, type SubscriptionsListResponses, type SubscriptionsResource, type SubscriptionsUpdateData, type SubscriptionsUpdateErrors, type SubscriptionsUpdateResponse, type SubscriptionsUpdateResponses, type SuccessResponse, type TaxRate, type TaxRateErrorResponse, type TaxRateListResponse, type TerminalDevice, type TerminalDeviceErrorResponse, type TerminalDeviceListResponse, type TerminalDeviceResponse, type TerminalPayment, type TerminalPaymentErrorResponse, type TerminalPaymentListResponse, type TerminalPaymentResponse, type TestEventResponse, type Transaction, type TransactionListResponse, type TransactionRetrieveResponse, type TransactionReversalEligibilityResponse, type TransactionsGetData, type TransactionsGetError, type TransactionsGetErrors, type TransactionsGetResponse, type TransactionsGetResponses, type TransactionsListData, type TransactionsListError, type TransactionsListErrors, type TransactionsListResponse, type TransactionsListResponses, type TransactionsResource, type TransformQuantity, type UpdateDiscountInput, type UpdateMeterPriceRequest, type UpdateMeterRequest, type UpdateMeterResponse, type UpdateOrderRequest, type UpdatePaymentIntentRequest, type UpdatePaymentMethodRequest, type UpdatePriceRequest, type UpdateProductRequest, type UpdateSetupIntentRequest, type UpdateSubscriptionItemInput, type UpdateSubscriptionScheduleRequest, type UpdateTaxRateRequest, type UsageAggregateResponse, type UsageBalanceMeter, type UsageBalanceResponse, type UsageEvent, type UsageEventError, type UsageEventListResponse, type ValidationError, type Void, type VoidCreateResponse, type VoidListResponse, type VoidRetrieveResponse, type VoidTerminalPaymentRequest, type WebhookDeliveriesGetData, type WebhookDeliveriesGetError, type WebhookDeliveriesGetErrors, type WebhookDeliveriesGetResponse, type WebhookDeliveriesGetResponses, type WebhookDeliveriesListData, type WebhookDeliveriesListError, type WebhookDeliveriesListErrors, type WebhookDeliveriesListResponse, type WebhookDeliveriesListResponses, type WebhookDeliveriesRetryData, type WebhookDeliveriesRetryError, type WebhookDeliveriesRetryErrors, type WebhookDeliveriesRetryResponse, type WebhookDeliveriesRetryResponses, type WebhookDelivery, type WebhookDeliveryErrorResponse, type WebhookDeliveryListResponse, type WebhookDeliveryResponse, type WebhookDeliveryRetryResponse, type WebhookEndpoint, type WebhookEndpointsCreateData, type WebhookEndpointsCreateResponse, type WebhookEndpointsCreateResponses, type WebhookEndpointsDeleteData, type WebhookEndpointsDeleteResponse, type WebhookEndpointsDeleteResponses, type WebhookEndpointsGetData, type WebhookEndpointsGetResponse, type WebhookEndpointsGetResponses, type WebhookEndpointsListData, type WebhookEndpointsListResponse, type WebhookEndpointsListResponses, type WebhookEndpointsResource, type WebhookEndpointsRotateSecretData, type WebhookEndpointsRotateSecretResponse, type WebhookEndpointsRotateSecretResponses, type WebhookEndpointsUpdateData, type WebhookEndpointsUpdateResponse, type WebhookEndpointsUpdateResponses, type WebhookEvent, type WebhookResource, analyticsRevenueMrrSummary, analyticsRevenueTimeSeries, buildGeneratedResources, checkoutSessionsCreate, checkoutSessionsExpire, checkoutSessionsGet, creditNotesCreate, creditNotesGet, creditNotesList, creditNotesListLines, creditNotesPreview, creditNotesVoid, customerMetersGet, customerMetersList, customerPortalCustomerGet, customerPortalInvoicesGet, customerPortalInvoicesList, customerPortalSessionsCreate, customerPortalSubscriptionsCancel, customerPortalSubscriptionsGet, customerPortalSubscriptionsList, customersCreate, customersGet, customersList, customersPaymentMethodsList, customersPaymentRailsGet, customersPreferredRailsGet, customersUpdate, RevKeenClient as default, entitlementsCheck, entitlementsList, eventsGet, eventsList, eventsResend, invoicesCreate, invoicesFinalize, invoicesGet, invoicesList, invoicesMarginEstimate, invoicesSend, invoicesUpdate, invoicesVoid, paymentIntentsCancel, paymentIntentsCapture, paymentIntentsConfirm, paymentIntentsCreate, paymentIntentsGet, paymentIntentsList, paymentLinksActivate, paymentLinksArchive, paymentLinksCreate, paymentLinksDeactivate, paymentLinksExpire, paymentLinksGet, paymentLinksList, paymentLinksUpdate, pricesArchive, pricesCreate, pricesGet, pricesList, pricesUpdate, productsCreate, productsGet, productsList, productsUpdate, refundsCreate, refundsGet, refundsList, subscriptionsCancel, subscriptionsCreate, subscriptionsGet, subscriptionsList, subscriptionsUpdate, transactionsGet, transactionsList, webhookDeliveriesGet, webhookDeliveriesList, webhookDeliveriesRetry, webhookEndpointsCreate, webhookEndpointsDelete, webhookEndpointsGet, webhookEndpointsList, webhookEndpointsRotateSecret, webhookEndpointsUpdate };
|