@flowio/api-internal-mock-generator 5.31.138 → 5.31.140

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.
@@ -7,7 +7,7 @@
7
7
  "key" : "api-internal"
8
8
  },
9
9
  "namespace" : "io.flow.internal.v0",
10
- "version" : "0.29.69",
10
+ "version" : "0.30.5",
11
11
  "info" : {
12
12
  "license" : {
13
13
  "name" : "MIT",
@@ -20,21 +20,6 @@
20
20
  },
21
21
  "headers" : [ ],
22
22
  "imports" : [ {
23
- "uri" : "https://app.apibuilder.io/flow/common/latest/service.json",
24
- "namespace" : "io.flow.common.v0",
25
- "organization" : {
26
- "key" : "flow"
27
- },
28
- "application" : {
29
- "key" : "common"
30
- },
31
- "version" : "0.21.83",
32
- "enums" : [ "attribute_data_type", "availability_status", "calendar", "capability", "change_type", "currency_label_formatter", "currency_symbol_format", "day_of_week", "delivered_duty", "discount_target", "entity_identifier_type", "environment", "exception_type", "goods_supply", "holiday_calendar", "included_levy_key", "incoterm", "input_specification_type", "margin_type", "measurement_system", "merchant_of_record", "order_merchant_of_record", "organization_status", "organization_type", "price_book_status", "role", "rounding_method", "rounding_type", "schedule_exception_status", "sort_direction", "unit_of_measurement", "unit_of_time", "user_status", "value_added_service", "visibility" ],
33
- "interfaces" : [ "id_reference" ],
34
- "unions" : [ "discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "logo_image", "price_source", "repeat_schedule" ],
35
- "models" : [ "address", "billing_address", "catalog_item_reference", "catalog_item_summary", "channel_reference", "checkout_reference", "contact", "customer_invoice", "customer_reference", "datetime_range", "dimension", "dimensions", "discount_form", "discount_offer_fixed", "discount_offer_percent", "discounts_form", "duration", "entity_identifier", "exception", "experience_summary", "included_levies", "input_form", "input_form_specification", "input_specification", "input_specification_limitation_max", "input_specification_limitations", "item_reference", "line_item", "line_item_attributes_form", "line_item_form", "line_item_quantity_form", "logo_image_set_static", "logo_image_static", "logo_image_svg", "margin", "measurement", "merchant_of_record_entity", "merchant_of_record_entity_registration", "money", "money_with_base", "money_with_optional_base", "name", "order_customer", "order_customer_form", "organization", "organization_defaults", "organization_reference", "organization_summary", "partner_reference", "price", "price_form", "price_source_catalog", "price_source_price_book", "price_source_price_book_reference", "price_source_provided", "price_with_base", "repeat_daily", "repeat_hourly", "repeat_monthly", "repeat_weekly", "rounding", "schedule", "session_reference", "user", "user_reference", "zone" ],
36
- "annotations" : [ ]
37
- }, {
38
23
  "uri" : "https://app.apibuilder.io/flow/error/latest/service.json",
39
24
  "namespace" : "io.flow.error.v0",
40
25
  "organization" : {
@@ -43,7 +28,7 @@
43
28
  "application" : {
44
29
  "key" : "error"
45
30
  },
46
- "version" : "0.21.83",
31
+ "version" : "0.21.96",
47
32
  "enums" : [ "generic_error_code" ],
48
33
  "interfaces" : [ ],
49
34
  "unions" : [ ],
@@ -58,12 +43,27 @@
58
43
  "application" : {
59
44
  "key" : "catalog"
60
45
  },
61
- "version" : "0.21.83",
46
+ "version" : "0.21.96",
62
47
  "enums" : [ "adjustment_reason_key", "attribute_intent", "cpsc_attribute", "fulfillment_method_type", "fulfillment_method_value", "image_tag", "return_item_status", "subcatalog_item_status", "taxability_type", "taxability_value", "update_policy" ],
63
48
  "interfaces" : [ "localized_price" ],
64
49
  "unions" : [ "expandable_subcatalog", "localized_price" ],
65
50
  "models" : [ "adjustment_reason", "attribute", "attribute_form", "attribute_version", "catalog", "catalog_reference", "catalog_statistics", "catalog_version", "flow_item_index_metadata", "image", "image_form", "item", "item_attributes_patch_form", "item_form", "item_form_overlay", "item_form_overlay_form", "item_price_update_form", "item_price_update_put_form", "item_statistics", "item_version", "local", "localized_adjustment", "localized_item_duty", "localized_item_price", "localized_item_vat", "localized_total", "options", "subcatalog", "subcatalog_form", "subcatalog_item", "subcatalog_item_version", "subcatalog_reference", "subcatalog_settings", "subcatalog_settings_form", "subcatalog_statistics", "subcatalog_version" ],
66
51
  "annotations" : [ ]
52
+ }, {
53
+ "uri" : "https://app.apibuilder.io/flow/common/latest/service.json",
54
+ "namespace" : "io.flow.common.v0",
55
+ "organization" : {
56
+ "key" : "flow"
57
+ },
58
+ "application" : {
59
+ "key" : "common"
60
+ },
61
+ "version" : "0.21.96",
62
+ "enums" : [ "attribute_data_type", "availability_status", "calendar", "capability", "change_type", "currency_label_formatter", "currency_symbol_format", "day_of_week", "delivered_duty", "discount_target", "entity_identifier_type", "environment", "exception_type", "goods_supply", "holiday_calendar", "included_levy_key", "incoterm", "input_specification_type", "margin_type", "measurement_system", "merchant_of_record", "order_merchant_of_record", "organization_status", "organization_type", "price_book_status", "role", "rounding_method", "rounding_type", "schedule_exception_status", "sort_direction", "unit_of_measurement", "unit_of_time", "user_status", "value_added_service", "visibility" ],
63
+ "interfaces" : [ "id_reference" ],
64
+ "unions" : [ "discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "logo_image", "price_source", "repeat_schedule" ],
65
+ "models" : [ "address", "billing_address", "catalog_item_reference", "catalog_item_summary", "channel_reference", "checkout_reference", "contact", "customer_invoice", "customer_reference", "datetime_range", "dimension", "dimensions", "discount_form", "discount_offer_fixed", "discount_offer_percent", "discounts_form", "duration", "entity_identifier", "exception", "experience_summary", "included_levies", "input_form", "input_form_specification", "input_specification", "input_specification_limitation_max", "input_specification_limitations", "item_reference", "line_item", "line_item_attributes_form", "line_item_form", "line_item_quantity_form", "logo_image_set_static", "logo_image_static", "logo_image_svg", "margin", "measurement", "merchant_of_record_entity", "merchant_of_record_entity_registration", "money", "money_with_base", "money_with_optional_base", "name", "order_customer", "order_customer_form", "organization", "organization_defaults", "organization_reference", "organization_summary", "partner_reference", "price", "price_form", "price_source_catalog", "price_source_price_book", "price_source_price_book_reference", "price_source_provided", "price_with_base", "repeat_daily", "repeat_hourly", "repeat_monthly", "repeat_weekly", "rounding", "schedule", "session_reference", "user", "user_reference", "zone" ],
66
+ "annotations" : [ ]
67
67
  }, {
68
68
  "uri" : "https://app.apibuilder.io/flow/experience/latest/service.json",
69
69
  "namespace" : "io.flow.experience.v0",
@@ -73,7 +73,7 @@
73
73
  "application" : {
74
74
  "key" : "experience"
75
75
  },
76
- "version" : "0.21.83",
76
+ "version" : "0.21.96",
77
77
  "enums" : [ "address_field_name", "credit_payment_error_code", "delivered_duty_display_type", "discount_rule_status", "discount_rule_subsidy_target", "experience_clone_status", "experience_country_status", "experience_payment_method_tag", "experience_status", "incoterm_configuration", "order_error_code", "order_payment_source_type", "order_payment_type", "order_refund_summary_includes", "order_refund_summary_partial_charged", "order_status", "order_storage", "order_type", "organization_payment_method_tag", "payment_method_rule_content_key", "price_facet_boundary", "pricing_type", "promotion_trigger_type", "tax_and_duty_inclusivity_setting" ],
78
78
  "interfaces" : [ "allocation_component", "allocation_detail", "allocation_line_summary_fields", "expandable_experience", "expandable_order" ],
79
79
  "unions" : [ "allocation_component", "allocation_detail", "discount_rule_entitlement", "expandable_experience", "expandable_order", "order_number_generator", "order_promotion", "order_promotion_form", "order_refund_summary_form", "payment_method_tag", "promotion" ],
@@ -88,7 +88,7 @@
88
88
  "application" : {
89
89
  "key" : "payment"
90
90
  },
91
- "version" : "0.21.83",
91
+ "version" : "0.21.96",
92
92
  "enums" : [ "address_verification_result_field_code", "authorization_decline_code", "authorization_option", "authorization_result_action_type", "authorization_status", "avs_code", "capture_decline_code", "capture_status", "card_error_code", "card_type", "cvv_code", "cvv_result_code", "payment_error_code", "payment_fee_type", "payment_source_confirmation_action_type", "refund_decline_code", "refund_failure_category", "refund_status", "reversal_error_code", "reversal_status", "stored_method_usage_step", "three_d_secure_code", "threeds_two_challenge_viewport", "token_type", "transfer_status", "transfer_type" ],
93
93
  "interfaces" : [ "authorization", "device_details", "payment", "payment_processor_transaction_details" ],
94
94
  "unions" : [ "adyen_native_data", "authorization", "authorization_form", "authorization_payload_parameters", "authorization_result_action", "authorization_result_action_details", "browser_action_configuration", "confirmation_details", "device_details", "expandable_card", "expandable_payment_processor", "gateway_authentication_data", "gateway_authentication_data_form", "inline_action_configuration", "online_authorization_details", "payment", "payment_form", "payment_order_reference", "payment_processor_transaction_details", "payment_source", "payment_source_form", "threeds_challenge_action", "threeds_identify_action", "transaction_details", "transfer_reference" ],
@@ -103,7 +103,7 @@
103
103
  "application" : {
104
104
  "key" : "trueup"
105
105
  },
106
- "version" : "0.21.83",
106
+ "version" : "0.21.96",
107
107
  "enums" : [ "carrier_charge_reason", "trueup_surcharge_type" ],
108
108
  "interfaces" : [ ],
109
109
  "unions" : [ "label_surcharge_detail" ],
@@ -118,7 +118,7 @@
118
118
  "application" : {
119
119
  "key" : "billing"
120
120
  },
121
- "version" : "0.21.83",
121
+ "version" : "0.21.96",
122
122
  "enums" : [ "fee_deduction_type", "payout_attachment_type", "payout_status_failure_code", "pending_payout_transaction_reason_code", "statement_attachment_type", "statement_status_code", "tax_duty_transaction_reason_code", "transaction_source", "trueup_source", "withholding_deduction_type" ],
123
123
  "interfaces" : [ "bank_account", "default_bank_account", "generic_statement", "generic_transaction", "payout", "payout_interface", "pending_payout_transaction" ],
124
124
  "unions" : [ "bank_account_form", "payout_status", "settlement", "transaction_metadata" ],
@@ -133,7 +133,7 @@
133
133
  "application" : {
134
134
  "key" : "label"
135
135
  },
136
- "version" : "0.21.83",
136
+ "version" : "0.21.96",
137
137
  "enums" : [ "commercial_invoice_mode", "cost_estimate_source", "direction", "label_request_method", "label_trigger_method", "origin_location_source", "package_dimensions_source", "shipment_recipient", "shipping_cost_guarantee", "shipping_label_error_code", "tracking_number_type" ],
138
138
  "interfaces" : [ "shipping_label_form_interface" ],
139
139
  "unions" : [ "shipping_label_form", "shipping_notification_form" ],
@@ -148,11 +148,11 @@
148
148
  "application" : {
149
149
  "key" : "order-price"
150
150
  },
151
- "version" : "0.21.83",
152
- "enums" : [ "order_price_detail_component_key", "order_price_detail_key", "order_price_fee_type" ],
151
+ "version" : "0.21.96",
152
+ "enums" : [ "order_price_coefficient_type", "order_price_detail_component_key", "order_price_detail_key", "order_price_fee_type", "order_price_subsidy_type" ],
153
153
  "interfaces" : [ ],
154
154
  "unions" : [ ],
155
- "models" : [ "order_price_detail", "order_price_detail_breakdown", "order_price_detail_component", "order_price_fee", "purchase_price_breakdown" ],
155
+ "models" : [ "order_price_coefficient", "order_price_detail", "order_price_detail_breakdown", "order_price_detail_component", "order_price_fee", "order_price_subsidy", "purchase_price_breakdown" ],
156
156
  "annotations" : [ ]
157
157
  }, {
158
158
  "uri" : "https://app.apibuilder.io/flow/billing-bank-account/latest/service.json",
@@ -163,11 +163,11 @@
163
163
  "application" : {
164
164
  "key" : "billing-bank-account"
165
165
  },
166
- "version" : "0.21.83",
166
+ "version" : "0.21.96",
167
167
  "enums" : [ ],
168
168
  "interfaces" : [ "bank_account_iban", "bank_account_simple" ],
169
169
  "unions" : [ "bank_account_info" ],
170
- "models" : [ "bank_account_info_can", "bank_account_info_fra", "bank_account_info_gbr", "bank_account_info_ita", "bank_account_info_kor", "bank_account_info_usa" ],
170
+ "models" : [ "bank_account_info_can", "bank_account_info_fra", "bank_account_info_gbr", "bank_account_info_ita", "bank_account_info_kor", "bank_account_info_kor_v2", "bank_account_info_usa" ],
171
171
  "annotations" : [ ]
172
172
  }, {
173
173
  "uri" : "https://app.apibuilder.io/flow/reference/latest/service.json",
@@ -178,7 +178,7 @@
178
178
  "application" : {
179
179
  "key" : "reference"
180
180
  },
181
- "version" : "0.21.83",
181
+ "version" : "0.21.96",
182
182
  "enums" : [ "payment_method_capability", "payment_method_type", "postal_type", "province_type" ],
183
183
  "interfaces" : [ ],
184
184
  "unions" : [ ],
@@ -193,7 +193,7 @@
193
193
  "application" : {
194
194
  "key" : "units"
195
195
  },
196
- "version" : "0.21.83",
196
+ "version" : "0.21.96",
197
197
  "enums" : [ "unit_of_length", "unit_of_volume", "unit_of_weight" ],
198
198
  "interfaces" : [ ],
199
199
  "unions" : [ ],
@@ -208,7 +208,7 @@
208
208
  "application" : {
209
209
  "key" : "query-builder"
210
210
  },
211
- "version" : "0.21.83",
211
+ "version" : "0.21.96",
212
212
  "enums" : [ "available_filter_format" ],
213
213
  "interfaces" : [ ],
214
214
  "unions" : [ "available_filter", "query_builder_form", "query_filter", "query_filter_form" ],
@@ -223,27 +223,12 @@
223
223
  "application" : {
224
224
  "key" : "channel-currency"
225
225
  },
226
- "version" : "0.21.83",
226
+ "version" : "0.21.96",
227
227
  "enums" : [ ],
228
228
  "interfaces" : [ ],
229
229
  "unions" : [ ],
230
230
  "models" : [ "channel_currency_pair", "channel_currency_rate", "channel_rate" ],
231
231
  "annotations" : [ ]
232
- }, {
233
- "uri" : "https://app.apibuilder.io/flow/channel-shopify/latest/service.json",
234
- "namespace" : "io.flow.channel.shopify.v0",
235
- "organization" : {
236
- "key" : "flow"
237
- },
238
- "application" : {
239
- "key" : "channel-shopify"
240
- },
241
- "version" : "0.21.83",
242
- "enums" : [ "channel_shopify_order_state_reason_code" ],
243
- "interfaces" : [ ],
244
- "unions" : [ ],
245
- "models" : [ "channel_shopify_order_state", "channel_shopify_order_state_reason", "channel_shopify_order_summary", "external_order_summary" ],
246
- "annotations" : [ ]
247
232
  }, {
248
233
  "uri" : "https://app.apibuilder.io/flow/channel/latest/service.json",
249
234
  "namespace" : "io.flow.channel.v0",
@@ -253,7 +238,7 @@
253
238
  "application" : {
254
239
  "key" : "channel"
255
240
  },
256
- "version" : "0.21.83",
241
+ "version" : "0.21.96",
257
242
  "enums" : [ "channel_currency_capability" ],
258
243
  "interfaces" : [ ],
259
244
  "unions" : [ ],
@@ -268,7 +253,7 @@
268
253
  "application" : {
269
254
  "key" : "adyen"
270
255
  },
271
- "version" : "0.4.95",
256
+ "version" : "0.5.0",
272
257
  "enums" : [ "channel", "contract", "device_channel", "dispute_status", "event_code", "http_redirect_method", "lifecycle_stage", "operation", "payment_method", "payment_record_type", "recurring_processing_model", "result_code", "shopper_interaction", "threeds_completion_indicator" ],
273
258
  "interfaces" : [ ],
274
259
  "unions" : [ "browser_info", "payment_method_data" ],
@@ -283,7 +268,7 @@
283
268
  "application" : {
284
269
  "key" : "paypal"
285
270
  },
286
- "version" : "0.4.95",
271
+ "version" : "0.5.0",
287
272
  "enums" : [ "adjudication_type", "affected_party", "allowed_payment_method", "cancellation_mode", "carrier_name", "dispute_channel", "dispute_life_cycle_stage", "dispute_merchant_contacted_mode", "dispute_merchant_contacted_outcome", "dispute_outcome_code", "dispute_reason", "dispute_status", "event_type", "evidence_type", "failure_reason", "grant_type", "http_method", "intent", "issue_type", "message_poster", "money_movement_reason", "money_movement_type", "offer_type", "other_means_payment_method", "payer_status", "payment_method", "payment_pattern", "product_received", "refund_state", "reporting_balance_affecting_records_only", "reporting_transaction_field", "reporting_transaction_status", "return_acknowledgement_type", "return_mode", "sale_state", "service_started", "shipping_display_preference", "state", "sub_reason", "supporting_info_source", "transaction_status", "user_action_prompt" ],
288
273
  "interfaces" : [ ],
289
274
  "unions" : [ ],
@@ -298,7 +283,7 @@
298
283
  "application" : {
299
284
  "key" : "stripe"
300
285
  },
301
- "version" : "0.4.95",
286
+ "version" : "0.5.0",
302
287
  "enums" : [ "account_type", "apple_pay_type", "balance_transaction_type", "bank_ideal", "bic_ideal", "cancellation_reason", "capability_status", "capture_method", "card_brand", "card_funding_type", "card_network", "check_outcome", "code_verification_status", "confirmation_method", "connect_report_balance_reporting_category", "connect_report_connect_reporting_category", "connect_report_issuing_reporting_category", "connect_report_payment_reporting_category", "decline_code", "dispute_event_type", "dispute_payment_method_details_card_case_type", "dispute_payment_method_details_type", "dispute_reason", "dispute_status", "early_fraud_warning_event_type", "early_fraud_warning_type", "error_code", "error_type", "event_type", "extended_authorization_status", "feature_availability", "klarna_payment_method_category_type", "klarna_product", "network_status", "next_action_type", "order_item_type", "payment_intent_status", "payment_method_category_klarna", "payment_method_type", "payment_outcome_type", "payment_status", "preferred_language_bancontact", "preferred_locale_klarna", "refund_failure_reason", "refund_reason", "refund_status", "reporting_report_run_status", "reporting_report_type", "request_three_d_secure_type", "requested_capabilities", "setup_future_usage", "shopify_payment_stripe_event_type", "source_flow", "source_status", "source_type", "source_usage_type", "stored_credential_transaction_type", "three_d_secure_support", "three_ds_authentication_flow", "three_ds_result", "three_ds_result_reason", "token_type", "use_stripe_sdk_type" ],
303
288
  "interfaces" : [ ],
304
289
  "unions" : [ "card_wallet", "connect_report_reporting_category", "payment_method_data", "payment_method_details", "payment_method_form" ],
@@ -313,7 +298,7 @@
313
298
  "application" : {
314
299
  "key" : "harmonization"
315
300
  },
316
- "version" : "0.21.83",
301
+ "version" : "0.21.96",
317
302
  "enums" : [ "tax_applicability", "tax_verification_result" ],
318
303
  "interfaces" : [ ],
319
304
  "unions" : [ ],
@@ -328,7 +313,7 @@
328
313
  "application" : {
329
314
  "key" : "export"
330
315
  },
331
- "version" : "0.21.83",
316
+ "version" : "0.21.96",
332
317
  "enums" : [ "export_status", "item_identifier" ],
333
318
  "interfaces" : [ "csv_price_book_item_export_row" ],
334
319
  "unions" : [ "export_delivery", "export_type" ],
@@ -343,7 +328,7 @@
343
328
  "application" : {
344
329
  "key" : "fraud"
345
330
  },
346
- "version" : "0.21.83",
331
+ "version" : "0.21.96",
347
332
  "enums" : [ "fraud_email_rule_decision", "fraud_liability", "fraud_status" ],
348
333
  "interfaces" : [ ],
349
334
  "unions" : [ "fraud_order_reference" ],
@@ -358,7 +343,7 @@
358
343
  "application" : {
359
344
  "key" : "brickftp"
360
345
  },
361
- "version" : "0.4.95",
346
+ "version" : "0.5.0",
362
347
  "enums" : [ "authentication_method", "behavior_type", "grant_permission_setting", "ssl_required_setting", "webhook_event_action", "webhook_event_interface", "webhook_event_type" ],
363
348
  "interfaces" : [ ],
364
349
  "unions" : [ "file_form", "node" ],
@@ -373,7 +358,7 @@
373
358
  "application" : {
374
359
  "key" : "fulfillment"
375
360
  },
376
- "version" : "0.21.83",
361
+ "version" : "0.21.96",
377
362
  "enums" : [ "center_capability", "delivery_option_cost_detail_component_key", "delivery_option_cost_detail_source", "delivery_window_component_source", "delivery_window_location", "fulfillment_routing", "item_availability_status", "lane_direction", "lane_preselect_preference", "lane_strategy", "physical_delivery_special_serivce", "preferred_service_selection_strategy", "quote_error_code", "ratecard_owner", "shipment_integration_type", "shipping_configuration_type", "strategy", "surcharge_responsible_party", "tier_availability", "tier_estimate_type", "tier_strategy", "zero_amount_indicator" ],
378
363
  "interfaces" : [ "delivery" ],
379
364
  "unions" : [ "delivery", "expandable_center", "partner_center_fee", "service_description", "tier_rule_outcome", "tier_rule_outcome_form" ],
@@ -388,7 +373,7 @@
388
373
  "application" : {
389
374
  "key" : "price"
390
375
  },
391
- "version" : "0.21.83",
376
+ "version" : "0.21.96",
392
377
  "enums" : [ "levy_component", "levy_strategy", "price_accuracy", "price_detail_component_key", "price_detail_key", "pricing_levy_setting" ],
393
378
  "interfaces" : [ ],
394
379
  "unions" : [ "deminimis" ],
@@ -403,7 +388,7 @@
403
388
  "application" : {
404
389
  "key" : "sellability"
405
390
  },
406
- "version" : "0.21.83",
391
+ "version" : "0.21.96",
407
392
  "enums" : [ "rule_effect_type", "sellability_error_code", "sellability_request_status", "sellability_result_error_code", "sellability_result_status", "sellability_screening_mode" ],
408
393
  "interfaces" : [ "product_sellability_interface" ],
409
394
  "unions" : [ "sellability_request", "sellability_response" ],
@@ -418,7 +403,7 @@
418
403
  "application" : {
419
404
  "key" : "ratecard"
420
405
  },
421
- "version" : "0.21.83",
406
+ "version" : "0.21.96",
422
407
  "enums" : [ ],
423
408
  "interfaces" : [ "common_hop_estimate", "ratecard_estimate" ],
424
409
  "unions" : [ "fuel_surcharge_rate", "ratecard_estimate", "ratecard_fee", "service_fee" ],
@@ -433,7 +418,7 @@
433
418
  "application" : {
434
419
  "key" : "restrictions"
435
420
  },
436
- "version" : "0.21.83",
421
+ "version" : "0.21.96",
437
422
  "enums" : [ "restricted_review_status", "restriction_decision", "restriction_decision_reason", "restriction_environment", "review_status" ],
438
423
  "interfaces" : [ ],
439
424
  "unions" : [ ],
@@ -448,7 +433,7 @@
448
433
  "application" : {
449
434
  "key" : "merchant-onboarding"
450
435
  },
451
- "version" : "0.21.83",
436
+ "version" : "0.21.96",
452
437
  "enums" : [ "logistics_format_preference", "onboarding_application_status", "onboarding_trade_sector", "region_type" ],
453
438
  "interfaces" : [ ],
454
439
  "unions" : [ "merchant_application", "merchant_application_form", "merchant_application_put_form", "merchant_applications_summary" ],
@@ -463,7 +448,7 @@
463
448
  "application" : {
464
449
  "key" : "organization-onboarding-state"
465
450
  },
466
- "version" : "0.21.83",
451
+ "version" : "0.21.96",
467
452
  "enums" : [ "merchant_disabled_reason", "merchant_rejected_reason", "onboarding_blocked_reason" ],
468
453
  "interfaces" : [ ],
469
454
  "unions" : [ "onboarding_state" ],
@@ -478,7 +463,7 @@
478
463
  "application" : {
479
464
  "key" : "organization"
480
465
  },
481
- "version" : "0.21.83",
466
+ "version" : "0.21.96",
482
467
  "enums" : [ "country_picker_source", "ecommerce_platform_type", "invitation_error_code" ],
483
468
  "interfaces" : [ ],
484
469
  "unions" : [ ],
@@ -508,7 +493,7 @@
508
493
  "application" : {
509
494
  "key" : "bitpay"
510
495
  },
511
- "version" : "0.4.95",
496
+ "version" : "0.5.0",
512
497
  "enums" : [ "exception_status", "invoice_status", "refund_status", "transaction_speed", "webhook_event_name" ],
513
498
  "interfaces" : [ ],
514
499
  "unions" : [ ],
@@ -523,7 +508,7 @@
523
508
  "application" : {
524
509
  "key" : "crypto"
525
510
  },
526
- "version" : "0.4.95",
511
+ "version" : "0.5.0",
527
512
  "enums" : [ "error_type", "payment_status", "reason_type", "refund_status", "webhook_event_name", "webhook_object_type" ],
528
513
  "interfaces" : [ ],
529
514
  "unions" : [ ],
@@ -538,7 +523,7 @@
538
523
  "application" : {
539
524
  "key" : "payment-gateway"
540
525
  },
541
- "version" : "0.21.83",
526
+ "version" : "0.21.96",
542
527
  "enums" : [ "inline_window_viewport_size", "payment_action_type", "payment_failure_code", "payment_method_data_option_type", "payment_request_review_check_status", "payment_request_review_check_type", "payment_request_review_status", "payment_status", "payment_type" ],
543
528
  "interfaces" : [ "action", "payment_method_summary" ],
544
529
  "unions" : [ "action", "card_authorization_action_result", "card_number", "device_fingerprint_details", "order_information", "payment_capture_option", "payment_method_card", "payment_method_data", "payment_method_data_authorize_applepay_result", "payment_method_data_authorize_klarna_result", "payment_method_data_option_logo", "payment_method_stored_details_card", "payment_method_summary", "payment_request_cancellation_reason", "sdk_adyen_v3_authentication_token" ],
@@ -553,7 +538,7 @@
553
538
  "application" : {
554
539
  "key" : "payment-request-bundle"
555
540
  },
556
- "version" : "0.21.83",
541
+ "version" : "0.21.96",
557
542
  "enums" : [ ],
558
543
  "interfaces" : [ ],
559
544
  "unions" : [ ],
@@ -568,7 +553,7 @@
568
553
  "application" : {
569
554
  "key" : "permission"
570
555
  },
571
- "version" : "0.21.83",
556
+ "version" : "0.21.96",
572
557
  "enums" : [ "authentication_technique", "flow_behavior", "flow_role", "permitted_http_method" ],
573
558
  "interfaces" : [ ],
574
559
  "unions" : [ ],
@@ -583,7 +568,7 @@
583
568
  "application" : {
584
569
  "key" : "product"
585
570
  },
586
- "version" : "0.21.83",
571
+ "version" : "0.21.96",
587
572
  "enums" : [ ],
588
573
  "interfaces" : [ ],
589
574
  "unions" : [ ],
@@ -598,7 +583,7 @@
598
583
  "application" : {
599
584
  "key" : "return"
600
585
  },
601
- "version" : "0.21.83",
586
+ "version" : "0.21.96",
602
587
  "enums" : [ "return_status", "return_tracking_status" ],
603
588
  "interfaces" : [ ],
604
589
  "unions" : [ "return_source" ],
@@ -613,7 +598,7 @@
613
598
  "application" : {
614
599
  "key" : "shopify-markets-internal-event"
615
600
  },
616
- "version" : "0.29.69",
601
+ "version" : "0.30.5",
617
602
  "enums" : [ "shopify_incoterm_configuration" ],
618
603
  "interfaces" : [ ],
619
604
  "unions" : [ "shopify_markets_internal_event" ],
@@ -628,7 +613,7 @@
628
613
  "application" : {
629
614
  "key" : "tracking"
630
615
  },
631
- "version" : "0.21.83",
616
+ "version" : "0.21.96",
632
617
  "enums" : [ "substatus_code", "tracking_status" ],
633
618
  "interfaces" : [ ],
634
619
  "unions" : [ ],
@@ -643,11 +628,11 @@
643
628
  "application" : {
644
629
  "key" : "shopify-external"
645
630
  },
646
- "version" : "0.4.95",
631
+ "version" : "0.5.0",
647
632
  "enums" : [ "cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "graphql_weight_unit", "inventory_behaviour", "inventory_management", "inventory_policy", "kind_type", "localized_price", "order_status_type", "price_rule_allocation_method", "price_rule_customer_selection", "price_rule_target_selection", "price_rule_target_type", "price_rule_value_type", "published_scope", "restock_type", "shopify_customer_state", "shopify_discount_pagination_direction", "shopify_gift_card_status", "shopify_plan_name", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit" ],
648
633
  "interfaces" : [ ],
649
634
  "unions" : [ ],
650
- "models" : [ "collection", "collection_webhook", "count", "graphql_inferred_product_category", "graphql_inventory_item", "graphql_measurement", "graphql_metafield", "graphql_metaobject", "graphql_metaobject_field", "graphql_option", "graphql_product", "graphql_product_image", "graphql_product_variant", "graphql_taxonomy_category", "graphql_variant_image", "graphql_weight", "metafield", "metafield_form", "option", "price_rule", "price_rule_discount_code", "price_rule_form", "price_rule_greater_than_range", "price_rule_less_than_range", "price_rule_prerequisite_to_entitlement_purchase", "price_rule_prerequisite_to_entitlement_quantity_ratio", "product", "product_delete", "product_image", "product_metafield", "product_variant", "request_metafield_form", "request_shopify_gift_card", "request_shopify_refund_form", "request_shopify_transaction_form", "response_collection", "response_metafield", "response_metafields", "response_orders_wrapper", "response_price_rule", "response_price_rule_discount_code", "response_price_rule_discount_codes", "response_price_rules", "response_product", "response_products", "response_shopify_gift_card", "response_shopify_gift_cards", "response_shopify_refund_single", "response_shopify_transaction", "response_shopify_transaction_single", "response_smart_collection", "response_variant", "shop", "shop_response", "shopify_address", "shopify_attribute", "shopify_cart_item_discount", "shopify_client_detail", "shopify_country_harmonized_system_code", "shopify_customer", "shopify_customer_address", "shopify_customer_delete", "shopify_customers_response_wrapper", "shopify_discount_application", "shopify_discount_code", "shopify_error", "shopify_external_cart", "shopify_external_cart_item", "shopify_fulfillment", "shopify_fulfillment_wrapper", "shopify_gift_card", "shopify_gift_card_adjustment", "shopify_gift_card_adjustment_form", "shopify_gift_card_adjustment_form_wrapper", "shopify_gift_card_adjustment_response_wrapper", "shopify_gift_card_adjustments_response_wrapper", "shopify_gift_card_form", "shopify_inventory_item", "shopify_inventory_item_delete", "shopify_inventory_item_summary", "shopify_inventory_level", "shopify_inventory_level_disconnect", "shopify_inventory_level_response_wrapper", "shopify_line_item", "shopify_line_item_form", "shopify_line_level_discount_allocation", "shopify_location", "shopify_location_delete", "shopify_locations_response_wrapper", "shopify_order", "shopify_order_count", "shopify_order_customer", "shopify_order_wrapper", "shopify_payment_detail", "shopify_property", "shopify_refund", "shopify_refund_form", "shopify_refund_line_item", "shopify_refund_line_item_form", "shopify_shipping_line", "shopify_shop_update", "shopify_tax_line", "shopify_transaction", "shopify_transaction_form", "shopify_transaction_gift_card_receipt", "shopify_webhook_customers_redact", "shopify_webhook_customers_redact_customer", "shopify_webhook_order", "shopify_webhook_order_cancelled", "shopify_webhook_order_line_item", "shopify_webhook_shop_redact", "smart_collection", "webhook", "webhook_form", "webhook_form_wrapper", "webhook_response_list", "webhook_response_single" ],
635
+ "models" : [ "collection", "collection_webhook", "count", "graphql_inferred_product_category", "graphql_inventory_item", "graphql_measurement", "graphql_metafield", "graphql_metaobject", "graphql_metaobject_field", "graphql_option", "graphql_product", "graphql_product_image", "graphql_product_variant", "graphql_taxonomy_category", "graphql_variant_image", "graphql_weight", "metafield", "metafield_form", "option", "price_rule", "price_rule_discount_code", "price_rule_form", "price_rule_greater_than_range", "price_rule_less_than_range", "price_rule_prerequisite_to_entitlement_purchase", "price_rule_prerequisite_to_entitlement_quantity_ratio", "product", "product_delete", "product_image", "product_metafield", "product_variant", "request_metafield_form", "request_shopify_gift_card", "request_shopify_refund_form", "request_shopify_transaction_form", "response_collection", "response_metafield", "response_metafields", "response_orders_wrapper", "response_price_rule", "response_price_rule_discount_code", "response_price_rule_discount_codes", "response_price_rules", "response_product", "response_products", "response_shopify_gift_card", "response_shopify_gift_cards", "response_shopify_refund_single", "response_shopify_transaction", "response_shopify_transaction_single", "response_smart_collection", "response_variant", "rest_taxonomy_category", "shop", "shop_response", "shopify_address", "shopify_attribute", "shopify_cart_item_discount", "shopify_client_detail", "shopify_country_harmonized_system_code", "shopify_customer", "shopify_customer_address", "shopify_customer_delete", "shopify_customers_response_wrapper", "shopify_discount_application", "shopify_discount_code", "shopify_error", "shopify_external_cart", "shopify_external_cart_item", "shopify_fulfillment", "shopify_fulfillment_wrapper", "shopify_gift_card", "shopify_gift_card_adjustment", "shopify_gift_card_adjustment_form", "shopify_gift_card_adjustment_form_wrapper", "shopify_gift_card_adjustment_response_wrapper", "shopify_gift_card_adjustments_response_wrapper", "shopify_gift_card_form", "shopify_inventory_item", "shopify_inventory_item_delete", "shopify_inventory_item_summary", "shopify_inventory_level", "shopify_inventory_level_disconnect", "shopify_inventory_level_response_wrapper", "shopify_line_item", "shopify_line_item_form", "shopify_line_level_discount_allocation", "shopify_location", "shopify_location_delete", "shopify_locations_response_wrapper", "shopify_order", "shopify_order_count", "shopify_order_customer", "shopify_order_wrapper", "shopify_payment_detail", "shopify_property", "shopify_refund", "shopify_refund_form", "shopify_refund_line_item", "shopify_refund_line_item_form", "shopify_shipping_line", "shopify_shop_update", "shopify_tax_line", "shopify_transaction", "shopify_transaction_form", "shopify_transaction_gift_card_receipt", "shopify_webhook_customers_redact", "shopify_webhook_customers_redact_customer", "shopify_webhook_order", "shopify_webhook_order_cancelled", "shopify_webhook_order_line_item", "shopify_webhook_shop_redact", "smart_collection", "webhook", "webhook_form", "webhook_form_wrapper", "webhook_response_list", "webhook_response_single" ],
651
636
  "annotations" : [ ]
652
637
  }, {
653
638
  "uri" : "https://app.apibuilder.io/flow/shopify-markets/latest/service.json",
@@ -658,7 +643,7 @@
658
643
  "application" : {
659
644
  "key" : "shopify-markets"
660
645
  },
661
- "version" : "0.4.95",
646
+ "version" : "0.5.0",
662
647
  "enums" : [ "bulk_operation_error_code", "bulk_operation_status", "bulk_operation_type", "cancel_reason", "fulfillment_order_delivery_method_type", "incoterm_duties", "shopify_discount_value_type", "shopify_discrepancy_reason", "shopify_draft_order_status", "shopify_order_cancel_reason", "shopify_order_discount_allocation_method", "shopify_order_discount_application_target_selection", "shopify_order_discount_application_target_type", "shopify_order_discount_application_type", "shopify_order_discount_application_value_type", "shopify_order_discount_type", "shopify_order_financial_status_type", "shopify_order_fulfillment_order_request_status", "shopify_order_fulfillment_order_status", "shopify_order_fulfillment_shipment_status", "shopify_order_fulfillment_status", "shopify_order_fulfillment_status_type", "shopify_order_inventory_behaviour", "shopify_order_kind_type", "shopify_order_payment_gateway_names", "shopify_order_processing_method_type", "shopify_order_restock_type", "shopify_order_status_type", "shopify_order_transaction_error_code", "shopify_order_transaction_status", "shopify_order_value_type", "shopify_tax_exemptions", "shopify_webhook_format", "shopify_webhook_topic" ],
663
648
  "interfaces" : [ ],
664
649
  "unions" : [ ],
@@ -673,7 +658,7 @@
673
658
  "application" : {
674
659
  "key" : "shopify-merchant-config"
675
660
  },
676
- "version" : "0.21.83",
661
+ "version" : "0.21.96",
677
662
  "enums" : [ ],
678
663
  "interfaces" : [ ],
679
664
  "unions" : [ "entity", "know_your_business", "know_your_business_form" ],
@@ -688,7 +673,7 @@
688
673
  "application" : {
689
674
  "key" : "consumer-invoice"
690
675
  },
691
- "version" : "0.21.83",
676
+ "version" : "0.21.96",
692
677
  "enums" : [ "b2b_invoice_type", "consumer_invoice_customer_type", "consumer_invoice_document_type", "consumer_invoice_status", "fee_invoice_type", "tax_jurisdiction_type", "tax_type" ],
693
678
  "interfaces" : [ ],
694
679
  "unions" : [ "consumer_invoice_line", "consumer_invoice_line_form" ],
@@ -703,7 +688,7 @@
703
688
  "application" : {
704
689
  "key" : "token"
705
690
  },
706
- "version" : "0.21.83",
691
+ "version" : "0.21.96",
707
692
  "enums" : [ ],
708
693
  "interfaces" : [ "token_detail_interface" ],
709
694
  "unions" : [ "token", "token_reference" ],
@@ -718,7 +703,7 @@
718
703
  "application" : {
719
704
  "key" : "catalog-exclusion"
720
705
  },
721
- "version" : "0.21.83",
706
+ "version" : "0.21.96",
722
707
  "enums" : [ "exclusion_rule_state" ],
723
708
  "interfaces" : [ ],
724
709
  "unions" : [ ],
@@ -733,7 +718,7 @@
733
718
  "application" : {
734
719
  "key" : "catalog-return"
735
720
  },
736
- "version" : "0.21.83",
721
+ "version" : "0.21.96",
737
722
  "enums" : [ "return_policy_state" ],
738
723
  "interfaces" : [ ],
739
724
  "unions" : [ ],
@@ -748,7 +733,7 @@
748
733
  "application" : {
749
734
  "key" : "ftp"
750
735
  },
751
- "version" : "0.21.83",
736
+ "version" : "0.21.96",
752
737
  "enums" : [ "ftp_file_source" ],
753
738
  "interfaces" : [ ],
754
739
  "unions" : [ ],
@@ -763,7 +748,7 @@
763
748
  "application" : {
764
749
  "key" : "order-management"
765
750
  },
766
- "version" : "0.21.83",
751
+ "version" : "0.21.96",
767
752
  "enums" : [ "cancel_reason", "fulfillment_item_quantity_status", "order_change_source" ],
768
753
  "interfaces" : [ ],
769
754
  "unions" : [ ],
@@ -864,6 +849,73 @@
864
849
  } ],
865
850
  "attributes" : [ ],
866
851
  "description" : "The type of integration used to communicate with Adyen"
852
+ }, {
853
+ "name" : "ai_review_consumer",
854
+ "plural" : "ai_review_consumers",
855
+ "values" : [ {
856
+ "name" : "restrictions",
857
+ "attributes" : [ ]
858
+ }, {
859
+ "name" : "sellability",
860
+ "attributes" : [ ]
861
+ }, {
862
+ "name" : "harmonization",
863
+ "attributes" : [ ]
864
+ } ],
865
+ "attributes" : [ ],
866
+ "description" : "The service that submitted the review batch and consumes its own results off the outbound stream. Independent of review_type/context — a consumer may submit several review types: restrictions submits general PV and DG reviews; harmonization submits PC reviews; sellability submits PV and PC reviews."
867
+ }, {
868
+ "name" : "ai_review_failure_reason",
869
+ "plural" : "ai_review_failure_reasons",
870
+ "values" : [ {
871
+ "name" : "item_errored",
872
+ "attributes" : [ ],
873
+ "description" : "The AI provider returned an error for this item within an otherwise processed batch"
874
+ }, {
875
+ "name" : "item_expired",
876
+ "attributes" : [ ],
877
+ "description" : "The item was not processed before the provider batch expired"
878
+ }, {
879
+ "name" : "item_unparseable",
880
+ "attributes" : [ ],
881
+ "description" : "The AI answered but the response could not be parsed into a result — a resend usually yields a clean sample"
882
+ }, {
883
+ "name" : "item_image_fetch_failed",
884
+ "attributes" : [ ],
885
+ "description" : "The AI provider could not fetch the item's image_url — the consumer should resend without the image for a text-only review"
886
+ }, {
887
+ "name" : "item_undecided",
888
+ "attributes" : [ ],
889
+ "description" : "The AI declined to give a verdict for this item — resending rarely helps; route to human review rather than spending the retry budget"
890
+ }, {
891
+ "name" : "batch_failed",
892
+ "attributes" : [ ],
893
+ "description" : "The whole batch failed (e.g. cancelled or dropped by the provider) — no items were processed"
894
+ }, {
895
+ "name" : "batch_timed_out",
896
+ "attributes" : [ ],
897
+ "description" : "The batch was not completed within the configured timeout and was abandoned"
898
+ } ],
899
+ "attributes" : [ ],
900
+ "description" : "Why a review request could not produce a result."
901
+ }, {
902
+ "name" : "ai_review_type",
903
+ "plural" : "ai_review_types",
904
+ "values" : [ {
905
+ "name" : "pv_review_general",
906
+ "attributes" : [ ],
907
+ "description" : "Standard pending verification review across all non-DG restriction rules"
908
+ }, {
909
+ "name" : "pv_review_dg_hazmat",
910
+ "attributes" : [ ],
911
+ "description" : "DG/hazmat-specific review evaluating all 9 IATA DG classes per item"
912
+ }, {
913
+ "name" : "pc_review",
914
+ "attributes" : [ ],
915
+ "description" : "Pending classification review — returns an HS code"
916
+ } ],
917
+ "attributes" : [ ],
918
+ "description" : "The type of AI review — one value per prompt (each type has its own system prompt and parser)."
867
919
  }, {
868
920
  "name" : "amrutha_item_type",
869
921
  "plural" : "amrutha_item_types",
@@ -2260,23 +2312,23 @@
2260
2312
  "values" : [ {
2261
2313
  "name" : "accepted",
2262
2314
  "attributes" : [ ],
2263
- "description" : "Shopify order is accepted."
2315
+ "description" : "Order is accepted."
2264
2316
  }, {
2265
2317
  "name" : "rejected",
2266
2318
  "attributes" : [ ],
2267
- "description" : "Shopify order is rejected."
2319
+ "description" : "Order is rejected."
2268
2320
  }, {
2269
2321
  "name" : "review",
2270
2322
  "attributes" : [ ],
2271
- "description" : "Shopify order is in review."
2323
+ "description" : "Order is in review."
2272
2324
  }, {
2273
2325
  "name" : "edit_review",
2274
2326
  "attributes" : [ ],
2275
- "description" : "Shopify order is edited and is in review. Please hold off further processing."
2327
+ "description" : "Order is edited and is in review. Please hold off further processing."
2276
2328
  }, {
2277
2329
  "name" : "edit_accepted",
2278
2330
  "attributes" : [ ],
2279
- "description" : "Shopify order is edited and accepted. Signals to remove the hold and continue processing."
2331
+ "description" : "Order is edited and accepted. Signals to remove the hold and continue processing."
2280
2332
  } ],
2281
2333
  "attributes" : [ ]
2282
2334
  }, {
@@ -2615,6 +2667,11 @@
2615
2667
  "attributes" : [ ],
2616
2668
  "description" : "The classification was performed at the product level.",
2617
2669
  "value" : "Product"
2670
+ }, {
2671
+ "name" : "bucket",
2672
+ "attributes" : [ ],
2673
+ "description" : "The classification was performed at the variant-bucket level: one request per group of a product's variants sharing a cleaned variant name.",
2674
+ "value" : "Bucket"
2618
2675
  } ],
2619
2676
  "attributes" : [ ]
2620
2677
  }, {
@@ -3318,24 +3375,6 @@
3318
3375
  "name" : "event_type",
3319
3376
  "plural" : "event_types",
3320
3377
  "values" : [ {
3321
- "name" : "adaptive_pricing_coefficient_upserted",
3322
- "attributes" : [ ]
3323
- }, {
3324
- "name" : "adaptive_pricing_coefficient_deleted",
3325
- "attributes" : [ ]
3326
- }, {
3327
- "name" : "adaptive_pricing_update_upserted",
3328
- "attributes" : [ ]
3329
- }, {
3330
- "name" : "adaptive_pricing_update_deleted",
3331
- "attributes" : [ ]
3332
- }, {
3333
- "name" : "adaptive_shipping_rate_upserted",
3334
- "attributes" : [ ]
3335
- }, {
3336
- "name" : "adaptive_shipping_rate_deleted",
3337
- "attributes" : [ ]
3338
- }, {
3339
3378
  "name" : "adyen_authorization_deleted",
3340
3379
  "attributes" : [ ]
3341
3380
  }, {
@@ -3365,6 +3404,18 @@
3365
3404
  }, {
3366
3405
  "name" : "adyen_dispute_deleted",
3367
3406
  "attributes" : [ ]
3407
+ }, {
3408
+ "name" : "ai_review_batch_submitted",
3409
+ "attributes" : [ ]
3410
+ }, {
3411
+ "name" : "ai_review_result_upserted",
3412
+ "attributes" : [ ]
3413
+ }, {
3414
+ "name" : "ai_review_result_deleted",
3415
+ "attributes" : [ ]
3416
+ }, {
3417
+ "name" : "ai_review_request_failed",
3418
+ "attributes" : [ ]
3368
3419
  }, {
3369
3420
  "name" : "fulfillment_upserted",
3370
3421
  "attributes" : [ ]
@@ -3593,6 +3644,12 @@
3593
3644
  }, {
3594
3645
  "name" : "channel_shop_statistics_deleted",
3595
3646
  "attributes" : [ ]
3647
+ }, {
3648
+ "name" : "channel_order_tax_and_duty_inclusivity_setting_upserted",
3649
+ "attributes" : [ ]
3650
+ }, {
3651
+ "name" : "channel_order_tax_and_duty_inclusivity_setting_deleted",
3652
+ "attributes" : [ ]
3596
3653
  }, {
3597
3654
  "name" : "commercial_invoice_internal_upserted",
3598
3655
  "attributes" : [ ]
@@ -3776,6 +3833,12 @@
3776
3833
  }, {
3777
3834
  "name" : "flat_rate_label_reversal_deleted",
3778
3835
  "attributes" : [ ]
3836
+ }, {
3837
+ "name" : "flat_rate_label_subsidy_upserted",
3838
+ "attributes" : [ ]
3839
+ }, {
3840
+ "name" : "flat_rate_label_subsidy_deleted",
3841
+ "attributes" : [ ]
3779
3842
  }, {
3780
3843
  "name" : "fraud_review_upserted",
3781
3844
  "attributes" : [ ]
@@ -3851,12 +3914,36 @@
3851
3914
  }, {
3852
3915
  "name" : "quote_deleted",
3853
3916
  "attributes" : [ ]
3917
+ }, {
3918
+ "name" : "guaranteed_shipping_calibrated_output_upserted",
3919
+ "attributes" : [ ]
3920
+ }, {
3921
+ "name" : "guaranteed_shipping_calibrated_output_deleted",
3922
+ "attributes" : [ ]
3923
+ }, {
3924
+ "name" : "outbound_shipping_cost_upserted",
3925
+ "attributes" : [ ]
3926
+ }, {
3927
+ "name" : "outbound_shipping_cost_deleted",
3928
+ "attributes" : [ ]
3854
3929
  }, {
3855
3930
  "name" : "guaranteed_shipping_published_output_upserted",
3856
3931
  "attributes" : [ ]
3857
3932
  }, {
3858
3933
  "name" : "guaranteed_shipping_published_output_deleted",
3859
3934
  "attributes" : [ ]
3935
+ }, {
3936
+ "name" : "guaranteed_shipping_settings_upserted",
3937
+ "attributes" : [ ]
3938
+ }, {
3939
+ "name" : "guaranteed_shipping_settings_deleted",
3940
+ "attributes" : [ ]
3941
+ }, {
3942
+ "name" : "guaranteed_shipping_settings_update_upserted",
3943
+ "attributes" : [ ]
3944
+ }, {
3945
+ "name" : "guaranteed_shipping_settings_update_deleted",
3946
+ "attributes" : [ ]
3860
3947
  }, {
3861
3948
  "name" : "all_items_export",
3862
3949
  "attributes" : [ ]
@@ -3923,6 +4010,12 @@
3923
4010
  }, {
3924
4011
  "name" : "harmonization_classification_statistics_published",
3925
4012
  "attributes" : [ ]
4013
+ }, {
4014
+ "name" : "issuer_upserted",
4015
+ "attributes" : [ ]
4016
+ }, {
4017
+ "name" : "issuer_deleted",
4018
+ "attributes" : [ ]
3926
4019
  }, {
3927
4020
  "name" : "item_form_import_request",
3928
4021
  "attributes" : [ ]
@@ -4253,6 +4346,18 @@
4253
4346
  }, {
4254
4347
  "name" : "preonboarding_merchant_deleted",
4255
4348
  "attributes" : [ ]
4349
+ }, {
4350
+ "name" : "unserviceable_taxonomy_category_upserted",
4351
+ "attributes" : [ ]
4352
+ }, {
4353
+ "name" : "unserviceable_taxonomy_category_deleted",
4354
+ "attributes" : [ ]
4355
+ }, {
4356
+ "name" : "sellability_pending_verification_upserted",
4357
+ "attributes" : [ ]
4358
+ }, {
4359
+ "name" : "sellability_pending_verification_deleted",
4360
+ "attributes" : [ ]
4256
4361
  }, {
4257
4362
  "name" : "shopify_hs10_codes_upserted",
4258
4363
  "attributes" : [ ]
@@ -4993,6 +5098,10 @@
4993
5098
  "name" : "manual_classification_required",
4994
5099
  "attributes" : [ ],
4995
5100
  "description" : "item has to be classified manually"
5101
+ }, {
5102
+ "name" : "unserviceable_taxonomy",
5103
+ "attributes" : [ ],
5104
+ "description" : "item is in a taxonomy category Sellability marks unserviceable, so it is restricted worldwide and deliberately not classified"
4996
5105
  } ],
4997
5106
  "attributes" : [ ]
4998
5107
  }, {
@@ -5024,6 +5133,17 @@
5024
5133
  "attributes" : [ ]
5025
5134
  } ],
5026
5135
  "attributes" : [ ]
5136
+ }, {
5137
+ "name" : "john_strong_item_type",
5138
+ "plural" : "john_strong_item_types",
5139
+ "values" : [ {
5140
+ "name" : "physical",
5141
+ "attributes" : [ ]
5142
+ }, {
5143
+ "name" : "digital",
5144
+ "attributes" : [ ]
5145
+ } ],
5146
+ "attributes" : [ ]
5027
5147
  }, {
5028
5148
  "name" : "journal_operation",
5029
5149
  "plural" : "journal_operations",
@@ -6287,6 +6407,20 @@
6287
6407
  "attributes" : [ ]
6288
6408
  } ],
6289
6409
  "attributes" : [ ]
6410
+ }, {
6411
+ "name" : "pv_decision",
6412
+ "plural" : "pv_decisions",
6413
+ "values" : [ {
6414
+ "name" : "uphold",
6415
+ "attributes" : [ ],
6416
+ "description" : "The restriction should be upheld (kept)"
6417
+ }, {
6418
+ "name" : "remove",
6419
+ "attributes" : [ ],
6420
+ "description" : "The restriction should be removed"
6421
+ } ],
6422
+ "attributes" : [ ],
6423
+ "description" : "The AI's verdict for a pending-verification (restriction) review. Returned as-is with its confidence; the consumer owns the full result-to-decision flow (thresholds, gating, escalation). An item the AI declines to decide produces no result — it is reported via ai_review_request_failed with reason item_undecided."
6290
6424
  }, {
6291
6425
  "name" : "rate_level_key",
6292
6426
  "plural" : "rate_level_keys",
@@ -6363,6 +6497,19 @@
6363
6497
  "attributes" : [ ]
6364
6498
  } ],
6365
6499
  "attributes" : [ ]
6500
+ }, {
6501
+ "name" : "remediate_tax_duty_arm",
6502
+ "plural" : "remediate_tax_duty_arms",
6503
+ "values" : [ {
6504
+ "name" : "non_lvg",
6505
+ "attributes" : [ ],
6506
+ "description" : "The missing tax and duty transactions are created and immediately reversed"
6507
+ }, {
6508
+ "name" : "lvg_full_refund",
6509
+ "attributes" : [ ],
6510
+ "description" : "The missing tax transaction is created with its refund left to the tax refund task; a missing duty transaction, when owed, is created and immediately reversed."
6511
+ } ],
6512
+ "attributes" : [ ]
6366
6513
  }, {
6367
6514
  "name" : "report_file_status",
6368
6515
  "plural" : "report_file_statuses",
@@ -6476,6 +6623,10 @@
6476
6623
  "name" : "scheduled_payment_citi_krw_txt",
6477
6624
  "attributes" : [ ],
6478
6625
  "description" : "Report of scheduled KRW bank payments as the Citi GDFF GIRO DFT (Domestic Funds Transfer Korea) bank import file: header-less, @-delimited UTF-8 txt"
6626
+ }, {
6627
+ "name" : "scheduled_payment_citi_uk_xml",
6628
+ "attributes" : [ ],
6629
+ "description" : "Report of scheduled UK bank payments in Citi XML format"
6479
6630
  }, {
6480
6631
  "name" : "account_quarterly_balances",
6481
6632
  "attributes" : [ ]
@@ -6735,6 +6886,20 @@
6735
6886
  "description" : "Exempt products shipped within EU countries from restriction"
6736
6887
  } ],
6737
6888
  "attributes" : [ ]
6889
+ }, {
6890
+ "name" : "restriction_rule_evaluation_mode",
6891
+ "plural" : "restriction_rule_evaluation_modes",
6892
+ "values" : [ {
6893
+ "name" : "all_screenings",
6894
+ "attributes" : [ ],
6895
+ "description" : "The rule is evaluated on every screening"
6896
+ }, {
6897
+ "name" : "first_screening_only",
6898
+ "attributes" : [ ],
6899
+ "description" : "The rule is evaluated only on a product's first screening"
6900
+ } ],
6901
+ "attributes" : [ ],
6902
+ "description" : "Controls when a rule is evaluated against a product."
6738
6903
  }, {
6739
6904
  "name" : "restriction_rule_exception_action",
6740
6905
  "plural" : "restriction_rule_exception_actions",
@@ -9425,6 +9590,46 @@
9425
9590
  "attributes" : [ ],
9426
9591
  "interfaces" : [ ],
9427
9592
  "discriminator" : "discriminator"
9593
+ }, {
9594
+ "name" : "ai_output",
9595
+ "plural" : "ai_outputs",
9596
+ "types" : [ {
9597
+ "type" : "pv_review_output",
9598
+ "attributes" : [ ],
9599
+ "discriminator_value" : "pv_review_output"
9600
+ }, {
9601
+ "type" : "dg_review_output",
9602
+ "attributes" : [ ],
9603
+ "discriminator_value" : "dg_review_output"
9604
+ }, {
9605
+ "type" : "pc_review_output",
9606
+ "attributes" : [ ],
9607
+ "discriminator_value" : "pc_review_output"
9608
+ } ],
9609
+ "attributes" : [ ],
9610
+ "interfaces" : [ ],
9611
+ "discriminator" : "discriminator",
9612
+ "description" : "The AI's answer, typed per review type. General PV yields one decision; DG yields a per-class verdict list; PC yields an HS code."
9613
+ }, {
9614
+ "name" : "ai_review_context",
9615
+ "plural" : "ai_review_contexts",
9616
+ "types" : [ {
9617
+ "type" : "pv_review_context",
9618
+ "attributes" : [ ],
9619
+ "discriminator_value" : "pv_review_context"
9620
+ }, {
9621
+ "type" : "dg_review_context",
9622
+ "attributes" : [ ],
9623
+ "discriminator_value" : "dg_review_context"
9624
+ }, {
9625
+ "type" : "pc_review_context",
9626
+ "attributes" : [ ],
9627
+ "discriminator_value" : "pc_review_context"
9628
+ } ],
9629
+ "attributes" : [ ],
9630
+ "interfaces" : [ ],
9631
+ "discriminator" : "discriminator",
9632
+ "description" : "Producer context for a review, keyed by review_type (not consumer). pv_review_general → pv_review_context; pv_review_dg_hazmat → dg_review_context; pc_review → pc_review_context."
9428
9633
  }, {
9429
9634
  "name" : "authorization_payload",
9430
9635
  "plural" : "authorization_payloads",
@@ -9766,30 +9971,6 @@
9766
9971
  "name" : "event",
9767
9972
  "plural" : "events",
9768
9973
  "types" : [ {
9769
- "type" : "adaptive_pricing_coefficient_upserted",
9770
- "attributes" : [ ],
9771
- "discriminator_value" : "adaptive_pricing_coefficient_upserted"
9772
- }, {
9773
- "type" : "adaptive_pricing_coefficient_deleted",
9774
- "attributes" : [ ],
9775
- "discriminator_value" : "adaptive_pricing_coefficient_deleted"
9776
- }, {
9777
- "type" : "adaptive_pricing_update_upserted",
9778
- "attributes" : [ ],
9779
- "discriminator_value" : "adaptive_pricing_update_upserted"
9780
- }, {
9781
- "type" : "adaptive_pricing_update_deleted",
9782
- "attributes" : [ ],
9783
- "discriminator_value" : "adaptive_pricing_update_deleted"
9784
- }, {
9785
- "type" : "adaptive_shipping_rate_upserted",
9786
- "attributes" : [ ],
9787
- "discriminator_value" : "adaptive_shipping_rate_upserted"
9788
- }, {
9789
- "type" : "adaptive_shipping_rate_deleted",
9790
- "attributes" : [ ],
9791
- "discriminator_value" : "adaptive_shipping_rate_deleted"
9792
- }, {
9793
9974
  "type" : "adyen_authorization_deleted",
9794
9975
  "attributes" : [ ],
9795
9976
  "discriminator_value" : "adyen_authorization_deleted"
@@ -9829,6 +10010,22 @@
9829
10010
  "type" : "adyen_dispute_deleted",
9830
10011
  "attributes" : [ ],
9831
10012
  "discriminator_value" : "adyen_dispute_deleted"
10013
+ }, {
10014
+ "type" : "ai_review_batch_submitted",
10015
+ "attributes" : [ ],
10016
+ "discriminator_value" : "ai_review_batch_submitted"
10017
+ }, {
10018
+ "type" : "ai_review_result_upserted",
10019
+ "attributes" : [ ],
10020
+ "discriminator_value" : "ai_review_result_upserted"
10021
+ }, {
10022
+ "type" : "ai_review_result_deleted",
10023
+ "attributes" : [ ],
10024
+ "discriminator_value" : "ai_review_result_deleted"
10025
+ }, {
10026
+ "type" : "ai_review_request_failed",
10027
+ "attributes" : [ ],
10028
+ "discriminator_value" : "ai_review_request_failed"
9832
10029
  }, {
9833
10030
  "type" : "fulfillment_upserted",
9834
10031
  "attributes" : [ ],
@@ -10133,6 +10330,14 @@
10133
10330
  "type" : "channel_shop_statistics_deleted",
10134
10331
  "attributes" : [ ],
10135
10332
  "discriminator_value" : "channel_shop_statistics_deleted"
10333
+ }, {
10334
+ "type" : "channel_order_tax_and_duty_inclusivity_setting_upserted",
10335
+ "attributes" : [ ],
10336
+ "discriminator_value" : "channel_order_tax_and_duty_inclusivity_setting_upserted"
10337
+ }, {
10338
+ "type" : "channel_order_tax_and_duty_inclusivity_setting_deleted",
10339
+ "attributes" : [ ],
10340
+ "discriminator_value" : "channel_order_tax_and_duty_inclusivity_setting_deleted"
10136
10341
  }, {
10137
10342
  "type" : "commercial_invoice_internal_upserted",
10138
10343
  "attributes" : [ ],
@@ -10377,6 +10582,14 @@
10377
10582
  "type" : "flat_rate_label_reversal_deleted",
10378
10583
  "attributes" : [ ],
10379
10584
  "discriminator_value" : "flat_rate_label_reversal_deleted"
10585
+ }, {
10586
+ "type" : "flat_rate_label_subsidy_upserted",
10587
+ "attributes" : [ ],
10588
+ "discriminator_value" : "flat_rate_label_subsidy_upserted"
10589
+ }, {
10590
+ "type" : "flat_rate_label_subsidy_deleted",
10591
+ "attributes" : [ ],
10592
+ "discriminator_value" : "flat_rate_label_subsidy_deleted"
10380
10593
  }, {
10381
10594
  "type" : "fraud_review_upserted",
10382
10595
  "attributes" : [ ],
@@ -10477,6 +10690,22 @@
10477
10690
  "type" : "quote_deleted",
10478
10691
  "attributes" : [ ],
10479
10692
  "discriminator_value" : "quote_deleted"
10693
+ }, {
10694
+ "type" : "guaranteed_shipping_calibrated_output_upserted",
10695
+ "attributes" : [ ],
10696
+ "discriminator_value" : "guaranteed_shipping_calibrated_output_upserted"
10697
+ }, {
10698
+ "type" : "guaranteed_shipping_calibrated_output_deleted",
10699
+ "attributes" : [ ],
10700
+ "discriminator_value" : "guaranteed_shipping_calibrated_output_deleted"
10701
+ }, {
10702
+ "type" : "outbound_shipping_cost_upserted",
10703
+ "attributes" : [ ],
10704
+ "discriminator_value" : "outbound_shipping_cost_upserted"
10705
+ }, {
10706
+ "type" : "outbound_shipping_cost_deleted",
10707
+ "attributes" : [ ],
10708
+ "discriminator_value" : "outbound_shipping_cost_deleted"
10480
10709
  }, {
10481
10710
  "type" : "guaranteed_shipping_published_output_upserted",
10482
10711
  "attributes" : [ ],
@@ -10485,6 +10714,22 @@
10485
10714
  "type" : "guaranteed_shipping_published_output_deleted",
10486
10715
  "attributes" : [ ],
10487
10716
  "discriminator_value" : "guaranteed_shipping_published_output_deleted"
10717
+ }, {
10718
+ "type" : "guaranteed_shipping_settings_upserted",
10719
+ "attributes" : [ ],
10720
+ "discriminator_value" : "guaranteed_shipping_settings_upserted"
10721
+ }, {
10722
+ "type" : "guaranteed_shipping_settings_deleted",
10723
+ "attributes" : [ ],
10724
+ "discriminator_value" : "guaranteed_shipping_settings_deleted"
10725
+ }, {
10726
+ "type" : "guaranteed_shipping_settings_update_upserted",
10727
+ "attributes" : [ ],
10728
+ "discriminator_value" : "guaranteed_shipping_settings_update_upserted"
10729
+ }, {
10730
+ "type" : "guaranteed_shipping_settings_update_deleted",
10731
+ "attributes" : [ ],
10732
+ "discriminator_value" : "guaranteed_shipping_settings_update_deleted"
10488
10733
  }, {
10489
10734
  "type" : "all_items_export",
10490
10735
  "attributes" : [ ],
@@ -10573,6 +10818,14 @@
10573
10818
  "type" : "harmonization_classification_statistics_published",
10574
10819
  "attributes" : [ ],
10575
10820
  "discriminator_value" : "harmonization_classification_statistics_published"
10821
+ }, {
10822
+ "type" : "issuer_upserted",
10823
+ "attributes" : [ ],
10824
+ "discriminator_value" : "issuer_upserted"
10825
+ }, {
10826
+ "type" : "issuer_deleted",
10827
+ "attributes" : [ ],
10828
+ "discriminator_value" : "issuer_deleted"
10576
10829
  }, {
10577
10830
  "type" : "item_form_import_request",
10578
10831
  "attributes" : [ ],
@@ -11013,6 +11266,22 @@
11013
11266
  "type" : "preonboarding_merchant_deleted",
11014
11267
  "attributes" : [ ],
11015
11268
  "discriminator_value" : "preonboarding_merchant_deleted"
11269
+ }, {
11270
+ "type" : "unserviceable_taxonomy_category_upserted",
11271
+ "attributes" : [ ],
11272
+ "discriminator_value" : "unserviceable_taxonomy_category_upserted"
11273
+ }, {
11274
+ "type" : "unserviceable_taxonomy_category_deleted",
11275
+ "attributes" : [ ],
11276
+ "discriminator_value" : "unserviceable_taxonomy_category_deleted"
11277
+ }, {
11278
+ "type" : "sellability_pending_verification_upserted",
11279
+ "attributes" : [ ],
11280
+ "discriminator_value" : "sellability_pending_verification_upserted"
11281
+ }, {
11282
+ "type" : "sellability_pending_verification_deleted",
11283
+ "attributes" : [ ],
11284
+ "discriminator_value" : "sellability_pending_verification_deleted"
11016
11285
  }, {
11017
11286
  "type" : "shopify_hs10_codes_upserted",
11018
11287
  "attributes" : [ ],
@@ -12285,6 +12554,10 @@
12285
12554
  "type" : "b2b_fee_shipping_tax_trigger_metadata",
12286
12555
  "attributes" : [ ],
12287
12556
  "discriminator_value" : "b2b_fee_shipping_tax_trigger_metadata"
12557
+ }, {
12558
+ "type" : "remediate_tax_duty_metadata",
12559
+ "attributes" : [ ],
12560
+ "discriminator_value" : "remediate_tax_duty_metadata"
12288
12561
  } ],
12289
12562
  "attributes" : [ ],
12290
12563
  "interfaces" : [ ],
@@ -13623,6 +13896,20 @@
13623
13896
  "required" : false,
13624
13897
  "attributes" : [ ],
13625
13898
  "annotations" : [ ]
13899
+ }, {
13900
+ "name" : "flat_rate_reversal",
13901
+ "type" : "transaction_reference",
13902
+ "required" : false,
13903
+ "attributes" : [ ],
13904
+ "annotations" : [ ],
13905
+ "description" : "Reference to the reversal transaction for the flat-rate label fee."
13906
+ }, {
13907
+ "name" : "flat_rate_subsidy_reversal",
13908
+ "type" : "transaction_reference",
13909
+ "required" : false,
13910
+ "attributes" : [ ],
13911
+ "annotations" : [ ],
13912
+ "description" : "Reference to the reversal transaction for the flat-rate label subsidy."
13626
13913
  } ],
13627
13914
  "attributes" : [ ],
13628
13915
  "interfaces" : [ ]
@@ -13646,289 +13933,6 @@
13646
13933
  "attributes" : [ ],
13647
13934
  "interfaces" : [ ],
13648
13935
  "description" : "Partner that actually take a shipment between places (ex: FedEx, DHL, SF Express)"
13649
- }, {
13650
- "name" : "adaptive_pricing_coefficient",
13651
- "plural" : "adaptive_pricing_coefficients",
13652
- "fields" : [ {
13653
- "name" : "coefficients_updated_at",
13654
- "type" : "long",
13655
- "required" : true,
13656
- "attributes" : [ ],
13657
- "annotations" : [ ],
13658
- "description" : "Source-of-change time in epoch millis; the version the store sorts a lane on"
13659
- }, {
13660
- "name" : "channel_id",
13661
- "type" : "string",
13662
- "required" : true,
13663
- "attributes" : [ ],
13664
- "annotations" : [ ]
13665
- }, {
13666
- "name" : "organization_id",
13667
- "type" : "string",
13668
- "required" : true,
13669
- "attributes" : [ ],
13670
- "annotations" : [ ]
13671
- }, {
13672
- "name" : "destination_country",
13673
- "type" : "string",
13674
- "required" : true,
13675
- "attributes" : [ ],
13676
- "annotations" : [ ],
13677
- "description" : "ISO 3166-1 alpha-3 destination country"
13678
- }, {
13679
- "name" : "tax_and_duty_coefficient",
13680
- "type" : "decimal",
13681
- "required" : true,
13682
- "attributes" : [ ],
13683
- "annotations" : [ ],
13684
- "description" : "Tax & duty multiplier",
13685
- "minimum" : 0
13686
- }, {
13687
- "name" : "fees_coefficient",
13688
- "type" : "decimal",
13689
- "required" : true,
13690
- "attributes" : [ ],
13691
- "annotations" : [ ],
13692
- "description" : "MoR + FX fees multiplier",
13693
- "minimum" : 0
13694
- }, {
13695
- "name" : "merchant_subsidy",
13696
- "type" : "io.flow.common.v0.models.money",
13697
- "required" : true,
13698
- "attributes" : [ ],
13699
- "annotations" : [ ],
13700
- "description" : "Merchant-funded subsidy"
13701
- }, {
13702
- "name" : "created_at",
13703
- "type" : "long",
13704
- "required" : true,
13705
- "attributes" : [ ],
13706
- "annotations" : [ ],
13707
- "description" : "Our write time in epoch millis, kept to monitor ingestion latency"
13708
- } ],
13709
- "attributes" : [ ],
13710
- "interfaces" : [ ],
13711
- "description" : "One persisted version of a lane's inbound pricing coefficients, keyed on (channel, organization, destination, coefficients_updated_at)."
13712
- }, {
13713
- "name" : "adaptive_pricing_coefficient_deleted",
13714
- "plural" : "adaptive_pricing_coefficient_deleteds",
13715
- "fields" : [ {
13716
- "name" : "event_id",
13717
- "type" : "string",
13718
- "required" : true,
13719
- "attributes" : [ ],
13720
- "annotations" : [ ]
13721
- }, {
13722
- "name" : "timestamp",
13723
- "type" : "date-time-iso8601",
13724
- "required" : true,
13725
- "attributes" : [ ],
13726
- "annotations" : [ ]
13727
- }, {
13728
- "name" : "organization",
13729
- "type" : "string",
13730
- "required" : true,
13731
- "attributes" : [ ],
13732
- "annotations" : [ ],
13733
- "description" : "Refers to your organization's account identifier"
13734
- }, {
13735
- "name" : "channel_id",
13736
- "type" : "string",
13737
- "required" : true,
13738
- "attributes" : [ ],
13739
- "annotations" : [ ]
13740
- }, {
13741
- "name" : "id",
13742
- "type" : "string",
13743
- "required" : true,
13744
- "attributes" : [ ],
13745
- "annotations" : [ ],
13746
- "description" : "Globally unique identifier"
13747
- } ],
13748
- "attributes" : [ ],
13749
- "interfaces" : [ ]
13750
- }, {
13751
- "name" : "adaptive_pricing_coefficient_upserted",
13752
- "plural" : "adaptive_pricing_coefficient_upserteds",
13753
- "fields" : [ {
13754
- "name" : "event_id",
13755
- "type" : "string",
13756
- "required" : true,
13757
- "attributes" : [ ],
13758
- "annotations" : [ ]
13759
- }, {
13760
- "name" : "timestamp",
13761
- "type" : "date-time-iso8601",
13762
- "required" : true,
13763
- "attributes" : [ ],
13764
- "annotations" : [ ]
13765
- }, {
13766
- "name" : "organization",
13767
- "type" : "string",
13768
- "required" : true,
13769
- "attributes" : [ ],
13770
- "annotations" : [ ],
13771
- "description" : "Refers to your organization's account identifier"
13772
- }, {
13773
- "name" : "channel_id",
13774
- "type" : "string",
13775
- "required" : true,
13776
- "attributes" : [ ],
13777
- "annotations" : [ ]
13778
- }, {
13779
- "name" : "adaptive_pricing_coefficient",
13780
- "type" : "adaptive_pricing_coefficient",
13781
- "required" : true,
13782
- "attributes" : [ ],
13783
- "annotations" : [ ]
13784
- } ],
13785
- "attributes" : [ ],
13786
- "interfaces" : [ ]
13787
- }, {
13788
- "name" : "adaptive_pricing_destination_update",
13789
- "plural" : "adaptive_pricing_destination_updates",
13790
- "fields" : [ {
13791
- "name" : "country",
13792
- "type" : "string",
13793
- "required" : true,
13794
- "attributes" : [ ],
13795
- "annotations" : [ ],
13796
- "description" : "The ISO 3166-1 alpha-3 country code. Case insensitive. See https://api.flow.io/reference/countries",
13797
- "example" : "IRL"
13798
- }, {
13799
- "name" : "updated_at",
13800
- "type" : "date-time-iso8601",
13801
- "required" : true,
13802
- "attributes" : [ ],
13803
- "annotations" : [ ],
13804
- "description" : "Source-of-change timestamp the store versions on"
13805
- }, {
13806
- "name" : "tax_and_duty_coefficient",
13807
- "type" : "decimal",
13808
- "required" : true,
13809
- "attributes" : [ ],
13810
- "annotations" : [ ],
13811
- "description" : "Tax & duty multiplier",
13812
- "minimum" : 0
13813
- }, {
13814
- "name" : "fees_coefficient",
13815
- "type" : "decimal",
13816
- "required" : true,
13817
- "attributes" : [ ],
13818
- "annotations" : [ ],
13819
- "description" : "MoR + FX fees multiplier",
13820
- "minimum" : 0
13821
- }, {
13822
- "name" : "merchant_subsidy",
13823
- "type" : "io.flow.common.v0.models.money",
13824
- "required" : true,
13825
- "attributes" : [ ],
13826
- "annotations" : [ ],
13827
- "description" : "Merchant-funded subsidy"
13828
- } ],
13829
- "attributes" : [ ],
13830
- "interfaces" : [ ]
13831
- }, {
13832
- "name" : "adaptive_pricing_update",
13833
- "plural" : "adaptive_pricing_updates",
13834
- "fields" : [ {
13835
- "name" : "channel_id",
13836
- "type" : "string",
13837
- "required" : true,
13838
- "attributes" : [ ],
13839
- "annotations" : [ ]
13840
- }, {
13841
- "name" : "organization_id",
13842
- "type" : "string",
13843
- "required" : true,
13844
- "attributes" : [ ],
13845
- "annotations" : [ ]
13846
- }, {
13847
- "name" : "destination_updates",
13848
- "type" : "[adaptive_pricing_destination_update]",
13849
- "required" : true,
13850
- "attributes" : [ ],
13851
- "annotations" : [ ],
13852
- "description" : "Per-destination coefficient updates"
13853
- } ],
13854
- "attributes" : [ ],
13855
- "interfaces" : [ ],
13856
- "description" : "Inbound Adaptive International Pricing update for one shop; carries the per-destination coefficient changes Global-e ingests."
13857
- }, {
13858
- "name" : "adaptive_pricing_update_deleted",
13859
- "plural" : "adaptive_pricing_update_deleteds",
13860
- "fields" : [ {
13861
- "name" : "event_id",
13862
- "type" : "string",
13863
- "required" : true,
13864
- "attributes" : [ ],
13865
- "annotations" : [ ]
13866
- }, {
13867
- "name" : "timestamp",
13868
- "type" : "date-time-iso8601",
13869
- "required" : true,
13870
- "attributes" : [ ],
13871
- "annotations" : [ ]
13872
- }, {
13873
- "name" : "organization",
13874
- "type" : "string",
13875
- "required" : true,
13876
- "attributes" : [ ],
13877
- "annotations" : [ ],
13878
- "description" : "Refers to your organization's account identifier"
13879
- }, {
13880
- "name" : "channel_id",
13881
- "type" : "string",
13882
- "required" : true,
13883
- "attributes" : [ ],
13884
- "annotations" : [ ]
13885
- }, {
13886
- "name" : "id",
13887
- "type" : "string",
13888
- "required" : true,
13889
- "attributes" : [ ],
13890
- "annotations" : [ ],
13891
- "description" : "Globally unique identifier"
13892
- } ],
13893
- "attributes" : [ ],
13894
- "interfaces" : [ ]
13895
- }, {
13896
- "name" : "adaptive_pricing_update_upserted",
13897
- "plural" : "adaptive_pricing_update_upserteds",
13898
- "fields" : [ {
13899
- "name" : "event_id",
13900
- "type" : "string",
13901
- "required" : true,
13902
- "attributes" : [ ],
13903
- "annotations" : [ ]
13904
- }, {
13905
- "name" : "timestamp",
13906
- "type" : "date-time-iso8601",
13907
- "required" : true,
13908
- "attributes" : [ ],
13909
- "annotations" : [ ]
13910
- }, {
13911
- "name" : "organization",
13912
- "type" : "string",
13913
- "required" : true,
13914
- "attributes" : [ ],
13915
- "annotations" : [ ],
13916
- "description" : "Refers to your organization's account identifier"
13917
- }, {
13918
- "name" : "channel_id",
13919
- "type" : "string",
13920
- "required" : true,
13921
- "attributes" : [ ],
13922
- "annotations" : [ ]
13923
- }, {
13924
- "name" : "adaptive_pricing_update",
13925
- "type" : "adaptive_pricing_update",
13926
- "required" : true,
13927
- "attributes" : [ ],
13928
- "annotations" : [ ]
13929
- } ],
13930
- "attributes" : [ ],
13931
- "interfaces" : [ ]
13932
13936
  }, {
13933
13937
  "name" : "adaptive_shipping_order_guarantee",
13934
13938
  "plural" : "adaptive_shipping_order_guarantees",
@@ -14039,130 +14043,6 @@
14039
14043
  "attributes" : [ ],
14040
14044
  "interfaces" : [ ],
14041
14045
  "description" : "Emitted by the label service when an order's Adaptive Shipping guarantee state is decided (confirmed or voided) on its first commitment. Fires at most once per order; absence means the guarantee is still active."
14042
- }, {
14043
- "name" : "adaptive_shipping_rate",
14044
- "plural" : "adaptive_shipping_rates",
14045
- "fields" : [ {
14046
- "name" : "id",
14047
- "type" : "string",
14048
- "required" : true,
14049
- "attributes" : [ ],
14050
- "annotations" : [ ],
14051
- "description" : "Globally unique identifier"
14052
- }, {
14053
- "name" : "organization_id",
14054
- "type" : "string",
14055
- "required" : true,
14056
- "attributes" : [ ],
14057
- "annotations" : [ ]
14058
- }, {
14059
- "name" : "channel_id",
14060
- "type" : "string",
14061
- "required" : true,
14062
- "attributes" : [ ],
14063
- "annotations" : [ ]
14064
- }, {
14065
- "name" : "destination_country",
14066
- "type" : "string",
14067
- "required" : true,
14068
- "attributes" : [ ],
14069
- "annotations" : [ ],
14070
- "description" : "ISO 3166-1 alpha-3 destination country"
14071
- }, {
14072
- "name" : "coefficient",
14073
- "type" : "decimal",
14074
- "required" : true,
14075
- "attributes" : [ ],
14076
- "annotations" : [ ],
14077
- "description" : "Shipping markup coefficient; non-negative",
14078
- "minimum" : 0
14079
- }, {
14080
- "name" : "flat_rates",
14081
- "type" : "[flat_rate]",
14082
- "required" : true,
14083
- "attributes" : [ ],
14084
- "annotations" : [ ],
14085
- "description" : "Flat-rate entries for this destination"
14086
- }, {
14087
- "name" : "effective_at",
14088
- "type" : "date-time-iso8601",
14089
- "required" : true,
14090
- "attributes" : [ ],
14091
- "annotations" : [ ],
14092
- "description" : "Inclusive start of the effective window"
14093
- }, {
14094
- "name" : "effective_until",
14095
- "type" : "date-time-iso8601",
14096
- "required" : false,
14097
- "attributes" : [ ],
14098
- "annotations" : [ ],
14099
- "description" : "Exclusive end of the effective window; absent means currently effective"
14100
- } ],
14101
- "attributes" : [ ],
14102
- "interfaces" : [ ]
14103
- }, {
14104
- "name" : "adaptive_shipping_rate_deleted",
14105
- "plural" : "adaptive_shipping_rate_deleteds",
14106
- "fields" : [ {
14107
- "name" : "event_id",
14108
- "type" : "string",
14109
- "required" : true,
14110
- "attributes" : [ ],
14111
- "annotations" : [ ]
14112
- }, {
14113
- "name" : "timestamp",
14114
- "type" : "date-time-iso8601",
14115
- "required" : true,
14116
- "attributes" : [ ],
14117
- "annotations" : [ ]
14118
- }, {
14119
- "name" : "organization",
14120
- "type" : "string",
14121
- "required" : true,
14122
- "attributes" : [ ],
14123
- "annotations" : [ ],
14124
- "description" : "Refers to your organization's account identifier"
14125
- }, {
14126
- "name" : "id",
14127
- "type" : "string",
14128
- "required" : true,
14129
- "attributes" : [ ],
14130
- "annotations" : [ ],
14131
- "description" : "Globally unique identifier"
14132
- } ],
14133
- "attributes" : [ ],
14134
- "interfaces" : [ ]
14135
- }, {
14136
- "name" : "adaptive_shipping_rate_upserted",
14137
- "plural" : "adaptive_shipping_rate_upserteds",
14138
- "fields" : [ {
14139
- "name" : "event_id",
14140
- "type" : "string",
14141
- "required" : true,
14142
- "attributes" : [ ],
14143
- "annotations" : [ ]
14144
- }, {
14145
- "name" : "timestamp",
14146
- "type" : "date-time-iso8601",
14147
- "required" : true,
14148
- "attributes" : [ ],
14149
- "annotations" : [ ]
14150
- }, {
14151
- "name" : "organization",
14152
- "type" : "string",
14153
- "required" : true,
14154
- "attributes" : [ ],
14155
- "annotations" : [ ],
14156
- "description" : "Refers to your organization's account identifier"
14157
- }, {
14158
- "name" : "adaptive_shipping_rate",
14159
- "type" : "adaptive_shipping_rate",
14160
- "required" : true,
14161
- "attributes" : [ ],
14162
- "annotations" : [ ]
14163
- } ],
14164
- "attributes" : [ ],
14165
- "interfaces" : [ ]
14166
14046
  }, {
14167
14047
  "name" : "additional_import_tax",
14168
14048
  "plural" : "additional_import_taxes",
@@ -16067,6 +15947,226 @@
16067
15947
  } ],
16068
15948
  "attributes" : [ ],
16069
15949
  "interfaces" : [ ]
15950
+ }, {
15951
+ "name" : "ai_review_batch_submitted",
15952
+ "plural" : "ai_review_batch_submitteds",
15953
+ "fields" : [ {
15954
+ "name" : "event_id",
15955
+ "type" : "string",
15956
+ "required" : true,
15957
+ "attributes" : [ ],
15958
+ "annotations" : [ ]
15959
+ }, {
15960
+ "name" : "timestamp",
15961
+ "type" : "date-time-iso8601",
15962
+ "required" : true,
15963
+ "attributes" : [ ],
15964
+ "annotations" : [ ]
15965
+ }, {
15966
+ "name" : "consumer",
15967
+ "type" : "ai_review_consumer",
15968
+ "required" : true,
15969
+ "attributes" : [ ],
15970
+ "annotations" : [ ],
15971
+ "description" : "Which service this batch belongs to. The enum is shared with the outbound result event, where this service consumes its own results; on this inbound event the service is the producer. One cron run carries a single service."
15972
+ }, {
15973
+ "name" : "items",
15974
+ "type" : "[review_request_item]",
15975
+ "required" : true,
15976
+ "attributes" : [ ],
15977
+ "annotations" : [ ],
15978
+ "description" : "The review requests in this batch"
15979
+ } ],
15980
+ "attributes" : [ ],
15981
+ "interfaces" : [ ],
15982
+ "description" : "A batch of review requests from a producer's cron run. One event per run — the producer job is already batched, so per-item events would be wasteful. Cap items per event to stay under the Kinesis 1 MB record limit (align to the cron's max_batch_size; split a large run across multiple records)."
15983
+ }, {
15984
+ "name" : "ai_review_failed_item",
15985
+ "plural" : "ai_review_failed_items",
15986
+ "fields" : [ {
15987
+ "name" : "review_id",
15988
+ "type" : "string",
15989
+ "required" : true,
15990
+ "attributes" : [ ],
15991
+ "annotations" : [ ],
15992
+ "description" : "Caller-supplied correlation id from the original request"
15993
+ }, {
15994
+ "name" : "organization_id",
15995
+ "type" : "string",
15996
+ "required" : true,
15997
+ "attributes" : [ ],
15998
+ "annotations" : [ ],
15999
+ "description" : "Flow organization the item belongs to"
16000
+ } ],
16001
+ "attributes" : [ ],
16002
+ "interfaces" : [ ],
16003
+ "description" : "One review request that could not be completed, identified by the caller-supplied correlation id and carrying its organization so the consumer can route the resend without a lookup."
16004
+ }, {
16005
+ "name" : "ai_review_request_failed",
16006
+ "plural" : "ai_review_request_faileds",
16007
+ "fields" : [ {
16008
+ "name" : "event_id",
16009
+ "type" : "string",
16010
+ "required" : true,
16011
+ "attributes" : [ ],
16012
+ "annotations" : [ ]
16013
+ }, {
16014
+ "name" : "timestamp",
16015
+ "type" : "date-time-iso8601",
16016
+ "required" : true,
16017
+ "attributes" : [ ],
16018
+ "annotations" : [ ]
16019
+ }, {
16020
+ "name" : "consumer",
16021
+ "type" : "ai_review_consumer",
16022
+ "required" : true,
16023
+ "attributes" : [ ],
16024
+ "annotations" : [ ],
16025
+ "description" : "Service that submitted the failed items — lets each consumer filter the stream for its own failures"
16026
+ }, {
16027
+ "name" : "review_type",
16028
+ "type" : "ai_review_type",
16029
+ "required" : true,
16030
+ "attributes" : [ ],
16031
+ "annotations" : [ ]
16032
+ }, {
16033
+ "name" : "reason",
16034
+ "type" : "ai_review_failure_reason",
16035
+ "required" : true,
16036
+ "attributes" : [ ],
16037
+ "annotations" : [ ]
16038
+ }, {
16039
+ "name" : "items",
16040
+ "type" : "[ai_review_failed_item]",
16041
+ "required" : true,
16042
+ "attributes" : [ ],
16043
+ "annotations" : [ ],
16044
+ "description" : "The requests that failed for this reason"
16045
+ } ],
16046
+ "attributes" : [ ],
16047
+ "interfaces" : [ ],
16048
+ "description" : "Review requests that could not produce a result, reported so the consumer can resend them (the consumer owns the retry budget, e.g. up to 3 attempts then escalate to human review). Covers both item-level failures within a processed batch and whole-batch failures/timeouts; a partially failed batch yields results for the successful items and this event for the rest. items is always populated by ai-review — for batch-level reasons it is enumerated from ai-review's own batch registry, so the consumer never needs to reconstruct what a lost batch contained. Chunk items to stay under the Kinesis 1 MB record limit."
16049
+ }, {
16050
+ "name" : "ai_review_result",
16051
+ "plural" : "ai_review_results",
16052
+ "fields" : [ {
16053
+ "name" : "review_id",
16054
+ "type" : "string",
16055
+ "required" : true,
16056
+ "attributes" : [ ],
16057
+ "annotations" : [ ],
16058
+ "description" : "Caller-supplied correlation id, echoed for the consumer to tie the result back to its record. Restrictions general PV: the decision (prd) id. Restrictions DG: the product_restriction (prn) id — one DG review yields a per-class verdict list (dg_review_output.assessments) the consumer maps by dg_class. Harmonization: the harmonization_resource_id."
16059
+ }, {
16060
+ "name" : "organization_id",
16061
+ "type" : "string",
16062
+ "required" : true,
16063
+ "attributes" : [ ],
16064
+ "annotations" : [ ],
16065
+ "description" : "Flow organization the reviewed item belongs to"
16066
+ }, {
16067
+ "name" : "consumer",
16068
+ "type" : "ai_review_consumer",
16069
+ "required" : true,
16070
+ "attributes" : [ ],
16071
+ "annotations" : [ ],
16072
+ "description" : "Service that submitted the item — lets each consumer filter the outbound stream for its own results"
16073
+ }, {
16074
+ "name" : "review_type",
16075
+ "type" : "ai_review_type",
16076
+ "required" : true,
16077
+ "attributes" : [ ],
16078
+ "annotations" : [ ]
16079
+ }, {
16080
+ "name" : "ai_output",
16081
+ "type" : "ai_output",
16082
+ "required" : true,
16083
+ "attributes" : [ ],
16084
+ "annotations" : [ ],
16085
+ "description" : "The AI's answer, typed per review type — carries the confidence and reasoning (scalar for PV/PC, per-class for DG). Always present on a result; an item with no verdict (the AI declined, or processing failed) never produces a result — it is reported via ai_review_request_failed instead"
16086
+ }, {
16087
+ "name" : "ai_model",
16088
+ "type" : "string",
16089
+ "required" : true,
16090
+ "attributes" : [ ],
16091
+ "annotations" : [ ],
16092
+ "description" : "AI model that produced this result (e.g. claude-sonnet-4-6)"
16093
+ }, {
16094
+ "name" : "prompt_id",
16095
+ "type" : "string",
16096
+ "required" : true,
16097
+ "attributes" : [ ],
16098
+ "annotations" : [ ],
16099
+ "description" : "Identifier of the prompt used — a bundled resource id, or a skill id when sourced from the Claude Skills API"
16100
+ }, {
16101
+ "name" : "prompt_version",
16102
+ "type" : "string",
16103
+ "required" : true,
16104
+ "attributes" : [ ],
16105
+ "annotations" : [ ],
16106
+ "description" : "Version of the prompt at review time"
16107
+ } ],
16108
+ "attributes" : [ ],
16109
+ "interfaces" : [ ],
16110
+ "description" : "The result of an AI review for a single item, published after the batch completes. Carries the AI's answer (ai_output, which holds the confidence and reasoning shaped per review type) and provenance. ai-review does no gating — the consumer decides how to act on the answer and owns any escalation."
16111
+ }, {
16112
+ "name" : "ai_review_result_deleted",
16113
+ "plural" : "ai_review_result_deleteds",
16114
+ "fields" : [ {
16115
+ "name" : "event_id",
16116
+ "type" : "string",
16117
+ "required" : true,
16118
+ "attributes" : [ ],
16119
+ "annotations" : [ ]
16120
+ }, {
16121
+ "name" : "timestamp",
16122
+ "type" : "date-time-iso8601",
16123
+ "required" : true,
16124
+ "attributes" : [ ],
16125
+ "annotations" : [ ]
16126
+ }, {
16127
+ "name" : "id",
16128
+ "type" : "string",
16129
+ "required" : true,
16130
+ "attributes" : [ ],
16131
+ "annotations" : [ ],
16132
+ "description" : "review_id of the deleted result. review_ids are unique within the submitting consumer's namespace, so a consumer simply ignores deletions for review_ids it does not recognize (api-build restricts deleted-event fields, so no consumer discriminator is carried)"
16133
+ }, {
16134
+ "name" : "organization",
16135
+ "type" : "string",
16136
+ "required" : true,
16137
+ "attributes" : [ ],
16138
+ "annotations" : [ ],
16139
+ "description" : "Flow organization the deleted result belonged to"
16140
+ } ],
16141
+ "attributes" : [ ],
16142
+ "interfaces" : [ ],
16143
+ "description" : "Emitted if an AI review result is removed (e.g. superseded/replayed). Rare — results are normally append-only."
16144
+ }, {
16145
+ "name" : "ai_review_result_upserted",
16146
+ "plural" : "ai_review_result_upserteds",
16147
+ "fields" : [ {
16148
+ "name" : "event_id",
16149
+ "type" : "string",
16150
+ "required" : true,
16151
+ "attributes" : [ ],
16152
+ "annotations" : [ ]
16153
+ }, {
16154
+ "name" : "timestamp",
16155
+ "type" : "date-time-iso8601",
16156
+ "required" : true,
16157
+ "attributes" : [ ],
16158
+ "annotations" : [ ]
16159
+ }, {
16160
+ "name" : "ai_review_result",
16161
+ "type" : "ai_review_result",
16162
+ "required" : true,
16163
+ "attributes" : [ ],
16164
+ "annotations" : [ ],
16165
+ "description" : "The full, self-contained AI review result"
16166
+ } ],
16167
+ "attributes" : [ ],
16168
+ "interfaces" : [ ],
16169
+ "description" : "An AI review result for a single item, published after the ai-review service processes a batch. ai-review applies no overrides — the raw typed answer plus confidence/reasoning is passed through for the consumer to act on."
16070
16170
  }, {
16071
16171
  "name" : "all_items_export",
16072
16172
  "plural" : "all_items_exports",
@@ -21889,7 +21989,7 @@
21889
21989
  "required" : true,
21890
21990
  "attributes" : [ ],
21891
21991
  "annotations" : [ ],
21892
- "description" : "i.e. Shopify's checkout id."
21992
+ "description" : "i.e. the channel's checkout id."
21893
21993
  }, {
21894
21994
  "name" : "payment_request_id",
21895
21995
  "type" : "string",
@@ -21952,14 +22052,14 @@
21952
22052
  "annotations" : [ ]
21953
22053
  }, {
21954
22054
  "name" : "external_order_summary",
21955
- "type" : "io.flow.channel.shopify.v0.models.external_order_summary",
22055
+ "type" : "external_order_summary",
21956
22056
  "required" : false,
21957
22057
  "attributes" : [ ],
21958
22058
  "annotations" : [ ]
21959
22059
  } ],
21960
22060
  "attributes" : [ ],
21961
22061
  "interfaces" : [ ],
21962
- "description" : "Support Shopify order acceptance workflow."
22062
+ "description" : "Support order acceptance workflow."
21963
22063
  }, {
21964
22064
  "name" : "channel_order_acceptance_deleted",
21965
22065
  "plural" : "channel_order_acceptance_deleteds",
@@ -22285,6 +22385,93 @@
22285
22385
  } ],
22286
22386
  "attributes" : [ ],
22287
22387
  "interfaces" : [ ]
22388
+ }, {
22389
+ "name" : "channel_order_tax_and_duty_inclusivity_setting",
22390
+ "plural" : "channel_order_tax_and_duty_inclusivity_settings",
22391
+ "fields" : [ {
22392
+ "name" : "organization",
22393
+ "type" : "io.flow.common.v0.models.organization_reference",
22394
+ "required" : true,
22395
+ "attributes" : [ ],
22396
+ "annotations" : [ ],
22397
+ "description" : "Refers to your organization's account identifier"
22398
+ }, {
22399
+ "name" : "order_number",
22400
+ "type" : "string",
22401
+ "required" : true,
22402
+ "attributes" : [ ],
22403
+ "annotations" : [ ]
22404
+ }, {
22405
+ "name" : "channel",
22406
+ "type" : "io.flow.common.v0.models.channel_reference",
22407
+ "required" : true,
22408
+ "attributes" : [ ],
22409
+ "annotations" : [ ]
22410
+ }, {
22411
+ "name" : "tax_and_duty_inclusivity_setting",
22412
+ "type" : "io.flow.experience.v0.enums.tax_and_duty_inclusivity_setting",
22413
+ "required" : true,
22414
+ "attributes" : [ ],
22415
+ "annotations" : [ ]
22416
+ } ],
22417
+ "attributes" : [ ],
22418
+ "interfaces" : [ ]
22419
+ }, {
22420
+ "name" : "channel_order_tax_and_duty_inclusivity_setting_deleted",
22421
+ "plural" : "channel_order_tax_and_duty_inclusivity_setting_deleteds",
22422
+ "fields" : [ {
22423
+ "name" : "event_id",
22424
+ "type" : "string",
22425
+ "required" : true,
22426
+ "attributes" : [ ],
22427
+ "annotations" : [ ]
22428
+ }, {
22429
+ "name" : "timestamp",
22430
+ "type" : "date-time-iso8601",
22431
+ "required" : true,
22432
+ "attributes" : [ ],
22433
+ "annotations" : [ ]
22434
+ }, {
22435
+ "name" : "organization",
22436
+ "type" : "string",
22437
+ "required" : true,
22438
+ "attributes" : [ ],
22439
+ "annotations" : [ ],
22440
+ "description" : "Refers to your organization's account identifier"
22441
+ }, {
22442
+ "name" : "id",
22443
+ "type" : "string",
22444
+ "required" : true,
22445
+ "attributes" : [ ],
22446
+ "annotations" : [ ],
22447
+ "description" : "Globally unique identifier"
22448
+ } ],
22449
+ "attributes" : [ ],
22450
+ "interfaces" : [ ]
22451
+ }, {
22452
+ "name" : "channel_order_tax_and_duty_inclusivity_setting_upserted",
22453
+ "plural" : "channel_order_tax_and_duty_inclusivity_setting_upserteds",
22454
+ "fields" : [ {
22455
+ "name" : "event_id",
22456
+ "type" : "string",
22457
+ "required" : true,
22458
+ "attributes" : [ ],
22459
+ "annotations" : [ ]
22460
+ }, {
22461
+ "name" : "timestamp",
22462
+ "type" : "date-time-iso8601",
22463
+ "required" : true,
22464
+ "attributes" : [ ],
22465
+ "annotations" : [ ]
22466
+ }, {
22467
+ "name" : "channel_order_tax_and_duty_inclusivity_setting",
22468
+ "type" : "channel_order_tax_and_duty_inclusivity_setting",
22469
+ "required" : true,
22470
+ "attributes" : [ ],
22471
+ "annotations" : [ ]
22472
+ } ],
22473
+ "attributes" : [ ],
22474
+ "interfaces" : [ ]
22288
22475
  }, {
22289
22476
  "name" : "channel_organization_domains",
22290
22477
  "plural" : "channel_organization_domainses",
@@ -27542,6 +27729,110 @@
27542
27729
  } ],
27543
27730
  "attributes" : [ ],
27544
27731
  "interfaces" : [ ]
27732
+ }, {
27733
+ "name" : "dg_class_assessment",
27734
+ "plural" : "dg_class_assessments",
27735
+ "fields" : [ {
27736
+ "name" : "dg_class",
27737
+ "type" : "string",
27738
+ "required" : true,
27739
+ "attributes" : [ ],
27740
+ "annotations" : [ ],
27741
+ "description" : "The DG hazmat class / restriction reason code assessed (e.g. DGHazmatFlammableLiquids)"
27742
+ }, {
27743
+ "name" : "decision",
27744
+ "type" : "pv_decision",
27745
+ "required" : true,
27746
+ "attributes" : [ ],
27747
+ "annotations" : [ ],
27748
+ "description" : "The AI's verdict for this class. In DG, remove on a class with no open decision is a no-op — nothing was restricted, the class is simply clear"
27749
+ }, {
27750
+ "name" : "confidence",
27751
+ "type" : "double",
27752
+ "required" : true,
27753
+ "attributes" : [ ],
27754
+ "annotations" : [ ],
27755
+ "description" : "0.0 to 1.0 confidence score from the AI",
27756
+ "minimum" : 0,
27757
+ "maximum" : 1
27758
+ }, {
27759
+ "name" : "reasoning",
27760
+ "type" : "string",
27761
+ "required" : true,
27762
+ "attributes" : [ ],
27763
+ "annotations" : [ ],
27764
+ "description" : "One-sentence explanation from the AI"
27765
+ } ],
27766
+ "attributes" : [ ],
27767
+ "interfaces" : [ ],
27768
+ "description" : "The AI's verdict for a single DG hazmat class on a product. Identified by dg_class (the restriction reason code); the consumer maps it back to an open decision, or treats an UPHELD class with no open decision as a newly-surfaced hazard."
27769
+ }, {
27770
+ "name" : "dg_review_context",
27771
+ "plural" : "dg_review_contexts",
27772
+ "fields" : [ {
27773
+ "name" : "organization_id",
27774
+ "type" : "string",
27775
+ "required" : true,
27776
+ "attributes" : [ ],
27777
+ "annotations" : [ ],
27778
+ "description" : "Echoed on the result; not used by the prompt"
27779
+ }, {
27780
+ "name" : "item_name",
27781
+ "type" : "string",
27782
+ "required" : true,
27783
+ "attributes" : [ ],
27784
+ "annotations" : [ ]
27785
+ }, {
27786
+ "name" : "item_description",
27787
+ "type" : "string",
27788
+ "required" : false,
27789
+ "attributes" : [ ],
27790
+ "annotations" : [ ]
27791
+ }, {
27792
+ "name" : "image_url",
27793
+ "type" : "string",
27794
+ "required" : false,
27795
+ "attributes" : [ ],
27796
+ "annotations" : [ ],
27797
+ "description" : "Product image; evaluated by the DG prompt alongside the text when present (occasionally missing)"
27798
+ }, {
27799
+ "name" : "hs_code",
27800
+ "type" : "string",
27801
+ "required" : false,
27802
+ "attributes" : [ ],
27803
+ "annotations" : [ ],
27804
+ "description" : "Item's known HS code (input context)"
27805
+ }, {
27806
+ "name" : "categories",
27807
+ "type" : "string",
27808
+ "required" : false,
27809
+ "attributes" : [ ],
27810
+ "annotations" : [ ],
27811
+ "description" : "Product categories if available"
27812
+ }, {
27813
+ "name" : "price",
27814
+ "type" : "string",
27815
+ "required" : false,
27816
+ "attributes" : [ ],
27817
+ "annotations" : [ ]
27818
+ } ],
27819
+ "attributes" : [ ],
27820
+ "interfaces" : [ ],
27821
+ "description" : "Producer context for a DG/hazmat pending-verification (pv_review_dg_hazmat) review. Item context only — the DG prompt evaluates all 9 IATA DG classes independently of what was flagged upstream, so (unlike pv_review_context) no rule is passed in. The consumer supplies everything (ai-review does not enrich) and correlates the per-class results itself via review_id (the prn)."
27822
+ }, {
27823
+ "name" : "dg_review_output",
27824
+ "plural" : "dg_review_outputs",
27825
+ "fields" : [ {
27826
+ "name" : "assessments",
27827
+ "type" : "[dg_class_assessment]",
27828
+ "required" : true,
27829
+ "attributes" : [ ],
27830
+ "annotations" : [ ],
27831
+ "description" : "One verdict per IATA DG class — normally all 9; a short or empty list signals a partial/total parse failure the consumer should escalate rather than auto-apply"
27832
+ } ],
27833
+ "attributes" : [ ],
27834
+ "interfaces" : [ ],
27835
+ "description" : "AI output for a DG/hazmat review (pv_review_dg_hazmat): a verdict for each of the 9 IATA DG classes the prompt evaluates. Keyed only by dg_class — the consumer maps each verdict back to its own data: a class matching an open decision is resolved, and an UPHELD class with no open decision is a newly-surfaced hazard the consumer may act on."
27545
27836
  }, {
27546
27837
  "name" : "dhl",
27547
27838
  "plural" : "dhls",
@@ -30925,6 +31216,31 @@
30925
31216
  } ],
30926
31217
  "attributes" : [ ],
30927
31218
  "interfaces" : [ ]
31219
+ }, {
31220
+ "name" : "external_order_summary",
31221
+ "plural" : "external_order_summaries",
31222
+ "fields" : [ {
31223
+ "name" : "id",
31224
+ "type" : "string",
31225
+ "required" : true,
31226
+ "attributes" : [ ],
31227
+ "annotations" : [ ],
31228
+ "description" : "Globally unique identifier"
31229
+ }, {
31230
+ "name" : "edit_ids",
31231
+ "type" : "[string]",
31232
+ "required" : true,
31233
+ "attributes" : [ ],
31234
+ "annotations" : [ ]
31235
+ }, {
31236
+ "name" : "created_at",
31237
+ "type" : "date-time-iso8601",
31238
+ "required" : false,
31239
+ "attributes" : [ ],
31240
+ "annotations" : [ ]
31241
+ } ],
31242
+ "attributes" : [ ],
31243
+ "interfaces" : [ ]
30928
31244
  }, {
30929
31245
  "name" : "external_ratecard_link",
30930
31246
  "plural" : "external_ratecard_links",
@@ -32289,6 +32605,118 @@
32289
32605
  } ],
32290
32606
  "attributes" : [ ],
32291
32607
  "interfaces" : [ ]
32608
+ }, {
32609
+ "name" : "flat_rate_label_subsidy",
32610
+ "plural" : "flat_rate_label_subsidies",
32611
+ "fields" : [ {
32612
+ "name" : "id",
32613
+ "type" : "string",
32614
+ "required" : true,
32615
+ "attributes" : [ ],
32616
+ "annotations" : [ ],
32617
+ "description" : "Globally unique identifier"
32618
+ }, {
32619
+ "name" : "source",
32620
+ "type" : "io.flow.billing.v0.enums.transaction_source",
32621
+ "required" : true,
32622
+ "attributes" : [ ],
32623
+ "annotations" : [ ],
32624
+ "description" : "Identifies whether this record represents the initial subsidy charge or a reversal."
32625
+ }, {
32626
+ "name" : "organization_id",
32627
+ "type" : "string",
32628
+ "required" : true,
32629
+ "attributes" : [ ],
32630
+ "annotations" : [ ]
32631
+ }, {
32632
+ "name" : "order_number",
32633
+ "type" : "string",
32634
+ "required" : true,
32635
+ "attributes" : [ ],
32636
+ "annotations" : [ ]
32637
+ }, {
32638
+ "name" : "amount",
32639
+ "type" : "io.flow.common.v0.models.money",
32640
+ "required" : true,
32641
+ "attributes" : [ ],
32642
+ "annotations" : [ ],
32643
+ "description" : "Subsidy amount excluding tax. Negative for charges (debit to merchant), positive for credits."
32644
+ }, {
32645
+ "name" : "tax",
32646
+ "type" : "io.flow.common.v0.models.money",
32647
+ "required" : true,
32648
+ "attributes" : [ ],
32649
+ "annotations" : [ ],
32650
+ "description" : "Shipping tax (VAT) on the order the subsidy applies to"
32651
+ } ],
32652
+ "attributes" : [ ],
32653
+ "interfaces" : [ ],
32654
+ "description" : "A flat rate label subsidy billing transaction recorded against a merchant account"
32655
+ }, {
32656
+ "name" : "flat_rate_label_subsidy_deleted",
32657
+ "plural" : "flat_rate_label_subsidy_deleteds",
32658
+ "fields" : [ {
32659
+ "name" : "event_id",
32660
+ "type" : "string",
32661
+ "required" : true,
32662
+ "attributes" : [ ],
32663
+ "annotations" : [ ]
32664
+ }, {
32665
+ "name" : "timestamp",
32666
+ "type" : "date-time-iso8601",
32667
+ "required" : true,
32668
+ "attributes" : [ ],
32669
+ "annotations" : [ ]
32670
+ }, {
32671
+ "name" : "organization",
32672
+ "type" : "string",
32673
+ "required" : true,
32674
+ "attributes" : [ ],
32675
+ "annotations" : [ ],
32676
+ "description" : "Refers to your organization's account identifier"
32677
+ }, {
32678
+ "name" : "id",
32679
+ "type" : "string",
32680
+ "required" : true,
32681
+ "attributes" : [ ],
32682
+ "annotations" : [ ],
32683
+ "description" : "Globally unique identifier"
32684
+ } ],
32685
+ "attributes" : [ ],
32686
+ "interfaces" : [ ],
32687
+ "description" : "Published when a flat rate label subsidy billing transaction is deleted from a merchant account."
32688
+ }, {
32689
+ "name" : "flat_rate_label_subsidy_upserted",
32690
+ "plural" : "flat_rate_label_subsidy_upserteds",
32691
+ "fields" : [ {
32692
+ "name" : "event_id",
32693
+ "type" : "string",
32694
+ "required" : true,
32695
+ "attributes" : [ ],
32696
+ "annotations" : [ ]
32697
+ }, {
32698
+ "name" : "timestamp",
32699
+ "type" : "date-time-iso8601",
32700
+ "required" : true,
32701
+ "attributes" : [ ],
32702
+ "annotations" : [ ]
32703
+ }, {
32704
+ "name" : "organization",
32705
+ "type" : "string",
32706
+ "required" : true,
32707
+ "attributes" : [ ],
32708
+ "annotations" : [ ],
32709
+ "description" : "Refers to your organization's account identifier"
32710
+ }, {
32711
+ "name" : "flat_rate_label_subsidy",
32712
+ "type" : "flat_rate_label_subsidy",
32713
+ "required" : true,
32714
+ "attributes" : [ ],
32715
+ "annotations" : [ ]
32716
+ } ],
32717
+ "attributes" : [ ],
32718
+ "interfaces" : [ ],
32719
+ "description" : "Published when a flat rate label subsidy billing transaction is created or updated against a merchant account."
32292
32720
  }, {
32293
32721
  "name" : "flat_rate_label_transaction",
32294
32722
  "plural" : "flat_rate_label_transactions",
@@ -35417,6 +35845,197 @@
35417
35845
  "attributes" : [ ],
35418
35846
  "interfaces" : [ ],
35419
35847
  "description" : "Configuration for Google Tag Manager integrations"
35848
+ }, {
35849
+ "name" : "guaranteed_shipping_calibrated_output",
35850
+ "plural" : "guaranteed_shipping_calibrated_outputs",
35851
+ "fields" : [ {
35852
+ "name" : "id",
35853
+ "type" : "string",
35854
+ "required" : true,
35855
+ "attributes" : [ ],
35856
+ "annotations" : [ ],
35857
+ "description" : "Globally unique identifier"
35858
+ }, {
35859
+ "name" : "organization_id",
35860
+ "type" : "string",
35861
+ "required" : true,
35862
+ "attributes" : [ ],
35863
+ "annotations" : [ ]
35864
+ }, {
35865
+ "name" : "channel_id",
35866
+ "type" : "string",
35867
+ "required" : true,
35868
+ "attributes" : [ ],
35869
+ "annotations" : [ ]
35870
+ }, {
35871
+ "name" : "destination_country",
35872
+ "type" : "string",
35873
+ "required" : true,
35874
+ "attributes" : [ ],
35875
+ "annotations" : [ ],
35876
+ "description" : "ISO 3166-1 alpha-3 destination country"
35877
+ }, {
35878
+ "name" : "coefficient",
35879
+ "type" : "decimal",
35880
+ "required" : true,
35881
+ "attributes" : [ ],
35882
+ "annotations" : [ ],
35883
+ "description" : "Shipping markup coefficient; non-negative",
35884
+ "minimum" : 0
35885
+ }, {
35886
+ "name" : "flat_rates",
35887
+ "type" : "[flat_rate]",
35888
+ "required" : true,
35889
+ "attributes" : [ ],
35890
+ "annotations" : [ ],
35891
+ "description" : "Flat-rate entries for this destination"
35892
+ }, {
35893
+ "name" : "effective_at",
35894
+ "type" : "date-time-iso8601",
35895
+ "required" : true,
35896
+ "attributes" : [ ],
35897
+ "annotations" : [ ],
35898
+ "description" : "Inclusive start of the effective window"
35899
+ }, {
35900
+ "name" : "effective_until",
35901
+ "type" : "date-time-iso8601",
35902
+ "required" : false,
35903
+ "attributes" : [ ],
35904
+ "annotations" : [ ],
35905
+ "description" : "Exclusive end of the effective window; absent means currently effective"
35906
+ } ],
35907
+ "attributes" : [ ],
35908
+ "interfaces" : [ ]
35909
+ }, {
35910
+ "name" : "guaranteed_shipping_calibrated_output_deleted",
35911
+ "plural" : "guaranteed_shipping_calibrated_output_deleteds",
35912
+ "fields" : [ {
35913
+ "name" : "event_id",
35914
+ "type" : "string",
35915
+ "required" : true,
35916
+ "attributes" : [ ],
35917
+ "annotations" : [ ]
35918
+ }, {
35919
+ "name" : "timestamp",
35920
+ "type" : "date-time-iso8601",
35921
+ "required" : true,
35922
+ "attributes" : [ ],
35923
+ "annotations" : [ ]
35924
+ }, {
35925
+ "name" : "organization",
35926
+ "type" : "string",
35927
+ "required" : true,
35928
+ "attributes" : [ ],
35929
+ "annotations" : [ ],
35930
+ "description" : "Refers to your organization's account identifier"
35931
+ }, {
35932
+ "name" : "id",
35933
+ "type" : "string",
35934
+ "required" : true,
35935
+ "attributes" : [ ],
35936
+ "annotations" : [ ],
35937
+ "description" : "Globally unique identifier"
35938
+ } ],
35939
+ "attributes" : [ ],
35940
+ "interfaces" : [ ]
35941
+ }, {
35942
+ "name" : "guaranteed_shipping_calibrated_output_upserted",
35943
+ "plural" : "guaranteed_shipping_calibrated_output_upserteds",
35944
+ "fields" : [ {
35945
+ "name" : "event_id",
35946
+ "type" : "string",
35947
+ "required" : true,
35948
+ "attributes" : [ ],
35949
+ "annotations" : [ ]
35950
+ }, {
35951
+ "name" : "timestamp",
35952
+ "type" : "date-time-iso8601",
35953
+ "required" : true,
35954
+ "attributes" : [ ],
35955
+ "annotations" : [ ]
35956
+ }, {
35957
+ "name" : "organization",
35958
+ "type" : "string",
35959
+ "required" : true,
35960
+ "attributes" : [ ],
35961
+ "annotations" : [ ],
35962
+ "description" : "Refers to your organization's account identifier"
35963
+ }, {
35964
+ "name" : "guaranteed_shipping_calibrated_output",
35965
+ "type" : "guaranteed_shipping_calibrated_output",
35966
+ "required" : true,
35967
+ "attributes" : [ ],
35968
+ "annotations" : [ ]
35969
+ } ],
35970
+ "attributes" : [ ],
35971
+ "interfaces" : [ ]
35972
+ }, {
35973
+ "name" : "guaranteed_shipping_calibration",
35974
+ "plural" : "guaranteed_shipping_calibrations",
35975
+ "fields" : [ {
35976
+ "name" : "channel_id",
35977
+ "type" : "string",
35978
+ "required" : true,
35979
+ "attributes" : [ ],
35980
+ "annotations" : [ ]
35981
+ }, {
35982
+ "name" : "organization_id",
35983
+ "type" : "string",
35984
+ "required" : true,
35985
+ "attributes" : [ ],
35986
+ "annotations" : [ ]
35987
+ }, {
35988
+ "name" : "destination_country",
35989
+ "type" : "string",
35990
+ "required" : true,
35991
+ "attributes" : [ ],
35992
+ "annotations" : [ ],
35993
+ "description" : "ISO 3166-1 alpha-3 destination country"
35994
+ } ],
35995
+ "attributes" : [ ],
35996
+ "interfaces" : [ ],
35997
+ "description" : "One lane accepted for recalibration. Lanes named more than once in a request collapse into one of these, and the destination is normalized, so the accepted set is not always the submitted set."
35998
+ }, {
35999
+ "name" : "guaranteed_shipping_calibration_form",
36000
+ "plural" : "guaranteed_shipping_calibration_forms",
36001
+ "fields" : [ {
36002
+ "name" : "lanes",
36003
+ "type" : "[guaranteed_shipping_calibration_lane_form]",
36004
+ "required" : true,
36005
+ "attributes" : [ ],
36006
+ "annotations" : [ ],
36007
+ "minimum" : 1,
36008
+ "maximum" : 5000
36009
+ } ],
36010
+ "attributes" : [ ],
36011
+ "interfaces" : [ ],
36012
+ "description" : "The lanes to recalibrate"
36013
+ }, {
36014
+ "name" : "guaranteed_shipping_calibration_lane_form",
36015
+ "plural" : "guaranteed_shipping_calibration_lane_forms",
36016
+ "fields" : [ {
36017
+ "name" : "channel_id",
36018
+ "type" : "string",
36019
+ "required" : true,
36020
+ "attributes" : [ ],
36021
+ "annotations" : [ ]
36022
+ }, {
36023
+ "name" : "organization_id",
36024
+ "type" : "string",
36025
+ "required" : true,
36026
+ "attributes" : [ ],
36027
+ "annotations" : [ ]
36028
+ }, {
36029
+ "name" : "destination_country",
36030
+ "type" : "string",
36031
+ "required" : false,
36032
+ "attributes" : [ ],
36033
+ "annotations" : [ ],
36034
+ "description" : "The ISO 3166-1 alpha-3 country code of the lane to recalibrate. Case insensitive. See https://api.flow.io/reference/countries. Absence of a destination recalibrates for all possible destinations for the org",
36035
+ "example" : "IRL"
36036
+ } ],
36037
+ "attributes" : [ ],
36038
+ "interfaces" : [ ]
35420
36039
  }, {
35421
36040
  "name" : "guaranteed_shipping_published_output",
35422
36041
  "plural" : "guaranteed_shipping_published_outputs",
@@ -35534,6 +36153,317 @@
35534
36153
  } ],
35535
36154
  "attributes" : [ ],
35536
36155
  "interfaces" : [ ]
36156
+ }, {
36157
+ "name" : "guaranteed_shipping_settings",
36158
+ "plural" : "guaranteed_shipping_settingses",
36159
+ "fields" : [ {
36160
+ "name" : "coefficients_updated_at",
36161
+ "type" : "long",
36162
+ "required" : true,
36163
+ "attributes" : [ ],
36164
+ "annotations" : [ ],
36165
+ "description" : "Source-of-change time in epoch millis; the version the store sorts a lane on"
36166
+ }, {
36167
+ "name" : "channel_id",
36168
+ "type" : "string",
36169
+ "required" : true,
36170
+ "attributes" : [ ],
36171
+ "annotations" : [ ]
36172
+ }, {
36173
+ "name" : "organization_id",
36174
+ "type" : "string",
36175
+ "required" : true,
36176
+ "attributes" : [ ],
36177
+ "annotations" : [ ]
36178
+ }, {
36179
+ "name" : "destination_country",
36180
+ "type" : "string",
36181
+ "required" : true,
36182
+ "attributes" : [ ],
36183
+ "annotations" : [ ],
36184
+ "description" : "ISO 3166-1 alpha-3 destination country"
36185
+ }, {
36186
+ "name" : "tax_and_duty_coefficient",
36187
+ "type" : "decimal",
36188
+ "required" : true,
36189
+ "attributes" : [ ],
36190
+ "annotations" : [ ],
36191
+ "description" : "Tax & duty multiplier",
36192
+ "minimum" : 0
36193
+ }, {
36194
+ "name" : "fees_coefficient",
36195
+ "type" : "decimal",
36196
+ "required" : true,
36197
+ "attributes" : [ ],
36198
+ "annotations" : [ ],
36199
+ "description" : "MoR + FX fees multiplier",
36200
+ "minimum" : 0
36201
+ }, {
36202
+ "name" : "merchant_subsidy",
36203
+ "type" : "io.flow.common.v0.models.money",
36204
+ "required" : true,
36205
+ "attributes" : [ ],
36206
+ "annotations" : [ ],
36207
+ "description" : "Merchant-funded subsidy"
36208
+ }, {
36209
+ "name" : "created_at",
36210
+ "type" : "long",
36211
+ "required" : true,
36212
+ "attributes" : [ ],
36213
+ "annotations" : [ ],
36214
+ "description" : "Our write time in epoch millis, kept to monitor ingestion latency"
36215
+ }, {
36216
+ "name" : "guaranteed_pricing_enabled",
36217
+ "type" : "boolean",
36218
+ "required" : true,
36219
+ "attributes" : [ ],
36220
+ "annotations" : [ ],
36221
+ "description" : "Whether guaranteed pricing is enabled for the merchant in this market; Shopify calls this adaptive pricing, also known as managed pricing"
36222
+ }, {
36223
+ "name" : "guaranteed_shipping_enabled",
36224
+ "type" : "boolean",
36225
+ "required" : true,
36226
+ "attributes" : [ ],
36227
+ "annotations" : [ ],
36228
+ "description" : "Whether guaranteed shipping is enabled for the merchant in this market; Shopify calls this adaptive shipping"
36229
+ } ],
36230
+ "attributes" : [ ],
36231
+ "interfaces" : [ ],
36232
+ "description" : "One persisted version of a lane's inbound pricing coefficients, keyed on (channel, organization, destination, coefficients_updated_at)."
36233
+ }, {
36234
+ "name" : "guaranteed_shipping_settings_deleted",
36235
+ "plural" : "guaranteed_shipping_settings_deleteds",
36236
+ "fields" : [ {
36237
+ "name" : "event_id",
36238
+ "type" : "string",
36239
+ "required" : true,
36240
+ "attributes" : [ ],
36241
+ "annotations" : [ ]
36242
+ }, {
36243
+ "name" : "timestamp",
36244
+ "type" : "date-time-iso8601",
36245
+ "required" : true,
36246
+ "attributes" : [ ],
36247
+ "annotations" : [ ]
36248
+ }, {
36249
+ "name" : "organization",
36250
+ "type" : "string",
36251
+ "required" : true,
36252
+ "attributes" : [ ],
36253
+ "annotations" : [ ],
36254
+ "description" : "Refers to your organization's account identifier"
36255
+ }, {
36256
+ "name" : "channel_id",
36257
+ "type" : "string",
36258
+ "required" : true,
36259
+ "attributes" : [ ],
36260
+ "annotations" : [ ]
36261
+ }, {
36262
+ "name" : "id",
36263
+ "type" : "string",
36264
+ "required" : true,
36265
+ "attributes" : [ ],
36266
+ "annotations" : [ ],
36267
+ "description" : "Globally unique identifier"
36268
+ } ],
36269
+ "attributes" : [ ],
36270
+ "interfaces" : [ ]
36271
+ }, {
36272
+ "name" : "guaranteed_shipping_settings_destination_update",
36273
+ "plural" : "guaranteed_shipping_settings_destination_updates",
36274
+ "fields" : [ {
36275
+ "name" : "country",
36276
+ "type" : "string",
36277
+ "required" : true,
36278
+ "attributes" : [ ],
36279
+ "annotations" : [ ],
36280
+ "description" : "The ISO 3166-1 alpha-3 country code. Case insensitive. See https://api.flow.io/reference/countries",
36281
+ "example" : "IRL"
36282
+ }, {
36283
+ "name" : "updated_at",
36284
+ "type" : "date-time-iso8601",
36285
+ "required" : true,
36286
+ "attributes" : [ ],
36287
+ "annotations" : [ ],
36288
+ "description" : "Source-of-change timestamp the store versions on"
36289
+ }, {
36290
+ "name" : "tax_and_duty_coefficient",
36291
+ "type" : "decimal",
36292
+ "required" : true,
36293
+ "attributes" : [ ],
36294
+ "annotations" : [ ],
36295
+ "description" : "Tax & duty multiplier",
36296
+ "minimum" : 0
36297
+ }, {
36298
+ "name" : "fees_coefficient",
36299
+ "type" : "decimal",
36300
+ "required" : true,
36301
+ "attributes" : [ ],
36302
+ "annotations" : [ ],
36303
+ "description" : "MoR + FX fees multiplier",
36304
+ "minimum" : 0
36305
+ }, {
36306
+ "name" : "merchant_subsidy",
36307
+ "type" : "io.flow.common.v0.models.money",
36308
+ "required" : true,
36309
+ "attributes" : [ ],
36310
+ "annotations" : [ ],
36311
+ "description" : "Merchant-funded subsidy"
36312
+ }, {
36313
+ "name" : "guaranteed_pricing_enabled",
36314
+ "type" : "boolean",
36315
+ "required" : true,
36316
+ "attributes" : [ ],
36317
+ "annotations" : [ ],
36318
+ "description" : "Whether guaranteed pricing is enabled for the merchant in this market; Shopify calls this adaptive pricing, also known as managed pricing"
36319
+ }, {
36320
+ "name" : "guaranteed_shipping_enabled",
36321
+ "type" : "boolean",
36322
+ "required" : true,
36323
+ "attributes" : [ ],
36324
+ "annotations" : [ ],
36325
+ "description" : "Whether guaranteed shipping is enabled for the merchant in this market; Shopify calls this adaptive shipping"
36326
+ } ],
36327
+ "attributes" : [ ],
36328
+ "interfaces" : [ ]
36329
+ }, {
36330
+ "name" : "guaranteed_shipping_settings_update",
36331
+ "plural" : "guaranteed_shipping_settings_updates",
36332
+ "fields" : [ {
36333
+ "name" : "channel_id",
36334
+ "type" : "string",
36335
+ "required" : true,
36336
+ "attributes" : [ ],
36337
+ "annotations" : [ ]
36338
+ }, {
36339
+ "name" : "organization_id",
36340
+ "type" : "string",
36341
+ "required" : true,
36342
+ "attributes" : [ ],
36343
+ "annotations" : [ ]
36344
+ }, {
36345
+ "name" : "destination_updates",
36346
+ "type" : "[guaranteed_shipping_settings_destination_update]",
36347
+ "required" : true,
36348
+ "attributes" : [ ],
36349
+ "annotations" : [ ],
36350
+ "description" : "Per-destination coefficient updates"
36351
+ } ],
36352
+ "attributes" : [ ],
36353
+ "interfaces" : [ ],
36354
+ "description" : "Inbound guaranteed shipping settings update for one shop; carries the per-destination coefficient changes Global-e ingests."
36355
+ }, {
36356
+ "name" : "guaranteed_shipping_settings_update_deleted",
36357
+ "plural" : "guaranteed_shipping_settings_update_deleteds",
36358
+ "fields" : [ {
36359
+ "name" : "event_id",
36360
+ "type" : "string",
36361
+ "required" : true,
36362
+ "attributes" : [ ],
36363
+ "annotations" : [ ]
36364
+ }, {
36365
+ "name" : "timestamp",
36366
+ "type" : "date-time-iso8601",
36367
+ "required" : true,
36368
+ "attributes" : [ ],
36369
+ "annotations" : [ ]
36370
+ }, {
36371
+ "name" : "organization",
36372
+ "type" : "string",
36373
+ "required" : true,
36374
+ "attributes" : [ ],
36375
+ "annotations" : [ ],
36376
+ "description" : "Refers to your organization's account identifier"
36377
+ }, {
36378
+ "name" : "channel_id",
36379
+ "type" : "string",
36380
+ "required" : true,
36381
+ "attributes" : [ ],
36382
+ "annotations" : [ ]
36383
+ }, {
36384
+ "name" : "id",
36385
+ "type" : "string",
36386
+ "required" : true,
36387
+ "attributes" : [ ],
36388
+ "annotations" : [ ],
36389
+ "description" : "Globally unique identifier"
36390
+ } ],
36391
+ "attributes" : [ ],
36392
+ "interfaces" : [ ]
36393
+ }, {
36394
+ "name" : "guaranteed_shipping_settings_update_upserted",
36395
+ "plural" : "guaranteed_shipping_settings_update_upserteds",
36396
+ "fields" : [ {
36397
+ "name" : "event_id",
36398
+ "type" : "string",
36399
+ "required" : true,
36400
+ "attributes" : [ ],
36401
+ "annotations" : [ ]
36402
+ }, {
36403
+ "name" : "timestamp",
36404
+ "type" : "date-time-iso8601",
36405
+ "required" : true,
36406
+ "attributes" : [ ],
36407
+ "annotations" : [ ]
36408
+ }, {
36409
+ "name" : "organization",
36410
+ "type" : "string",
36411
+ "required" : true,
36412
+ "attributes" : [ ],
36413
+ "annotations" : [ ],
36414
+ "description" : "Refers to your organization's account identifier"
36415
+ }, {
36416
+ "name" : "channel_id",
36417
+ "type" : "string",
36418
+ "required" : true,
36419
+ "attributes" : [ ],
36420
+ "annotations" : [ ]
36421
+ }, {
36422
+ "name" : "guaranteed_shipping_settings_update",
36423
+ "type" : "guaranteed_shipping_settings_update",
36424
+ "required" : true,
36425
+ "attributes" : [ ],
36426
+ "annotations" : [ ]
36427
+ } ],
36428
+ "attributes" : [ ],
36429
+ "interfaces" : [ ]
36430
+ }, {
36431
+ "name" : "guaranteed_shipping_settings_upserted",
36432
+ "plural" : "guaranteed_shipping_settings_upserteds",
36433
+ "fields" : [ {
36434
+ "name" : "event_id",
36435
+ "type" : "string",
36436
+ "required" : true,
36437
+ "attributes" : [ ],
36438
+ "annotations" : [ ]
36439
+ }, {
36440
+ "name" : "timestamp",
36441
+ "type" : "date-time-iso8601",
36442
+ "required" : true,
36443
+ "attributes" : [ ],
36444
+ "annotations" : [ ]
36445
+ }, {
36446
+ "name" : "organization",
36447
+ "type" : "string",
36448
+ "required" : true,
36449
+ "attributes" : [ ],
36450
+ "annotations" : [ ],
36451
+ "description" : "Refers to your organization's account identifier"
36452
+ }, {
36453
+ "name" : "channel_id",
36454
+ "type" : "string",
36455
+ "required" : true,
36456
+ "attributes" : [ ],
36457
+ "annotations" : [ ]
36458
+ }, {
36459
+ "name" : "guaranteed_shipping_settings",
36460
+ "type" : "guaranteed_shipping_settings",
36461
+ "required" : true,
36462
+ "attributes" : [ ],
36463
+ "annotations" : [ ]
36464
+ } ],
36465
+ "attributes" : [ ],
36466
+ "interfaces" : [ ]
35537
36467
  }, {
35538
36468
  "name" : "harmonization_classification_statistics_data",
35539
36469
  "plural" : "harmonization_classification_statistics_data",
@@ -37304,6 +38234,123 @@
37304
38234
  "attributes" : [ ],
37305
38235
  "interfaces" : [ "child_transaction" ],
37306
38236
  "description" : "Represents an invoice that was generated from Flow to the Organization, in the currency of the associated account."
38237
+ }, {
38238
+ "name" : "issuer",
38239
+ "plural" : "issuers",
38240
+ "fields" : [ {
38241
+ "name" : "id",
38242
+ "type" : "string",
38243
+ "required" : true,
38244
+ "attributes" : [ ],
38245
+ "annotations" : [ ],
38246
+ "description" : "Globally unique identifier"
38247
+ }, {
38248
+ "name" : "iin",
38249
+ "type" : "string",
38250
+ "required" : true,
38251
+ "attributes" : [ ],
38252
+ "annotations" : [ ],
38253
+ "description" : "The 6 digit issuer identification number"
38254
+ }, {
38255
+ "name" : "name",
38256
+ "type" : "string",
38257
+ "required" : false,
38258
+ "attributes" : [ ],
38259
+ "annotations" : [ ],
38260
+ "description" : "The name of the issuing bank"
38261
+ }, {
38262
+ "name" : "country",
38263
+ "type" : "string",
38264
+ "required" : false,
38265
+ "attributes" : [ ],
38266
+ "annotations" : [ ],
38267
+ "description" : "ISO 3166 3 country code of the issuing bank, if known",
38268
+ "example" : "CAN"
38269
+ }, {
38270
+ "name" : "brand",
38271
+ "type" : "string",
38272
+ "required" : false,
38273
+ "attributes" : [ ],
38274
+ "annotations" : [ ],
38275
+ "example" : "STAR REWARDS, DISCOVER, etc."
38276
+ }, {
38277
+ "name" : "type",
38278
+ "type" : "string",
38279
+ "required" : false,
38280
+ "attributes" : [ ],
38281
+ "annotations" : [ ],
38282
+ "example" : "CREDIT, DEBIT, CHARGE CARD, etc."
38283
+ }, {
38284
+ "name" : "category",
38285
+ "type" : "string",
38286
+ "required" : false,
38287
+ "attributes" : [ ],
38288
+ "annotations" : [ ],
38289
+ "example" : "SMALL CORPORATE"
38290
+ }, {
38291
+ "name" : "website",
38292
+ "type" : "string",
38293
+ "required" : false,
38294
+ "attributes" : [ ],
38295
+ "annotations" : [ ]
38296
+ }, {
38297
+ "name" : "phone",
38298
+ "type" : "string",
38299
+ "required" : false,
38300
+ "attributes" : [ ],
38301
+ "annotations" : [ ]
38302
+ } ],
38303
+ "attributes" : [ ],
38304
+ "interfaces" : [ ],
38305
+ "description" : "Issuers are the banks issuing cards"
38306
+ }, {
38307
+ "name" : "issuer_deleted",
38308
+ "plural" : "issuer_deleteds",
38309
+ "fields" : [ {
38310
+ "name" : "event_id",
38311
+ "type" : "string",
38312
+ "required" : true,
38313
+ "attributes" : [ ],
38314
+ "annotations" : [ ]
38315
+ }, {
38316
+ "name" : "timestamp",
38317
+ "type" : "date-time-iso8601",
38318
+ "required" : true,
38319
+ "attributes" : [ ],
38320
+ "annotations" : [ ]
38321
+ }, {
38322
+ "name" : "issuer",
38323
+ "type" : "issuer",
38324
+ "required" : true,
38325
+ "attributes" : [ ],
38326
+ "annotations" : [ ]
38327
+ } ],
38328
+ "attributes" : [ ],
38329
+ "interfaces" : [ ]
38330
+ }, {
38331
+ "name" : "issuer_upserted",
38332
+ "plural" : "issuer_upserteds",
38333
+ "fields" : [ {
38334
+ "name" : "event_id",
38335
+ "type" : "string",
38336
+ "required" : true,
38337
+ "attributes" : [ ],
38338
+ "annotations" : [ ]
38339
+ }, {
38340
+ "name" : "timestamp",
38341
+ "type" : "date-time-iso8601",
38342
+ "required" : true,
38343
+ "attributes" : [ ],
38344
+ "annotations" : [ ]
38345
+ }, {
38346
+ "name" : "issuer",
38347
+ "type" : "issuer",
38348
+ "required" : true,
38349
+ "attributes" : [ ],
38350
+ "annotations" : [ ]
38351
+ } ],
38352
+ "attributes" : [ ],
38353
+ "interfaces" : [ ]
37307
38354
  }, {
37308
38355
  "name" : "item_classification",
37309
38356
  "plural" : "item_classifications",
@@ -37849,6 +38896,13 @@
37849
38896
  "attributes" : [ ],
37850
38897
  "annotations" : [ ],
37851
38898
  "description" : "The scope of the classification decision."
38899
+ }, {
38900
+ "name" : "classification_resource_id",
38901
+ "type" : "string",
38902
+ "required" : false,
38903
+ "attributes" : [ ],
38904
+ "annotations" : [ ],
38905
+ "description" : "Id of the resource the classification decision was made against, as determined by classification_scope: the item_number for Item, the product_id for Product, and the item classification bucket id for Bucket. Items sharing a value were classified as one unit."
37852
38906
  }, {
37853
38907
  "name" : "taxonomy_category_classification_alignment",
37854
38908
  "type" : "taxonomy_category_classification_alignment",
@@ -37928,6 +38982,108 @@
37928
38982
  } ],
37929
38983
  "attributes" : [ ],
37930
38984
  "interfaces" : [ ]
38985
+ }, {
38986
+ "name" : "item_hs6_override",
38987
+ "plural" : "item_hs6_overrides",
38988
+ "fields" : [ {
38989
+ "name" : "item_number",
38990
+ "type" : "string",
38991
+ "required" : true,
38992
+ "attributes" : [ ],
38993
+ "annotations" : [ ]
38994
+ }, {
38995
+ "name" : "hs6",
38996
+ "type" : "string",
38997
+ "required" : true,
38998
+ "attributes" : [ ],
38999
+ "annotations" : [ ],
39000
+ "description" : "6 digit HS code",
39001
+ "example" : "610910"
39002
+ } ],
39003
+ "attributes" : [ ],
39004
+ "interfaces" : [ ],
39005
+ "description" : "An HS6 code assigned to a single item by a person"
39006
+ }, {
39007
+ "name" : "item_hs6_override_form",
39008
+ "plural" : "item_hs6_override_forms",
39009
+ "fields" : [ {
39010
+ "name" : "item_number",
39011
+ "type" : "string",
39012
+ "required" : true,
39013
+ "attributes" : [ ],
39014
+ "annotations" : [ ]
39015
+ }, {
39016
+ "name" : "hs6",
39017
+ "type" : "string",
39018
+ "required" : true,
39019
+ "attributes" : [ ],
39020
+ "annotations" : [ ],
39021
+ "description" : "6 digit HS code",
39022
+ "example" : "610910"
39023
+ }, {
39024
+ "name" : "hs6_description",
39025
+ "type" : "string",
39026
+ "required" : false,
39027
+ "attributes" : [ ],
39028
+ "annotations" : [ ],
39029
+ "description" : "Replaces the stored hs6 description; cleared when omitted"
39030
+ } ],
39031
+ "attributes" : [ ],
39032
+ "interfaces" : [ ]
39033
+ }, {
39034
+ "name" : "item_hs6_override_rejection",
39035
+ "plural" : "item_hs6_override_rejections",
39036
+ "fields" : [ {
39037
+ "name" : "item_number",
39038
+ "type" : "string",
39039
+ "required" : true,
39040
+ "attributes" : [ ],
39041
+ "annotations" : [ ]
39042
+ }, {
39043
+ "name" : "message",
39044
+ "type" : "string",
39045
+ "required" : true,
39046
+ "attributes" : [ ],
39047
+ "annotations" : [ ],
39048
+ "description" : "Why this item was not updated",
39049
+ "example" : "hs6 code '11111' must be exactly 6 digits"
39050
+ } ],
39051
+ "attributes" : [ ],
39052
+ "interfaces" : [ ]
39053
+ }, {
39054
+ "name" : "item_hs6_override_result",
39055
+ "plural" : "item_hs6_override_results",
39056
+ "fields" : [ {
39057
+ "name" : "applied",
39058
+ "type" : "[item_hs6_override]",
39059
+ "required" : true,
39060
+ "attributes" : [ ],
39061
+ "annotations" : [ ]
39062
+ }, {
39063
+ "name" : "rejected",
39064
+ "type" : "[item_hs6_override_rejection]",
39065
+ "required" : true,
39066
+ "attributes" : [ ],
39067
+ "annotations" : [ ]
39068
+ } ],
39069
+ "attributes" : [ ],
39070
+ "interfaces" : [ ],
39071
+ "description" : "Outcome per requested item. Items are applied or rejected individually, so both lists may be non empty."
39072
+ }, {
39073
+ "name" : "item_hs6_overrides_form",
39074
+ "plural" : "item_hs6_overrides_forms",
39075
+ "fields" : [ {
39076
+ "name" : "items",
39077
+ "type" : "[item_hs6_override_form]",
39078
+ "required" : true,
39079
+ "attributes" : [ ],
39080
+ "annotations" : [ ],
39081
+ "description" : "Repeating an item_number is accepted and the last entry for that item wins",
39082
+ "minimum" : 1,
39083
+ "maximum" : 100
39084
+ } ],
39085
+ "attributes" : [ ],
39086
+ "interfaces" : [ ]
37931
39087
  }, {
37932
39088
  "name" : "item_query_response",
37933
39089
  "plural" : "item_query_responses",
@@ -38388,6 +39544,87 @@
38388
39544
  } ],
38389
39545
  "attributes" : [ ],
38390
39546
  "interfaces" : [ ]
39547
+ }, {
39548
+ "name" : "john_strong_item",
39549
+ "plural" : "john_strong_items",
39550
+ "fields" : [ {
39551
+ "name" : "id",
39552
+ "type" : "string",
39553
+ "required" : true,
39554
+ "attributes" : [ ],
39555
+ "annotations" : [ ],
39556
+ "description" : "Globally unique identifier"
39557
+ }, {
39558
+ "name" : "number",
39559
+ "type" : "string",
39560
+ "required" : true,
39561
+ "attributes" : [ ],
39562
+ "annotations" : [ ],
39563
+ "description" : "Client's unique identifier for this object"
39564
+ }, {
39565
+ "name" : "amount",
39566
+ "type" : "io.flow.common.v0.models.price",
39567
+ "required" : true,
39568
+ "attributes" : [ ],
39569
+ "annotations" : [ ]
39570
+ }, {
39571
+ "name" : "description",
39572
+ "type" : "string",
39573
+ "required" : false,
39574
+ "attributes" : [ ],
39575
+ "annotations" : [ ]
39576
+ }, {
39577
+ "name" : "type",
39578
+ "type" : "john_strong_item_type",
39579
+ "required" : true,
39580
+ "attributes" : [ ],
39581
+ "annotations" : [ ]
39582
+ }, {
39583
+ "name" : "added_on",
39584
+ "type" : "date-time-iso8601",
39585
+ "required" : true,
39586
+ "attributes" : [ ],
39587
+ "annotations" : [ ]
39588
+ } ],
39589
+ "attributes" : [ ],
39590
+ "interfaces" : [ ]
39591
+ }, {
39592
+ "name" : "john_strong_item_form",
39593
+ "plural" : "john_strong_item_forms",
39594
+ "fields" : [ {
39595
+ "name" : "number",
39596
+ "type" : "string",
39597
+ "required" : true,
39598
+ "attributes" : [ ],
39599
+ "annotations" : [ ],
39600
+ "description" : "Client's unique identifier for this object"
39601
+ }, {
39602
+ "name" : "amount",
39603
+ "type" : "io.flow.common.v0.models.price",
39604
+ "required" : true,
39605
+ "attributes" : [ ],
39606
+ "annotations" : [ ]
39607
+ }, {
39608
+ "name" : "description",
39609
+ "type" : "string",
39610
+ "required" : false,
39611
+ "attributes" : [ ],
39612
+ "annotations" : [ ]
39613
+ }, {
39614
+ "name" : "type",
39615
+ "type" : "john_strong_item_type",
39616
+ "required" : true,
39617
+ "attributes" : [ ],
39618
+ "annotations" : [ ]
39619
+ }, {
39620
+ "name" : "added_on",
39621
+ "type" : "date-time-iso8601",
39622
+ "required" : true,
39623
+ "attributes" : [ ],
39624
+ "annotations" : [ ]
39625
+ } ],
39626
+ "attributes" : [ ],
39627
+ "interfaces" : [ ]
38391
39628
  }, {
38392
39629
  "name" : "journal",
38393
39630
  "plural" : "journals",
@@ -43904,6 +45141,13 @@
43904
45141
  "attributes" : [ ],
43905
45142
  "annotations" : [ ],
43906
45143
  "description" : "Amount in consumer currency, including base with merchant currency."
45144
+ }, {
45145
+ "name" : "refunded_at",
45146
+ "type" : "date-time-iso8601",
45147
+ "required" : false,
45148
+ "attributes" : [ ],
45149
+ "annotations" : [ ],
45150
+ "description" : "When the refund itself occurred on the channel, as opposed to when this event was produced."
43907
45151
  } ],
43908
45152
  "attributes" : [ ],
43909
45153
  "interfaces" : [ ],
@@ -44116,6 +45360,19 @@
44116
45360
  } ],
44117
45361
  "attributes" : [ ],
44118
45362
  "interfaces" : [ ]
45363
+ }, {
45364
+ "name" : "order_settings",
45365
+ "plural" : "order_settings",
45366
+ "fields" : [ {
45367
+ "name" : "tax_and_duty_inclusivity_setting",
45368
+ "type" : "io.flow.experience.v0.enums.tax_and_duty_inclusivity_setting",
45369
+ "required" : false,
45370
+ "attributes" : [ ],
45371
+ "annotations" : [ ]
45372
+ } ],
45373
+ "attributes" : [ ],
45374
+ "interfaces" : [ ],
45375
+ "description" : "Settings applied to an order. Fields are optional so additional settings can be added over time."
44119
45376
  }, {
44120
45377
  "name" : "order_summary",
44121
45378
  "plural" : "order_summaries",
@@ -47069,6 +48326,142 @@
47069
48326
  } ],
47070
48327
  "attributes" : [ ],
47071
48328
  "interfaces" : [ ]
48329
+ }, {
48330
+ "name" : "outbound_shipping_cost",
48331
+ "plural" : "outbound_shipping_costs",
48332
+ "fields" : [ {
48333
+ "name" : "channel_id",
48334
+ "type" : "string",
48335
+ "required" : true,
48336
+ "attributes" : [ ],
48337
+ "annotations" : [ ]
48338
+ }, {
48339
+ "name" : "organization_id",
48340
+ "type" : "string",
48341
+ "required" : true,
48342
+ "attributes" : [ ],
48343
+ "annotations" : [ ]
48344
+ }, {
48345
+ "name" : "destination_country",
48346
+ "type" : "string",
48347
+ "required" : true,
48348
+ "attributes" : [ ],
48349
+ "annotations" : [ ],
48350
+ "description" : "ISO 3166-1 alpha-3 destination country in uppercase, or the reserved lowercase 'row' token for the Rest-of-World fallback record"
48351
+ }, {
48352
+ "name" : "carrier_service_id",
48353
+ "type" : "string",
48354
+ "required" : true,
48355
+ "attributes" : [ ],
48356
+ "annotations" : [ ],
48357
+ "description" : "Valid carrier service ID defined in reference data. See: https://api.flow.io/reference/carrier/services"
48358
+ }, {
48359
+ "name" : "cost",
48360
+ "type" : "io.flow.common.v0.models.money",
48361
+ "required" : true,
48362
+ "attributes" : [ ],
48363
+ "annotations" : [ ],
48364
+ "description" : "Estimated outbound shipping cost for an average order on this lane, in the organization's base currency"
48365
+ }, {
48366
+ "name" : "updated_at",
48367
+ "type" : "long",
48368
+ "required" : true,
48369
+ "attributes" : [ ],
48370
+ "annotations" : [ ],
48371
+ "description" : "Source-of-change time in epoch millis; value-gated so it means last-changed"
48372
+ }, {
48373
+ "name" : "run_id",
48374
+ "type" : "string",
48375
+ "required" : true,
48376
+ "attributes" : [ ],
48377
+ "annotations" : [ ],
48378
+ "description" : "The forecaster run that produced this output; matches the run's S3 artifact prefix"
48379
+ }, {
48380
+ "name" : "model_version",
48381
+ "type" : "string",
48382
+ "required" : true,
48383
+ "attributes" : [ ],
48384
+ "annotations" : [ ],
48385
+ "description" : "Version of the model behind this run"
48386
+ } ],
48387
+ "attributes" : [ ],
48388
+ "interfaces" : [ ],
48389
+ "description" : "Outbound shipping cost forecaster output for a run: the outbound shipping costs per org, lane and carrier"
48390
+ }, {
48391
+ "name" : "outbound_shipping_cost_deleted",
48392
+ "plural" : "outbound_shipping_cost_deleteds",
48393
+ "fields" : [ {
48394
+ "name" : "event_id",
48395
+ "type" : "string",
48396
+ "required" : true,
48397
+ "attributes" : [ ],
48398
+ "annotations" : [ ]
48399
+ }, {
48400
+ "name" : "timestamp",
48401
+ "type" : "date-time-iso8601",
48402
+ "required" : true,
48403
+ "attributes" : [ ],
48404
+ "annotations" : [ ]
48405
+ }, {
48406
+ "name" : "organization",
48407
+ "type" : "string",
48408
+ "required" : true,
48409
+ "attributes" : [ ],
48410
+ "annotations" : [ ],
48411
+ "description" : "Refers to your organization's account identifier"
48412
+ }, {
48413
+ "name" : "channel_id",
48414
+ "type" : "string",
48415
+ "required" : true,
48416
+ "attributes" : [ ],
48417
+ "annotations" : [ ]
48418
+ }, {
48419
+ "name" : "id",
48420
+ "type" : "string",
48421
+ "required" : true,
48422
+ "attributes" : [ ],
48423
+ "annotations" : [ ],
48424
+ "description" : "Identifier of the deleted outbound shipping cost record"
48425
+ } ],
48426
+ "attributes" : [ ],
48427
+ "interfaces" : [ ]
48428
+ }, {
48429
+ "name" : "outbound_shipping_cost_upserted",
48430
+ "plural" : "outbound_shipping_cost_upserteds",
48431
+ "fields" : [ {
48432
+ "name" : "event_id",
48433
+ "type" : "string",
48434
+ "required" : true,
48435
+ "attributes" : [ ],
48436
+ "annotations" : [ ]
48437
+ }, {
48438
+ "name" : "timestamp",
48439
+ "type" : "date-time-iso8601",
48440
+ "required" : true,
48441
+ "attributes" : [ ],
48442
+ "annotations" : [ ]
48443
+ }, {
48444
+ "name" : "organization",
48445
+ "type" : "string",
48446
+ "required" : true,
48447
+ "attributes" : [ ],
48448
+ "annotations" : [ ],
48449
+ "description" : "Refers to your organization's account identifier"
48450
+ }, {
48451
+ "name" : "channel_id",
48452
+ "type" : "string",
48453
+ "required" : true,
48454
+ "attributes" : [ ],
48455
+ "annotations" : [ ]
48456
+ }, {
48457
+ "name" : "outbound_shipping_cost",
48458
+ "type" : "outbound_shipping_cost",
48459
+ "required" : true,
48460
+ "attributes" : [ ],
48461
+ "annotations" : [ ]
48462
+ } ],
48463
+ "attributes" : [ ],
48464
+ "interfaces" : [ ]
47072
48465
  }, {
47073
48466
  "name" : "partner",
47074
48467
  "plural" : "partners",
@@ -49340,6 +50733,90 @@
49340
50733
  } ],
49341
50734
  "attributes" : [ ],
49342
50735
  "interfaces" : [ ]
50736
+ }, {
50737
+ "name" : "pc_review_context",
50738
+ "plural" : "pc_review_contexts",
50739
+ "fields" : [ {
50740
+ "name" : "organization_id",
50741
+ "type" : "string",
50742
+ "required" : true,
50743
+ "attributes" : [ ],
50744
+ "annotations" : [ ],
50745
+ "description" : "Echoed on the result; not used by the prompt"
50746
+ }, {
50747
+ "name" : "item_name",
50748
+ "type" : "string",
50749
+ "required" : true,
50750
+ "attributes" : [ ],
50751
+ "annotations" : [ ]
50752
+ }, {
50753
+ "name" : "item_description",
50754
+ "type" : "string",
50755
+ "required" : false,
50756
+ "attributes" : [ ],
50757
+ "annotations" : [ ]
50758
+ }, {
50759
+ "name" : "categories",
50760
+ "type" : "string",
50761
+ "required" : false,
50762
+ "attributes" : [ ],
50763
+ "annotations" : [ ],
50764
+ "description" : "Merchant-supplied product categories"
50765
+ }, {
50766
+ "name" : "taxonomy_category",
50767
+ "type" : "string",
50768
+ "required" : false,
50769
+ "attributes" : [ ],
50770
+ "annotations" : [ ]
50771
+ }, {
50772
+ "name" : "image_url",
50773
+ "type" : "string",
50774
+ "required" : false,
50775
+ "attributes" : [ ],
50776
+ "annotations" : [ ],
50777
+ "description" : "Product image; classified alongside the text when present"
50778
+ } ],
50779
+ "attributes" : [ ],
50780
+ "interfaces" : [ ],
50781
+ "description" : "Producer context for a pending-classification (PC) review. The HS code is the AI's output (see pc_review_output), not an input here."
50782
+ }, {
50783
+ "name" : "pc_review_output",
50784
+ "plural" : "pc_review_outputs",
50785
+ "fields" : [ {
50786
+ "name" : "hs_code",
50787
+ "type" : "string",
50788
+ "required" : true,
50789
+ "attributes" : [ ],
50790
+ "annotations" : [ ],
50791
+ "description" : "The 6-digit HS code the AI classified the item under"
50792
+ }, {
50793
+ "name" : "alternates",
50794
+ "type" : "[string]",
50795
+ "required" : true,
50796
+ "attributes" : [ ],
50797
+ "annotations" : [ ],
50798
+ "description" : "Up to two alternate 6-digit HS codes when the classification is ambiguous",
50799
+ "default" : "[]"
50800
+ }, {
50801
+ "name" : "confidence",
50802
+ "type" : "double",
50803
+ "required" : true,
50804
+ "attributes" : [ ],
50805
+ "annotations" : [ ],
50806
+ "description" : "0.0 to 1.0 confidence score from the AI",
50807
+ "minimum" : 0,
50808
+ "maximum" : 1
50809
+ }, {
50810
+ "name" : "reasoning",
50811
+ "type" : "string",
50812
+ "required" : true,
50813
+ "attributes" : [ ],
50814
+ "annotations" : [ ],
50815
+ "description" : "One-sentence explanation from the AI"
50816
+ } ],
50817
+ "attributes" : [ ],
50818
+ "interfaces" : [ ],
50819
+ "description" : "AI output for a pending-classification review: the classified 6-digit HS code plus up to two alternates when ambiguous."
49343
50820
  }, {
49344
50821
  "name" : "pending_bank_payment",
49345
50822
  "plural" : "pending_bank_payments",
@@ -50039,6 +51516,13 @@
50039
51516
  "attributes" : [ ],
50040
51517
  "annotations" : [ ],
50041
51518
  "description" : "The timestamp of the last request for this merchant."
51519
+ }, {
51520
+ "name" : "screening_mode",
51521
+ "type" : "io.flow.sellability.v0.enums.sellability_screening_mode",
51522
+ "required" : false,
51523
+ "attributes" : [ ],
51524
+ "annotations" : [ ],
51525
+ "description" : "Screening mode of the most recent request for this merchant. Optional for backward compatibility with rows persisted before the field was introduced."
50042
51526
  }, {
50043
51527
  "name" : "updated_by_user_id",
50044
51528
  "type" : "string",
@@ -52146,6 +53630,118 @@
52146
53630
  } ],
52147
53631
  "attributes" : [ ],
52148
53632
  "interfaces" : [ ]
53633
+ }, {
53634
+ "name" : "pv_review_context",
53635
+ "plural" : "pv_review_contexts",
53636
+ "fields" : [ {
53637
+ "name" : "organization_id",
53638
+ "type" : "string",
53639
+ "required" : true,
53640
+ "attributes" : [ ],
53641
+ "annotations" : [ ],
53642
+ "description" : "Echoed on the result; not used by the prompt"
53643
+ }, {
53644
+ "name" : "item_name",
53645
+ "type" : "string",
53646
+ "required" : true,
53647
+ "attributes" : [ ],
53648
+ "annotations" : [ ]
53649
+ }, {
53650
+ "name" : "item_description",
53651
+ "type" : "string",
53652
+ "required" : false,
53653
+ "attributes" : [ ],
53654
+ "annotations" : [ ]
53655
+ }, {
53656
+ "name" : "image_url",
53657
+ "type" : "string",
53658
+ "required" : false,
53659
+ "attributes" : [ ],
53660
+ "annotations" : [ ],
53661
+ "description" : "Product image; evaluated by the PV prompt alongside the text when present (occasionally missing)"
53662
+ }, {
53663
+ "name" : "rule_name",
53664
+ "type" : "string",
53665
+ "required" : true,
53666
+ "attributes" : [ ],
53667
+ "annotations" : [ ],
53668
+ "description" : "Human-readable name of the restriction rule being evaluated"
53669
+ }, {
53670
+ "name" : "rule_reason_code",
53671
+ "type" : "string",
53672
+ "required" : true,
53673
+ "attributes" : [ ],
53674
+ "annotations" : [ ],
53675
+ "description" : "The restriction being evaluated (e.g. Alcohol) — identifies the flagged rule to the prompt, echoed as restriction_type in the AI response"
53676
+ }, {
53677
+ "name" : "hs_code",
53678
+ "type" : "string",
53679
+ "required" : false,
53680
+ "attributes" : [ ],
53681
+ "annotations" : [ ],
53682
+ "description" : "Item's known HS code (input context)"
53683
+ }, {
53684
+ "name" : "categories",
53685
+ "type" : "string",
53686
+ "required" : false,
53687
+ "attributes" : [ ],
53688
+ "annotations" : [ ],
53689
+ "description" : "Product categories if available"
53690
+ }, {
53691
+ "name" : "price",
53692
+ "type" : "string",
53693
+ "required" : false,
53694
+ "attributes" : [ ],
53695
+ "annotations" : [ ]
53696
+ }, {
53697
+ "name" : "matching_positive_keywords",
53698
+ "type" : "[string]",
53699
+ "required" : true,
53700
+ "attributes" : [ ],
53701
+ "annotations" : [ ],
53702
+ "description" : "Keywords that triggered the restriction rule",
53703
+ "default" : "[]"
53704
+ }, {
53705
+ "name" : "matching_negative_keywords",
53706
+ "type" : "[string]",
53707
+ "required" : true,
53708
+ "attributes" : [ ],
53709
+ "annotations" : [ ],
53710
+ "description" : "Negative keywords matched (reduce restriction confidence)",
53711
+ "default" : "[]"
53712
+ } ],
53713
+ "attributes" : [ ],
53714
+ "interfaces" : [ ],
53715
+ "description" : "Producer context for a general pending-verification (pv_review_general) review. Carries everything the prompt needs — the consumer supplies it all (ai-review does not enrich)."
53716
+ }, {
53717
+ "name" : "pv_review_output",
53718
+ "plural" : "pv_review_outputs",
53719
+ "fields" : [ {
53720
+ "name" : "decision",
53721
+ "type" : "pv_decision",
53722
+ "required" : true,
53723
+ "attributes" : [ ],
53724
+ "annotations" : [ ]
53725
+ }, {
53726
+ "name" : "confidence",
53727
+ "type" : "double",
53728
+ "required" : true,
53729
+ "attributes" : [ ],
53730
+ "annotations" : [ ],
53731
+ "description" : "0.0 to 1.0 confidence score from the AI",
53732
+ "minimum" : 0,
53733
+ "maximum" : 1
53734
+ }, {
53735
+ "name" : "reasoning",
53736
+ "type" : "string",
53737
+ "required" : true,
53738
+ "attributes" : [ ],
53739
+ "annotations" : [ ],
53740
+ "description" : "One-sentence explanation from the AI"
53741
+ } ],
53742
+ "attributes" : [ ],
53743
+ "interfaces" : [ ],
53744
+ "description" : "AI output for a general pending-verification review (pv_review_general): a single uphold/remove verdict for the one flagged rule, with the AI's confidence."
52149
53745
  }, {
52150
53746
  "name" : "quote",
52151
53747
  "plural" : "quotes",
@@ -53727,6 +55323,19 @@
53727
55323
  } ],
53728
55324
  "attributes" : [ ],
53729
55325
  "interfaces" : [ ]
55326
+ }, {
55327
+ "name" : "remediate_tax_duty_metadata",
55328
+ "plural" : "remediate_tax_duty_metadata",
55329
+ "fields" : [ {
55330
+ "name" : "arm",
55331
+ "type" : "remediate_tax_duty_arm",
55332
+ "required" : true,
55333
+ "attributes" : [ ],
55334
+ "annotations" : [ ]
55335
+ } ],
55336
+ "attributes" : [ ],
55337
+ "interfaces" : [ ],
55338
+ "description" : "Metadata for remediate_tax_duty tasks, describing how the order was classified for remediation"
53730
55339
  }, {
53731
55340
  "name" : "remittance_responsibility",
53732
55341
  "plural" : "remittance_responsibilities",
@@ -56017,7 +57626,14 @@
56017
57626
  "required" : false,
56018
57627
  "attributes" : [ ],
56019
57628
  "annotations" : [ ],
56020
- "description" : "The scope of the classification decision. 'Product' indicates classification at the product level, 'Item' indicates classification at the item/variant level."
57629
+ "description" : "The scope of the classification decision. 'Product' indicates classification at the product level, 'Item' indicates classification at the item/variant level, and 'Bucket' indicates classification at the variant-bucket level (groups of variants sharing a cleaned variant name)."
57630
+ }, {
57631
+ "name" : "classification_resource_id",
57632
+ "type" : "string",
57633
+ "required" : false,
57634
+ "attributes" : [ ],
57635
+ "annotations" : [ ],
57636
+ "description" : "Id of the resource the classification decision was made against, as determined by classification_scope: the item_number for Item, the product_id for Product, and the item classification bucket id for Bucket."
56021
57637
  }, {
56022
57638
  "name" : "description",
56023
57639
  "type" : "string",
@@ -56705,7 +58321,14 @@
56705
58321
  "required" : false,
56706
58322
  "attributes" : [ ],
56707
58323
  "annotations" : [ ],
56708
- "description" : "The scope of the classification decision. 'Product' indicates classification at the product level, 'Item' indicates classification at the item/variant level."
58324
+ "description" : "The scope of the classification decision. 'Product' indicates classification at the product level, 'Item' indicates classification at the item/variant level, and 'Bucket' indicates classification at the variant-bucket level (groups of variants sharing a cleaned variant name)."
58325
+ }, {
58326
+ "name" : "classification_resource_id",
58327
+ "type" : "string",
58328
+ "required" : false,
58329
+ "attributes" : [ ],
58330
+ "annotations" : [ ],
58331
+ "description" : "Id of the resource the classification decision was made against, as determined by classification_scope: the item_number for Item, the product_id for Product, and the item classification bucket id for Bucket."
56709
58332
  }, {
56710
58333
  "name" : "url",
56711
58334
  "type" : "string",
@@ -56991,292 +58614,308 @@
56991
58614
  "attributes" : [ ],
56992
58615
  "annotations" : [ ],
56993
58616
  "description" : "Activation status of the rule"
56994
- } ],
56995
- "attributes" : [ ],
56996
- "interfaces" : [ ]
56997
- }, {
56998
- "name" : "restriction_rule_decision_form",
56999
- "plural" : "restriction_rule_decision_forms",
57000
- "fields" : [ {
57001
- "name" : "rule_id",
57002
- "type" : "string",
57003
- "required" : true,
57004
- "attributes" : [ ],
57005
- "annotations" : [ ]
57006
- }, {
57007
- "name" : "decision",
57008
- "type" : "restriction_decision",
57009
- "required" : true,
57010
- "attributes" : [ ],
57011
- "annotations" : [ ]
57012
- }, {
57013
- "name" : "product_id",
57014
- "type" : "string",
57015
- "required" : true,
57016
- "attributes" : [ ],
57017
- "annotations" : [ ]
57018
- } ],
57019
- "attributes" : [ ],
57020
- "interfaces" : [ ]
57021
- }, {
57022
- "name" : "restriction_rule_deleted",
57023
- "plural" : "restriction_rule_deleteds",
57024
- "fields" : [ {
57025
- "name" : "event_id",
57026
- "type" : "string",
57027
- "required" : true,
57028
- "attributes" : [ ],
57029
- "annotations" : [ ]
57030
- }, {
57031
- "name" : "timestamp",
57032
- "type" : "date-time-iso8601",
57033
- "required" : true,
57034
- "attributes" : [ ],
57035
- "annotations" : [ ]
57036
58617
  }, {
57037
- "name" : "id",
57038
- "type" : "string",
58618
+ "name" : "evaluation_mode",
58619
+ "type" : "restriction_rule_evaluation_mode",
58620
+ "required" : true,
58621
+ "attributes" : [ ],
58622
+ "annotations" : [ ],
58623
+ "description" : "When the rule is evaluated against a product. first_screening_only means later screenings skip the rule for products it has already been evaluated against.",
58624
+ "default" : "all_screenings"
58625
+ } ],
58626
+ "attributes" : [ ],
58627
+ "interfaces" : [ ]
58628
+ }, {
58629
+ "name" : "restriction_rule_decision_form",
58630
+ "plural" : "restriction_rule_decision_forms",
58631
+ "fields" : [ {
58632
+ "name" : "rule_id",
58633
+ "type" : "string",
58634
+ "required" : true,
58635
+ "attributes" : [ ],
58636
+ "annotations" : [ ]
58637
+ }, {
58638
+ "name" : "decision",
58639
+ "type" : "restriction_decision",
58640
+ "required" : true,
58641
+ "attributes" : [ ],
58642
+ "annotations" : [ ]
58643
+ }, {
58644
+ "name" : "product_id",
58645
+ "type" : "string",
58646
+ "required" : true,
58647
+ "attributes" : [ ],
58648
+ "annotations" : [ ]
58649
+ } ],
58650
+ "attributes" : [ ],
58651
+ "interfaces" : [ ]
58652
+ }, {
58653
+ "name" : "restriction_rule_deleted",
58654
+ "plural" : "restriction_rule_deleteds",
58655
+ "fields" : [ {
58656
+ "name" : "event_id",
58657
+ "type" : "string",
58658
+ "required" : true,
58659
+ "attributes" : [ ],
58660
+ "annotations" : [ ]
58661
+ }, {
58662
+ "name" : "timestamp",
58663
+ "type" : "date-time-iso8601",
58664
+ "required" : true,
58665
+ "attributes" : [ ],
58666
+ "annotations" : [ ]
58667
+ }, {
58668
+ "name" : "id",
58669
+ "type" : "string",
58670
+ "required" : true,
58671
+ "attributes" : [ ],
58672
+ "annotations" : [ ],
58673
+ "description" : "Globally unique identifier"
58674
+ } ],
58675
+ "attributes" : [ ],
58676
+ "interfaces" : [ ]
58677
+ }, {
58678
+ "name" : "restriction_rule_effect",
58679
+ "plural" : "restriction_rule_effects",
58680
+ "fields" : [ {
58681
+ "name" : "id",
58682
+ "type" : "string",
58683
+ "required" : true,
58684
+ "attributes" : [ ],
58685
+ "annotations" : [ ],
58686
+ "description" : "Globally unique identifier"
58687
+ }, {
58688
+ "name" : "rule_id",
58689
+ "type" : "string",
58690
+ "required" : true,
58691
+ "attributes" : [ ],
58692
+ "annotations" : [ ]
58693
+ }, {
58694
+ "name" : "effect",
58695
+ "type" : "io.flow.sellability.v0.enums.rule_effect_type",
58696
+ "required" : true,
58697
+ "attributes" : [ ],
58698
+ "annotations" : [ ]
58699
+ }, {
58700
+ "name" : "regions",
58701
+ "type" : "[string]",
58702
+ "required" : true,
58703
+ "attributes" : [ ],
58704
+ "annotations" : [ ],
58705
+ "description" : "The region id(s) in which a product should be restricted."
58706
+ }, {
58707
+ "name" : "description",
58708
+ "type" : "string",
58709
+ "required" : false,
58710
+ "attributes" : [ ],
58711
+ "annotations" : [ ]
58712
+ } ],
58713
+ "attributes" : [ ],
58714
+ "interfaces" : [ ]
58715
+ }, {
58716
+ "name" : "restriction_rule_effect_deleted",
58717
+ "plural" : "restriction_rule_effect_deleteds",
58718
+ "fields" : [ {
58719
+ "name" : "event_id",
58720
+ "type" : "string",
58721
+ "required" : true,
58722
+ "attributes" : [ ],
58723
+ "annotations" : [ ]
58724
+ }, {
58725
+ "name" : "timestamp",
58726
+ "type" : "date-time-iso8601",
58727
+ "required" : true,
58728
+ "attributes" : [ ],
58729
+ "annotations" : [ ]
58730
+ }, {
58731
+ "name" : "id",
58732
+ "type" : "string",
58733
+ "required" : true,
58734
+ "attributes" : [ ],
58735
+ "annotations" : [ ],
58736
+ "description" : "Globally unique identifier"
58737
+ } ],
58738
+ "attributes" : [ ],
58739
+ "interfaces" : [ ]
58740
+ }, {
58741
+ "name" : "restriction_rule_effect_form",
58742
+ "plural" : "restriction_rule_effect_forms",
58743
+ "fields" : [ {
58744
+ "name" : "rule_id",
58745
+ "type" : "string",
58746
+ "required" : true,
58747
+ "attributes" : [ ],
58748
+ "annotations" : [ ]
58749
+ }, {
58750
+ "name" : "effect",
58751
+ "type" : "io.flow.sellability.v0.enums.rule_effect_type",
58752
+ "required" : true,
58753
+ "attributes" : [ ],
58754
+ "annotations" : [ ]
58755
+ }, {
58756
+ "name" : "regions",
58757
+ "type" : "[string]",
58758
+ "required" : true,
58759
+ "attributes" : [ ],
58760
+ "annotations" : [ ],
58761
+ "description" : "The region id(s) in which a product should be restricted."
58762
+ }, {
58763
+ "name" : "description",
58764
+ "type" : "string",
58765
+ "required" : false,
58766
+ "attributes" : [ ],
58767
+ "annotations" : [ ]
58768
+ } ],
58769
+ "attributes" : [ ],
58770
+ "interfaces" : [ ]
58771
+ }, {
58772
+ "name" : "restriction_rule_effect_upserted",
58773
+ "plural" : "restriction_rule_effect_upserteds",
58774
+ "fields" : [ {
58775
+ "name" : "event_id",
58776
+ "type" : "string",
58777
+ "required" : true,
58778
+ "attributes" : [ ],
58779
+ "annotations" : [ ]
58780
+ }, {
58781
+ "name" : "timestamp",
58782
+ "type" : "date-time-iso8601",
58783
+ "required" : true,
58784
+ "attributes" : [ ],
58785
+ "annotations" : [ ]
58786
+ }, {
58787
+ "name" : "restriction_rule_effect",
58788
+ "type" : "restriction_rule_effect",
58789
+ "required" : true,
58790
+ "attributes" : [ ],
58791
+ "annotations" : [ ]
58792
+ } ],
58793
+ "attributes" : [ ],
58794
+ "interfaces" : [ ]
58795
+ }, {
58796
+ "name" : "restriction_rule_form",
58797
+ "plural" : "restriction_rule_forms",
58798
+ "fields" : [ {
58799
+ "name" : "name",
58800
+ "type" : "string",
58801
+ "required" : true,
58802
+ "attributes" : [ ],
58803
+ "annotations" : [ ],
58804
+ "minimum" : 1,
58805
+ "maximum" : 20
58806
+ }, {
58807
+ "name" : "description",
58808
+ "type" : "string",
58809
+ "required" : true,
58810
+ "attributes" : [ ],
58811
+ "annotations" : [ ]
58812
+ }, {
58813
+ "name" : "action",
58814
+ "type" : "restriction_action",
58815
+ "required" : true,
58816
+ "attributes" : [ ],
58817
+ "annotations" : [ ]
58818
+ }, {
58819
+ "name" : "regions",
58820
+ "type" : "[string]",
58821
+ "required" : true,
58822
+ "attributes" : [ ],
58823
+ "annotations" : [ ],
58824
+ "description" : "The region id(s) in which a product would be restricted."
58825
+ }, {
58826
+ "name" : "positive_keywords",
58827
+ "type" : "[string]",
58828
+ "required" : true,
58829
+ "attributes" : [ ],
58830
+ "annotations" : [ ],
58831
+ "description" : "These are keywords or short phrases that make us suspect a product might be covered by a rule, e.g. 'leather' for animal goods."
58832
+ }, {
58833
+ "name" : "negative_keywords",
58834
+ "type" : "[string]",
58835
+ "required" : true,
58836
+ "attributes" : [ ],
58837
+ "annotations" : [ ],
58838
+ "description" : "These are keywords or short phrases that decrease our certainty a product might be covered by a rule, e.g. 'synthetic leather' for animal goods."
58839
+ }, {
58840
+ "name" : "value_threshold_usd",
58841
+ "type" : "decimal",
58842
+ "required" : false,
58843
+ "attributes" : [ ],
58844
+ "annotations" : [ ],
58845
+ "description" : "The value threshold in USD, if present, we will only mark products with price over the threshold pending for review"
58846
+ }, {
58847
+ "name" : "auto_review_criteria",
58848
+ "type" : "[auto_review_criteria]",
58849
+ "required" : false,
58850
+ "attributes" : [ ],
58851
+ "annotations" : [ ],
58852
+ "description" : "it defined a list of auto reviewed criteria"
58853
+ }, {
58854
+ "name" : "source",
58855
+ "type" : "restriction_organization_source",
58856
+ "required" : true,
58857
+ "attributes" : [ ],
58858
+ "annotations" : [ ],
58859
+ "description" : "The source of the restriction rule, e.g. shopify or enterprise."
58860
+ }, {
58861
+ "name" : "sellability_positive_keywords",
58862
+ "type" : "[string]",
58863
+ "required" : false,
58864
+ "attributes" : [ ],
58865
+ "annotations" : [ ],
58866
+ "description" : "When this rule has no `positive_keywords` set, these keywords can be used by the Fast Sellability service for identifying products that may need to be restricted at time of a Fast Sellability request.",
58867
+ "default" : "[]"
58868
+ }, {
58869
+ "name" : "community_exemption",
58870
+ "type" : "[restriction_rule_community_exemption]",
58871
+ "required" : true,
58872
+ "attributes" : [ ],
58873
+ "annotations" : [ ],
58874
+ "description" : "List of community exemptions applicable for this rule",
58875
+ "default" : "[]"
58876
+ }, {
58877
+ "name" : "reason_code",
58878
+ "type" : "string",
58879
+ "required" : true,
58880
+ "attributes" : [ ],
58881
+ "annotations" : [ ],
58882
+ "description" : "The reason code for creating the restriction rule"
58883
+ }, {
58884
+ "name" : "attribute_names",
58885
+ "type" : "[string]",
58886
+ "required" : false,
58887
+ "attributes" : [ ],
58888
+ "annotations" : [ ],
58889
+ "description" : "List of attribute names that can influence the restrictions decision"
58890
+ }, {
58891
+ "name" : "attribute_rule_conditions",
58892
+ "type" : "attribute_rule",
58893
+ "required" : false,
58894
+ "attributes" : [ ],
58895
+ "annotations" : [ ],
58896
+ "description" : "A set of conditions that together define a match for a restriction decision based on product attributes."
58897
+ }, {
58898
+ "name" : "keyword_cancelling",
58899
+ "type" : "[keyword_cancelling]",
58900
+ "required" : false,
58901
+ "attributes" : [ ],
58902
+ "annotations" : [ ],
58903
+ "description" : "A list of positive keywords and their matching cancelling negative keywords"
58904
+ }, {
58905
+ "name" : "activation_status",
58906
+ "type" : "restriction_rule_activation_status",
58907
+ "required" : true,
58908
+ "attributes" : [ ],
58909
+ "annotations" : [ ],
58910
+ "description" : "Activation status of the rule"
58911
+ }, {
58912
+ "name" : "evaluation_mode",
58913
+ "type" : "restriction_rule_evaluation_mode",
57039
58914
  "required" : true,
57040
58915
  "attributes" : [ ],
57041
58916
  "annotations" : [ ],
57042
- "description" : "Globally unique identifier"
57043
- } ],
57044
- "attributes" : [ ],
57045
- "interfaces" : [ ]
57046
- }, {
57047
- "name" : "restriction_rule_effect",
57048
- "plural" : "restriction_rule_effects",
57049
- "fields" : [ {
57050
- "name" : "id",
57051
- "type" : "string",
57052
- "required" : true,
57053
- "attributes" : [ ],
57054
- "annotations" : [ ],
57055
- "description" : "Globally unique identifier"
57056
- }, {
57057
- "name" : "rule_id",
57058
- "type" : "string",
57059
- "required" : true,
57060
- "attributes" : [ ],
57061
- "annotations" : [ ]
57062
- }, {
57063
- "name" : "effect",
57064
- "type" : "io.flow.sellability.v0.enums.rule_effect_type",
57065
- "required" : true,
57066
- "attributes" : [ ],
57067
- "annotations" : [ ]
57068
- }, {
57069
- "name" : "regions",
57070
- "type" : "[string]",
57071
- "required" : true,
57072
- "attributes" : [ ],
57073
- "annotations" : [ ],
57074
- "description" : "The region id(s) in which a product should be restricted."
57075
- }, {
57076
- "name" : "description",
57077
- "type" : "string",
57078
- "required" : false,
57079
- "attributes" : [ ],
57080
- "annotations" : [ ]
57081
- } ],
57082
- "attributes" : [ ],
57083
- "interfaces" : [ ]
57084
- }, {
57085
- "name" : "restriction_rule_effect_deleted",
57086
- "plural" : "restriction_rule_effect_deleteds",
57087
- "fields" : [ {
57088
- "name" : "event_id",
57089
- "type" : "string",
57090
- "required" : true,
57091
- "attributes" : [ ],
57092
- "annotations" : [ ]
57093
- }, {
57094
- "name" : "timestamp",
57095
- "type" : "date-time-iso8601",
57096
- "required" : true,
57097
- "attributes" : [ ],
57098
- "annotations" : [ ]
57099
- }, {
57100
- "name" : "id",
57101
- "type" : "string",
57102
- "required" : true,
57103
- "attributes" : [ ],
57104
- "annotations" : [ ],
57105
- "description" : "Globally unique identifier"
57106
- } ],
57107
- "attributes" : [ ],
57108
- "interfaces" : [ ]
57109
- }, {
57110
- "name" : "restriction_rule_effect_form",
57111
- "plural" : "restriction_rule_effect_forms",
57112
- "fields" : [ {
57113
- "name" : "rule_id",
57114
- "type" : "string",
57115
- "required" : true,
57116
- "attributes" : [ ],
57117
- "annotations" : [ ]
57118
- }, {
57119
- "name" : "effect",
57120
- "type" : "io.flow.sellability.v0.enums.rule_effect_type",
57121
- "required" : true,
57122
- "attributes" : [ ],
57123
- "annotations" : [ ]
57124
- }, {
57125
- "name" : "regions",
57126
- "type" : "[string]",
57127
- "required" : true,
57128
- "attributes" : [ ],
57129
- "annotations" : [ ],
57130
- "description" : "The region id(s) in which a product should be restricted."
57131
- }, {
57132
- "name" : "description",
57133
- "type" : "string",
57134
- "required" : false,
57135
- "attributes" : [ ],
57136
- "annotations" : [ ]
57137
- } ],
57138
- "attributes" : [ ],
57139
- "interfaces" : [ ]
57140
- }, {
57141
- "name" : "restriction_rule_effect_upserted",
57142
- "plural" : "restriction_rule_effect_upserteds",
57143
- "fields" : [ {
57144
- "name" : "event_id",
57145
- "type" : "string",
57146
- "required" : true,
57147
- "attributes" : [ ],
57148
- "annotations" : [ ]
57149
- }, {
57150
- "name" : "timestamp",
57151
- "type" : "date-time-iso8601",
57152
- "required" : true,
57153
- "attributes" : [ ],
57154
- "annotations" : [ ]
57155
- }, {
57156
- "name" : "restriction_rule_effect",
57157
- "type" : "restriction_rule_effect",
57158
- "required" : true,
57159
- "attributes" : [ ],
57160
- "annotations" : [ ]
57161
- } ],
57162
- "attributes" : [ ],
57163
- "interfaces" : [ ]
57164
- }, {
57165
- "name" : "restriction_rule_form",
57166
- "plural" : "restriction_rule_forms",
57167
- "fields" : [ {
57168
- "name" : "name",
57169
- "type" : "string",
57170
- "required" : true,
57171
- "attributes" : [ ],
57172
- "annotations" : [ ],
57173
- "minimum" : 1,
57174
- "maximum" : 20
57175
- }, {
57176
- "name" : "description",
57177
- "type" : "string",
57178
- "required" : true,
57179
- "attributes" : [ ],
57180
- "annotations" : [ ]
57181
- }, {
57182
- "name" : "action",
57183
- "type" : "restriction_action",
57184
- "required" : true,
57185
- "attributes" : [ ],
57186
- "annotations" : [ ]
57187
- }, {
57188
- "name" : "regions",
57189
- "type" : "[string]",
57190
- "required" : true,
57191
- "attributes" : [ ],
57192
- "annotations" : [ ],
57193
- "description" : "The region id(s) in which a product would be restricted."
57194
- }, {
57195
- "name" : "positive_keywords",
57196
- "type" : "[string]",
57197
- "required" : true,
57198
- "attributes" : [ ],
57199
- "annotations" : [ ],
57200
- "description" : "These are keywords or short phrases that make us suspect a product might be covered by a rule, e.g. 'leather' for animal goods."
57201
- }, {
57202
- "name" : "negative_keywords",
57203
- "type" : "[string]",
57204
- "required" : true,
57205
- "attributes" : [ ],
57206
- "annotations" : [ ],
57207
- "description" : "These are keywords or short phrases that decrease our certainty a product might be covered by a rule, e.g. 'synthetic leather' for animal goods."
57208
- }, {
57209
- "name" : "value_threshold_usd",
57210
- "type" : "decimal",
57211
- "required" : false,
57212
- "attributes" : [ ],
57213
- "annotations" : [ ],
57214
- "description" : "The value threshold in USD, if present, we will only mark products with price over the threshold pending for review"
57215
- }, {
57216
- "name" : "auto_review_criteria",
57217
- "type" : "[auto_review_criteria]",
57218
- "required" : false,
57219
- "attributes" : [ ],
57220
- "annotations" : [ ],
57221
- "description" : "it defined a list of auto reviewed criteria"
57222
- }, {
57223
- "name" : "source",
57224
- "type" : "restriction_organization_source",
57225
- "required" : true,
57226
- "attributes" : [ ],
57227
- "annotations" : [ ],
57228
- "description" : "The source of the restriction rule, e.g. shopify or enterprise."
57229
- }, {
57230
- "name" : "sellability_positive_keywords",
57231
- "type" : "[string]",
57232
- "required" : false,
57233
- "attributes" : [ ],
57234
- "annotations" : [ ],
57235
- "description" : "When this rule has no `positive_keywords` set, these keywords can be used by the Fast Sellability service for identifying products that may need to be restricted at time of a Fast Sellability request.",
57236
- "default" : "[]"
57237
- }, {
57238
- "name" : "community_exemption",
57239
- "type" : "[restriction_rule_community_exemption]",
57240
- "required" : true,
57241
- "attributes" : [ ],
57242
- "annotations" : [ ],
57243
- "description" : "List of community exemptions applicable for this rule",
57244
- "default" : "[]"
57245
- }, {
57246
- "name" : "reason_code",
57247
- "type" : "string",
57248
- "required" : true,
57249
- "attributes" : [ ],
57250
- "annotations" : [ ],
57251
- "description" : "The reason code for creating the restriction rule"
57252
- }, {
57253
- "name" : "attribute_names",
57254
- "type" : "[string]",
57255
- "required" : false,
57256
- "attributes" : [ ],
57257
- "annotations" : [ ],
57258
- "description" : "List of attribute names that can influence the restrictions decision"
57259
- }, {
57260
- "name" : "attribute_rule_conditions",
57261
- "type" : "attribute_rule",
57262
- "required" : false,
57263
- "attributes" : [ ],
57264
- "annotations" : [ ],
57265
- "description" : "A set of conditions that together define a match for a restriction decision based on product attributes."
57266
- }, {
57267
- "name" : "keyword_cancelling",
57268
- "type" : "[keyword_cancelling]",
57269
- "required" : false,
57270
- "attributes" : [ ],
57271
- "annotations" : [ ],
57272
- "description" : "A list of positive keywords and their matching cancelling negative keywords"
57273
- }, {
57274
- "name" : "activation_status",
57275
- "type" : "restriction_rule_activation_status",
57276
- "required" : true,
57277
- "attributes" : [ ],
57278
- "annotations" : [ ],
57279
- "description" : "Activation status of the rule"
58917
+ "description" : "When the rule is evaluated against a product. first_screening_only means later screenings skip the rule for products it has already been evaluated against.",
58918
+ "default" : "all_screenings"
57280
58919
  } ],
57281
58920
  "attributes" : [ ],
57282
58921
  "interfaces" : [ ]
@@ -58719,6 +60358,33 @@
58719
60358
  } ],
58720
60359
  "attributes" : [ ],
58721
60360
  "interfaces" : [ ]
60361
+ }, {
60362
+ "name" : "review_request_item",
60363
+ "plural" : "review_request_items",
60364
+ "fields" : [ {
60365
+ "name" : "review_type",
60366
+ "type" : "ai_review_type",
60367
+ "required" : true,
60368
+ "attributes" : [ ],
60369
+ "annotations" : [ ]
60370
+ }, {
60371
+ "name" : "review_id",
60372
+ "type" : "string",
60373
+ "required" : true,
60374
+ "attributes" : [ ],
60375
+ "annotations" : [ ],
60376
+ "description" : "Caller-supplied correlation id, echoed on the result to tie it back. MUST match ^[a-zA-Z0-9_-]{1,64}$ (it is used verbatim as the Claude Batch custom_id) and be unique within a submission — items violating this are rejected and reported via ai_review_request_failed. Use Flow-generated ids, not raw merchant item numbers. Restrictions general PV: the decision (prd) id. Restrictions DG: the product_restriction (prn) id — one DG review yields a per-class verdict list the consumer maps by dg_class. Harmonization: a Flow-generated harmonization id (e.g. the item_harmonization id)."
60377
+ }, {
60378
+ "name" : "context",
60379
+ "type" : "ai_review_context",
60380
+ "required" : true,
60381
+ "attributes" : [ ],
60382
+ "annotations" : [ ],
60383
+ "description" : "Producer-side context for this review, typed per review_type (pv_review_context / dg_review_context / pc_review_context)"
60384
+ } ],
60385
+ "attributes" : [ ],
60386
+ "interfaces" : [ ],
60387
+ "description" : "A single item to review. Only the universal spine lives here — routing (review_type), correlation (review_id), and the typed context; everything review-type-specific (identifiers, rule metadata, keywords, enrichment keys) lives in the context union member. review_type is per-item because a producer run mixes prompt types (e.g. general + DG)."
58722
60388
  }, {
58723
60389
  "name" : "routing_account",
58724
60390
  "plural" : "routing_accounts",
@@ -59460,6 +61126,188 @@
59460
61126
  "attributes" : [ ],
59461
61127
  "interfaces" : [ ],
59462
61128
  "description" : "Result of sellability check for hs override"
61129
+ }, {
61130
+ "name" : "sellability_pending_verification",
61131
+ "plural" : "sellability_pending_verifications",
61132
+ "fields" : [ {
61133
+ "name" : "id",
61134
+ "type" : "string",
61135
+ "required" : true,
61136
+ "attributes" : [ ],
61137
+ "annotations" : [ ],
61138
+ "description" : "The internal ID of this decision."
61139
+ }, {
61140
+ "name" : "merchant_id",
61141
+ "type" : "string",
61142
+ "required" : true,
61143
+ "attributes" : [ ],
61144
+ "annotations" : [ ],
61145
+ "description" : "The merchant ID as sent in the request."
61146
+ }, {
61147
+ "name" : "product_id",
61148
+ "type" : "string",
61149
+ "required" : true,
61150
+ "attributes" : [ ],
61151
+ "annotations" : [ ],
61152
+ "description" : "The product ID as sent in the request."
61153
+ }, {
61154
+ "name" : "channel",
61155
+ "type" : "string",
61156
+ "required" : true,
61157
+ "attributes" : [ ],
61158
+ "annotations" : [ ],
61159
+ "description" : "The channel for the request."
61160
+ }, {
61161
+ "name" : "request_id",
61162
+ "type" : "string",
61163
+ "required" : true,
61164
+ "attributes" : [ ],
61165
+ "annotations" : [ ],
61166
+ "description" : "The Global-E unique ID for the request linked to this decision."
61167
+ }, {
61168
+ "name" : "name",
61169
+ "type" : "string",
61170
+ "required" : true,
61171
+ "attributes" : [ ],
61172
+ "annotations" : [ ],
61173
+ "description" : "The name of the product."
61174
+ }, {
61175
+ "name" : "description",
61176
+ "type" : "string",
61177
+ "required" : true,
61178
+ "attributes" : [ ],
61179
+ "annotations" : [ ],
61180
+ "description" : "The product description."
61181
+ }, {
61182
+ "name" : "taxonomy_category",
61183
+ "type" : "string",
61184
+ "required" : false,
61185
+ "attributes" : [ ],
61186
+ "annotations" : [ ],
61187
+ "description" : "Product taxonomy category, used as review-agent input."
61188
+ }, {
61189
+ "name" : "hs6_code",
61190
+ "type" : "string",
61191
+ "required" : false,
61192
+ "attributes" : [ ],
61193
+ "annotations" : [ ],
61194
+ "description" : "The HS6 code, used as review-agent input."
61195
+ }, {
61196
+ "name" : "price",
61197
+ "type" : "string",
61198
+ "required" : false,
61199
+ "attributes" : [ ],
61200
+ "annotations" : [ ],
61201
+ "description" : "The product price as a single value+currency string (e.g. '12.99 USD')."
61202
+ }, {
61203
+ "name" : "rule_id",
61204
+ "type" : "string",
61205
+ "required" : true,
61206
+ "attributes" : [ ],
61207
+ "annotations" : [ ],
61208
+ "description" : "The restriction rule under review for this decision."
61209
+ }, {
61210
+ "name" : "reason_code",
61211
+ "type" : "string",
61212
+ "required" : true,
61213
+ "attributes" : [ ],
61214
+ "annotations" : [ ],
61215
+ "description" : "The reason code of the rule under review."
61216
+ }, {
61217
+ "name" : "matching_keywords",
61218
+ "type" : "string",
61219
+ "required" : false,
61220
+ "attributes" : [ ],
61221
+ "annotations" : [ ],
61222
+ "description" : "Comma-delimited keywords that triggered the match."
61223
+ }, {
61224
+ "name" : "status",
61225
+ "type" : "string",
61226
+ "required" : true,
61227
+ "attributes" : [ ],
61228
+ "annotations" : [ ],
61229
+ "description" : "Lifecycle state: new (awaiting review) -> processed (agent decision written) -> persisted (propagated to the sellability results cache). A string rather than an enum: written by the external review script, so unexpected values must survive as-is."
61230
+ }, {
61231
+ "name" : "agent_decision",
61232
+ "type" : "string",
61233
+ "required" : false,
61234
+ "attributes" : [ ],
61235
+ "annotations" : [ ],
61236
+ "description" : "The review agent verdict (UPHOLD, REMOVE or ESCALATE), set when the decision moves to processed. Published as written, without normalization."
61237
+ }, {
61238
+ "name" : "agent_reasoning",
61239
+ "type" : "string",
61240
+ "required" : false,
61241
+ "attributes" : [ ],
61242
+ "annotations" : [ ],
61243
+ "description" : "The review agent's explanation for its verdict."
61244
+ }, {
61245
+ "name" : "created_at",
61246
+ "type" : "date-time-iso8601",
61247
+ "required" : true,
61248
+ "attributes" : [ ],
61249
+ "annotations" : [ ],
61250
+ "description" : "When the product was flagged for this rule."
61251
+ }, {
61252
+ "name" : "updated_at",
61253
+ "type" : "date-time-iso8601",
61254
+ "required" : true,
61255
+ "attributes" : [ ],
61256
+ "annotations" : [ ],
61257
+ "description" : "When this decision last changed state."
61258
+ } ],
61259
+ "attributes" : [ ],
61260
+ "interfaces" : [ ],
61261
+ "description" : "A single product/rule decision in the preonboarding review queue. One row per matched restriction rule; created when a product lands in_review and updated as the review agent decision is written and propagated."
61262
+ }, {
61263
+ "name" : "sellability_pending_verification_deleted",
61264
+ "plural" : "sellability_pending_verification_deleteds",
61265
+ "fields" : [ {
61266
+ "name" : "event_id",
61267
+ "type" : "string",
61268
+ "required" : true,
61269
+ "attributes" : [ ],
61270
+ "annotations" : [ ]
61271
+ }, {
61272
+ "name" : "timestamp",
61273
+ "type" : "date-time-iso8601",
61274
+ "required" : true,
61275
+ "attributes" : [ ],
61276
+ "annotations" : [ ]
61277
+ }, {
61278
+ "name" : "id",
61279
+ "type" : "string",
61280
+ "required" : true,
61281
+ "attributes" : [ ],
61282
+ "annotations" : [ ],
61283
+ "description" : "id of the deleted sellability_pending_verification (matches `sellability_pending_verification.id` from prior upserted events)"
61284
+ } ],
61285
+ "attributes" : [ ],
61286
+ "interfaces" : [ ]
61287
+ }, {
61288
+ "name" : "sellability_pending_verification_upserted",
61289
+ "plural" : "sellability_pending_verification_upserteds",
61290
+ "fields" : [ {
61291
+ "name" : "event_id",
61292
+ "type" : "string",
61293
+ "required" : true,
61294
+ "attributes" : [ ],
61295
+ "annotations" : [ ]
61296
+ }, {
61297
+ "name" : "timestamp",
61298
+ "type" : "date-time-iso8601",
61299
+ "required" : true,
61300
+ "attributes" : [ ],
61301
+ "annotations" : [ ]
61302
+ }, {
61303
+ "name" : "sellability_pending_verification",
61304
+ "type" : "sellability_pending_verification",
61305
+ "required" : true,
61306
+ "attributes" : [ ],
61307
+ "annotations" : [ ]
61308
+ } ],
61309
+ "attributes" : [ ],
61310
+ "interfaces" : [ ]
59463
61311
  }, {
59464
61312
  "name" : "service_fees",
59465
61313
  "plural" : "service_fees",
@@ -67331,6 +69179,13 @@
67331
69179
  "attributes" : [ ],
67332
69180
  "annotations" : [ ],
67333
69181
  "description" : "Taxonomy category"
69182
+ }, {
69183
+ "name" : "taxonomy_category_id",
69184
+ "type" : "string",
69185
+ "required" : false,
69186
+ "attributes" : [ ],
69187
+ "annotations" : [ ],
69188
+ "description" : "Shopify's locale-independent taxonomy category id (for example, hb-1-1-1). Optional during backfill and upstream rollout."
67334
69189
  }, {
67335
69190
  "name" : "hs6",
67336
69191
  "type" : "string",
@@ -69476,6 +71331,89 @@
69476
71331
  } ],
69477
71332
  "attributes" : [ ],
69478
71333
  "interfaces" : [ ]
71334
+ }, {
71335
+ "name" : "unserviceable_taxonomy_category",
71336
+ "plural" : "unserviceable_taxonomy_categories",
71337
+ "fields" : [ {
71338
+ "name" : "id",
71339
+ "type" : "string",
71340
+ "required" : true,
71341
+ "attributes" : [ ],
71342
+ "annotations" : [ ],
71343
+ "description" : "Globally unique identifier"
71344
+ }, {
71345
+ "name" : "taxonomy_category",
71346
+ "type" : "string",
71347
+ "required" : true,
71348
+ "attributes" : [ ],
71349
+ "annotations" : [ ],
71350
+ "description" : "The taxonomy category full name, lowercased."
71351
+ }, {
71352
+ "name" : "taxonomy_category_id",
71353
+ "type" : "string",
71354
+ "required" : false,
71355
+ "attributes" : [ ],
71356
+ "annotations" : [ ],
71357
+ "description" : "Shopify's locale-independent taxonomy category id (for example, hb-1-1-1). Optional during backfill and upstream rollout."
71358
+ }, {
71359
+ "name" : "updated_by_user_id",
71360
+ "type" : "string",
71361
+ "required" : true,
71362
+ "attributes" : [ ],
71363
+ "annotations" : [ ]
71364
+ } ],
71365
+ "attributes" : [ ],
71366
+ "interfaces" : [ ],
71367
+ "description" : "A taxonomy category marked unsupported in Sellability. Products in these categories are restricted worldwide via the Unserviceable Taxonomy rule and skip classification."
71368
+ }, {
71369
+ "name" : "unserviceable_taxonomy_category_deleted",
71370
+ "plural" : "unserviceable_taxonomy_category_deleteds",
71371
+ "fields" : [ {
71372
+ "name" : "event_id",
71373
+ "type" : "string",
71374
+ "required" : true,
71375
+ "attributes" : [ ],
71376
+ "annotations" : [ ]
71377
+ }, {
71378
+ "name" : "timestamp",
71379
+ "type" : "date-time-iso8601",
71380
+ "required" : true,
71381
+ "attributes" : [ ],
71382
+ "annotations" : [ ]
71383
+ }, {
71384
+ "name" : "id",
71385
+ "type" : "string",
71386
+ "required" : true,
71387
+ "attributes" : [ ],
71388
+ "annotations" : [ ],
71389
+ "description" : "the associated unserviceable_taxonomy_category id"
71390
+ } ],
71391
+ "attributes" : [ ],
71392
+ "interfaces" : [ ]
71393
+ }, {
71394
+ "name" : "unserviceable_taxonomy_category_upserted",
71395
+ "plural" : "unserviceable_taxonomy_category_upserteds",
71396
+ "fields" : [ {
71397
+ "name" : "event_id",
71398
+ "type" : "string",
71399
+ "required" : true,
71400
+ "attributes" : [ ],
71401
+ "annotations" : [ ]
71402
+ }, {
71403
+ "name" : "timestamp",
71404
+ "type" : "date-time-iso8601",
71405
+ "required" : true,
71406
+ "attributes" : [ ],
71407
+ "annotations" : [ ]
71408
+ }, {
71409
+ "name" : "unserviceable_taxonomy_category",
71410
+ "type" : "unserviceable_taxonomy_category",
71411
+ "required" : true,
71412
+ "attributes" : [ ],
71413
+ "annotations" : [ ]
71414
+ } ],
71415
+ "attributes" : [ ],
71416
+ "interfaces" : [ ]
69479
71417
  }, {
69480
71418
  "name" : "ups",
69481
71419
  "plural" : "upses",
@@ -69997,6 +71935,18 @@
69997
71935
  "required" : false,
69998
71936
  "attributes" : [ ],
69999
71937
  "annotations" : [ ]
71938
+ }, {
71939
+ "name" : "delivery_window_days_from",
71940
+ "type" : "decimal",
71941
+ "required" : false,
71942
+ "attributes" : [ ],
71943
+ "annotations" : [ ]
71944
+ }, {
71945
+ "name" : "delivery_window_days_to",
71946
+ "type" : "decimal",
71947
+ "required" : false,
71948
+ "attributes" : [ ],
71949
+ "annotations" : [ ]
70000
71950
  } ],
70001
71951
  "attributes" : [ ],
70002
71952
  "interfaces" : [ ]
@@ -75482,7 +77432,7 @@
75482
77432
  }
75483
77433
  } ],
75484
77434
  "path" : "/internal/cafe24/markets/orders/acceptance",
75485
- "description" : "Support Shopify order acceptance workflow."
77435
+ "description" : "Support order acceptance workflow."
75486
77436
  }, {
75487
77437
  "type" : "channel_order_acceptance_details",
75488
77438
  "plural" : "channel_order_acceptance_details",
@@ -83426,6 +85376,55 @@
83426
85376
  } ],
83427
85377
  "path" : "/:organization/search/global",
83428
85378
  "description" : "Returns a list of experiences, items, and orders based on the search criteria."
85379
+ }, {
85380
+ "type" : "guaranteed_shipping_calibration",
85381
+ "plural" : "guaranteed_shipping_calibrations",
85382
+ "operations" : [ {
85383
+ "method" : "POST",
85384
+ "path" : "/internal/guaranteed/shipping/calibrate",
85385
+ "parameters" : [ ],
85386
+ "responses" : [ {
85387
+ "code" : {
85388
+ "integer" : {
85389
+ "value" : 202
85390
+ }
85391
+ },
85392
+ "type" : "[guaranteed_shipping_calibration]",
85393
+ "attributes" : [ ]
85394
+ }, {
85395
+ "code" : {
85396
+ "integer" : {
85397
+ "value" : 401
85398
+ }
85399
+ },
85400
+ "type" : "unit",
85401
+ "description" : "Authorization failed",
85402
+ "attributes" : [ ]
85403
+ }, {
85404
+ "code" : {
85405
+ "integer" : {
85406
+ "value" : 422
85407
+ }
85408
+ },
85409
+ "type" : "io.flow.error.v0.models.generic_error",
85410
+ "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
85411
+ "attributes" : [ ]
85412
+ } ],
85413
+ "attributes" : [ ],
85414
+ "description" : "Triggers a recalibration of the given lanes and answers with the lanes accepted. The run itself happens in the background, so its outcome is observable in the calibrated and published outputs rather than in this response.",
85415
+ "body" : {
85416
+ "type" : "guaranteed_shipping_calibration_form",
85417
+ "attributes" : [ ]
85418
+ }
85419
+ } ],
85420
+ "attributes" : [ {
85421
+ "name" : "docs",
85422
+ "value" : {
85423
+ "module" : "general"
85424
+ }
85425
+ } ],
85426
+ "path" : "/internal/guaranteed/shipping/calibrate",
85427
+ "description" : "One lane accepted for recalibration. Lanes named more than once in a request collapse into one of these, and the destination is normalized, so the accepted set is not always the submitted set."
83429
85428
  }, {
83430
85429
  "type" : "harmonization_item_classification",
83431
85430
  "plural" : "harmonization_item_classifications",
@@ -87082,6 +89081,76 @@
87082
89081
  } ],
87083
89082
  "path" : "/:organization/harmonization/results/items",
87084
89083
  "description" : "Everything we know about an item's harmonization."
89084
+ }, {
89085
+ "type" : "item_hs6_override",
89086
+ "plural" : "item_hs6_overrides",
89087
+ "operations" : [ {
89088
+ "method" : "PUT",
89089
+ "path" : "/harmonization/items/:organization/hs6",
89090
+ "parameters" : [ {
89091
+ "name" : "organization",
89092
+ "type" : "string",
89093
+ "location" : "Path",
89094
+ "required" : true,
89095
+ "description" : "Refers to your organization's account identifier"
89096
+ } ],
89097
+ "responses" : [ {
89098
+ "code" : {
89099
+ "integer" : {
89100
+ "value" : 200
89101
+ }
89102
+ },
89103
+ "type" : "item_hs6_override_result",
89104
+ "description" : "Successful response",
89105
+ "attributes" : [ ]
89106
+ }, {
89107
+ "code" : {
89108
+ "integer" : {
89109
+ "value" : 401
89110
+ }
89111
+ },
89112
+ "type" : "unit",
89113
+ "description" : "Authorization failed",
89114
+ "attributes" : [ ]
89115
+ }, {
89116
+ "code" : {
89117
+ "integer" : {
89118
+ "value" : 404
89119
+ }
89120
+ },
89121
+ "type" : "unit",
89122
+ "description" : "Resource was not found",
89123
+ "attributes" : [ ]
89124
+ }, {
89125
+ "code" : {
89126
+ "integer" : {
89127
+ "value" : 422
89128
+ }
89129
+ },
89130
+ "type" : "io.flow.error.v0.models.generic_error",
89131
+ "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
89132
+ "attributes" : [ ]
89133
+ } ],
89134
+ "attributes" : [ {
89135
+ "name" : "linter",
89136
+ "value" : {
89137
+ "ignore" : [ "get", "id", "limit", "offset", "sort", "versions" ]
89138
+ }
89139
+ } ],
89140
+ "description" : "Assign HS6 codes to individual items. Applies to the named items only, never to their sibling variants, and leaves the shared customs description untouched. Each item succeeds or fails on its own.",
89141
+ "body" : {
89142
+ "type" : "item_hs6_overrides_form",
89143
+ "attributes" : [ ]
89144
+ }
89145
+ } ],
89146
+ "attributes" : [ {
89147
+ "name" : "docs",
89148
+ "value" : {
89149
+ "module" : "general"
89150
+ }
89151
+ } ],
89152
+ "path" : "/harmonization/items/:organization/hs6",
89153
+ "description" : "HS6 codes assigned to individual items by a person, recorded with a human decision source so later automated classifications do not replace them."
87085
89154
  }, {
87086
89155
  "type" : "item_restriction",
87087
89156
  "plural" : "item_restrictions",
@@ -87466,6 +89535,211 @@
87466
89535
  } ],
87467
89536
  "path" : "/:organization/item-restrictions",
87468
89537
  "description" : "Represents a restricted item with the regions in which it is restricted."
89538
+ }, {
89539
+ "type" : "john_strong_item",
89540
+ "plural" : "john_strong_items",
89541
+ "operations" : [ {
89542
+ "method" : "POST",
89543
+ "path" : "/john-strong/items",
89544
+ "parameters" : [ ],
89545
+ "responses" : [ {
89546
+ "code" : {
89547
+ "integer" : {
89548
+ "value" : 201
89549
+ }
89550
+ },
89551
+ "type" : "john_strong_item",
89552
+ "description" : "Operation succeeded and the resource was created",
89553
+ "attributes" : [ ]
89554
+ }, {
89555
+ "code" : {
89556
+ "integer" : {
89557
+ "value" : 401
89558
+ }
89559
+ },
89560
+ "type" : "unit",
89561
+ "description" : "Authorization failed",
89562
+ "attributes" : [ ]
89563
+ }, {
89564
+ "code" : {
89565
+ "integer" : {
89566
+ "value" : 404
89567
+ }
89568
+ },
89569
+ "type" : "unit",
89570
+ "description" : "Resource was not found",
89571
+ "attributes" : [ ]
89572
+ }, {
89573
+ "code" : {
89574
+ "integer" : {
89575
+ "value" : 422
89576
+ }
89577
+ },
89578
+ "type" : "io.flow.error.v0.models.generic_error",
89579
+ "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
89580
+ "attributes" : [ ]
89581
+ } ],
89582
+ "attributes" : [ ],
89583
+ "body" : {
89584
+ "type" : "john_strong_item_form",
89585
+ "attributes" : [ ]
89586
+ }
89587
+ }, {
89588
+ "method" : "GET",
89589
+ "path" : "/john-strong/items/:id",
89590
+ "parameters" : [ {
89591
+ "name" : "id",
89592
+ "type" : "string",
89593
+ "location" : "Path",
89594
+ "required" : true,
89595
+ "description" : "Filter by one or more IDs of this resource"
89596
+ } ],
89597
+ "responses" : [ {
89598
+ "code" : {
89599
+ "integer" : {
89600
+ "value" : 200
89601
+ }
89602
+ },
89603
+ "type" : "john_strong_item",
89604
+ "description" : "Successful response",
89605
+ "attributes" : [ ]
89606
+ }, {
89607
+ "code" : {
89608
+ "integer" : {
89609
+ "value" : 401
89610
+ }
89611
+ },
89612
+ "type" : "unit",
89613
+ "description" : "Authorization failed",
89614
+ "attributes" : [ ]
89615
+ }, {
89616
+ "code" : {
89617
+ "integer" : {
89618
+ "value" : 404
89619
+ }
89620
+ },
89621
+ "type" : "unit",
89622
+ "description" : "Resource was not found",
89623
+ "attributes" : [ ]
89624
+ }, {
89625
+ "code" : {
89626
+ "integer" : {
89627
+ "value" : 422
89628
+ }
89629
+ },
89630
+ "type" : "io.flow.error.v0.models.generic_error",
89631
+ "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
89632
+ "attributes" : [ ]
89633
+ } ],
89634
+ "attributes" : [ ]
89635
+ }, {
89636
+ "method" : "PUT",
89637
+ "path" : "/john-strong/items/:id",
89638
+ "parameters" : [ {
89639
+ "name" : "id",
89640
+ "type" : "string",
89641
+ "location" : "Path",
89642
+ "required" : true,
89643
+ "description" : "Filter by one or more IDs of this resource"
89644
+ } ],
89645
+ "responses" : [ {
89646
+ "code" : {
89647
+ "integer" : {
89648
+ "value" : 200
89649
+ }
89650
+ },
89651
+ "type" : "john_strong_item",
89652
+ "description" : "Successful response",
89653
+ "attributes" : [ ]
89654
+ }, {
89655
+ "code" : {
89656
+ "integer" : {
89657
+ "value" : 401
89658
+ }
89659
+ },
89660
+ "type" : "unit",
89661
+ "description" : "Authorization failed",
89662
+ "attributes" : [ ]
89663
+ }, {
89664
+ "code" : {
89665
+ "integer" : {
89666
+ "value" : 404
89667
+ }
89668
+ },
89669
+ "type" : "unit",
89670
+ "description" : "Resource was not found",
89671
+ "attributes" : [ ]
89672
+ }, {
89673
+ "code" : {
89674
+ "integer" : {
89675
+ "value" : 422
89676
+ }
89677
+ },
89678
+ "type" : "io.flow.error.v0.models.generic_error",
89679
+ "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
89680
+ "attributes" : [ ]
89681
+ } ],
89682
+ "attributes" : [ ],
89683
+ "body" : {
89684
+ "type" : "john_strong_item_form",
89685
+ "attributes" : [ ]
89686
+ }
89687
+ }, {
89688
+ "method" : "DELETE",
89689
+ "path" : "/john-strong/items/:id",
89690
+ "parameters" : [ {
89691
+ "name" : "id",
89692
+ "type" : "string",
89693
+ "location" : "Path",
89694
+ "required" : true,
89695
+ "description" : "Filter by one or more IDs of this resource"
89696
+ } ],
89697
+ "responses" : [ {
89698
+ "code" : {
89699
+ "integer" : {
89700
+ "value" : 200
89701
+ }
89702
+ },
89703
+ "type" : "unit",
89704
+ "description" : "Successful response",
89705
+ "attributes" : [ ]
89706
+ }, {
89707
+ "code" : {
89708
+ "integer" : {
89709
+ "value" : 401
89710
+ }
89711
+ },
89712
+ "type" : "unit",
89713
+ "description" : "Authorization failed",
89714
+ "attributes" : [ ]
89715
+ }, {
89716
+ "code" : {
89717
+ "integer" : {
89718
+ "value" : 404
89719
+ }
89720
+ },
89721
+ "type" : "unit",
89722
+ "description" : "Resource was not found",
89723
+ "attributes" : [ ]
89724
+ }, {
89725
+ "code" : {
89726
+ "integer" : {
89727
+ "value" : 422
89728
+ }
89729
+ },
89730
+ "type" : "io.flow.error.v0.models.generic_error",
89731
+ "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
89732
+ "attributes" : [ ]
89733
+ } ],
89734
+ "attributes" : [ ]
89735
+ } ],
89736
+ "attributes" : [ {
89737
+ "name" : "docs",
89738
+ "value" : {
89739
+ "module" : "general"
89740
+ }
89741
+ } ],
89742
+ "path" : "/john-strong/items"
87469
89743
  }, {
87470
89744
  "type" : "journal",
87471
89745
  "plural" : "journals",
@@ -92050,6 +94324,77 @@
92050
94324
  }
92051
94325
  } ],
92052
94326
  "path" : "/:organization/reports/revenue/timeline"
94327
+ }, {
94328
+ "type" : "order_settings",
94329
+ "plural" : "order_settings",
94330
+ "operations" : [ {
94331
+ "method" : "GET",
94332
+ "path" : "/internal/:organization/shopify/markets/order/settings/:number",
94333
+ "parameters" : [ {
94334
+ "name" : "organization",
94335
+ "type" : "string",
94336
+ "location" : "Path",
94337
+ "required" : true,
94338
+ "description" : "Refers to your organization's account identifier"
94339
+ }, {
94340
+ "name" : "number",
94341
+ "type" : "string",
94342
+ "location" : "Path",
94343
+ "required" : true
94344
+ } ],
94345
+ "responses" : [ {
94346
+ "code" : {
94347
+ "integer" : {
94348
+ "value" : 200
94349
+ }
94350
+ },
94351
+ "type" : "order_settings",
94352
+ "description" : "Successful response",
94353
+ "attributes" : [ ]
94354
+ }, {
94355
+ "code" : {
94356
+ "integer" : {
94357
+ "value" : 401
94358
+ }
94359
+ },
94360
+ "type" : "unit",
94361
+ "description" : "Authorization failed",
94362
+ "attributes" : [ ]
94363
+ }, {
94364
+ "code" : {
94365
+ "integer" : {
94366
+ "value" : 404
94367
+ }
94368
+ },
94369
+ "type" : "unit",
94370
+ "description" : "Resource was not found",
94371
+ "attributes" : [ ]
94372
+ }, {
94373
+ "code" : {
94374
+ "integer" : {
94375
+ "value" : 422
94376
+ }
94377
+ },
94378
+ "type" : "io.flow.error.v0.models.generic_error",
94379
+ "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
94380
+ "attributes" : [ ]
94381
+ } ],
94382
+ "attributes" : [ {
94383
+ "name" : "linter",
94384
+ "value" : {
94385
+ "ignore" : [ "get", "id", "limit", "offset", "sort" ]
94386
+ }
94387
+ } ],
94388
+ "description" : "Returns the settings applied to the given order (e.g. tax and duty inclusivity)."
94389
+ } ],
94390
+ "attributes" : [ {
94391
+ "name" : "docs",
94392
+ "value" : {
94393
+ "module" : "general"
94394
+ }
94395
+ } ],
94396
+ "path" : "/internal/:organization/shopify/markets/order/settings",
94397
+ "description" : "Settings applied to an order. Fields are optional so additional settings can be added over time."
92053
94398
  }, {
92054
94399
  "type" : "organization_account",
92055
94400
  "plural" : "organization_accounts",
@@ -105913,7 +108258,8 @@
105913
108258
  "description" : "Identifies a field that contains data that must be handled in a way that is compliant with the PCI standard."
105914
108259
  } ],
105915
108260
  "apidoc" : {
105916
- "version" : "0.29.69"
108261
+ "version" : "0.30.5"
105917
108262
  },
105918
- "base_url" : "https://api.flow.io"
108263
+ "base_url" : "https://api.flow.io",
108264
+ "description" : "AI review pipeline — central orchestration service for AI-powered product reviews. ai-review is completely domain-agnostic: it consumes review requests from an inbound Kinesis stream, builds Claude Batch API requests from the caller-supplied context, polls for completion, and publishes the typed AI result (which carries per-type confidence and reasoning) to the outbound Kinesis stream. It does NO enrichment (the consumer sends everything the prompt needs) and NO gating/escalation (the consumer decides how to act on the result and confidence). Batches are managed entirely within the service (no HTTP API); there is no central result store — each consumer persists its own audit trail. This spec is a shared type library imported by the inbound and outbound event specs."
105919
108265
  }