@volter/twin-stripe 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -21
- package/dist/generated/pack-facts.json +3 -3
- package/dist/journeys/coverage.json +596 -0
- package/dist/journeys/customer-life.json +6108 -0
- package/dist/journeys/customer-life.outline.md +371 -0
- package/dist/journeys/decisions.json +677 -0
- package/dist/journeys/demand.json +706 -0
- package/dist/journeys/score.json +853 -0
- package/dist/journeys/unreachable.json +102 -0
- package/dist/journeys/vendor-examples.json +8010 -0
- package/dist/spec/SOURCE.md +5 -1
- package/dist/spec/doc-examples.json +445 -0
- package/dist/spec/sources.json +135 -207
- package/dist/src/cli.d.ts +0 -1
- package/dist/src/cli.js +0 -2
- package/dist/src/engine/after-payment.d.ts +0 -1
- package/dist/src/engine/after-payment.js +0 -1
- package/dist/src/engine/common.d.ts +5 -5
- package/dist/src/engine/common.js +13 -11
- package/dist/src/engine/connect.d.ts +0 -21
- package/dist/src/engine/connect.js +1 -82
- package/dist/src/engine/customers.d.ts +0 -8
- package/dist/src/engine/customers.js +0 -22
- package/dist/src/engine/display.d.ts +0 -3
- package/dist/src/engine/display.js +0 -3
- package/dist/src/engine/files.d.ts +0 -7
- package/dist/src/engine/files.js +0 -10
- package/dist/src/engine/invoices.d.ts +6 -9
- package/dist/src/engine/invoices.js +56 -29
- package/dist/src/engine/issuing.d.ts +6 -8
- package/dist/src/engine/issuing.js +19 -10
- package/dist/src/engine/ledger.d.ts +0 -1
- package/dist/src/engine/ledger.js +0 -1
- package/dist/src/engine/oauth.js +1 -2
- package/dist/src/engine/refunds.js +2 -27
- package/dist/src/engine/stripe.d.ts +2 -7
- package/dist/src/engine/stripe.js +34 -83
- package/dist/src/engine/subscriptions.d.ts +0 -1
- package/dist/src/engine/subscriptions.js +0 -1
- package/dist/src/engine/version.d.ts +0 -2
- package/dist/src/engine/version.js +17 -6
- package/dist/src/fetch.js +2 -2
- package/dist/src/generated/surface.gen.json +1 -1
- package/dist/src/generated/ui.gen.json +1 -1
- package/dist/src/index.js +5 -3
- package/dist/src/manifest.js +348 -220
- package/dist/src/screens/billing-portal.js +5 -5
- package/dist/src/screens/{connect-oauth.d.ts → checkout-js.d.ts} +0 -1
- package/dist/src/screens/checkout-js.js +84 -0
- package/dist/src/screens/connect-onboarding.js +3 -3
- package/dist/src/screens/dashboard.d.ts +1 -1
- package/dist/src/screens/dashboard.js +52 -53
- package/dist/src/screens/stripe-js.js +53 -93
- package/dist/src/semantics/account.d.ts +2 -0
- package/dist/src/semantics/account.js +8 -0
- package/dist/src/semantics/accounts.js +3 -1
- package/dist/src/semantics/around.js +3 -6
- package/dist/src/semantics/billing_portal.d.ts +0 -1
- package/dist/src/semantics/billing_portal.js +1 -7
- package/dist/src/semantics/checkout.d.ts +1 -1
- package/dist/src/semantics/checkout.js +18 -15
- package/dist/src/semantics/clock.js +1 -7
- package/dist/src/semantics/customers.d.ts +1 -2
- package/dist/src/semantics/customers.js +32 -38
- package/dist/src/semantics/entitlements.d.ts +0 -2
- package/dist/src/semantics/entitlements.js +4 -50
- package/dist/src/semantics/events.d.ts +2 -3
- package/dist/src/semantics/events.js +6 -11
- package/dist/src/semantics/index.js +16 -38
- package/dist/src/semantics/invoices.d.ts +3 -8
- package/dist/src/semantics/invoices.js +134 -127
- package/dist/src/semantics/issuing.d.ts +6 -0
- package/dist/src/semantics/issuing.js +77 -0
- package/dist/src/semantics/payment_intents.d.ts +0 -1
- package/dist/src/semantics/payment_intents.js +5 -13
- package/dist/src/semantics/payment_methods.d.ts +0 -2
- package/dist/src/semantics/payment_methods.js +2 -26
- package/dist/src/semantics/payouts.d.ts +1 -0
- package/dist/src/semantics/payouts.js +8 -1
- package/dist/src/semantics/products.d.ts +1 -3
- package/dist/src/semantics/products.js +3 -14
- package/dist/src/semantics/refunds.d.ts +1 -2
- package/dist/src/semantics/refunds.js +1 -5
- package/dist/src/semantics/shared.d.ts +64 -336
- package/dist/src/semantics/shared.js +326 -1336
- package/dist/src/semantics/states.d.ts +20 -89
- package/dist/src/semantics/states.js +116 -334
- package/dist/src/semantics/subscriptions.d.ts +1 -2
- package/dist/src/semantics/subscriptions.js +23 -145
- package/dist/src/semantics/test_helpers.d.ts +2 -5
- package/dist/src/semantics/test_helpers.js +121 -43
- package/dist/src/semantics/webhook_endpoints.d.ts +2 -0
- package/dist/src/semantics/webhook_endpoints.js +26 -0
- package/generated/pack-facts.json +3 -3
- package/journeys/coverage.json +596 -0
- package/journeys/customer-life.json +6108 -0
- package/journeys/customer-life.outline.md +371 -0
- package/journeys/decisions.json +677 -0
- package/journeys/demand.json +706 -0
- package/journeys/score.json +853 -0
- package/journeys/unreachable.json +102 -0
- package/journeys/vendor-examples.json +8010 -0
- package/package.json +4 -3
- package/spec/SOURCE.md +5 -1
- package/spec/doc-examples.json +445 -0
- package/spec/sources.json +135 -207
- package/src/cli.ts +0 -3
- package/src/engine/after-payment.ts +0 -2
- package/src/engine/balance.ts +0 -1
- package/src/engine/checkout.ts +0 -1
- package/src/engine/common.ts +19 -17
- package/src/engine/connect.ts +1 -79
- package/src/engine/customers.ts +0 -25
- package/src/engine/display.ts +2 -3
- package/src/engine/files.ts +0 -13
- package/src/engine/invoices.ts +64 -33
- package/src/engine/issuing.ts +16 -11
- package/src/engine/ledger.ts +0 -2
- package/src/engine/oauth.ts +1 -2
- package/src/engine/onboarding.ts +0 -1
- package/src/engine/params.ts +0 -1
- package/src/engine/payment-intents.ts +0 -1
- package/src/engine/payment-methods.ts +0 -1
- package/src/engine/refunds.ts +2 -28
- package/src/engine/renewals.ts +0 -1
- package/src/engine/stripe.ts +35 -83
- package/src/engine/subscriptions.ts +0 -3
- package/src/engine/transfers.ts +0 -1
- package/src/engine/version.ts +15 -7
- package/src/engine/webhooks.ts +0 -2
- package/src/fetch.ts +2 -2
- package/src/generated/surface.gen.json +1 -1
- package/src/generated/ui.gen.json +1 -1
- package/src/index.ts +6 -4
- package/src/manifest.ts +348 -220
- package/src/screens/billing-portal.tsx +5 -7
- package/src/screens/checkout-js.ts +80 -0
- package/src/screens/checkout.tsx +0 -2
- package/src/screens/connect-onboarding.tsx +3 -5
- package/src/screens/dashboard.tsx +53 -73
- package/src/screens/stripe-js.ts +57 -125
- package/src/semantics/account.ts +10 -0
- package/src/semantics/account_links.ts +0 -1
- package/src/semantics/accounts.ts +8 -7
- package/src/semantics/apps.ts +1 -2
- package/src/semantics/around.ts +3 -6
- package/src/semantics/balance.ts +0 -1
- package/src/semantics/balance_transactions.ts +1 -3
- package/src/semantics/billing_portal.ts +1 -7
- package/src/semantics/charges.ts +1 -6
- package/src/semantics/checkout.ts +16 -12
- package/src/semantics/clock.ts +1 -8
- package/src/semantics/coupons.ts +0 -1
- package/src/semantics/customers.ts +32 -35
- package/src/semantics/doors.ts +2 -3
- package/src/semantics/entitlements.ts +1 -45
- package/src/semantics/events.ts +7 -14
- package/src/semantics/index.ts +16 -38
- package/src/semantics/invoice_payments.ts +1 -3
- package/src/semantics/invoices.ts +124 -119
- package/src/semantics/issuing.ts +74 -0
- package/src/semantics/payment_intents.ts +10 -17
- package/src/semantics/payment_methods.ts +2 -25
- package/src/semantics/payouts.ts +9 -3
- package/src/semantics/prices.ts +0 -1
- package/src/semantics/products.ts +4 -14
- package/src/semantics/promotion_codes.ts +0 -1
- package/src/semantics/radar.ts +1 -3
- package/src/semantics/refunds.ts +2 -11
- package/src/semantics/shared.ts +350 -1382
- package/src/semantics/states.ts +109 -330
- package/src/semantics/subscriptions.ts +25 -145
- package/src/semantics/test_helpers.ts +109 -43
- package/src/semantics/transfers.ts +1 -3
- package/src/semantics/webhook_endpoints.ts +27 -0
- package/src/server.ts +0 -1
- package/dist/src/engine/billing.d.ts +0 -5
- package/dist/src/engine/billing.js +0 -6
- package/dist/src/engine/charges.d.ts +0 -6
- package/dist/src/engine/charges.js +0 -13
- package/dist/src/engine/connect-settings.d.ts +0 -16
- package/dist/src/engine/connect-settings.js +0 -26
- package/dist/src/engine/coupons.d.ts +0 -0
- package/dist/src/engine/coupons.js +0 -5
- package/dist/src/engine/credit-notes.d.ts +0 -1
- package/dist/src/engine/credit-notes.js +0 -5
- package/dist/src/engine/disputes.d.ts +0 -0
- package/dist/src/engine/disputes.js +0 -9
- package/dist/src/engine/entitlements.d.ts +0 -1
- package/dist/src/engine/entitlements.js +0 -4
- package/dist/src/engine/ephemeral-keys.d.ts +0 -0
- package/dist/src/engine/ephemeral-keys.js +0 -4
- package/dist/src/engine/front.d.ts +0 -5
- package/dist/src/engine/front.js +0 -25
- package/dist/src/engine/payment-links.d.ts +0 -1
- package/dist/src/engine/payment-links.js +0 -5
- package/dist/src/engine/plans.d.ts +0 -6
- package/dist/src/engine/plans.js +0 -26
- package/dist/src/engine/platform.d.ts +0 -39
- package/dist/src/engine/platform.js +0 -34
- package/dist/src/engine/products.d.ts +0 -0
- package/dist/src/engine/products.js +0 -4
- package/dist/src/engine/setup-intents.d.ts +0 -1
- package/dist/src/engine/setup-intents.js +0 -4
- package/dist/src/engine/subscription-schedules.d.ts +0 -3
- package/dist/src/engine/subscription-schedules.js +0 -1
- package/dist/src/engine/tax.d.ts +0 -7
- package/dist/src/engine/tax.js +0 -28
- package/dist/src/engine/terminal.d.ts +0 -4
- package/dist/src/engine/terminal.js +0 -20
- package/dist/src/engine/test-clocks.d.ts +0 -5
- package/dist/src/engine/test-clocks.js +0 -9
- package/dist/src/engine/tokens.d.ts +0 -7
- package/dist/src/engine/tokens.js +0 -20
- package/dist/src/engine/treasury.d.ts +0 -23
- package/dist/src/engine/treasury.js +0 -45
- package/dist/src/screens/connect-oauth.js +0 -333
- package/dist/src/semantics/disputes.d.ts +0 -2
- package/dist/src/semantics/disputes.js +0 -5
- package/dist/src/semantics/invoiceitems.d.ts +0 -3
- package/dist/src/semantics/invoiceitems.js +0 -59
- package/dist/src/semantics/setup_intents.d.ts +0 -3
- package/dist/src/semantics/setup_intents.js +0 -41
- package/dist/src/semantics/subscription_items.d.ts +0 -5
- package/dist/src/semantics/subscription_items.js +0 -55
- package/dist/src/semantics/subscription_schedules.d.ts +0 -4
- package/dist/src/semantics/subscription_schedules.js +0 -60
- package/src/engine/billing.ts +0 -16
- package/src/engine/charges.ts +0 -19
- package/src/engine/connect-settings.ts +0 -23
- package/src/engine/coupons.ts +0 -5
- package/src/engine/credit-notes.ts +0 -6
- package/src/engine/disputes.ts +0 -9
- package/src/engine/entitlements.ts +0 -5
- package/src/engine/ephemeral-keys.ts +0 -3
- package/src/engine/front.ts +0 -31
- package/src/engine/payment-links.ts +0 -6
- package/src/engine/plans.ts +0 -42
- package/src/engine/platform.ts +0 -47
- package/src/engine/products.ts +0 -3
- package/src/engine/setup-intents.ts +0 -5
- package/src/engine/subscription-schedules.ts +0 -10
- package/src/engine/tax.ts +0 -39
- package/src/engine/terminal.ts +0 -23
- package/src/engine/test-clocks.ts +0 -11
- package/src/engine/tokens.ts +0 -22
- package/src/engine/treasury.ts +0 -47
- package/src/screens/connect-oauth.tsx +0 -376
- package/src/semantics/disputes.ts +0 -12
- package/src/semantics/invoiceitems.ts +0 -59
- package/src/semantics/setup_intents.ts +0 -45
- package/src/semantics/subscription_items.ts +0 -54
- package/src/semantics/subscription_schedules.ts +0 -66
package/dist/spec/sources.json
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
+
"archive:https://registry.npmjs.org/@stripe/stripe-js/-/stripe-js-8.6.0.tgz#sha256=13e61419e9076ab440cc636e34d3ea5df3fc62bbf2d6a80d3fd718e8cd47f0a2!/package/dist/stripe-js/checkout.d.ts": {
|
|
3
|
+
"status": 200,
|
|
4
|
+
"checked": "2026-10-03",
|
|
5
|
+
"sha256": "13e61419e9076ab440cc636e34d3ea5df3fc62bbf2d6a80d3fd718e8cd47f0a2",
|
|
6
|
+
"quotes": {
|
|
7
|
+
"export interface StripeCheckoutSession": true,
|
|
8
|
+
"loadActions: () => Promise<StripeCheckoutLoadActionsResult>": true
|
|
9
|
+
}
|
|
10
|
+
},
|
|
2
11
|
"https://docs.stripe.com/api/authentication": {
|
|
3
12
|
"status": 200,
|
|
4
13
|
"checked": "2026-09-30",
|
|
@@ -10,41 +19,16 @@
|
|
|
10
19
|
"status": 200,
|
|
11
20
|
"checked": "2026-09-30"
|
|
12
21
|
},
|
|
13
|
-
"https://docs.stripe.com/api/billing/
|
|
14
|
-
"status": 200,
|
|
15
|
-
"checked": "2026-09-30"
|
|
16
|
-
},
|
|
17
|
-
"https://docs.stripe.com/api/billing/alert/archive": {
|
|
18
|
-
"status": 200,
|
|
19
|
-
"checked": "2026-09-30"
|
|
20
|
-
},
|
|
21
|
-
"https://docs.stripe.com/api/billing/alert/deactivate": {
|
|
22
|
-
"status": 200,
|
|
23
|
-
"checked": "2026-09-30"
|
|
24
|
-
},
|
|
25
|
-
"https://docs.stripe.com/api/billing/meter/deactivate": {
|
|
22
|
+
"https://docs.stripe.com/api/billing/meter/create": {
|
|
26
23
|
"status": 200,
|
|
27
|
-
"checked": "2026-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"checked": "2026-09-30"
|
|
32
|
-
},
|
|
33
|
-
"https://docs.stripe.com/api/capabilities/update": {
|
|
34
|
-
"status": 200,
|
|
35
|
-
"checked": "2026-09-30"
|
|
36
|
-
},
|
|
37
|
-
"https://docs.stripe.com/api/charges/capture": {
|
|
38
|
-
"status": 200,
|
|
39
|
-
"checked": "2026-09-30"
|
|
24
|
+
"checked": "2026-10-03",
|
|
25
|
+
"quotes": {
|
|
26
|
+
"stripe_customer_id": true
|
|
27
|
+
}
|
|
40
28
|
},
|
|
41
29
|
"https://docs.stripe.com/api/charges/object#charge_object-refunded": {
|
|
42
30
|
"status": 200,
|
|
43
|
-
"checked": "2026-
|
|
44
|
-
},
|
|
45
|
-
"https://docs.stripe.com/api/checkout/sessions/expire": {
|
|
46
|
-
"status": 200,
|
|
47
|
-
"checked": "2026-09-30"
|
|
31
|
+
"checked": "2026-10-03"
|
|
48
32
|
},
|
|
49
33
|
"https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-payment_status": {
|
|
50
34
|
"status": 200,
|
|
@@ -54,54 +38,22 @@
|
|
|
54
38
|
"status": 200,
|
|
55
39
|
"checked": "2026-09-30"
|
|
56
40
|
},
|
|
57
|
-
"https://docs.stripe.com/api/
|
|
41
|
+
"https://docs.stripe.com/api/invoices/create_preview.md?query=subscription_details": {
|
|
58
42
|
"status": 200,
|
|
59
|
-
"checked": "2026-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
"https://docs.stripe.com/api/disputes/close": {
|
|
70
|
-
"status": 200,
|
|
71
|
-
"checked": "2026-09-30"
|
|
72
|
-
},
|
|
73
|
-
"https://docs.stripe.com/api/disputes/update#update_dispute-submit": {
|
|
74
|
-
"status": 200,
|
|
75
|
-
"checked": "2026-09-30"
|
|
76
|
-
},
|
|
77
|
-
"https://docs.stripe.com/api/fee_refunds/create": {
|
|
78
|
-
"status": 200,
|
|
79
|
-
"checked": "2026-09-30"
|
|
80
|
-
},
|
|
81
|
-
"https://docs.stripe.com/api/financial_connections/accounts/disconnect": {
|
|
82
|
-
"status": 200,
|
|
83
|
-
"checked": "2026-09-30"
|
|
84
|
-
},
|
|
85
|
-
"https://docs.stripe.com/api/invoices/delete": {
|
|
86
|
-
"status": 200,
|
|
87
|
-
"checked": "2026-10-02"
|
|
88
|
-
},
|
|
89
|
-
"https://docs.stripe.com/api/invoices/finalize": {
|
|
90
|
-
"status": 200,
|
|
91
|
-
"checked": "2026-09-30"
|
|
92
|
-
},
|
|
93
|
-
"https://docs.stripe.com/api/invoices/mark_uncollectible": {
|
|
94
|
-
"status": 200,
|
|
95
|
-
"checked": "2026-09-30"
|
|
43
|
+
"checked": "2026-10-04",
|
|
44
|
+
"quotes": {
|
|
45
|
+
"The default value is": true,
|
|
46
|
+
"forces the proration to be calculated as though the update was done at the specified time.": true,
|
|
47
|
+
"The time given must be within the current subscription period": true,
|
|
48
|
+
"cannot be set to": true,
|
|
49
|
+
"Disable creating prorations in this request.": true,
|
|
50
|
+
"Always invoice immediately for prorations.": true
|
|
51
|
+
}
|
|
96
52
|
},
|
|
97
53
|
"https://docs.stripe.com/api/invoices/pay": {
|
|
98
54
|
"status": 200,
|
|
99
55
|
"checked": "2026-09-30"
|
|
100
56
|
},
|
|
101
|
-
"https://docs.stripe.com/api/invoices/send": {
|
|
102
|
-
"status": 200,
|
|
103
|
-
"checked": "2026-09-30"
|
|
104
|
-
},
|
|
105
57
|
"https://docs.stripe.com/api/invoices/void": {
|
|
106
58
|
"status": 200,
|
|
107
59
|
"checked": "2026-09-30"
|
|
@@ -114,149 +66,60 @@
|
|
|
114
66
|
"status": 200,
|
|
115
67
|
"checked": "2026-09-30"
|
|
116
68
|
},
|
|
117
|
-
"https://docs.stripe.com/api/issuing/
|
|
69
|
+
"https://docs.stripe.com/api/issuing/cards/create": {
|
|
118
70
|
"status": 200,
|
|
119
|
-
"checked": "2026-
|
|
71
|
+
"checked": "2026-10-03",
|
|
72
|
+
"quotes": {
|
|
73
|
+
"Whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to inactive.": true,
|
|
74
|
+
"Defaults to inactive": true
|
|
75
|
+
}
|
|
120
76
|
},
|
|
121
77
|
"https://docs.stripe.com/api/issuing/cards/update": {
|
|
122
78
|
"status": 200,
|
|
123
79
|
"checked": "2026-09-30"
|
|
124
80
|
},
|
|
125
|
-
"https://docs.stripe.com/api/issuing/tokens/update": {
|
|
126
|
-
"status": 200,
|
|
127
|
-
"checked": "2026-09-30"
|
|
128
|
-
},
|
|
129
|
-
"https://docs.stripe.com/api/mandates/object": {
|
|
130
|
-
"status": 200,
|
|
131
|
-
"checked": "2026-09-30"
|
|
132
|
-
},
|
|
133
|
-
"https://docs.stripe.com/api/payment_intents/apply_customer_balance": {
|
|
134
|
-
"status": 200,
|
|
135
|
-
"checked": "2026-09-30"
|
|
136
|
-
},
|
|
137
81
|
"https://docs.stripe.com/api/payment_intents/cancel": {
|
|
138
82
|
"status": 200,
|
|
139
|
-
"checked": "2026-
|
|
140
|
-
},
|
|
141
|
-
"https://docs.stripe.com/api/payment_intents/capture": {
|
|
142
|
-
"status": 200,
|
|
143
|
-
"checked": "2026-09-30"
|
|
83
|
+
"checked": "2026-10-03"
|
|
144
84
|
},
|
|
145
85
|
"https://docs.stripe.com/api/payment_intents/confirm": {
|
|
146
86
|
"status": 200,
|
|
147
87
|
"checked": "2026-09-30"
|
|
148
88
|
},
|
|
149
|
-
"https://docs.stripe.com/api/
|
|
150
|
-
"status": 200,
|
|
151
|
-
"checked": "2026-09-30"
|
|
152
|
-
},
|
|
153
|
-
"https://docs.stripe.com/api/payment_links/payment_links/update": {
|
|
154
|
-
"status": 200,
|
|
155
|
-
"checked": "2026-09-30"
|
|
156
|
-
},
|
|
157
|
-
"https://docs.stripe.com/api/payouts/cancel": {
|
|
158
|
-
"status": 200,
|
|
159
|
-
"checked": "2026-09-30"
|
|
160
|
-
},
|
|
161
|
-
"https://docs.stripe.com/api/plans/delete": {
|
|
162
|
-
"status": 200,
|
|
163
|
-
"checked": "2026-09-30"
|
|
164
|
-
},
|
|
165
|
-
"https://docs.stripe.com/api/prices/update#update_price-active": {
|
|
89
|
+
"https://docs.stripe.com/api/plans/create": {
|
|
166
90
|
"status": 200,
|
|
167
|
-
"checked": "2026-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
"checked": "2026-09-30"
|
|
91
|
+
"checked": "2026-10-03",
|
|
92
|
+
"quotes": {
|
|
93
|
+
"It replaces the Plans API and is backwards compatible to simplify your migration.": true
|
|
94
|
+
}
|
|
172
95
|
},
|
|
173
96
|
"https://docs.stripe.com/api/promotion_codes/update": {
|
|
174
97
|
"status": 200,
|
|
175
98
|
"checked": "2026-09-30"
|
|
176
99
|
},
|
|
177
|
-
"https://docs.stripe.com/api/quotes/accept": {
|
|
178
|
-
"status": 200,
|
|
179
|
-
"checked": "2026-09-30"
|
|
180
|
-
},
|
|
181
|
-
"https://docs.stripe.com/api/quotes/cancel": {
|
|
182
|
-
"status": 200,
|
|
183
|
-
"checked": "2026-09-30"
|
|
184
|
-
},
|
|
185
|
-
"https://docs.stripe.com/api/quotes/finalize": {
|
|
186
|
-
"status": 200,
|
|
187
|
-
"checked": "2026-09-30"
|
|
188
|
-
},
|
|
189
|
-
"https://docs.stripe.com/api/radar/reviews/approve": {
|
|
190
|
-
"status": 200,
|
|
191
|
-
"checked": "2026-09-30"
|
|
192
|
-
},
|
|
193
|
-
"https://docs.stripe.com/api/refunds/cancel": {
|
|
194
|
-
"status": 200,
|
|
195
|
-
"checked": "2026-09-30"
|
|
196
|
-
},
|
|
197
|
-
"https://docs.stripe.com/api/refunds/create#create_refund-refund_application_fee": {
|
|
198
|
-
"status": 200,
|
|
199
|
-
"checked": "2026-09-30"
|
|
200
|
-
},
|
|
201
|
-
"https://docs.stripe.com/api/setup_intents/cancel": {
|
|
202
|
-
"status": 200,
|
|
203
|
-
"checked": "2026-09-30"
|
|
204
|
-
},
|
|
205
|
-
"https://docs.stripe.com/api/setup_intents/confirm": {
|
|
206
|
-
"status": 200,
|
|
207
|
-
"checked": "2026-09-30"
|
|
208
|
-
},
|
|
209
|
-
"https://docs.stripe.com/api/setup_intents/verify_microdeposits": {
|
|
210
|
-
"status": 200,
|
|
211
|
-
"checked": "2026-09-30"
|
|
212
|
-
},
|
|
213
|
-
"https://docs.stripe.com/api/subscription_schedules/cancel": {
|
|
214
|
-
"status": 200,
|
|
215
|
-
"checked": "2026-09-30"
|
|
216
|
-
},
|
|
217
|
-
"https://docs.stripe.com/api/subscription_schedules/release": {
|
|
218
|
-
"status": 200,
|
|
219
|
-
"checked": "2026-09-30"
|
|
220
|
-
},
|
|
221
100
|
"https://docs.stripe.com/api/subscriptions/cancel": {
|
|
222
101
|
"status": 200,
|
|
223
102
|
"checked": "2026-09-30"
|
|
224
103
|
},
|
|
225
|
-
"https://docs.stripe.com/api/subscriptions/
|
|
104
|
+
"https://docs.stripe.com/api/subscriptions/object": {
|
|
226
105
|
"status": 200,
|
|
227
|
-
"checked": "2026-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
"checked": "2026-09-30"
|
|
232
|
-
},
|
|
233
|
-
"https://docs.stripe.com/api/terminal/readers/present_payment_method": {
|
|
234
|
-
"status": 200,
|
|
235
|
-
"checked": "2026-09-30"
|
|
236
|
-
},
|
|
237
|
-
"https://docs.stripe.com/api/test_clocks/advance": {
|
|
238
|
-
"status": 200,
|
|
239
|
-
"checked": "2026-09-30"
|
|
240
|
-
},
|
|
241
|
-
"https://docs.stripe.com/api/topups/cancel": {
|
|
242
|
-
"status": 200,
|
|
243
|
-
"checked": "2026-09-30"
|
|
244
|
-
},
|
|
245
|
-
"https://docs.stripe.com/api/treasury": {
|
|
246
|
-
"status": 200,
|
|
247
|
-
"checked": "2026-09-30"
|
|
248
|
-
},
|
|
249
|
-
"https://docs.stripe.com/api/treasury/inbound_transfers": {
|
|
250
|
-
"status": 200,
|
|
251
|
-
"checked": "2026-09-30"
|
|
106
|
+
"checked": "2026-10-03",
|
|
107
|
+
"quotes": {
|
|
108
|
+
"subscription_items?subscription=": true
|
|
109
|
+
}
|
|
252
110
|
},
|
|
253
|
-
"https://docs.stripe.com/api/
|
|
111
|
+
"https://docs.stripe.com/api/subscriptions/update#update_subscription-trial_end": {
|
|
254
112
|
"status": 200,
|
|
255
113
|
"checked": "2026-09-30"
|
|
256
114
|
},
|
|
257
|
-
"https://docs.stripe.com/
|
|
115
|
+
"https://docs.stripe.com/billing/customer/balance": {
|
|
258
116
|
"status": 200,
|
|
259
|
-
"checked": "2026-
|
|
117
|
+
"checked": "2026-10-03",
|
|
118
|
+
"quotes": {
|
|
119
|
+
"Represents the starting value of the customer invoice balance when a customer is created using the API with a non-zero invoice balance.": true,
|
|
120
|
+
"All modifications to the invoice balance are recorded as Transactions": true,
|
|
121
|
+
"All Transactions created with the API or in the Dashboard have a type value of adjustment": true
|
|
122
|
+
}
|
|
260
123
|
},
|
|
261
124
|
"https://docs.stripe.com/billing/subscriptions/build-subscriptions": {
|
|
262
125
|
"status": 200,
|
|
@@ -270,11 +133,21 @@
|
|
|
270
133
|
"status": 200,
|
|
271
134
|
"checked": "2026-09-30"
|
|
272
135
|
},
|
|
273
|
-
"https://docs.stripe.com/billing/subscriptions/
|
|
136
|
+
"https://docs.stripe.com/billing/subscriptions/prorations": {
|
|
274
137
|
"status": 200,
|
|
275
|
-
"checked": "2026-
|
|
138
|
+
"checked": "2026-10-04",
|
|
139
|
+
"quotes": {
|
|
140
|
+
"Unused time on original 10 USD plan (credit)": true,
|
|
141
|
+
"Remaining time on new 20 USD plan (debit)": true,
|
|
142
|
+
"The current billing period’s start and end times are used to calculate the cost of the subscription before and after the change.": true,
|
|
143
|
+
"By default, Stripe calculates prorations down to the second.": true,
|
|
144
|
+
"When calculating proration credits or debits, Stripe uses the subscription’s discounted price, not the original price.": true,
|
|
145
|
+
"The prorated amount is calculated as soon as the API updates the subscription.": true,
|
|
146
|
+
"creates a non-proration debit, even when the debit covers a partial billing period.": true,
|
|
147
|
+
"no additional discounts are applied to the proration line items themselves": true
|
|
148
|
+
}
|
|
276
149
|
},
|
|
277
|
-
"https://docs.stripe.com/billing/subscriptions/trials
|
|
150
|
+
"https://docs.stripe.com/billing/subscriptions/trials": {
|
|
278
151
|
"status": 200,
|
|
279
152
|
"checked": "2026-09-30"
|
|
280
153
|
},
|
|
@@ -286,29 +159,42 @@
|
|
|
286
159
|
"status": 200,
|
|
287
160
|
"checked": "2026-09-30"
|
|
288
161
|
},
|
|
289
|
-
"https://docs.stripe.com/
|
|
162
|
+
"https://docs.stripe.com/changelog/clover/2025-09-30/polymorphic-coupon": {
|
|
290
163
|
"status": 200,
|
|
291
|
-
"checked": "2026-
|
|
164
|
+
"checked": "2026-10-03",
|
|
165
|
+
"quotes": {
|
|
166
|
+
"Moves the top-level coupon field on Promotion Codes to promotion.coupon": true,
|
|
167
|
+
"When you retrieve Promotion Codes, they don’t auto-expand the promotion.coupon field": true
|
|
168
|
+
}
|
|
292
169
|
},
|
|
293
|
-
"https://docs.stripe.com/connect/account-capabilities
|
|
170
|
+
"https://docs.stripe.com/connect/account-capabilities": {
|
|
294
171
|
"status": 200,
|
|
295
|
-
"checked": "2026-
|
|
172
|
+
"checked": "2026-10-03",
|
|
173
|
+
"quotes": {
|
|
174
|
+
"If a connected account has both card_payments and transfers": true
|
|
175
|
+
}
|
|
296
176
|
},
|
|
297
|
-
"https://docs.stripe.com/connect/
|
|
177
|
+
"https://docs.stripe.com/connect/authentication": {
|
|
298
178
|
"status": 200,
|
|
299
|
-
"checked": "2026-
|
|
179
|
+
"checked": "2026-10-03",
|
|
180
|
+
"quotes": {
|
|
181
|
+
"Stripe-Account header": true
|
|
182
|
+
}
|
|
300
183
|
},
|
|
301
|
-
"https://docs.stripe.com/
|
|
184
|
+
"https://docs.stripe.com/connect/destination-charges#issue-refunds": {
|
|
302
185
|
"status": 200,
|
|
303
|
-
"checked": "2026-
|
|
186
|
+
"checked": "2026-10-03"
|
|
304
187
|
},
|
|
305
|
-
"https://docs.stripe.com/
|
|
188
|
+
"https://docs.stripe.com/customer-management": {
|
|
306
189
|
"status": 200,
|
|
307
190
|
"checked": "2026-09-30"
|
|
308
191
|
},
|
|
309
192
|
"https://docs.stripe.com/invoicing/integration": {
|
|
310
193
|
"status": 200,
|
|
311
|
-
"checked": "2026-
|
|
194
|
+
"checked": "2026-10-02",
|
|
195
|
+
"quotes": {
|
|
196
|
+
"To finalize a draft invoice, use the Dashboard, send it to the customer, or pay it.": true
|
|
197
|
+
}
|
|
312
198
|
},
|
|
313
199
|
"https://docs.stripe.com/invoicing/integration/workflow-transitions#finalized": {
|
|
314
200
|
"status": 200,
|
|
@@ -329,6 +215,14 @@
|
|
|
329
215
|
"status": 200,
|
|
330
216
|
"checked": "2026-09-30"
|
|
331
217
|
},
|
|
218
|
+
"https://docs.stripe.com/issuing/testing": {
|
|
219
|
+
"status": 200,
|
|
220
|
+
"checked": "2026-10-03",
|
|
221
|
+
"quotes": {
|
|
222
|
+
"Before you create test transactions, you must add test funds to the Issuing balance on your account.": true,
|
|
223
|
+
"You can create test top-ups in the Dashboard, or with the Top-ups API": true
|
|
224
|
+
}
|
|
225
|
+
},
|
|
332
226
|
"https://docs.stripe.com/keys": {
|
|
333
227
|
"status": 200,
|
|
334
228
|
"checked": "2026-09-30",
|
|
@@ -344,29 +238,56 @@
|
|
|
344
238
|
"status": 200,
|
|
345
239
|
"checked": "2026-09-30"
|
|
346
240
|
},
|
|
347
|
-
"https://docs.stripe.com/payments/
|
|
241
|
+
"https://docs.stripe.com/payments/paymentintents/lifecycle": {
|
|
348
242
|
"status": 200,
|
|
349
243
|
"checked": "2026-09-30"
|
|
350
244
|
},
|
|
351
|
-
"https://docs.stripe.com/
|
|
245
|
+
"https://docs.stripe.com/payouts": {
|
|
352
246
|
"status": 200,
|
|
353
|
-
"checked": "2026-
|
|
247
|
+
"checked": "2026-10-03",
|
|
248
|
+
"quotes": {
|
|
249
|
+
"paid": true
|
|
250
|
+
}
|
|
354
251
|
},
|
|
355
252
|
"https://docs.stripe.com/payouts#payout-statuses": {
|
|
356
253
|
"status": 200,
|
|
357
254
|
"checked": "2026-09-30"
|
|
358
255
|
},
|
|
256
|
+
"https://docs.stripe.com/radar/lists": {
|
|
257
|
+
"status": 200,
|
|
258
|
+
"checked": "2026-10-03",
|
|
259
|
+
"quotes": {
|
|
260
|
+
"Use the Dashboard or the API to create lists.": true,
|
|
261
|
+
"Enter a name for the list": true,
|
|
262
|
+
"Select the type of list to create.": true,
|
|
263
|
+
"Click Add to save your new list.": true
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"https://docs.stripe.com/rate-limits": {
|
|
267
|
+
"status": 200,
|
|
268
|
+
"checked": "2026-10-01",
|
|
269
|
+
"quotes": {
|
|
270
|
+
"25 requests per second": true
|
|
271
|
+
}
|
|
272
|
+
},
|
|
359
273
|
"https://docs.stripe.com/refunds": {
|
|
360
274
|
"status": 200,
|
|
361
275
|
"checked": "2026-09-30"
|
|
362
276
|
},
|
|
363
|
-
"https://docs.stripe.com/
|
|
277
|
+
"https://docs.stripe.com/search": {
|
|
364
278
|
"status": 200,
|
|
365
|
-
"checked": "2026-
|
|
279
|
+
"checked": "2026-10-03",
|
|
280
|
+
"quotes": {
|
|
281
|
+
"Substring match operator (substrings must be a minimum of 3 characters)": true
|
|
282
|
+
}
|
|
366
283
|
},
|
|
367
|
-
"https://docs.stripe.com/testing
|
|
284
|
+
"https://docs.stripe.com/testing": {
|
|
368
285
|
"status": 200,
|
|
369
|
-
"checked": "2026-
|
|
286
|
+
"checked": "2026-10-02",
|
|
287
|
+
"quotes": {
|
|
288
|
+
"Generic decline 4000 0000 0000 0002": true,
|
|
289
|
+
"This card requires authentication on all transactions, regardless of how the card is set up.": true
|
|
290
|
+
}
|
|
370
291
|
},
|
|
371
292
|
"https://docs.stripe.com/webhooks": {
|
|
372
293
|
"status": 200,
|
|
@@ -374,5 +295,12 @@
|
|
|
374
295
|
"quotes": {
|
|
375
296
|
"register a webhook endpoint, Stripe pushes real-time data to it when": true
|
|
376
297
|
}
|
|
298
|
+
},
|
|
299
|
+
"https://github.com/stripe/stripe-mock/issues/31": {
|
|
300
|
+
"status": 200,
|
|
301
|
+
"checked": "2026-10-03",
|
|
302
|
+
"quotes": {
|
|
303
|
+
"Unrecognized request URL (GET: /v1/test).": true
|
|
304
|
+
}
|
|
377
305
|
}
|
|
378
306
|
}
|
package/dist/src/cli.d.ts
CHANGED
package/dist/src/cli.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export type Outcome = 'dispute' | 'dispute_not_received' | 'inquiry' | 'review' | 'available';
|
|
2
|
-
export declare const DAY = 86400;
|
|
3
2
|
/** The test cards whose success Stripe follows with its own act, by number and by their documented test names. */
|
|
4
3
|
export declare const AFTER_SUCCESS_CARDS: Record<string, {
|
|
5
4
|
brand: string;
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
// deadline depends on the card network); the dispute fee is 1500 cents in any currency (Stripe's US fee is $15); an
|
|
16
16
|
// elevated-risk review's risk score is 67 (Radar's elevated band); the application is `ca_twin`.
|
|
17
17
|
import { BYPASS_PENDING_CARDS } from "./test-cards.js";
|
|
18
|
-
export const DAY = 86_400;
|
|
19
18
|
/** The test cards whose success Stripe follows with its own act, by number and by their documented test names. */
|
|
20
19
|
export const AFTER_SUCCESS_CARDS = {
|
|
21
20
|
pm_card_createDispute: { brand: 'visa', number: '4000000000000259', outcome: 'dispute' },
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export type Row = Record<string, unknown>;
|
|
2
|
-
/** A removed discount as Stripe answers it: the discount, marked deleted (docs.stripe.com/api/discounts/delete). */
|
|
3
|
-
export declare function deletedDiscount(d: Row, now: unknown): Row;
|
|
4
2
|
/** Keep the rows whose field equals the request's parameter of the same name, for each name given. */
|
|
5
3
|
/** A list's range filter on a unix time (`created[gte]=…&created[lt]=…`, or one exact time). */
|
|
6
4
|
export declare function inRange(t: unknown, v: unknown): boolean;
|
|
@@ -8,12 +6,14 @@ export declare const SPEC_FIELDS: Map<string, Set<string>>;
|
|
|
8
6
|
/** A stored subject of any stored type, tombstones included, in the pack's view: what the pack's
|
|
9
7
|
* shared helpers look a price, a payment method or a card up by, read from the context's tree. */
|
|
10
8
|
export type Find = (storedType: string, id: string) => Row | undefined;
|
|
9
|
+
/** An account's external_accounts, "External accounts (bank accounts and debit cards) currently attached to this
|
|
10
|
+
* account" (docs.stripe.com/api/accounts/object), as the list its example answers. */
|
|
11
|
+
export declare const externalList: (account: string, data: Row[]) => Row;
|
|
12
|
+
/** A removed discount as Stripe answers it: the discount, marked deleted (docs.stripe.com/api/discounts/delete). */
|
|
13
|
+
export declare function deletedDiscount(d: Row, now: unknown): Row;
|
|
11
14
|
/** A refund's destination_details for a card charge: "If this is a `card` refund, this hash contains the transaction
|
|
12
15
|
* specific details" and its `type` "can be `refund`, `reversal`, or `pending`" — a reversal, where "The original charge
|
|
13
16
|
* will drop off the bank statement altogether", for an authorization released uncaptured, else a refund, "a credit entry
|
|
14
17
|
* on the bank statement" (docs.stripe.com/api/refunds/object). The network's reference number the twin never has. A
|
|
15
18
|
* charge not paid by card answers none. */
|
|
16
19
|
export declare function refundDestination(charge: Row, type: 'refund' | 'reversal'): Row;
|
|
17
|
-
/** An account's external_accounts, "External accounts (bank accounts and debit cards) currently attached to this
|
|
18
|
-
* account" (docs.stripe.com/api/accounts/object), as the list its example answers. */
|
|
19
|
-
export declare const externalList: (account: string, data: Row[]) => Row;
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
+
// Stripe's shared computation over rows already read: the fields each object's spec gives, a row as Stripe answers it,
|
|
2
|
+
// and the list and refund shapes (the handlers' shared behaviour is ../semantics/shared.ts).
|
|
1
3
|
import surface from '../generated/surface.gen.json' with { type: 'json' };
|
|
4
|
+
/** Keep the rows whose field equals the request's parameter of the same name, for each name given. */
|
|
5
|
+
/** A list's range filter on a unix time (`created[gte]=…&created[lt]=…`, or one exact time). */
|
|
6
|
+
export function inRange(t, v) {
|
|
7
|
+
const at = Number(t);
|
|
8
|
+
const r = (v && typeof v === 'object' ? v : { gte: v, lte: v });
|
|
9
|
+
return (r.gt === undefined || at > Number(r.gt)) && (r.gte === undefined || at >= Number(r.gte)) && (r.lt === undefined || at < Number(r.lt)) && (r.lte === undefined || at <= Number(r.lte));
|
|
10
|
+
}
|
|
11
|
+
export const SPEC_FIELDS = new Map(surface.resources.map((r) => [r.name, new Set(r.fields.map((f) => f.name))]));
|
|
12
|
+
/** An account's external_accounts, "External accounts (bank accounts and debit cards) currently attached to this
|
|
13
|
+
* account" (docs.stripe.com/api/accounts/object), as the list its example answers. */
|
|
14
|
+
export const externalList = (account, data) => ({ object: 'list', data, has_more: false, total_count: data.length, url: `/v1/accounts/${account}/external_accounts` });
|
|
2
15
|
/** A removed discount as Stripe answers it: the discount, marked deleted (docs.stripe.com/api/discounts/delete). */
|
|
3
16
|
export function deletedDiscount(d, now) {
|
|
4
17
|
const coupon = d.coupon && typeof d.coupon === 'object' ? String(d.coupon.id) : typeof d.coupon === 'string' ? d.coupon : null;
|
|
@@ -8,14 +21,6 @@ export function deletedDiscount(d, now) {
|
|
|
8
21
|
subscription_item: d.subscription_item ?? null, source: d.source ?? { type: 'coupon', coupon }, start: d.start ?? now,
|
|
9
22
|
};
|
|
10
23
|
}
|
|
11
|
-
/** Keep the rows whose field equals the request's parameter of the same name, for each name given. */
|
|
12
|
-
/** A list's range filter on a unix time (`created[gte]=…&created[lt]=…`, or one exact time). */
|
|
13
|
-
export function inRange(t, v) {
|
|
14
|
-
const at = Number(t);
|
|
15
|
-
const r = (v && typeof v === 'object' ? v : { gte: v, lte: v });
|
|
16
|
-
return (r.gt === undefined || at > Number(r.gt)) && (r.gte === undefined || at >= Number(r.gte)) && (r.lt === undefined || at < Number(r.lt)) && (r.lte === undefined || at <= Number(r.lte));
|
|
17
|
-
}
|
|
18
|
-
export const SPEC_FIELDS = new Map(surface.resources.map((r) => [r.name, new Set(r.fields.map((f) => f.name))]));
|
|
19
24
|
/** A refund's destination_details for a card charge: "If this is a `card` refund, this hash contains the transaction
|
|
20
25
|
* specific details" and its `type` "can be `refund`, `reversal`, or `pending`" — a reversal, where "The original charge
|
|
21
26
|
* will drop off the bank statement altogether", for an authorization released uncaptured, else a refund, "a credit entry
|
|
@@ -27,6 +32,3 @@ export function refundDestination(charge, type) {
|
|
|
27
32
|
return {};
|
|
28
33
|
return { destination_details: { type: 'card', card: { reference: null, reference_status: null, reference_type: null, type } } };
|
|
29
34
|
}
|
|
30
|
-
/** An account's external_accounts, "External accounts (bank accounts and debit cards) currently attached to this
|
|
31
|
-
* account" (docs.stripe.com/api/accounts/object), as the list its example answers. */
|
|
32
|
-
export const externalList = (account, data) => ({ object: 'list', data, has_more: false, total_count: data.length, url: `/v1/accounts/${account}/external_accounts` });
|
|
@@ -33,8 +33,6 @@ export declare const at_path: (a: Row, path: string) => unknown;
|
|
|
33
33
|
export declare const CARD_COMPANY_NOW: string[];
|
|
34
34
|
export declare const CARD_COMPANY_LATER: string[];
|
|
35
35
|
export declare const CARD_INDIVIDUAL_NOW: string[];
|
|
36
|
-
/** A field only card_payments asks for (the transfers capability's requirements leave it out). */
|
|
37
|
-
export declare const cardOnly: (field: string) => boolean;
|
|
38
36
|
export declare const personHas: (p: Row, field: string) => boolean;
|
|
39
37
|
export declare const met: (a: Row, bank: boolean, field: string, persons?: Row[]) => boolean;
|
|
40
38
|
export declare function customRequirements(a: Row, bank: boolean, persons?: Row[]): {
|
|
@@ -45,22 +43,3 @@ export declare function customRequirements(a: Row, bank: boolean, persons?: Row[
|
|
|
45
43
|
* object answers company.tax_id_provided and individual.ssn_last_4_provided, never the numbers;
|
|
46
44
|
* docs.stripe.com/api/accounts/object). */
|
|
47
45
|
export declare function keptKyc(params: Row): Row;
|
|
48
|
-
/** A person's details as Stripe keeps them: an SSN or ID number given is kept only as provided (the Person object
|
|
49
|
-
* answers ssn_last_4_provided and id_number_provided, never the numbers; docs.stripe.com/api/persons/object). */
|
|
50
|
-
export declare function keptPerson(params: Row, was?: Row): Row;
|
|
51
|
-
export declare const RELATIONSHIP: Row;
|
|
52
|
-
/** A capability as its account stands: its status, and the account's requirements that capability asks for (transfers
|
|
53
|
-
* leaves out what only card_payments asks for). Where the documentation stops and the twin decides: the account-wide
|
|
54
|
-
* fields (the bank account, the terms) belong to every capability. */
|
|
55
|
-
export declare const capabilityBody: (acct: Row, id: string, status: unknown, requested?: boolean, requestedAt?: unknown) => Row;
|
|
56
|
-
/** Every embedded component an account session answers (the served spec requires all of them), each enabled only when
|
|
57
|
-
* the request enables it, with its features: what the request gives, else the spec's stated default, "The default
|
|
58
|
-
* value for this feature is `true`" (external_account_collection); disable_stripe_user_authentication "the opposite of
|
|
59
|
-
* the `external_account_collection` value"; edit_payout_schedule and standard_payouts "Defaults to `true` when
|
|
60
|
-
* `controller.losses.payments` is set to `stripe` for the account, otherwise `false`"; capture_payments, dispute_management
|
|
61
|
-
* and refund_management "true by default"; destination_on_behalf_of_charge_management "false by default";
|
|
62
|
-
* smart_disputes_management "Defaults to the value of `dispute_management`". Where the documentation stops and the twin
|
|
63
|
-
* decides: instant_payouts (described as `enabled` "when Stripe is responsible for negative account balances", typed
|
|
64
|
-
* boolean) is true exactly then, and the Issuing and financial-account features, which state no default, are false. */
|
|
65
|
-
export declare const SESSION_COMPONENTS: Record<string, string[]>;
|
|
66
|
-
export declare function sessionComponents(account: Row, given: Row): Row;
|