@flowio/api-internal-prop-types 9.24.76 → 9.24.78

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-prop-types",
3
- "version": "9.24.76",
3
+ "version": "9.24.78",
4
4
  "description": "PropType validators that work with internal Flow API",
5
5
  "keywords": [
6
6
  "flow",
@@ -30,5 +30,5 @@
30
30
  "peerDependencies": {
31
31
  "prop-types": "^15.7.0"
32
32
  },
33
- "gitHead": "a3e99b9b2cacb4b20115f294b1baa6a6533c4e5c"
33
+ "gitHead": "fc644e9ba6f842b12316085c5adbfeaa86923d6b"
34
34
  }
@@ -2312,15 +2312,17 @@ declare namespace io.flow.stripe.v0.enums {
2312
2312
  type CancellationReason = 'abandoned' | 'automatic' | 'duplicate' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice';
2313
2313
  type CaptureMethod = 'automatic' | 'manual';
2314
2314
  type CardBrand = 'American Express' | 'MasterCard' | 'Discover' | 'JCB' | 'Diners Club' | 'Unknown';
2315
- 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';
2316
2315
  type CardFundingType = 'credit' | 'debit' | 'prepaid' | 'unknown';
2317
2316
  type CardNetwork = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'interac' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
2318
2317
  type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
2319
2318
  type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
2320
2319
  type ConfirmationMethod = 'automatic' | 'manual';
2321
- 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';
2320
+ 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';
2321
+ 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';
2322
2322
  type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
2323
2323
  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';
2324
+ type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
2325
+ type FeatureAvailability = 'available' | 'unavailable';
2324
2326
  type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
2325
2327
  type KlarnaProduct = 'payment';
2326
2328
  type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
@@ -2468,6 +2470,7 @@ declare namespace io.flow.stripe.v0.models {
2468
2470
  readonly 'currency': string;
2469
2471
  readonly 'customer'?: string;
2470
2472
  readonly 'outcome'?: io.flow.stripe.v0.models.PaymentOutcome;
2473
+ readonly 'disputed'?: boolean;
2471
2474
  readonly 'paid': boolean;
2472
2475
  readonly 'refunded': boolean;
2473
2476
  readonly 'refunds'?: io.flow.stripe.v0.models.Refunds;
@@ -2476,7 +2479,7 @@ declare namespace io.flow.stripe.v0.models {
2476
2479
  readonly 'balance_transaction'?: string;
2477
2480
  readonly 'destination'?: string;
2478
2481
  readonly 'dispute'?: string;
2479
- readonly 'failure_code'?: string;
2482
+ readonly 'failure_code'?: io.flow.stripe.v0.enums.ErrorCode;
2480
2483
  readonly 'failure_message'?: string;
2481
2484
  readonly 'on_behalf_of'?: string;
2482
2485
  readonly 'review'?: string;
@@ -2487,6 +2490,7 @@ declare namespace io.flow.stripe.v0.models {
2487
2490
  readonly 'calculated_statement_descriptor'?: string;
2488
2491
  readonly 'statement_descriptor'?: string;
2489
2492
  readonly 'payment_method_details'?: io.flow.stripe.v0.unions.PaymentMethodDetails;
2493
+ readonly 'payment_method'?: string;
2490
2494
  }
2491
2495
 
2492
2496
  interface ChargeDestination {
@@ -2515,6 +2519,7 @@ declare namespace io.flow.stripe.v0.models {
2515
2519
  readonly 'amount_refunded': number;
2516
2520
  readonly 'authorization_code'?: string;
2517
2521
  readonly 'captured': boolean;
2522
+ readonly 'disputed'?: boolean;
2518
2523
  readonly 'created': number;
2519
2524
  readonly 'currency': string;
2520
2525
  readonly 'customer'?: string;
@@ -2527,7 +2532,7 @@ declare namespace io.flow.stripe.v0.models {
2527
2532
  readonly 'balance_transaction'?: string;
2528
2533
  readonly 'destination'?: string;
2529
2534
  readonly 'dispute'?: string;
2530
- readonly 'failure_code'?: string;
2535
+ readonly 'failure_code'?: io.flow.stripe.v0.enums.ErrorCode;
2531
2536
  readonly 'failure_message'?: string;
2532
2537
  readonly 'on_behalf_of'?: string;
2533
2538
  readonly 'review'?: string;
@@ -2538,6 +2543,7 @@ declare namespace io.flow.stripe.v0.models {
2538
2543
  readonly 'calculated_statement_descriptor'?: string;
2539
2544
  readonly 'statement_descriptor'?: string;
2540
2545
  readonly 'payment_method_details'?: io.flow.stripe.v0.unions.PaymentMethodDetails;
2546
+ readonly 'payment_method'?: string;
2541
2547
  }
2542
2548
 
2543
2549
  interface CodeVerification {
@@ -2565,6 +2571,14 @@ declare namespace io.flow.stripe.v0.models {
2565
2571
  readonly 'error': io.flow.stripe.v0.models.StripeError;
2566
2572
  }
2567
2573
 
2574
+ interface ExtendedAuthorization {
2575
+ readonly 'status'?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
2576
+ }
2577
+
2578
+ interface IncrementalAuthorization {
2579
+ readonly 'status'?: io.flow.stripe.v0.enums.FeatureAvailability;
2580
+ }
2581
+
2568
2582
  interface Keys {
2569
2583
  readonly 'secret'?: string;
2570
2584
  readonly 'publishable'?: string;
@@ -2579,17 +2593,6 @@ declare namespace io.flow.stripe.v0.models {
2579
2593
  readonly 'product_category'?: string;
2580
2594
  }
2581
2595
 
2582
- interface LastPaymentError {
2583
- readonly 'charge'?: string;
2584
- readonly 'code'?: string;
2585
- readonly 'decline_code'?: io.flow.stripe.v0.enums.DeclineCode;
2586
- readonly 'doc_url'?: string;
2587
- readonly 'message'?: string;
2588
- readonly 'param'?: string;
2589
- readonly 'payment_method': io.flow.stripe.v0.models.PaymentMethod;
2590
- readonly 'type': io.flow.stripe.v0.enums.ErrorType;
2591
- }
2592
-
2593
2596
  interface LegalEntity {
2594
2597
  readonly 'additional_owners'?: io.flow.stripe.v0.models.Owner[];
2595
2598
  }
@@ -2615,6 +2618,10 @@ declare namespace io.flow.stripe.v0.models {
2615
2618
  readonly 'payment_request_order_reference'?: string;
2616
2619
  }
2617
2620
 
2621
+ interface Multicapture {
2622
+ readonly 'status'?: io.flow.stripe.v0.enums.FeatureAvailability;
2623
+ }
2624
+
2618
2625
  interface NetworkTokenUsed {
2619
2626
  readonly 'used'?: boolean;
2620
2627
  }
@@ -2662,6 +2669,11 @@ declare namespace io.flow.stripe.v0.models {
2662
2669
  readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
2663
2670
  }
2664
2671
 
2672
+ interface Overcapture {
2673
+ readonly 'maximum_amount_capturable'?: number;
2674
+ readonly 'status'?: io.flow.stripe.v0.enums.FeatureAvailability;
2675
+ }
2676
+
2665
2677
  interface Owner {
2666
2678
  readonly 'address'?: io.flow.stripe.v0.models.Address;
2667
2679
  readonly 'email'?: string;
@@ -2692,7 +2704,7 @@ declare namespace io.flow.stripe.v0.models {
2692
2704
  readonly 'customer'?: string;
2693
2705
  readonly 'description'?: string;
2694
2706
  readonly 'invoice'?: string;
2695
- readonly 'last_payment_error'?: io.flow.stripe.v0.models.LastPaymentError;
2707
+ readonly 'last_payment_error'?: io.flow.stripe.v0.models.StripeError;
2696
2708
  readonly 'livemode': boolean;
2697
2709
  readonly 'metadata'?: io.flow.stripe.v0.models.Metadata;
2698
2710
  readonly 'next_action'?: io.flow.stripe.v0.models.NextAction;
@@ -2735,7 +2747,7 @@ declare namespace io.flow.stripe.v0.models {
2735
2747
  readonly 'off_session'?: boolean;
2736
2748
  readonly 'payment_method'?: string;
2737
2749
  readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
2738
- readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptions;
2750
+ readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
2739
2751
  readonly 'payment_method_types'?: string[];
2740
2752
  readonly 'receipt_email'?: string;
2741
2753
  readonly 'save_payment_method'?: boolean;
@@ -2756,7 +2768,7 @@ declare namespace io.flow.stripe.v0.models {
2756
2768
  readonly 'on_behalf_of'?: string;
2757
2769
  readonly 'payment_method'?: string;
2758
2770
  readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
2759
- readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptions;
2771
+ readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
2760
2772
  readonly 'payment_method_types'?: string[];
2761
2773
  readonly 'receipt_email'?: string;
2762
2774
  readonly 'return_url'?: string;
@@ -2862,6 +2874,10 @@ declare namespace io.flow.stripe.v0.models {
2862
2874
  readonly 'issuer'?: string;
2863
2875
  readonly 'wallet'?: io.flow.stripe.v0.unions.CardWallet;
2864
2876
  readonly 'network_transaction_id'?: string;
2877
+ readonly 'extended_authorization'?: io.flow.stripe.v0.models.ExtendedAuthorization;
2878
+ readonly 'incremental_authorization'?: io.flow.stripe.v0.models.IncrementalAuthorization;
2879
+ readonly 'multicapture'?: io.flow.stripe.v0.models.Multicapture;
2880
+ readonly 'overcapture'?: io.flow.stripe.v0.models.Overcapture;
2865
2881
  }
2866
2882
 
2867
2883
  interface PaymentMethodDetailsKlarna {
@@ -2890,12 +2906,24 @@ declare namespace io.flow.stripe.v0.models {
2890
2906
  readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
2891
2907
  readonly 'stored_credential_transaction_type'?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
2892
2908
  readonly 'mcc'?: string;
2909
+ readonly 'capture_before'?: number;
2910
+ }
2911
+
2912
+ interface PaymentMethodOptionsCardForm {
2913
+ readonly 'network'?: string;
2914
+ readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
2915
+ readonly 'stored_credential_transaction_type'?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
2916
+ readonly 'mcc'?: string;
2917
+ }
2918
+
2919
+ interface PaymentMethodOptionsForm {
2920
+ readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
2893
2921
  }
2894
2922
 
2895
2923
  interface PaymentOutcome {
2896
- readonly 'network_status': io.flow.stripe.v0.enums.NetworkStatus;
2897
- readonly 'risk_level': string;
2898
- readonly 'seller_message': string;
2924
+ readonly 'network_status'?: io.flow.stripe.v0.enums.NetworkStatus;
2925
+ readonly 'risk_level'?: string;
2926
+ readonly 'seller_message'?: string;
2899
2927
  readonly 'reason'?: string;
2900
2928
  readonly 'type'?: io.flow.stripe.v0.enums.PaymentOutcomeType;
2901
2929
  }
@@ -3094,10 +3122,11 @@ declare namespace io.flow.stripe.v0.models {
3094
3122
  readonly 'type': io.flow.stripe.v0.enums.ErrorType;
3095
3123
  readonly 'charge'?: string;
3096
3124
  readonly 'message'?: string;
3097
- readonly 'code'?: io.flow.stripe.v0.enums.CardErrorCode;
3098
- readonly 'decline_code'?: string;
3125
+ readonly 'code'?: io.flow.stripe.v0.enums.ErrorCode;
3126
+ readonly 'decline_code'?: io.flow.stripe.v0.enums.DeclineCode;
3099
3127
  readonly 'param'?: string;
3100
3128
  readonly 'payment_intent'?: io.flow.stripe.v0.models.PaymentIntent;
3129
+ readonly 'payment_method'?: io.flow.stripe.v0.models.PaymentMethod;
3101
3130
  }
3102
3131
 
3103
3132
  interface StripeEvent {
@@ -3130,9 +3159,12 @@ declare namespace io.flow.stripe.v0.models {
3130
3159
  interface ThreeDSecureCharge {
3131
3160
  readonly 'authenticated'?: boolean;
3132
3161
  readonly 'authentication_flow'?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
3162
+ readonly 'electronic_commerce_indicator'?: string;
3163
+ readonly 'exemption_indicator'?: string;
3133
3164
  readonly 'result'?: io.flow.stripe.v0.enums.ThreeDsResult;
3134
3165
  readonly 'result_reason'?: io.flow.stripe.v0.enums.ThreeDsResultReason;
3135
3166
  readonly 'succeeded'?: boolean;
3167
+ readonly 'transaction_id'?: string;
3136
3168
  readonly 'version'?: string;
3137
3169
  }
3138
3170
 
@@ -3293,6 +3325,11 @@ declare namespace io.flow.label.v0.enums {
3293
3325
  }
3294
3326
 
3295
3327
  declare namespace io.flow.label.v0.models {
3328
+ interface AdditionalServicesRequested {
3329
+ readonly 'name': string;
3330
+ readonly 'description'?: string;
3331
+ }
3332
+
3296
3333
  interface BridgeManifest {
3297
3334
  readonly 'id': string;
3298
3335
  readonly 'service': io.flow.fulfillment.v0.models.ServiceSummary;
@@ -3398,6 +3435,7 @@ declare namespace io.flow.label.v0.models {
3398
3435
  readonly 'shipment_recipient': io.flow.label.v0.enums.ShipmentRecipient;
3399
3436
  readonly 'label_request_method'?: io.flow.label.v0.enums.LabelRequestMethod;
3400
3437
  readonly 'label_trigger_method'?: io.flow.label.v0.enums.LabelTriggerMethod;
3438
+ readonly 'additional_services_requested'?: io.flow.label.v0.models.AdditionalServicesRequested[];
3401
3439
  readonly 'created_at'?: string;
3402
3440
  readonly 'updated_at'?: string;
3403
3441
  }
@@ -12916,6 +12954,7 @@ declare namespace io.flow.billing.internal.v0.models {
12916
12954
  readonly 'round_individual_transactions': boolean;
12917
12955
  readonly 'liabilities_method': io.flow.billing.internal.v0.enums.AccountSettingLiabilitiesMethod;
12918
12956
  readonly 'enable_fee_reversals': boolean;
12957
+ readonly 'record_reason_for_transactions_pending_payout': boolean;
12919
12958
  }
12920
12959
 
12921
12960
  interface AccountSource {
@@ -14122,6 +14161,7 @@ declare namespace io.flow.billing.v0.models {
14122
14161
 
14123
14162
  interface TransactionMetadataManual {
14124
14163
  readonly 'discriminator': 'manual';
14164
+ readonly 'description': string;
14125
14165
  readonly 'original'?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
14126
14166
  readonly 'url'?: string;
14127
14167
  }
@@ -15846,7 +15886,7 @@ declare namespace io.flow.internal.v0.enums {
15846
15886
  type AdyenIntegrationType = 'hosted_payment_page' | 'checkout_payments_api' | 'classic_authorise_api';
15847
15887
  type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know';
15848
15888
  type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
15849
- type AutoRestrictRule = 'prr-3ce7d556f2464314ab0a3e8eee33e0ce' | 'prr-599c6246a1a24752aeb85e8f79030781' | 'prr-79e41878ea564f9c81cc432a0e84703f' | 'prr-f29c26dc09e04536bc77f9c32786ed70' | 'prr-0522d426a5b741c791ba05496c35297a';
15889
+ type AutoRestrictRule = 'prr-3ce7d556f2464314ab0a3e8eee33e0ce' | 'prr-599c6246a1a24752aeb85e8f79030781' | 'prr-79e41878ea564f9c81cc432a0e84703f' | 'prr-f29c26dc09e04536bc77f9c32786ed70' | 'prr-b186129720f0446eb452a68518437c95';
15850
15890
  type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed';
15851
15891
  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';
15852
15892
  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';
@@ -16044,6 +16084,7 @@ declare namespace io.flow.internal.v0.enums {
16044
16084
  type OrganizationPaymentStatus = 'active' | 'archived';
16045
16085
  type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
16046
16086
  type OrganizationRestrictionNoteType = 'internal' | 'rejection_reason' | 'additional_rejection_info';
16087
+ type OrganizationRestrictionReviewType = 'all_pending' | 'pending_verification';
16047
16088
  type OrganizationRestrictionRiskLevel = '5' | '15';
16048
16089
  type OrganizationRestrictionScreeningStatus = 'in_review' | 'fully_reviewed' | 'rejected' | 'unscreened';
16049
16090
  type OutputStyle = 'flow' | 'shopify_p1';
@@ -16269,6 +16310,7 @@ declare namespace io.flow.internal.v0.models {
16269
16310
  readonly 'round_individual_transactions': boolean;
16270
16311
  readonly 'liabilities_method': io.flow.internal.v0.enums.AccountSettingLiabilitiesMethod;
16271
16312
  readonly 'enable_fee_reversals': boolean;
16313
+ readonly 'record_reason_for_transactions_pending_payout': boolean;
16272
16314
  }
16273
16315
 
16274
16316
  interface AccountSettingsDeleted {
@@ -17867,7 +17909,6 @@ declare namespace io.flow.internal.v0.models {
17867
17909
 
17868
17910
  interface ChannelDebugTransaction {
17869
17911
  readonly 'debug'?: io.flow.internal.v0.models.DebugTransactionDetails;
17870
- readonly 'order'?: io.flow.internal.v0.models.DebugOrder;
17871
17912
  readonly 'queue'?: io.flow.internal.v0.models.DebugTransactionQueued;
17872
17913
  }
17873
17914
 
@@ -17877,6 +17918,18 @@ declare namespace io.flow.internal.v0.models {
17877
17918
  readonly 'organization_id_prefix'?: string;
17878
17919
  }
17879
17920
 
17921
+ interface ChannelFulfillment {
17922
+ readonly 'org_id': string;
17923
+ readonly 'flow_order_number': string;
17924
+ readonly 'shopify_order_number': string;
17925
+ readonly 'legal_name'?: string;
17926
+ readonly 'flow_tracking_status'?: io.flow.tracking.v0.enums.TrackingStatus;
17927
+ readonly 'order_items': io.flow.experience.v0.models.LocalizedLineItem[];
17928
+ readonly 'label_items': io.flow.experience.v0.models.LocalizedLineItem[];
17929
+ readonly 'carrier'?: io.flow.reference.v0.models.CarrierService;
17930
+ readonly 'tracking_numbers'?: string[];
17931
+ }
17932
+
17880
17933
  interface ChannelMembership {
17881
17934
  readonly 'id': string;
17882
17935
  readonly 'channel': io.flow.common.v0.models.ChannelReference;
@@ -20819,8 +20872,9 @@ declare namespace io.flow.internal.v0.models {
20819
20872
  }
20820
20873
 
20821
20874
  interface DebugTransactionDetails {
20822
- readonly 'id': string;
20875
+ readonly 'transaction': io.flow.billing.v0.models.Transaction;
20823
20876
  readonly 'status': io.flow.internal.v0.models.DebugTransactionDetailsStatus;
20877
+ readonly 'payout'?: io.flow.billing.v0.models.PendingPayoutTransactionReason;
20824
20878
  readonly 'fx'?: io.flow.internal.v0.models.DebugTransactionFx;
20825
20879
  }
20826
20880
 
@@ -22393,18 +22447,17 @@ declare namespace io.flow.internal.v0.models {
22393
22447
 
22394
22448
  interface Fulfillment {
22395
22449
  readonly 'id': string;
22396
- readonly 'fulfilled_at': string;
22397
- readonly 'owner': io.flow.internal.v0.enums.LogisticsResponsibility;
22398
- readonly 'currency': string;
22399
22450
  readonly 'order': io.flow.internal.v0.models.OrderSummary;
22400
- readonly 'origin'?: io.flow.internal.v0.models.FulfillmentOrigin;
22401
22451
  readonly 'shopper': io.flow.internal.v0.models.ShopperSummary;
22402
22452
  readonly 'merchant': io.flow.internal.v0.models.MerchantSummary;
22403
- readonly 'trigger': io.flow.internal.v0.unions.FulfillmentTrigger;
22404
- readonly 'completes_order': boolean;
22405
22453
  readonly 'sequence_number': number;
22406
22454
  readonly 'posting_cutoff': string;
22455
+ readonly 'trigger': io.flow.internal.v0.unions.FulfillmentTrigger;
22456
+ readonly 'fulfilled_at': string;
22457
+ readonly 'owner': io.flow.internal.v0.enums.LogisticsResponsibility;
22458
+ readonly 'origin'?: io.flow.internal.v0.models.FulfillmentOrigin;
22407
22459
  readonly 'business'?: io.flow.internal.v0.models.FulfillmentBusiness;
22460
+ readonly 'completes_order': boolean;
22408
22461
  }
22409
22462
 
22410
22463
  interface FulfillmentActionForm {
@@ -23570,7 +23623,6 @@ declare namespace io.flow.internal.v0.models {
23570
23623
 
23571
23624
  interface InternalDebugTransaction {
23572
23625
  readonly 'debug'?: io.flow.internal.v0.models.DebugTransactionDetails;
23573
- readonly 'order'?: io.flow.internal.v0.models.DebugOrder;
23574
23626
  readonly 'queue'?: io.flow.internal.v0.models.DebugTransactionQueued;
23575
23627
  }
23576
23628
 
@@ -25432,6 +25484,10 @@ declare namespace io.flow.internal.v0.models {
25432
25484
  readonly 'id': string;
25433
25485
  readonly 'organization': io.flow.common.v0.models.OrganizationReference;
25434
25486
  readonly 'number': string;
25487
+ readonly 'type': io.flow.experience.v0.enums.OrderType;
25488
+ readonly 'submitted_at': string;
25489
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
25490
+ readonly 'currency': string;
25435
25491
  }
25436
25492
 
25437
25493
  interface OrderTransaction {
@@ -25639,7 +25695,6 @@ declare namespace io.flow.internal.v0.models {
25639
25695
 
25640
25696
  interface OrganizationDebugTransaction {
25641
25697
  readonly 'debug'?: io.flow.internal.v0.models.DebugTransactionDetails;
25642
- readonly 'order'?: io.flow.internal.v0.models.DebugOrder;
25643
25698
  readonly 'queue'?: io.flow.internal.v0.models.DebugTransactionQueued;
25644
25699
  }
25645
25700
 
@@ -25720,6 +25775,7 @@ declare namespace io.flow.internal.v0.models {
25720
25775
  readonly 'organization_id': string;
25721
25776
  readonly 'approval_status': io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
25722
25777
  readonly 'screening_status': io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
25778
+ readonly 'review_type'?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
25723
25779
  readonly 'risk_level'?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
25724
25780
  readonly 'hs_code'?: string;
25725
25781
  readonly 'merchant_category_code'?: string;
@@ -27159,6 +27215,8 @@ declare namespace io.flow.internal.v0.models {
27159
27215
  interface RestrictionKeywords {
27160
27216
  readonly 'positive_keywords': string[];
27161
27217
  readonly 'negative_keywords': string[];
27218
+ readonly 'positive_search_matches': string[];
27219
+ readonly 'negative_search_matches': string[];
27162
27220
  }
27163
27221
 
27164
27222
  interface RestrictionOrganization {
@@ -27168,6 +27226,7 @@ declare namespace io.flow.internal.v0.models {
27168
27226
  readonly 'url'?: string;
27169
27227
  readonly 'approval_status'?: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
27170
27228
  readonly 'screening_status'?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
27229
+ readonly 'review_type'?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
27171
27230
  readonly 'risk_level'?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
27172
27231
  readonly 'hs_code'?: string;
27173
27232
  readonly 'merchant_category_code'?: string;
@@ -27332,6 +27391,17 @@ declare namespace io.flow.internal.v0.models {
27332
27391
  readonly 'carrier_tracking_numbers': string[];
27333
27392
  }
27334
27393
 
27394
+ interface Return {
27395
+ readonly 'id': string;
27396
+ readonly 'order': io.flow.internal.v0.models.OrderSummary;
27397
+ readonly 'shopper': io.flow.internal.v0.models.ShopperSummary;
27398
+ readonly 'merchant': io.flow.internal.v0.models.MerchantSummary;
27399
+ readonly 'sequence_number': number;
27400
+ readonly 'posting_cutoff': string;
27401
+ readonly 'trigger': io.flow.internal.v0.unions.ReturnTrigger;
27402
+ readonly 'returned_at': string;
27403
+ }
27404
+
27335
27405
  interface ReturnPolicyDeleted {
27336
27406
  readonly 'discriminator': 'return_policy_deleted';
27337
27407
  readonly 'event_id': string;
@@ -27371,6 +27441,11 @@ declare namespace io.flow.internal.v0.models {
27371
27441
  readonly 'tracking_summary'?: io.flow.internal.v0.models.SearchTrackingSummary;
27372
27442
  }
27373
27443
 
27444
+ interface ReturnTriggerRefund {
27445
+ readonly 'discriminator': 'by_refund';
27446
+ readonly 'refund': io.flow.payment.v0.models.RefundReference;
27447
+ }
27448
+
27374
27449
  interface RoutingAccount {
27375
27450
  readonly 'discriminator': 'routing_account';
27376
27451
  readonly 'processor': io.flow.internal.v0.enums.Processor;
@@ -28163,7 +28238,7 @@ declare namespace io.flow.internal.v0.models {
28163
28238
  }
28164
28239
 
28165
28240
  interface ShopperSummary {
28166
- readonly 'fulfilled': io.flow.internal.v0.models.ShopperLines;
28241
+ readonly 'product': io.flow.internal.v0.models.ShopperLines;
28167
28242
  readonly 'fees': io.flow.internal.v0.models.ShopperFees;
28168
28243
  readonly 'freight': io.flow.internal.v0.models.ShopperFreight;
28169
28244
  readonly 'order_discount': number;
@@ -29439,6 +29514,7 @@ declare namespace io.flow.internal.v0.unions {
29439
29514
  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);
29440
29515
  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);
29441
29516
  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);
29517
+ type ReturnTrigger = (io.flow.internal.v0.models.ReturnTriggerRefund);
29442
29518
  type RoutingEntity = (io.flow.internal.v0.models.RoutingProcessor | io.flow.internal.v0.models.RoutingAccount | io.flow.internal.v0.models.RoutingMerchant);
29443
29519
  type ShopifyMonitoringOrderMonitorType = (io.flow.internal.v0.models.ShopifyMonitoringFulfillmentExternal | io.flow.internal.v0.models.ShopifyMonitoringFulfillmentMissingDetails);
29444
29520
  type ShopifyPromotionOfferDiscount = (io.flow.internal.v0.models.ShopifyPromotionFixedAmount | io.flow.internal.v0.models.ShopifyPromotionPercent);
@@ -29664,6 +29740,7 @@ export const organizationMetricType: PropTypes.Requireable<io.flow.internal.v0.e
29664
29740
  export const organizationPaymentStatus: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationPaymentStatus>;
29665
29741
  export const organizationRestrictionApprovalStatus: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus>;
29666
29742
  export const organizationRestrictionNoteType: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationRestrictionNoteType>;
29743
+ export const organizationRestrictionReviewType: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationRestrictionReviewType>;
29667
29744
  export const organizationRestrictionRiskLevel: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel>;
29668
29745
  export const organizationRestrictionScreeningStatus: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus>;
29669
29746
  export const outputStyle: PropTypes.Requireable<io.flow.internal.v0.enums.OutputStyle>;
@@ -29980,6 +30057,7 @@ export const channelCurrencySettingForm: PropTypes.Requireable<io.flow.internal.
29980
30057
  export const channelCurrencySettingUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ChannelCurrencySettingUpserted>;
29981
30058
  export const channelDebugTransaction: PropTypes.Requireable<io.flow.internal.v0.models.ChannelDebugTransaction>;
29982
30059
  export const channelForm: PropTypes.Requireable<io.flow.internal.v0.models.ChannelForm>;
30060
+ export const channelFulfillment: PropTypes.Requireable<io.flow.internal.v0.models.ChannelFulfillment>;
29983
30061
  export const channelMembership: PropTypes.Requireable<io.flow.internal.v0.models.ChannelMembership>;
29984
30062
  export const channelMembershipForm: PropTypes.Requireable<io.flow.internal.v0.models.ChannelMembershipForm>;
29985
30063
  export const channelMembershipPutForm: PropTypes.Requireable<io.flow.internal.v0.models.ChannelMembershipPutForm>;
@@ -31285,11 +31363,13 @@ export const resyncByHs6Origin: PropTypes.Requireable<io.flow.internal.v0.models
31285
31363
  export const resyncFallbackRates: PropTypes.Requireable<io.flow.internal.v0.models.ResyncFallbackRates>;
31286
31364
  export const retracking: PropTypes.Requireable<io.flow.internal.v0.models.Retracking>;
31287
31365
  export const retrackingForm: PropTypes.Requireable<io.flow.internal.v0.models.RetrackingForm>;
31366
+ export const UNSAFE_return: PropTypes.Requireable<io.flow.internal.v0.models.Return>;
31288
31367
  export const returnPolicyDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ReturnPolicyDeleted>;
31289
31368
  export const returnPolicyItemResultDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ReturnPolicyItemResultDeleted>;
31290
31369
  export const returnPolicyItemResultUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ReturnPolicyItemResultUpserted>;
31291
31370
  export const returnPolicyUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ReturnPolicyUpserted>;
31292
31371
  export const returnSummary: PropTypes.Requireable<io.flow.internal.v0.models.ReturnSummary>;
31372
+ export const returnTriggerRefund: PropTypes.Requireable<io.flow.internal.v0.models.ReturnTriggerRefund>;
31293
31373
  export const routingAccount: PropTypes.Requireable<io.flow.internal.v0.models.RoutingAccount>;
31294
31374
  export const routingMerchant: PropTypes.Requireable<io.flow.internal.v0.models.RoutingMerchant>;
31295
31375
  export const routingProcessor: PropTypes.Requireable<io.flow.internal.v0.models.RoutingProcessor>;
@@ -31701,6 +31781,7 @@ export const processorMerchantForm: PropTypes.Requireable<io.flow.internal.v0.un
31701
31781
  export const processorMerchantModificationForm: PropTypes.Requireable<io.flow.internal.v0.unions.ProcessorMerchantModificationForm>;
31702
31782
  export const processorMerchantPutForm: PropTypes.Requireable<io.flow.internal.v0.unions.ProcessorMerchantPutForm>;
31703
31783
  export const proofOfPosting: PropTypes.Requireable<io.flow.internal.v0.unions.ProofOfPosting>;
31784
+ export const returnTrigger: PropTypes.Requireable<io.flow.internal.v0.unions.ReturnTrigger>;
31704
31785
  export const routingEntity: PropTypes.Requireable<io.flow.internal.v0.unions.RoutingEntity>;
31705
31786
  export const shopifyMonitoringOrderMonitorType: PropTypes.Requireable<io.flow.internal.v0.unions.ShopifyMonitoringOrderMonitorType>;
31706
31787
  export const shopifyPromotionOfferDiscount: PropTypes.Requireable<io.flow.internal.v0.unions.ShopifyPromotionOfferDiscount>;