@flowio/types 11.24.74 → 11.24.76

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.
@@ -72,37 +72,6 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
72
72
  declare namespace io.flow.RESERVED_WORD_return.v0.unions {
73
73
  type ReturnSource = io.flow.RESERVED_WORD_return.v0.models.ReturnSourceFlow | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
74
74
  }
75
- declare namespace io.flow.units.v0.enums {
76
- type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
77
- type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
78
- type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
79
- }
80
- declare namespace io.flow.order.price.v0.enums {
81
- type OrderPriceDetailComponentKey = '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' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge';
82
- type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
83
- }
84
- declare namespace io.flow.order.price.v0.models {
85
- interface OrderPriceDetail {
86
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
87
- readonly currency: string;
88
- readonly amount: number;
89
- readonly label: string;
90
- readonly base: io.flow.common.v0.models.Price;
91
- readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
92
- readonly name?: string;
93
- readonly rate?: number;
94
- readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
95
- readonly rate_label?: string;
96
- }
97
- interface OrderPriceDetailComponent {
98
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
99
- readonly currency: string;
100
- readonly amount: number;
101
- readonly label: string;
102
- readonly base: io.flow.common.v0.models.Price;
103
- readonly name?: string;
104
- }
105
- }
106
75
  declare namespace io.flow.error.v0.enums {
107
76
  type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
108
77
  }
@@ -1970,7 +1939,8 @@ declare namespace io.flow.billing.csv.v0.models {
1970
1939
  readonly card?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
1971
1940
  }
1972
1941
  interface BillingCsvTransactionMetadataManual {
1973
- readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
1942
+ readonly original?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
1943
+ readonly url?: string;
1974
1944
  }
1975
1945
  interface BillingCsvTransactionMetadataShippingLabel {
1976
1946
  readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
@@ -2407,6 +2377,7 @@ declare namespace io.flow.stripe.v0.models {
2407
2377
  readonly status: io.flow.stripe.v0.enums.PaymentIntentStatus;
2408
2378
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
2409
2379
  readonly transfer_group?: string;
2380
+ readonly shipping?: io.flow.stripe.v0.models.PaymentIntentShipping;
2410
2381
  }
2411
2382
  interface PaymentIntentCancellationForm {
2412
2383
  readonly cancellation_reason?: io.flow.stripe.v0.enums.CancellationReason;
@@ -2458,6 +2429,12 @@ declare namespace io.flow.stripe.v0.models {
2458
2429
  readonly statement_descriptor_suffix?: string;
2459
2430
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
2460
2431
  readonly transfer_group?: string;
2432
+ readonly shipping?: io.flow.stripe.v0.models.PaymentIntentShipping;
2433
+ }
2434
+ interface PaymentIntentShipping {
2435
+ readonly address: io.flow.stripe.v0.models.Address;
2436
+ readonly name: string;
2437
+ readonly phone?: string;
2461
2438
  }
2462
2439
  interface PaymentIntentUpdateForm {
2463
2440
  readonly amount: number;
@@ -3852,6 +3829,171 @@ declare namespace io.flow.brickftp.v0.unions {
3852
3829
  type FileForm = io.flow.brickftp.v0.models.FileUploadStartForm | io.flow.brickftp.v0.models.FileUploadEndForm | io.flow.brickftp.v0.models.FileCopyForm | io.flow.brickftp.v0.models.FileMoveForm;
3853
3830
  type Node = io.flow.brickftp.v0.models.Directory | io.flow.brickftp.v0.models.FileSummary;
3854
3831
  }
3832
+ declare namespace io.flow.units.v0.enums {
3833
+ type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
3834
+ type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
3835
+ type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
3836
+ }
3837
+ declare namespace io.flow.shopify.markets.internal.v0.enums {
3838
+ type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know';
3839
+ type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
3840
+ type ChannelOrderFulfillmentStatusCode = 'unfulfilled' | 'fulfilled' | 'partial' | 'cancelled';
3841
+ type ProductStatus = 'active' | 'archived' | 'draft';
3842
+ type ShopifyMarketsDangerousGoods = 'aerosols' | 'air_bag_inflators_or_seat_belt_pretensioners' | 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume' | 'batteries' | 'carbon_dioxide_or_dry_ice' | 'corrosives' | 'cannabidiol_products' | 'cologne_or_perfume' | 'currency_or_gift_cards_or_monetary_instruments' | 'exotic_leather_goods' | 'environmental_waste' | 'explosives_or_ammunition' | 'flammable_liquids' | 'gases' | 'hazardous_or_combustible_materials' | 'infectious_or_biological_substances' | 'knives' | 'matches_or_lighter_or_lighter_refills' | 'nail_polish' | 'oxidizing_materials_or_organic_peroxides' | 'pornography' | 'prohibited_carriage' | 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
3843
+ type ShopifyMarketsHtsNumberAvailable = 'yes' | 'no' | 'i_dont_know';
3844
+ type ShopifyMarketsTradeSector = 'apparel_and_accessories' | 'beauty_and_cosmetics' | 'electronics' | 'food_or_perishables' | 'jewellery_and_watches' | 'paper_and_art' | 'sports_and_fitness' | 'toys_hobbies_gifts' | 'other';
3845
+ }
3846
+ declare namespace io.flow.shopify.markets.internal.v0.models {
3847
+ interface CatalogPublicationSyncValidationError {
3848
+ readonly message: string;
3849
+ readonly reason: string;
3850
+ readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
3851
+ }
3852
+ interface ChannelOrderSummary {
3853
+ readonly id: string;
3854
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3855
+ readonly external_order_reference: string;
3856
+ readonly order_number: string;
3857
+ readonly fulfullment_details: io.flow.shopify.markets.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
3858
+ }
3859
+ interface ChannelOrderSummaryFulfillmentDetails {
3860
+ readonly fulfillment_status: io.flow.shopify.markets.internal.v0.enums.ChannelOrderFulfillmentStatusCode;
3861
+ readonly timestamp: string;
3862
+ }
3863
+ interface FlowShopValidationError {
3864
+ readonly message: string;
3865
+ readonly reason: string;
3866
+ readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
3867
+ }
3868
+ interface GenericValidationError {
3869
+ readonly message: string;
3870
+ readonly reason: string;
3871
+ readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
3872
+ }
3873
+ interface MarketsOrder {
3874
+ readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder;
3875
+ readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
3876
+ }
3877
+ interface OrderValidationError {
3878
+ readonly message: string;
3879
+ readonly reason: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
3880
+ readonly action?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceErrorAction;
3881
+ readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
3882
+ }
3883
+ interface ProductRestrictionResultValidationError {
3884
+ readonly message: string;
3885
+ readonly reason: string;
3886
+ readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
3887
+ }
3888
+ interface ShippingLane {
3889
+ readonly origin: string;
3890
+ readonly destination: string;
3891
+ }
3892
+ interface ShopifyMarketsDiscrepancy {
3893
+ readonly organization_id: string;
3894
+ readonly count: number;
3895
+ }
3896
+ interface ShopifyMarketsDiscrepancyData {
3897
+ readonly total_count: number;
3898
+ readonly discrepancies: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsDiscrepancy[];
3899
+ }
3900
+ interface ShopifyMarketsIncorporationCountry {
3901
+ readonly country: string;
3902
+ readonly state?: string;
3903
+ readonly province?: string;
3904
+ readonly jurisdiction?: string;
3905
+ }
3906
+ interface ShopifyMarketsInternalOrderMetrics {
3907
+ readonly total_order_count: number;
3908
+ }
3909
+ interface ShopifyMarketsOrdersMetrics {
3910
+ readonly id: string;
3911
+ readonly range: io.flow.common.v0.models.DatetimeRange;
3912
+ readonly shopify: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsShopifyOrderMetrics;
3913
+ readonly internal: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsInternalOrderMetrics;
3914
+ readonly discrepancy_data: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsDiscrepancyData;
3915
+ }
3916
+ interface ShopifyMarketsQueuedRecord {
3917
+ readonly id: string;
3918
+ readonly type: string;
3919
+ readonly type_id: string;
3920
+ readonly organization_id: string;
3921
+ readonly environment?: string;
3922
+ readonly num_attempts: number;
3923
+ readonly next_attempt_at: string;
3924
+ readonly errors?: string[];
3925
+ readonly stacktrace?: string;
3926
+ }
3927
+ interface ShopifyMarketsShop {
3928
+ readonly id: string;
3929
+ readonly shopify_shop_id?: string;
3930
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3931
+ readonly domain: string;
3932
+ readonly myshopify_domain: string;
3933
+ readonly organization_id: string;
3934
+ readonly shop: string;
3935
+ readonly created_at: string;
3936
+ readonly shared_secret_masked: string;
3937
+ readonly api_key_masked?: string;
3938
+ readonly api_password_masked?: string;
3939
+ readonly access_token_masked?: string;
3940
+ }
3941
+ interface ShopifyMarketsShopForm {
3942
+ readonly shop: string;
3943
+ readonly domain: string;
3944
+ readonly myshopify_domain: string;
3945
+ readonly shared_secret: string;
3946
+ readonly api_key?: string;
3947
+ readonly api_password?: string;
3948
+ readonly access_token?: string;
3949
+ }
3950
+ interface ShopifyMarketsShopSummary {
3951
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
3952
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3953
+ }
3954
+ interface ShopifyMarketsShopifyOrderMetrics {
3955
+ readonly total_order_count: number;
3956
+ }
3957
+ interface ShopifyMarketsSubsidiaryCompany {
3958
+ readonly legal_name?: string;
3959
+ readonly incorporation_country?: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsIncorporationCountry;
3960
+ }
3961
+ interface ShopifyMarketsSync {
3962
+ readonly force_resync?: boolean;
3963
+ }
3964
+ interface ShopifyMarketsWebhookRegistration {
3965
+ readonly id: string;
3966
+ readonly response: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
3967
+ }
3968
+ interface ShopifyOrderCancelForm {
3969
+ readonly note?: string;
3970
+ }
3971
+ interface ShopifyOrderCancelResponse {
3972
+ readonly shopify_order_cancellation_id: string;
3973
+ readonly shopify_order_id: number;
3974
+ readonly message: string;
3975
+ }
3976
+ interface ShopifyOrderDestinationForm {
3977
+ readonly destination: io.flow.common.v0.models.Address;
3978
+ }
3979
+ interface ShopifyShopStatistics {
3980
+ readonly id: string;
3981
+ readonly initial_catalog_synced_at?: string;
3982
+ readonly catalog_sync_duration?: number;
3983
+ readonly catalog_products_count?: number;
3984
+ }
3985
+ interface ThirdPartyLogisticsPartner {
3986
+ readonly warehouse_address: io.flow.common.v0.models.BillingAddress;
3987
+ readonly warehouse_url?: string;
3988
+ }
3989
+ interface ThirdPartyLogisticsPickUpTimeWindow {
3990
+ readonly from: string;
3991
+ readonly to: string;
3992
+ }
3993
+ interface Webhook {
3994
+ readonly placeholder?: any;
3995
+ }
3996
+ }
3855
3997
  declare namespace io.flow.consumer.invoice.v0.enums {
3856
3998
  type B2BInvoiceType = 'self_bill_invoice' | 'invoice';
3857
3999
  type ConsumerInvoiceCustomerType = 'business_eu_verified' | 'business_non_verified' | 'individual';
@@ -6579,6 +6721,87 @@ declare namespace io.flow.payment.gateway.v0.unions {
6579
6721
  type PaymentMethodSummary = io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort | io.flow.payment.gateway.v0.models.PaymentMethodSummaryBancontact;
6580
6722
  type SdkAdyenV3AuthenticationToken = io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
6581
6723
  }
6724
+ declare namespace io.flow.order.price.v0.enums {
6725
+ type OrderPriceDetailComponentKey = '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' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge';
6726
+ type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
6727
+ }
6728
+ declare namespace io.flow.order.price.v0.models {
6729
+ interface OrderPriceDetail {
6730
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
6731
+ readonly currency: string;
6732
+ readonly amount: number;
6733
+ readonly label: string;
6734
+ readonly base: io.flow.common.v0.models.Price;
6735
+ readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
6736
+ readonly name?: string;
6737
+ readonly rate?: number;
6738
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
6739
+ readonly rate_label?: string;
6740
+ }
6741
+ interface OrderPriceDetailComponent {
6742
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
6743
+ readonly currency: string;
6744
+ readonly amount: number;
6745
+ readonly label: string;
6746
+ readonly base: io.flow.common.v0.models.Price;
6747
+ readonly name?: string;
6748
+ }
6749
+ }
6750
+ declare namespace io.flow.channel.internal.v0.enums {
6751
+ type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
6752
+ type ChannelOrderAcceptanceNextActionFrom = 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team';
6753
+ type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies';
6754
+ type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
6755
+ }
6756
+ declare namespace io.flow.channel.internal.v0.models {
6757
+ interface ChannelCurrencyForm {
6758
+ readonly currency: string;
6759
+ readonly channel_id: string;
6760
+ readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
6761
+ }
6762
+ interface ChannelForm {
6763
+ readonly name: string;
6764
+ readonly environment: io.flow.common.v0.enums.Environment;
6765
+ readonly organization_id_prefix?: string;
6766
+ }
6767
+ interface ChannelMembership {
6768
+ readonly id: string;
6769
+ readonly channel: io.flow.common.v0.models.ChannelReference;
6770
+ readonly user: io.flow.common.v0.unions.ExpandableUser;
6771
+ readonly role?: io.flow.common.v0.enums.Role;
6772
+ }
6773
+ interface ChannelMembershipForm {
6774
+ readonly channel_id: string;
6775
+ readonly user_id: string;
6776
+ readonly role?: io.flow.common.v0.enums.Role;
6777
+ }
6778
+ interface ChannelMembershipPutForm {
6779
+ readonly role?: io.flow.common.v0.enums.Role;
6780
+ }
6781
+ interface ChannelOrderAcceptance {
6782
+ readonly id: string;
6783
+ readonly organization_id: string;
6784
+ readonly order_number: string;
6785
+ readonly channel_id: string;
6786
+ readonly external_order_reference: string;
6787
+ readonly payment_request_id?: string;
6788
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
6789
+ readonly reasons: io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[];
6790
+ readonly next_action_from?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
6791
+ readonly order_created_at?: string;
6792
+ readonly order_updated_at?: string;
6793
+ }
6794
+ interface ChannelOrderAcceptanceForm {
6795
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
6796
+ }
6797
+ interface ChannelOrderAcceptanceReason {
6798
+ readonly description: string;
6799
+ readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
6800
+ }
6801
+ interface FlowChannelOrganization {
6802
+ readonly placeholder?: string;
6803
+ }
6804
+ }
6582
6805
  declare namespace io.flow.payment.internal.v0.enums {
6583
6806
  type AdyenIntegrationType = 'hosted_payment_page' | 'checkout_payments_api' | 'classic_authorise_api';
6584
6807
  type ChargebackPaymentStatus = 'captured' | 'refunded';
@@ -8197,6 +8420,97 @@ declare namespace io.flow.order.management.event.v0.models {
8197
8420
  declare namespace io.flow.order.management.event.v0.unions {
8198
8421
  type OrderManagementEvent = io.flow.order.management.event.v0.models.OrderPlaced | io.flow.order.management.event.v0.models.OrderPlacedV2 | io.flow.order.management.event.v0.models.ReadyToFulfill | io.flow.order.management.event.v0.models.ReadyToFulfillV2;
8199
8422
  }
8423
+ declare namespace io.flow.shopify.markets.internal.event.v0.models {
8424
+ interface ChannelOrderSummaryDeleted {
8425
+ readonly discriminator: 'channel_order_summary_deleted';
8426
+ readonly event_id: string;
8427
+ readonly timestamp: string;
8428
+ readonly channel_id: string;
8429
+ readonly id: string;
8430
+ }
8431
+ interface ChannelOrderSummaryUpserted {
8432
+ readonly discriminator: 'channel_order_summary_upserted';
8433
+ readonly event_id: string;
8434
+ readonly timestamp: string;
8435
+ readonly channel_id: string;
8436
+ readonly channel_order_summary: io.flow.shopify.markets.internal.v0.models.ChannelOrderSummary;
8437
+ }
8438
+ interface ShopifyMarketsMetricsDeleted {
8439
+ readonly discriminator: 'shopify_markets_metrics_deleted';
8440
+ readonly event_id: string;
8441
+ readonly timestamp: string;
8442
+ readonly id: string;
8443
+ }
8444
+ interface ShopifyMarketsMetricsUpserted {
8445
+ readonly discriminator: 'shopify_markets_metrics_upserted';
8446
+ readonly event_id: string;
8447
+ readonly timestamp: string;
8448
+ readonly shopify_markets_metrics: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsOrdersMetrics;
8449
+ }
8450
+ interface ShopifyMarketsOrder {
8451
+ readonly id: string;
8452
+ readonly model: io.flow.shopify.markets.v0.models.ShopifyOrder;
8453
+ }
8454
+ interface ShopifyMarketsOrderDeleted {
8455
+ readonly discriminator: 'shopify_markets_order_deleted';
8456
+ readonly event_id: string;
8457
+ readonly timestamp: string;
8458
+ readonly organization: string;
8459
+ readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
8460
+ }
8461
+ interface ShopifyMarketsOrderUpserted {
8462
+ readonly discriminator: 'shopify_markets_order_upserted';
8463
+ readonly event_id: string;
8464
+ readonly timestamp: string;
8465
+ readonly organization: string;
8466
+ readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
8467
+ }
8468
+ interface ShopifyMarketsShopDeleted {
8469
+ readonly discriminator: 'shopify_markets_shop_deleted';
8470
+ readonly event_id: string;
8471
+ readonly timestamp: string;
8472
+ readonly organization: string;
8473
+ readonly id: string;
8474
+ }
8475
+ interface ShopifyMarketsShopStatisticsDeleted {
8476
+ readonly discriminator: 'shopify_markets_shop_statistics_deleted';
8477
+ readonly event_id: string;
8478
+ readonly timestamp: string;
8479
+ readonly organization: string;
8480
+ readonly id: string;
8481
+ }
8482
+ interface ShopifyMarketsShopStatisticsUpserted {
8483
+ readonly discriminator: 'shopify_markets_shop_statistics_upserted';
8484
+ readonly event_id: string;
8485
+ readonly timestamp: string;
8486
+ readonly organization: string;
8487
+ readonly shopify_markets_shop_statistics: io.flow.shopify.markets.internal.v0.models.ShopifyShopStatistics;
8488
+ }
8489
+ interface ShopifyMarketsShopUpserted {
8490
+ readonly discriminator: 'shopify_markets_shop_upserted';
8491
+ readonly event_id: string;
8492
+ readonly timestamp: string;
8493
+ readonly organization: string;
8494
+ readonly shopify_markets_shop: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsShop;
8495
+ }
8496
+ interface ShopifyMarketsWebhookRegistrationDeleted {
8497
+ readonly discriminator: 'shopify_markets_webhook_registration_deleted';
8498
+ readonly event_id: string;
8499
+ readonly timestamp: string;
8500
+ readonly organization: string;
8501
+ readonly id: string;
8502
+ }
8503
+ interface ShopifyMarketsWebhookRegistrationUpserted {
8504
+ readonly discriminator: 'shopify_markets_webhook_registration_upserted';
8505
+ readonly event_id: string;
8506
+ readonly timestamp: string;
8507
+ readonly organization: string;
8508
+ readonly registration: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsWebhookRegistration;
8509
+ }
8510
+ }
8511
+ declare namespace io.flow.shopify.markets.internal.event.v0.unions {
8512
+ type ShopifyMarketsInternalEvent = io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsDeleted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryUpserted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryDeleted;
8513
+ }
8200
8514
  declare namespace io.flow.experience.v0.enums {
8201
8515
  type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company' | 'vat_registration_number';
8202
8516
  type CreditPaymentErrorCode = 'generic_error' | 'invalid_order_number' | 'invalid_currency' | 'invalid_description' | 'duplicate' | 'amount_must_be_positive' | 'amount_exceeds_balance' | 'insufficient_amount';
@@ -10870,12 +11184,12 @@ declare namespace io.flow.billing.internal.v0.enums {
10870
11184
  type FeesSource = 'settings' | 'authorization_bundle';
10871
11185
  type LabelTransactionType = 'adjustment' | 'reversal' | 'billable_label' | 'fee' | 'revenue_share';
10872
11186
  type MainTransactionStatus = 'scheduled' | 'pending_proof';
10873
- type ManualTransactionCategory = 'cancelled_order_refund' | 'channel_partner_initiated' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit';
11187
+ type ManualTransactionCategory = 'cancelled_order_refund' | 'channel_partner_initiated' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit' | 'negative_balance_guarantee';
10874
11188
  type OrderCancellationInitiatedBy = 'flow' | 'organization';
10875
11189
  type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
10876
11190
  type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
10877
11191
  type ProcessingTransactionType = 'adjustment' | 'reversal' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment';
10878
- type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_cancellation' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event';
11192
+ type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
10879
11193
  type ResponsibleParty = 'flow' | 'organization';
10880
11194
  type StatementTransferTransactionLocation = 'transactions_file' | 'summary';
10881
11195
  type SubscriptionFrequency = 'yearly' | 'monthly';
@@ -10945,6 +11259,7 @@ declare namespace io.flow.billing.internal.v0.models {
10945
11259
  readonly merchant_of_record_fee?: number;
10946
11260
  readonly duty_guarantee_fee?: number;
10947
11261
  readonly transfer_fee?: number;
11262
+ readonly negative_balance_guarantee_fee?: number;
10948
11263
  readonly order_service_fee?: io.flow.billing.internal.v0.models.TieredFee;
10949
11264
  readonly label_fees?: io.flow.billing.internal.v0.models.AccountSettingLabelFees;
10950
11265
  readonly charge_label_cost_directly: boolean;
@@ -12004,7 +12319,8 @@ declare namespace io.flow.billing.v0.models {
12004
12319
  }
12005
12320
  interface TransactionMetadataManual {
12006
12321
  readonly discriminator: 'manual';
12007
- readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
12322
+ readonly original?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
12323
+ readonly url?: string;
12008
12324
  }
12009
12325
  interface TransactionMetadataOriginalTransaction {
12010
12326
  readonly id: string;
@@ -13484,7 +13800,7 @@ declare namespace io.flow.internal.v0.enums {
13484
13800
  type AutoRestrictRule = 'prr-3ce7d556f2464314ab0a3e8eee33e0ce' | 'prr-599c6246a1a24752aeb85e8f79030781' | 'prr-79e41878ea564f9c81cc432a0e84703f' | 'prr-f29c26dc09e04536bc77f9c32786ed70' | 'prr-0522d426a5b741c791ba05496c35297a';
13485
13801
  type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed';
13486
13802
  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';
13487
- 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';
13803
+ 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';
13488
13804
  type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'channel_billed' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'label' | 'order_service' | 'tax' | 'duty' | 'trueup' | 'all';
13489
13805
  type BillingStatementBatchFileKey = 'summary';
13490
13806
  type BillingTransactionStatus = 'pending' | 'pending_proof' | 'posted';
@@ -13493,6 +13809,7 @@ declare namespace io.flow.internal.v0.enums {
13493
13809
  type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
13494
13810
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
13495
13811
  type CalculatorEngine = 'flow_rate_and_rule' | 'dtce' | 'dtce_two_calls' | 'dtce_with_deminimis' | 'dtce_merged_with_tax';
13812
+ type CarrierChargeOtherReason = 'return_to_origin' | 'other';
13496
13813
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
13497
13814
  type CarrierValidationStatus = 'success' | 'error';
13498
13815
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
@@ -13644,9 +13961,10 @@ declare namespace io.flow.internal.v0.enums {
13644
13961
  type LabelRequestErrorHandlingResponsibility = 'merchant' | 'merchant_integration' | 'shopify_integration' | 'globale_cx' | 'globale_system';
13645
13962
  type LabelTransactionType = 'adjustment' | 'reversal' | 'billable_label' | 'fee' | 'revenue_share';
13646
13963
  type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
13964
+ type LogisticsResponsibility = 'organization' | 'flow';
13647
13965
  type MainTransactionStatus = 'scheduled' | 'pending_proof';
13648
13966
  type ManualReviewRuleStatus = 'active' | 'archived';
13649
- type ManualTransactionCategory = 'cancelled_order_refund' | 'channel_partner_initiated' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit';
13967
+ type ManualTransactionCategory = 'cancelled_order_refund' | 'channel_partner_initiated' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit' | 'negative_balance_guarantee';
13650
13968
  type MarketingGatewayAccountConnectionStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected';
13651
13969
  type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
13652
13970
  type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
@@ -13696,7 +14014,7 @@ declare namespace io.flow.internal.v0.enums {
13696
14014
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
13697
14015
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
13698
14016
  type PromptTarget = 'browse' | 'checkout';
13699
- type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_cancellation' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event';
14017
+ type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
13700
14018
  type QuoteRequestType = 'generate' | 'delete' | 'update_currency_rate' | 'update_country';
13701
14019
  type RateLevelKey = 'shopify_small_usa' | 'shopify_medium_usa' | 'shopify_enterprise_usa' | 'shopify_small_sdc_usa';
13702
14020
  type RateSource = 'calculated' | 'market';
@@ -13705,7 +14023,7 @@ declare namespace io.flow.internal.v0.enums {
13705
14023
  type RejectionReason = 'merchant_policy' | 'previous_chargebacks' | 'restricted_party_screening' | 'risky_velocity' | 'suspicious_behavior' | 'suspicious_past_activity';
13706
14024
  type ReportInterval = 'hourly' | 'daily' | 'weekly' | 'monthly';
13707
14025
  type ReportStatus = 'created' | 'completed' | 'completed_no_records' | 'failed';
13708
- type ReportType = 'sales_record' | 'trueup_overview';
14026
+ type ReportType = 'sales_record' | 'trueup_overview' | 'non_channel_payment_bank_account';
13709
14027
  type ReportingScheme = 'immediate_reporting_to_tax_authority' | 'periodic_reporting_to_tax_authority' | 'paid_at_border' | 'paid_on_delivery';
13710
14028
  type ResponsibleParty = 'flow' | 'organization';
13711
14029
  type RestrictionAction = 'prohibited' | 'restricted';
@@ -13873,6 +14191,7 @@ declare namespace io.flow.internal.v0.models {
13873
14191
  readonly merchant_of_record_fee?: number;
13874
14192
  readonly duty_guarantee_fee?: number;
13875
14193
  readonly transfer_fee?: number;
14194
+ readonly negative_balance_guarantee_fee?: number;
13876
14195
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
13877
14196
  readonly label_fees?: io.flow.internal.v0.models.AccountSettingLabelFees;
13878
14197
  readonly charge_label_cost_directly: boolean;
@@ -15025,9 +15344,10 @@ declare namespace io.flow.internal.v0.models {
15025
15344
  readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight;
15026
15345
  readonly attributes?: Record<string, string>;
15027
15346
  }
15028
- interface CarrierChargeFormReturnToOrigin {
15029
- readonly discriminator: 'return_to_origin';
15347
+ interface CarrierChargeFormOther {
15348
+ readonly discriminator: 'other';
15030
15349
  readonly id: string;
15350
+ readonly reason: io.flow.internal.v0.enums.CarrierChargeOtherReason;
15031
15351
  readonly organization_id: string;
15032
15352
  readonly order_number: string;
15033
15353
  readonly carrier_id: string;
@@ -19041,6 +19361,7 @@ declare namespace io.flow.internal.v0.models {
19041
19361
  interface Fulfillment {
19042
19362
  readonly id: string;
19043
19363
  readonly fulfilled_at: string;
19364
+ readonly owner: io.flow.internal.v0.enums.LogisticsResponsibility;
19044
19365
  readonly currency: string;
19045
19366
  readonly order: io.flow.internal.v0.models.OrderSummary;
19046
19367
  readonly origin?: io.flow.internal.v0.models.FulfillmentOrigin;
@@ -21377,6 +21698,11 @@ declare namespace io.flow.internal.v0.models {
21377
21698
  readonly discriminator: 'no_classification_form';
21378
21699
  readonly harmonization_status: io.flow.internal.v0.enums.ItemHarmonizationStatus;
21379
21700
  }
21701
+ interface NonChannelPaymentBankAccount {
21702
+ readonly payment: io.flow.internal.v0.models.ReportPayment;
21703
+ readonly bank_account: io.flow.internal.v0.models.ReportBankAccount;
21704
+ readonly account: io.flow.internal.v0.models.ReportAccount;
21705
+ }
21380
21706
  interface Notification {
21381
21707
  readonly order: io.flow.internal.v0.models.Decision;
21382
21708
  }
@@ -22628,6 +22954,8 @@ declare namespace io.flow.internal.v0.models {
22628
22954
  readonly status: io.flow.internal.v0.enums.RestrictionStatus;
22629
22955
  readonly matching_positive_keywords: string[];
22630
22956
  readonly matching_negative_keywords: string[];
22957
+ readonly positive_search_matches?: string[];
22958
+ readonly negative_search_matches?: string[];
22631
22959
  readonly updated_by_user_id: string;
22632
22960
  }
22633
22961
  interface ProductRestrictionRuleDecisionDeleted {
@@ -23077,11 +23405,23 @@ declare namespace io.flow.internal.v0.models {
23077
23405
  readonly url?: string;
23078
23406
  readonly processed_at?: string;
23079
23407
  }
23408
+ interface ReportAccount {
23409
+ readonly id: string;
23410
+ readonly source: io.flow.internal.v0.models.AccountSource;
23411
+ }
23412
+ interface ReportBankAccount {
23413
+ readonly id?: string;
23414
+ readonly last4?: string;
23415
+ }
23080
23416
  interface ReportForm {
23081
23417
  readonly from: string;
23082
23418
  readonly to: string;
23083
23419
  readonly type: io.flow.internal.v0.enums.ReportType;
23084
23420
  }
23421
+ interface ReportPayment {
23422
+ readonly id: string;
23423
+ readonly created_at: string;
23424
+ }
23085
23425
  interface ReportRuleDecision {
23086
23426
  readonly rule_id: string;
23087
23427
  readonly rule_name: string;
@@ -23255,6 +23595,8 @@ declare namespace io.flow.internal.v0.models {
23255
23595
  readonly accepted_rules?: string[];
23256
23596
  readonly positive_keywords?: string[];
23257
23597
  readonly negative_keywords?: string[];
23598
+ readonly positive_search_matches?: string[];
23599
+ readonly negative_search_matches?: string[];
23258
23600
  readonly user_ids?: string[];
23259
23601
  readonly categories?: string[];
23260
23602
  readonly product_name_query?: string;
@@ -23493,13 +23835,6 @@ declare namespace io.flow.internal.v0.models {
23493
23835
  readonly duties: io.flow.common.v0.models.PriceWithBase;
23494
23836
  readonly total: io.flow.common.v0.models.PriceWithBase;
23495
23837
  }
23496
- interface ShipperAccountInfoForm {
23497
- readonly account_name?: string;
23498
- readonly account_number: string;
23499
- readonly postal: string;
23500
- readonly country: string;
23501
- readonly invoice_info?: io.flow.internal.v0.models.InvoiceInfoForm;
23502
- }
23503
23838
  interface ShippingLane {
23504
23839
  readonly origin: string;
23505
23840
  readonly destination: string;
@@ -23644,6 +23979,12 @@ declare namespace io.flow.internal.v0.models {
23644
23979
  readonly organization: string;
23645
23980
  readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder;
23646
23981
  }
23982
+ interface ShopifyMarketsOrderVersion {
23983
+ readonly id: string;
23984
+ readonly timestamp: string;
23985
+ readonly type: io.flow.common.v0.enums.ChangeType;
23986
+ readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
23987
+ }
23647
23988
  interface ShopifyMarketsOrdersMetrics {
23648
23989
  readonly id: string;
23649
23990
  readonly range: io.flow.common.v0.models.DatetimeRange;
@@ -24797,6 +25138,7 @@ declare namespace io.flow.internal.v0.models {
24797
25138
  interface TrueupLabelSummary {
24798
25139
  readonly id: string;
24799
25140
  readonly organization: io.flow.common.v0.models.OrganizationReference;
25141
+ readonly order_number: string;
24800
25142
  readonly carrier_id: string;
24801
25143
  readonly carrier_service_id: string;
24802
25144
  readonly carrier_tracking_number: string;
@@ -24856,11 +25198,9 @@ declare namespace io.flow.internal.v0.models {
24856
25198
  }
24857
25199
  interface Ups {
24858
25200
  readonly discriminator: 'ups';
24859
- readonly username: string;
24860
- readonly password: string;
24861
- readonly access_license_number: string;
25201
+ readonly client_id: string;
25202
+ readonly client_secret: string;
24862
25203
  readonly account_number: string;
24863
- readonly direct_feed_location_code?: string;
24864
25204
  }
24865
25205
  interface UsdSpotRate {
24866
25206
  readonly id: string;
@@ -25019,7 +25359,7 @@ declare namespace io.flow.internal.v0.unions {
25019
25359
  type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
25020
25360
  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;
25021
25361
  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;
25022
- type CarrierChargeForm = io.flow.internal.v0.models.CarrierChargeFormLabel | io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin;
25362
+ type CarrierChargeForm = io.flow.internal.v0.models.CarrierChargeFormLabel | io.flow.internal.v0.models.CarrierChargeFormOther;
25023
25363
  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;
25024
25364
  type ChannelRateMetadata = io.flow.internal.v0.models.ChannelRateMetadataIdentity | io.flow.internal.v0.models.ChannelRateMetadataRate;
25025
25365
  type CheckoutAddressBookEdit = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
@@ -25405,7 +25745,8 @@ export declare type CarrierChargeFileForm = io.flow.internal.v0.models.CarrierCh
25405
25745
  export declare type CarrierChargeFileResult = io.flow.internal.v0.models.CarrierChargeFileResult;
25406
25746
  export declare type CarrierChargeForm = io.flow.internal.v0.unions.CarrierChargeForm;
25407
25747
  export declare type CarrierChargeFormLabel = io.flow.internal.v0.models.CarrierChargeFormLabel;
25408
- export declare type CarrierChargeFormReturnToOrigin = io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin;
25748
+ export declare type CarrierChargeFormOther = io.flow.internal.v0.models.CarrierChargeFormOther;
25749
+ export declare type CarrierChargeOtherReason = io.flow.internal.v0.enums.CarrierChargeOtherReason;
25409
25750
  export declare type CarrierChargeUnits = io.flow.internal.v0.models.CarrierChargeUnits;
25410
25751
  export declare type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
25411
25752
  export declare type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
@@ -26636,6 +26977,7 @@ export declare type LocalizedPriceBookItemData = io.flow.internal.v0.models.Loca
26636
26977
  export declare type LocalizedPriceBookItemDeleted = io.flow.internal.v0.models.LocalizedPriceBookItemDeleted;
26637
26978
  export declare type LocalizedPriceBookItemUpserted = io.flow.internal.v0.models.LocalizedPriceBookItemUpserted;
26638
26979
  export declare type Location = io.flow.internal.v0.models.Location;
26980
+ export declare type LogisticsResponsibility = io.flow.internal.v0.enums.LogisticsResponsibility;
26639
26981
  export declare type Logo = io.flow.internal.v0.models.Logo;
26640
26982
  export declare type LoyaltyProgram = io.flow.internal.v0.models.LoyaltyProgram;
26641
26983
  export declare type LoyaltyProgramMessage = io.flow.internal.v0.models.LoyaltyProgramMessage;
@@ -26733,6 +27075,7 @@ export declare type NextBillingStatement = io.flow.internal.v0.models.NextBillin
26733
27075
  export declare type NoCalculatedTaxAmount = io.flow.internal.v0.models.NoCalculatedTaxAmount;
26734
27076
  export declare type NoClassificationForm = io.flow.internal.v0.models.NoClassificationForm;
26735
27077
  export declare type NoLiabilityReasonCode = io.flow.internal.v0.enums.NoLiabilityReasonCode;
27078
+ export declare type NonChannelPaymentBankAccount = io.flow.internal.v0.models.NonChannelPaymentBankAccount;
26736
27079
  export declare type Notification = io.flow.internal.v0.models.Notification;
26737
27080
  export declare type OnboardingAuditMessage = io.flow.internal.v0.models.OnboardingAuditMessage;
26738
27081
  export declare type OnboardingAuditMessageLevel = io.flow.internal.v0.enums.OnboardingAuditMessageLevel;
@@ -27046,8 +27389,11 @@ export declare type RegisteredExporterTariffEligibilityData = io.flow.internal.v
27046
27389
  export declare type RegisteredExporterTariffEligibilityForm = io.flow.internal.v0.models.RegisteredExporterTariffEligibilityForm;
27047
27390
  export declare type RejectionReason = io.flow.internal.v0.enums.RejectionReason;
27048
27391
  export declare type Report = io.flow.internal.v0.models.Report;
27392
+ export declare type ReportAccount = io.flow.internal.v0.models.ReportAccount;
27393
+ export declare type ReportBankAccount = io.flow.internal.v0.models.ReportBankAccount;
27049
27394
  export declare type ReportForm = io.flow.internal.v0.models.ReportForm;
27050
27395
  export declare type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
27396
+ export declare type ReportPayment = io.flow.internal.v0.models.ReportPayment;
27051
27397
  export declare type ReportRuleDecision = io.flow.internal.v0.models.ReportRuleDecision;
27052
27398
  export declare type ReportStatus = io.flow.internal.v0.enums.ReportStatus;
27053
27399
  export declare type ReportSummary = io.flow.internal.v0.models.ReportSummary;
@@ -27129,7 +27475,6 @@ export declare type SessionRolloutForm = io.flow.internal.v0.models.SessionRollo
27129
27475
  export declare type SetupBlockPutForm = io.flow.internal.v0.models.SetupBlockPutForm;
27130
27476
  export declare type SfExpress = io.flow.internal.v0.models.SfExpress;
27131
27477
  export declare type ShippedItemValue = io.flow.internal.v0.models.ShippedItemValue;
27132
- export declare type ShipperAccountInfoForm = io.flow.internal.v0.models.ShipperAccountInfoForm;
27133
27478
  export declare type ShippingLane = io.flow.internal.v0.models.ShippingLane;
27134
27479
  export declare type ShippingMethodReference = io.flow.internal.v0.models.ShippingMethodReference;
27135
27480
  export declare type Shop = io.flow.internal.v0.models.Shop;
@@ -27163,6 +27508,7 @@ export declare type ShopifyMarketsMetricsUpserted = io.flow.internal.v0.models.S
27163
27508
  export declare type ShopifyMarketsOrder = io.flow.internal.v0.models.ShopifyMarketsOrder;
27164
27509
  export declare type ShopifyMarketsOrderDeleted = io.flow.internal.v0.models.ShopifyMarketsOrderDeleted;
27165
27510
  export declare type ShopifyMarketsOrderUpserted = io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
27511
+ export declare type ShopifyMarketsOrderVersion = io.flow.internal.v0.models.ShopifyMarketsOrderVersion;
27166
27512
  export declare type ShopifyMarketsOrdersMetrics = io.flow.internal.v0.models.ShopifyMarketsOrdersMetrics;
27167
27513
  export declare type ShopifyMarketsQueuedRecord = io.flow.internal.v0.models.ShopifyMarketsQueuedRecord;
27168
27514
  export declare type ShopifyMarketsQueuedRecordType = io.flow.internal.v0.enums.ShopifyMarketsQueuedRecordType;