@flowio/types 11.24.78 → 11.24.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-internal.d.ts +94 -67
- package/dist/api.d.ts +49 -3
- package/package.json +2 -2
- package/src/api-internal.ts +124 -66
- package/src/api.ts +89 -3
package/dist/api-internal.d.ts
CHANGED
|
@@ -1931,6 +1931,7 @@ declare namespace io.flow.billing.csv.v0.models {
|
|
|
1931
1931
|
interface BillingCsvTransactionMetadata {
|
|
1932
1932
|
readonly channel?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataChannel;
|
|
1933
1933
|
readonly shipping_label?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabel;
|
|
1934
|
+
readonly shipping_label_revenue_share?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabelRevenueShare;
|
|
1934
1935
|
readonly trueup?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataTrueup;
|
|
1935
1936
|
readonly manual?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataManual;
|
|
1936
1937
|
}
|
|
@@ -1945,6 +1946,11 @@ declare namespace io.flow.billing.csv.v0.models {
|
|
|
1945
1946
|
interface BillingCsvTransactionMetadataShippingLabel {
|
|
1946
1947
|
readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
|
|
1947
1948
|
}
|
|
1949
|
+
interface BillingCsvTransactionMetadataShippingLabelRevenueShare {
|
|
1950
|
+
readonly label_id: string;
|
|
1951
|
+
readonly base_amount?: number;
|
|
1952
|
+
readonly percentage?: number;
|
|
1953
|
+
}
|
|
1948
1954
|
interface BillingCsvTransactionMetadataTrueup {
|
|
1949
1955
|
readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
|
|
1950
1956
|
}
|
|
@@ -2018,10 +2024,12 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2018
2024
|
type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
|
|
2019
2025
|
type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
|
|
2020
2026
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
2021
|
-
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
|
|
2027
|
+
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded' | 'previously_declined_do_not_retry' | 'highest_risk_level' | 'requested_block_on_incorrect_cvc';
|
|
2022
2028
|
type ErrorCode = 'invalid_number' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_cvc' | 'invalid_swipe_data' | 'country_code_invalid' | 'email_invalid' | 'postal_code_invalid' | 'invalid_characters' | 'url_invalid' | 'invalid_charge_amount' | 'incorrect_number' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_zip' | 'card_declined' | 'expired_card' | 'missing' | 'processing_error' | 'account_closed' | 'amount_too_small' | 'amount_too_large' | 'api_key_expired' | 'authentication_required' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'insufficient_funds' | 'intent_invalid_state' | 'livemode_mismatch' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_unexpected_state' | 'payment_intent_invalid_parameter' | 'payment_method_billing_details_address_missing' | 'payment_method_customer_decline' | 'payment_method_currency_mismatch' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'platform_api_key_expired' | 'refund_disputed_payment' | 'testmode_charges_only' | 'tls_version_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state';
|
|
2023
2029
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
2024
2030
|
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | 'payment_intent.created' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'payment_intent.requires_action' | 'payment_intent.canceled' | 'payment_intent.processing' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
2031
|
+
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
2032
|
+
type FeatureAvailability = 'available' | 'unavailable';
|
|
2025
2033
|
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
2026
2034
|
type KlarnaProduct = 'payment';
|
|
2027
2035
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
@@ -2159,6 +2167,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2159
2167
|
readonly currency: string;
|
|
2160
2168
|
readonly customer?: string;
|
|
2161
2169
|
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
2170
|
+
readonly disputed?: boolean;
|
|
2162
2171
|
readonly paid: boolean;
|
|
2163
2172
|
readonly refunded: boolean;
|
|
2164
2173
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -2178,6 +2187,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2178
2187
|
readonly calculated_statement_descriptor?: string;
|
|
2179
2188
|
readonly statement_descriptor?: string;
|
|
2180
2189
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
2190
|
+
readonly payment_method?: string;
|
|
2181
2191
|
}
|
|
2182
2192
|
interface ChargeDestination {
|
|
2183
2193
|
readonly account: string;
|
|
@@ -2203,6 +2213,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2203
2213
|
readonly amount_refunded: number;
|
|
2204
2214
|
readonly authorization_code?: string;
|
|
2205
2215
|
readonly captured: boolean;
|
|
2216
|
+
readonly disputed?: boolean;
|
|
2206
2217
|
readonly created: number;
|
|
2207
2218
|
readonly currency: string;
|
|
2208
2219
|
readonly customer?: string;
|
|
@@ -2226,6 +2237,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2226
2237
|
readonly calculated_statement_descriptor?: string;
|
|
2227
2238
|
readonly statement_descriptor?: string;
|
|
2228
2239
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
2240
|
+
readonly payment_method?: string;
|
|
2229
2241
|
}
|
|
2230
2242
|
interface CodeVerification {
|
|
2231
2243
|
readonly attempts_remaining: number;
|
|
@@ -2248,6 +2260,12 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2248
2260
|
interface Error {
|
|
2249
2261
|
readonly error: io.flow.stripe.v0.models.StripeError;
|
|
2250
2262
|
}
|
|
2263
|
+
interface ExtendedAuthorization {
|
|
2264
|
+
readonly status?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
|
|
2265
|
+
}
|
|
2266
|
+
interface IncrementalAuthorization {
|
|
2267
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
2268
|
+
}
|
|
2251
2269
|
interface Keys {
|
|
2252
2270
|
readonly secret?: string;
|
|
2253
2271
|
readonly publishable?: string;
|
|
@@ -2280,6 +2298,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2280
2298
|
readonly payment_request_id?: string;
|
|
2281
2299
|
readonly payment_request_order_reference?: string;
|
|
2282
2300
|
}
|
|
2301
|
+
interface Multicapture {
|
|
2302
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
2303
|
+
}
|
|
2283
2304
|
interface NetworkTokenUsed {
|
|
2284
2305
|
readonly used?: boolean;
|
|
2285
2306
|
}
|
|
@@ -2321,6 +2342,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2321
2342
|
readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
2322
2343
|
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
2323
2344
|
}
|
|
2345
|
+
interface Overcapture {
|
|
2346
|
+
readonly maximum_amount_capturable?: number;
|
|
2347
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
2348
|
+
}
|
|
2324
2349
|
interface Owner {
|
|
2325
2350
|
readonly address?: io.flow.stripe.v0.models.Address;
|
|
2326
2351
|
readonly email?: string;
|
|
@@ -2389,7 +2414,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2389
2414
|
readonly off_session?: boolean;
|
|
2390
2415
|
readonly payment_method?: string;
|
|
2391
2416
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
2392
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
2417
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
2393
2418
|
readonly payment_method_types?: string[];
|
|
2394
2419
|
readonly receipt_email?: string;
|
|
2395
2420
|
readonly save_payment_method?: boolean;
|
|
@@ -2409,7 +2434,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2409
2434
|
readonly on_behalf_of?: string;
|
|
2410
2435
|
readonly payment_method?: string;
|
|
2411
2436
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
2412
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
2437
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
2413
2438
|
readonly payment_method_types?: string[];
|
|
2414
2439
|
readonly receipt_email?: string;
|
|
2415
2440
|
readonly return_url?: string;
|
|
@@ -2506,6 +2531,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2506
2531
|
readonly issuer?: string;
|
|
2507
2532
|
readonly wallet?: io.flow.stripe.v0.unions.CardWallet;
|
|
2508
2533
|
readonly network_transaction_id?: string;
|
|
2534
|
+
readonly extended_authorization?: io.flow.stripe.v0.models.ExtendedAuthorization;
|
|
2535
|
+
readonly incremental_authorization?: io.flow.stripe.v0.models.IncrementalAuthorization;
|
|
2536
|
+
readonly multicapture?: io.flow.stripe.v0.models.Multicapture;
|
|
2537
|
+
readonly overcapture?: io.flow.stripe.v0.models.Overcapture;
|
|
2509
2538
|
}
|
|
2510
2539
|
interface PaymentMethodDetailsKlarna {
|
|
2511
2540
|
readonly type: 'klarna';
|
|
@@ -2529,6 +2558,16 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2529
2558
|
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
2530
2559
|
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
2531
2560
|
readonly mcc?: string;
|
|
2561
|
+
readonly capture_before?: number;
|
|
2562
|
+
}
|
|
2563
|
+
interface PaymentMethodOptionsCardForm {
|
|
2564
|
+
readonly network?: string;
|
|
2565
|
+
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
2566
|
+
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
2567
|
+
readonly mcc?: string;
|
|
2568
|
+
}
|
|
2569
|
+
interface PaymentMethodOptionsForm {
|
|
2570
|
+
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
|
|
2532
2571
|
}
|
|
2533
2572
|
interface PaymentOutcome {
|
|
2534
2573
|
readonly network_status?: io.flow.stripe.v0.enums.NetworkStatus;
|
|
@@ -6790,6 +6829,10 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
6790
6829
|
readonly order_created_at?: string;
|
|
6791
6830
|
readonly order_updated_at?: string;
|
|
6792
6831
|
}
|
|
6832
|
+
interface ChannelOrderAcceptanceDetails {
|
|
6833
|
+
readonly order_acceptance: io.flow.channel.internal.v0.models.ChannelOrderAcceptance;
|
|
6834
|
+
readonly external_order: any;
|
|
6835
|
+
}
|
|
6793
6836
|
interface ChannelOrderAcceptanceForm {
|
|
6794
6837
|
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
6795
6838
|
}
|
|
@@ -8126,65 +8169,24 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
|
|
|
8126
8169
|
readonly products: boolean;
|
|
8127
8170
|
readonly shipping: boolean;
|
|
8128
8171
|
}
|
|
8172
|
+
interface RecordReference {
|
|
8173
|
+
readonly id: string;
|
|
8174
|
+
}
|
|
8129
8175
|
interface RefundRecord {
|
|
8130
|
-
readonly
|
|
8131
|
-
readonly
|
|
8132
|
-
readonly
|
|
8133
|
-
readonly
|
|
8134
|
-
readonly
|
|
8135
|
-
readonly
|
|
8136
|
-
readonly
|
|
8137
|
-
readonly
|
|
8138
|
-
readonly
|
|
8139
|
-
readonly
|
|
8140
|
-
readonly
|
|
8141
|
-
readonly
|
|
8142
|
-
readonly
|
|
8143
|
-
readonly
|
|
8144
|
-
readonly merchant_name: string;
|
|
8145
|
-
readonly destination_country: string;
|
|
8146
|
-
readonly shopper_country_is_eu: boolean;
|
|
8147
|
-
readonly order_refund_reason_name: string;
|
|
8148
|
-
readonly order_refund_status_name: string;
|
|
8149
|
-
readonly original_ccy: string;
|
|
8150
|
-
readonly transaction_ccy: string;
|
|
8151
|
-
readonly total_refund_amount_exc_vat_in_transaction_ccy?: number;
|
|
8152
|
-
readonly refund_vat_in_transaction_ccy?: number;
|
|
8153
|
-
readonly total_refund_amount_inc_vat_in_transaction_ccy?: number;
|
|
8154
|
-
readonly merchant_total_products_refund_amount_exc_vat_in_original_ccy: number;
|
|
8155
|
-
readonly merchant_shipping_refund_amount_exc_vat_in_transaction_ccy?: number;
|
|
8156
|
-
readonly merchant_shipping_refund_amount_exc_vat_in_original_ccy: number;
|
|
8157
|
-
readonly total_refund_amount_exc_tax_collected_in_shopper_ccy?: number;
|
|
8158
|
-
readonly tax_collected_amount_in_shopper_ccy: number;
|
|
8159
|
-
readonly total_refund_amount_inc_tax_collected_in_shopper_ccy?: number;
|
|
8160
|
-
readonly payment_gateway: string;
|
|
8161
|
-
readonly min_product_customer_vat_rate?: number;
|
|
8162
|
-
readonly is_virtual_order: boolean;
|
|
8163
|
-
readonly is_mixed_virtual_order: boolean;
|
|
8164
|
-
readonly total_refund_amount_exc_tax_collected_in_usd: number;
|
|
8165
|
-
readonly tax_collected_amount_in_usd: number;
|
|
8166
|
-
readonly total_refund_amount_inc_tax_collected_in_usd: number;
|
|
8167
|
-
readonly total_refund_amount_exc_tax_collected_in_eur: number;
|
|
8168
|
-
readonly tax_collected_amount_in_eur: number;
|
|
8169
|
-
readonly total_refund_amount_inc_tax_collected_in_eur: number;
|
|
8170
|
-
readonly is_wyol_order: boolean;
|
|
8171
|
-
readonly is_duties_guaranteed: boolean;
|
|
8172
|
-
readonly invoice_id?: string;
|
|
8173
|
-
readonly total_refund_amount_exc_vat_in_entity_ccy: number;
|
|
8174
|
-
readonly refund_vat_in_entity_ccy: number;
|
|
8175
|
-
readonly total_refund_amount_inc_vat_in_entity_ccy: number;
|
|
8176
|
-
readonly merchant_total_products_refund_amount_exc_vat_in_entity_ccy: number;
|
|
8177
|
-
readonly merchant_shipping_refund_amount_exc_vat_in_entity_ccy: number;
|
|
8178
|
-
readonly merchant_duties_and_taxes_refund_amount_in_entity_ccy: number;
|
|
8179
|
-
readonly merchant_service_gesture_amount_exc_vat_in_entity_ccy: number;
|
|
8180
|
-
readonly customer_prepaid_refund_amount_exc_vat_in_entity_ccy: number;
|
|
8181
|
-
readonly total_refund_amount_exc_tax_collected_in_entity_ccy: number;
|
|
8182
|
-
readonly tax_collected_amount_in_entity_ccy: number;
|
|
8183
|
-
readonly total_refund_amount_inc_tax_collected_in_entity_ccy: number;
|
|
8184
|
-
readonly conversion_rate_transaction_to_entity_ccy: number;
|
|
8185
|
-
readonly merchant_order_id: string;
|
|
8186
|
-
readonly transaction_date: string;
|
|
8187
|
-
readonly debug_console_order_link: string;
|
|
8176
|
+
readonly id: string;
|
|
8177
|
+
readonly parent?: io.flow.billing.reporting.csv.v0.models.RecordReference;
|
|
8178
|
+
readonly merchant: io.flow.billing.reporting.csv.v0.models.ReportingOrganizationSummary;
|
|
8179
|
+
readonly order: io.flow.billing.reporting.csv.v0.models.ReportingOrderSummary;
|
|
8180
|
+
readonly entity: io.flow.billing.reporting.csv.v0.models.ReportingEntity;
|
|
8181
|
+
readonly vendor: io.flow.billing.reporting.csv.v0.models.ReportingVendor;
|
|
8182
|
+
readonly currencies: io.flow.billing.reporting.csv.v0.models.ReportingCurrencies;
|
|
8183
|
+
readonly conversion_rate: io.flow.billing.reporting.csv.v0.models.ReportingConversionRates;
|
|
8184
|
+
readonly reconciliation: io.flow.billing.reporting.csv.v0.models.ReportingReconciliation;
|
|
8185
|
+
readonly merchant_subsidies: io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
|
|
8186
|
+
readonly merchant_fees: io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
|
|
8187
|
+
readonly merchant_transactions: io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
|
|
8188
|
+
readonly debug: io.flow.billing.reporting.csv.v0.models.ReportingDebug;
|
|
8189
|
+
readonly return?: io.flow.billing.reporting.csv.v0.models.ReportingReturn;
|
|
8188
8190
|
}
|
|
8189
8191
|
interface ReportingAuthorizationReference {
|
|
8190
8192
|
readonly id: string;
|
|
@@ -8299,6 +8301,7 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
|
|
|
8299
8301
|
readonly tax: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
|
|
8300
8302
|
readonly duty: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
|
|
8301
8303
|
readonly freight: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
|
|
8304
|
+
readonly refund: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
|
|
8302
8305
|
}
|
|
8303
8306
|
interface ReportingMonetaryValue {
|
|
8304
8307
|
readonly transaction: number;
|
|
@@ -8325,6 +8328,9 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
|
|
|
8325
8328
|
readonly month: number;
|
|
8326
8329
|
readonly year: number;
|
|
8327
8330
|
}
|
|
8331
|
+
interface ReportingReturn {
|
|
8332
|
+
readonly placeholder: string;
|
|
8333
|
+
}
|
|
8328
8334
|
interface ReportingShopperFees {
|
|
8329
8335
|
readonly fuel: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
|
|
8330
8336
|
readonly remote_area: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
|
|
@@ -8348,23 +8354,23 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
|
|
|
8348
8354
|
}
|
|
8349
8355
|
interface SalesRecord {
|
|
8350
8356
|
readonly id: string;
|
|
8351
|
-
readonly parent?: io.flow.billing.reporting.csv.v0.models.
|
|
8357
|
+
readonly parent?: io.flow.billing.reporting.csv.v0.models.RecordReference;
|
|
8352
8358
|
readonly merchant: io.flow.billing.reporting.csv.v0.models.ReportingOrganizationSummary;
|
|
8353
8359
|
readonly order: io.flow.billing.reporting.csv.v0.models.ReportingOrderSummary;
|
|
8354
8360
|
readonly entity: io.flow.billing.reporting.csv.v0.models.ReportingEntity;
|
|
8355
8361
|
readonly vendor: io.flow.billing.reporting.csv.v0.models.ReportingVendor;
|
|
8356
8362
|
readonly currencies: io.flow.billing.reporting.csv.v0.models.ReportingCurrencies;
|
|
8357
8363
|
readonly conversion_rate: io.flow.billing.reporting.csv.v0.models.ReportingConversionRates;
|
|
8358
|
-
readonly fulfillment: io.flow.billing.reporting.csv.v0.models.ReportingFulfillment;
|
|
8359
8364
|
readonly reconciliation: io.flow.billing.reporting.csv.v0.models.ReportingReconciliation;
|
|
8360
|
-
readonly marked_as_final: io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
|
|
8361
8365
|
readonly merchant_subsidies: io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
|
|
8362
8366
|
readonly merchant_fees: io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
|
|
8363
8367
|
readonly merchant_transactions: io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
|
|
8364
|
-
readonly vat_remittance: io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
|
|
8365
8368
|
readonly debug: io.flow.billing.reporting.csv.v0.models.ReportingDebug;
|
|
8369
|
+
readonly fulfillment: io.flow.billing.reporting.csv.v0.models.ReportingFulfillment;
|
|
8370
|
+
readonly vat_remittance: io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
|
|
8371
|
+
readonly marked_as_final: io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
|
|
8366
8372
|
}
|
|
8367
|
-
interface
|
|
8373
|
+
interface TransactionReference {
|
|
8368
8374
|
readonly id: string;
|
|
8369
8375
|
}
|
|
8370
8376
|
}
|
|
@@ -13821,6 +13827,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13821
13827
|
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
|
|
13822
13828
|
type ChannelOrderFulfillmentStatusCode = 'unfulfilled' | 'fulfilled' | 'partial' | 'cancelled';
|
|
13823
13829
|
type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
|
|
13830
|
+
type ChargeEstimateSource = 'global-e' | 'shopify';
|
|
13831
|
+
type ChargeInputType = 'fuelsc' | 'incoterm_ddp' | 'delivery_confirmation' | 'base_charge' | 'package_pickup' | 'insurance' | 'usps_first_mile' | 'oversize_piece' | 'incoterm_dap' | 'remote_area_delivery';
|
|
13824
13832
|
type ChargebackPaymentStatus = 'captured' | 'refunded';
|
|
13825
13833
|
type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
|
|
13826
13834
|
type CheckoutAddAuthorizationErrorCode = 'checkout_not_found' | 'authorization_not_found';
|
|
@@ -13996,6 +14004,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13996
14004
|
type OrganizationPaymentStatus = 'active' | 'archived';
|
|
13997
14005
|
type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
|
|
13998
14006
|
type OrganizationRestrictionNoteType = 'internal' | 'rejection_reason' | 'additional_rejection_info';
|
|
14007
|
+
type OrganizationRestrictionReviewType = 'all_pending' | 'pending_verification';
|
|
13999
14008
|
type OrganizationRestrictionRiskLevel = '5' | '15';
|
|
14000
14009
|
type OrganizationRestrictionScreeningStatus = 'in_review' | 'fully_reviewed' | 'rejected' | 'unscreened';
|
|
14001
14010
|
type OutputStyle = 'flow' | 'shopify_p1';
|
|
@@ -14015,7 +14024,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14015
14024
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
14016
14025
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
14017
14026
|
type PromptTarget = 'browse' | 'checkout';
|
|
14018
|
-
type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
|
|
14027
|
+
type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'return_refund' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
|
|
14019
14028
|
type QuoteRequestType = 'generate' | 'delete' | 'update_currency_rate' | 'update_country';
|
|
14020
14029
|
type RateLevelKey = 'shopify_small_usa' | 'shopify_medium_usa' | 'shopify_enterprise_usa' | 'shopify_small_sdc_usa';
|
|
14021
14030
|
type RateSource = 'calculated' | 'market';
|
|
@@ -15594,6 +15603,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15594
15603
|
readonly flow_tracking_status?: io.flow.tracking.v0.enums.TrackingStatus;
|
|
15595
15604
|
readonly order_items: io.flow.experience.v0.models.LocalizedLineItem[];
|
|
15596
15605
|
readonly label_items: io.flow.experience.v0.models.LocalizedLineItem[];
|
|
15606
|
+
readonly carrier?: io.flow.reference.v0.models.CarrierService;
|
|
15597
15607
|
readonly tracking_numbers?: string[];
|
|
15598
15608
|
}
|
|
15599
15609
|
interface ChannelMembership {
|
|
@@ -15643,6 +15653,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15643
15653
|
readonly channel_id: string;
|
|
15644
15654
|
readonly channel_order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
|
|
15645
15655
|
}
|
|
15656
|
+
interface ChannelOrderAcceptanceDetails {
|
|
15657
|
+
readonly order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
|
|
15658
|
+
readonly external_order: any;
|
|
15659
|
+
}
|
|
15646
15660
|
interface ChannelOrderAcceptanceForm {
|
|
15647
15661
|
readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
15648
15662
|
}
|
|
@@ -15742,6 +15756,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15742
15756
|
readonly timestamp: string;
|
|
15743
15757
|
readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
|
|
15744
15758
|
}
|
|
15759
|
+
interface ChargeInput {
|
|
15760
|
+
readonly charge_input_code: io.flow.internal.v0.enums.ChargeInputType;
|
|
15761
|
+
readonly price: io.flow.common.v0.models.Money;
|
|
15762
|
+
readonly charge_input_source: io.flow.internal.v0.enums.ChargeEstimateSource;
|
|
15763
|
+
}
|
|
15745
15764
|
interface Chargeback {
|
|
15746
15765
|
readonly id: string;
|
|
15747
15766
|
readonly key: string;
|
|
@@ -20886,6 +20905,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20886
20905
|
readonly organization: string;
|
|
20887
20906
|
readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
|
|
20888
20907
|
readonly shipment_cost?: io.flow.common.v0.models.Money;
|
|
20908
|
+
readonly charges?: io.flow.internal.v0.models.ChargeInput[];
|
|
20889
20909
|
readonly reference_id?: string;
|
|
20890
20910
|
}
|
|
20891
20911
|
interface LabelDestination {
|
|
@@ -22345,6 +22365,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22345
22365
|
readonly organization_id: string;
|
|
22346
22366
|
readonly approval_status: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
22347
22367
|
readonly screening_status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
22368
|
+
readonly review_type?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
22348
22369
|
readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
22349
22370
|
readonly hs_code?: string;
|
|
22350
22371
|
readonly merchant_category_code?: string;
|
|
@@ -23608,6 +23629,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23608
23629
|
readonly url?: string;
|
|
23609
23630
|
readonly approval_status?: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
23610
23631
|
readonly screening_status?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
23632
|
+
readonly review_type?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
23611
23633
|
readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
23612
23634
|
readonly hs_code?: string;
|
|
23613
23635
|
readonly merchant_category_code?: string;
|
|
@@ -25894,6 +25916,7 @@ export declare type ChannelMembershipPutForm = io.flow.internal.v0.models.Channe
|
|
|
25894
25916
|
export declare type ChannelOrder = io.flow.internal.v0.models.ChannelOrder;
|
|
25895
25917
|
export declare type ChannelOrderAcceptance = io.flow.internal.v0.models.ChannelOrderAcceptance;
|
|
25896
25918
|
export declare type ChannelOrderAcceptanceDeleted = io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted;
|
|
25919
|
+
export declare type ChannelOrderAcceptanceDetails = io.flow.internal.v0.models.ChannelOrderAcceptanceDetails;
|
|
25897
25920
|
export declare type ChannelOrderAcceptanceErrorAction = io.flow.internal.v0.enums.ChannelOrderAcceptanceErrorAction;
|
|
25898
25921
|
export declare type ChannelOrderAcceptanceForm = io.flow.internal.v0.models.ChannelOrderAcceptanceForm;
|
|
25899
25922
|
export declare type ChannelOrderAcceptanceNextActionFrom = io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
@@ -25917,6 +25940,9 @@ export declare type ChannelTransactionDeleted = io.flow.internal.v0.models.Chann
|
|
|
25917
25940
|
export declare type ChannelTransactionRate = io.flow.internal.v0.models.ChannelTransactionRate;
|
|
25918
25941
|
export declare type ChannelTransactionType = io.flow.internal.v0.enums.ChannelTransactionType;
|
|
25919
25942
|
export declare type ChannelTransactionUpserted = io.flow.internal.v0.models.ChannelTransactionUpserted;
|
|
25943
|
+
export declare type ChargeEstimateSource = io.flow.internal.v0.enums.ChargeEstimateSource;
|
|
25944
|
+
export declare type ChargeInput = io.flow.internal.v0.models.ChargeInput;
|
|
25945
|
+
export declare type ChargeInputType = io.flow.internal.v0.enums.ChargeInputType;
|
|
25920
25946
|
export declare type Chargeback = io.flow.internal.v0.models.Chargeback;
|
|
25921
25947
|
export declare type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
|
|
25922
25948
|
export declare type ChargebackPaymentStatus = io.flow.internal.v0.enums.ChargebackPaymentStatus;
|
|
@@ -27286,6 +27312,7 @@ export declare type OrganizationPaymentStatus = io.flow.internal.v0.enums.Organi
|
|
|
27286
27312
|
export declare type OrganizationRestrictionApprovalStatus = io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
27287
27313
|
export declare type OrganizationRestrictionNoteForm = io.flow.internal.v0.models.OrganizationRestrictionNoteForm;
|
|
27288
27314
|
export declare type OrganizationRestrictionNoteType = io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
|
|
27315
|
+
export declare type OrganizationRestrictionReviewType = io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
27289
27316
|
export declare type OrganizationRestrictionRiskLevel = io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
27290
27317
|
export declare type OrganizationRestrictionScreeningDecisionForm = io.flow.internal.v0.models.OrganizationRestrictionScreeningDecisionForm;
|
|
27291
27318
|
export declare type OrganizationRestrictionScreeningStatus = io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
package/dist/api.d.ts
CHANGED
|
@@ -137,10 +137,12 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
137
137
|
type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
|
|
138
138
|
type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
|
|
139
139
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
140
|
-
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
|
|
140
|
+
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded' | 'previously_declined_do_not_retry' | 'highest_risk_level' | 'requested_block_on_incorrect_cvc';
|
|
141
141
|
type ErrorCode = 'invalid_number' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_cvc' | 'invalid_swipe_data' | 'country_code_invalid' | 'email_invalid' | 'postal_code_invalid' | 'invalid_characters' | 'url_invalid' | 'invalid_charge_amount' | 'incorrect_number' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_zip' | 'card_declined' | 'expired_card' | 'missing' | 'processing_error' | 'account_closed' | 'amount_too_small' | 'amount_too_large' | 'api_key_expired' | 'authentication_required' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'insufficient_funds' | 'intent_invalid_state' | 'livemode_mismatch' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_unexpected_state' | 'payment_intent_invalid_parameter' | 'payment_method_billing_details_address_missing' | 'payment_method_customer_decline' | 'payment_method_currency_mismatch' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'platform_api_key_expired' | 'refund_disputed_payment' | 'testmode_charges_only' | 'tls_version_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state';
|
|
142
142
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
143
143
|
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | 'payment_intent.created' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'payment_intent.requires_action' | 'payment_intent.canceled' | 'payment_intent.processing' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
144
|
+
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
145
|
+
type FeatureAvailability = 'available' | 'unavailable';
|
|
144
146
|
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
145
147
|
type KlarnaProduct = 'payment';
|
|
146
148
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
@@ -278,6 +280,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
278
280
|
readonly currency: string;
|
|
279
281
|
readonly customer?: string;
|
|
280
282
|
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
283
|
+
readonly disputed?: boolean;
|
|
281
284
|
readonly paid: boolean;
|
|
282
285
|
readonly refunded: boolean;
|
|
283
286
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -297,6 +300,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
297
300
|
readonly calculated_statement_descriptor?: string;
|
|
298
301
|
readonly statement_descriptor?: string;
|
|
299
302
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
303
|
+
readonly payment_method?: string;
|
|
300
304
|
}
|
|
301
305
|
interface ChargeDestination {
|
|
302
306
|
readonly account: string;
|
|
@@ -322,6 +326,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
322
326
|
readonly amount_refunded: number;
|
|
323
327
|
readonly authorization_code?: string;
|
|
324
328
|
readonly captured: boolean;
|
|
329
|
+
readonly disputed?: boolean;
|
|
325
330
|
readonly created: number;
|
|
326
331
|
readonly currency: string;
|
|
327
332
|
readonly customer?: string;
|
|
@@ -345,6 +350,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
345
350
|
readonly calculated_statement_descriptor?: string;
|
|
346
351
|
readonly statement_descriptor?: string;
|
|
347
352
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
353
|
+
readonly payment_method?: string;
|
|
348
354
|
}
|
|
349
355
|
interface CodeVerification {
|
|
350
356
|
readonly attempts_remaining: number;
|
|
@@ -367,6 +373,12 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
367
373
|
interface Error {
|
|
368
374
|
readonly error: io.flow.stripe.v0.models.StripeError;
|
|
369
375
|
}
|
|
376
|
+
interface ExtendedAuthorization {
|
|
377
|
+
readonly status?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
|
|
378
|
+
}
|
|
379
|
+
interface IncrementalAuthorization {
|
|
380
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
381
|
+
}
|
|
370
382
|
interface Keys {
|
|
371
383
|
readonly secret?: string;
|
|
372
384
|
readonly publishable?: string;
|
|
@@ -399,6 +411,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
399
411
|
readonly payment_request_id?: string;
|
|
400
412
|
readonly payment_request_order_reference?: string;
|
|
401
413
|
}
|
|
414
|
+
interface Multicapture {
|
|
415
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
416
|
+
}
|
|
402
417
|
interface NetworkTokenUsed {
|
|
403
418
|
readonly used?: boolean;
|
|
404
419
|
}
|
|
@@ -440,6 +455,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
440
455
|
readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
441
456
|
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
442
457
|
}
|
|
458
|
+
interface Overcapture {
|
|
459
|
+
readonly maximum_amount_capturable?: number;
|
|
460
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
461
|
+
}
|
|
443
462
|
interface Owner {
|
|
444
463
|
readonly address?: io.flow.stripe.v0.models.Address;
|
|
445
464
|
readonly email?: string;
|
|
@@ -508,7 +527,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
508
527
|
readonly off_session?: boolean;
|
|
509
528
|
readonly payment_method?: string;
|
|
510
529
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
511
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
530
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
512
531
|
readonly payment_method_types?: string[];
|
|
513
532
|
readonly receipt_email?: string;
|
|
514
533
|
readonly save_payment_method?: boolean;
|
|
@@ -528,7 +547,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
528
547
|
readonly on_behalf_of?: string;
|
|
529
548
|
readonly payment_method?: string;
|
|
530
549
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
531
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
550
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
532
551
|
readonly payment_method_types?: string[];
|
|
533
552
|
readonly receipt_email?: string;
|
|
534
553
|
readonly return_url?: string;
|
|
@@ -625,6 +644,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
625
644
|
readonly issuer?: string;
|
|
626
645
|
readonly wallet?: io.flow.stripe.v0.unions.CardWallet;
|
|
627
646
|
readonly network_transaction_id?: string;
|
|
647
|
+
readonly extended_authorization?: io.flow.stripe.v0.models.ExtendedAuthorization;
|
|
648
|
+
readonly incremental_authorization?: io.flow.stripe.v0.models.IncrementalAuthorization;
|
|
649
|
+
readonly multicapture?: io.flow.stripe.v0.models.Multicapture;
|
|
650
|
+
readonly overcapture?: io.flow.stripe.v0.models.Overcapture;
|
|
628
651
|
}
|
|
629
652
|
interface PaymentMethodDetailsKlarna {
|
|
630
653
|
readonly type: 'klarna';
|
|
@@ -648,6 +671,16 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
648
671
|
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
649
672
|
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
650
673
|
readonly mcc?: string;
|
|
674
|
+
readonly capture_before?: number;
|
|
675
|
+
}
|
|
676
|
+
interface PaymentMethodOptionsCardForm {
|
|
677
|
+
readonly network?: string;
|
|
678
|
+
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
679
|
+
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
680
|
+
readonly mcc?: string;
|
|
681
|
+
}
|
|
682
|
+
interface PaymentMethodOptionsForm {
|
|
683
|
+
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
|
|
651
684
|
}
|
|
652
685
|
interface PaymentOutcome {
|
|
653
686
|
readonly network_status?: io.flow.stripe.v0.enums.NetworkStatus;
|
|
@@ -1966,6 +1999,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1966
1999
|
type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
|
|
1967
2000
|
type PriceFacetBoundary = 'min' | 'max';
|
|
1968
2001
|
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
2002
|
+
type ProductRestrictionRule = 'Adult Products' | 'Alcohol' | 'Anti Money Laundering' | 'Collagen' | 'Consumer Safety' | 'Cosmetics' | 'DG - Batteries' | 'DG - Hazmat' | 'Drugs' | 'Dual Use' | 'Fine Art' | 'Fish & Wildlife - CITES' | 'Fish & Wildlife - Plant' | 'Fish & Wildlife - USFWS' | 'Food' | 'Gambling' | 'Health' | 'Human hair' | 'Insufficient Details' | 'Intangible' | 'Jewelry' | 'Jewelry & Watches Over 5000' | 'Knives' | 'Liquids' | 'Oversized' | 'Supplements' | 'Weapon' | 'Wood' | 'unknown';
|
|
1969
2003
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
1970
2004
|
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
1971
2005
|
type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
|
|
@@ -1979,6 +2013,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1979
2013
|
type ReturnTrackingStatus = 'awaiting_customs_clearance' | 'cancel_requested' | 'canceled' | 'collection_attempt_failed' | 'customs_clearance_completed' | 'delivered_to_retailer' | 'in_transit_to_local_hub' | 'in_transit_to_retailer' | 'parcel_added_to_pallet' | 'parcel_delayed' | 'parcel_extracted_from_pallet' | 'parcel_lost' | 'parcel_processed_by_retailer' | 'parcel_under_investigation' | 'processed_by_local_hub' | 'received_at_local_hub' | 'received_by_the_carrier' | 'return_registered_online';
|
|
1980
2014
|
type ReversalErrorCode = 'amount_exceeds_balance' | 'authorization_declined' | 'authorization_expired' | 'invalid_authorization' | 'invalid_key' | 'invalid_amount' | 'invalid_currency' | 'no_remaining_balance' | 'partial_reversal_not_supported' | 'unknown';
|
|
1981
2015
|
type ReversalStatus = 'pending' | 'processed' | 'failed';
|
|
2016
|
+
type ReviewStatus = 'high_risk_in_review' | 'low_risk_in_review' | 'reviewed';
|
|
1982
2017
|
type Role = 'admin' | 'member';
|
|
1983
2018
|
type RoundingMethod = 'up' | 'down' | 'nearest';
|
|
1984
2019
|
type RoundingType = 'pattern' | 'multiple';
|
|
@@ -2190,6 +2225,10 @@ declare namespace io.flow.v0.models {
|
|
|
2190
2225
|
interface ActivationPutForm {
|
|
2191
2226
|
readonly placeholder?: boolean;
|
|
2192
2227
|
}
|
|
2228
|
+
interface AdditionalServicesRequested {
|
|
2229
|
+
readonly name: string;
|
|
2230
|
+
readonly description?: string;
|
|
2231
|
+
}
|
|
2193
2232
|
interface Address {
|
|
2194
2233
|
readonly text?: string;
|
|
2195
2234
|
readonly streets?: string[];
|
|
@@ -8335,6 +8374,9 @@ declare namespace io.flow.v0.models {
|
|
|
8335
8374
|
readonly product_id: string;
|
|
8336
8375
|
readonly item_numbers: string[];
|
|
8337
8376
|
readonly prohibited_regions: string[];
|
|
8377
|
+
readonly review_status: io.flow.v0.enums.ReviewStatus;
|
|
8378
|
+
readonly rules: io.flow.v0.enums.ProductRestrictionRule[];
|
|
8379
|
+
readonly updated_by_user_id: string;
|
|
8338
8380
|
}
|
|
8339
8381
|
interface ProductRestrictionResultDeleted {
|
|
8340
8382
|
readonly discriminator: 'product_restriction_result_deleted';
|
|
@@ -9418,6 +9460,7 @@ declare namespace io.flow.v0.models {
|
|
|
9418
9460
|
readonly shipment_recipient: io.flow.v0.enums.ShipmentRecipient;
|
|
9419
9461
|
readonly label_request_method?: io.flow.v0.enums.LabelRequestMethod;
|
|
9420
9462
|
readonly label_trigger_method?: io.flow.v0.enums.LabelTriggerMethod;
|
|
9463
|
+
readonly additional_services_requested?: io.flow.v0.models.AdditionalServicesRequested[];
|
|
9421
9464
|
readonly created_at?: string;
|
|
9422
9465
|
readonly updated_at?: string;
|
|
9423
9466
|
}
|
|
@@ -10937,6 +10980,7 @@ export declare type ActionUseSdkPaypal = io.flow.v0.models.ActionUseSdkPaypal;
|
|
|
10937
10980
|
export declare type ActionUseSdkStripeV3 = io.flow.v0.models.ActionUseSdkStripeV3;
|
|
10938
10981
|
export declare type ActionWait = io.flow.v0.models.ActionWait;
|
|
10939
10982
|
export declare type ActivationPutForm = io.flow.v0.models.ActivationPutForm;
|
|
10983
|
+
export declare type AdditionalServicesRequested = io.flow.v0.models.AdditionalServicesRequested;
|
|
10940
10984
|
export declare type Address = io.flow.v0.models.Address;
|
|
10941
10985
|
export declare type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
|
|
10942
10986
|
export declare type AddressConfigurationFieldPlacement = io.flow.v0.models.AddressConfigurationFieldPlacement;
|
|
@@ -12183,6 +12227,7 @@ export declare type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
|
|
|
12183
12227
|
export declare type ProductRestrictionResult = io.flow.v0.models.ProductRestrictionResult;
|
|
12184
12228
|
export declare type ProductRestrictionResultDeleted = io.flow.v0.models.ProductRestrictionResultDeleted;
|
|
12185
12229
|
export declare type ProductRestrictionResultUpserted = io.flow.v0.models.ProductRestrictionResultUpserted;
|
|
12230
|
+
export declare type ProductRestrictionRule = io.flow.v0.enums.ProductRestrictionRule;
|
|
12186
12231
|
export declare type Promotion = io.flow.v0.unions.Promotion;
|
|
12187
12232
|
export declare type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
|
|
12188
12233
|
export declare type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
|
|
@@ -12321,6 +12366,7 @@ export declare type ReversalPutForm = io.flow.v0.models.ReversalPutForm;
|
|
|
12321
12366
|
export declare type ReversalStatus = io.flow.v0.enums.ReversalStatus;
|
|
12322
12367
|
export declare type ReversalUpserted = io.flow.v0.models.ReversalUpserted;
|
|
12323
12368
|
export declare type ReversalVersion = io.flow.v0.models.ReversalVersion;
|
|
12369
|
+
export declare type ReviewStatus = io.flow.v0.enums.ReviewStatus;
|
|
12324
12370
|
export declare type Role = io.flow.v0.enums.Role;
|
|
12325
12371
|
export declare type Romanization = io.flow.v0.models.Romanization;
|
|
12326
12372
|
export declare type RomanizationForm = io.flow.v0.models.RomanizationForm;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.80",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "1855db886db2701e6ba2ae9ede907ce6abbcaa38"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -2400,6 +2400,7 @@ declare namespace io.flow.billing.csv.v0.models {
|
|
|
2400
2400
|
interface BillingCsvTransactionMetadata {
|
|
2401
2401
|
readonly channel?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataChannel;
|
|
2402
2402
|
readonly shipping_label?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabel;
|
|
2403
|
+
readonly shipping_label_revenue_share?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabelRevenueShare;
|
|
2403
2404
|
readonly trueup?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataTrueup;
|
|
2404
2405
|
readonly manual?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataManual;
|
|
2405
2406
|
}
|
|
@@ -2418,6 +2419,12 @@ declare namespace io.flow.billing.csv.v0.models {
|
|
|
2418
2419
|
readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
|
|
2419
2420
|
}
|
|
2420
2421
|
|
|
2422
|
+
interface BillingCsvTransactionMetadataShippingLabelRevenueShare {
|
|
2423
|
+
readonly label_id: string;
|
|
2424
|
+
readonly base_amount?: number;
|
|
2425
|
+
readonly percentage?: number;
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2421
2428
|
interface BillingCsvTransactionMetadataTrueup {
|
|
2422
2429
|
readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
|
|
2423
2430
|
}
|
|
@@ -2575,7 +2582,10 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2575
2582
|
| 'testmode_decline'
|
|
2576
2583
|
| 'transaction_not_allowed'
|
|
2577
2584
|
| 'try_again_later'
|
|
2578
|
-
| 'withdrawal_count_limit_exceeded'
|
|
2585
|
+
| 'withdrawal_count_limit_exceeded'
|
|
2586
|
+
| 'previously_declined_do_not_retry'
|
|
2587
|
+
| 'highest_risk_level'
|
|
2588
|
+
| 'requested_block_on_incorrect_cvc';
|
|
2579
2589
|
type ErrorCode =
|
|
2580
2590
|
| 'invalid_number'
|
|
2581
2591
|
| 'invalid_expiry_month'
|
|
@@ -2676,6 +2686,8 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2676
2686
|
| 'source.canceled'
|
|
2677
2687
|
| 'source.chargeable'
|
|
2678
2688
|
| 'source.failed';
|
|
2689
|
+
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
2690
|
+
type FeatureAvailability = 'available' | 'unavailable';
|
|
2679
2691
|
type KlarnaPaymentMethodCategoryType =
|
|
2680
2692
|
| 'direct_bank_transfer'
|
|
2681
2693
|
| 'direct_debit'
|
|
@@ -2941,6 +2953,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2941
2953
|
readonly currency: string;
|
|
2942
2954
|
readonly customer?: string;
|
|
2943
2955
|
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
2956
|
+
readonly disputed?: boolean;
|
|
2944
2957
|
readonly paid: boolean;
|
|
2945
2958
|
readonly refunded: boolean;
|
|
2946
2959
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -2960,6 +2973,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2960
2973
|
readonly calculated_statement_descriptor?: string;
|
|
2961
2974
|
readonly statement_descriptor?: string;
|
|
2962
2975
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
2976
|
+
readonly payment_method?: string;
|
|
2963
2977
|
}
|
|
2964
2978
|
|
|
2965
2979
|
interface ChargeDestination {
|
|
@@ -2988,6 +3002,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2988
3002
|
readonly amount_refunded: number;
|
|
2989
3003
|
readonly authorization_code?: string;
|
|
2990
3004
|
readonly captured: boolean;
|
|
3005
|
+
readonly disputed?: boolean;
|
|
2991
3006
|
readonly created: number;
|
|
2992
3007
|
readonly currency: string;
|
|
2993
3008
|
readonly customer?: string;
|
|
@@ -3011,6 +3026,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3011
3026
|
readonly calculated_statement_descriptor?: string;
|
|
3012
3027
|
readonly statement_descriptor?: string;
|
|
3013
3028
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
3029
|
+
readonly payment_method?: string;
|
|
3014
3030
|
}
|
|
3015
3031
|
|
|
3016
3032
|
interface CodeVerification {
|
|
@@ -3038,6 +3054,14 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3038
3054
|
readonly error: io.flow.stripe.v0.models.StripeError;
|
|
3039
3055
|
}
|
|
3040
3056
|
|
|
3057
|
+
interface ExtendedAuthorization {
|
|
3058
|
+
readonly status?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
|
|
3059
|
+
}
|
|
3060
|
+
|
|
3061
|
+
interface IncrementalAuthorization {
|
|
3062
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3041
3065
|
interface Keys {
|
|
3042
3066
|
readonly secret?: string;
|
|
3043
3067
|
readonly publishable?: string;
|
|
@@ -3077,6 +3101,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3077
3101
|
readonly payment_request_order_reference?: string;
|
|
3078
3102
|
}
|
|
3079
3103
|
|
|
3104
|
+
interface Multicapture {
|
|
3105
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
3106
|
+
}
|
|
3107
|
+
|
|
3080
3108
|
interface NetworkTokenUsed {
|
|
3081
3109
|
readonly used?: boolean;
|
|
3082
3110
|
}
|
|
@@ -3124,6 +3152,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3124
3152
|
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
3125
3153
|
}
|
|
3126
3154
|
|
|
3155
|
+
interface Overcapture {
|
|
3156
|
+
readonly maximum_amount_capturable?: number;
|
|
3157
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3127
3160
|
interface Owner {
|
|
3128
3161
|
readonly address?: io.flow.stripe.v0.models.Address;
|
|
3129
3162
|
readonly email?: string;
|
|
@@ -3197,7 +3230,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3197
3230
|
readonly off_session?: boolean;
|
|
3198
3231
|
readonly payment_method?: string;
|
|
3199
3232
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
3200
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
3233
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
3201
3234
|
readonly payment_method_types?: string[];
|
|
3202
3235
|
readonly receipt_email?: string;
|
|
3203
3236
|
readonly save_payment_method?: boolean;
|
|
@@ -3218,7 +3251,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3218
3251
|
readonly on_behalf_of?: string;
|
|
3219
3252
|
readonly payment_method?: string;
|
|
3220
3253
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
3221
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
3254
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
3222
3255
|
readonly payment_method_types?: string[];
|
|
3223
3256
|
readonly receipt_email?: string;
|
|
3224
3257
|
readonly return_url?: string;
|
|
@@ -3324,6 +3357,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3324
3357
|
readonly issuer?: string;
|
|
3325
3358
|
readonly wallet?: io.flow.stripe.v0.unions.CardWallet;
|
|
3326
3359
|
readonly network_transaction_id?: string;
|
|
3360
|
+
readonly extended_authorization?: io.flow.stripe.v0.models.ExtendedAuthorization;
|
|
3361
|
+
readonly incremental_authorization?: io.flow.stripe.v0.models.IncrementalAuthorization;
|
|
3362
|
+
readonly multicapture?: io.flow.stripe.v0.models.Multicapture;
|
|
3363
|
+
readonly overcapture?: io.flow.stripe.v0.models.Overcapture;
|
|
3327
3364
|
}
|
|
3328
3365
|
|
|
3329
3366
|
interface PaymentMethodDetailsKlarna {
|
|
@@ -3352,6 +3389,18 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3352
3389
|
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
3353
3390
|
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
3354
3391
|
readonly mcc?: string;
|
|
3392
|
+
readonly capture_before?: number;
|
|
3393
|
+
}
|
|
3394
|
+
|
|
3395
|
+
interface PaymentMethodOptionsCardForm {
|
|
3396
|
+
readonly network?: string;
|
|
3397
|
+
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
3398
|
+
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
3399
|
+
readonly mcc?: string;
|
|
3400
|
+
}
|
|
3401
|
+
|
|
3402
|
+
interface PaymentMethodOptionsForm {
|
|
3403
|
+
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
|
|
3355
3404
|
}
|
|
3356
3405
|
|
|
3357
3406
|
interface PaymentOutcome {
|
|
@@ -9159,6 +9208,11 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
9159
9208
|
readonly order_updated_at?: string;
|
|
9160
9209
|
}
|
|
9161
9210
|
|
|
9211
|
+
interface ChannelOrderAcceptanceDetails {
|
|
9212
|
+
readonly order_acceptance: io.flow.channel.internal.v0.models.ChannelOrderAcceptance;
|
|
9213
|
+
readonly external_order: any /*object*/;
|
|
9214
|
+
}
|
|
9215
|
+
|
|
9162
9216
|
interface ChannelOrderAcceptanceForm {
|
|
9163
9217
|
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
9164
9218
|
}
|
|
@@ -10831,65 +10885,25 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
|
|
|
10831
10885
|
readonly shipping: boolean;
|
|
10832
10886
|
}
|
|
10833
10887
|
|
|
10888
|
+
interface RecordReference {
|
|
10889
|
+
readonly id: string;
|
|
10890
|
+
}
|
|
10891
|
+
|
|
10834
10892
|
interface RefundRecord {
|
|
10835
|
-
readonly
|
|
10836
|
-
readonly
|
|
10837
|
-
readonly
|
|
10838
|
-
readonly
|
|
10839
|
-
readonly
|
|
10840
|
-
readonly
|
|
10841
|
-
readonly
|
|
10842
|
-
readonly
|
|
10843
|
-
readonly
|
|
10844
|
-
readonly
|
|
10845
|
-
readonly
|
|
10846
|
-
readonly
|
|
10847
|
-
readonly
|
|
10848
|
-
readonly
|
|
10849
|
-
readonly merchant_name: string;
|
|
10850
|
-
readonly destination_country: string;
|
|
10851
|
-
readonly shopper_country_is_eu: boolean;
|
|
10852
|
-
readonly order_refund_reason_name: string;
|
|
10853
|
-
readonly order_refund_status_name: string;
|
|
10854
|
-
readonly original_ccy: string;
|
|
10855
|
-
readonly transaction_ccy: string;
|
|
10856
|
-
readonly total_refund_amount_exc_vat_in_transaction_ccy?: number;
|
|
10857
|
-
readonly refund_vat_in_transaction_ccy?: number;
|
|
10858
|
-
readonly total_refund_amount_inc_vat_in_transaction_ccy?: number;
|
|
10859
|
-
readonly merchant_total_products_refund_amount_exc_vat_in_original_ccy: number;
|
|
10860
|
-
readonly merchant_shipping_refund_amount_exc_vat_in_transaction_ccy?: number;
|
|
10861
|
-
readonly merchant_shipping_refund_amount_exc_vat_in_original_ccy: number;
|
|
10862
|
-
readonly total_refund_amount_exc_tax_collected_in_shopper_ccy?: number;
|
|
10863
|
-
readonly tax_collected_amount_in_shopper_ccy: number;
|
|
10864
|
-
readonly total_refund_amount_inc_tax_collected_in_shopper_ccy?: number;
|
|
10865
|
-
readonly payment_gateway: string;
|
|
10866
|
-
readonly min_product_customer_vat_rate?: number;
|
|
10867
|
-
readonly is_virtual_order: boolean;
|
|
10868
|
-
readonly is_mixed_virtual_order: boolean;
|
|
10869
|
-
readonly total_refund_amount_exc_tax_collected_in_usd: number;
|
|
10870
|
-
readonly tax_collected_amount_in_usd: number;
|
|
10871
|
-
readonly total_refund_amount_inc_tax_collected_in_usd: number;
|
|
10872
|
-
readonly total_refund_amount_exc_tax_collected_in_eur: number;
|
|
10873
|
-
readonly tax_collected_amount_in_eur: number;
|
|
10874
|
-
readonly total_refund_amount_inc_tax_collected_in_eur: number;
|
|
10875
|
-
readonly is_wyol_order: boolean;
|
|
10876
|
-
readonly is_duties_guaranteed: boolean;
|
|
10877
|
-
readonly invoice_id?: string;
|
|
10878
|
-
readonly total_refund_amount_exc_vat_in_entity_ccy: number;
|
|
10879
|
-
readonly refund_vat_in_entity_ccy: number;
|
|
10880
|
-
readonly total_refund_amount_inc_vat_in_entity_ccy: number;
|
|
10881
|
-
readonly merchant_total_products_refund_amount_exc_vat_in_entity_ccy: number;
|
|
10882
|
-
readonly merchant_shipping_refund_amount_exc_vat_in_entity_ccy: number;
|
|
10883
|
-
readonly merchant_duties_and_taxes_refund_amount_in_entity_ccy: number;
|
|
10884
|
-
readonly merchant_service_gesture_amount_exc_vat_in_entity_ccy: number;
|
|
10885
|
-
readonly customer_prepaid_refund_amount_exc_vat_in_entity_ccy: number;
|
|
10886
|
-
readonly total_refund_amount_exc_tax_collected_in_entity_ccy: number;
|
|
10887
|
-
readonly tax_collected_amount_in_entity_ccy: number;
|
|
10888
|
-
readonly total_refund_amount_inc_tax_collected_in_entity_ccy: number;
|
|
10889
|
-
readonly conversion_rate_transaction_to_entity_ccy: number;
|
|
10890
|
-
readonly merchant_order_id: string;
|
|
10891
|
-
readonly transaction_date: string;
|
|
10892
|
-
readonly debug_console_order_link: string;
|
|
10893
|
+
readonly id: string;
|
|
10894
|
+
readonly parent?: io.flow.billing.reporting.csv.v0.models.RecordReference;
|
|
10895
|
+
readonly merchant: io.flow.billing.reporting.csv.v0.models.ReportingOrganizationSummary;
|
|
10896
|
+
readonly order: io.flow.billing.reporting.csv.v0.models.ReportingOrderSummary;
|
|
10897
|
+
readonly entity: io.flow.billing.reporting.csv.v0.models.ReportingEntity;
|
|
10898
|
+
readonly vendor: io.flow.billing.reporting.csv.v0.models.ReportingVendor;
|
|
10899
|
+
readonly currencies: io.flow.billing.reporting.csv.v0.models.ReportingCurrencies;
|
|
10900
|
+
readonly conversion_rate: io.flow.billing.reporting.csv.v0.models.ReportingConversionRates;
|
|
10901
|
+
readonly reconciliation: io.flow.billing.reporting.csv.v0.models.ReportingReconciliation;
|
|
10902
|
+
readonly merchant_subsidies: io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
|
|
10903
|
+
readonly merchant_fees: io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
|
|
10904
|
+
readonly merchant_transactions: io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
|
|
10905
|
+
readonly debug: io.flow.billing.reporting.csv.v0.models.ReportingDebug;
|
|
10906
|
+
readonly return?: io.flow.billing.reporting.csv.v0.models.ReportingReturn;
|
|
10893
10907
|
}
|
|
10894
10908
|
|
|
10895
10909
|
interface ReportingAuthorizationReference {
|
|
@@ -11023,6 +11037,7 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
|
|
|
11023
11037
|
readonly tax: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
|
|
11024
11038
|
readonly duty: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
|
|
11025
11039
|
readonly freight: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
|
|
11040
|
+
readonly refund: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
|
|
11026
11041
|
}
|
|
11027
11042
|
|
|
11028
11043
|
interface ReportingMonetaryValue {
|
|
@@ -11055,6 +11070,10 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
|
|
|
11055
11070
|
readonly year: number;
|
|
11056
11071
|
}
|
|
11057
11072
|
|
|
11073
|
+
interface ReportingReturn {
|
|
11074
|
+
readonly placeholder: string;
|
|
11075
|
+
}
|
|
11076
|
+
|
|
11058
11077
|
interface ReportingShopperFees {
|
|
11059
11078
|
readonly fuel: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
|
|
11060
11079
|
readonly remote_area: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
|
|
@@ -11083,24 +11102,24 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
|
|
|
11083
11102
|
|
|
11084
11103
|
interface SalesRecord {
|
|
11085
11104
|
readonly id: string;
|
|
11086
|
-
readonly parent?: io.flow.billing.reporting.csv.v0.models.
|
|
11105
|
+
readonly parent?: io.flow.billing.reporting.csv.v0.models.RecordReference;
|
|
11087
11106
|
readonly merchant: io.flow.billing.reporting.csv.v0.models.ReportingOrganizationSummary;
|
|
11088
11107
|
readonly order: io.flow.billing.reporting.csv.v0.models.ReportingOrderSummary;
|
|
11089
11108
|
readonly entity: io.flow.billing.reporting.csv.v0.models.ReportingEntity;
|
|
11090
11109
|
readonly vendor: io.flow.billing.reporting.csv.v0.models.ReportingVendor;
|
|
11091
11110
|
readonly currencies: io.flow.billing.reporting.csv.v0.models.ReportingCurrencies;
|
|
11092
11111
|
readonly conversion_rate: io.flow.billing.reporting.csv.v0.models.ReportingConversionRates;
|
|
11093
|
-
readonly fulfillment: io.flow.billing.reporting.csv.v0.models.ReportingFulfillment;
|
|
11094
11112
|
readonly reconciliation: io.flow.billing.reporting.csv.v0.models.ReportingReconciliation;
|
|
11095
|
-
readonly marked_as_final: io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
|
|
11096
11113
|
readonly merchant_subsidies: io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
|
|
11097
11114
|
readonly merchant_fees: io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
|
|
11098
11115
|
readonly merchant_transactions: io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
|
|
11099
|
-
readonly vat_remittance: io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
|
|
11100
11116
|
readonly debug: io.flow.billing.reporting.csv.v0.models.ReportingDebug;
|
|
11117
|
+
readonly fulfillment: io.flow.billing.reporting.csv.v0.models.ReportingFulfillment;
|
|
11118
|
+
readonly vat_remittance: io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
|
|
11119
|
+
readonly marked_as_final: io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
|
|
11101
11120
|
}
|
|
11102
11121
|
|
|
11103
|
-
interface
|
|
11122
|
+
interface TransactionReference {
|
|
11104
11123
|
readonly id: string;
|
|
11105
11124
|
}
|
|
11106
11125
|
}
|
|
@@ -18236,6 +18255,18 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18236
18255
|
| 'partial'
|
|
18237
18256
|
| 'cancelled';
|
|
18238
18257
|
type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
|
|
18258
|
+
type ChargeEstimateSource = 'global-e' | 'shopify';
|
|
18259
|
+
type ChargeInputType =
|
|
18260
|
+
| 'fuelsc'
|
|
18261
|
+
| 'incoterm_ddp'
|
|
18262
|
+
| 'delivery_confirmation'
|
|
18263
|
+
| 'base_charge'
|
|
18264
|
+
| 'package_pickup'
|
|
18265
|
+
| 'insurance'
|
|
18266
|
+
| 'usps_first_mile'
|
|
18267
|
+
| 'oversize_piece'
|
|
18268
|
+
| 'incoterm_dap'
|
|
18269
|
+
| 'remote_area_delivery';
|
|
18239
18270
|
type ChargebackPaymentStatus = 'captured' | 'refunded';
|
|
18240
18271
|
type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
|
|
18241
18272
|
type CheckoutAddAuthorizationErrorCode =
|
|
@@ -19131,6 +19162,9 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
19131
19162
|
| 'internal'
|
|
19132
19163
|
| 'rejection_reason'
|
|
19133
19164
|
| 'additional_rejection_info';
|
|
19165
|
+
type OrganizationRestrictionReviewType =
|
|
19166
|
+
| 'all_pending'
|
|
19167
|
+
| 'pending_verification';
|
|
19134
19168
|
type OrganizationRestrictionRiskLevel = '5' | '15';
|
|
19135
19169
|
type OrganizationRestrictionScreeningStatus =
|
|
19136
19170
|
| 'in_review'
|
|
@@ -19196,6 +19230,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
19196
19230
|
| 'fulfillment_external'
|
|
19197
19231
|
| 'fulfillment_order_combined_shipment'
|
|
19198
19232
|
| 'fulfillment_order_time'
|
|
19233
|
+
| 'return_refund'
|
|
19199
19234
|
| 'label_tracking_summary'
|
|
19200
19235
|
| 'label_invoice_request'
|
|
19201
19236
|
| 'carrier_charge'
|
|
@@ -21144,6 +21179,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21144
21179
|
readonly flow_tracking_status?: io.flow.tracking.v0.enums.TrackingStatus;
|
|
21145
21180
|
readonly order_items: io.flow.experience.v0.models.LocalizedLineItem[];
|
|
21146
21181
|
readonly label_items: io.flow.experience.v0.models.LocalizedLineItem[];
|
|
21182
|
+
readonly carrier?: io.flow.reference.v0.models.CarrierService;
|
|
21147
21183
|
readonly tracking_numbers?: string[];
|
|
21148
21184
|
}
|
|
21149
21185
|
|
|
@@ -21200,6 +21236,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21200
21236
|
readonly channel_order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
|
|
21201
21237
|
}
|
|
21202
21238
|
|
|
21239
|
+
interface ChannelOrderAcceptanceDetails {
|
|
21240
|
+
readonly order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
|
|
21241
|
+
readonly external_order: any /*object*/;
|
|
21242
|
+
}
|
|
21243
|
+
|
|
21203
21244
|
interface ChannelOrderAcceptanceForm {
|
|
21204
21245
|
readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
21205
21246
|
}
|
|
@@ -21315,6 +21356,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21315
21356
|
readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
|
|
21316
21357
|
}
|
|
21317
21358
|
|
|
21359
|
+
interface ChargeInput {
|
|
21360
|
+
readonly charge_input_code: io.flow.internal.v0.enums.ChargeInputType;
|
|
21361
|
+
readonly price: io.flow.common.v0.models.Money;
|
|
21362
|
+
readonly charge_input_source: io.flow.internal.v0.enums.ChargeEstimateSource;
|
|
21363
|
+
}
|
|
21364
|
+
|
|
21318
21365
|
interface Chargeback {
|
|
21319
21366
|
readonly id: string;
|
|
21320
21367
|
readonly key: string;
|
|
@@ -27327,6 +27374,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27327
27374
|
readonly organization: string;
|
|
27328
27375
|
readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
|
|
27329
27376
|
readonly shipment_cost?: io.flow.common.v0.models.Money;
|
|
27377
|
+
readonly charges?: io.flow.internal.v0.models.ChargeInput[];
|
|
27330
27378
|
readonly reference_id?: string;
|
|
27331
27379
|
}
|
|
27332
27380
|
|
|
@@ -29016,6 +29064,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
29016
29064
|
readonly organization_id: string;
|
|
29017
29065
|
readonly approval_status: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
29018
29066
|
readonly screening_status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
29067
|
+
readonly review_type?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
29019
29068
|
readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
29020
29069
|
readonly hs_code?: string;
|
|
29021
29070
|
readonly merchant_category_code?: string;
|
|
@@ -30466,6 +30515,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
30466
30515
|
readonly url?: string;
|
|
30467
30516
|
readonly approval_status?: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
30468
30517
|
readonly screening_status?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
30518
|
+
readonly review_type?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
30469
30519
|
readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
30470
30520
|
readonly hs_code?: string;
|
|
30471
30521
|
readonly merchant_category_code?: string;
|
|
@@ -34157,6 +34207,8 @@ export type ChannelOrderAcceptance =
|
|
|
34157
34207
|
io.flow.internal.v0.models.ChannelOrderAcceptance;
|
|
34158
34208
|
export type ChannelOrderAcceptanceDeleted =
|
|
34159
34209
|
io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted;
|
|
34210
|
+
export type ChannelOrderAcceptanceDetails =
|
|
34211
|
+
io.flow.internal.v0.models.ChannelOrderAcceptanceDetails;
|
|
34160
34212
|
export type ChannelOrderAcceptanceErrorAction =
|
|
34161
34213
|
io.flow.internal.v0.enums.ChannelOrderAcceptanceErrorAction;
|
|
34162
34214
|
export type ChannelOrderAcceptanceForm =
|
|
@@ -34202,6 +34254,10 @@ export type ChannelTransactionType =
|
|
|
34202
34254
|
io.flow.internal.v0.enums.ChannelTransactionType;
|
|
34203
34255
|
export type ChannelTransactionUpserted =
|
|
34204
34256
|
io.flow.internal.v0.models.ChannelTransactionUpserted;
|
|
34257
|
+
export type ChargeEstimateSource =
|
|
34258
|
+
io.flow.internal.v0.enums.ChargeEstimateSource;
|
|
34259
|
+
export type ChargeInput = io.flow.internal.v0.models.ChargeInput;
|
|
34260
|
+
export type ChargeInputType = io.flow.internal.v0.enums.ChargeInputType;
|
|
34205
34261
|
export type Chargeback = io.flow.internal.v0.models.Chargeback;
|
|
34206
34262
|
export type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
|
|
34207
34263
|
export type ChargebackPaymentStatus =
|
|
@@ -36597,6 +36653,8 @@ export type OrganizationRestrictionNoteForm =
|
|
|
36597
36653
|
io.flow.internal.v0.models.OrganizationRestrictionNoteForm;
|
|
36598
36654
|
export type OrganizationRestrictionNoteType =
|
|
36599
36655
|
io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
|
|
36656
|
+
export type OrganizationRestrictionReviewType =
|
|
36657
|
+
io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
36600
36658
|
export type OrganizationRestrictionRiskLevel =
|
|
36601
36659
|
io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
36602
36660
|
export type OrganizationRestrictionScreeningDecisionForm =
|
package/src/api.ts
CHANGED
|
@@ -228,7 +228,10 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
228
228
|
| 'testmode_decline'
|
|
229
229
|
| 'transaction_not_allowed'
|
|
230
230
|
| 'try_again_later'
|
|
231
|
-
| 'withdrawal_count_limit_exceeded'
|
|
231
|
+
| 'withdrawal_count_limit_exceeded'
|
|
232
|
+
| 'previously_declined_do_not_retry'
|
|
233
|
+
| 'highest_risk_level'
|
|
234
|
+
| 'requested_block_on_incorrect_cvc';
|
|
232
235
|
type ErrorCode =
|
|
233
236
|
| 'invalid_number'
|
|
234
237
|
| 'invalid_expiry_month'
|
|
@@ -329,6 +332,8 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
329
332
|
| 'source.canceled'
|
|
330
333
|
| 'source.chargeable'
|
|
331
334
|
| 'source.failed';
|
|
335
|
+
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
336
|
+
type FeatureAvailability = 'available' | 'unavailable';
|
|
332
337
|
type KlarnaPaymentMethodCategoryType =
|
|
333
338
|
| 'direct_bank_transfer'
|
|
334
339
|
| 'direct_debit'
|
|
@@ -594,6 +599,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
594
599
|
readonly currency: string;
|
|
595
600
|
readonly customer?: string;
|
|
596
601
|
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
602
|
+
readonly disputed?: boolean;
|
|
597
603
|
readonly paid: boolean;
|
|
598
604
|
readonly refunded: boolean;
|
|
599
605
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -613,6 +619,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
613
619
|
readonly calculated_statement_descriptor?: string;
|
|
614
620
|
readonly statement_descriptor?: string;
|
|
615
621
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
622
|
+
readonly payment_method?: string;
|
|
616
623
|
}
|
|
617
624
|
|
|
618
625
|
interface ChargeDestination {
|
|
@@ -641,6 +648,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
641
648
|
readonly amount_refunded: number;
|
|
642
649
|
readonly authorization_code?: string;
|
|
643
650
|
readonly captured: boolean;
|
|
651
|
+
readonly disputed?: boolean;
|
|
644
652
|
readonly created: number;
|
|
645
653
|
readonly currency: string;
|
|
646
654
|
readonly customer?: string;
|
|
@@ -664,6 +672,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
664
672
|
readonly calculated_statement_descriptor?: string;
|
|
665
673
|
readonly statement_descriptor?: string;
|
|
666
674
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
675
|
+
readonly payment_method?: string;
|
|
667
676
|
}
|
|
668
677
|
|
|
669
678
|
interface CodeVerification {
|
|
@@ -691,6 +700,14 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
691
700
|
readonly error: io.flow.stripe.v0.models.StripeError;
|
|
692
701
|
}
|
|
693
702
|
|
|
703
|
+
interface ExtendedAuthorization {
|
|
704
|
+
readonly status?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
interface IncrementalAuthorization {
|
|
708
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
709
|
+
}
|
|
710
|
+
|
|
694
711
|
interface Keys {
|
|
695
712
|
readonly secret?: string;
|
|
696
713
|
readonly publishable?: string;
|
|
@@ -730,6 +747,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
730
747
|
readonly payment_request_order_reference?: string;
|
|
731
748
|
}
|
|
732
749
|
|
|
750
|
+
interface Multicapture {
|
|
751
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
752
|
+
}
|
|
753
|
+
|
|
733
754
|
interface NetworkTokenUsed {
|
|
734
755
|
readonly used?: boolean;
|
|
735
756
|
}
|
|
@@ -777,6 +798,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
777
798
|
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
778
799
|
}
|
|
779
800
|
|
|
801
|
+
interface Overcapture {
|
|
802
|
+
readonly maximum_amount_capturable?: number;
|
|
803
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
804
|
+
}
|
|
805
|
+
|
|
780
806
|
interface Owner {
|
|
781
807
|
readonly address?: io.flow.stripe.v0.models.Address;
|
|
782
808
|
readonly email?: string;
|
|
@@ -850,7 +876,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
850
876
|
readonly off_session?: boolean;
|
|
851
877
|
readonly payment_method?: string;
|
|
852
878
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
853
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
879
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
854
880
|
readonly payment_method_types?: string[];
|
|
855
881
|
readonly receipt_email?: string;
|
|
856
882
|
readonly save_payment_method?: boolean;
|
|
@@ -871,7 +897,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
871
897
|
readonly on_behalf_of?: string;
|
|
872
898
|
readonly payment_method?: string;
|
|
873
899
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
874
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
900
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
875
901
|
readonly payment_method_types?: string[];
|
|
876
902
|
readonly receipt_email?: string;
|
|
877
903
|
readonly return_url?: string;
|
|
@@ -977,6 +1003,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
977
1003
|
readonly issuer?: string;
|
|
978
1004
|
readonly wallet?: io.flow.stripe.v0.unions.CardWallet;
|
|
979
1005
|
readonly network_transaction_id?: string;
|
|
1006
|
+
readonly extended_authorization?: io.flow.stripe.v0.models.ExtendedAuthorization;
|
|
1007
|
+
readonly incremental_authorization?: io.flow.stripe.v0.models.IncrementalAuthorization;
|
|
1008
|
+
readonly multicapture?: io.flow.stripe.v0.models.Multicapture;
|
|
1009
|
+
readonly overcapture?: io.flow.stripe.v0.models.Overcapture;
|
|
980
1010
|
}
|
|
981
1011
|
|
|
982
1012
|
interface PaymentMethodDetailsKlarna {
|
|
@@ -1005,6 +1035,18 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1005
1035
|
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
1006
1036
|
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
1007
1037
|
readonly mcc?: string;
|
|
1038
|
+
readonly capture_before?: number;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
interface PaymentMethodOptionsCardForm {
|
|
1042
|
+
readonly network?: string;
|
|
1043
|
+
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
1044
|
+
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
1045
|
+
readonly mcc?: string;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
interface PaymentMethodOptionsForm {
|
|
1049
|
+
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
|
|
1008
1050
|
}
|
|
1009
1051
|
|
|
1010
1052
|
interface PaymentOutcome {
|
|
@@ -3261,6 +3303,36 @@ declare namespace io.flow.v0.enums {
|
|
|
3261
3303
|
| 'adjustment';
|
|
3262
3304
|
type PriceFacetBoundary = 'min' | 'max';
|
|
3263
3305
|
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
3306
|
+
type ProductRestrictionRule =
|
|
3307
|
+
| 'Adult Products'
|
|
3308
|
+
| 'Alcohol'
|
|
3309
|
+
| 'Anti Money Laundering'
|
|
3310
|
+
| 'Collagen'
|
|
3311
|
+
| 'Consumer Safety'
|
|
3312
|
+
| 'Cosmetics'
|
|
3313
|
+
| 'DG - Batteries'
|
|
3314
|
+
| 'DG - Hazmat'
|
|
3315
|
+
| 'Drugs'
|
|
3316
|
+
| 'Dual Use'
|
|
3317
|
+
| 'Fine Art'
|
|
3318
|
+
| 'Fish & Wildlife - CITES'
|
|
3319
|
+
| 'Fish & Wildlife - Plant'
|
|
3320
|
+
| 'Fish & Wildlife - USFWS'
|
|
3321
|
+
| 'Food'
|
|
3322
|
+
| 'Gambling'
|
|
3323
|
+
| 'Health'
|
|
3324
|
+
| 'Human hair'
|
|
3325
|
+
| 'Insufficient Details'
|
|
3326
|
+
| 'Intangible'
|
|
3327
|
+
| 'Jewelry'
|
|
3328
|
+
| 'Jewelry & Watches Over 5000'
|
|
3329
|
+
| 'Knives'
|
|
3330
|
+
| 'Liquids'
|
|
3331
|
+
| 'Oversized'
|
|
3332
|
+
| 'Supplements'
|
|
3333
|
+
| 'Weapon'
|
|
3334
|
+
| 'Wood'
|
|
3335
|
+
| 'unknown';
|
|
3264
3336
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
3265
3337
|
type ProvinceType =
|
|
3266
3338
|
| 'area'
|
|
@@ -3324,6 +3396,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3324
3396
|
| 'partial_reversal_not_supported'
|
|
3325
3397
|
| 'unknown';
|
|
3326
3398
|
type ReversalStatus = 'pending' | 'processed' | 'failed';
|
|
3399
|
+
type ReviewStatus = 'high_risk_in_review' | 'low_risk_in_review' | 'reviewed';
|
|
3327
3400
|
type Role = 'admin' | 'member';
|
|
3328
3401
|
type RoundingMethod = 'up' | 'down' | 'nearest';
|
|
3329
3402
|
type RoundingType = 'pattern' | 'multiple';
|
|
@@ -3653,6 +3726,11 @@ declare namespace io.flow.v0.models {
|
|
|
3653
3726
|
readonly placeholder?: boolean;
|
|
3654
3727
|
}
|
|
3655
3728
|
|
|
3729
|
+
interface AdditionalServicesRequested {
|
|
3730
|
+
readonly name: string;
|
|
3731
|
+
readonly description?: string;
|
|
3732
|
+
}
|
|
3733
|
+
|
|
3656
3734
|
interface Address {
|
|
3657
3735
|
readonly text?: string;
|
|
3658
3736
|
readonly streets?: string[];
|
|
@@ -10819,6 +10897,9 @@ declare namespace io.flow.v0.models {
|
|
|
10819
10897
|
readonly product_id: string;
|
|
10820
10898
|
readonly item_numbers: string[];
|
|
10821
10899
|
readonly prohibited_regions: string[];
|
|
10900
|
+
readonly review_status: io.flow.v0.enums.ReviewStatus;
|
|
10901
|
+
readonly rules: io.flow.v0.enums.ProductRestrictionRule[];
|
|
10902
|
+
readonly updated_by_user_id: string;
|
|
10822
10903
|
}
|
|
10823
10904
|
|
|
10824
10905
|
interface ProductRestrictionResultDeleted {
|
|
@@ -12073,6 +12154,7 @@ declare namespace io.flow.v0.models {
|
|
|
12073
12154
|
readonly shipment_recipient: io.flow.v0.enums.ShipmentRecipient;
|
|
12074
12155
|
readonly label_request_method?: io.flow.v0.enums.LabelRequestMethod;
|
|
12075
12156
|
readonly label_trigger_method?: io.flow.v0.enums.LabelTriggerMethod;
|
|
12157
|
+
readonly additional_services_requested?: io.flow.v0.models.AdditionalServicesRequested[];
|
|
12076
12158
|
readonly created_at?: string;
|
|
12077
12159
|
readonly updated_at?: string;
|
|
12078
12160
|
}
|
|
@@ -14309,6 +14391,8 @@ export type ActionUseSdkPaypal = io.flow.v0.models.ActionUseSdkPaypal;
|
|
|
14309
14391
|
export type ActionUseSdkStripeV3 = io.flow.v0.models.ActionUseSdkStripeV3;
|
|
14310
14392
|
export type ActionWait = io.flow.v0.models.ActionWait;
|
|
14311
14393
|
export type ActivationPutForm = io.flow.v0.models.ActivationPutForm;
|
|
14394
|
+
export type AdditionalServicesRequested =
|
|
14395
|
+
io.flow.v0.models.AdditionalServicesRequested;
|
|
14312
14396
|
export type Address = io.flow.v0.models.Address;
|
|
14313
14397
|
export type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
|
|
14314
14398
|
export type AddressConfigurationFieldPlacement =
|
|
@@ -15922,6 +16006,7 @@ export type ProductRestrictionResultDeleted =
|
|
|
15922
16006
|
io.flow.v0.models.ProductRestrictionResultDeleted;
|
|
15923
16007
|
export type ProductRestrictionResultUpserted =
|
|
15924
16008
|
io.flow.v0.models.ProductRestrictionResultUpserted;
|
|
16009
|
+
export type ProductRestrictionRule = io.flow.v0.enums.ProductRestrictionRule;
|
|
15925
16010
|
export type Promotion = io.flow.v0.unions.Promotion;
|
|
15926
16011
|
export type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
|
|
15927
16012
|
export type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
|
|
@@ -16072,6 +16157,7 @@ export type ReversalPutForm = io.flow.v0.models.ReversalPutForm;
|
|
|
16072
16157
|
export type ReversalStatus = io.flow.v0.enums.ReversalStatus;
|
|
16073
16158
|
export type ReversalUpserted = io.flow.v0.models.ReversalUpserted;
|
|
16074
16159
|
export type ReversalVersion = io.flow.v0.models.ReversalVersion;
|
|
16160
|
+
export type ReviewStatus = io.flow.v0.enums.ReviewStatus;
|
|
16075
16161
|
export type Role = io.flow.v0.enums.Role;
|
|
16076
16162
|
export type Romanization = io.flow.v0.models.Romanization;
|
|
16077
16163
|
export type RomanizationForm = io.flow.v0.models.RomanizationForm;
|