@flowio/types 11.24.77 → 11.24.79
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 +106 -34
- package/dist/api.d.ts +56 -22
- package/package.json +2 -2
- package/src/api-internal.ts +195 -47
- package/src/api.ts +139 -35
package/dist/api-internal.d.ts
CHANGED
|
@@ -2013,15 +2013,17 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2013
2013
|
type CancellationReason = 'abandoned' | 'automatic' | 'duplicate' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice';
|
|
2014
2014
|
type CaptureMethod = 'automatic' | 'manual';
|
|
2015
2015
|
type CardBrand = 'American Express' | 'MasterCard' | 'Discover' | 'JCB' | 'Diners Club' | 'Unknown';
|
|
2016
|
-
type CardErrorCode = 'invalid_number' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_cvc' | 'invalid_swipe_data' | 'incorrect_number' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'card_declined' | 'missing' | 'processing_error';
|
|
2017
2016
|
type CardFundingType = 'credit' | 'debit' | 'prepaid' | 'unknown';
|
|
2018
2017
|
type CardNetwork = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'interac' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
2019
2018
|
type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
|
|
2020
2019
|
type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
|
|
2021
2020
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
2022
|
-
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_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';
|
|
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' | 'previously_declined_do_not_retry' | 'highest_risk_level' | 'requested_block_on_incorrect_cvc';
|
|
2022
|
+
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
2023
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
2024
2024
|
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';
|
|
2025
|
+
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
2026
|
+
type FeatureAvailability = 'available' | 'unavailable';
|
|
2025
2027
|
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
2026
2028
|
type KlarnaProduct = 'payment';
|
|
2027
2029
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
@@ -2159,6 +2161,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2159
2161
|
readonly currency: string;
|
|
2160
2162
|
readonly customer?: string;
|
|
2161
2163
|
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
2164
|
+
readonly disputed?: boolean;
|
|
2162
2165
|
readonly paid: boolean;
|
|
2163
2166
|
readonly refunded: boolean;
|
|
2164
2167
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -2167,7 +2170,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2167
2170
|
readonly balance_transaction?: string;
|
|
2168
2171
|
readonly destination?: string;
|
|
2169
2172
|
readonly dispute?: string;
|
|
2170
|
-
readonly failure_code?:
|
|
2173
|
+
readonly failure_code?: io.flow.stripe.v0.enums.ErrorCode;
|
|
2171
2174
|
readonly failure_message?: string;
|
|
2172
2175
|
readonly on_behalf_of?: string;
|
|
2173
2176
|
readonly review?: string;
|
|
@@ -2178,6 +2181,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2178
2181
|
readonly calculated_statement_descriptor?: string;
|
|
2179
2182
|
readonly statement_descriptor?: string;
|
|
2180
2183
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
2184
|
+
readonly payment_method?: string;
|
|
2181
2185
|
}
|
|
2182
2186
|
interface ChargeDestination {
|
|
2183
2187
|
readonly account: string;
|
|
@@ -2203,6 +2207,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2203
2207
|
readonly amount_refunded: number;
|
|
2204
2208
|
readonly authorization_code?: string;
|
|
2205
2209
|
readonly captured: boolean;
|
|
2210
|
+
readonly disputed?: boolean;
|
|
2206
2211
|
readonly created: number;
|
|
2207
2212
|
readonly currency: string;
|
|
2208
2213
|
readonly customer?: string;
|
|
@@ -2215,7 +2220,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2215
2220
|
readonly balance_transaction?: string;
|
|
2216
2221
|
readonly destination?: string;
|
|
2217
2222
|
readonly dispute?: string;
|
|
2218
|
-
readonly failure_code?:
|
|
2223
|
+
readonly failure_code?: io.flow.stripe.v0.enums.ErrorCode;
|
|
2219
2224
|
readonly failure_message?: string;
|
|
2220
2225
|
readonly on_behalf_of?: string;
|
|
2221
2226
|
readonly review?: string;
|
|
@@ -2226,6 +2231,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2226
2231
|
readonly calculated_statement_descriptor?: string;
|
|
2227
2232
|
readonly statement_descriptor?: string;
|
|
2228
2233
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
2234
|
+
readonly payment_method?: string;
|
|
2229
2235
|
}
|
|
2230
2236
|
interface CodeVerification {
|
|
2231
2237
|
readonly attempts_remaining: number;
|
|
@@ -2248,6 +2254,12 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2248
2254
|
interface Error {
|
|
2249
2255
|
readonly error: io.flow.stripe.v0.models.StripeError;
|
|
2250
2256
|
}
|
|
2257
|
+
interface ExtendedAuthorization {
|
|
2258
|
+
readonly status?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
|
|
2259
|
+
}
|
|
2260
|
+
interface IncrementalAuthorization {
|
|
2261
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
2262
|
+
}
|
|
2251
2263
|
interface Keys {
|
|
2252
2264
|
readonly secret?: string;
|
|
2253
2265
|
readonly publishable?: string;
|
|
@@ -2259,16 +2271,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2259
2271
|
readonly sub_merchant_id?: string;
|
|
2260
2272
|
readonly product_category?: string;
|
|
2261
2273
|
}
|
|
2262
|
-
interface LastPaymentError {
|
|
2263
|
-
readonly charge?: string;
|
|
2264
|
-
readonly code?: string;
|
|
2265
|
-
readonly decline_code?: io.flow.stripe.v0.enums.DeclineCode;
|
|
2266
|
-
readonly doc_url?: string;
|
|
2267
|
-
readonly message?: string;
|
|
2268
|
-
readonly param?: string;
|
|
2269
|
-
readonly payment_method: io.flow.stripe.v0.models.PaymentMethod;
|
|
2270
|
-
readonly type: io.flow.stripe.v0.enums.ErrorType;
|
|
2271
|
-
}
|
|
2272
2274
|
interface LegalEntity {
|
|
2273
2275
|
readonly additional_owners?: io.flow.stripe.v0.models.Owner[];
|
|
2274
2276
|
}
|
|
@@ -2290,6 +2292,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2290
2292
|
readonly payment_request_id?: string;
|
|
2291
2293
|
readonly payment_request_order_reference?: string;
|
|
2292
2294
|
}
|
|
2295
|
+
interface Multicapture {
|
|
2296
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
2297
|
+
}
|
|
2293
2298
|
interface NetworkTokenUsed {
|
|
2294
2299
|
readonly used?: boolean;
|
|
2295
2300
|
}
|
|
@@ -2331,6 +2336,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2331
2336
|
readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
2332
2337
|
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
2333
2338
|
}
|
|
2339
|
+
interface Overcapture {
|
|
2340
|
+
readonly maximum_amount_capturable?: number;
|
|
2341
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
2342
|
+
}
|
|
2334
2343
|
interface Owner {
|
|
2335
2344
|
readonly address?: io.flow.stripe.v0.models.Address;
|
|
2336
2345
|
readonly email?: string;
|
|
@@ -2360,7 +2369,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2360
2369
|
readonly customer?: string;
|
|
2361
2370
|
readonly description?: string;
|
|
2362
2371
|
readonly invoice?: string;
|
|
2363
|
-
readonly last_payment_error?: io.flow.stripe.v0.models.
|
|
2372
|
+
readonly last_payment_error?: io.flow.stripe.v0.models.StripeError;
|
|
2364
2373
|
readonly livemode: boolean;
|
|
2365
2374
|
readonly metadata?: io.flow.stripe.v0.models.Metadata;
|
|
2366
2375
|
readonly next_action?: io.flow.stripe.v0.models.NextAction;
|
|
@@ -2399,7 +2408,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2399
2408
|
readonly off_session?: boolean;
|
|
2400
2409
|
readonly payment_method?: string;
|
|
2401
2410
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
2402
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
2411
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
2403
2412
|
readonly payment_method_types?: string[];
|
|
2404
2413
|
readonly receipt_email?: string;
|
|
2405
2414
|
readonly save_payment_method?: boolean;
|
|
@@ -2419,7 +2428,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2419
2428
|
readonly on_behalf_of?: string;
|
|
2420
2429
|
readonly payment_method?: string;
|
|
2421
2430
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
2422
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
2431
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
2423
2432
|
readonly payment_method_types?: string[];
|
|
2424
2433
|
readonly receipt_email?: string;
|
|
2425
2434
|
readonly return_url?: string;
|
|
@@ -2516,6 +2525,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2516
2525
|
readonly issuer?: string;
|
|
2517
2526
|
readonly wallet?: io.flow.stripe.v0.unions.CardWallet;
|
|
2518
2527
|
readonly network_transaction_id?: string;
|
|
2528
|
+
readonly extended_authorization?: io.flow.stripe.v0.models.ExtendedAuthorization;
|
|
2529
|
+
readonly incremental_authorization?: io.flow.stripe.v0.models.IncrementalAuthorization;
|
|
2530
|
+
readonly multicapture?: io.flow.stripe.v0.models.Multicapture;
|
|
2531
|
+
readonly overcapture?: io.flow.stripe.v0.models.Overcapture;
|
|
2519
2532
|
}
|
|
2520
2533
|
interface PaymentMethodDetailsKlarna {
|
|
2521
2534
|
readonly type: 'klarna';
|
|
@@ -2539,11 +2552,21 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2539
2552
|
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
2540
2553
|
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
2541
2554
|
readonly mcc?: string;
|
|
2555
|
+
readonly capture_before?: number;
|
|
2556
|
+
}
|
|
2557
|
+
interface PaymentMethodOptionsCardForm {
|
|
2558
|
+
readonly network?: string;
|
|
2559
|
+
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
2560
|
+
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
2561
|
+
readonly mcc?: string;
|
|
2562
|
+
}
|
|
2563
|
+
interface PaymentMethodOptionsForm {
|
|
2564
|
+
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
|
|
2542
2565
|
}
|
|
2543
2566
|
interface PaymentOutcome {
|
|
2544
|
-
readonly network_status
|
|
2545
|
-
readonly risk_level
|
|
2546
|
-
readonly seller_message
|
|
2567
|
+
readonly network_status?: io.flow.stripe.v0.enums.NetworkStatus;
|
|
2568
|
+
readonly risk_level?: string;
|
|
2569
|
+
readonly seller_message?: string;
|
|
2547
2570
|
readonly reason?: string;
|
|
2548
2571
|
readonly type?: io.flow.stripe.v0.enums.PaymentOutcomeType;
|
|
2549
2572
|
}
|
|
@@ -2724,10 +2747,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2724
2747
|
readonly type: io.flow.stripe.v0.enums.ErrorType;
|
|
2725
2748
|
readonly charge?: string;
|
|
2726
2749
|
readonly message?: string;
|
|
2727
|
-
readonly code?: io.flow.stripe.v0.enums.
|
|
2728
|
-
readonly decline_code?:
|
|
2750
|
+
readonly code?: io.flow.stripe.v0.enums.ErrorCode;
|
|
2751
|
+
readonly decline_code?: io.flow.stripe.v0.enums.DeclineCode;
|
|
2729
2752
|
readonly param?: string;
|
|
2730
2753
|
readonly payment_intent?: io.flow.stripe.v0.models.PaymentIntent;
|
|
2754
|
+
readonly payment_method?: io.flow.stripe.v0.models.PaymentMethod;
|
|
2731
2755
|
}
|
|
2732
2756
|
interface StripeEvent {
|
|
2733
2757
|
readonly id: string;
|
|
@@ -2755,9 +2779,12 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2755
2779
|
interface ThreeDSecureCharge {
|
|
2756
2780
|
readonly authenticated?: boolean;
|
|
2757
2781
|
readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
|
|
2782
|
+
readonly electronic_commerce_indicator?: string;
|
|
2783
|
+
readonly exemption_indicator?: string;
|
|
2758
2784
|
readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
|
|
2759
2785
|
readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
|
|
2760
2786
|
readonly succeeded?: boolean;
|
|
2787
|
+
readonly transaction_id?: string;
|
|
2761
2788
|
readonly version?: string;
|
|
2762
2789
|
}
|
|
2763
2790
|
interface ThreeDSecureRedirect {
|
|
@@ -2891,6 +2918,10 @@ declare namespace io.flow.label.v0.enums {
|
|
|
2891
2918
|
type TrackingNumberType = 'flow' | 'carrier';
|
|
2892
2919
|
}
|
|
2893
2920
|
declare namespace io.flow.label.v0.models {
|
|
2921
|
+
interface AdditionalServicesRequested {
|
|
2922
|
+
readonly name: string;
|
|
2923
|
+
readonly description?: string;
|
|
2924
|
+
}
|
|
2894
2925
|
interface BridgeManifest {
|
|
2895
2926
|
readonly id: string;
|
|
2896
2927
|
readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
|
|
@@ -2986,6 +3017,7 @@ declare namespace io.flow.label.v0.models {
|
|
|
2986
3017
|
readonly shipment_recipient: io.flow.label.v0.enums.ShipmentRecipient;
|
|
2987
3018
|
readonly label_request_method?: io.flow.label.v0.enums.LabelRequestMethod;
|
|
2988
3019
|
readonly label_trigger_method?: io.flow.label.v0.enums.LabelTriggerMethod;
|
|
3020
|
+
readonly additional_services_requested?: io.flow.label.v0.models.AdditionalServicesRequested[];
|
|
2989
3021
|
readonly created_at?: string;
|
|
2990
3022
|
readonly updated_at?: string;
|
|
2991
3023
|
}
|
|
@@ -11270,6 +11302,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
11270
11302
|
readonly round_individual_transactions: boolean;
|
|
11271
11303
|
readonly liabilities_method: io.flow.billing.internal.v0.enums.AccountSettingLiabilitiesMethod;
|
|
11272
11304
|
readonly enable_fee_reversals: boolean;
|
|
11305
|
+
readonly record_reason_for_transactions_pending_payout: boolean;
|
|
11273
11306
|
}
|
|
11274
11307
|
interface AccountSource {
|
|
11275
11308
|
readonly id: string;
|
|
@@ -12319,6 +12352,7 @@ declare namespace io.flow.billing.v0.models {
|
|
|
12319
12352
|
}
|
|
12320
12353
|
interface TransactionMetadataManual {
|
|
12321
12354
|
readonly discriminator: 'manual';
|
|
12355
|
+
readonly description: string;
|
|
12322
12356
|
readonly original?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
|
|
12323
12357
|
readonly url?: string;
|
|
12324
12358
|
}
|
|
@@ -13797,7 +13831,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13797
13831
|
type AdyenIntegrationType = 'hosted_payment_page' | 'checkout_payments_api' | 'classic_authorise_api';
|
|
13798
13832
|
type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know';
|
|
13799
13833
|
type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
|
|
13800
|
-
type AutoRestrictRule = 'prr-3ce7d556f2464314ab0a3e8eee33e0ce' | 'prr-599c6246a1a24752aeb85e8f79030781' | 'prr-79e41878ea564f9c81cc432a0e84703f' | 'prr-f29c26dc09e04536bc77f9c32786ed70' | 'prr-
|
|
13834
|
+
type AutoRestrictRule = 'prr-3ce7d556f2464314ab0a3e8eee33e0ce' | 'prr-599c6246a1a24752aeb85e8f79030781' | 'prr-79e41878ea564f9c81cc432a0e84703f' | 'prr-f29c26dc09e04536bc77f9c32786ed70' | 'prr-b186129720f0446eb452a68518437c95';
|
|
13801
13835
|
type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed';
|
|
13802
13836
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
13803
13837
|
type BillingMetricKey = 'adjustment_transactions_count' | 'adjustment_transactions_total' | 'capture_transactions_count' | 'capture_transactions_ignored_fraud_count' | 'capture_transactions_ignored_fully_refunded_count' | 'capture_transactions_ignored_other_count' | 'capture_transactions_ignored_previously_processed_count' | 'capture_transactions_total' | 'channel_transactions_processing_count' | 'channel_transactions_processing_total' | 'channel_transactions_adjustment_count' | 'channel_transactions_adjustment_total' | 'channel_transactions_reversal_count' | 'channel_transactions_reversal_total' | 'channel_billed_transactions_count' | 'channel_billed_transactions_total' | 'credit_payment_transactions_count' | 'credit_payment_transactions_total' | 'duty_transactions_count' | 'duty_transactions_total' | 'fully_subsidized_order_transactions_count' | 'fully_subsidized_order_transactions_total' | 'billable_label_transactions_count' | 'billable_label_transactions_count_for_unique_orders' | 'billable_label_transactions_total' | 'revenue_share_label_transactions_count' | 'revenue_share_label_transactions_count_for_unique_orders' | 'revenue_share_label_transactions_total' | 'manual_transactions_count' | 'manual_transactions_total' | 'order_transactions_count' | 'order_transactions_total' | 'refund_transactions_count' | 'refund_transactions_ignored_fraud_count' | 'refund_transactions_ignored_fully_refunded_count' | 'refund_transactions_ignored_other_count' | 'refund_transactions_ignored_previously_processed_count' | 'refund_transactions_total' | 'reversal_order_cancellations_transactions_count' | 'reversal_order_cancellations_transactions_total' | 'reversal_external_fulfillment_transactions_count' | 'reversal_external_fulfillment_transactions_total' | 'reversal_other_transactions_count' | 'reversal_other_transactions_total' | 'reversal_all_transactions_count' | 'reversal_all_transactions_total' | 'tax_transactions_count' | 'tax_transactions_total' | 'transfer_transactions_count' | 'transfer_transactions_total' | 'trueup_transactions_count' | 'trueup_transactions_total' | 'fulfillments_count' | 'fulfilled_via_replacement_order_count' | 'percentage_orders_with_fulfillment_proof_2_weeks' | 'percentage_orders_with_fulfillment_proof_4_weeks' | 'percentage_orders_with_fulfillment_proof_6_weeks' | 'percentage_orders_with_fulfillment_proof_all' | 'pending_payouts_max_age_in_millis' | 'shipping_notifications_count' | 'queued_capture_unprocessed_count' | 'queued_refund_unprocessed_count' | 'queued_label_invoice_request_unprocessed_count' | 'queued_other_unprocessed_count' | 'queued_record_snooze_count' | 'queued_record_snooze_ending_in_48_hours_count' | 'statements_no_payout_count' | 'statements_no_payout_total' | 'statements_pending_payout_count' | 'statements_pending_payout_total' | 'payouts_scheduled_count' | 'payouts_scheduled_total' | 'payouts_sent_count' | 'payouts_sent_total' | 'payouts_failed_count' | 'payouts_failed_total' | 'average_payout_amount' | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count' | 'percentage_billable_label_transactions_with_carrier_charge_10_days' | 'percentage_billable_label_transactions_with_carrier_charge_20_days' | 'percentage_billable_label_transactions_with_carrier_charge_30_days' | 'percentage_billable_label_transactions_with_carrier_charge_60_days' | 'percentage_billable_label_transactions_with_carrier_charge_90_days';
|
|
@@ -13995,6 +14029,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13995
14029
|
type OrganizationPaymentStatus = 'active' | 'archived';
|
|
13996
14030
|
type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
|
|
13997
14031
|
type OrganizationRestrictionNoteType = 'internal' | 'rejection_reason' | 'additional_rejection_info';
|
|
14032
|
+
type OrganizationRestrictionReviewType = 'all_pending' | 'pending_verification';
|
|
13998
14033
|
type OrganizationRestrictionRiskLevel = '5' | '15';
|
|
13999
14034
|
type OrganizationRestrictionScreeningStatus = 'in_review' | 'fully_reviewed' | 'rejected' | 'unscreened';
|
|
14000
14035
|
type OutputStyle = 'flow' | 'shopify_p1';
|
|
@@ -14202,6 +14237,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14202
14237
|
readonly round_individual_transactions: boolean;
|
|
14203
14238
|
readonly liabilities_method: io.flow.internal.v0.enums.AccountSettingLiabilitiesMethod;
|
|
14204
14239
|
readonly enable_fee_reversals: boolean;
|
|
14240
|
+
readonly record_reason_for_transactions_pending_payout: boolean;
|
|
14205
14241
|
}
|
|
14206
14242
|
interface AccountSettingsDeleted {
|
|
14207
14243
|
readonly discriminator: 'account_settings_deleted';
|
|
@@ -15577,7 +15613,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15577
15613
|
}
|
|
15578
15614
|
interface ChannelDebugTransaction {
|
|
15579
15615
|
readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails;
|
|
15580
|
-
readonly order?: io.flow.internal.v0.models.DebugOrder;
|
|
15581
15616
|
readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued;
|
|
15582
15617
|
}
|
|
15583
15618
|
interface ChannelForm {
|
|
@@ -15585,6 +15620,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15585
15620
|
readonly environment: io.flow.common.v0.enums.Environment;
|
|
15586
15621
|
readonly organization_id_prefix?: string;
|
|
15587
15622
|
}
|
|
15623
|
+
interface ChannelFulfillment {
|
|
15624
|
+
readonly org_id: string;
|
|
15625
|
+
readonly flow_order_number: string;
|
|
15626
|
+
readonly shopify_order_number: string;
|
|
15627
|
+
readonly legal_name?: string;
|
|
15628
|
+
readonly flow_tracking_status?: io.flow.tracking.v0.enums.TrackingStatus;
|
|
15629
|
+
readonly order_items: io.flow.experience.v0.models.LocalizedLineItem[];
|
|
15630
|
+
readonly label_items: io.flow.experience.v0.models.LocalizedLineItem[];
|
|
15631
|
+
readonly carrier?: io.flow.reference.v0.models.CarrierService;
|
|
15632
|
+
readonly tracking_numbers?: string[];
|
|
15633
|
+
}
|
|
15588
15634
|
interface ChannelMembership {
|
|
15589
15635
|
readonly id: string;
|
|
15590
15636
|
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
@@ -18042,8 +18088,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18042
18088
|
readonly ignore_reason?: string;
|
|
18043
18089
|
}
|
|
18044
18090
|
interface DebugTransactionDetails {
|
|
18045
|
-
readonly
|
|
18091
|
+
readonly transaction: io.flow.billing.v0.models.Transaction;
|
|
18046
18092
|
readonly status: io.flow.internal.v0.models.DebugTransactionDetailsStatus;
|
|
18093
|
+
readonly payout?: io.flow.billing.v0.models.PendingPayoutTransactionReason;
|
|
18047
18094
|
readonly fx?: io.flow.internal.v0.models.DebugTransactionFx;
|
|
18048
18095
|
}
|
|
18049
18096
|
interface DebugTransactionDetailsStatus {
|
|
@@ -19415,18 +19462,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19415
19462
|
}
|
|
19416
19463
|
interface Fulfillment {
|
|
19417
19464
|
readonly id: string;
|
|
19418
|
-
readonly fulfilled_at: string;
|
|
19419
|
-
readonly owner: io.flow.internal.v0.enums.LogisticsResponsibility;
|
|
19420
|
-
readonly currency: string;
|
|
19421
19465
|
readonly order: io.flow.internal.v0.models.OrderSummary;
|
|
19422
|
-
readonly origin?: io.flow.internal.v0.models.FulfillmentOrigin;
|
|
19423
19466
|
readonly shopper: io.flow.internal.v0.models.ShopperSummary;
|
|
19424
19467
|
readonly merchant: io.flow.internal.v0.models.MerchantSummary;
|
|
19425
|
-
readonly trigger: io.flow.internal.v0.unions.FulfillmentTrigger;
|
|
19426
|
-
readonly completes_order: boolean;
|
|
19427
19468
|
readonly sequence_number: number;
|
|
19428
19469
|
readonly posting_cutoff: string;
|
|
19470
|
+
readonly trigger: io.flow.internal.v0.unions.FulfillmentTrigger;
|
|
19471
|
+
readonly fulfilled_at: string;
|
|
19472
|
+
readonly owner: io.flow.internal.v0.enums.LogisticsResponsibility;
|
|
19473
|
+
readonly origin?: io.flow.internal.v0.models.FulfillmentOrigin;
|
|
19429
19474
|
readonly business?: io.flow.internal.v0.models.FulfillmentBusiness;
|
|
19475
|
+
readonly completes_order: boolean;
|
|
19430
19476
|
}
|
|
19431
19477
|
interface FulfillmentActionForm {
|
|
19432
19478
|
readonly discriminator: 'fulfillment_action_form';
|
|
@@ -20468,7 +20514,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20468
20514
|
}
|
|
20469
20515
|
interface InternalDebugTransaction {
|
|
20470
20516
|
readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails;
|
|
20471
|
-
readonly order?: io.flow.internal.v0.models.DebugOrder;
|
|
20472
20517
|
readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued;
|
|
20473
20518
|
}
|
|
20474
20519
|
interface InternalExclusionRuleForm {
|
|
@@ -22082,6 +22127,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22082
22127
|
readonly id: string;
|
|
22083
22128
|
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
22084
22129
|
readonly number: string;
|
|
22130
|
+
readonly type: io.flow.experience.v0.enums.OrderType;
|
|
22131
|
+
readonly submitted_at: string;
|
|
22132
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
22133
|
+
readonly currency: string;
|
|
22085
22134
|
}
|
|
22086
22135
|
interface OrderTransaction {
|
|
22087
22136
|
readonly discriminator: 'order_transaction';
|
|
@@ -22263,7 +22312,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22263
22312
|
}
|
|
22264
22313
|
interface OrganizationDebugTransaction {
|
|
22265
22314
|
readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails;
|
|
22266
|
-
readonly order?: io.flow.internal.v0.models.DebugOrder;
|
|
22267
22315
|
readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued;
|
|
22268
22316
|
}
|
|
22269
22317
|
interface OrganizationInvitationAcceptForm {
|
|
@@ -22332,6 +22380,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22332
22380
|
readonly organization_id: string;
|
|
22333
22381
|
readonly approval_status: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
22334
22382
|
readonly screening_status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
22383
|
+
readonly review_type?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
22335
22384
|
readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
22336
22385
|
readonly hs_code?: string;
|
|
22337
22386
|
readonly merchant_category_code?: string;
|
|
@@ -23585,6 +23634,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23585
23634
|
interface RestrictionKeywords {
|
|
23586
23635
|
readonly positive_keywords: string[];
|
|
23587
23636
|
readonly negative_keywords: string[];
|
|
23637
|
+
readonly positive_search_matches: string[];
|
|
23638
|
+
readonly negative_search_matches: string[];
|
|
23588
23639
|
}
|
|
23589
23640
|
interface RestrictionOrganization {
|
|
23590
23641
|
readonly id: string;
|
|
@@ -23593,6 +23644,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23593
23644
|
readonly url?: string;
|
|
23594
23645
|
readonly approval_status?: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
23595
23646
|
readonly screening_status?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
23647
|
+
readonly review_type?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
23596
23648
|
readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
23597
23649
|
readonly hs_code?: string;
|
|
23598
23650
|
readonly merchant_category_code?: string;
|
|
@@ -23735,6 +23787,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23735
23787
|
readonly carrier: string;
|
|
23736
23788
|
readonly carrier_tracking_numbers: string[];
|
|
23737
23789
|
}
|
|
23790
|
+
interface Return {
|
|
23791
|
+
readonly id: string;
|
|
23792
|
+
readonly order: io.flow.internal.v0.models.OrderSummary;
|
|
23793
|
+
readonly shopper: io.flow.internal.v0.models.ShopperSummary;
|
|
23794
|
+
readonly merchant: io.flow.internal.v0.models.MerchantSummary;
|
|
23795
|
+
readonly sequence_number: number;
|
|
23796
|
+
readonly posting_cutoff: string;
|
|
23797
|
+
readonly trigger: io.flow.internal.v0.unions.ReturnTrigger;
|
|
23798
|
+
readonly returned_at: string;
|
|
23799
|
+
}
|
|
23738
23800
|
interface ReturnPolicyDeleted {
|
|
23739
23801
|
readonly discriminator: 'return_policy_deleted';
|
|
23740
23802
|
readonly event_id: string;
|
|
@@ -23769,6 +23831,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23769
23831
|
readonly key: string;
|
|
23770
23832
|
readonly tracking_summary?: io.flow.internal.v0.models.SearchTrackingSummary;
|
|
23771
23833
|
}
|
|
23834
|
+
interface ReturnTriggerRefund {
|
|
23835
|
+
readonly discriminator: 'by_refund';
|
|
23836
|
+
readonly refund: io.flow.payment.v0.models.RefundReference;
|
|
23837
|
+
}
|
|
23772
23838
|
interface RoutingAccount {
|
|
23773
23839
|
readonly discriminator: 'routing_account';
|
|
23774
23840
|
readonly processor: io.flow.internal.v0.enums.Processor;
|
|
@@ -24439,7 +24505,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24439
24505
|
readonly total: number;
|
|
24440
24506
|
}
|
|
24441
24507
|
interface ShopperSummary {
|
|
24442
|
-
readonly
|
|
24508
|
+
readonly product: io.flow.internal.v0.models.ShopperLines;
|
|
24443
24509
|
readonly fees: io.flow.internal.v0.models.ShopperFees;
|
|
24444
24510
|
readonly freight: io.flow.internal.v0.models.ShopperFreight;
|
|
24445
24511
|
readonly order_discount: number;
|
|
@@ -25564,6 +25630,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25564
25630
|
type ProcessorMerchantModificationForm = io.flow.internal.v0.models.StripeMerchantModificationForm | io.flow.internal.v0.models.AdyenMerchantModificationForm | io.flow.internal.v0.models.FiservMerchantModificationForm | io.flow.internal.v0.models.PaypalMerchantModificationForm;
|
|
25565
25631
|
type ProcessorMerchantPutForm = io.flow.internal.v0.models.StripeMerchantPutForm | io.flow.internal.v0.models.AdyenMerchantPutForm | io.flow.internal.v0.models.FiservMerchantPutForm | io.flow.internal.v0.models.PaypalMerchantPutForm;
|
|
25566
25632
|
type ProofOfPosting = io.flow.internal.v0.models.ProofOfPostingFulfilled | io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled | io.flow.internal.v0.models.ProofOfPostingShippingNotification | io.flow.internal.v0.models.ProofOfPostingOrderCancellation | io.flow.internal.v0.models.ProofOfPostingOrderCombinedShipment;
|
|
25633
|
+
type ReturnTrigger = io.flow.internal.v0.models.ReturnTriggerRefund;
|
|
25567
25634
|
type RoutingEntity = io.flow.internal.v0.models.RoutingProcessor | io.flow.internal.v0.models.RoutingAccount | io.flow.internal.v0.models.RoutingMerchant;
|
|
25568
25635
|
type ShopifyMonitoringOrderMonitorType = io.flow.internal.v0.models.ShopifyMonitoringFulfillmentExternal | io.flow.internal.v0.models.ShopifyMonitoringFulfillmentMissingDetails;
|
|
25569
25636
|
type ShopifyPromotionOfferDiscount = io.flow.internal.v0.models.ShopifyPromotionFixedAmount | io.flow.internal.v0.models.ShopifyPromotionPercent;
|
|
@@ -25857,6 +25924,7 @@ export declare type ChannelCurrencySettingForm = io.flow.internal.v0.models.Chan
|
|
|
25857
25924
|
export declare type ChannelCurrencySettingUpserted = io.flow.internal.v0.models.ChannelCurrencySettingUpserted;
|
|
25858
25925
|
export declare type ChannelDebugTransaction = io.flow.internal.v0.models.ChannelDebugTransaction;
|
|
25859
25926
|
export declare type ChannelForm = io.flow.internal.v0.models.ChannelForm;
|
|
25927
|
+
export declare type ChannelFulfillment = io.flow.internal.v0.models.ChannelFulfillment;
|
|
25860
25928
|
export declare type ChannelMembership = io.flow.internal.v0.models.ChannelMembership;
|
|
25861
25929
|
export declare type ChannelMembershipForm = io.flow.internal.v0.models.ChannelMembershipForm;
|
|
25862
25930
|
export declare type ChannelMembershipPutForm = io.flow.internal.v0.models.ChannelMembershipPutForm;
|
|
@@ -27255,6 +27323,7 @@ export declare type OrganizationPaymentStatus = io.flow.internal.v0.enums.Organi
|
|
|
27255
27323
|
export declare type OrganizationRestrictionApprovalStatus = io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
27256
27324
|
export declare type OrganizationRestrictionNoteForm = io.flow.internal.v0.models.OrganizationRestrictionNoteForm;
|
|
27257
27325
|
export declare type OrganizationRestrictionNoteType = io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
|
|
27326
|
+
export declare type OrganizationRestrictionReviewType = io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
27258
27327
|
export declare type OrganizationRestrictionRiskLevel = io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
27259
27328
|
export declare type OrganizationRestrictionScreeningDecisionForm = io.flow.internal.v0.models.OrganizationRestrictionScreeningDecisionForm;
|
|
27260
27329
|
export declare type OrganizationRestrictionScreeningStatus = io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
@@ -27509,11 +27578,14 @@ export declare type ResyncByHs6Origin = io.flow.internal.v0.models.ResyncByHs6Or
|
|
|
27509
27578
|
export declare type ResyncFallbackRates = io.flow.internal.v0.models.ResyncFallbackRates;
|
|
27510
27579
|
export declare type Retracking = io.flow.internal.v0.models.Retracking;
|
|
27511
27580
|
export declare type RetrackingForm = io.flow.internal.v0.models.RetrackingForm;
|
|
27581
|
+
export declare type Return = io.flow.internal.v0.models.Return;
|
|
27512
27582
|
export declare type ReturnPolicyDeleted = io.flow.internal.v0.models.ReturnPolicyDeleted;
|
|
27513
27583
|
export declare type ReturnPolicyItemResultDeleted = io.flow.internal.v0.models.ReturnPolicyItemResultDeleted;
|
|
27514
27584
|
export declare type ReturnPolicyItemResultUpserted = io.flow.internal.v0.models.ReturnPolicyItemResultUpserted;
|
|
27515
27585
|
export declare type ReturnPolicyUpserted = io.flow.internal.v0.models.ReturnPolicyUpserted;
|
|
27516
27586
|
export declare type ReturnSummary = io.flow.internal.v0.models.ReturnSummary;
|
|
27587
|
+
export declare type ReturnTrigger = io.flow.internal.v0.unions.ReturnTrigger;
|
|
27588
|
+
export declare type ReturnTriggerRefund = io.flow.internal.v0.models.ReturnTriggerRefund;
|
|
27517
27589
|
export declare type RiskCheck = io.flow.internal.v0.enums.RiskCheck;
|
|
27518
27590
|
export declare type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation;
|
|
27519
27591
|
export declare type RoutingAccount = io.flow.internal.v0.models.RoutingAccount;
|