@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/src/api-internal.ts
CHANGED
|
@@ -2516,19 +2516,6 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2516
2516
|
| 'JCB'
|
|
2517
2517
|
| 'Diners Club'
|
|
2518
2518
|
| 'Unknown';
|
|
2519
|
-
type CardErrorCode =
|
|
2520
|
-
| 'invalid_number'
|
|
2521
|
-
| 'invalid_expiry_month'
|
|
2522
|
-
| 'invalid_expiry_year'
|
|
2523
|
-
| 'invalid_cvc'
|
|
2524
|
-
| 'invalid_swipe_data'
|
|
2525
|
-
| 'incorrect_number'
|
|
2526
|
-
| 'expired_card'
|
|
2527
|
-
| 'incorrect_cvc'
|
|
2528
|
-
| 'incorrect_zip'
|
|
2529
|
-
| 'card_declined'
|
|
2530
|
-
| 'missing'
|
|
2531
|
-
| 'processing_error';
|
|
2532
2519
|
type CardFundingType = 'credit' | 'debit' | 'prepaid' | 'unknown';
|
|
2533
2520
|
type CardNetwork =
|
|
2534
2521
|
| 'amex'
|
|
@@ -2565,6 +2552,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2565
2552
|
| 'invalid_account'
|
|
2566
2553
|
| 'invalid_amount'
|
|
2567
2554
|
| 'invalid_cvc'
|
|
2555
|
+
| 'invalid_expiry_month'
|
|
2568
2556
|
| 'invalid_expiry_year'
|
|
2569
2557
|
| 'invalid_number'
|
|
2570
2558
|
| 'invalid_pin'
|
|
@@ -2587,7 +2575,82 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2587
2575
|
| 'testmode_decline'
|
|
2588
2576
|
| 'transaction_not_allowed'
|
|
2589
2577
|
| 'try_again_later'
|
|
2590
|
-
| 'withdrawal_count_limit_exceeded'
|
|
2578
|
+
| 'withdrawal_count_limit_exceeded'
|
|
2579
|
+
| 'previously_declined_do_not_retry'
|
|
2580
|
+
| 'highest_risk_level'
|
|
2581
|
+
| 'requested_block_on_incorrect_cvc';
|
|
2582
|
+
type ErrorCode =
|
|
2583
|
+
| 'invalid_number'
|
|
2584
|
+
| 'invalid_expiry_month'
|
|
2585
|
+
| 'invalid_expiry_year'
|
|
2586
|
+
| 'invalid_cvc'
|
|
2587
|
+
| 'invalid_swipe_data'
|
|
2588
|
+
| 'country_code_invalid'
|
|
2589
|
+
| 'email_invalid'
|
|
2590
|
+
| 'postal_code_invalid'
|
|
2591
|
+
| 'invalid_characters'
|
|
2592
|
+
| 'url_invalid'
|
|
2593
|
+
| 'invalid_charge_amount'
|
|
2594
|
+
| 'incorrect_number'
|
|
2595
|
+
| 'incorrect_address'
|
|
2596
|
+
| 'incorrect_cvc'
|
|
2597
|
+
| 'incorrect_zip'
|
|
2598
|
+
| 'card_declined'
|
|
2599
|
+
| 'expired_card'
|
|
2600
|
+
| 'missing'
|
|
2601
|
+
| 'processing_error'
|
|
2602
|
+
| 'account_closed'
|
|
2603
|
+
| 'amount_too_small'
|
|
2604
|
+
| 'amount_too_large'
|
|
2605
|
+
| 'api_key_expired'
|
|
2606
|
+
| 'authentication_required'
|
|
2607
|
+
| 'capture_charge_authorization_expired'
|
|
2608
|
+
| 'capture_unauthorized_payment'
|
|
2609
|
+
| 'card_decline_rate_limit_exceeded'
|
|
2610
|
+
| 'charge_already_captured'
|
|
2611
|
+
| 'charge_already_refunded'
|
|
2612
|
+
| 'charge_disputed'
|
|
2613
|
+
| 'charge_exceeds_source_limit'
|
|
2614
|
+
| 'charge_expired_for_capture'
|
|
2615
|
+
| 'charge_invalid_parameter'
|
|
2616
|
+
| 'charge_not_refundable'
|
|
2617
|
+
| 'insufficient_funds'
|
|
2618
|
+
| 'intent_invalid_state'
|
|
2619
|
+
| 'livemode_mismatch'
|
|
2620
|
+
| 'parameter_invalid_empty'
|
|
2621
|
+
| 'parameter_invalid_integer'
|
|
2622
|
+
| 'parameter_invalid_string_blank'
|
|
2623
|
+
| 'parameter_invalid_string_empty'
|
|
2624
|
+
| 'parameter_missing'
|
|
2625
|
+
| 'parameter_unknown'
|
|
2626
|
+
| 'parameters_exclusive'
|
|
2627
|
+
| 'payment_intent_action_required'
|
|
2628
|
+
| 'payment_intent_authentication_failure'
|
|
2629
|
+
| 'payment_intent_incompatible_payment_method'
|
|
2630
|
+
| 'payment_intent_payment_attempt_expired'
|
|
2631
|
+
| 'payment_intent_payment_attempt_failed'
|
|
2632
|
+
| 'payment_intent_unexpected_state'
|
|
2633
|
+
| 'payment_intent_invalid_parameter'
|
|
2634
|
+
| 'payment_method_billing_details_address_missing'
|
|
2635
|
+
| 'payment_method_customer_decline'
|
|
2636
|
+
| 'payment_method_currency_mismatch'
|
|
2637
|
+
| 'payment_method_invalid_parameter'
|
|
2638
|
+
| 'payment_method_invalid_parameter_testmode'
|
|
2639
|
+
| 'payment_method_not_available'
|
|
2640
|
+
| 'payment_method_provider_decline'
|
|
2641
|
+
| 'payment_method_provider_timeout'
|
|
2642
|
+
| 'payment_method_unactivated'
|
|
2643
|
+
| 'payment_method_unexpected_state'
|
|
2644
|
+
| 'payment_method_unsupported_type'
|
|
2645
|
+
| 'platform_api_key_expired'
|
|
2646
|
+
| 'refund_disputed_payment'
|
|
2647
|
+
| 'testmode_charges_only'
|
|
2648
|
+
| 'tls_version_unsupported'
|
|
2649
|
+
| 'setup_attempt_failed'
|
|
2650
|
+
| 'setup_intent_authentication_failure'
|
|
2651
|
+
| 'setup_intent_invalid_parameter'
|
|
2652
|
+
| 'setup_intent_setup_attempt_expired'
|
|
2653
|
+
| 'setup_intent_unexpected_state';
|
|
2591
2654
|
type ErrorType =
|
|
2592
2655
|
| 'api_connection_error'
|
|
2593
2656
|
| 'api_error'
|
|
@@ -2616,6 +2679,8 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2616
2679
|
| 'source.canceled'
|
|
2617
2680
|
| 'source.chargeable'
|
|
2618
2681
|
| 'source.failed';
|
|
2682
|
+
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
2683
|
+
type FeatureAvailability = 'available' | 'unavailable';
|
|
2619
2684
|
type KlarnaPaymentMethodCategoryType =
|
|
2620
2685
|
| 'direct_bank_transfer'
|
|
2621
2686
|
| 'direct_debit'
|
|
@@ -2881,6 +2946,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2881
2946
|
readonly currency: string;
|
|
2882
2947
|
readonly customer?: string;
|
|
2883
2948
|
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
2949
|
+
readonly disputed?: boolean;
|
|
2884
2950
|
readonly paid: boolean;
|
|
2885
2951
|
readonly refunded: boolean;
|
|
2886
2952
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -2889,7 +2955,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2889
2955
|
readonly balance_transaction?: string;
|
|
2890
2956
|
readonly destination?: string;
|
|
2891
2957
|
readonly dispute?: string;
|
|
2892
|
-
readonly failure_code?:
|
|
2958
|
+
readonly failure_code?: io.flow.stripe.v0.enums.ErrorCode;
|
|
2893
2959
|
readonly failure_message?: string;
|
|
2894
2960
|
readonly on_behalf_of?: string;
|
|
2895
2961
|
readonly review?: string;
|
|
@@ -2900,6 +2966,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2900
2966
|
readonly calculated_statement_descriptor?: string;
|
|
2901
2967
|
readonly statement_descriptor?: string;
|
|
2902
2968
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
2969
|
+
readonly payment_method?: string;
|
|
2903
2970
|
}
|
|
2904
2971
|
|
|
2905
2972
|
interface ChargeDestination {
|
|
@@ -2928,6 +2995,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2928
2995
|
readonly amount_refunded: number;
|
|
2929
2996
|
readonly authorization_code?: string;
|
|
2930
2997
|
readonly captured: boolean;
|
|
2998
|
+
readonly disputed?: boolean;
|
|
2931
2999
|
readonly created: number;
|
|
2932
3000
|
readonly currency: string;
|
|
2933
3001
|
readonly customer?: string;
|
|
@@ -2940,7 +3008,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2940
3008
|
readonly balance_transaction?: string;
|
|
2941
3009
|
readonly destination?: string;
|
|
2942
3010
|
readonly dispute?: string;
|
|
2943
|
-
readonly failure_code?:
|
|
3011
|
+
readonly failure_code?: io.flow.stripe.v0.enums.ErrorCode;
|
|
2944
3012
|
readonly failure_message?: string;
|
|
2945
3013
|
readonly on_behalf_of?: string;
|
|
2946
3014
|
readonly review?: string;
|
|
@@ -2951,6 +3019,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2951
3019
|
readonly calculated_statement_descriptor?: string;
|
|
2952
3020
|
readonly statement_descriptor?: string;
|
|
2953
3021
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
3022
|
+
readonly payment_method?: string;
|
|
2954
3023
|
}
|
|
2955
3024
|
|
|
2956
3025
|
interface CodeVerification {
|
|
@@ -2978,6 +3047,14 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2978
3047
|
readonly error: io.flow.stripe.v0.models.StripeError;
|
|
2979
3048
|
}
|
|
2980
3049
|
|
|
3050
|
+
interface ExtendedAuthorization {
|
|
3051
|
+
readonly status?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
interface IncrementalAuthorization {
|
|
3055
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
3056
|
+
}
|
|
3057
|
+
|
|
2981
3058
|
interface Keys {
|
|
2982
3059
|
readonly secret?: string;
|
|
2983
3060
|
readonly publishable?: string;
|
|
@@ -2992,17 +3069,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2992
3069
|
readonly product_category?: string;
|
|
2993
3070
|
}
|
|
2994
3071
|
|
|
2995
|
-
interface LastPaymentError {
|
|
2996
|
-
readonly charge?: string;
|
|
2997
|
-
readonly code?: string;
|
|
2998
|
-
readonly decline_code?: io.flow.stripe.v0.enums.DeclineCode;
|
|
2999
|
-
readonly doc_url?: string;
|
|
3000
|
-
readonly message?: string;
|
|
3001
|
-
readonly param?: string;
|
|
3002
|
-
readonly payment_method: io.flow.stripe.v0.models.PaymentMethod;
|
|
3003
|
-
readonly type: io.flow.stripe.v0.enums.ErrorType;
|
|
3004
|
-
}
|
|
3005
|
-
|
|
3006
3072
|
interface LegalEntity {
|
|
3007
3073
|
readonly additional_owners?: io.flow.stripe.v0.models.Owner[];
|
|
3008
3074
|
}
|
|
@@ -3028,6 +3094,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3028
3094
|
readonly payment_request_order_reference?: string;
|
|
3029
3095
|
}
|
|
3030
3096
|
|
|
3097
|
+
interface Multicapture {
|
|
3098
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
3099
|
+
}
|
|
3100
|
+
|
|
3031
3101
|
interface NetworkTokenUsed {
|
|
3032
3102
|
readonly used?: boolean;
|
|
3033
3103
|
}
|
|
@@ -3075,6 +3145,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3075
3145
|
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
3076
3146
|
}
|
|
3077
3147
|
|
|
3148
|
+
interface Overcapture {
|
|
3149
|
+
readonly maximum_amount_capturable?: number;
|
|
3150
|
+
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3078
3153
|
interface Owner {
|
|
3079
3154
|
readonly address?: io.flow.stripe.v0.models.Address;
|
|
3080
3155
|
readonly email?: string;
|
|
@@ -3105,7 +3180,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3105
3180
|
readonly customer?: string;
|
|
3106
3181
|
readonly description?: string;
|
|
3107
3182
|
readonly invoice?: string;
|
|
3108
|
-
readonly last_payment_error?: io.flow.stripe.v0.models.
|
|
3183
|
+
readonly last_payment_error?: io.flow.stripe.v0.models.StripeError;
|
|
3109
3184
|
readonly livemode: boolean;
|
|
3110
3185
|
readonly metadata?: io.flow.stripe.v0.models.Metadata;
|
|
3111
3186
|
readonly next_action?: io.flow.stripe.v0.models.NextAction;
|
|
@@ -3148,7 +3223,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3148
3223
|
readonly off_session?: boolean;
|
|
3149
3224
|
readonly payment_method?: string;
|
|
3150
3225
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
3151
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
3226
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
3152
3227
|
readonly payment_method_types?: string[];
|
|
3153
3228
|
readonly receipt_email?: string;
|
|
3154
3229
|
readonly save_payment_method?: boolean;
|
|
@@ -3169,7 +3244,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3169
3244
|
readonly on_behalf_of?: string;
|
|
3170
3245
|
readonly payment_method?: string;
|
|
3171
3246
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
3172
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
3247
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
3173
3248
|
readonly payment_method_types?: string[];
|
|
3174
3249
|
readonly receipt_email?: string;
|
|
3175
3250
|
readonly return_url?: string;
|
|
@@ -3275,6 +3350,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3275
3350
|
readonly issuer?: string;
|
|
3276
3351
|
readonly wallet?: io.flow.stripe.v0.unions.CardWallet;
|
|
3277
3352
|
readonly network_transaction_id?: string;
|
|
3353
|
+
readonly extended_authorization?: io.flow.stripe.v0.models.ExtendedAuthorization;
|
|
3354
|
+
readonly incremental_authorization?: io.flow.stripe.v0.models.IncrementalAuthorization;
|
|
3355
|
+
readonly multicapture?: io.flow.stripe.v0.models.Multicapture;
|
|
3356
|
+
readonly overcapture?: io.flow.stripe.v0.models.Overcapture;
|
|
3278
3357
|
}
|
|
3279
3358
|
|
|
3280
3359
|
interface PaymentMethodDetailsKlarna {
|
|
@@ -3303,12 +3382,24 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3303
3382
|
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
3304
3383
|
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
3305
3384
|
readonly mcc?: string;
|
|
3385
|
+
readonly capture_before?: number;
|
|
3386
|
+
}
|
|
3387
|
+
|
|
3388
|
+
interface PaymentMethodOptionsCardForm {
|
|
3389
|
+
readonly network?: string;
|
|
3390
|
+
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
3391
|
+
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
3392
|
+
readonly mcc?: string;
|
|
3393
|
+
}
|
|
3394
|
+
|
|
3395
|
+
interface PaymentMethodOptionsForm {
|
|
3396
|
+
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
|
|
3306
3397
|
}
|
|
3307
3398
|
|
|
3308
3399
|
interface PaymentOutcome {
|
|
3309
|
-
readonly network_status
|
|
3310
|
-
readonly risk_level
|
|
3311
|
-
readonly seller_message
|
|
3400
|
+
readonly network_status?: io.flow.stripe.v0.enums.NetworkStatus;
|
|
3401
|
+
readonly risk_level?: string;
|
|
3402
|
+
readonly seller_message?: string;
|
|
3312
3403
|
readonly reason?: string;
|
|
3313
3404
|
readonly type?: io.flow.stripe.v0.enums.PaymentOutcomeType;
|
|
3314
3405
|
}
|
|
@@ -3507,10 +3598,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3507
3598
|
readonly type: io.flow.stripe.v0.enums.ErrorType;
|
|
3508
3599
|
readonly charge?: string;
|
|
3509
3600
|
readonly message?: string;
|
|
3510
|
-
readonly code?: io.flow.stripe.v0.enums.
|
|
3511
|
-
readonly decline_code?:
|
|
3601
|
+
readonly code?: io.flow.stripe.v0.enums.ErrorCode;
|
|
3602
|
+
readonly decline_code?: io.flow.stripe.v0.enums.DeclineCode;
|
|
3512
3603
|
readonly param?: string;
|
|
3513
3604
|
readonly payment_intent?: io.flow.stripe.v0.models.PaymentIntent;
|
|
3605
|
+
readonly payment_method?: io.flow.stripe.v0.models.PaymentMethod;
|
|
3514
3606
|
}
|
|
3515
3607
|
|
|
3516
3608
|
interface StripeEvent {
|
|
@@ -3543,9 +3635,12 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3543
3635
|
interface ThreeDSecureCharge {
|
|
3544
3636
|
readonly authenticated?: boolean;
|
|
3545
3637
|
readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
|
|
3638
|
+
readonly electronic_commerce_indicator?: string;
|
|
3639
|
+
readonly exemption_indicator?: string;
|
|
3546
3640
|
readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
|
|
3547
3641
|
readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
|
|
3548
3642
|
readonly succeeded?: boolean;
|
|
3643
|
+
readonly transaction_id?: string;
|
|
3549
3644
|
readonly version?: string;
|
|
3550
3645
|
}
|
|
3551
3646
|
|
|
@@ -3719,6 +3814,11 @@ declare namespace io.flow.label.v0.enums {
|
|
|
3719
3814
|
}
|
|
3720
3815
|
|
|
3721
3816
|
declare namespace io.flow.label.v0.models {
|
|
3817
|
+
interface AdditionalServicesRequested {
|
|
3818
|
+
readonly name: string;
|
|
3819
|
+
readonly description?: string;
|
|
3820
|
+
}
|
|
3821
|
+
|
|
3722
3822
|
interface BridgeManifest {
|
|
3723
3823
|
readonly id: string;
|
|
3724
3824
|
readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
|
|
@@ -3824,6 +3924,7 @@ declare namespace io.flow.label.v0.models {
|
|
|
3824
3924
|
readonly shipment_recipient: io.flow.label.v0.enums.ShipmentRecipient;
|
|
3825
3925
|
readonly label_request_method?: io.flow.label.v0.enums.LabelRequestMethod;
|
|
3826
3926
|
readonly label_trigger_method?: io.flow.label.v0.enums.LabelTriggerMethod;
|
|
3927
|
+
readonly additional_services_requested?: io.flow.label.v0.models.AdditionalServicesRequested[];
|
|
3827
3928
|
readonly created_at?: string;
|
|
3828
3929
|
readonly updated_at?: string;
|
|
3829
3930
|
}
|
|
@@ -14829,6 +14930,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
14829
14930
|
readonly round_individual_transactions: boolean;
|
|
14830
14931
|
readonly liabilities_method: io.flow.billing.internal.v0.enums.AccountSettingLiabilitiesMethod;
|
|
14831
14932
|
readonly enable_fee_reversals: boolean;
|
|
14933
|
+
readonly record_reason_for_transactions_pending_payout: boolean;
|
|
14832
14934
|
}
|
|
14833
14935
|
|
|
14834
14936
|
interface AccountSource {
|
|
@@ -16107,6 +16209,7 @@ declare namespace io.flow.billing.v0.models {
|
|
|
16107
16209
|
|
|
16108
16210
|
interface TransactionMetadataManual {
|
|
16109
16211
|
readonly discriminator: 'manual';
|
|
16212
|
+
readonly description: string;
|
|
16110
16213
|
readonly original?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
|
|
16111
16214
|
readonly url?: string;
|
|
16112
16215
|
}
|
|
@@ -17962,7 +18065,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17962
18065
|
| 'prr-599c6246a1a24752aeb85e8f79030781'
|
|
17963
18066
|
| 'prr-79e41878ea564f9c81cc432a0e84703f'
|
|
17964
18067
|
| 'prr-f29c26dc09e04536bc77f9c32786ed70'
|
|
17965
|
-
| 'prr-
|
|
18068
|
+
| 'prr-b186129720f0446eb452a68518437c95';
|
|
17966
18069
|
type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed';
|
|
17967
18070
|
type BillingAllocationKey =
|
|
17968
18071
|
| 'freight_cost'
|
|
@@ -19070,6 +19173,9 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
19070
19173
|
| 'internal'
|
|
19071
19174
|
| 'rejection_reason'
|
|
19072
19175
|
| 'additional_rejection_info';
|
|
19176
|
+
type OrganizationRestrictionReviewType =
|
|
19177
|
+
| 'all_pending'
|
|
19178
|
+
| 'pending_verification';
|
|
19073
19179
|
type OrganizationRestrictionRiskLevel = '5' | '15';
|
|
19074
19180
|
type OrganizationRestrictionScreeningStatus =
|
|
19075
19181
|
| 'in_review'
|
|
@@ -19467,6 +19573,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19467
19573
|
readonly round_individual_transactions: boolean;
|
|
19468
19574
|
readonly liabilities_method: io.flow.internal.v0.enums.AccountSettingLiabilitiesMethod;
|
|
19469
19575
|
readonly enable_fee_reversals: boolean;
|
|
19576
|
+
readonly record_reason_for_transactions_pending_payout: boolean;
|
|
19470
19577
|
}
|
|
19471
19578
|
|
|
19472
19579
|
interface AccountSettingsDeleted {
|
|
@@ -21065,7 +21172,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21065
21172
|
|
|
21066
21173
|
interface ChannelDebugTransaction {
|
|
21067
21174
|
readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails;
|
|
21068
|
-
readonly order?: io.flow.internal.v0.models.DebugOrder;
|
|
21069
21175
|
readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued;
|
|
21070
21176
|
}
|
|
21071
21177
|
|
|
@@ -21075,6 +21181,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21075
21181
|
readonly organization_id_prefix?: string;
|
|
21076
21182
|
}
|
|
21077
21183
|
|
|
21184
|
+
interface ChannelFulfillment {
|
|
21185
|
+
readonly org_id: string;
|
|
21186
|
+
readonly flow_order_number: string;
|
|
21187
|
+
readonly shopify_order_number: string;
|
|
21188
|
+
readonly legal_name?: string;
|
|
21189
|
+
readonly flow_tracking_status?: io.flow.tracking.v0.enums.TrackingStatus;
|
|
21190
|
+
readonly order_items: io.flow.experience.v0.models.LocalizedLineItem[];
|
|
21191
|
+
readonly label_items: io.flow.experience.v0.models.LocalizedLineItem[];
|
|
21192
|
+
readonly carrier?: io.flow.reference.v0.models.CarrierService;
|
|
21193
|
+
readonly tracking_numbers?: string[];
|
|
21194
|
+
}
|
|
21195
|
+
|
|
21078
21196
|
interface ChannelMembership {
|
|
21079
21197
|
readonly id: string;
|
|
21080
21198
|
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
@@ -24032,8 +24150,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24032
24150
|
}
|
|
24033
24151
|
|
|
24034
24152
|
interface DebugTransactionDetails {
|
|
24035
|
-
readonly
|
|
24153
|
+
readonly transaction: io.flow.billing.v0.models.Transaction;
|
|
24036
24154
|
readonly status: io.flow.internal.v0.models.DebugTransactionDetailsStatus;
|
|
24155
|
+
readonly payout?: io.flow.billing.v0.models.PendingPayoutTransactionReason;
|
|
24037
24156
|
readonly fx?: io.flow.internal.v0.models.DebugTransactionFx;
|
|
24038
24157
|
}
|
|
24039
24158
|
|
|
@@ -25606,18 +25725,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25606
25725
|
|
|
25607
25726
|
interface Fulfillment {
|
|
25608
25727
|
readonly id: string;
|
|
25609
|
-
readonly fulfilled_at: string;
|
|
25610
|
-
readonly owner: io.flow.internal.v0.enums.LogisticsResponsibility;
|
|
25611
|
-
readonly currency: string;
|
|
25612
25728
|
readonly order: io.flow.internal.v0.models.OrderSummary;
|
|
25613
|
-
readonly origin?: io.flow.internal.v0.models.FulfillmentOrigin;
|
|
25614
25729
|
readonly shopper: io.flow.internal.v0.models.ShopperSummary;
|
|
25615
25730
|
readonly merchant: io.flow.internal.v0.models.MerchantSummary;
|
|
25616
|
-
readonly trigger: io.flow.internal.v0.unions.FulfillmentTrigger;
|
|
25617
|
-
readonly completes_order: boolean;
|
|
25618
25731
|
readonly sequence_number: number;
|
|
25619
25732
|
readonly posting_cutoff: string;
|
|
25733
|
+
readonly trigger: io.flow.internal.v0.unions.FulfillmentTrigger;
|
|
25734
|
+
readonly fulfilled_at: string;
|
|
25735
|
+
readonly owner: io.flow.internal.v0.enums.LogisticsResponsibility;
|
|
25736
|
+
readonly origin?: io.flow.internal.v0.models.FulfillmentOrigin;
|
|
25620
25737
|
readonly business?: io.flow.internal.v0.models.FulfillmentBusiness;
|
|
25738
|
+
readonly completes_order: boolean;
|
|
25621
25739
|
}
|
|
25622
25740
|
|
|
25623
25741
|
interface FulfillmentActionForm {
|
|
@@ -26783,7 +26901,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26783
26901
|
|
|
26784
26902
|
interface InternalDebugTransaction {
|
|
26785
26903
|
readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails;
|
|
26786
|
-
readonly order?: io.flow.internal.v0.models.DebugOrder;
|
|
26787
26904
|
readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued;
|
|
26788
26905
|
}
|
|
26789
26906
|
|
|
@@ -28654,6 +28771,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
28654
28771
|
readonly id: string;
|
|
28655
28772
|
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
28656
28773
|
readonly number: string;
|
|
28774
|
+
readonly type: io.flow.experience.v0.enums.OrderType;
|
|
28775
|
+
readonly submitted_at: string;
|
|
28776
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
28777
|
+
readonly currency: string;
|
|
28657
28778
|
}
|
|
28658
28779
|
|
|
28659
28780
|
interface OrderTransaction {
|
|
@@ -28861,7 +28982,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
28861
28982
|
|
|
28862
28983
|
interface OrganizationDebugTransaction {
|
|
28863
28984
|
readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails;
|
|
28864
|
-
readonly order?: io.flow.internal.v0.models.DebugOrder;
|
|
28865
28985
|
readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued;
|
|
28866
28986
|
}
|
|
28867
28987
|
|
|
@@ -28942,6 +29062,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
28942
29062
|
readonly organization_id: string;
|
|
28943
29063
|
readonly approval_status: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
28944
29064
|
readonly screening_status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
29065
|
+
readonly review_type?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
28945
29066
|
readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
28946
29067
|
readonly hs_code?: string;
|
|
28947
29068
|
readonly merchant_category_code?: string;
|
|
@@ -30381,6 +30502,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
30381
30502
|
interface RestrictionKeywords {
|
|
30382
30503
|
readonly positive_keywords: string[];
|
|
30383
30504
|
readonly negative_keywords: string[];
|
|
30505
|
+
readonly positive_search_matches: string[];
|
|
30506
|
+
readonly negative_search_matches: string[];
|
|
30384
30507
|
}
|
|
30385
30508
|
|
|
30386
30509
|
interface RestrictionOrganization {
|
|
@@ -30390,6 +30513,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
30390
30513
|
readonly url?: string;
|
|
30391
30514
|
readonly approval_status?: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
30392
30515
|
readonly screening_status?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
30516
|
+
readonly review_type?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
30393
30517
|
readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
30394
30518
|
readonly hs_code?: string;
|
|
30395
30519
|
readonly merchant_category_code?: string;
|
|
@@ -30554,6 +30678,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
30554
30678
|
readonly carrier_tracking_numbers: string[];
|
|
30555
30679
|
}
|
|
30556
30680
|
|
|
30681
|
+
interface Return {
|
|
30682
|
+
readonly id: string;
|
|
30683
|
+
readonly order: io.flow.internal.v0.models.OrderSummary;
|
|
30684
|
+
readonly shopper: io.flow.internal.v0.models.ShopperSummary;
|
|
30685
|
+
readonly merchant: io.flow.internal.v0.models.MerchantSummary;
|
|
30686
|
+
readonly sequence_number: number;
|
|
30687
|
+
readonly posting_cutoff: string;
|
|
30688
|
+
readonly trigger: io.flow.internal.v0.unions.ReturnTrigger;
|
|
30689
|
+
readonly returned_at: string;
|
|
30690
|
+
}
|
|
30691
|
+
|
|
30557
30692
|
interface ReturnPolicyDeleted {
|
|
30558
30693
|
readonly discriminator: 'return_policy_deleted';
|
|
30559
30694
|
readonly event_id: string;
|
|
@@ -30593,6 +30728,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
30593
30728
|
readonly tracking_summary?: io.flow.internal.v0.models.SearchTrackingSummary;
|
|
30594
30729
|
}
|
|
30595
30730
|
|
|
30731
|
+
interface ReturnTriggerRefund {
|
|
30732
|
+
readonly discriminator: 'by_refund';
|
|
30733
|
+
readonly refund: io.flow.payment.v0.models.RefundReference;
|
|
30734
|
+
}
|
|
30735
|
+
|
|
30596
30736
|
interface RoutingAccount {
|
|
30597
30737
|
readonly discriminator: 'routing_account';
|
|
30598
30738
|
readonly processor: io.flow.internal.v0.enums.Processor;
|
|
@@ -31385,7 +31525,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
31385
31525
|
}
|
|
31386
31526
|
|
|
31387
31527
|
interface ShopperSummary {
|
|
31388
|
-
readonly
|
|
31528
|
+
readonly product: io.flow.internal.v0.models.ShopperLines;
|
|
31389
31529
|
readonly fees: io.flow.internal.v0.models.ShopperFees;
|
|
31390
31530
|
readonly freight: io.flow.internal.v0.models.ShopperFreight;
|
|
31391
31531
|
readonly order_discount: number;
|
|
@@ -33503,6 +33643,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
33503
33643
|
| io.flow.internal.v0.models.ProofOfPostingShippingNotification
|
|
33504
33644
|
| io.flow.internal.v0.models.ProofOfPostingOrderCancellation
|
|
33505
33645
|
| io.flow.internal.v0.models.ProofOfPostingOrderCombinedShipment;
|
|
33646
|
+
type ReturnTrigger = io.flow.internal.v0.models.ReturnTriggerRefund;
|
|
33506
33647
|
type RoutingEntity =
|
|
33507
33648
|
| io.flow.internal.v0.models.RoutingProcessor
|
|
33508
33649
|
| io.flow.internal.v0.models.RoutingAccount
|
|
@@ -34053,6 +34194,7 @@ export type ChannelCurrencySettingUpserted =
|
|
|
34053
34194
|
export type ChannelDebugTransaction =
|
|
34054
34195
|
io.flow.internal.v0.models.ChannelDebugTransaction;
|
|
34055
34196
|
export type ChannelForm = io.flow.internal.v0.models.ChannelForm;
|
|
34197
|
+
export type ChannelFulfillment = io.flow.internal.v0.models.ChannelFulfillment;
|
|
34056
34198
|
export type ChannelMembership = io.flow.internal.v0.models.ChannelMembership;
|
|
34057
34199
|
export type ChannelMembershipForm =
|
|
34058
34200
|
io.flow.internal.v0.models.ChannelMembershipForm;
|
|
@@ -36503,6 +36645,8 @@ export type OrganizationRestrictionNoteForm =
|
|
|
36503
36645
|
io.flow.internal.v0.models.OrganizationRestrictionNoteForm;
|
|
36504
36646
|
export type OrganizationRestrictionNoteType =
|
|
36505
36647
|
io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
|
|
36648
|
+
export type OrganizationRestrictionReviewType =
|
|
36649
|
+
io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
36506
36650
|
export type OrganizationRestrictionRiskLevel =
|
|
36507
36651
|
io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
36508
36652
|
export type OrganizationRestrictionScreeningDecisionForm =
|
|
@@ -36923,6 +37067,7 @@ export type ResyncFallbackRates =
|
|
|
36923
37067
|
io.flow.internal.v0.models.ResyncFallbackRates;
|
|
36924
37068
|
export type Retracking = io.flow.internal.v0.models.Retracking;
|
|
36925
37069
|
export type RetrackingForm = io.flow.internal.v0.models.RetrackingForm;
|
|
37070
|
+
export type Return = io.flow.internal.v0.models.Return;
|
|
36926
37071
|
export type ReturnPolicyDeleted =
|
|
36927
37072
|
io.flow.internal.v0.models.ReturnPolicyDeleted;
|
|
36928
37073
|
export type ReturnPolicyItemResultDeleted =
|
|
@@ -36932,6 +37077,9 @@ export type ReturnPolicyItemResultUpserted =
|
|
|
36932
37077
|
export type ReturnPolicyUpserted =
|
|
36933
37078
|
io.flow.internal.v0.models.ReturnPolicyUpserted;
|
|
36934
37079
|
export type ReturnSummary = io.flow.internal.v0.models.ReturnSummary;
|
|
37080
|
+
export type ReturnTrigger = io.flow.internal.v0.unions.ReturnTrigger;
|
|
37081
|
+
export type ReturnTriggerRefund =
|
|
37082
|
+
io.flow.internal.v0.models.ReturnTriggerRefund;
|
|
36935
37083
|
export type RiskCheck = io.flow.internal.v0.enums.RiskCheck;
|
|
36936
37084
|
export type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation;
|
|
36937
37085
|
export type RoutingAccount = io.flow.internal.v0.models.RoutingAccount;
|