@flowio/types 11.24.109 → 11.24.110

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
@@ -1954,6 +1954,11 @@ declare namespace io.flow.shopify.external.v0.models {
1954
1954
  readonly weight?: io.flow.shopify.external.v0.models.GraphqlWeight;
1955
1955
  }
1956
1956
 
1957
+ interface GraphqlMetafield {
1958
+ readonly key: string;
1959
+ readonly value: string;
1960
+ }
1961
+
1957
1962
  interface GraphqlOption {
1958
1963
  readonly id: string;
1959
1964
  readonly values: string[];
@@ -1979,6 +1984,8 @@ declare namespace io.flow.shopify.external.v0.models {
1979
1984
  readonly createdAt: string;
1980
1985
  readonly updatedAt: string;
1981
1986
  readonly hasVariantsThatRequiresComponents?: boolean;
1987
+ readonly category?: io.flow.shopify.external.v0.models.GraphqlTaxonomyCategory;
1988
+ readonly metafields?: io.flow.shopify.external.v0.models.GraphqlMetafield[];
1982
1989
  }
1983
1990
 
1984
1991
  interface GraphqlProductImage {
@@ -2002,6 +2009,11 @@ declare namespace io.flow.shopify.external.v0.models {
2002
2009
  readonly inventoryItem: io.flow.shopify.external.v0.models.GraphqlInventoryItem;
2003
2010
  }
2004
2011
 
2012
+ interface GraphqlTaxonomyCategory {
2013
+ readonly name: string;
2014
+ readonly fullName: string;
2015
+ }
2016
+
2005
2017
  interface GraphqlVariantImage {
2006
2018
  readonly id: string;
2007
2019
  }
@@ -2119,6 +2131,7 @@ declare namespace io.flow.shopify.external.v0.models {
2119
2131
  readonly created_at: string;
2120
2132
  readonly updated_at: string;
2121
2133
  readonly has_variants_that_requires_components?: boolean;
2134
+ readonly category?: io.flow.product.v0.models.ProductTaxonomyCategory;
2122
2135
  }
2123
2136
 
2124
2137
  interface ProductDelete {
@@ -2878,74 +2891,6 @@ declare namespace io.flow.shopify.external.v0.models {
2878
2891
  }
2879
2892
  }
2880
2893
 
2881
- declare namespace io.flow.order.price.v0.enums {
2882
- type OrderPriceDetailComponentKey =
2883
- | 'adjustment'
2884
- | 'vat_deminimis'
2885
- | 'duty_deminimis'
2886
- | 'duties_item_price'
2887
- | 'duties_freight'
2888
- | 'duties_insurance'
2889
- | 'vat_item_price'
2890
- | 'vat_freight'
2891
- | 'vat_insurance'
2892
- | 'vat_duties_item_price'
2893
- | 'vat_duties_freight'
2894
- | 'vat_duties_insurance'
2895
- | 'item_price'
2896
- | 'item_discount'
2897
- | 'rounding'
2898
- | 'insurance'
2899
- | 'shipping'
2900
- | 'shipping_discount'
2901
- | 'order_discount'
2902
- | 'subtotal_percent_sales_margin'
2903
- | 'subtotal_vat_percent_sales_margin'
2904
- | 'subtotal_duty_percent_sales_margin'
2905
- | 'vat_subsidy'
2906
- | 'duty_subsidy'
2907
- | 'remote_area_surcharge'
2908
- | 'fuel_surcharge'
2909
- | 'emergency_situation_surcharge'
2910
- | 'peak_surcharge'
2911
- | 'duties_taxes_paid_surcharge'
2912
- | 'tip';
2913
- type OrderPriceDetailKey =
2914
- | 'adjustment'
2915
- | 'subtotal'
2916
- | 'vat'
2917
- | 'duty'
2918
- | 'shipping'
2919
- | 'insurance'
2920
- | 'discount'
2921
- | 'surcharges'
2922
- | 'tip';
2923
- }
2924
-
2925
- declare namespace io.flow.order.price.v0.models {
2926
- interface OrderPriceDetail {
2927
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
2928
- readonly currency: string;
2929
- readonly amount: number;
2930
- readonly label: string;
2931
- readonly base: io.flow.common.v0.models.Price;
2932
- readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
2933
- readonly name?: string;
2934
- readonly rate?: number;
2935
- readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
2936
- readonly rate_label?: string;
2937
- }
2938
-
2939
- interface OrderPriceDetailComponent {
2940
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
2941
- readonly currency: string;
2942
- readonly amount: number;
2943
- readonly label: string;
2944
- readonly base: io.flow.common.v0.models.Price;
2945
- readonly name?: string;
2946
- }
2947
- }
2948
-
2949
2894
  declare namespace io.flow.common.v0.enums {
2950
2895
  type AttributeDataType =
2951
2896
  | 'boolean'
@@ -3797,6 +3742,71 @@ declare namespace io.flow.price.v0.unions {
3797
3742
  | io.flow.price.v0.models.DeminimisPerItem;
3798
3743
  }
3799
3744
 
3745
+ declare namespace io.flow.channel.v0.enums {
3746
+ type ChannelCurrencyCapability =
3747
+ | 'payment_authorizations'
3748
+ | 'settlement_currency';
3749
+ }
3750
+
3751
+ declare namespace io.flow.channel.v0.models {
3752
+ interface Channel {
3753
+ readonly id: string;
3754
+ readonly name: string;
3755
+ readonly environment: io.flow.common.v0.enums.Environment;
3756
+ readonly organization_id_prefix?: string;
3757
+ }
3758
+
3759
+ interface ChannelAuthorization {
3760
+ readonly placeholder?: string;
3761
+ }
3762
+
3763
+ interface ChannelAuthorizationForm {
3764
+ readonly channel_id: string;
3765
+ }
3766
+
3767
+ interface ChannelCurrency {
3768
+ readonly id: string;
3769
+ readonly currency: string;
3770
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3771
+ readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
3772
+ }
3773
+
3774
+ interface ChannelOrganization {
3775
+ readonly id: string;
3776
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3777
+ readonly key: string;
3778
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3779
+ readonly name: string;
3780
+ readonly slug?: string;
3781
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
3782
+ readonly attributes?: Record<string, string>;
3783
+ }
3784
+
3785
+ interface ChannelOrganizationAuthorization {
3786
+ readonly placeholder?: string;
3787
+ }
3788
+
3789
+ interface ChannelOrganizationAuthorizationForm {
3790
+ readonly channel_id: string;
3791
+ readonly organization_id: string;
3792
+ }
3793
+
3794
+ interface ChannelOrganizationForm {
3795
+ readonly key: string;
3796
+ readonly name?: string;
3797
+ readonly slug?: string;
3798
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
3799
+ readonly attributes?: Record<string, string>;
3800
+ }
3801
+
3802
+ interface ChannelOrganizationPutForm {
3803
+ readonly name?: string;
3804
+ readonly slug?: string;
3805
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
3806
+ readonly attributes?: Record<string, string>;
3807
+ }
3808
+ }
3809
+
3800
3810
  declare namespace io.flow.reference.v0.enums {
3801
3811
  type PaymentMethodCapability = 'credit' | 'debit';
3802
3812
  type PaymentMethodType = 'card' | 'online' | 'offline';
@@ -3931,35 +3941,6 @@ declare namespace io.flow.reference.v0.models {
3931
3941
  }
3932
3942
  }
3933
3943
 
3934
- declare namespace io.flow.ben.test.internal.v0.models {
3935
- interface GenerateLoadMultipleOrgs {
3936
- readonly discriminator: 'generate_load_multiple_orgs';
3937
- readonly organization_ids: string[];
3938
- readonly num_events: number;
3939
- }
3940
-
3941
- interface GenerateLoadSingleOrg {
3942
- readonly discriminator: 'generate_load_single_org';
3943
- readonly organization_id: string;
3944
- readonly num_events: number;
3945
- }
3946
-
3947
- interface Test {
3948
- readonly id: string;
3949
- readonly name: string;
3950
- }
3951
-
3952
- interface TestForm {
3953
- readonly name: string;
3954
- }
3955
- }
3956
-
3957
- declare namespace io.flow.ben.test.internal.v0.unions {
3958
- type GenerateLoad =
3959
- | io.flow.ben.test.internal.v0.models.GenerateLoadSingleOrg
3960
- | io.flow.ben.test.internal.v0.models.GenerateLoadMultipleOrgs;
3961
- }
3962
-
3963
3944
  declare namespace io.flow.fulfillment.v0.enums {
3964
3945
  type CenterCapability =
3965
3946
  | 'international'
@@ -4750,6 +4731,7 @@ declare namespace io.flow.merchant.of.record.v0.enums {
4750
4731
 
4751
4732
  declare namespace io.flow.tech.onboarding.playground.v0.enums {
4752
4733
  type AldoItemType = 'physical' | 'digital';
4734
+ type AnshItemType = 'physical' | 'digital';
4753
4735
  }
4754
4736
 
4755
4737
  declare namespace io.flow.tech.onboarding.playground.v0.models {
@@ -4770,11 +4752,35 @@ declare namespace io.flow.tech.onboarding.playground.v0.models {
4770
4752
  readonly added_on: string;
4771
4753
  }
4772
4754
 
4755
+ interface AnshItem {
4756
+ readonly id: string;
4757
+ readonly number: string;
4758
+ readonly amount: io.flow.common.v0.models.Price;
4759
+ readonly description?: string;
4760
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AnshItemType;
4761
+ readonly added_on: string;
4762
+ }
4763
+
4764
+ interface AnshItemForm {
4765
+ readonly number: string;
4766
+ readonly amount: io.flow.common.v0.models.Price;
4767
+ readonly description?: string;
4768
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AnshItemType;
4769
+ readonly added_on: string;
4770
+ }
4771
+
4773
4772
  interface JeanDemoItem {
4774
4773
  readonly id: string;
4775
4774
  readonly name: string;
4776
4775
  }
4777
4776
 
4777
+ interface ShawnRoundtableWorkshopRate {
4778
+ readonly origin_country: string;
4779
+ readonly destination_country: string;
4780
+ readonly weight: number;
4781
+ readonly amount: number;
4782
+ }
4783
+
4778
4784
  interface TechOnboardingDescription {
4779
4785
  readonly description: string;
4780
4786
  }
@@ -4955,6 +4961,243 @@ declare namespace io.flow.organization.v0.models {
4955
4961
  }
4956
4962
  }
4957
4963
 
4964
+ declare namespace io.flow.order.price.v0.enums {
4965
+ type OrderPriceDetailComponentKey =
4966
+ | 'adjustment'
4967
+ | 'vat_deminimis'
4968
+ | 'duty_deminimis'
4969
+ | 'duties_item_price'
4970
+ | 'duties_freight'
4971
+ | 'duties_insurance'
4972
+ | 'vat_item_price'
4973
+ | 'vat_freight'
4974
+ | 'vat_insurance'
4975
+ | 'vat_duties_item_price'
4976
+ | 'vat_duties_freight'
4977
+ | 'vat_duties_insurance'
4978
+ | 'item_price'
4979
+ | 'item_discount'
4980
+ | 'rounding'
4981
+ | 'insurance'
4982
+ | 'shipping'
4983
+ | 'shipping_discount'
4984
+ | 'order_discount'
4985
+ | 'subtotal_percent_sales_margin'
4986
+ | 'subtotal_vat_percent_sales_margin'
4987
+ | 'subtotal_duty_percent_sales_margin'
4988
+ | 'vat_subsidy'
4989
+ | 'duty_subsidy'
4990
+ | 'remote_area_surcharge'
4991
+ | 'fuel_surcharge'
4992
+ | 'emergency_situation_surcharge'
4993
+ | 'peak_surcharge'
4994
+ | 'duties_taxes_paid_surcharge'
4995
+ | 'tip';
4996
+ type OrderPriceDetailKey =
4997
+ | 'adjustment'
4998
+ | 'subtotal'
4999
+ | 'vat'
5000
+ | 'duty'
5001
+ | 'shipping'
5002
+ | 'insurance'
5003
+ | 'discount'
5004
+ | 'surcharges'
5005
+ | 'tip';
5006
+ }
5007
+
5008
+ declare namespace io.flow.order.price.v0.models {
5009
+ interface OrderPriceDetail {
5010
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
5011
+ readonly currency: string;
5012
+ readonly amount: number;
5013
+ readonly label: string;
5014
+ readonly base: io.flow.common.v0.models.Price;
5015
+ readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
5016
+ readonly name?: string;
5017
+ readonly rate?: number;
5018
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
5019
+ readonly rate_label?: string;
5020
+ }
5021
+
5022
+ interface OrderPriceDetailComponent {
5023
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
5024
+ readonly currency: string;
5025
+ readonly amount: number;
5026
+ readonly label: string;
5027
+ readonly base: io.flow.common.v0.models.Price;
5028
+ readonly name?: string;
5029
+ }
5030
+ }
5031
+
5032
+ declare namespace io.flow.channel.internal.v0.enums {
5033
+ type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
5034
+ type ChannelOrderAcceptanceFailureReasonCode =
5035
+ | 'channel_order_mor_invalid'
5036
+ | 'channel_order_does_not_exist';
5037
+ type ChannelOrderAcceptanceNextActionFrom =
5038
+ | 'cx_team'
5039
+ | 'core_team'
5040
+ | 'core_team_investigate'
5041
+ | 'mex_team'
5042
+ | 'payments_team'
5043
+ | 'tc_team'
5044
+ | 'logistics_team';
5045
+ type ChannelOrderAcceptanceRejectionReason =
5046
+ | 'unsupported_origin_country'
5047
+ | 'unsupported_destination_country'
5048
+ | 'domestic_order'
5049
+ | 'order_contains_gift_card'
5050
+ | 'order_contains_restricted_goods'
5051
+ | 'missing_order_information'
5052
+ | 'missing_classification_information'
5053
+ | 'unsupported_payment_information'
5054
+ | 'unsupported_shop_currency'
5055
+ | 'unsupported_free_order'
5056
+ | 'extracting_distribution_info_failed'
5057
+ | 'shipping_estimation_failed'
5058
+ | 'payment_authorization_failed'
5059
+ | 'unsupported_subsidized_order'
5060
+ | 'unsupported_virtual_goods'
5061
+ | 'non_matching_currencies'
5062
+ | 'unsupported_order_edit'
5063
+ | 'order_missing';
5064
+ type ChannelOrderAcceptanceStatus =
5065
+ | 'accepted'
5066
+ | 'rejected'
5067
+ | 'review'
5068
+ | 'edit_review'
5069
+ | 'edit_accepted';
5070
+ }
5071
+
5072
+ declare namespace io.flow.channel.internal.v0.models {
5073
+ interface ChannelCurrencyForm {
5074
+ readonly currency: string;
5075
+ readonly channel_id: string;
5076
+ readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
5077
+ }
5078
+
5079
+ interface ChannelForm {
5080
+ readonly name: string;
5081
+ readonly environment: io.flow.common.v0.enums.Environment;
5082
+ readonly organization_id_prefix?: string;
5083
+ }
5084
+
5085
+ interface ChannelMembership {
5086
+ readonly id: string;
5087
+ readonly channel: io.flow.common.v0.models.ChannelReference;
5088
+ readonly user: io.flow.common.v0.unions.ExpandableUser;
5089
+ readonly role?: io.flow.common.v0.enums.Role;
5090
+ }
5091
+
5092
+ interface ChannelMembershipForm {
5093
+ readonly channel_id: string;
5094
+ readonly user_id: string;
5095
+ readonly role?: io.flow.common.v0.enums.Role;
5096
+ }
5097
+
5098
+ interface ChannelMembershipPutForm {
5099
+ readonly role?: io.flow.common.v0.enums.Role;
5100
+ }
5101
+
5102
+ interface ChannelOrderAcceptance {
5103
+ readonly id: string;
5104
+ readonly organization_id: string;
5105
+ readonly order_number: string;
5106
+ readonly channel_id: string;
5107
+ readonly external_order_reference: string;
5108
+ readonly payment_request_id?: string;
5109
+ readonly order_edit_payment_request_ids?: string[];
5110
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
5111
+ readonly reasons: io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[];
5112
+ readonly next_action_from?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
5113
+ readonly order_created_at?: string;
5114
+ readonly order_updated_at?: string;
5115
+ readonly order_edit_summary?: io.flow.channel.internal.v0.models.OrderEditSummary;
5116
+ }
5117
+
5118
+ interface ChannelOrderAcceptanceDetails {
5119
+ readonly order_acceptance: io.flow.channel.internal.v0.models.ChannelOrderAcceptance;
5120
+ readonly external_order: any /*object*/;
5121
+ }
5122
+
5123
+ interface ChannelOrderAcceptanceFailure {
5124
+ readonly id: string;
5125
+ readonly organization_id: string;
5126
+ readonly channel_id: string;
5127
+ readonly payment_request_id: string;
5128
+ readonly code: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceFailureReasonCode;
5129
+ readonly reason: string;
5130
+ }
5131
+
5132
+ interface ChannelOrderAcceptanceForm {
5133
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
5134
+ }
5135
+
5136
+ interface ChannelOrderAcceptanceReason {
5137
+ readonly description: string;
5138
+ readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
5139
+ }
5140
+
5141
+ interface FlowChannelOrganization {
5142
+ readonly placeholder?: string;
5143
+ }
5144
+
5145
+ interface OrderEditSummary {
5146
+ readonly edited_at: string;
5147
+ }
5148
+ }
5149
+
5150
+ declare namespace io.flow.product.v0.models {
5151
+ interface Product {
5152
+ readonly organization_id: string;
5153
+ readonly number: string;
5154
+ readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
5155
+ readonly taxonomy_data?: io.flow.product.v0.models.ProductTaxonomyData[];
5156
+ readonly item_numbers: string[];
5157
+ readonly updated_at: string;
5158
+ readonly deleted_at?: string;
5159
+ }
5160
+
5161
+ interface ProductTaxonomyCategory {
5162
+ readonly name: string;
5163
+ readonly full_name: string;
5164
+ }
5165
+
5166
+ interface ProductTaxonomyData {
5167
+ readonly key: string;
5168
+ readonly value: string[];
5169
+ }
5170
+ }
5171
+
5172
+ declare namespace io.flow.ben.test.internal.v0.models {
5173
+ interface GenerateLoadMultipleOrgs {
5174
+ readonly discriminator: 'generate_load_multiple_orgs';
5175
+ readonly organization_ids: string[];
5176
+ readonly num_events: number;
5177
+ }
5178
+
5179
+ interface GenerateLoadSingleOrg {
5180
+ readonly discriminator: 'generate_load_single_org';
5181
+ readonly organization_id: string;
5182
+ readonly num_events: number;
5183
+ }
5184
+
5185
+ interface Test {
5186
+ readonly id: string;
5187
+ readonly name: string;
5188
+ }
5189
+
5190
+ interface TestForm {
5191
+ readonly name: string;
5192
+ }
5193
+ }
5194
+
5195
+ declare namespace io.flow.ben.test.internal.v0.unions {
5196
+ type GenerateLoad =
5197
+ | io.flow.ben.test.internal.v0.models.GenerateLoadSingleOrg
5198
+ | io.flow.ben.test.internal.v0.models.GenerateLoadMultipleOrgs;
5199
+ }
5200
+
4958
5201
  declare namespace io.flow.catalog.v0.enums {
4959
5202
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
4960
5203
  type AttributeIntent =
@@ -5760,6 +6003,7 @@ declare namespace io.flow.v0.enums {
5760
6003
  type ChannelCurrencyCapability =
5761
6004
  | 'payment_authorizations'
5762
6005
  | 'settlement_currency';
6006
+ type ChannelShopifyOrderStateReasonCode = 'placeholder_reason_code';
5763
6007
  type ConsumerInvoiceCustomerType =
5764
6008
  | 'business_eu_verified'
5765
6009
  | 'business_non_verified'
@@ -5868,10 +6112,6 @@ declare namespace io.flow.v0.enums {
5868
6112
  | 'catalog_deleted'
5869
6113
  | 'subcatalog_upserted'
5870
6114
  | 'subcatalog_deleted'
5871
- | 'catalog_item_upserted'
5872
- | 'catalog_item_deleted'
5873
- | 'catalog_item_upserted_v2'
5874
- | 'catalog_item_deleted_v2'
5875
6115
  | 'subcatalog_item_upserted'
5876
6116
  | 'subcatalog_item_deleted'
5877
6117
  | 'catalog_statistics_upserted'
@@ -5879,6 +6119,8 @@ declare namespace io.flow.v0.enums {
5879
6119
  | 'item_inserted'
5880
6120
  | 'item_updated'
5881
6121
  | 'item_deleted'
6122
+ | 'channel_shopify_order_state_upserted'
6123
+ | 'channel_shopify_order_state_deleted'
5882
6124
  | 'channel_upserted'
5883
6125
  | 'channel_deleted'
5884
6126
  | 'channel_currency_upserted'
@@ -6027,6 +6269,9 @@ declare namespace io.flow.v0.enums {
6027
6269
  | 'price_book_deleted'
6028
6270
  | 'price_book_item_upserted'
6029
6271
  | 'price_book_item_deleted'
6272
+ | 'product_inserted'
6273
+ | 'product_updated'
6274
+ | 'product_deleted'
6030
6275
  | 'organization_rates_published'
6031
6276
  | 'ratecard_lane_upserted'
6032
6277
  | 'ratecard_lane_deleted'
@@ -6559,6 +6804,7 @@ declare namespace io.flow.v0.enums {
6559
6804
  type Role = 'admin' | 'member';
6560
6805
  type RoundingMethod = 'up' | 'down' | 'nearest';
6561
6806
  type RoundingType = 'pattern' | 'multiple';
6807
+ type RuleEffectType = 'market' | 'dhl' | 'dhl_ecommerce' | 'ups';
6562
6808
  type ScheduleExceptionStatus = 'Open' | 'Closed';
6563
6809
  type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
6564
6810
  type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
@@ -6589,6 +6835,48 @@ declare namespace io.flow.v0.enums {
6589
6835
  type StoredMethodUsageStep = 'initial' | 'subsequent';
6590
6836
  type Strategy = 'range' | 'from' | 'to';
6591
6837
  type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
6838
+ type SubstatusCode =
6839
+ | 'Delivered_001'
6840
+ | 'Delivered_002'
6841
+ | 'Delivered_003'
6842
+ | 'Delivered_004'
6843
+ | 'AvailableForPickup_001'
6844
+ | 'Exception_001'
6845
+ | 'Exception_002'
6846
+ | 'Exception_003'
6847
+ | 'Exception_004'
6848
+ | 'Exception_005'
6849
+ | 'Exception_006'
6850
+ | 'Exception_007'
6851
+ | 'Exception_008'
6852
+ | 'Exception_009'
6853
+ | 'Exception_010'
6854
+ | 'Exception_011'
6855
+ | 'Exception_012'
6856
+ | 'Exception_013'
6857
+ | 'AttemptFail_001'
6858
+ | 'AttemptFail_002'
6859
+ | 'AttemptFail_003'
6860
+ | 'InTransit_001'
6861
+ | 'InTransit_002'
6862
+ | 'InTransit_003'
6863
+ | 'InTransit_004'
6864
+ | 'InTransit_005'
6865
+ | 'InTransit_006'
6866
+ | 'InTransit_007'
6867
+ | 'InTransit_008'
6868
+ | 'InTransit_009'
6869
+ | 'InfoReceived_001'
6870
+ | 'OutForDelivery_001'
6871
+ | 'OutForDelivery_003'
6872
+ | 'OutForDelivery_004'
6873
+ | 'Pending_001'
6874
+ | 'Pending_002'
6875
+ | 'Pending_003'
6876
+ | 'Pending_004'
6877
+ | 'Pending_005'
6878
+ | 'Pending_006'
6879
+ | 'Expired_001';
6592
6880
  type SurchargeResponsibleParty = 'organization' | 'customer';
6593
6881
  type SyncRecordFailureReason =
6594
6882
  | 'inventory'
@@ -6654,7 +6942,10 @@ declare namespace io.flow.v0.enums {
6654
6942
  | 'virtual_card_capture'
6655
6943
  | 'virtual_card_refund'
6656
6944
  | 'failed_payout'
6657
- | 'tax_refund';
6945
+ | 'tax_refund'
6946
+ | 'order_fx'
6947
+ | 'ge_revenue_share'
6948
+ | 'tax_duty_delta';
6658
6949
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
6659
6950
  type TrueupSurchargeType =
6660
6951
  | 'fuel'
@@ -7932,6 +8223,11 @@ declare namespace io.flow.v0.models {
7932
8223
  readonly id: string;
7933
8224
  }
7934
8225
 
8226
+ interface CarrierRestrictions {
8227
+ readonly carrier: string;
8228
+ readonly regions: string[];
8229
+ }
8230
+
7935
8231
  interface CarrierService {
7936
8232
  readonly id: string;
7937
8233
  readonly carrier: io.flow.v0.models.Carrier;
@@ -7953,22 +8249,6 @@ declare namespace io.flow.v0.models {
7953
8249
  readonly organization: string;
7954
8250
  }
7955
8251
 
7956
- interface CatalogItemDeleted {
7957
- readonly discriminator: 'catalog_item_deleted';
7958
- readonly event_id: string;
7959
- readonly timestamp: string;
7960
- readonly organization: string;
7961
- readonly number: string;
7962
- }
7963
-
7964
- interface CatalogItemDeletedV2 {
7965
- readonly discriminator: 'catalog_item_deleted_v2';
7966
- readonly event_id: string;
7967
- readonly timestamp: string;
7968
- readonly organization: string;
7969
- readonly item: io.flow.v0.models.Item;
7970
- }
7971
-
7972
8252
  interface CatalogItemDocument {
7973
8253
  readonly discriminator: 'catalog_item_document';
7974
8254
  readonly number: string;
@@ -8001,31 +8281,6 @@ declare namespace io.flow.v0.models {
8001
8281
  readonly attributes: Record<string, string>;
8002
8282
  }
8003
8283
 
8004
- interface CatalogItemUpserted {
8005
- readonly discriminator: 'catalog_item_upserted';
8006
- readonly event_id: string;
8007
- readonly timestamp: string;
8008
- readonly organization: string;
8009
- readonly number: string;
8010
- readonly locale: string;
8011
- readonly name: string;
8012
- readonly currency: string;
8013
- readonly price: number;
8014
- readonly categories: string[];
8015
- readonly description?: string;
8016
- readonly attributes: Record<string, string>;
8017
- readonly dimensions: any /*object*/;
8018
- readonly images: any /*object*/[];
8019
- }
8020
-
8021
- interface CatalogItemUpsertedV2 {
8022
- readonly discriminator: 'catalog_item_upserted_v2';
8023
- readonly event_id: string;
8024
- readonly timestamp: string;
8025
- readonly organization: string;
8026
- readonly item: io.flow.v0.models.Item;
8027
- }
8028
-
8029
8284
  interface CatalogPriceBookItemDocument {
8030
8285
  readonly price_book_key: string;
8031
8286
  readonly price_book_item_key: string;
@@ -8321,6 +8576,39 @@ declare namespace io.flow.v0.models {
8321
8576
  readonly id: string;
8322
8577
  }
8323
8578
 
8579
+ interface ChannelShopifyOrderState {
8580
+ readonly id: string;
8581
+ readonly shopify_order_summary: io.flow.v0.models.ChannelShopifyOrderSummary;
8582
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
8583
+ readonly reasons?: io.flow.v0.models.ChannelShopifyOrderStateReason[];
8584
+ }
8585
+
8586
+ interface ChannelShopifyOrderStateDeleted {
8587
+ readonly discriminator: 'channel_shopify_order_state_deleted';
8588
+ readonly event_id: string;
8589
+ readonly timestamp: string;
8590
+ readonly organization: string;
8591
+ readonly id: string;
8592
+ }
8593
+
8594
+ interface ChannelShopifyOrderStateReason {
8595
+ readonly code: io.flow.v0.enums.ChannelShopifyOrderStateReasonCode;
8596
+ readonly message: string;
8597
+ }
8598
+
8599
+ interface ChannelShopifyOrderStateUpserted {
8600
+ readonly discriminator: 'channel_shopify_order_state_upserted';
8601
+ readonly event_id: string;
8602
+ readonly timestamp: string;
8603
+ readonly organization: string;
8604
+ readonly channel_shopify_order_state: io.flow.v0.models.ChannelShopifyOrderState;
8605
+ }
8606
+
8607
+ interface ChannelShopifyOrderSummary {
8608
+ readonly order_id: number;
8609
+ readonly shop_id: number;
8610
+ }
8611
+
8324
8612
  interface ChannelStatement {
8325
8613
  readonly id: string;
8326
8614
  readonly account: io.flow.v0.models.AccountReference;
@@ -9318,12 +9606,14 @@ declare namespace io.flow.v0.models {
9318
9606
  readonly q: string;
9319
9607
  readonly dimensions: io.flow.v0.models.EstimatedDimensions;
9320
9608
  readonly position: number;
9609
+ readonly block_bulk_update?: boolean;
9321
9610
  }
9322
9611
 
9323
9612
  interface DimensionEstimateForm {
9324
9613
  readonly q: string;
9325
9614
  readonly dimensions: io.flow.v0.models.EstimatedDimensions;
9326
9615
  readonly position?: number;
9616
+ readonly block_bulk_update?: boolean;
9327
9617
  }
9328
9618
 
9329
9619
  interface DimensionEstimateVersion {
@@ -13999,7 +14289,6 @@ declare namespace io.flow.v0.models {
13999
14289
  }
14000
14290
 
14001
14291
  interface Product {
14002
- readonly id: string;
14003
14292
  readonly organization_id: string;
14004
14293
  readonly number: string;
14005
14294
  readonly taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
@@ -14009,6 +14298,22 @@ declare namespace io.flow.v0.models {
14009
14298
  readonly deleted_at?: string;
14010
14299
  }
14011
14300
 
14301
+ interface ProductDeleted {
14302
+ readonly discriminator: 'product_deleted';
14303
+ readonly event_id: string;
14304
+ readonly timestamp: string;
14305
+ readonly organization: string;
14306
+ readonly product: io.flow.v0.models.Product;
14307
+ }
14308
+
14309
+ interface ProductInserted {
14310
+ readonly discriminator: 'product_inserted';
14311
+ readonly event_id: string;
14312
+ readonly timestamp: string;
14313
+ readonly organization: string;
14314
+ readonly product: io.flow.v0.models.Product;
14315
+ }
14316
+
14012
14317
  interface ProductRestrictionResult {
14013
14318
  readonly id: string;
14014
14319
  readonly product_id: string;
@@ -14038,9 +14343,32 @@ declare namespace io.flow.v0.models {
14038
14343
  readonly product_restriction_result: io.flow.v0.models.ProductRestrictionResult;
14039
14344
  }
14040
14345
 
14346
+ interface ProductSellability {
14347
+ readonly organization_id: string;
14348
+ readonly product_id?: string;
14349
+ readonly product_correlation_id: string;
14350
+ readonly restricted_regions: io.flow.v0.models.SellablilityRegionResult[];
14351
+ readonly in_review_regions: io.flow.v0.models.SellablilityRegionResult[];
14352
+ }
14353
+
14354
+ interface ProductSellabilityForm {
14355
+ readonly organization_id: string;
14356
+ readonly product_id?: string;
14357
+ readonly product_correlation_id: string;
14358
+ readonly name: string;
14359
+ readonly price: io.flow.v0.models.ProductSellabilityPrice;
14360
+ readonly description: string;
14361
+ readonly taxonomy_category: io.flow.v0.models.ProductTaxonomyCategory;
14362
+ }
14363
+
14364
+ interface ProductSellabilityPrice {
14365
+ readonly currency: string;
14366
+ readonly amount: number;
14367
+ }
14368
+
14041
14369
  interface ProductTaxonomyCategory {
14042
14370
  readonly name: string;
14043
- readonly fullname: string;
14371
+ readonly full_name: string;
14044
14372
  }
14045
14373
 
14046
14374
  interface ProductTaxonomyData {
@@ -14048,6 +14376,14 @@ declare namespace io.flow.v0.models {
14048
14376
  readonly value: string[];
14049
14377
  }
14050
14378
 
14379
+ interface ProductUpdated {
14380
+ readonly discriminator: 'product_updated';
14381
+ readonly event_id: string;
14382
+ readonly timestamp: string;
14383
+ readonly organization: string;
14384
+ readonly product: io.flow.v0.models.Product;
14385
+ }
14386
+
14051
14387
  interface PromotionTrigger {
14052
14388
  readonly type: io.flow.v0.enums.PromotionTriggerType;
14053
14389
  readonly min: io.flow.v0.models.Price;
@@ -14993,6 +15329,11 @@ declare namespace io.flow.v0.models {
14993
15329
  readonly issuer_options: io.flow.v0.models.IssuerReference[];
14994
15330
  }
14995
15331
 
15332
+ interface SellablilityRegionResult {
15333
+ readonly type: io.flow.v0.enums.RuleEffectType;
15334
+ readonly regions: string[];
15335
+ }
15336
+
14996
15337
  interface ServiceReference {
14997
15338
  readonly id: string;
14998
15339
  }
@@ -16954,10 +17295,6 @@ declare namespace io.flow.v0.unions {
16954
17295
  | io.flow.v0.models.CatalogDeleted
16955
17296
  | io.flow.v0.models.SubcatalogUpserted
16956
17297
  | io.flow.v0.models.SubcatalogDeleted
16957
- | io.flow.v0.models.CatalogItemUpserted
16958
- | io.flow.v0.models.CatalogItemDeleted
16959
- | io.flow.v0.models.CatalogItemUpsertedV2
16960
- | io.flow.v0.models.CatalogItemDeletedV2
16961
17298
  | io.flow.v0.models.SubcatalogItemUpserted
16962
17299
  | io.flow.v0.models.SubcatalogItemDeleted
16963
17300
  | io.flow.v0.models.CatalogStatisticsUpserted
@@ -16965,6 +17302,8 @@ declare namespace io.flow.v0.unions {
16965
17302
  | io.flow.v0.models.ItemInserted
16966
17303
  | io.flow.v0.models.ItemUpdated
16967
17304
  | io.flow.v0.models.ItemDeleted
17305
+ | io.flow.v0.models.ChannelShopifyOrderStateUpserted
17306
+ | io.flow.v0.models.ChannelShopifyOrderStateDeleted
16968
17307
  | io.flow.v0.models.ChannelUpserted
16969
17308
  | io.flow.v0.models.ChannelDeleted
16970
17309
  | io.flow.v0.models.ChannelCurrencyUpserted
@@ -17113,6 +17452,9 @@ declare namespace io.flow.v0.unions {
17113
17452
  | io.flow.v0.models.PriceBookDeleted
17114
17453
  | io.flow.v0.models.PriceBookItemUpserted
17115
17454
  | io.flow.v0.models.PriceBookItemDeleted
17455
+ | io.flow.v0.models.ProductInserted
17456
+ | io.flow.v0.models.ProductUpdated
17457
+ | io.flow.v0.models.ProductDeleted
17116
17458
  | io.flow.v0.models.OrganizationRatesPublished
17117
17459
  | io.flow.v0.models.RatecardLaneUpserted
17118
17460
  | io.flow.v0.models.RatecardLaneDeleted
@@ -17715,20 +18057,17 @@ export type CardVersion = io.flow.v0.models.CardVersion;
17715
18057
  export type Carrier = io.flow.v0.models.Carrier;
17716
18058
  export type CarrierChargeReason = io.flow.v0.enums.CarrierChargeReason;
17717
18059
  export type CarrierReference = io.flow.v0.models.CarrierReference;
18060
+ export type CarrierRestrictions = io.flow.v0.models.CarrierRestrictions;
17718
18061
  export type CarrierService = io.flow.v0.models.CarrierService;
17719
18062
  export type CartReference = io.flow.v0.models.CartReference;
17720
18063
  export type Catalog = io.flow.v0.models.Catalog;
17721
18064
  export type CatalogDeleted = io.flow.v0.models.CatalogDeleted;
17722
- export type CatalogItemDeleted = io.flow.v0.models.CatalogItemDeleted;
17723
- export type CatalogItemDeletedV2 = io.flow.v0.models.CatalogItemDeletedV2;
17724
18065
  export type CatalogItemDocument = io.flow.v0.models.CatalogItemDocument;
17725
18066
  export type CatalogItemDocumentImages =
17726
18067
  io.flow.v0.models.CatalogItemDocumentImages;
17727
18068
  export type CatalogItemExportType = io.flow.v0.models.CatalogItemExportType;
17728
18069
  export type CatalogItemReference = io.flow.v0.models.CatalogItemReference;
17729
18070
  export type CatalogItemSummary = io.flow.v0.models.CatalogItemSummary;
17730
- export type CatalogItemUpserted = io.flow.v0.models.CatalogItemUpserted;
17731
- export type CatalogItemUpsertedV2 = io.flow.v0.models.CatalogItemUpsertedV2;
17732
18071
  export type CatalogPriceBookItemDocument =
17733
18072
  io.flow.v0.models.CatalogPriceBookItemDocument;
17734
18073
  export type CatalogReference = io.flow.v0.models.CatalogReference;
@@ -17788,6 +18127,18 @@ export type ChannelPendingPayoutTransactionUpserted =
17788
18127
  io.flow.v0.models.ChannelPendingPayoutTransactionUpserted;
17789
18128
  export type ChannelRate = io.flow.v0.models.ChannelRate;
17790
18129
  export type ChannelReference = io.flow.v0.models.ChannelReference;
18130
+ export type ChannelShopifyOrderState =
18131
+ io.flow.v0.models.ChannelShopifyOrderState;
18132
+ export type ChannelShopifyOrderStateDeleted =
18133
+ io.flow.v0.models.ChannelShopifyOrderStateDeleted;
18134
+ export type ChannelShopifyOrderStateReason =
18135
+ io.flow.v0.models.ChannelShopifyOrderStateReason;
18136
+ export type ChannelShopifyOrderStateReasonCode =
18137
+ io.flow.v0.enums.ChannelShopifyOrderStateReasonCode;
18138
+ export type ChannelShopifyOrderStateUpserted =
18139
+ io.flow.v0.models.ChannelShopifyOrderStateUpserted;
18140
+ export type ChannelShopifyOrderSummary =
18141
+ io.flow.v0.models.ChannelShopifyOrderSummary;
17791
18142
  export type ChannelStatement = io.flow.v0.models.ChannelStatement;
17792
18143
  export type ChannelStatementDeleted = io.flow.v0.models.ChannelStatementDeleted;
17793
18144
  export type ChannelStatementUpserted =
@@ -19078,6 +19429,8 @@ export type PricingUpserted = io.flow.v0.models.PricingUpserted;
19078
19429
  export type PricingVersion = io.flow.v0.models.PricingVersion;
19079
19430
  export type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
19080
19431
  export type Product = io.flow.v0.models.Product;
19432
+ export type ProductDeleted = io.flow.v0.models.ProductDeleted;
19433
+ export type ProductInserted = io.flow.v0.models.ProductInserted;
19081
19434
  export type ProductRestrictionResult =
19082
19435
  io.flow.v0.models.ProductRestrictionResult;
19083
19436
  export type ProductRestrictionResultDeleted =
@@ -19085,8 +19438,12 @@ export type ProductRestrictionResultDeleted =
19085
19438
  export type ProductRestrictionResultUpserted =
19086
19439
  io.flow.v0.models.ProductRestrictionResultUpserted;
19087
19440
  export type ProductRestrictionRule = io.flow.v0.enums.ProductRestrictionRule;
19441
+ export type ProductSellability = io.flow.v0.models.ProductSellability;
19442
+ export type ProductSellabilityForm = io.flow.v0.models.ProductSellabilityForm;
19443
+ export type ProductSellabilityPrice = io.flow.v0.models.ProductSellabilityPrice;
19088
19444
  export type ProductTaxonomyCategory = io.flow.v0.models.ProductTaxonomyCategory;
19089
19445
  export type ProductTaxonomyData = io.flow.v0.models.ProductTaxonomyData;
19446
+ export type ProductUpdated = io.flow.v0.models.ProductUpdated;
19090
19447
  export type Promotion = io.flow.v0.unions.Promotion;
19091
19448
  export type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
19092
19449
  export type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
@@ -19242,6 +19599,7 @@ export type Rounding = io.flow.v0.models.Rounding;
19242
19599
  export type RoundingMethod = io.flow.v0.enums.RoundingMethod;
19243
19600
  export type RoundingType = io.flow.v0.enums.RoundingType;
19244
19601
  export type RouteAudit = io.flow.v0.models.RouteAudit;
19602
+ export type RuleEffectType = io.flow.v0.enums.RuleEffectType;
19245
19603
  export type Schedule = io.flow.v0.models.Schedule;
19246
19604
  export type ScheduleExceptionStatus = io.flow.v0.enums.ScheduleExceptionStatus;
19247
19605
  export type ScheduledExport = io.flow.v0.models.ScheduledExport;
@@ -19253,6 +19611,8 @@ export type SecurityRatecardFee = io.flow.v0.models.SecurityRatecardFee;
19253
19611
  export type SecurityServiceFee = io.flow.v0.models.SecurityServiceFee;
19254
19612
  export type SelectIssuerOptionActionDetails =
19255
19613
  io.flow.v0.models.SelectIssuerOptionActionDetails;
19614
+ export type SellablilityRegionResult =
19615
+ io.flow.v0.models.SellablilityRegionResult;
19256
19616
  export type ServiceDescription = io.flow.v0.unions.ServiceDescription;
19257
19617
  export type ServiceFee = io.flow.v0.unions.ServiceFee;
19258
19618
  export type ServiceReference = io.flow.v0.models.ServiceReference;
@@ -19450,6 +19810,7 @@ export type SubcatalogSettingsForm = io.flow.v0.models.SubcatalogSettingsForm;
19450
19810
  export type SubcatalogStatistics = io.flow.v0.models.SubcatalogStatistics;
19451
19811
  export type SubcatalogUpserted = io.flow.v0.models.SubcatalogUpserted;
19452
19812
  export type SubcatalogVersion = io.flow.v0.models.SubcatalogVersion;
19813
+ export type SubstatusCode = io.flow.v0.enums.SubstatusCode;
19453
19814
  export type Suggestion = io.flow.v0.models.Suggestion;
19454
19815
  export type SummaryShippingLabelForm =
19455
19816
  io.flow.v0.models.SummaryShippingLabelForm;