@flowio/types 11.24.132 → 11.24.136

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
@@ -3142,7 +3142,8 @@ declare namespace io.flow.channel.internal.v0.enums {
3142
3142
  | 'non_matching_currencies'
3143
3143
  | 'unsupported_order_edit'
3144
3144
  | 'order_allocation_duties_mismatch'
3145
- | 'order_missing';
3145
+ | 'order_missing'
3146
+ | 'organization_deactivated';
3146
3147
  type ChannelOrderAcceptanceStatus =
3147
3148
  | 'accepted'
3148
3149
  | 'rejected'
@@ -3522,6 +3523,7 @@ declare namespace io.flow.common.v0.models {
3522
3523
  interface LineItemForm {
3523
3524
  readonly number: string;
3524
3525
  readonly quantity: number;
3526
+ readonly line_item_identifier?: string;
3525
3527
  readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
3526
3528
  readonly price?: io.flow.common.v0.models.Money;
3527
3529
  readonly attributes?: Record<string, string>;
@@ -3978,6 +3980,105 @@ declare namespace io.flow.apple.pay.v0.models {
3978
3980
  }
3979
3981
  }
3980
3982
 
3983
+ declare namespace io.flow.tech.onboarding.playground.v0.enums {
3984
+ type AmruthaItemType = 'physical' | 'digital';
3985
+ type BojanaItemType = 'physical' | 'digital';
3986
+ type ChenglinItemType = 'physical' | 'digital';
3987
+ type GabrielItemType = 'physical' | 'digital';
3988
+ type RaveenaItemType = 'physical' | 'digital';
3989
+ }
3990
+
3991
+ declare namespace io.flow.tech.onboarding.playground.v0.models {
3992
+ interface AmruthaItem {
3993
+ readonly id: string;
3994
+ readonly number: string;
3995
+ readonly amount: io.flow.common.v0.models.Price;
3996
+ readonly description?: string;
3997
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AmruthaItemType;
3998
+ readonly added_on: string;
3999
+ }
4000
+
4001
+ interface AmruthaItemForm {
4002
+ readonly number: string;
4003
+ readonly amount: io.flow.common.v0.models.Price;
4004
+ readonly description?: string;
4005
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AmruthaItemType;
4006
+ readonly added_on: string;
4007
+ }
4008
+
4009
+ interface BojanaItem {
4010
+ readonly id: string;
4011
+ readonly number: string;
4012
+ readonly amount: io.flow.common.v0.models.Price;
4013
+ readonly description?: string;
4014
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.BojanaItemType;
4015
+ readonly added_on: string;
4016
+ }
4017
+
4018
+ interface BojanaItemForm {
4019
+ readonly number: string;
4020
+ readonly amount: io.flow.common.v0.models.Price;
4021
+ readonly description?: string;
4022
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.BojanaItemType;
4023
+ readonly added_on: string;
4024
+ }
4025
+
4026
+ interface ChenglinItem {
4027
+ readonly id: string;
4028
+ readonly number: string;
4029
+ readonly amount: io.flow.common.v0.models.Price;
4030
+ readonly description?: string;
4031
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.GabrielItemType;
4032
+ readonly added_on: string;
4033
+ }
4034
+
4035
+ interface ChenglinItemForm {
4036
+ readonly number: string;
4037
+ readonly amount: io.flow.common.v0.models.Price;
4038
+ readonly description?: string;
4039
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.GabrielItemType;
4040
+ readonly added_on: string;
4041
+ }
4042
+
4043
+ interface GabrielItem {
4044
+ readonly id: string;
4045
+ readonly number: string;
4046
+ readonly amount: io.flow.common.v0.models.Price;
4047
+ readonly description?: string;
4048
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.GabrielItemType;
4049
+ readonly added_on: string;
4050
+ }
4051
+
4052
+ interface GabrielItemForm {
4053
+ readonly number: string;
4054
+ readonly amount: io.flow.common.v0.models.Price;
4055
+ readonly description?: string;
4056
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.GabrielItemType;
4057
+ readonly added_on: string;
4058
+ }
4059
+
4060
+ interface RaveenaItem {
4061
+ readonly id: string;
4062
+ readonly number: string;
4063
+ readonly amount: io.flow.common.v0.models.Price;
4064
+ readonly description?: string;
4065
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.RaveenaItemType;
4066
+ readonly added_on: string;
4067
+ }
4068
+
4069
+ interface RaveenaItemForm {
4070
+ readonly number: string;
4071
+ readonly amount: io.flow.common.v0.models.Price;
4072
+ readonly description?: string;
4073
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.RaveenaItemType;
4074
+ readonly added_on: string;
4075
+ }
4076
+
4077
+ interface TechOnboardingDescription {
4078
+ readonly description: string;
4079
+ }
4080
+ }
4081
+
3981
4082
  declare namespace io.flow.product.v0.models {
3982
4083
  interface Product {
3983
4084
  readonly organization_id: string;
@@ -4014,6 +4115,12 @@ declare namespace io.flow.ben.test.internal.v0.models {
4014
4115
  readonly num_events: number;
4015
4116
  }
4016
4117
 
4118
+ interface GenerateLoadRate {
4119
+ readonly organization_ids: string[];
4120
+ readonly events_per_second: number;
4121
+ readonly duration_seconds: number;
4122
+ }
4123
+
4017
4124
  interface GenerateLoadSingleOrg {
4018
4125
  readonly discriminator: 'generate_load_single_org';
4019
4126
  readonly organization_id: string;
@@ -4253,6 +4360,8 @@ declare namespace io.flow.v0.enums {
4253
4360
  type EventType =
4254
4361
  | 'test_upserted'
4255
4362
  | 'generate_load'
4363
+ | 'amrutha_item_upserted'
4364
+ | 'amrutha_item_deleted'
4256
4365
  | 'transaction_upserted'
4257
4366
  | 'organization_transaction_upserted'
4258
4367
  | 'organization_transaction_deleted'
@@ -4302,6 +4411,8 @@ declare namespace io.flow.v0.enums {
4302
4411
  | 'consumer_invoice_deleted'
4303
4412
  | 'credit_memo_upserted'
4304
4413
  | 'credit_memo_deleted'
4414
+ | 'fee_invoice_upserted'
4415
+ | 'fee_invoice_deleted'
4305
4416
  | 'crossdock_shipment_upserted'
4306
4417
  | 'rate_deleted'
4307
4418
  | 'rate_upserted'
@@ -4313,6 +4424,8 @@ declare namespace io.flow.v0.enums {
4313
4424
  | 'order_upserted_v2'
4314
4425
  | 'order_identifier_deleted_v2'
4315
4426
  | 'order_identifier_upserted_v3'
4427
+ | 'order_state_upserted'
4428
+ | 'order_state_deleted'
4316
4429
  | 'fraud_status_changed'
4317
4430
  | 'center_upserted'
4318
4431
  | 'center_deleted'
@@ -4337,6 +4450,8 @@ declare namespace io.flow.v0.enums {
4337
4450
  | 'item_origin_deleted'
4338
4451
  | 'harmonized_landed_cost_upserted'
4339
4452
  | 'fully_harmonized_item_upserted'
4453
+ | 'tariff_codes_upserted'
4454
+ | 'tariff_codes_deleted'
4340
4455
  | 'label_deleted_v2'
4341
4456
  | 'label_upserted_v2'
4342
4457
  | 'notification_upserted_v2'
@@ -4436,7 +4551,13 @@ declare namespace io.flow.v0.enums {
4436
4551
  | 'rate_lock'
4437
4552
  | 'transfer'
4438
4553
  | 'negative_balance_guarantee'
4439
- | 'sp';
4554
+ | 'sp'
4555
+ | 'rev_share';
4556
+ type FeeInvoiceType =
4557
+ | 'mor_invoice'
4558
+ | 'label_invoice'
4559
+ | 'mor_credit_memo'
4560
+ | 'label_credit_memo';
4440
4561
  type FlowBehavior = 'view_consumer_data';
4441
4562
  type FlowEntity =
4442
4563
  | 'flow-usa'
@@ -4444,6 +4565,7 @@ declare namespace io.flow.v0.enums {
4444
4565
  | 'flow-can'
4445
4566
  | 'ge-usa'
4446
4567
  | 'ge-can'
4568
+ | 'ge-can-ship'
4447
4569
  | 'ge-gbr'
4448
4570
  | 'ge-irl';
4449
4571
  type FlowRole =
@@ -4522,7 +4644,8 @@ declare namespace io.flow.v0.enums {
4522
4644
  | 'partner_api_sync'
4523
4645
  | 'notification_requiring_crossdock'
4524
4646
  | 'flow_simulation_sync'
4525
- | 'autogenerated';
4647
+ | 'autogenerated'
4648
+ | 'legacy_shopify_graphql_server';
4526
4649
  type LabelTriggerMethod = 'autogenerated' | 'on_demand';
4527
4650
  type LaneDirection = 'outbound' | 'return';
4528
4651
  type LanePreselectPreference = 'lowest_cost' | 'default_tier';
@@ -4676,13 +4799,15 @@ declare namespace io.flow.v0.enums {
4676
4799
  | 'tax'
4677
4800
  | 'duties'
4678
4801
  | 'tax_and_duties'
4679
- | 'product';
4802
+ | 'product'
4803
+ | 'mor_tax';
4680
4804
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
4681
4805
  type OrderRefundSummaryPartialCharged =
4682
4806
  | 'per_item'
4683
4807
  | 'for_order'
4684
4808
  | 'by_value_percentage'
4685
4809
  | 'by_quantity_percentage';
4810
+ type OrderStateStatus = 'pending' | 'accepted' | 'rejected';
4686
4811
  type OrderStatus = 'open' | 'submitted';
4687
4812
  type OrderStorage = 'do_not_persist' | 'persist';
4688
4813
  type OrderType = 'standard' | 'replacement' | 'edit';
@@ -4936,7 +5061,13 @@ declare namespace io.flow.v0.enums {
4936
5061
  | 'wait_for_high_fidelity'
4937
5062
  | 'external_service_unavailable';
4938
5063
  type SellabilityRequestStatus = 'commit';
4939
- type SellabilityResultErrorCode = 'insufficient_details' | 'generic_error';
5064
+ type SellabilityResultErrorCode =
5065
+ | 'insufficient_details'
5066
+ | 'ineligible_category'
5067
+ | 'wait_for_high_fidelity'
5068
+ | 'external_service_unavailable'
5069
+ | 'generic_error'
5070
+ | 'catalog_processing_threshold';
4940
5071
  type SellabilityResultStatus = 'in_review' | 'succeeded' | 'failed';
4941
5072
  type SellabilityScreeningMode = 'pre_onboarding' | 'default_on' | 'active';
4942
5073
  type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
@@ -5012,6 +5143,11 @@ declare namespace io.flow.v0.enums {
5012
5143
  | 'Pending_006'
5013
5144
  | 'Expired_001';
5014
5145
  type SurchargeResponsibleParty = 'organization' | 'customer';
5146
+ type TaxAndDutyInclusivitySetting =
5147
+ | 'duty_exclusive_tax_exclusive'
5148
+ | 'duty_inclusive_tax_exclusive'
5149
+ | 'duty_exclusive_tax_inclusive'
5150
+ | 'duty_inclusive_tax_inclusive';
5015
5151
  type TaxApplicability = 'none' | 'all';
5016
5152
  type TaxDutyCalculatorValidationErrorCode =
5017
5153
  | 'generic_error'
@@ -5046,7 +5182,8 @@ declare namespace io.flow.v0.enums {
5046
5182
  | 'order_cancellation_above_de_min'
5047
5183
  | 'wyol_shipment_above_de_min'
5048
5184
  | 'full_refund_without_shipment'
5049
- | 'unfulfilled_order_above_de_min';
5185
+ | 'unfulfilled_order_above_de_min'
5186
+ | 'order_cancellation_without_capture';
5050
5187
  type TaxJurisdictionType = 'country' | 'province';
5051
5188
  type TaxReportType = 'consumer' | 'b2b';
5052
5189
  type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax';
@@ -5115,7 +5252,10 @@ declare namespace io.flow.v0.enums {
5115
5252
  | 'ge_revenue_share'
5116
5253
  | 'merchant_fee'
5117
5254
  | 'b2b_tax'
5118
- | 'b2b_tax_refund';
5255
+ | 'b2b_tax_refund'
5256
+ | 'b2b_fee_mor_tax'
5257
+ | 'b2b_fee_shipping_tax'
5258
+ | 'flat_rate_label';
5119
5259
  type TransferStatus = 'succeeded' | 'canceled';
5120
5260
  type TransferType =
5121
5261
  | 'payout_to_merchant'
@@ -5623,6 +5763,20 @@ declare namespace io.flow.v0.models {
5623
5763
  readonly margin: io.flow.v0.models.Money;
5624
5764
  }
5625
5765
 
5766
+ interface AmruthaItemDeleted {
5767
+ readonly discriminator: 'amrutha_item_deleted';
5768
+ readonly event_id: string;
5769
+ readonly timestamp: string;
5770
+ readonly id: string;
5771
+ }
5772
+
5773
+ interface AmruthaItemUpserted {
5774
+ readonly discriminator: 'amrutha_item_upserted';
5775
+ readonly event_id: string;
5776
+ readonly timestamp: string;
5777
+ readonly item: io.flow.tech.onboarding.playground.v0.models.AmruthaItem;
5778
+ }
5779
+
5626
5780
  interface AnalyticsExportType {
5627
5781
  readonly discriminator: 'analytics_export_type';
5628
5782
  readonly from?: string;
@@ -5925,6 +6079,7 @@ declare namespace io.flow.v0.models {
5925
6079
  readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
5926
6080
  readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference;
5927
6081
  readonly order?: io.flow.v0.models.ConsumerInvoiceOrderSummary;
6082
+ readonly voids_b2b_invoice?: boolean;
5928
6083
  }
5929
6084
 
5930
6085
  interface B2BCreditMemoDeleted {
@@ -6023,14 +6178,10 @@ declare namespace io.flow.v0.models {
6023
6178
 
6024
6179
  interface BankAccountInfoKor {
6025
6180
  readonly discriminator: 'kor';
6026
- readonly name?: string;
6027
- readonly address?: io.flow.v0.models.Address;
6028
- readonly phone?: string;
6029
- readonly email?: string;
6181
+ readonly name: string;
6030
6182
  readonly bank_account_number: string;
6031
- readonly bank_routing_number?: string;
6032
- readonly bank_name?: string;
6033
- readonly bank_address?: io.flow.v0.models.Address;
6183
+ readonly bank_routing_number: string;
6184
+ readonly bank_name: string;
6034
6185
  }
6035
6186
 
6036
6187
  interface BankAccountInfoUsa {
@@ -7010,7 +7161,6 @@ declare namespace io.flow.v0.models {
7010
7161
  readonly beneficiary_details?: io.flow.v0.models.MerchantOnboardingBeneficiaryDetails;
7011
7162
  readonly other_trade_sector?: string;
7012
7163
  readonly center_contact?: io.flow.v0.models.OperationsContact;
7013
- readonly center_address?: io.flow.v0.models.Address;
7014
7164
  readonly average_order_weight?: number;
7015
7165
  readonly average_order_weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
7016
7166
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
@@ -7038,7 +7188,6 @@ declare namespace io.flow.v0.models {
7038
7188
  readonly beneficiary_details?: io.flow.v0.models.MerchantOnboardingBeneficiaryDetails;
7039
7189
  readonly other_trade_sector?: string;
7040
7190
  readonly center_contact?: io.flow.v0.models.OperationsContact;
7041
- readonly center_address?: io.flow.v0.models.Address;
7042
7191
  readonly average_order_weight?: number;
7043
7192
  readonly average_order_weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
7044
7193
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
@@ -8435,6 +8584,37 @@ declare namespace io.flow.v0.models {
8435
8584
  readonly description?: string;
8436
8585
  }
8437
8586
 
8587
+ interface FeeInvoice {
8588
+ readonly id: string;
8589
+ readonly number: string;
8590
+ readonly invoice_type: io.flow.v0.enums.FeeInvoiceType;
8591
+ readonly buyer: io.flow.v0.models.MerchantOfRecordEntity;
8592
+ readonly seller: io.flow.v0.models.MerchantOfRecordEntity;
8593
+ readonly date: string;
8594
+ readonly b2b_tax_transaction_id: string;
8595
+ readonly order_number: string;
8596
+ readonly tax: io.flow.v0.models.Money;
8597
+ readonly tax_lines?: io.flow.v0.models.InvoiceTaxLine[];
8598
+ readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
8599
+ readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
8600
+ }
8601
+
8602
+ interface FeeInvoiceDeleted {
8603
+ readonly discriminator: 'fee_invoice_deleted';
8604
+ readonly event_id: string;
8605
+ readonly timestamp: string;
8606
+ readonly organization: string;
8607
+ readonly id: string;
8608
+ }
8609
+
8610
+ interface FeeInvoiceUpserted {
8611
+ readonly discriminator: 'fee_invoice_upserted';
8612
+ readonly event_id: string;
8613
+ readonly timestamp: string;
8614
+ readonly organization: string;
8615
+ readonly fee_invoice: io.flow.v0.models.FeeInvoice;
8616
+ }
8617
+
8438
8618
  interface FeeWeight {
8439
8619
  readonly weight: number;
8440
8620
  readonly unit: io.flow.v0.enums.UnitOfMeasurement;
@@ -8884,6 +9064,11 @@ declare namespace io.flow.v0.models {
8884
9064
  readonly sort?: string;
8885
9065
  }
8886
9066
 
9067
+ interface HarmonizationTariffCode {
9068
+ readonly tariff_code: string;
9069
+ readonly destination: string;
9070
+ }
9071
+
8887
9072
  interface HarmonizationTariffCodesExportType {
8888
9073
  readonly discriminator: 'harmonization_tariff_codes_export_type';
8889
9074
  readonly sort?: string;
@@ -9691,6 +9876,7 @@ declare namespace io.flow.v0.models {
9691
9876
  interface LineItemForm {
9692
9877
  readonly number: string;
9693
9878
  readonly quantity: number;
9879
+ readonly line_item_identifier?: string;
9694
9880
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
9695
9881
  readonly price?: io.flow.v0.models.Money;
9696
9882
  readonly attributes?: Record<string, string>;
@@ -10273,6 +10459,7 @@ declare namespace io.flow.v0.models {
10273
10459
  readonly company?: string;
10274
10460
  readonly email?: string;
10275
10461
  readonly phone?: string;
10462
+ readonly address?: io.flow.v0.models.Address;
10276
10463
  }
10277
10464
 
10278
10465
  interface OptionWeightEstimates {
@@ -10745,6 +10932,48 @@ declare namespace io.flow.v0.models {
10745
10932
  readonly filename?: string;
10746
10933
  }
10747
10934
 
10935
+ interface OrderState {
10936
+ readonly id: string;
10937
+ readonly order_number: string;
10938
+ readonly external_order_reference: string;
10939
+ readonly payment_requests: io.flow.v0.models.PaymentRequestReference[];
10940
+ readonly status: io.flow.v0.enums.OrderStateStatus;
10941
+ readonly rejection_reasons?: io.flow.v0.unions.OrderStateRejectionReason[];
10942
+ }
10943
+
10944
+ interface OrderStateDeleted {
10945
+ readonly discriminator: 'order_state_deleted';
10946
+ readonly event_id: string;
10947
+ readonly timestamp: string;
10948
+ readonly organization: string;
10949
+ readonly channel_id: string;
10950
+ readonly id: string;
10951
+ }
10952
+
10953
+ interface OrderStateRejectionReasonDomesticOrder {
10954
+ readonly discriminator: 'order_state_rejection_reason_domestic_order';
10955
+ readonly destination_address: io.flow.v0.models.Address;
10956
+ }
10957
+
10958
+ interface OrderStateRejectionReasonItemsEmpty {
10959
+ readonly discriminator: 'order_state_rejection_reason_items_empty';
10960
+ readonly line_items: string[];
10961
+ }
10962
+
10963
+ interface OrderStateRejectionReasonRestrictedItem {
10964
+ readonly discriminator: 'order_state_rejection_reason_restricted_item';
10965
+ readonly item_numbers: string[];
10966
+ }
10967
+
10968
+ interface OrderStateUpserted {
10969
+ readonly discriminator: 'order_state_upserted';
10970
+ readonly event_id: string;
10971
+ readonly timestamp: string;
10972
+ readonly organization: string;
10973
+ readonly channel_id: string;
10974
+ readonly order_state: io.flow.v0.models.OrderState;
10975
+ }
10976
+
10748
10977
  interface OrderSubmissionForm {
10749
10978
  readonly identifiers?: io.flow.v0.models.OrderSubmissionIdentifierForm[];
10750
10979
  }
@@ -12376,6 +12605,10 @@ declare namespace io.flow.v0.models {
12376
12605
  readonly hs_code?: string;
12377
12606
  readonly restricted_regions_by_type?: io.flow.v0.models.SellabilityRegionResult[];
12378
12607
  readonly needs_action_attributes?: io.flow.v0.models.NeedsActionAttributes[];
12608
+ readonly fingerprint?: string;
12609
+ readonly restriction_created_at?: string;
12610
+ readonly first_reviewed_at?: string;
12611
+ readonly seconds_to_first_review?: number;
12379
12612
  }
12380
12613
 
12381
12614
  interface ProductRestrictionResultDeleted {
@@ -12416,6 +12649,7 @@ declare namespace io.flow.v0.models {
12416
12649
  }
12417
12650
 
12418
12651
  interface ProductSellabilityResult {
12652
+ readonly id: string;
12419
12653
  readonly merchant_id?: string;
12420
12654
  readonly product_id: string;
12421
12655
  readonly restricted_regions: io.flow.v0.models.SellabilityRestrictedRegion[];
@@ -12429,7 +12663,9 @@ declare namespace io.flow.v0.models {
12429
12663
  readonly discriminator: 'product_sellability_result_deleted';
12430
12664
  readonly event_id: string;
12431
12665
  readonly timestamp: string;
12432
- readonly organization: string;
12666
+ readonly organization?: string;
12667
+ readonly merchant?: string;
12668
+ readonly channel_id?: string;
12433
12669
  readonly id: string;
12434
12670
  }
12435
12671
 
@@ -12437,7 +12673,9 @@ declare namespace io.flow.v0.models {
12437
12673
  readonly discriminator: 'product_sellability_result_upserted';
12438
12674
  readonly event_id: string;
12439
12675
  readonly timestamp: string;
12440
- readonly organization: string;
12676
+ readonly organization?: string;
12677
+ readonly merchant?: string;
12678
+ readonly channel_id?: string;
12441
12679
  readonly product_sellability_result: io.flow.v0.models.ProductSellabilityResult;
12442
12680
  }
12443
12681
 
@@ -12667,6 +12905,12 @@ declare namespace io.flow.v0.models {
12667
12905
  readonly name: string;
12668
12906
  }
12669
12907
 
12908
+ interface RatecardData {
12909
+ readonly dhlParcelDistributionCenter?: string;
12910
+ readonly glbeRatecardMetadataLaneIdentifier?: string;
12911
+ readonly pickupCenter?: string;
12912
+ }
12913
+
12670
12914
  interface RatecardDeleted {
12671
12915
  readonly discriminator: 'ratecard_deleted';
12672
12916
  readonly event_id: string;
@@ -12693,13 +12937,6 @@ declare namespace io.flow.v0.models {
12693
12937
  readonly commercial_invoice_mode?: io.flow.v0.enums.CommercialInvoiceMode;
12694
12938
  }
12695
12939
 
12696
- interface RatecardEstimateSummaryForm {
12697
- readonly origin?: string;
12698
- readonly destination?: string;
12699
- readonly service?: string;
12700
- readonly center_key?: string;
12701
- }
12702
-
12703
12940
  interface RatecardEstimateV1 {
12704
12941
  readonly discriminator: 'ratecard_estimate_v1';
12705
12942
  readonly service: io.flow.v0.models.RatecardServiceSummary;
@@ -12767,7 +13004,7 @@ declare namespace io.flow.v0.models {
12767
13004
  readonly glbe_shipping_method_id?: string;
12768
13005
  readonly glbe_proposition_name?: string;
12769
13006
  readonly channel_revenue_share_percentage?: number;
12770
- readonly data?: Record<string, string>;
13007
+ readonly data?: io.flow.v0.models.RatecardData;
12771
13008
  }
12772
13009
 
12773
13010
  interface RatecardLane {
@@ -13403,12 +13640,14 @@ declare namespace io.flow.v0.models {
13403
13640
  interface SellabilityNeedsActionAttributes {
13404
13641
  readonly reason_code: string;
13405
13642
  readonly category_metafield_handles: string[];
13643
+ readonly category_metafield_ids: string[];
13406
13644
  readonly require_msds?: boolean;
13407
13645
  }
13408
13646
 
13409
13647
  interface SellabilityReasonWithRegions {
13410
13648
  readonly reason: string;
13411
13649
  readonly regions: string[];
13650
+ readonly review_status?: string;
13412
13651
  }
13413
13652
 
13414
13653
  interface SellabilityRegionResult {
@@ -13886,6 +14125,7 @@ declare namespace io.flow.v0.models {
13886
14125
  }
13887
14126
 
13888
14127
  interface ShippingRateEstimateRequest {
14128
+ readonly carrier_id: string;
13889
14129
  readonly origin_address: io.flow.v0.models.Address;
13890
14130
  readonly destination_address: io.flow.v0.models.Address;
13891
14131
  readonly package_dimensions: io.flow.v0.models.Dimension;
@@ -14459,6 +14699,29 @@ declare namespace io.flow.v0.models {
14459
14699
  readonly available: io.flow.v0.models.SurchargeResponsiblePartyDisplay[];
14460
14700
  }
14461
14701
 
14702
+ interface TariffCodes {
14703
+ readonly item_number: string;
14704
+ readonly product_id: string;
14705
+ readonly hs6_code: string;
14706
+ readonly codes: io.flow.v0.models.HarmonizationTariffCode[];
14707
+ }
14708
+
14709
+ interface TariffCodesDeleted {
14710
+ readonly discriminator: 'tariff_codes_deleted';
14711
+ readonly event_id: string;
14712
+ readonly timestamp: string;
14713
+ readonly organization: string;
14714
+ readonly id: string;
14715
+ }
14716
+
14717
+ interface TariffCodesUpserted {
14718
+ readonly discriminator: 'tariff_codes_upserted';
14719
+ readonly event_id: string;
14720
+ readonly timestamp: string;
14721
+ readonly organization: string;
14722
+ readonly tariff_codes: io.flow.v0.models.TariffCodes;
14723
+ }
14724
+
14462
14725
  interface Tax {
14463
14726
  readonly name: string;
14464
14727
  readonly rate: number;
@@ -14612,6 +14875,8 @@ declare namespace io.flow.v0.models {
14612
14875
  readonly discriminator: 'test_upserted';
14613
14876
  readonly event_id: string;
14614
14877
  readonly timestamp: string;
14878
+ readonly organization: string;
14879
+ readonly channel_id: string;
14615
14880
  readonly test: io.flow.ben.test.internal.v0.models.Test;
14616
14881
  }
14617
14882
 
@@ -15000,7 +15265,7 @@ declare namespace io.flow.v0.models {
15000
15265
  readonly label_created_at: string;
15001
15266
  readonly carrier_id: string;
15002
15267
  readonly carrier_tracking_number: string;
15003
- readonly revenue_share_percentage: number;
15268
+ readonly revenue_share_percentage?: number;
15004
15269
  readonly outbound?: io.flow.v0.models.TransactionMetadataOutboundTransaction;
15005
15270
  }
15006
15271
 
@@ -15035,11 +15300,30 @@ declare namespace io.flow.v0.models {
15035
15300
  readonly id: string;
15036
15301
  }
15037
15302
 
15303
+ interface TransactionMetadataFlatRateLabel {
15304
+ readonly discriminator: 'flat_rate_label';
15305
+ readonly flat_rate?: number;
15306
+ readonly coefficient?: number;
15307
+ }
15308
+
15038
15309
  interface TransactionMetadataManual {
15039
15310
  readonly discriminator: 'manual';
15040
15311
  readonly description: string;
15041
15312
  readonly original?: io.flow.v0.models.TransactionMetadataOriginalTransaction;
15042
15313
  readonly url?: string;
15314
+ readonly recoup?: boolean;
15315
+ }
15316
+
15317
+ interface TransactionMetadataMerchantFee {
15318
+ readonly discriminator: 'merchant_fee';
15319
+ readonly items: io.flow.v0.models.TransactionMetadataMerchantFeeItem[];
15320
+ }
15321
+
15322
+ interface TransactionMetadataMerchantFeeItem {
15323
+ readonly type: string;
15324
+ readonly amount: number;
15325
+ readonly local_amount?: number;
15326
+ readonly description?: string;
15043
15327
  }
15044
15328
 
15045
15329
  interface TransactionMetadataOriginalTransaction {
@@ -15566,6 +15850,8 @@ declare namespace io.flow.v0.unions {
15566
15850
  type Event =
15567
15851
  | io.flow.v0.models.TestUpserted
15568
15852
  | io.flow.v0.models.GenerateLoad
15853
+ | io.flow.v0.models.AmruthaItemUpserted
15854
+ | io.flow.v0.models.AmruthaItemDeleted
15569
15855
  | io.flow.v0.models.TransactionUpserted
15570
15856
  | io.flow.v0.models.OrganizationTransactionUpserted
15571
15857
  | io.flow.v0.models.OrganizationTransactionDeleted
@@ -15615,6 +15901,8 @@ declare namespace io.flow.v0.unions {
15615
15901
  | io.flow.v0.models.ConsumerInvoiceDeleted
15616
15902
  | io.flow.v0.models.CreditMemoUpserted
15617
15903
  | io.flow.v0.models.CreditMemoDeleted
15904
+ | io.flow.v0.models.FeeInvoiceUpserted
15905
+ | io.flow.v0.models.FeeInvoiceDeleted
15618
15906
  | io.flow.v0.models.CrossdockShipmentUpserted
15619
15907
  | io.flow.v0.models.RateDeleted
15620
15908
  | io.flow.v0.models.RateUpserted
@@ -15626,6 +15914,8 @@ declare namespace io.flow.v0.unions {
15626
15914
  | io.flow.v0.models.OrderUpsertedV2
15627
15915
  | io.flow.v0.models.OrderIdentifierDeletedV2
15628
15916
  | io.flow.v0.models.OrderIdentifierUpsertedV3
15917
+ | io.flow.v0.models.OrderStateUpserted
15918
+ | io.flow.v0.models.OrderStateDeleted
15629
15919
  | io.flow.v0.models.FraudStatusChanged
15630
15920
  | io.flow.v0.models.CenterUpserted
15631
15921
  | io.flow.v0.models.CenterDeleted
@@ -15650,6 +15940,8 @@ declare namespace io.flow.v0.unions {
15650
15940
  | io.flow.v0.models.ItemOriginDeleted
15651
15941
  | io.flow.v0.models.HarmonizedLandedCostUpserted
15652
15942
  | io.flow.v0.models.FullyHarmonizedItemUpserted
15943
+ | io.flow.v0.models.TariffCodesUpserted
15944
+ | io.flow.v0.models.TariffCodesDeleted
15653
15945
  | io.flow.v0.models.LabelDeletedV2
15654
15946
  | io.flow.v0.models.LabelUpsertedV2
15655
15947
  | io.flow.v0.models.NotificationUpsertedV2
@@ -15847,6 +16139,10 @@ declare namespace io.flow.v0.unions {
15847
16139
  type OrderRefundSummaryForm =
15848
16140
  | io.flow.v0.models.OrderRefundSummaryFullForm
15849
16141
  | io.flow.v0.models.OrderRefundSummaryPartialForm;
16142
+ type OrderStateRejectionReason =
16143
+ | io.flow.v0.models.OrderStateRejectionReasonRestrictedItem
16144
+ | io.flow.v0.models.OrderStateRejectionReasonDomesticOrder
16145
+ | io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
15850
16146
  type PartnerCenterFee =
15851
16147
  | io.flow.v0.models.CommercialInvoiceFee
15852
16148
  | io.flow.v0.models.InboundCartonFee
@@ -16062,7 +16358,9 @@ declare namespace io.flow.v0.unions {
16062
16358
  | io.flow.v0.models.TransactionMetadataManual
16063
16359
  | io.flow.v0.models.TransactionMetadataFailedPayout
16064
16360
  | io.flow.v0.models.TransactionMetadataPaymentTransaction
16065
- | io.flow.v0.models.TransactionMetadataTaxDuty;
16361
+ | io.flow.v0.models.TransactionMetadataTaxDuty
16362
+ | io.flow.v0.models.TransactionMetadataMerchantFee
16363
+ | io.flow.v0.models.TransactionMetadataFlatRateLabel;
16066
16364
  type TransferReference =
16067
16365
  | io.flow.v0.models.CaptureReference
16068
16366
  | io.flow.v0.models.RefundReference
@@ -16162,6 +16460,8 @@ export type AllocationUpsertedV2 = io.flow.v0.models.AllocationUpsertedV2;
16162
16460
  export type AllocationV2 = io.flow.v0.models.AllocationV2;
16163
16461
  export type AmountMargin = io.flow.v0.models.AmountMargin;
16164
16462
  export type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
16463
+ export type AmruthaItemDeleted = io.flow.v0.models.AmruthaItemDeleted;
16464
+ export type AmruthaItemUpserted = io.flow.v0.models.AmruthaItemUpserted;
16165
16465
  export type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
16166
16466
  export type ApplePayMerchantValidationPayload =
16167
16467
  io.flow.v0.models.ApplePayMerchantValidationPayload;
@@ -16788,6 +17088,10 @@ export type ExternalCard = io.flow.v0.models.ExternalCard;
16788
17088
  export type ExternalOrderSummary = io.flow.v0.models.ExternalOrderSummary;
16789
17089
  export type FeeDeduction = io.flow.v0.models.FeeDeduction;
16790
17090
  export type FeeDeductionType = io.flow.v0.enums.FeeDeductionType;
17091
+ export type FeeInvoice = io.flow.v0.models.FeeInvoice;
17092
+ export type FeeInvoiceDeleted = io.flow.v0.models.FeeInvoiceDeleted;
17093
+ export type FeeInvoiceType = io.flow.v0.enums.FeeInvoiceType;
17094
+ export type FeeInvoiceUpserted = io.flow.v0.models.FeeInvoiceUpserted;
16791
17095
  export type FeeWeight = io.flow.v0.models.FeeWeight;
16792
17096
  export type FieldValidationMax = io.flow.v0.models.FieldValidationMax;
16793
17097
  export type FieldValidationMin = io.flow.v0.models.FieldValidationMin;
@@ -16901,6 +17205,7 @@ export type HarmonizationHs6ExportType =
16901
17205
  io.flow.v0.models.HarmonizationHs6ExportType;
16902
17206
  export type HarmonizationOverviewExportType =
16903
17207
  io.flow.v0.models.HarmonizationOverviewExportType;
17208
+ export type HarmonizationTariffCode = io.flow.v0.models.HarmonizationTariffCode;
16904
17209
  export type HarmonizationTariffCodesExportType =
16905
17210
  io.flow.v0.models.HarmonizationTariffCodesExportType;
16906
17211
  export type HarmonizedCategoryReference =
@@ -17292,6 +17597,18 @@ export type OrderServiceChange = io.flow.v0.models.OrderServiceChange;
17292
17597
  export type OrderServiceChangeForm = io.flow.v0.models.OrderServiceChangeForm;
17293
17598
  export type OrderServiceChangeRequestData =
17294
17599
  io.flow.v0.models.OrderServiceChangeRequestData;
17600
+ export type OrderState = io.flow.v0.models.OrderState;
17601
+ export type OrderStateDeleted = io.flow.v0.models.OrderStateDeleted;
17602
+ export type OrderStateRejectionReason =
17603
+ io.flow.v0.unions.OrderStateRejectionReason;
17604
+ export type OrderStateRejectionReasonDomesticOrder =
17605
+ io.flow.v0.models.OrderStateRejectionReasonDomesticOrder;
17606
+ export type OrderStateRejectionReasonItemsEmpty =
17607
+ io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
17608
+ export type OrderStateRejectionReasonRestrictedItem =
17609
+ io.flow.v0.models.OrderStateRejectionReasonRestrictedItem;
17610
+ export type OrderStateStatus = io.flow.v0.enums.OrderStateStatus;
17611
+ export type OrderStateUpserted = io.flow.v0.models.OrderStateUpserted;
17295
17612
  export type OrderStatus = io.flow.v0.enums.OrderStatus;
17296
17613
  export type OrderStorage = io.flow.v0.enums.OrderStorage;
17297
17614
  export type OrderSubmissionForm = io.flow.v0.models.OrderSubmissionForm;
@@ -17750,11 +18067,10 @@ export type RateUpsertedV3 = io.flow.v0.models.RateUpsertedV3;
17750
18067
  export type RateVersion = io.flow.v0.models.RateVersion;
17751
18068
  export type Ratecard = io.flow.v0.models.Ratecard;
17752
18069
  export type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
18070
+ export type RatecardData = io.flow.v0.models.RatecardData;
17753
18071
  export type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
17754
18072
  export type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
17755
18073
  export type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateForm;
17756
- export type RatecardEstimateSummaryForm =
17757
- io.flow.v0.models.RatecardEstimateSummaryForm;
17758
18074
  export type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1;
17759
18075
  export type RatecardEstimateV2 = io.flow.v0.models.RatecardEstimateV2;
17760
18076
  export type RatecardEstimateV3 = io.flow.v0.models.RatecardEstimateV3;
@@ -18125,7 +18441,12 @@ export type SurchargeResponsiblePartyDisplay =
18125
18441
  io.flow.v0.models.SurchargeResponsiblePartyDisplay;
18126
18442
  export type SurchargeSetting = io.flow.v0.models.SurchargeSetting;
18127
18443
  export type SurchargeSettingDisplay = io.flow.v0.models.SurchargeSettingDisplay;
18444
+ export type TariffCodes = io.flow.v0.models.TariffCodes;
18445
+ export type TariffCodesDeleted = io.flow.v0.models.TariffCodesDeleted;
18446
+ export type TariffCodesUpserted = io.flow.v0.models.TariffCodesUpserted;
18128
18447
  export type Tax = io.flow.v0.models.Tax;
18448
+ export type TaxAndDutyInclusivitySetting =
18449
+ io.flow.v0.enums.TaxAndDutyInclusivitySetting;
18129
18450
  export type TaxApplicability = io.flow.v0.enums.TaxApplicability;
18130
18451
  export type TaxBreakdown = io.flow.v0.models.TaxBreakdown;
18131
18452
  export type TaxDutyCalculatorValidationError =
@@ -18248,8 +18569,14 @@ export type TransactionMetadataFailedPayout =
18248
18569
  io.flow.v0.models.TransactionMetadataFailedPayout;
18249
18570
  export type TransactionMetadataFailedPayoutReference =
18250
18571
  io.flow.v0.models.TransactionMetadataFailedPayoutReference;
18572
+ export type TransactionMetadataFlatRateLabel =
18573
+ io.flow.v0.models.TransactionMetadataFlatRateLabel;
18251
18574
  export type TransactionMetadataManual =
18252
18575
  io.flow.v0.models.TransactionMetadataManual;
18576
+ export type TransactionMetadataMerchantFee =
18577
+ io.flow.v0.models.TransactionMetadataMerchantFee;
18578
+ export type TransactionMetadataMerchantFeeItem =
18579
+ io.flow.v0.models.TransactionMetadataMerchantFeeItem;
18253
18580
  export type TransactionMetadataOriginalTransaction =
18254
18581
  io.flow.v0.models.TransactionMetadataOriginalTransaction;
18255
18582
  export type TransactionMetadataOutboundTransaction =