@flowio/api-internal-prop-types 9.24.69 → 9.24.71

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.69",
3
+ "version": "9.24.71",
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": "1c87d63f654d1b7f4aa3ef5237a2cf0558fda3d5"
33
+ "gitHead": "2eaa54ec47aea1e42dad859077feb3852172583c"
34
34
  }
@@ -2004,7 +2004,7 @@ declare namespace io.flow.stripe.v0.enums {
2004
2004
  type ConfirmationMethod = 'automatic' | 'manual';
2005
2005
  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';
2006
2006
  type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
2007
- type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.refund.updated' | 'charge.succeeded' | 'charge.updated' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'source.canceled' | 'source.chargeable' | 'source.failed';
2007
+ 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';
2008
2008
  type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
2009
2009
  type KlarnaProduct = 'payment';
2010
2010
  type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
@@ -2026,6 +2026,7 @@ declare namespace io.flow.stripe.v0.enums {
2026
2026
  type SourceStatus = 'canceled' | 'chargeable' | 'consumed' | 'failed' | 'pending';
2027
2027
  type SourceType = 'ach_credit_transfer' | 'ach_debit' | 'alipay' | 'bancontact' | 'bitcoin' | 'card' | 'eps' | 'giropay' | 'ideal' | 'klarna' | 'multibanco' | 'p24' | 'sepa_debit' | 'sofort' | 'three_d_secure';
2028
2028
  type SourceUsageType = 'reusable' | 'single_use';
2029
+ type StoredCredentialTransactionType = 'setup_on_session' | 'setup_off_session_recurring' | 'setup_off_session_unscheduled' | 'stored_on_session' | 'stored_on_session_recurring' | 'stored_on_session_unscheduled';
2029
2030
  type ThreeDSecureSupport = 'required' | 'recommended' | 'optional' | 'not_supported';
2030
2031
  type ThreeDsAuthenticationFlow = 'challenge' | 'frictionless';
2031
2032
  type ThreeDsResult = 'authenticated' | 'attempt_acknowledged' | 'exempted' | 'not_supported' | 'failed' | 'processing_error';
@@ -2120,6 +2121,11 @@ declare namespace io.flow.stripe.v0.models {
2120
2121
  readonly 'cvc_check'?: io.flow.stripe.v0.enums.CheckOutcome;
2121
2122
  }
2122
2123
 
2124
+ interface CardNetworks {
2125
+ readonly 'available'?: string[];
2126
+ readonly 'preferred'?: string;
2127
+ }
2128
+
2123
2129
  interface CardRequest {
2124
2130
  readonly 'object': string;
2125
2131
  readonly 'exp_month': string;
@@ -2289,6 +2295,8 @@ declare namespace io.flow.stripe.v0.models {
2289
2295
  readonly 'order_number'?: string;
2290
2296
  readonly 'authorization_id'?: string;
2291
2297
  readonly 'organization_id'?: string;
2298
+ readonly 'payment_request_id'?: string;
2299
+ readonly 'payment_request_order_reference'?: string;
2292
2300
  }
2293
2301
 
2294
2302
  interface NetworkTokenUsed {
@@ -2409,6 +2417,7 @@ declare namespace io.flow.stripe.v0.models {
2409
2417
  interface PaymentIntentConfirmationForm {
2410
2418
  readonly 'off_session'?: boolean;
2411
2419
  readonly 'payment_method'?: string;
2420
+ readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
2412
2421
  readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptions;
2413
2422
  readonly 'payment_method_types'?: string[];
2414
2423
  readonly 'receipt_email'?: string;
@@ -2429,6 +2438,7 @@ declare namespace io.flow.stripe.v0.models {
2429
2438
  readonly 'metadata'?: io.flow.stripe.v0.models.Metadata;
2430
2439
  readonly 'on_behalf_of'?: string;
2431
2440
  readonly 'payment_method'?: string;
2441
+ readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
2432
2442
  readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptions;
2433
2443
  readonly 'payment_method_types'?: string[];
2434
2444
  readonly 'receipt_email'?: string;
@@ -2461,7 +2471,7 @@ declare namespace io.flow.stripe.v0.models {
2461
2471
  readonly 'id': string;
2462
2472
  readonly 'object': string;
2463
2473
  readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
2464
- readonly 'card'?: io.flow.stripe.v0.models.SourceCard;
2474
+ readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
2465
2475
  readonly 'card_present'?: any/*object*/;
2466
2476
  readonly 'created': number;
2467
2477
  readonly 'customer'?: string;
@@ -2476,6 +2486,33 @@ declare namespace io.flow.stripe.v0.models {
2476
2486
  readonly 'phone'?: string;
2477
2487
  }
2478
2488
 
2489
+ interface PaymentMethodCardDetails {
2490
+ readonly 'brand'?: io.flow.stripe.v0.enums.CardBrand;
2491
+ readonly 'checks'?: io.flow.stripe.v0.models.CardChecks;
2492
+ readonly 'country'?: string;
2493
+ readonly 'exp_month'?: number;
2494
+ readonly 'exp_year'?: number;
2495
+ readonly 'fingerprint'?: string;
2496
+ readonly 'funding'?: io.flow.stripe.v0.enums.CardFundingType;
2497
+ readonly 'last4'?: string;
2498
+ readonly 'networks'?: io.flow.stripe.v0.models.CardNetworks;
2499
+ readonly 'three_d_secure_usage'?: io.flow.stripe.v0.models.ThreeDSecureUsage;
2500
+ }
2501
+
2502
+ interface PaymentMethodCardForm {
2503
+ readonly 'exp_month': string;
2504
+ readonly 'exp_year': string;
2505
+ readonly 'number': string;
2506
+ readonly 'cvc'?: string;
2507
+ }
2508
+
2509
+ interface PaymentMethodDataCard {
2510
+ readonly 'type': 'card';
2511
+ readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
2512
+ readonly 'metadata'?: any/*object*/;
2513
+ readonly 'card': io.flow.stripe.v0.models.PaymentMethodCardForm;
2514
+ }
2515
+
2479
2516
  interface PaymentMethodDetailsCard {
2480
2517
  readonly 'type': 'card';
2481
2518
  readonly 'card': io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
@@ -2513,10 +2550,11 @@ declare namespace io.flow.stripe.v0.models {
2513
2550
  readonly 'preferred_locale'?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
2514
2551
  }
2515
2552
 
2516
- interface PaymentMethodForm {
2517
- readonly 'type': io.flow.stripe.v0.enums.PaymentMethodType;
2553
+ interface PaymentMethodFormCard {
2554
+ readonly 'type': 'card';
2518
2555
  readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
2519
- readonly 'card'?: io.flow.stripe.v0.models.SourceCardRequest;
2556
+ readonly 'metadata'?: any/*object*/;
2557
+ readonly 'card': io.flow.stripe.v0.models.PaymentMethodCardForm;
2520
2558
  }
2521
2559
 
2522
2560
  interface PaymentMethodOptions {
@@ -2524,7 +2562,9 @@ declare namespace io.flow.stripe.v0.models {
2524
2562
  }
2525
2563
 
2526
2564
  interface PaymentMethodOptionsCard {
2565
+ readonly 'network'?: string;
2527
2566
  readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
2567
+ readonly 'stored_credential_transaction_type'?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
2528
2568
  }
2529
2569
 
2530
2570
  interface PaymentOutcome {
@@ -2776,6 +2816,10 @@ declare namespace io.flow.stripe.v0.models {
2776
2816
  readonly 'stripe_js': string;
2777
2817
  }
2778
2818
 
2819
+ interface ThreeDSecureUsage {
2820
+ readonly 'supported'?: boolean;
2821
+ }
2822
+
2779
2823
  interface Token {
2780
2824
  readonly 'id': string;
2781
2825
  readonly 'object': string;
@@ -2814,7 +2858,9 @@ declare namespace io.flow.stripe.v0.models {
2814
2858
 
2815
2859
  declare namespace io.flow.stripe.v0.unions {
2816
2860
  type CardWallet = (io.flow.stripe.v0.models.Masterpass | io.flow.stripe.v0.models.ApplePay | io.flow.stripe.v0.models.VisaCheckout);
2861
+ type PaymentMethodData = (io.flow.stripe.v0.models.PaymentMethodDataCard);
2817
2862
  type PaymentMethodDetails = (io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna);
2863
+ type PaymentMethodForm = (io.flow.stripe.v0.models.PaymentMethodFormCard);
2818
2864
  }
2819
2865
 
2820
2866
  declare namespace io.flow.customer.v0.enums {
@@ -5332,6 +5378,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
5332
5378
  type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
5333
5379
  type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
5334
5380
  type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
5381
+ type ShopifyOrderPaymentGatewayNames = 'flow_commerce' | 'gift_card' | 'manual' | 'shopify_payments';
5335
5382
  type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
5336
5383
  type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
5337
5384
  type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
@@ -10833,6 +10880,12 @@ declare namespace io.flow.billing.v0.models {
10833
10880
  readonly 'updated_at': string;
10834
10881
  }
10835
10882
 
10883
+ interface PendingTransaction {
10884
+ readonly 'id': string;
10885
+ readonly 'reason': io.flow.billing.v0.enums.TransactionPayoutPendingReason;
10886
+ readonly 'reason_set_at': string;
10887
+ }
10888
+
10836
10889
  interface SettlementNoPayout {
10837
10890
  readonly 'discriminator': 'no_payout';
10838
10891
  readonly 'placeholder'?: string;
@@ -10873,6 +10926,22 @@ declare namespace io.flow.billing.v0.models {
10873
10926
  readonly 'updated_at': string;
10874
10927
  }
10875
10928
 
10929
+ interface TransactionMetadataChannel {
10930
+ readonly 'discriminator': 'channel';
10931
+ readonly 'method': string;
10932
+ readonly 'card'?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
10933
+ }
10934
+
10935
+ interface TransactionMetadataChannelCardMetadata {
10936
+ readonly 'type': io.flow.payment.v0.enums.CardType;
10937
+ readonly 'issuer': io.flow.billing.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
10938
+ }
10939
+
10940
+ interface TransactionMetadataChannelCardMetadataIssuerSummary {
10941
+ readonly 'iin': string;
10942
+ readonly 'country': string;
10943
+ }
10944
+
10876
10945
  interface TransactionMetadataShippingLabel {
10877
10946
  readonly 'discriminator': 'shipping_label';
10878
10947
  readonly 'request_method'?: io.flow.label.v0.enums.LabelRequestMethod;
@@ -10924,7 +10993,7 @@ declare namespace io.flow.billing.v0.unions {
10924
10993
  type BankAccountForm = (io.flow.billing.v0.models.BankAccountFormInfo | io.flow.billing.v0.models.BankAccountFormSimple);
10925
10994
  type PayoutStatus = (io.flow.billing.v0.models.PayoutStatusScheduled | io.flow.billing.v0.models.PayoutStatusSent | io.flow.billing.v0.models.PayoutStatusFailed);
10926
10995
  type Settlement = (io.flow.billing.v0.models.SettlementNoPayout | io.flow.billing.v0.models.SettlementPayout);
10927
- type TransactionMetadata = (io.flow.billing.v0.models.TransactionMetadataShippingLabel | io.flow.billing.v0.models.TransactionMetadataTrueup);
10996
+ type TransactionMetadata = (io.flow.billing.v0.models.TransactionMetadataShippingLabel | io.flow.billing.v0.models.TransactionMetadataChannel | io.flow.billing.v0.models.TransactionMetadataTrueup);
10928
10997
  }
10929
10998
 
10930
10999
  declare namespace io.flow.harmonization.v0.enums {
@@ -12024,10 +12093,10 @@ declare namespace io.flow.catalog.RESERVED_WORD_return.v0.models {
12024
12093
  }
12025
12094
 
12026
12095
  declare namespace io.flow.apple.pay.v0.enums {
12027
- type ApplePayContactField = 'email' | 'name' | 'phone' | 'postalAddress' | 'phoneticName';
12096
+ type ApplePayContactField = 'email' | 'name' | 'phone' | 'postal_address' | 'phonetic_name';
12028
12097
  type ApplePayLineItemType = 'final' | 'pending';
12029
12098
  type ApplePayMerchantCapability = 'supports3DS' | 'supportsCredit' | 'supportsDebit' | 'supportsEMV';
12030
- type ApplePayShippingType = 'shipping' | 'delivery' | 'storePickup' | 'servicePickup';
12099
+ type ApplePayShippingType = 'shipping' | 'delivery' | 'store_pickup' | 'service_pickup';
12031
12100
  type ApplePaySupportedNetworks = 'amex' | 'chinaUnionPay' | 'discover' | 'jcb' | 'masterCard' | 'privateLabel' | 'visa';
12032
12101
  }
12033
12102
 
@@ -12035,7 +12104,7 @@ declare namespace io.flow.apple.pay.v0.models {
12035
12104
  interface ApplePayLineItem {
12036
12105
  readonly 'label': string;
12037
12106
  readonly 'type': io.flow.apple.pay.v0.enums.ApplePayLineItemType;
12038
- readonly 'amount': string;
12107
+ readonly 'amount': number;
12039
12108
  }
12040
12109
 
12041
12110
  interface ApplePayPaymentContact {
@@ -12086,7 +12155,7 @@ declare namespace io.flow.apple.pay.v0.models {
12086
12155
  interface ApplePayShippingMethod {
12087
12156
  readonly 'label': string;
12088
12157
  readonly 'detail': string;
12089
- readonly 'amount': string;
12158
+ readonly 'amount': number;
12090
12159
  readonly 'identifier': string;
12091
12160
  }
12092
12161
  }
@@ -12793,7 +12862,7 @@ declare namespace io.flow.internal.v0.enums {
12793
12862
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
12794
12863
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
12795
12864
  type PromptTarget = 'browse' | 'checkout';
12796
- type QueuedRecordType = 'capture' | 'capture_deletion' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'label_tracking_summary' | 'label_invoice_request' | 'label_invoice_response' | 'label_invoice_response_file' | 'label_origin' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'refund' | 'refund_deletion' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email';
12865
+ type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_cancellation' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'label_origin' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email';
12797
12866
  type QuoteRequestType = 'generate' | 'delete' | 'update_currency_rate' | 'update_country';
12798
12867
  type RateLevelKey = 'shopify_small_usa' | 'shopify_medium_usa' | 'shopify_enterprise_usa' | 'shopify_small_sdc_usa';
12799
12868
  type RateSource = 'calculated' | 'market';
@@ -14278,6 +14347,53 @@ declare namespace io.flow.internal.v0.models {
14278
14347
  readonly 'error_message'?: string;
14279
14348
  }
14280
14349
 
14350
+ interface CarrierChargeFile {
14351
+ readonly 'id': string;
14352
+ readonly 'url': string;
14353
+ readonly 'created_at': string;
14354
+ readonly 'result'?: io.flow.internal.v0.models.CarrierChargeFileResult;
14355
+ }
14356
+
14357
+ interface CarrierChargeFileForm {
14358
+ readonly 'url': string;
14359
+ }
14360
+
14361
+ interface CarrierChargeFileResult {
14362
+ readonly 'processed_at': string;
14363
+ readonly 'number_lines_successful': number;
14364
+ readonly 'number_lines_with_errors': number;
14365
+ readonly 'errors_url'?: string;
14366
+ }
14367
+
14368
+ interface CarrierChargeFormLabel {
14369
+ readonly 'discriminator': 'label';
14370
+ readonly 'id': string;
14371
+ readonly 'label_invoice_request_id': string;
14372
+ readonly 'units': io.flow.internal.v0.models.CarrierChargeUnits;
14373
+ readonly 'base': io.flow.internal.v0.models.LabelBase;
14374
+ readonly 'surcharges': io.flow.internal.v0.models.LabelSurchargeForm;
14375
+ readonly 'total': number;
14376
+ readonly 'attributes'?: Record<string, string>;
14377
+ }
14378
+
14379
+ interface CarrierChargeFormReturnToOrigin {
14380
+ readonly 'discriminator': 'return_to_origin';
14381
+ readonly 'id': string;
14382
+ readonly 'carrier_id': string;
14383
+ readonly 'carrier_tracking_number': string;
14384
+ readonly 'units': io.flow.internal.v0.models.CarrierChargeUnits;
14385
+ readonly 'base': io.flow.internal.v0.models.LabelBase;
14386
+ readonly 'surcharges': io.flow.internal.v0.models.LabelSurchargeForm;
14387
+ readonly 'total': number;
14388
+ readonly 'attributes'?: Record<string, string>;
14389
+ }
14390
+
14391
+ interface CarrierChargeUnits {
14392
+ readonly 'currency': string;
14393
+ readonly 'weight': io.flow.units.v0.enums.UnitOfWeight;
14394
+ readonly 'length'?: io.flow.units.v0.enums.UnitOfLength;
14395
+ }
14396
+
14281
14397
  interface CarrierInvoice {
14282
14398
  readonly 'number': string;
14283
14399
  readonly 'timestamp': string;
@@ -18996,16 +19112,28 @@ declare namespace io.flow.internal.v0.models {
18996
19112
  interface FulfillmentProofExternalFulfillmentProofReference {
18997
19113
  readonly 'discriminator': 'external_fulfillment';
18998
19114
  readonly 'id': string;
19115
+ readonly 'carrier_id'?: string;
19116
+ readonly 'carrier_service_id'?: string;
19117
+ readonly 'carrier_tracking_number'?: string;
19118
+ readonly 'label_id'?: string;
18999
19119
  }
19000
19120
 
19001
19121
  interface FulfillmentProofLabelTrackingReference {
19002
19122
  readonly 'discriminator': 'label_tracking';
19003
19123
  readonly 'id': string;
19124
+ readonly 'carrier_id'?: string;
19125
+ readonly 'carrier_service_id'?: string;
19126
+ readonly 'carrier_tracking_number'?: string;
19127
+ readonly 'label_id'?: string;
19004
19128
  }
19005
19129
 
19006
19130
  interface FulfillmentProofShippingNotificationReference {
19007
19131
  readonly 'discriminator': 'shipping_notification';
19008
19132
  readonly 'id': string;
19133
+ readonly 'carrier_id'?: string;
19134
+ readonly 'carrier_service_id'?: string;
19135
+ readonly 'carrier_tracking_number'?: string;
19136
+ readonly 'label_id'?: string;
19009
19137
  }
19010
19138
 
19011
19139
  interface FulfillmentReference {
@@ -20634,33 +20762,6 @@ declare namespace io.flow.internal.v0.models {
20634
20762
  readonly 'label_invoice_request': io.flow.internal.v0.models.LabelInvoiceRequest;
20635
20763
  }
20636
20764
 
20637
- interface LabelInvoiceResponseFile {
20638
- readonly 'id': string;
20639
- readonly 'url': string;
20640
- readonly 'created_at': string;
20641
- readonly 'result'?: io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
20642
- }
20643
-
20644
- interface LabelInvoiceResponseFileForm {
20645
- readonly 'url': string;
20646
- }
20647
-
20648
- interface LabelInvoiceResponseFileResult {
20649
- readonly 'processed_at': string;
20650
- readonly 'number_lines_successful': number;
20651
- readonly 'number_lines_with_errors': number;
20652
- readonly 'errors_url'?: string;
20653
- }
20654
-
20655
- interface LabelInvoiceResponseForm {
20656
- readonly 'id': string;
20657
- readonly 'label_invoice_request_id': string;
20658
- readonly 'units': io.flow.internal.v0.models.LabelResponseUnits;
20659
- readonly 'base': io.flow.internal.v0.models.LabelBase;
20660
- readonly 'surcharges': io.flow.internal.v0.models.LabelSurchargeForm;
20661
- readonly 'total': number;
20662
- }
20663
-
20664
20765
  interface LabelMetadata {
20665
20766
  readonly 'ratecard': io.flow.internal.v0.models.MetadataRatecard;
20666
20767
  readonly 'weights': io.flow.internal.v0.models.MetadataWeights;
@@ -20696,12 +20797,6 @@ declare namespace io.flow.internal.v0.models {
20696
20797
  readonly 'label_request_error': io.flow.internal.v0.models.LabelRequestError;
20697
20798
  }
20698
20799
 
20699
- interface LabelResponseUnits {
20700
- readonly 'currency': string;
20701
- readonly 'weight': io.flow.units.v0.enums.UnitOfWeight;
20702
- readonly 'length'?: io.flow.units.v0.enums.UnitOfLength;
20703
- }
20704
-
20705
20800
  interface LabelSummary {
20706
20801
  readonly 'id': string;
20707
20802
  readonly 'commercial_invoice'?: string;
@@ -21504,6 +21599,10 @@ declare namespace io.flow.internal.v0.models {
21504
21599
  }
21505
21600
 
21506
21601
  interface MerchantCharges {
21602
+ readonly 'adjustment': number;
21603
+ readonly 'reversal': number;
21604
+ readonly 'tax': number;
21605
+ readonly 'duty': number;
21507
21606
  readonly 'labels': number;
21508
21607
  readonly 'total': number;
21509
21608
  }
@@ -22158,6 +22257,7 @@ declare namespace io.flow.internal.v0.models {
22158
22257
  readonly 'id': string;
22159
22258
  readonly 'deactivate_at': string;
22160
22259
  readonly 'created_at': string;
22260
+ readonly 'reason'?: string;
22161
22261
  }
22162
22262
 
22163
22263
  interface OrganizationDeactivationDeleted {
@@ -22170,6 +22270,7 @@ declare namespace io.flow.internal.v0.models {
22170
22270
 
22171
22271
  interface OrganizationDeactivationForm {
22172
22272
  readonly 'deactivate_at': string;
22273
+ readonly 'reason'?: string;
22173
22274
  }
22174
22275
 
22175
22276
  interface OrganizationDeactivationUpserted {
@@ -25744,6 +25845,7 @@ declare namespace io.flow.internal.v0.unions {
25744
25845
  type AuthorizedOrderCharge = (io.flow.internal.v0.models.AuthorizedShippingCharge);
25745
25846
  type BlazeConsumerMessage = (io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeCreateByCartToken | io.flow.internal.v0.models.BlazeInitializeByOrderQuoteMessage | io.flow.internal.v0.models.BlazeInitializeBySessionMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeSetCheckoutIdMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse | io.flow.internal.v0.models.BlazeSetPromotionCodeMessage);
25746
25847
  type BlazeProviderMessage = (io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeCheckoutEventMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage);
25848
+ type CarrierChargeForm = (io.flow.internal.v0.models.CarrierChargeFormLabel | io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin);
25747
25849
  type CarrierCredentials = (io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex);
25748
25850
  type ChannelRateMetadata = (io.flow.internal.v0.models.ChannelRateMetadataIdentity | io.flow.internal.v0.models.ChannelRateMetadataRate);
25749
25851
  type CheckoutAddressBookEdit = (io.flow.internal.v0.models.CheckoutAddressBookContactRemoved);
@@ -26374,6 +26476,12 @@ export const carrierAccountDeleted: PropTypes.Requireable<io.flow.internal.v0.mo
26374
26476
  export const carrierAccountForm: PropTypes.Requireable<io.flow.internal.v0.models.CarrierAccountForm>;
26375
26477
  export const carrierAccountUpsertedV2: PropTypes.Requireable<io.flow.internal.v0.models.CarrierAccountUpsertedV2>;
26376
26478
  export const carrierAccountValidation: PropTypes.Requireable<io.flow.internal.v0.models.CarrierAccountValidation>;
26479
+ export const carrierChargeFile: PropTypes.Requireable<io.flow.internal.v0.models.CarrierChargeFile>;
26480
+ export const carrierChargeFileForm: PropTypes.Requireable<io.flow.internal.v0.models.CarrierChargeFileForm>;
26481
+ export const carrierChargeFileResult: PropTypes.Requireable<io.flow.internal.v0.models.CarrierChargeFileResult>;
26482
+ export const carrierChargeFormLabel: PropTypes.Requireable<io.flow.internal.v0.models.CarrierChargeFormLabel>;
26483
+ export const carrierChargeFormReturnToOrigin: PropTypes.Requireable<io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin>;
26484
+ export const carrierChargeUnits: PropTypes.Requireable<io.flow.internal.v0.models.CarrierChargeUnits>;
26377
26485
  export const carrierInvoice: PropTypes.Requireable<io.flow.internal.v0.models.CarrierInvoice>;
26378
26486
  export const catalogImportRequest: PropTypes.Requireable<io.flow.internal.v0.models.CatalogImportRequest>;
26379
26487
  export const catalogItemBatchIndexTask: PropTypes.Requireable<io.flow.internal.v0.models.CatalogItemBatchIndexTask>;
@@ -27282,15 +27390,10 @@ export const labelGenerationSettingsUpserted: PropTypes.Requireable<io.flow.inte
27282
27390
  export const labelInvoiceRequest: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceRequest>;
27283
27391
  export const labelInvoiceRequestDeleted: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceRequestDeleted>;
27284
27392
  export const labelInvoiceRequestUpserted: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceRequestUpserted>;
27285
- export const labelInvoiceResponseFile: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceResponseFile>;
27286
- export const labelInvoiceResponseFileForm: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceResponseFileForm>;
27287
- export const labelInvoiceResponseFileResult: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceResponseFileResult>;
27288
- export const labelInvoiceResponseForm: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceResponseForm>;
27289
27393
  export const labelMetadata: PropTypes.Requireable<io.flow.internal.v0.models.LabelMetadata>;
27290
27394
  export const labelRequestError: PropTypes.Requireable<io.flow.internal.v0.models.LabelRequestError>;
27291
27395
  export const labelRequestErrorDeleted: PropTypes.Requireable<io.flow.internal.v0.models.LabelRequestErrorDeleted>;
27292
27396
  export const labelRequestErrorUpserted: PropTypes.Requireable<io.flow.internal.v0.models.LabelRequestErrorUpserted>;
27293
- export const labelResponseUnits: PropTypes.Requireable<io.flow.internal.v0.models.LabelResponseUnits>;
27294
27397
  export const labelSummary: PropTypes.Requireable<io.flow.internal.v0.models.LabelSummary>;
27295
27398
  export const labelSurcharge: PropTypes.Requireable<io.flow.internal.v0.models.LabelSurcharge>;
27296
27399
  export const labelSurchargeDetailFlat: PropTypes.Requireable<io.flow.internal.v0.models.LabelSurchargeDetailFlat>;
@@ -27982,6 +28085,7 @@ export const authorizationPayload: PropTypes.Requireable<io.flow.internal.v0.uni
27982
28085
  export const authorizedOrderCharge: PropTypes.Requireable<io.flow.internal.v0.unions.AuthorizedOrderCharge>;
27983
28086
  export const blazeConsumerMessage: PropTypes.Requireable<io.flow.internal.v0.unions.BlazeConsumerMessage>;
27984
28087
  export const blazeProviderMessage: PropTypes.Requireable<io.flow.internal.v0.unions.BlazeProviderMessage>;
28088
+ export const carrierChargeForm: PropTypes.Requireable<io.flow.internal.v0.unions.CarrierChargeForm>;
27985
28089
  export const carrierCredentials: PropTypes.Requireable<io.flow.internal.v0.unions.CarrierCredentials>;
27986
28090
  export const channelRateMetadata: PropTypes.Requireable<io.flow.internal.v0.unions.ChannelRateMetadata>;
27987
28091
  export const checkoutAddressBookEdit: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutAddressBookEdit>;