@flowio/types 11.24.132 → 11.24.135

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/src/api.ts CHANGED
@@ -2177,7 +2177,7 @@ declare namespace io.flow.shopify.external.v0.models {
2177
2177
  readonly id: string;
2178
2178
  readonly legacyResourceId: string;
2179
2179
  readonly handle: string;
2180
- readonly variants?: io.flow.shopify.external.v0.models.GraphqlProductVariant[];
2180
+ readonly variants: io.flow.shopify.external.v0.models.GraphqlProductVariant[];
2181
2181
  readonly images: io.flow.shopify.external.v0.models.GraphqlProductImage[];
2182
2182
  readonly title: string;
2183
2183
  readonly vendor?: string;
@@ -2323,7 +2323,7 @@ declare namespace io.flow.shopify.external.v0.models {
2323
2323
  interface Product {
2324
2324
  readonly id: number;
2325
2325
  readonly handle: string;
2326
- readonly variants?: io.flow.shopify.external.v0.models.ProductVariant[];
2326
+ readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
2327
2327
  readonly images: io.flow.shopify.external.v0.models.ProductImage[];
2328
2328
  readonly title: string;
2329
2329
  readonly vendor?: string;
@@ -2523,7 +2523,7 @@ declare namespace io.flow.shopify.external.v0.models {
2523
2523
  }
2524
2524
 
2525
2525
  interface ShopifyClientDetail {
2526
- readonly accept_language?: boolean;
2526
+ readonly accept_language: boolean;
2527
2527
  readonly browser_height?: number;
2528
2528
  readonly browser_ip?: string;
2529
2529
  readonly browser_width?: number;
@@ -2544,7 +2544,7 @@ declare namespace io.flow.shopify.external.v0.models {
2544
2544
  readonly tax_exempt: boolean;
2545
2545
  readonly verified_email: boolean;
2546
2546
  readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
2547
- readonly accepts_marketing?: boolean;
2547
+ readonly accepts_marketing: boolean;
2548
2548
  readonly default_address?: any /*object*/;
2549
2549
  readonly email?: string;
2550
2550
  readonly first_name?: string;
@@ -2623,7 +2623,7 @@ declare namespace io.flow.shopify.external.v0.models {
2623
2623
  readonly requires_shipping: boolean;
2624
2624
  readonly currency?: string;
2625
2625
  readonly items: io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
2626
- readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
2626
+ readonly cart_level_discount_applications: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
2627
2627
  }
2628
2628
 
2629
2629
  interface ShopifyExternalCartItem {
@@ -2638,7 +2638,7 @@ declare namespace io.flow.shopify.external.v0.models {
2638
2638
  readonly original_line_price: number;
2639
2639
  readonly total_discount: number;
2640
2640
  readonly discounted_price: number;
2641
- readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
2641
+ readonly discounts: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
2642
2642
  readonly taxable: boolean;
2643
2643
  readonly quantity: number;
2644
2644
  readonly sku?: string;
@@ -2656,8 +2656,8 @@ declare namespace io.flow.shopify.external.v0.models {
2656
2656
  readonly product_description?: string;
2657
2657
  readonly product_type: string;
2658
2658
  readonly variant_title?: string;
2659
- readonly variant_options?: string[];
2660
- readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
2659
+ readonly variant_options: string[];
2660
+ readonly line_level_discount_allocations: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
2661
2661
  }
2662
2662
 
2663
2663
  interface ShopifyFulfillment {
@@ -2908,7 +2908,7 @@ declare namespace io.flow.shopify.external.v0.models {
2908
2908
  readonly gateway?: string;
2909
2909
  readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
2910
2910
  readonly send_receipt?: boolean;
2911
- readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
2911
+ readonly metafields: io.flow.shopify.external.v0.models.MetafieldForm[];
2912
2912
  }
2913
2913
 
2914
2914
  interface ShopifyOrderCount {
@@ -3051,7 +3051,7 @@ declare namespace io.flow.shopify.external.v0.models {
3051
3051
 
3052
3052
  interface ShopifyWebhookOrder {
3053
3053
  readonly id?: number;
3054
- readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
3054
+ readonly line_items: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
3055
3055
  }
3056
3056
 
3057
3057
  interface ShopifyWebhookOrderCancelled {
@@ -3430,7 +3430,7 @@ declare namespace io.flow.common.v0.models {
3430
3430
 
3431
3431
  interface DiscountForm {
3432
3432
  readonly offer: io.flow.common.v0.unions.DiscountOffer;
3433
- readonly target?: io.flow.common.v0.enums.DiscountTarget;
3433
+ readonly target: io.flow.common.v0.enums.DiscountTarget;
3434
3434
  readonly label?: string;
3435
3435
  }
3436
3436
 
@@ -3522,6 +3522,7 @@ declare namespace io.flow.common.v0.models {
3522
3522
  interface LineItemForm {
3523
3523
  readonly number: string;
3524
3524
  readonly quantity: number;
3525
+ readonly line_item_identifier?: string;
3525
3526
  readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
3526
3527
  readonly price?: io.flow.common.v0.models.Money;
3527
3528
  readonly attributes?: Record<string, string>;
@@ -3631,7 +3632,7 @@ declare namespace io.flow.common.v0.models {
3631
3632
  readonly parent?: io.flow.common.v0.models.OrganizationReference;
3632
3633
  readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
3633
3634
  readonly created_at?: string;
3634
- readonly status?: io.flow.common.v0.enums.OrganizationStatus;
3635
+ readonly status: io.flow.common.v0.enums.OrganizationStatus;
3635
3636
  readonly type?: io.flow.common.v0.enums.OrganizationType;
3636
3637
  }
3637
3638
 
@@ -3978,6 +3979,69 @@ declare namespace io.flow.apple.pay.v0.models {
3978
3979
  }
3979
3980
  }
3980
3981
 
3982
+ declare namespace io.flow.tech.onboarding.playground.v0.enums {
3983
+ type AmruthaItemType = 'physical' | 'digital';
3984
+ type ChenglinItemType = 'physical' | 'digital';
3985
+ type GabrielItemType = 'physical' | 'digital';
3986
+ }
3987
+
3988
+ declare namespace io.flow.tech.onboarding.playground.v0.models {
3989
+ interface AmruthaItem {
3990
+ readonly id: string;
3991
+ readonly number: string;
3992
+ readonly amount: io.flow.common.v0.models.Price;
3993
+ readonly description?: string;
3994
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AmruthaItemType;
3995
+ readonly added_on: string;
3996
+ }
3997
+
3998
+ interface AmruthaItemForm {
3999
+ readonly number: string;
4000
+ readonly amount: io.flow.common.v0.models.Price;
4001
+ readonly description?: string;
4002
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AmruthaItemType;
4003
+ readonly added_on: string;
4004
+ }
4005
+
4006
+ interface ChenglinItem {
4007
+ readonly id: string;
4008
+ readonly number: string;
4009
+ readonly amount: io.flow.common.v0.models.Price;
4010
+ readonly description?: string;
4011
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.GabrielItemType;
4012
+ readonly added_on: string;
4013
+ }
4014
+
4015
+ interface ChenglinItemForm {
4016
+ readonly number: string;
4017
+ readonly amount: io.flow.common.v0.models.Price;
4018
+ readonly description?: string;
4019
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.GabrielItemType;
4020
+ readonly added_on: string;
4021
+ }
4022
+
4023
+ interface GabrielItem {
4024
+ readonly id: string;
4025
+ readonly number: string;
4026
+ readonly amount: io.flow.common.v0.models.Price;
4027
+ readonly description?: string;
4028
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.GabrielItemType;
4029
+ readonly added_on: string;
4030
+ }
4031
+
4032
+ interface GabrielItemForm {
4033
+ readonly number: string;
4034
+ readonly amount: io.flow.common.v0.models.Price;
4035
+ readonly description?: string;
4036
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.GabrielItemType;
4037
+ readonly added_on: string;
4038
+ }
4039
+
4040
+ interface TechOnboardingDescription {
4041
+ readonly description: string;
4042
+ }
4043
+ }
4044
+
3981
4045
  declare namespace io.flow.product.v0.models {
3982
4046
  interface Product {
3983
4047
  readonly organization_id: string;
@@ -4014,6 +4078,12 @@ declare namespace io.flow.ben.test.internal.v0.models {
4014
4078
  readonly num_events: number;
4015
4079
  }
4016
4080
 
4081
+ interface GenerateLoadRate {
4082
+ readonly organization_ids: string[];
4083
+ readonly events_per_second: number;
4084
+ readonly duration_seconds: number;
4085
+ }
4086
+
4017
4087
  interface GenerateLoadSingleOrg {
4018
4088
  readonly discriminator: 'generate_load_single_org';
4019
4089
  readonly organization_id: string;
@@ -4253,6 +4323,8 @@ declare namespace io.flow.v0.enums {
4253
4323
  type EventType =
4254
4324
  | 'test_upserted'
4255
4325
  | 'generate_load'
4326
+ | 'amrutha_item_upserted'
4327
+ | 'amrutha_item_deleted'
4256
4328
  | 'transaction_upserted'
4257
4329
  | 'organization_transaction_upserted'
4258
4330
  | 'organization_transaction_deleted'
@@ -4313,6 +4385,8 @@ declare namespace io.flow.v0.enums {
4313
4385
  | 'order_upserted_v2'
4314
4386
  | 'order_identifier_deleted_v2'
4315
4387
  | 'order_identifier_upserted_v3'
4388
+ | 'order_state_upserted'
4389
+ | 'order_state_deleted'
4316
4390
  | 'fraud_status_changed'
4317
4391
  | 'center_upserted'
4318
4392
  | 'center_deleted'
@@ -4337,6 +4411,8 @@ declare namespace io.flow.v0.enums {
4337
4411
  | 'item_origin_deleted'
4338
4412
  | 'harmonized_landed_cost_upserted'
4339
4413
  | 'fully_harmonized_item_upserted'
4414
+ | 'tariff_codes_upserted'
4415
+ | 'tariff_codes_deleted'
4340
4416
  | 'label_deleted_v2'
4341
4417
  | 'label_upserted_v2'
4342
4418
  | 'notification_upserted_v2'
@@ -4436,7 +4512,8 @@ declare namespace io.flow.v0.enums {
4436
4512
  | 'rate_lock'
4437
4513
  | 'transfer'
4438
4514
  | 'negative_balance_guarantee'
4439
- | 'sp';
4515
+ | 'sp'
4516
+ | 'rev_share';
4440
4517
  type FlowBehavior = 'view_consumer_data';
4441
4518
  type FlowEntity =
4442
4519
  | 'flow-usa'
@@ -4522,7 +4599,8 @@ declare namespace io.flow.v0.enums {
4522
4599
  | 'partner_api_sync'
4523
4600
  | 'notification_requiring_crossdock'
4524
4601
  | 'flow_simulation_sync'
4525
- | 'autogenerated';
4602
+ | 'autogenerated'
4603
+ | 'legacy_shopify_graphql_server';
4526
4604
  type LabelTriggerMethod = 'autogenerated' | 'on_demand';
4527
4605
  type LaneDirection = 'outbound' | 'return';
4528
4606
  type LanePreselectPreference = 'lowest_cost' | 'default_tier';
@@ -4683,6 +4761,7 @@ declare namespace io.flow.v0.enums {
4683
4761
  | 'for_order'
4684
4762
  | 'by_value_percentage'
4685
4763
  | 'by_quantity_percentage';
4764
+ type OrderStateStatus = 'pending' | 'accepted' | 'rejected';
4686
4765
  type OrderStatus = 'open' | 'submitted';
4687
4766
  type OrderStorage = 'do_not_persist' | 'persist';
4688
4767
  type OrderType = 'standard' | 'replacement' | 'edit';
@@ -4936,7 +5015,13 @@ declare namespace io.flow.v0.enums {
4936
5015
  | 'wait_for_high_fidelity'
4937
5016
  | 'external_service_unavailable';
4938
5017
  type SellabilityRequestStatus = 'commit';
4939
- type SellabilityResultErrorCode = 'insufficient_details' | 'generic_error';
5018
+ type SellabilityResultErrorCode =
5019
+ | 'insufficient_details'
5020
+ | 'ineligible_category'
5021
+ | 'wait_for_high_fidelity'
5022
+ | 'external_service_unavailable'
5023
+ | 'generic_error'
5024
+ | 'catalog_processing_threshold';
4940
5025
  type SellabilityResultStatus = 'in_review' | 'succeeded' | 'failed';
4941
5026
  type SellabilityScreeningMode = 'pre_onboarding' | 'default_on' | 'active';
4942
5027
  type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
@@ -5046,7 +5131,8 @@ declare namespace io.flow.v0.enums {
5046
5131
  | 'order_cancellation_above_de_min'
5047
5132
  | 'wyol_shipment_above_de_min'
5048
5133
  | 'full_refund_without_shipment'
5049
- | 'unfulfilled_order_above_de_min';
5134
+ | 'unfulfilled_order_above_de_min'
5135
+ | 'order_cancellation_without_capture';
5050
5136
  type TaxJurisdictionType = 'country' | 'province';
5051
5137
  type TaxReportType = 'consumer' | 'b2b';
5052
5138
  type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax';
@@ -5115,7 +5201,8 @@ declare namespace io.flow.v0.enums {
5115
5201
  | 'ge_revenue_share'
5116
5202
  | 'merchant_fee'
5117
5203
  | 'b2b_tax'
5118
- | 'b2b_tax_refund';
5204
+ | 'b2b_tax_refund'
5205
+ | 'b2b_fee_mor_tax';
5119
5206
  type TransferStatus = 'succeeded' | 'canceled';
5120
5207
  type TransferType =
5121
5208
  | 'payout_to_merchant'
@@ -5623,6 +5710,20 @@ declare namespace io.flow.v0.models {
5623
5710
  readonly margin: io.flow.v0.models.Money;
5624
5711
  }
5625
5712
 
5713
+ interface AmruthaItemDeleted {
5714
+ readonly discriminator: 'amrutha_item_deleted';
5715
+ readonly event_id: string;
5716
+ readonly timestamp: string;
5717
+ readonly id: string;
5718
+ }
5719
+
5720
+ interface AmruthaItemUpserted {
5721
+ readonly discriminator: 'amrutha_item_upserted';
5722
+ readonly event_id: string;
5723
+ readonly timestamp: string;
5724
+ readonly item: io.flow.tech.onboarding.playground.v0.models.AmruthaItem;
5725
+ }
5726
+
5626
5727
  interface AnalyticsExportType {
5627
5728
  readonly discriminator: 'analytics_export_type';
5628
5729
  readonly from?: string;
@@ -5925,6 +6026,7 @@ declare namespace io.flow.v0.models {
5925
6026
  readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
5926
6027
  readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference;
5927
6028
  readonly order?: io.flow.v0.models.ConsumerInvoiceOrderSummary;
6029
+ readonly voids_b2b_invoice?: boolean;
5928
6030
  }
5929
6031
 
5930
6032
  interface B2BCreditMemoDeleted {
@@ -7010,7 +7112,6 @@ declare namespace io.flow.v0.models {
7010
7112
  readonly beneficiary_details?: io.flow.v0.models.MerchantOnboardingBeneficiaryDetails;
7011
7113
  readonly other_trade_sector?: string;
7012
7114
  readonly center_contact?: io.flow.v0.models.OperationsContact;
7013
- readonly center_address?: io.flow.v0.models.Address;
7014
7115
  readonly average_order_weight?: number;
7015
7116
  readonly average_order_weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
7016
7117
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
@@ -7018,6 +7119,7 @@ declare namespace io.flow.v0.models {
7018
7119
  readonly default_country_of_origin?: string;
7019
7120
  readonly rate_card: string;
7020
7121
  readonly shop?: io.flow.v0.models.Shop;
7122
+ readonly settlement_currency?: string;
7021
7123
  readonly created_at: string;
7022
7124
  readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
7023
7125
  readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
@@ -7038,7 +7140,6 @@ declare namespace io.flow.v0.models {
7038
7140
  readonly beneficiary_details?: io.flow.v0.models.MerchantOnboardingBeneficiaryDetails;
7039
7141
  readonly other_trade_sector?: string;
7040
7142
  readonly center_contact?: io.flow.v0.models.OperationsContact;
7041
- readonly center_address?: io.flow.v0.models.Address;
7042
7143
  readonly average_order_weight?: number;
7043
7144
  readonly average_order_weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
7044
7145
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
@@ -7047,6 +7148,7 @@ declare namespace io.flow.v0.models {
7047
7148
  readonly monthly_average_number_transactions?: number;
7048
7149
  readonly default_country_of_origin?: string;
7049
7150
  readonly shop?: io.flow.v0.models.Shop;
7151
+ readonly settlement_currency?: string;
7050
7152
  readonly rate_card?: string;
7051
7153
  readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
7052
7154
  readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
@@ -8884,6 +8986,11 @@ declare namespace io.flow.v0.models {
8884
8986
  readonly sort?: string;
8885
8987
  }
8886
8988
 
8989
+ interface HarmonizationTariffCode {
8990
+ readonly tariff_code: string;
8991
+ readonly destination: string;
8992
+ }
8993
+
8887
8994
  interface HarmonizationTariffCodesExportType {
8888
8995
  readonly discriminator: 'harmonization_tariff_codes_export_type';
8889
8996
  readonly sort?: string;
@@ -10273,6 +10380,7 @@ declare namespace io.flow.v0.models {
10273
10380
  readonly company?: string;
10274
10381
  readonly email?: string;
10275
10382
  readonly phone?: string;
10383
+ readonly address?: io.flow.v0.models.Address;
10276
10384
  }
10277
10385
 
10278
10386
  interface OptionWeightEstimates {
@@ -10745,6 +10853,48 @@ declare namespace io.flow.v0.models {
10745
10853
  readonly filename?: string;
10746
10854
  }
10747
10855
 
10856
+ interface OrderState {
10857
+ readonly id: string;
10858
+ readonly order_number: string;
10859
+ readonly external_order_reference: string;
10860
+ readonly payment_requests: io.flow.v0.models.PaymentRequestReference[];
10861
+ readonly status: io.flow.v0.enums.OrderStateStatus;
10862
+ readonly rejection_reasons?: io.flow.v0.unions.OrderStateRejectionReason[];
10863
+ }
10864
+
10865
+ interface OrderStateDeleted {
10866
+ readonly discriminator: 'order_state_deleted';
10867
+ readonly event_id: string;
10868
+ readonly timestamp: string;
10869
+ readonly organization: string;
10870
+ readonly channel_id: string;
10871
+ readonly id: string;
10872
+ }
10873
+
10874
+ interface OrderStateRejectionReasonDomesticOrder {
10875
+ readonly discriminator: 'order_state_rejection_reason_domestic_order';
10876
+ readonly destination_address: io.flow.v0.models.Address;
10877
+ }
10878
+
10879
+ interface OrderStateRejectionReasonItemsEmpty {
10880
+ readonly discriminator: 'order_state_rejection_reason_items_empty';
10881
+ readonly line_items: string[];
10882
+ }
10883
+
10884
+ interface OrderStateRejectionReasonRestrictedItem {
10885
+ readonly discriminator: 'order_state_rejection_reason_restricted_item';
10886
+ readonly item_numbers: string[];
10887
+ }
10888
+
10889
+ interface OrderStateUpserted {
10890
+ readonly discriminator: 'order_state_upserted';
10891
+ readonly event_id: string;
10892
+ readonly timestamp: string;
10893
+ readonly organization: string;
10894
+ readonly channel_id: string;
10895
+ readonly order_state: io.flow.v0.models.OrderState;
10896
+ }
10897
+
10748
10898
  interface OrderSubmissionForm {
10749
10899
  readonly identifiers?: io.flow.v0.models.OrderSubmissionIdentifierForm[];
10750
10900
  }
@@ -12376,6 +12526,10 @@ declare namespace io.flow.v0.models {
12376
12526
  readonly hs_code?: string;
12377
12527
  readonly restricted_regions_by_type?: io.flow.v0.models.SellabilityRegionResult[];
12378
12528
  readonly needs_action_attributes?: io.flow.v0.models.NeedsActionAttributes[];
12529
+ readonly fingerprint?: string;
12530
+ readonly restriction_created_at?: string;
12531
+ readonly first_reviewed_at?: string;
12532
+ readonly seconds_to_first_review?: number;
12379
12533
  }
12380
12534
 
12381
12535
  interface ProductRestrictionResultDeleted {
@@ -12416,6 +12570,7 @@ declare namespace io.flow.v0.models {
12416
12570
  }
12417
12571
 
12418
12572
  interface ProductSellabilityResult {
12573
+ readonly id: string;
12419
12574
  readonly merchant_id?: string;
12420
12575
  readonly product_id: string;
12421
12576
  readonly restricted_regions: io.flow.v0.models.SellabilityRestrictedRegion[];
@@ -12429,7 +12584,9 @@ declare namespace io.flow.v0.models {
12429
12584
  readonly discriminator: 'product_sellability_result_deleted';
12430
12585
  readonly event_id: string;
12431
12586
  readonly timestamp: string;
12432
- readonly organization: string;
12587
+ readonly organization?: string;
12588
+ readonly merchant?: string;
12589
+ readonly channel_id?: string;
12433
12590
  readonly id: string;
12434
12591
  }
12435
12592
 
@@ -12437,7 +12594,9 @@ declare namespace io.flow.v0.models {
12437
12594
  readonly discriminator: 'product_sellability_result_upserted';
12438
12595
  readonly event_id: string;
12439
12596
  readonly timestamp: string;
12440
- readonly organization: string;
12597
+ readonly organization?: string;
12598
+ readonly merchant?: string;
12599
+ readonly channel_id?: string;
12441
12600
  readonly product_sellability_result: io.flow.v0.models.ProductSellabilityResult;
12442
12601
  }
12443
12602
 
@@ -12667,6 +12826,12 @@ declare namespace io.flow.v0.models {
12667
12826
  readonly name: string;
12668
12827
  }
12669
12828
 
12829
+ interface RatecardData {
12830
+ readonly dhlParcelDistributionCenter?: string;
12831
+ readonly glbeRatecardMetadataLaneIdentifier?: string;
12832
+ readonly pickupCenter?: string;
12833
+ }
12834
+
12670
12835
  interface RatecardDeleted {
12671
12836
  readonly discriminator: 'ratecard_deleted';
12672
12837
  readonly event_id: string;
@@ -12767,7 +12932,7 @@ declare namespace io.flow.v0.models {
12767
12932
  readonly glbe_shipping_method_id?: string;
12768
12933
  readonly glbe_proposition_name?: string;
12769
12934
  readonly channel_revenue_share_percentage?: number;
12770
- readonly data?: Record<string, string>;
12935
+ readonly data?: io.flow.v0.models.RatecardData;
12771
12936
  }
12772
12937
 
12773
12938
  interface RatecardLane {
@@ -13403,12 +13568,14 @@ declare namespace io.flow.v0.models {
13403
13568
  interface SellabilityNeedsActionAttributes {
13404
13569
  readonly reason_code: string;
13405
13570
  readonly category_metafield_handles: string[];
13571
+ readonly category_metafield_ids: string[];
13406
13572
  readonly require_msds?: boolean;
13407
13573
  }
13408
13574
 
13409
13575
  interface SellabilityReasonWithRegions {
13410
13576
  readonly reason: string;
13411
13577
  readonly regions: string[];
13578
+ readonly review_status?: string;
13412
13579
  }
13413
13580
 
13414
13581
  interface SellabilityRegionResult {
@@ -14123,6 +14290,7 @@ declare namespace io.flow.v0.models {
14123
14290
  readonly activated_at?: string;
14124
14291
  readonly status_updated_at?: string;
14125
14292
  readonly shop?: io.flow.v0.models.Shop;
14293
+ readonly settlement_currency?: string;
14126
14294
  readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
14127
14295
  readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
14128
14296
  readonly average_order_value?: io.flow.v0.models.Money;
@@ -14156,6 +14324,7 @@ declare namespace io.flow.v0.models {
14156
14324
  readonly ratecard_id?: string;
14157
14325
  readonly rate_card: string;
14158
14326
  readonly shop?: io.flow.v0.models.Shop;
14327
+ readonly settlement_currency?: string;
14159
14328
  readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
14160
14329
  readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
14161
14330
  readonly average_order_value?: io.flow.v0.models.Money;
@@ -14459,6 +14628,29 @@ declare namespace io.flow.v0.models {
14459
14628
  readonly available: io.flow.v0.models.SurchargeResponsiblePartyDisplay[];
14460
14629
  }
14461
14630
 
14631
+ interface TariffCodes {
14632
+ readonly item_number: string;
14633
+ readonly product_id: string;
14634
+ readonly hs6_code: string;
14635
+ readonly codes: io.flow.v0.models.HarmonizationTariffCode[];
14636
+ }
14637
+
14638
+ interface TariffCodesDeleted {
14639
+ readonly discriminator: 'tariff_codes_deleted';
14640
+ readonly event_id: string;
14641
+ readonly timestamp: string;
14642
+ readonly organization: string;
14643
+ readonly id: string;
14644
+ }
14645
+
14646
+ interface TariffCodesUpserted {
14647
+ readonly discriminator: 'tariff_codes_upserted';
14648
+ readonly event_id: string;
14649
+ readonly timestamp: string;
14650
+ readonly organization: string;
14651
+ readonly tariff_codes: io.flow.v0.models.TariffCodes;
14652
+ }
14653
+
14462
14654
  interface Tax {
14463
14655
  readonly name: string;
14464
14656
  readonly rate: number;
@@ -14612,6 +14804,8 @@ declare namespace io.flow.v0.models {
14612
14804
  readonly discriminator: 'test_upserted';
14613
14805
  readonly event_id: string;
14614
14806
  readonly timestamp: string;
14807
+ readonly organization: string;
14808
+ readonly channel_id: string;
14615
14809
  readonly test: io.flow.ben.test.internal.v0.models.Test;
14616
14810
  }
14617
14811
 
@@ -15000,7 +15194,7 @@ declare namespace io.flow.v0.models {
15000
15194
  readonly label_created_at: string;
15001
15195
  readonly carrier_id: string;
15002
15196
  readonly carrier_tracking_number: string;
15003
- readonly revenue_share_percentage: number;
15197
+ readonly revenue_share_percentage?: number;
15004
15198
  readonly outbound?: io.flow.v0.models.TransactionMetadataOutboundTransaction;
15005
15199
  }
15006
15200
 
@@ -15040,6 +15234,19 @@ declare namespace io.flow.v0.models {
15040
15234
  readonly description: string;
15041
15235
  readonly original?: io.flow.v0.models.TransactionMetadataOriginalTransaction;
15042
15236
  readonly url?: string;
15237
+ readonly recoup?: boolean;
15238
+ }
15239
+
15240
+ interface TransactionMetadataMerchantFee {
15241
+ readonly discriminator: 'merchant_fee';
15242
+ readonly items: io.flow.v0.models.TransactionMetadataMerchantFeeItem[];
15243
+ }
15244
+
15245
+ interface TransactionMetadataMerchantFeeItem {
15246
+ readonly type: string;
15247
+ readonly amount: number;
15248
+ readonly local_amount?: number;
15249
+ readonly description?: string;
15043
15250
  }
15044
15251
 
15045
15252
  interface TransactionMetadataOriginalTransaction {
@@ -15566,6 +15773,8 @@ declare namespace io.flow.v0.unions {
15566
15773
  type Event =
15567
15774
  | io.flow.v0.models.TestUpserted
15568
15775
  | io.flow.v0.models.GenerateLoad
15776
+ | io.flow.v0.models.AmruthaItemUpserted
15777
+ | io.flow.v0.models.AmruthaItemDeleted
15569
15778
  | io.flow.v0.models.TransactionUpserted
15570
15779
  | io.flow.v0.models.OrganizationTransactionUpserted
15571
15780
  | io.flow.v0.models.OrganizationTransactionDeleted
@@ -15626,6 +15835,8 @@ declare namespace io.flow.v0.unions {
15626
15835
  | io.flow.v0.models.OrderUpsertedV2
15627
15836
  | io.flow.v0.models.OrderIdentifierDeletedV2
15628
15837
  | io.flow.v0.models.OrderIdentifierUpsertedV3
15838
+ | io.flow.v0.models.OrderStateUpserted
15839
+ | io.flow.v0.models.OrderStateDeleted
15629
15840
  | io.flow.v0.models.FraudStatusChanged
15630
15841
  | io.flow.v0.models.CenterUpserted
15631
15842
  | io.flow.v0.models.CenterDeleted
@@ -15650,6 +15861,8 @@ declare namespace io.flow.v0.unions {
15650
15861
  | io.flow.v0.models.ItemOriginDeleted
15651
15862
  | io.flow.v0.models.HarmonizedLandedCostUpserted
15652
15863
  | io.flow.v0.models.FullyHarmonizedItemUpserted
15864
+ | io.flow.v0.models.TariffCodesUpserted
15865
+ | io.flow.v0.models.TariffCodesDeleted
15653
15866
  | io.flow.v0.models.LabelDeletedV2
15654
15867
  | io.flow.v0.models.LabelUpsertedV2
15655
15868
  | io.flow.v0.models.NotificationUpsertedV2
@@ -15847,6 +16060,10 @@ declare namespace io.flow.v0.unions {
15847
16060
  type OrderRefundSummaryForm =
15848
16061
  | io.flow.v0.models.OrderRefundSummaryFullForm
15849
16062
  | io.flow.v0.models.OrderRefundSummaryPartialForm;
16063
+ type OrderStateRejectionReason =
16064
+ | io.flow.v0.models.OrderStateRejectionReasonRestrictedItem
16065
+ | io.flow.v0.models.OrderStateRejectionReasonDomesticOrder
16066
+ | io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
15850
16067
  type PartnerCenterFee =
15851
16068
  | io.flow.v0.models.CommercialInvoiceFee
15852
16069
  | io.flow.v0.models.InboundCartonFee
@@ -16062,7 +16279,8 @@ declare namespace io.flow.v0.unions {
16062
16279
  | io.flow.v0.models.TransactionMetadataManual
16063
16280
  | io.flow.v0.models.TransactionMetadataFailedPayout
16064
16281
  | io.flow.v0.models.TransactionMetadataPaymentTransaction
16065
- | io.flow.v0.models.TransactionMetadataTaxDuty;
16282
+ | io.flow.v0.models.TransactionMetadataTaxDuty
16283
+ | io.flow.v0.models.TransactionMetadataMerchantFee;
16066
16284
  type TransferReference =
16067
16285
  | io.flow.v0.models.CaptureReference
16068
16286
  | io.flow.v0.models.RefundReference
@@ -16162,6 +16380,8 @@ export type AllocationUpsertedV2 = io.flow.v0.models.AllocationUpsertedV2;
16162
16380
  export type AllocationV2 = io.flow.v0.models.AllocationV2;
16163
16381
  export type AmountMargin = io.flow.v0.models.AmountMargin;
16164
16382
  export type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
16383
+ export type AmruthaItemDeleted = io.flow.v0.models.AmruthaItemDeleted;
16384
+ export type AmruthaItemUpserted = io.flow.v0.models.AmruthaItemUpserted;
16165
16385
  export type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
16166
16386
  export type ApplePayMerchantValidationPayload =
16167
16387
  io.flow.v0.models.ApplePayMerchantValidationPayload;
@@ -16901,6 +17121,7 @@ export type HarmonizationHs6ExportType =
16901
17121
  io.flow.v0.models.HarmonizationHs6ExportType;
16902
17122
  export type HarmonizationOverviewExportType =
16903
17123
  io.flow.v0.models.HarmonizationOverviewExportType;
17124
+ export type HarmonizationTariffCode = io.flow.v0.models.HarmonizationTariffCode;
16904
17125
  export type HarmonizationTariffCodesExportType =
16905
17126
  io.flow.v0.models.HarmonizationTariffCodesExportType;
16906
17127
  export type HarmonizedCategoryReference =
@@ -17292,6 +17513,18 @@ export type OrderServiceChange = io.flow.v0.models.OrderServiceChange;
17292
17513
  export type OrderServiceChangeForm = io.flow.v0.models.OrderServiceChangeForm;
17293
17514
  export type OrderServiceChangeRequestData =
17294
17515
  io.flow.v0.models.OrderServiceChangeRequestData;
17516
+ export type OrderState = io.flow.v0.models.OrderState;
17517
+ export type OrderStateDeleted = io.flow.v0.models.OrderStateDeleted;
17518
+ export type OrderStateRejectionReason =
17519
+ io.flow.v0.unions.OrderStateRejectionReason;
17520
+ export type OrderStateRejectionReasonDomesticOrder =
17521
+ io.flow.v0.models.OrderStateRejectionReasonDomesticOrder;
17522
+ export type OrderStateRejectionReasonItemsEmpty =
17523
+ io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
17524
+ export type OrderStateRejectionReasonRestrictedItem =
17525
+ io.flow.v0.models.OrderStateRejectionReasonRestrictedItem;
17526
+ export type OrderStateStatus = io.flow.v0.enums.OrderStateStatus;
17527
+ export type OrderStateUpserted = io.flow.v0.models.OrderStateUpserted;
17295
17528
  export type OrderStatus = io.flow.v0.enums.OrderStatus;
17296
17529
  export type OrderStorage = io.flow.v0.enums.OrderStorage;
17297
17530
  export type OrderSubmissionForm = io.flow.v0.models.OrderSubmissionForm;
@@ -17750,6 +17983,7 @@ export type RateUpsertedV3 = io.flow.v0.models.RateUpsertedV3;
17750
17983
  export type RateVersion = io.flow.v0.models.RateVersion;
17751
17984
  export type Ratecard = io.flow.v0.models.Ratecard;
17752
17985
  export type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
17986
+ export type RatecardData = io.flow.v0.models.RatecardData;
17753
17987
  export type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
17754
17988
  export type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
17755
17989
  export type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateForm;
@@ -18125,6 +18359,9 @@ export type SurchargeResponsiblePartyDisplay =
18125
18359
  io.flow.v0.models.SurchargeResponsiblePartyDisplay;
18126
18360
  export type SurchargeSetting = io.flow.v0.models.SurchargeSetting;
18127
18361
  export type SurchargeSettingDisplay = io.flow.v0.models.SurchargeSettingDisplay;
18362
+ export type TariffCodes = io.flow.v0.models.TariffCodes;
18363
+ export type TariffCodesDeleted = io.flow.v0.models.TariffCodesDeleted;
18364
+ export type TariffCodesUpserted = io.flow.v0.models.TariffCodesUpserted;
18128
18365
  export type Tax = io.flow.v0.models.Tax;
18129
18366
  export type TaxApplicability = io.flow.v0.enums.TaxApplicability;
18130
18367
  export type TaxBreakdown = io.flow.v0.models.TaxBreakdown;
@@ -18250,6 +18487,10 @@ export type TransactionMetadataFailedPayoutReference =
18250
18487
  io.flow.v0.models.TransactionMetadataFailedPayoutReference;
18251
18488
  export type TransactionMetadataManual =
18252
18489
  io.flow.v0.models.TransactionMetadataManual;
18490
+ export type TransactionMetadataMerchantFee =
18491
+ io.flow.v0.models.TransactionMetadataMerchantFee;
18492
+ export type TransactionMetadataMerchantFeeItem =
18493
+ io.flow.v0.models.TransactionMetadataMerchantFeeItem;
18253
18494
  export type TransactionMetadataOriginalTransaction =
18254
18495
  io.flow.v0.models.TransactionMetadataOriginalTransaction;
18255
18496
  export type TransactionMetadataOutboundTransaction =