@flowio/types 11.24.131 → 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';
@@ -4735,7 +4814,7 @@ declare namespace io.flow.v0.enums {
4735
4814
  | 'fraudulent'
4736
4815
  | 'error'
4737
4816
  | 'payment_checks_declined';
4738
- type PaymentFeeType = 'fx' | 'mor' | 'sp';
4817
+ type PaymentFeeType = 'fx' | 'mor' | 'sp' | 'mor_tax';
4739
4818
  type PaymentMethodCapability = 'credit' | 'debit';
4740
4819
  type PaymentMethodDataOptionType = 'ideal_issuer_option';
4741
4820
  type PaymentMethodRuleContentKey = 'description';
@@ -4845,6 +4924,7 @@ declare namespace io.flow.v0.enums {
4845
4924
  | 'adjustment';
4846
4925
  type PriceFacetBoundary = 'min' | 'max';
4847
4926
  type PricingLevySetting = 'included' | 'displayed' | 'ignored';
4927
+ type PricingType = 'inclusive_pricing';
4848
4928
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
4849
4929
  type ProvinceType =
4850
4930
  | 'area'
@@ -4935,7 +5015,13 @@ declare namespace io.flow.v0.enums {
4935
5015
  | 'wait_for_high_fidelity'
4936
5016
  | 'external_service_unavailable';
4937
5017
  type SellabilityRequestStatus = 'commit';
4938
- 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';
4939
5025
  type SellabilityResultStatus = 'in_review' | 'succeeded' | 'failed';
4940
5026
  type SellabilityScreeningMode = 'pre_onboarding' | 'default_on' | 'active';
4941
5027
  type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
@@ -5045,7 +5131,8 @@ declare namespace io.flow.v0.enums {
5045
5131
  | 'order_cancellation_above_de_min'
5046
5132
  | 'wyol_shipment_above_de_min'
5047
5133
  | 'full_refund_without_shipment'
5048
- | 'unfulfilled_order_above_de_min';
5134
+ | 'unfulfilled_order_above_de_min'
5135
+ | 'order_cancellation_without_capture';
5049
5136
  type TaxJurisdictionType = 'country' | 'province';
5050
5137
  type TaxReportType = 'consumer' | 'b2b';
5051
5138
  type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax';
@@ -5114,7 +5201,8 @@ declare namespace io.flow.v0.enums {
5114
5201
  | 'ge_revenue_share'
5115
5202
  | 'merchant_fee'
5116
5203
  | 'b2b_tax'
5117
- | 'b2b_tax_refund';
5204
+ | 'b2b_tax_refund'
5205
+ | 'b2b_fee_mor_tax';
5118
5206
  type TransferStatus = 'succeeded' | 'canceled';
5119
5207
  type TransferType =
5120
5208
  | 'payout_to_merchant'
@@ -5622,6 +5710,20 @@ declare namespace io.flow.v0.models {
5622
5710
  readonly margin: io.flow.v0.models.Money;
5623
5711
  }
5624
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
+
5625
5727
  interface AnalyticsExportType {
5626
5728
  readonly discriminator: 'analytics_export_type';
5627
5729
  readonly from?: string;
@@ -5924,6 +6026,7 @@ declare namespace io.flow.v0.models {
5924
6026
  readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
5925
6027
  readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference;
5926
6028
  readonly order?: io.flow.v0.models.ConsumerInvoiceOrderSummary;
6029
+ readonly voids_b2b_invoice?: boolean;
5927
6030
  }
5928
6031
 
5929
6032
  interface B2BCreditMemoDeleted {
@@ -6020,6 +6123,18 @@ declare namespace io.flow.v0.models {
6020
6123
  readonly iban: string;
6021
6124
  }
6022
6125
 
6126
+ interface BankAccountInfoKor {
6127
+ readonly discriminator: 'kor';
6128
+ readonly name?: string;
6129
+ readonly address?: io.flow.v0.models.Address;
6130
+ readonly phone?: string;
6131
+ readonly email?: string;
6132
+ readonly bank_account_number: string;
6133
+ readonly bank_routing_number?: string;
6134
+ readonly bank_name?: string;
6135
+ readonly bank_address?: io.flow.v0.models.Address;
6136
+ }
6137
+
6023
6138
  interface BankAccountInfoUsa {
6024
6139
  readonly discriminator: 'usa';
6025
6140
  readonly routing_number: string;
@@ -6997,7 +7112,6 @@ declare namespace io.flow.v0.models {
6997
7112
  readonly beneficiary_details?: io.flow.v0.models.MerchantOnboardingBeneficiaryDetails;
6998
7113
  readonly other_trade_sector?: string;
6999
7114
  readonly center_contact?: io.flow.v0.models.OperationsContact;
7000
- readonly center_address?: io.flow.v0.models.Address;
7001
7115
  readonly average_order_weight?: number;
7002
7116
  readonly average_order_weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
7003
7117
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
@@ -7005,6 +7119,7 @@ declare namespace io.flow.v0.models {
7005
7119
  readonly default_country_of_origin?: string;
7006
7120
  readonly rate_card: string;
7007
7121
  readonly shop?: io.flow.v0.models.Shop;
7122
+ readonly settlement_currency?: string;
7008
7123
  readonly created_at: string;
7009
7124
  readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
7010
7125
  readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
@@ -7025,7 +7140,6 @@ declare namespace io.flow.v0.models {
7025
7140
  readonly beneficiary_details?: io.flow.v0.models.MerchantOnboardingBeneficiaryDetails;
7026
7141
  readonly other_trade_sector?: string;
7027
7142
  readonly center_contact?: io.flow.v0.models.OperationsContact;
7028
- readonly center_address?: io.flow.v0.models.Address;
7029
7143
  readonly average_order_weight?: number;
7030
7144
  readonly average_order_weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
7031
7145
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
@@ -7034,6 +7148,7 @@ declare namespace io.flow.v0.models {
7034
7148
  readonly monthly_average_number_transactions?: number;
7035
7149
  readonly default_country_of_origin?: string;
7036
7150
  readonly shop?: io.flow.v0.models.Shop;
7151
+ readonly settlement_currency?: string;
7037
7152
  readonly rate_card?: string;
7038
7153
  readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
7039
7154
  readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
@@ -8871,6 +8986,11 @@ declare namespace io.flow.v0.models {
8871
8986
  readonly sort?: string;
8872
8987
  }
8873
8988
 
8989
+ interface HarmonizationTariffCode {
8990
+ readonly tariff_code: string;
8991
+ readonly destination: string;
8992
+ }
8993
+
8874
8994
  interface HarmonizationTariffCodesExportType {
8875
8995
  readonly discriminator: 'harmonization_tariff_codes_export_type';
8876
8996
  readonly sort?: string;
@@ -10260,6 +10380,7 @@ declare namespace io.flow.v0.models {
10260
10380
  readonly company?: string;
10261
10381
  readonly email?: string;
10262
10382
  readonly phone?: string;
10383
+ readonly address?: io.flow.v0.models.Address;
10263
10384
  }
10264
10385
 
10265
10386
  interface OptionWeightEstimates {
@@ -10305,6 +10426,7 @@ declare namespace io.flow.v0.models {
10305
10426
  readonly payment_source?: io.flow.v0.enums.OrderPaymentSourceType;
10306
10427
  readonly edits?: io.flow.v0.models.EditSummary[];
10307
10428
  readonly rates?: io.flow.v0.models.OrderRate[];
10429
+ readonly pricing_type?: io.flow.v0.enums.PricingType;
10308
10430
  }
10309
10431
 
10310
10432
  interface OrderAddress {
@@ -10731,6 +10853,48 @@ declare namespace io.flow.v0.models {
10731
10853
  readonly filename?: string;
10732
10854
  }
10733
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
+
10734
10898
  interface OrderSubmissionForm {
10735
10899
  readonly identifiers?: io.flow.v0.models.OrderSubmissionIdentifierForm[];
10736
10900
  }
@@ -12362,6 +12526,10 @@ declare namespace io.flow.v0.models {
12362
12526
  readonly hs_code?: string;
12363
12527
  readonly restricted_regions_by_type?: io.flow.v0.models.SellabilityRegionResult[];
12364
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;
12365
12533
  }
12366
12534
 
12367
12535
  interface ProductRestrictionResultDeleted {
@@ -12402,9 +12570,11 @@ declare namespace io.flow.v0.models {
12402
12570
  }
12403
12571
 
12404
12572
  interface ProductSellabilityResult {
12573
+ readonly id: string;
12405
12574
  readonly merchant_id?: string;
12406
12575
  readonly product_id: string;
12407
12576
  readonly restricted_regions: io.flow.v0.models.SellabilityRestrictedRegion[];
12577
+ readonly restricted_reasons: io.flow.v0.models.SellabilityRestrictedReason[];
12408
12578
  readonly needs_action_attributes?: io.flow.v0.models.SellabilityNeedsActionAttributes[];
12409
12579
  readonly request_id?: string;
12410
12580
  readonly hs6_code?: string;
@@ -12414,7 +12584,9 @@ declare namespace io.flow.v0.models {
12414
12584
  readonly discriminator: 'product_sellability_result_deleted';
12415
12585
  readonly event_id: string;
12416
12586
  readonly timestamp: string;
12417
- readonly organization: string;
12587
+ readonly organization?: string;
12588
+ readonly merchant?: string;
12589
+ readonly channel_id?: string;
12418
12590
  readonly id: string;
12419
12591
  }
12420
12592
 
@@ -12422,7 +12594,9 @@ declare namespace io.flow.v0.models {
12422
12594
  readonly discriminator: 'product_sellability_result_upserted';
12423
12595
  readonly event_id: string;
12424
12596
  readonly timestamp: string;
12425
- readonly organization: string;
12597
+ readonly organization?: string;
12598
+ readonly merchant?: string;
12599
+ readonly channel_id?: string;
12426
12600
  readonly product_sellability_result: io.flow.v0.models.ProductSellabilityResult;
12427
12601
  }
12428
12602
 
@@ -12652,6 +12826,12 @@ declare namespace io.flow.v0.models {
12652
12826
  readonly name: string;
12653
12827
  }
12654
12828
 
12829
+ interface RatecardData {
12830
+ readonly dhlParcelDistributionCenter?: string;
12831
+ readonly glbeRatecardMetadataLaneIdentifier?: string;
12832
+ readonly pickupCenter?: string;
12833
+ }
12834
+
12655
12835
  interface RatecardDeleted {
12656
12836
  readonly discriminator: 'ratecard_deleted';
12657
12837
  readonly event_id: string;
@@ -12752,7 +12932,7 @@ declare namespace io.flow.v0.models {
12752
12932
  readonly glbe_shipping_method_id?: string;
12753
12933
  readonly glbe_proposition_name?: string;
12754
12934
  readonly channel_revenue_share_percentage?: number;
12755
- readonly data?: Record<string, string>;
12935
+ readonly data?: io.flow.v0.models.RatecardData;
12756
12936
  }
12757
12937
 
12758
12938
  interface RatecardLane {
@@ -13388,9 +13568,16 @@ declare namespace io.flow.v0.models {
13388
13568
  interface SellabilityNeedsActionAttributes {
13389
13569
  readonly reason_code: string;
13390
13570
  readonly category_metafield_handles: string[];
13571
+ readonly category_metafield_ids: string[];
13391
13572
  readonly require_msds?: boolean;
13392
13573
  }
13393
13574
 
13575
+ interface SellabilityReasonWithRegions {
13576
+ readonly reason: string;
13577
+ readonly regions: string[];
13578
+ readonly review_status?: string;
13579
+ }
13580
+
13394
13581
  interface SellabilityRegionResult {
13395
13582
  readonly type: io.flow.v0.enums.RuleEffectType;
13396
13583
  readonly regions: string[];
@@ -13401,14 +13588,19 @@ declare namespace io.flow.v0.models {
13401
13588
  readonly reasons: string[];
13402
13589
  }
13403
13590
 
13591
+ interface SellabilityRestrictedReason {
13592
+ readonly type: io.flow.v0.enums.RuleEffectType;
13593
+ readonly reasons_with_regions: io.flow.v0.models.SellabilityReasonWithRegions[];
13594
+ }
13595
+
13404
13596
  interface SellabilityRestrictedRegion {
13405
13597
  readonly type: io.flow.v0.enums.RuleEffectType;
13406
- readonly regions_with_reasons: io.flow.v0.models.SellabilityRegionWithReasons[];
13598
+ readonly regions: string[];
13407
13599
  }
13408
13600
 
13409
13601
  interface SellabilityScreening {
13410
13602
  readonly discriminator: 'sellability_screening';
13411
- readonly sellability_result?: io.flow.v0.models.ProductSellabilityResult;
13603
+ readonly product_sellability_result?: io.flow.v0.models.ProductSellabilityResult;
13412
13604
  readonly request_id: string;
13413
13605
  readonly status: io.flow.v0.enums.SellabilityResultStatus;
13414
13606
  readonly error_code?: io.flow.v0.enums.SellabilityResultErrorCode;
@@ -14098,6 +14290,7 @@ declare namespace io.flow.v0.models {
14098
14290
  readonly activated_at?: string;
14099
14291
  readonly status_updated_at?: string;
14100
14292
  readonly shop?: io.flow.v0.models.Shop;
14293
+ readonly settlement_currency?: string;
14101
14294
  readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
14102
14295
  readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
14103
14296
  readonly average_order_value?: io.flow.v0.models.Money;
@@ -14131,6 +14324,7 @@ declare namespace io.flow.v0.models {
14131
14324
  readonly ratecard_id?: string;
14132
14325
  readonly rate_card: string;
14133
14326
  readonly shop?: io.flow.v0.models.Shop;
14327
+ readonly settlement_currency?: string;
14134
14328
  readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
14135
14329
  readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
14136
14330
  readonly average_order_value?: io.flow.v0.models.Money;
@@ -14434,6 +14628,29 @@ declare namespace io.flow.v0.models {
14434
14628
  readonly available: io.flow.v0.models.SurchargeResponsiblePartyDisplay[];
14435
14629
  }
14436
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
+
14437
14654
  interface Tax {
14438
14655
  readonly name: string;
14439
14656
  readonly rate: number;
@@ -14587,6 +14804,8 @@ declare namespace io.flow.v0.models {
14587
14804
  readonly discriminator: 'test_upserted';
14588
14805
  readonly event_id: string;
14589
14806
  readonly timestamp: string;
14807
+ readonly organization: string;
14808
+ readonly channel_id: string;
14590
14809
  readonly test: io.flow.ben.test.internal.v0.models.Test;
14591
14810
  }
14592
14811
 
@@ -14975,7 +15194,7 @@ declare namespace io.flow.v0.models {
14975
15194
  readonly label_created_at: string;
14976
15195
  readonly carrier_id: string;
14977
15196
  readonly carrier_tracking_number: string;
14978
- readonly revenue_share_percentage: number;
15197
+ readonly revenue_share_percentage?: number;
14979
15198
  readonly outbound?: io.flow.v0.models.TransactionMetadataOutboundTransaction;
14980
15199
  }
14981
15200
 
@@ -15015,6 +15234,19 @@ declare namespace io.flow.v0.models {
15015
15234
  readonly description: string;
15016
15235
  readonly original?: io.flow.v0.models.TransactionMetadataOriginalTransaction;
15017
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;
15018
15250
  }
15019
15251
 
15020
15252
  interface TransactionMetadataOriginalTransaction {
@@ -15491,7 +15723,8 @@ declare namespace io.flow.v0.unions {
15491
15723
  | io.flow.v0.models.BankAccountInfoCan
15492
15724
  | io.flow.v0.models.BankAccountInfoGbr
15493
15725
  | io.flow.v0.models.BankAccountInfoFra
15494
- | io.flow.v0.models.BankAccountInfoIta;
15726
+ | io.flow.v0.models.BankAccountInfoIta
15727
+ | io.flow.v0.models.BankAccountInfoKor;
15495
15728
  type BrowserActionConfiguration =
15496
15729
  io.flow.v0.models.CardBrowserActionConfiguration;
15497
15730
  type CardAuthorizationActionResult =
@@ -15540,6 +15773,8 @@ declare namespace io.flow.v0.unions {
15540
15773
  type Event =
15541
15774
  | io.flow.v0.models.TestUpserted
15542
15775
  | io.flow.v0.models.GenerateLoad
15776
+ | io.flow.v0.models.AmruthaItemUpserted
15777
+ | io.flow.v0.models.AmruthaItemDeleted
15543
15778
  | io.flow.v0.models.TransactionUpserted
15544
15779
  | io.flow.v0.models.OrganizationTransactionUpserted
15545
15780
  | io.flow.v0.models.OrganizationTransactionDeleted
@@ -15600,6 +15835,8 @@ declare namespace io.flow.v0.unions {
15600
15835
  | io.flow.v0.models.OrderUpsertedV2
15601
15836
  | io.flow.v0.models.OrderIdentifierDeletedV2
15602
15837
  | io.flow.v0.models.OrderIdentifierUpsertedV3
15838
+ | io.flow.v0.models.OrderStateUpserted
15839
+ | io.flow.v0.models.OrderStateDeleted
15603
15840
  | io.flow.v0.models.FraudStatusChanged
15604
15841
  | io.flow.v0.models.CenterUpserted
15605
15842
  | io.flow.v0.models.CenterDeleted
@@ -15624,6 +15861,8 @@ declare namespace io.flow.v0.unions {
15624
15861
  | io.flow.v0.models.ItemOriginDeleted
15625
15862
  | io.flow.v0.models.HarmonizedLandedCostUpserted
15626
15863
  | io.flow.v0.models.FullyHarmonizedItemUpserted
15864
+ | io.flow.v0.models.TariffCodesUpserted
15865
+ | io.flow.v0.models.TariffCodesDeleted
15627
15866
  | io.flow.v0.models.LabelDeletedV2
15628
15867
  | io.flow.v0.models.LabelUpsertedV2
15629
15868
  | io.flow.v0.models.NotificationUpsertedV2
@@ -15821,6 +16060,10 @@ declare namespace io.flow.v0.unions {
15821
16060
  type OrderRefundSummaryForm =
15822
16061
  | io.flow.v0.models.OrderRefundSummaryFullForm
15823
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;
15824
16067
  type PartnerCenterFee =
15825
16068
  | io.flow.v0.models.CommercialInvoiceFee
15826
16069
  | io.flow.v0.models.InboundCartonFee
@@ -16036,7 +16279,8 @@ declare namespace io.flow.v0.unions {
16036
16279
  | io.flow.v0.models.TransactionMetadataManual
16037
16280
  | io.flow.v0.models.TransactionMetadataFailedPayout
16038
16281
  | io.flow.v0.models.TransactionMetadataPaymentTransaction
16039
- | io.flow.v0.models.TransactionMetadataTaxDuty;
16282
+ | io.flow.v0.models.TransactionMetadataTaxDuty
16283
+ | io.flow.v0.models.TransactionMetadataMerchantFee;
16040
16284
  type TransferReference =
16041
16285
  | io.flow.v0.models.CaptureReference
16042
16286
  | io.flow.v0.models.RefundReference
@@ -16136,6 +16380,8 @@ export type AllocationUpsertedV2 = io.flow.v0.models.AllocationUpsertedV2;
16136
16380
  export type AllocationV2 = io.flow.v0.models.AllocationV2;
16137
16381
  export type AmountMargin = io.flow.v0.models.AmountMargin;
16138
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;
16139
16385
  export type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
16140
16386
  export type ApplePayMerchantValidationPayload =
16141
16387
  io.flow.v0.models.ApplePayMerchantValidationPayload;
@@ -16230,6 +16476,7 @@ export type BankAccountInfoCan = io.flow.v0.models.BankAccountInfoCan;
16230
16476
  export type BankAccountInfoFra = io.flow.v0.models.BankAccountInfoFra;
16231
16477
  export type BankAccountInfoGbr = io.flow.v0.models.BankAccountInfoGbr;
16232
16478
  export type BankAccountInfoIta = io.flow.v0.models.BankAccountInfoIta;
16479
+ export type BankAccountInfoKor = io.flow.v0.models.BankAccountInfoKor;
16233
16480
  export type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
16234
16481
  export type BankAccountReference = io.flow.v0.models.BankAccountReference;
16235
16482
  export type BankAccountSummary = io.flow.v0.models.BankAccountSummary;
@@ -16874,6 +17121,7 @@ export type HarmonizationHs6ExportType =
16874
17121
  io.flow.v0.models.HarmonizationHs6ExportType;
16875
17122
  export type HarmonizationOverviewExportType =
16876
17123
  io.flow.v0.models.HarmonizationOverviewExportType;
17124
+ export type HarmonizationTariffCode = io.flow.v0.models.HarmonizationTariffCode;
16877
17125
  export type HarmonizationTariffCodesExportType =
16878
17126
  io.flow.v0.models.HarmonizationTariffCodesExportType;
16879
17127
  export type HarmonizedCategoryReference =
@@ -17265,6 +17513,18 @@ export type OrderServiceChange = io.flow.v0.models.OrderServiceChange;
17265
17513
  export type OrderServiceChangeForm = io.flow.v0.models.OrderServiceChangeForm;
17266
17514
  export type OrderServiceChangeRequestData =
17267
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;
17268
17528
  export type OrderStatus = io.flow.v0.enums.OrderStatus;
17269
17529
  export type OrderStorage = io.flow.v0.enums.OrderStorage;
17270
17530
  export type OrderSubmissionForm = io.flow.v0.models.OrderSubmissionForm;
@@ -17661,6 +17921,7 @@ export type PriceWithBaseAndDetails = io.flow.v0.models.PriceWithBaseAndDetails;
17661
17921
  export type Pricing = io.flow.v0.models.Pricing;
17662
17922
  export type PricingLevySetting = io.flow.v0.enums.PricingLevySetting;
17663
17923
  export type PricingSettings = io.flow.v0.models.PricingSettings;
17924
+ export type PricingType = io.flow.v0.enums.PricingType;
17664
17925
  export type PricingVersion = io.flow.v0.models.PricingVersion;
17665
17926
  export type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
17666
17927
  export type Product = io.flow.v0.models.Product;
@@ -17722,6 +17983,7 @@ export type RateUpsertedV3 = io.flow.v0.models.RateUpsertedV3;
17722
17983
  export type RateVersion = io.flow.v0.models.RateVersion;
17723
17984
  export type Ratecard = io.flow.v0.models.Ratecard;
17724
17985
  export type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
17986
+ export type RatecardData = io.flow.v0.models.RatecardData;
17725
17987
  export type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
17726
17988
  export type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
17727
17989
  export type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateForm;
@@ -17855,6 +18117,8 @@ export type SellabilityError = io.flow.v0.models.SellabilityError;
17855
18117
  export type SellabilityErrorCode = io.flow.v0.enums.SellabilityErrorCode;
17856
18118
  export type SellabilityNeedsActionAttributes =
17857
18119
  io.flow.v0.models.SellabilityNeedsActionAttributes;
18120
+ export type SellabilityReasonWithRegions =
18121
+ io.flow.v0.models.SellabilityReasonWithRegions;
17858
18122
  export type SellabilityRegionResult = io.flow.v0.models.SellabilityRegionResult;
17859
18123
  export type SellabilityRegionWithReasons =
17860
18124
  io.flow.v0.models.SellabilityRegionWithReasons;
@@ -17862,6 +18126,8 @@ export type SellabilityRequest = io.flow.v0.unions.SellabilityRequest;
17862
18126
  export type SellabilityRequestStatus =
17863
18127
  io.flow.v0.enums.SellabilityRequestStatus;
17864
18128
  export type SellabilityResponse = io.flow.v0.unions.SellabilityResponse;
18129
+ export type SellabilityRestrictedReason =
18130
+ io.flow.v0.models.SellabilityRestrictedReason;
17865
18131
  export type SellabilityRestrictedRegion =
17866
18132
  io.flow.v0.models.SellabilityRestrictedRegion;
17867
18133
  export type SellabilityResultErrorCode =
@@ -18093,6 +18359,9 @@ export type SurchargeResponsiblePartyDisplay =
18093
18359
  io.flow.v0.models.SurchargeResponsiblePartyDisplay;
18094
18360
  export type SurchargeSetting = io.flow.v0.models.SurchargeSetting;
18095
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;
18096
18365
  export type Tax = io.flow.v0.models.Tax;
18097
18366
  export type TaxApplicability = io.flow.v0.enums.TaxApplicability;
18098
18367
  export type TaxBreakdown = io.flow.v0.models.TaxBreakdown;
@@ -18218,6 +18487,10 @@ export type TransactionMetadataFailedPayoutReference =
18218
18487
  io.flow.v0.models.TransactionMetadataFailedPayoutReference;
18219
18488
  export type TransactionMetadataManual =
18220
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;
18221
18494
  export type TransactionMetadataOriginalTransaction =
18222
18495
  io.flow.v0.models.TransactionMetadataOriginalTransaction;
18223
18496
  export type TransactionMetadataOutboundTransaction =