@flowio/api-internal-mock-generator 5.31.141 → 5.31.143

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.30.8",
10
+ "version": "0.30.27",
11
11
  "info": {
12
12
  "license": {
13
13
  "name": "MIT",
@@ -28,7 +28,7 @@
28
28
  "application": {
29
29
  "key": "error"
30
30
  },
31
- "version": "0.21.96",
31
+ "version": "0.21.99",
32
32
  "enums": ["generic_error_code"],
33
33
  "interfaces": [],
34
34
  "unions": [],
@@ -43,7 +43,7 @@
43
43
  "application": {
44
44
  "key": "catalog"
45
45
  },
46
- "version": "0.21.96",
46
+ "version": "0.21.99",
47
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"],
48
48
  "interfaces": ["localized_price"],
49
49
  "unions": ["expandable_subcatalog", "localized_price"],
@@ -58,7 +58,7 @@
58
58
  "application": {
59
59
  "key": "common"
60
60
  },
61
- "version": "0.21.96",
61
+ "version": "0.21.99",
62
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
63
  "interfaces": ["id_reference"],
64
64
  "unions": ["discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "logo_image", "price_source", "repeat_schedule"],
@@ -73,7 +73,7 @@
73
73
  "application": {
74
74
  "key": "experience"
75
75
  },
76
- "version": "0.21.96",
76
+ "version": "0.21.99",
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.96",
91
+ "version": "0.21.99",
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.96",
106
+ "version": "0.21.99",
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.96",
121
+ "version": "0.21.99",
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.96",
136
+ "version": "0.21.99",
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,7 +148,7 @@
148
148
  "application": {
149
149
  "key": "order-price"
150
150
  },
151
- "version": "0.21.96",
151
+ "version": "0.21.99",
152
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": [],
@@ -163,7 +163,7 @@
163
163
  "application": {
164
164
  "key": "billing-bank-account"
165
165
  },
166
- "version": "0.21.96",
166
+ "version": "0.21.99",
167
167
  "enums": [],
168
168
  "interfaces": ["bank_account_iban", "bank_account_simple"],
169
169
  "unions": ["bank_account_info"],
@@ -178,7 +178,7 @@
178
178
  "application": {
179
179
  "key": "reference"
180
180
  },
181
- "version": "0.21.96",
181
+ "version": "0.21.99",
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.96",
196
+ "version": "0.21.99",
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.96",
211
+ "version": "0.21.99",
212
212
  "enums": ["available_filter_format"],
213
213
  "interfaces": [],
214
214
  "unions": ["available_filter", "query_builder_form", "query_filter", "query_filter_form"],
@@ -223,7 +223,7 @@
223
223
  "application": {
224
224
  "key": "channel-currency"
225
225
  },
226
- "version": "0.21.96",
226
+ "version": "0.21.99",
227
227
  "enums": [],
228
228
  "interfaces": [],
229
229
  "unions": [],
@@ -238,7 +238,7 @@
238
238
  "application": {
239
239
  "key": "channel"
240
240
  },
241
- "version": "0.21.96",
241
+ "version": "0.21.99",
242
242
  "enums": ["channel_currency_capability"],
243
243
  "interfaces": [],
244
244
  "unions": [],
@@ -298,7 +298,7 @@
298
298
  "application": {
299
299
  "key": "harmonization"
300
300
  },
301
- "version": "0.21.96",
301
+ "version": "0.21.99",
302
302
  "enums": ["tax_applicability", "tax_verification_result"],
303
303
  "interfaces": [],
304
304
  "unions": [],
@@ -313,7 +313,7 @@
313
313
  "application": {
314
314
  "key": "export"
315
315
  },
316
- "version": "0.21.96",
316
+ "version": "0.21.99",
317
317
  "enums": ["export_status", "item_identifier"],
318
318
  "interfaces": ["csv_price_book_item_export_row"],
319
319
  "unions": ["export_delivery", "export_type"],
@@ -328,7 +328,7 @@
328
328
  "application": {
329
329
  "key": "fraud"
330
330
  },
331
- "version": "0.21.96",
331
+ "version": "0.21.99",
332
332
  "enums": ["fraud_email_rule_decision", "fraud_liability", "fraud_status"],
333
333
  "interfaces": [],
334
334
  "unions": ["fraud_order_reference"],
@@ -358,7 +358,7 @@
358
358
  "application": {
359
359
  "key": "fulfillment"
360
360
  },
361
- "version": "0.21.96",
361
+ "version": "0.21.99",
362
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"],
363
363
  "interfaces": ["delivery"],
364
364
  "unions": ["delivery", "expandable_center", "partner_center_fee", "service_description", "tier_rule_outcome", "tier_rule_outcome_form"],
@@ -373,7 +373,7 @@
373
373
  "application": {
374
374
  "key": "price"
375
375
  },
376
- "version": "0.21.96",
376
+ "version": "0.21.99",
377
377
  "enums": ["levy_component", "levy_strategy", "price_accuracy", "price_detail_component_key", "price_detail_key", "pricing_levy_setting"],
378
378
  "interfaces": [],
379
379
  "unions": ["deminimis"],
@@ -388,7 +388,7 @@
388
388
  "application": {
389
389
  "key": "sellability"
390
390
  },
391
- "version": "0.21.96",
391
+ "version": "0.21.99",
392
392
  "enums": ["rule_effect_type", "sellability_error_code", "sellability_request_status", "sellability_result_error_code", "sellability_result_status", "sellability_screening_mode"],
393
393
  "interfaces": ["product_sellability_interface"],
394
394
  "unions": ["sellability_request", "sellability_response"],
@@ -403,7 +403,7 @@
403
403
  "application": {
404
404
  "key": "ratecard"
405
405
  },
406
- "version": "0.21.96",
406
+ "version": "0.21.99",
407
407
  "enums": [],
408
408
  "interfaces": ["common_hop_estimate", "ratecard_estimate"],
409
409
  "unions": ["fuel_surcharge_rate", "ratecard_estimate", "ratecard_fee", "service_fee"],
@@ -418,7 +418,7 @@
418
418
  "application": {
419
419
  "key": "restrictions"
420
420
  },
421
- "version": "0.21.96",
421
+ "version": "0.21.99",
422
422
  "enums": ["restricted_review_status", "restriction_decision", "restriction_decision_reason", "restriction_environment", "review_status"],
423
423
  "interfaces": [],
424
424
  "unions": [],
@@ -433,7 +433,7 @@
433
433
  "application": {
434
434
  "key": "merchant-onboarding"
435
435
  },
436
- "version": "0.21.96",
436
+ "version": "0.21.99",
437
437
  "enums": ["logistics_format_preference", "onboarding_application_status", "onboarding_trade_sector", "region_type"],
438
438
  "interfaces": [],
439
439
  "unions": ["merchant_application", "merchant_application_form", "merchant_application_put_form", "merchant_applications_summary"],
@@ -448,7 +448,7 @@
448
448
  "application": {
449
449
  "key": "organization-onboarding-state"
450
450
  },
451
- "version": "0.21.96",
451
+ "version": "0.21.99",
452
452
  "enums": ["merchant_disabled_reason", "merchant_rejected_reason", "onboarding_blocked_reason"],
453
453
  "interfaces": [],
454
454
  "unions": ["onboarding_state"],
@@ -463,7 +463,7 @@
463
463
  "application": {
464
464
  "key": "organization"
465
465
  },
466
- "version": "0.21.96",
466
+ "version": "0.21.99",
467
467
  "enums": ["country_picker_source", "ecommerce_platform_type", "invitation_error_code"],
468
468
  "interfaces": [],
469
469
  "unions": [],
@@ -523,7 +523,7 @@
523
523
  "application": {
524
524
  "key": "payment-gateway"
525
525
  },
526
- "version": "0.21.96",
526
+ "version": "0.21.99",
527
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"],
528
528
  "interfaces": ["action", "payment_method_summary"],
529
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"],
@@ -538,7 +538,7 @@
538
538
  "application": {
539
539
  "key": "payment-request-bundle"
540
540
  },
541
- "version": "0.21.96",
541
+ "version": "0.21.99",
542
542
  "enums": [],
543
543
  "interfaces": [],
544
544
  "unions": [],
@@ -553,7 +553,7 @@
553
553
  "application": {
554
554
  "key": "permission"
555
555
  },
556
- "version": "0.21.96",
556
+ "version": "0.21.99",
557
557
  "enums": ["authentication_technique", "flow_behavior", "flow_role", "permitted_http_method"],
558
558
  "interfaces": [],
559
559
  "unions": [],
@@ -568,7 +568,7 @@
568
568
  "application": {
569
569
  "key": "product"
570
570
  },
571
- "version": "0.21.96",
571
+ "version": "0.21.99",
572
572
  "enums": [],
573
573
  "interfaces": [],
574
574
  "unions": [],
@@ -583,7 +583,7 @@
583
583
  "application": {
584
584
  "key": "return"
585
585
  },
586
- "version": "0.21.96",
586
+ "version": "0.21.99",
587
587
  "enums": ["return_status", "return_tracking_status"],
588
588
  "interfaces": [],
589
589
  "unions": ["return_source"],
@@ -598,7 +598,7 @@
598
598
  "application": {
599
599
  "key": "shopify-markets-internal-event"
600
600
  },
601
- "version": "0.30.8",
601
+ "version": "0.30.27",
602
602
  "enums": ["shopify_incoterm_configuration"],
603
603
  "interfaces": [],
604
604
  "unions": ["shopify_markets_internal_event"],
@@ -613,7 +613,7 @@
613
613
  "application": {
614
614
  "key": "tracking"
615
615
  },
616
- "version": "0.21.96",
616
+ "version": "0.21.99",
617
617
  "enums": ["substatus_code", "tracking_status"],
618
618
  "interfaces": [],
619
619
  "unions": [],
@@ -658,7 +658,7 @@
658
658
  "application": {
659
659
  "key": "shopify-merchant-config"
660
660
  },
661
- "version": "0.21.96",
661
+ "version": "0.21.99",
662
662
  "enums": [],
663
663
  "interfaces": [],
664
664
  "unions": ["entity", "know_your_business", "know_your_business_form"],
@@ -673,7 +673,7 @@
673
673
  "application": {
674
674
  "key": "consumer-invoice"
675
675
  },
676
- "version": "0.21.96",
676
+ "version": "0.21.99",
677
677
  "enums": ["b2b_invoice_type", "consumer_invoice_customer_type", "consumer_invoice_document_type", "consumer_invoice_status", "fee_invoice_type", "tax_jurisdiction_type", "tax_type"],
678
678
  "interfaces": [],
679
679
  "unions": ["consumer_invoice_line", "consumer_invoice_line_form"],
@@ -688,7 +688,7 @@
688
688
  "application": {
689
689
  "key": "token"
690
690
  },
691
- "version": "0.21.96",
691
+ "version": "0.21.99",
692
692
  "enums": [],
693
693
  "interfaces": ["token_detail_interface"],
694
694
  "unions": ["token", "token_reference"],
@@ -703,7 +703,7 @@
703
703
  "application": {
704
704
  "key": "catalog-exclusion"
705
705
  },
706
- "version": "0.21.96",
706
+ "version": "0.21.99",
707
707
  "enums": ["exclusion_rule_state"],
708
708
  "interfaces": [],
709
709
  "unions": [],
@@ -718,7 +718,7 @@
718
718
  "application": {
719
719
  "key": "catalog-return"
720
720
  },
721
- "version": "0.21.96",
721
+ "version": "0.21.99",
722
722
  "enums": ["return_policy_state"],
723
723
  "interfaces": [],
724
724
  "unions": [],
@@ -733,7 +733,7 @@
733
733
  "application": {
734
734
  "key": "ftp"
735
735
  },
736
- "version": "0.21.96",
736
+ "version": "0.21.99",
737
737
  "enums": ["ftp_file_source"],
738
738
  "interfaces": [],
739
739
  "unions": [],
@@ -748,7 +748,7 @@
748
748
  "application": {
749
749
  "key": "order-management"
750
750
  },
751
- "version": "0.21.96",
751
+ "version": "0.21.99",
752
752
  "enums": ["cancel_reason", "fulfillment_item_quantity_status", "order_change_source"],
753
753
  "interfaces": [],
754
754
  "unions": [],
@@ -2035,6 +2035,10 @@
2035
2035
  "name": "flat_rate_label_subsidy",
2036
2036
  "attributes": [],
2037
2037
  "description": "Represents a flat_rate_label_transaction of a subsidy type"
2038
+ }, {
2039
+ "name": "credit_refund",
2040
+ "attributes": [],
2041
+ "description": "Refund for a credit payment, including gift cards payments"
2038
2042
  }],
2039
2043
  "attributes": []
2040
2044
  }, {
@@ -3560,6 +3564,30 @@
3560
3564
  }, {
3561
3565
  "name": "transaction_statement_deleted",
3562
3566
  "attributes": []
3567
+ }, {
3568
+ "name": "bank_account_upserted",
3569
+ "attributes": []
3570
+ }, {
3571
+ "name": "bank_account_deleted",
3572
+ "attributes": []
3573
+ }, {
3574
+ "name": "posting_proof_upserted",
3575
+ "attributes": []
3576
+ }, {
3577
+ "name": "posting_proof_deleted",
3578
+ "attributes": []
3579
+ }, {
3580
+ "name": "bank_payment_promise_upserted",
3581
+ "attributes": []
3582
+ }, {
3583
+ "name": "bank_payment_promise_deleted",
3584
+ "attributes": []
3585
+ }, {
3586
+ "name": "account_payment_hold_upserted",
3587
+ "attributes": []
3588
+ }, {
3589
+ "name": "account_payment_hold_deleted",
3590
+ "attributes": []
3563
3591
  }, {
3564
3592
  "name": "daily_value_upserted",
3565
3593
  "attributes": []
@@ -3698,12 +3726,6 @@
3698
3726
  }, {
3699
3727
  "name": "channel_currency_setting_deleted",
3700
3728
  "attributes": []
3701
- }, {
3702
- "name": "customs_description_import",
3703
- "attributes": []
3704
- }, {
3705
- "name": "customs_description_tariffs_import",
3706
- "attributes": []
3707
3729
  }, {
3708
3730
  "name": "dispute_upserted",
3709
3731
  "attributes": []
@@ -3926,6 +3948,12 @@
3926
3948
  }, {
3927
3949
  "name": "outbound_shipping_cost_deleted",
3928
3950
  "attributes": []
3951
+ }, {
3952
+ "name": "average_order_value_upserted",
3953
+ "attributes": []
3954
+ }, {
3955
+ "name": "average_order_value_deleted",
3956
+ "attributes": []
3929
3957
  }, {
3930
3958
  "name": "guaranteed_shipping_published_output_upserted",
3931
3959
  "attributes": []
@@ -3956,9 +3984,6 @@
3956
3984
  }, {
3957
3985
  "name": "dutied_items_export",
3958
3986
  "attributes": []
3959
- }, {
3960
- "name": "harmonization_phrase_suggestion_request_import",
3961
- "attributes": []
3962
3987
  }, {
3963
3988
  "name": "harmonization_codes_import",
3964
3989
  "attributes": []
@@ -4607,6 +4632,12 @@
4607
4632
  }, {
4608
4633
  "name": "mahesh_item_deleted",
4609
4634
  "attributes": []
4635
+ }, {
4636
+ "name": "john_strong_item_upserted",
4637
+ "attributes": []
4638
+ }, {
4639
+ "name": "john_strong_item_deleted",
4640
+ "attributes": []
4610
4641
  }, {
4611
4642
  "name": "tracking_processing_error_upserted",
4612
4643
  "attributes": []
@@ -4958,6 +4989,26 @@
4958
4989
  }, {
4959
4990
  "name": "shopify_webhook",
4960
4991
  "attributes": []
4992
+ }, {
4993
+ "name": "guaranteed_shipping_state",
4994
+ "attributes": []
4995
+ }],
4996
+ "attributes": []
4997
+ }, {
4998
+ "name": "guaranteed_shipping_publication_status",
4999
+ "plural": "guaranteed_shipping_publication_statuses",
5000
+ "values": [{
5001
+ "name": "published",
5002
+ "attributes": [],
5003
+ "description": "The version is now the lane's published output"
5004
+ }, {
5005
+ "name": "not_found",
5006
+ "attributes": [],
5007
+ "description": "No calibrated output exists for the lane at the inputs_updated_at"
5008
+ }, {
5009
+ "name": "superseded",
5010
+ "attributes": [],
5011
+ "description": "A newer version is already published for the lane; published rates never roll back"
4961
5012
  }],
4962
5013
  "attributes": []
4963
5014
  }, {
@@ -6340,6 +6391,10 @@
6340
6391
  "name": "credit_payment",
6341
6392
  "attributes": [],
6342
6393
  "description": "Payments using credit, including gift cards."
6394
+ }, {
6395
+ "name": "credit_refund",
6396
+ "attributes": [],
6397
+ "description": "Refunds for credits, including gift cards"
6343
6398
  }],
6344
6399
  "attributes": []
6345
6400
  }, {
@@ -6691,6 +6746,18 @@
6691
6746
  }],
6692
6747
  "attributes": [],
6693
6748
  "description": "Describes the mechanism by which a liability will be reported paid."
6749
+ }, {
6750
+ "name": "requested_bank_payment_status_code",
6751
+ "plural": "requested_bank_payment_status_codes",
6752
+ "values": [{
6753
+ "name": "processed",
6754
+ "attributes": []
6755
+ }, {
6756
+ "name": "failed",
6757
+ "attributes": []
6758
+ }],
6759
+ "attributes": [],
6760
+ "description": "Statuses a caller can request on a bank payment status import. Deliberately separate from bank_payment_status_code: 'processed' is an input alias resolved per payment to sent (globale) or paid (third_party) and is never stored, so it must not appear in the stored-status enum or its exhaustive transition checks."
6694
6761
  }, {
6695
6762
  "name": "responsible_party",
6696
6763
  "plural": "responsible_parties",
@@ -7019,6 +7086,56 @@
7019
7086
  "attributes": []
7020
7087
  }],
7021
7088
  "attributes": []
7089
+ }, {
7090
+ "name": "sellability_decision_source",
7091
+ "plural": "sellability_decision_sources",
7092
+ "values": [{
7093
+ "name": "fast_screen_sellable",
7094
+ "attributes": [],
7095
+ "description": "The fast screen returned no restrictions."
7096
+ }, {
7097
+ "name": "fast_screen_restricted_everywhere",
7098
+ "attributes": [],
7099
+ "description": "The fast screen restricted the product in every region, so the LLM classifier was skipped."
7100
+ }, {
7101
+ "name": "fast_screen_hs_chapter_exception",
7102
+ "attributes": [],
7103
+ "description": "The fast screen restricted the product in some regions, and the LLM classifier was skipped because the product's HS6 chapter is one where the fast screen verdict is reliable enough to accept as terminal."
7104
+ }, {
7105
+ "name": "fast_screen_active_mode",
7106
+ "attributes": [],
7107
+ "description": "The fast screen restricted the product in some regions, and the request was in active mode, which never consults the LLM classifier."
7108
+ }, {
7109
+ "name": "unserviceable_taxonomy",
7110
+ "attributes": [],
7111
+ "description": "The product was restricted by the unserviceable taxonomy category rule."
7112
+ }, {
7113
+ "name": "pending_classification",
7114
+ "attributes": [],
7115
+ "description": "An in_review result written while the product awaits the LLM classifier."
7116
+ }, {
7117
+ "name": "pending_agent_review",
7118
+ "attributes": [],
7119
+ "description": "An in_review result written after the classifier ran, while the product awaits agent or human review - either because it matched a positive keyword only, or because the classification was rejected or low confidence."
7120
+ }, {
7121
+ "name": "screen_failed",
7122
+ "attributes": [],
7123
+ "description": "The screen terminated in a failed state; error_code carries the reason."
7124
+ }, {
7125
+ "name": "classification",
7126
+ "attributes": [],
7127
+ "description": "The verdict came from re-screening on the LLM classifier's HS6 code."
7128
+ }, {
7129
+ "name": "agent_review",
7130
+ "attributes": [],
7131
+ "description": "An aggregated pending verification review decision was applied to the result."
7132
+ }, {
7133
+ "name": "staging_dropped",
7134
+ "attributes": [],
7135
+ "description": "The staged request was dropped at max wait without being classified."
7136
+ }],
7137
+ "attributes": [],
7138
+ "description": "The mechanism that produced a pre-onboarding sellability result, or that it is currently waiting on. Covers the fast-screen outcomes that are terminal without the LLM classifier, the two waiting states (pending classification and pending agent review), the classifier and agent review decisions themselves, screen failures, and staging drops."
7022
7139
  }, {
7023
7140
  "name": "sellability_internal_match_type",
7024
7141
  "plural": "sellability_internal_match_types",
@@ -10218,6 +10335,38 @@
10218
10335
  "type": "transaction_statement_deleted",
10219
10336
  "attributes": [],
10220
10337
  "discriminator_value": "transaction_statement_deleted"
10338
+ }, {
10339
+ "type": "bank_account_upserted",
10340
+ "attributes": [],
10341
+ "discriminator_value": "bank_account_upserted"
10342
+ }, {
10343
+ "type": "bank_account_deleted",
10344
+ "attributes": [],
10345
+ "discriminator_value": "bank_account_deleted"
10346
+ }, {
10347
+ "type": "posting_proof_upserted",
10348
+ "attributes": [],
10349
+ "discriminator_value": "posting_proof_upserted"
10350
+ }, {
10351
+ "type": "posting_proof_deleted",
10352
+ "attributes": [],
10353
+ "discriminator_value": "posting_proof_deleted"
10354
+ }, {
10355
+ "type": "bank_payment_promise_upserted",
10356
+ "attributes": [],
10357
+ "discriminator_value": "bank_payment_promise_upserted"
10358
+ }, {
10359
+ "type": "bank_payment_promise_deleted",
10360
+ "attributes": [],
10361
+ "discriminator_value": "bank_payment_promise_deleted"
10362
+ }, {
10363
+ "type": "account_payment_hold_upserted",
10364
+ "attributes": [],
10365
+ "discriminator_value": "account_payment_hold_upserted"
10366
+ }, {
10367
+ "type": "account_payment_hold_deleted",
10368
+ "attributes": [],
10369
+ "discriminator_value": "account_payment_hold_deleted"
10221
10370
  }, {
10222
10371
  "type": "daily_value_upserted",
10223
10372
  "attributes": [],
@@ -10402,14 +10551,6 @@
10402
10551
  "type": "channel_currency_setting_deleted",
10403
10552
  "attributes": [],
10404
10553
  "discriminator_value": "channel_currency_setting_deleted"
10405
- }, {
10406
- "type": "customs_description_import",
10407
- "attributes": [],
10408
- "discriminator_value": "customs_description_import"
10409
- }, {
10410
- "type": "customs_description_tariffs_import",
10411
- "attributes": [],
10412
- "discriminator_value": "customs_description_tariffs_import"
10413
10554
  }, {
10414
10555
  "type": "dispute_upserted",
10415
10556
  "attributes": [],
@@ -10706,6 +10847,14 @@
10706
10847
  "type": "outbound_shipping_cost_deleted",
10707
10848
  "attributes": [],
10708
10849
  "discriminator_value": "outbound_shipping_cost_deleted"
10850
+ }, {
10851
+ "type": "average_order_value_upserted",
10852
+ "attributes": [],
10853
+ "discriminator_value": "average_order_value_upserted"
10854
+ }, {
10855
+ "type": "average_order_value_deleted",
10856
+ "attributes": [],
10857
+ "discriminator_value": "average_order_value_deleted"
10709
10858
  }, {
10710
10859
  "type": "guaranteed_shipping_published_output_upserted",
10711
10860
  "attributes": [],
@@ -10746,10 +10895,6 @@
10746
10895
  "type": "dutied_items_export",
10747
10896
  "attributes": [],
10748
10897
  "discriminator_value": "dutied_items_export"
10749
- }, {
10750
- "type": "harmonization_phrase_suggestion_request_import",
10751
- "attributes": [],
10752
- "discriminator_value": "harmonization_phrase_suggestion_request_import"
10753
10898
  }, {
10754
10899
  "type": "harmonization_codes_import",
10755
10900
  "attributes": [],
@@ -11614,6 +11759,14 @@
11614
11759
  "type": "mahesh_item_deleted",
11615
11760
  "attributes": [],
11616
11761
  "discriminator_value": "mahesh_item_deleted"
11762
+ }, {
11763
+ "type": "john_strong_item_upserted",
11764
+ "attributes": [],
11765
+ "discriminator_value": "john_strong_item_upserted"
11766
+ }, {
11767
+ "type": "john_strong_item_deleted",
11768
+ "attributes": [],
11769
+ "discriminator_value": "john_strong_item_deleted"
11617
11770
  }, {
11618
11771
  "type": "tracking_processing_error_upserted",
11619
11772
  "attributes": [],
@@ -13104,6 +13257,31 @@
13104
13257
  }],
13105
13258
  "attributes": [],
13106
13259
  "interfaces": []
13260
+ }, {
13261
+ "name": "account_payment_hold_deleted",
13262
+ "plural": "account_payment_hold_deleteds",
13263
+ "fields": [{
13264
+ "name": "event_id",
13265
+ "type": "string",
13266
+ "required": true,
13267
+ "attributes": [],
13268
+ "annotations": []
13269
+ }, {
13270
+ "name": "timestamp",
13271
+ "type": "date-time-iso8601",
13272
+ "required": true,
13273
+ "attributes": [],
13274
+ "annotations": []
13275
+ }, {
13276
+ "name": "id",
13277
+ "type": "string",
13278
+ "required": true,
13279
+ "attributes": [],
13280
+ "annotations": [],
13281
+ "description": "Globally unique identifier"
13282
+ }],
13283
+ "attributes": [],
13284
+ "interfaces": []
13107
13285
  }, {
13108
13286
  "name": "account_payment_hold_form",
13109
13287
  "plural": "account_payment_hold_forms",
@@ -13122,6 +13300,30 @@
13122
13300
  }],
13123
13301
  "attributes": [],
13124
13302
  "interfaces": []
13303
+ }, {
13304
+ "name": "account_payment_hold_upserted",
13305
+ "plural": "account_payment_hold_upserteds",
13306
+ "fields": [{
13307
+ "name": "event_id",
13308
+ "type": "string",
13309
+ "required": true,
13310
+ "attributes": [],
13311
+ "annotations": []
13312
+ }, {
13313
+ "name": "timestamp",
13314
+ "type": "date-time-iso8601",
13315
+ "required": true,
13316
+ "attributes": [],
13317
+ "annotations": []
13318
+ }, {
13319
+ "name": "account_payment_hold",
13320
+ "type": "account_payment_hold",
13321
+ "required": true,
13322
+ "attributes": [],
13323
+ "annotations": []
13324
+ }],
13325
+ "attributes": [],
13326
+ "interfaces": []
13125
13327
  }, {
13126
13328
  "name": "account_processing_rate_form",
13127
13329
  "plural": "account_processing_rate_forms",
@@ -15947,6 +16149,55 @@
15947
16149
  }],
15948
16150
  "attributes": [],
15949
16151
  "interfaces": []
16152
+ }, {
16153
+ "name": "agent_review_detail",
16154
+ "plural": "agent_review_details",
16155
+ "fields": [{
16156
+ "name": "decision_id",
16157
+ "type": "string",
16158
+ "required": true,
16159
+ "attributes": [],
16160
+ "annotations": [],
16161
+ "description": "The restriction decision this review applies to."
16162
+ }, {
16163
+ "name": "ai_model",
16164
+ "type": "string",
16165
+ "required": true,
16166
+ "attributes": [],
16167
+ "annotations": [],
16168
+ "description": "The model that produced the verdict."
16169
+ }, {
16170
+ "name": "ai_decision",
16171
+ "type": "string",
16172
+ "required": true,
16173
+ "attributes": [],
16174
+ "annotations": [],
16175
+ "description": "The verdict the model returned."
16176
+ }, {
16177
+ "name": "ai_confidence",
16178
+ "type": "decimal",
16179
+ "required": true,
16180
+ "attributes": [],
16181
+ "annotations": [],
16182
+ "description": "The model's confidence, 0.00-1.00."
16183
+ }, {
16184
+ "name": "ai_reasoning",
16185
+ "type": "string",
16186
+ "required": true,
16187
+ "attributes": [],
16188
+ "annotations": [],
16189
+ "description": "The model's stated reason for the verdict."
16190
+ }, {
16191
+ "name": "reviewed_at",
16192
+ "type": "date-time-iso8601",
16193
+ "required": true,
16194
+ "attributes": [],
16195
+ "annotations": [],
16196
+ "description": "When the verdict was produced."
16197
+ }],
16198
+ "attributes": [],
16199
+ "interfaces": [],
16200
+ "description": "The AI review details for a single restriction decision, shown when a decision has been reviewed by the agent."
15950
16201
  }, {
15951
16202
  "name": "ai_review_batch_submitted",
15952
16203
  "plural": "ai_review_batch_submitteds",
@@ -16759,6 +17010,135 @@
16759
17010
  }],
16760
17011
  "attributes": [],
16761
17012
  "interfaces": []
17013
+ }, {
17014
+ "name": "average_order_value",
17015
+ "plural": "average_order_values",
17016
+ "fields": [{
17017
+ "name": "id",
17018
+ "type": "string",
17019
+ "required": true,
17020
+ "attributes": [],
17021
+ "annotations": [],
17022
+ "description": "Globally unique identifier"
17023
+ }, {
17024
+ "name": "channel_id",
17025
+ "type": "string",
17026
+ "required": true,
17027
+ "attributes": [],
17028
+ "annotations": []
17029
+ }, {
17030
+ "name": "organization_id",
17031
+ "type": "string",
17032
+ "required": true,
17033
+ "attributes": [],
17034
+ "annotations": []
17035
+ }, {
17036
+ "name": "amount",
17037
+ "type": "io.flow.common.v0.models.money",
17038
+ "required": true,
17039
+ "attributes": [],
17040
+ "annotations": [],
17041
+ "description": "What we estimate an average order is worth, in the organization's base currency"
17042
+ }, {
17043
+ "name": "updated_at",
17044
+ "type": "long",
17045
+ "required": true,
17046
+ "attributes": [],
17047
+ "annotations": [],
17048
+ "description": "Epoch millis for when this record's data last changed"
17049
+ }, {
17050
+ "name": "run_id",
17051
+ "type": "string",
17052
+ "required": true,
17053
+ "attributes": [],
17054
+ "annotations": [],
17055
+ "description": "ID of the forecaster run that produced this record"
17056
+ }, {
17057
+ "name": "model_version",
17058
+ "type": "string",
17059
+ "required": true,
17060
+ "attributes": [],
17061
+ "annotations": [],
17062
+ "description": "Which version of the model produced this run's output"
17063
+ }],
17064
+ "attributes": [],
17065
+ "interfaces": [],
17066
+ "description": "One run of the forecaster produces one of these per organization"
17067
+ }, {
17068
+ "name": "average_order_value_deleted",
17069
+ "plural": "average_order_value_deleteds",
17070
+ "fields": [{
17071
+ "name": "event_id",
17072
+ "type": "string",
17073
+ "required": true,
17074
+ "attributes": [],
17075
+ "annotations": []
17076
+ }, {
17077
+ "name": "timestamp",
17078
+ "type": "date-time-iso8601",
17079
+ "required": true,
17080
+ "attributes": [],
17081
+ "annotations": []
17082
+ }, {
17083
+ "name": "organization",
17084
+ "type": "string",
17085
+ "required": true,
17086
+ "attributes": [],
17087
+ "annotations": [],
17088
+ "description": "Refers to your organization's account identifier"
17089
+ }, {
17090
+ "name": "channel_id",
17091
+ "type": "string",
17092
+ "required": true,
17093
+ "attributes": [],
17094
+ "annotations": []
17095
+ }, {
17096
+ "name": "id",
17097
+ "type": "string",
17098
+ "required": true,
17099
+ "attributes": [],
17100
+ "annotations": [],
17101
+ "description": "Identifier of the deleted average order value record"
17102
+ }],
17103
+ "attributes": [],
17104
+ "interfaces": []
17105
+ }, {
17106
+ "name": "average_order_value_upserted",
17107
+ "plural": "average_order_value_upserteds",
17108
+ "fields": [{
17109
+ "name": "event_id",
17110
+ "type": "string",
17111
+ "required": true,
17112
+ "attributes": [],
17113
+ "annotations": []
17114
+ }, {
17115
+ "name": "timestamp",
17116
+ "type": "date-time-iso8601",
17117
+ "required": true,
17118
+ "attributes": [],
17119
+ "annotations": []
17120
+ }, {
17121
+ "name": "organization",
17122
+ "type": "string",
17123
+ "required": true,
17124
+ "attributes": [],
17125
+ "annotations": [],
17126
+ "description": "Refers to your organization's account identifier"
17127
+ }, {
17128
+ "name": "channel_id",
17129
+ "type": "string",
17130
+ "required": true,
17131
+ "attributes": [],
17132
+ "annotations": []
17133
+ }, {
17134
+ "name": "average_order_value",
17135
+ "type": "average_order_value",
17136
+ "required": true,
17137
+ "attributes": [],
17138
+ "annotations": []
17139
+ }],
17140
+ "attributes": [],
17141
+ "interfaces": []
16762
17142
  }, {
16763
17143
  "name": "b2b_fee_mor_tax_trigger_metadata",
16764
17144
  "plural": "b2b_fee_mor_tax_trigger_metadata",
@@ -17316,6 +17696,31 @@
17316
17696
  }],
17317
17697
  "attributes": [],
17318
17698
  "interfaces": []
17699
+ }, {
17700
+ "name": "bank_account_deleted",
17701
+ "plural": "bank_account_deleteds",
17702
+ "fields": [{
17703
+ "name": "event_id",
17704
+ "type": "string",
17705
+ "required": true,
17706
+ "attributes": [],
17707
+ "annotations": []
17708
+ }, {
17709
+ "name": "timestamp",
17710
+ "type": "date-time-iso8601",
17711
+ "required": true,
17712
+ "attributes": [],
17713
+ "annotations": []
17714
+ }, {
17715
+ "name": "id",
17716
+ "type": "string",
17717
+ "required": true,
17718
+ "attributes": [],
17719
+ "annotations": [],
17720
+ "description": "Globally unique identifier"
17721
+ }],
17722
+ "attributes": [],
17723
+ "interfaces": []
17319
17724
  }, {
17320
17725
  "name": "bank_account_reference",
17321
17726
  "plural": "bank_account_references",
@@ -17329,6 +17734,74 @@
17329
17734
  }],
17330
17735
  "attributes": [],
17331
17736
  "interfaces": []
17737
+ }, {
17738
+ "name": "bank_account_snapshot",
17739
+ "plural": "bank_account_snapshots",
17740
+ "fields": [{
17741
+ "name": "id",
17742
+ "type": "string",
17743
+ "required": true,
17744
+ "attributes": [],
17745
+ "annotations": [],
17746
+ "description": "Globally unique identifier"
17747
+ }, {
17748
+ "name": "source_id",
17749
+ "type": "string",
17750
+ "required": true,
17751
+ "attributes": [],
17752
+ "annotations": []
17753
+ }, {
17754
+ "name": "source_type",
17755
+ "type": "string",
17756
+ "required": true,
17757
+ "attributes": [],
17758
+ "annotations": []
17759
+ }, {
17760
+ "name": "key",
17761
+ "type": "string",
17762
+ "required": true,
17763
+ "attributes": [],
17764
+ "annotations": []
17765
+ }, {
17766
+ "name": "created_at",
17767
+ "type": "date-time-iso8601",
17768
+ "required": true,
17769
+ "attributes": [],
17770
+ "annotations": []
17771
+ }, {
17772
+ "name": "updated_at",
17773
+ "type": "date-time-iso8601",
17774
+ "required": true,
17775
+ "attributes": [],
17776
+ "annotations": []
17777
+ }],
17778
+ "attributes": [],
17779
+ "interfaces": [],
17780
+ "description": "State of a merchant/channel bank account at a change point, mirrored to Athena for daily metrics (FIN-4843). Named _snapshot to avoid a record-name collision with io.flow.billing.debug.v0.models.bank_account in the aggregate api-build. Insert vs update is derived downstream from created_at == updated_at (insert) vs updated_at > created_at (update). Carries no account digits (last4) or cipher — only the fields the metrics need."
17781
+ }, {
17782
+ "name": "bank_account_upserted",
17783
+ "plural": "bank_account_upserteds",
17784
+ "fields": [{
17785
+ "name": "event_id",
17786
+ "type": "string",
17787
+ "required": true,
17788
+ "attributes": [],
17789
+ "annotations": []
17790
+ }, {
17791
+ "name": "timestamp",
17792
+ "type": "date-time-iso8601",
17793
+ "required": true,
17794
+ "attributes": [],
17795
+ "annotations": []
17796
+ }, {
17797
+ "name": "bank_account",
17798
+ "type": "bank_account_snapshot",
17799
+ "required": true,
17800
+ "attributes": [],
17801
+ "annotations": []
17802
+ }],
17803
+ "attributes": [],
17804
+ "interfaces": []
17332
17805
  }, {
17333
17806
  "name": "bank_payment",
17334
17807
  "plural": "bank_payments",
@@ -17464,7 +17937,7 @@
17464
17937
  "required": true,
17465
17938
  "attributes": [],
17466
17939
  "annotations": [],
17467
- "description": "True once the payment has left Global-e - status is sent or paid"
17940
+ "description": "True once the payout has reached the terminal status for its statement version - sent for globale (V1), paid for third_party (V2). False otherwise, including a globale payout at paid, a third_party payout still at sent, scheduled or failed, and a payout whose statement version cannot be determined."
17468
17941
  }, {
17469
17942
  "name": "amount",
17470
17943
  "type": "decimal",
@@ -17655,6 +18128,99 @@
17655
18128
  }],
17656
18129
  "attributes": [],
17657
18130
  "interfaces": []
18131
+ }, {
18132
+ "name": "bank_payment_promise",
18133
+ "plural": "bank_payment_promises",
18134
+ "fields": [{
18135
+ "name": "id",
18136
+ "type": "string",
18137
+ "required": true,
18138
+ "attributes": [],
18139
+ "annotations": [],
18140
+ "description": "Globally unique identifier"
18141
+ }, {
18142
+ "name": "account_id",
18143
+ "type": "string",
18144
+ "required": true,
18145
+ "attributes": [],
18146
+ "annotations": []
18147
+ }, {
18148
+ "name": "statement_id",
18149
+ "type": "string",
18150
+ "required": true,
18151
+ "attributes": [],
18152
+ "annotations": []
18153
+ }, {
18154
+ "name": "transfer_transaction_id",
18155
+ "type": "string",
18156
+ "required": true,
18157
+ "attributes": [],
18158
+ "annotations": []
18159
+ }, {
18160
+ "name": "completed_at",
18161
+ "type": "date-time-iso8601",
18162
+ "required": false,
18163
+ "attributes": [],
18164
+ "annotations": []
18165
+ }, {
18166
+ "name": "created_at",
18167
+ "type": "date-time-iso8601",
18168
+ "required": true,
18169
+ "attributes": [],
18170
+ "annotations": []
18171
+ }],
18172
+ "attributes": [],
18173
+ "interfaces": [],
18174
+ "description": "A promise to move funds for an account, mirrored to Athena for daily metrics (FIN-4843). Pending = completed_at is null; transfer_transaction_id joins to main_transaction for the promised amount."
18175
+ }, {
18176
+ "name": "bank_payment_promise_deleted",
18177
+ "plural": "bank_payment_promise_deleteds",
18178
+ "fields": [{
18179
+ "name": "event_id",
18180
+ "type": "string",
18181
+ "required": true,
18182
+ "attributes": [],
18183
+ "annotations": []
18184
+ }, {
18185
+ "name": "timestamp",
18186
+ "type": "date-time-iso8601",
18187
+ "required": true,
18188
+ "attributes": [],
18189
+ "annotations": []
18190
+ }, {
18191
+ "name": "id",
18192
+ "type": "string",
18193
+ "required": true,
18194
+ "attributes": [],
18195
+ "annotations": [],
18196
+ "description": "Globally unique identifier"
18197
+ }],
18198
+ "attributes": [],
18199
+ "interfaces": []
18200
+ }, {
18201
+ "name": "bank_payment_promise_upserted",
18202
+ "plural": "bank_payment_promise_upserteds",
18203
+ "fields": [{
18204
+ "name": "event_id",
18205
+ "type": "string",
18206
+ "required": true,
18207
+ "attributes": [],
18208
+ "annotations": []
18209
+ }, {
18210
+ "name": "timestamp",
18211
+ "type": "date-time-iso8601",
18212
+ "required": true,
18213
+ "attributes": [],
18214
+ "annotations": []
18215
+ }, {
18216
+ "name": "bank_payment_promise",
18217
+ "type": "bank_payment_promise",
18218
+ "required": true,
18219
+ "attributes": [],
18220
+ "annotations": []
18221
+ }],
18222
+ "attributes": [],
18223
+ "interfaces": []
17658
18224
  }, {
17659
18225
  "name": "bank_payment_reference",
17660
18226
  "plural": "bank_payment_references",
@@ -17760,15 +18326,39 @@
17760
18326
  "name": "bank_payment_status_processed_import_form",
17761
18327
  "plural": "bank_payment_status_processed_import_forms",
17762
18328
  "fields": [{
17763
- "name": "payment_ids",
17764
- "type": "[string]",
18329
+ "name": "forms",
18330
+ "type": "[bank_payment_status_processed_single_form]",
17765
18331
  "required": true,
17766
18332
  "attributes": [],
17767
18333
  "annotations": []
17768
18334
  }],
17769
18335
  "attributes": [],
17770
18336
  "interfaces": [],
17771
- "description": "Simpler wrapper to mark 1 or more payments as processed. 'processed' is resolved per payment from the order payment source of its statement: globale (V1) resolves to sent, third_party (V2) resolves to paid. This lets FinOps mark a payout processed without knowing which statement version it belongs to. It is never stored as a status."
18337
+ "description": "Marks one or more payments processed or failed. Codes are resolved to stored bank_payment_status_code values before the import is persisted, so 'processed' never reaches storage."
18338
+ }, {
18339
+ "name": "bank_payment_status_processed_single_form",
18340
+ "plural": "bank_payment_status_processed_single_forms",
18341
+ "fields": [{
18342
+ "name": "payment_id",
18343
+ "type": "string",
18344
+ "required": true,
18345
+ "attributes": [],
18346
+ "annotations": []
18347
+ }, {
18348
+ "name": "code",
18349
+ "type": "requested_bank_payment_status_code",
18350
+ "required": true,
18351
+ "attributes": [],
18352
+ "annotations": []
18353
+ }, {
18354
+ "name": "failure_reason",
18355
+ "type": "io.flow.billing.v0.enums.payout_status_failure_code",
18356
+ "required": false,
18357
+ "attributes": [],
18358
+ "annotations": []
18359
+ }],
18360
+ "attributes": [],
18361
+ "interfaces": []
17772
18362
  }, {
17773
18363
  "name": "bank_payment_status_sent_import_form",
17774
18364
  "plural": "bank_payment_status_sent_import_forms",
@@ -20539,6 +21129,43 @@
20539
21129
  }],
20540
21130
  "attributes": [],
20541
21131
  "interfaces": []
21132
+ }, {
21133
+ "name": "carrier_estimate",
21134
+ "plural": "carrier_estimates",
21135
+ "fields": [{
21136
+ "name": "carrier_service_id",
21137
+ "type": "string",
21138
+ "required": true,
21139
+ "attributes": [],
21140
+ "annotations": [],
21141
+ "description": "The carrier service this estimate is for, must be a valid ID from reference data. See: https://api.flow.io/reference/carrier/services"
21142
+ }, {
21143
+ "name": "cost",
21144
+ "type": "io.flow.common.v0.models.money",
21145
+ "required": true,
21146
+ "attributes": [],
21147
+ "annotations": [],
21148
+ "description": "What we estimate an average order on this lane costs to ship, in the organization's base currency"
21149
+ }, {
21150
+ "name": "min_delivery_days",
21151
+ "type": "integer",
21152
+ "required": false,
21153
+ "attributes": [],
21154
+ "annotations": [],
21155
+ "description": "Fastest delivery time the carrier quotes, in days",
21156
+ "minimum": 0
21157
+ }, {
21158
+ "name": "max_delivery_days",
21159
+ "type": "integer",
21160
+ "required": false,
21161
+ "attributes": [],
21162
+ "annotations": [],
21163
+ "description": "Slowest delivery time the carrier quotes, in days",
21164
+ "minimum": 0
21165
+ }],
21166
+ "attributes": [],
21167
+ "interfaces": [],
21168
+ "description": "The forecasted shipping cost for one carrier service on a lane, plus the carrier's quoted delivery window when the rate card has one"
20542
21169
  }, {
20543
21170
  "name": "carrier_file",
20544
21171
  "plural": "carrier_files",
@@ -22409,6 +23036,13 @@
22409
23036
  "name": "channel_order_tax_and_duty_inclusivity_setting",
22410
23037
  "plural": "channel_order_tax_and_duty_inclusivity_settings",
22411
23038
  "fields": [{
23039
+ "name": "id",
23040
+ "type": "string",
23041
+ "required": true,
23042
+ "attributes": [],
23043
+ "annotations": [],
23044
+ "description": "Globally unique identifier"
23045
+ }, {
22412
23046
  "name": "organization",
22413
23047
  "type": "io.flow.common.v0.models.organization_reference",
22414
23048
  "required": true,
@@ -26380,51 +27014,6 @@
26380
27014
  }],
26381
27015
  "attributes": [],
26382
27016
  "interfaces": ["internal_rate"]
26383
- }, {
26384
- "name": "customs_description_import",
26385
- "plural": "customs_description_imports",
26386
- "fields": [{
26387
- "name": "event_id",
26388
- "type": "string",
26389
- "required": true,
26390
- "attributes": [],
26391
- "annotations": []
26392
- }, {
26393
- "name": "timestamp",
26394
- "type": "date-time-iso8601",
26395
- "required": true,
26396
- "attributes": [],
26397
- "annotations": [],
26398
- "description": "The date/time of the request"
26399
- }, {
26400
- "name": "organization",
26401
- "type": "string",
26402
- "required": true,
26403
- "attributes": [],
26404
- "annotations": [],
26405
- "description": "Refers to your organization's account identifier"
26406
- }, {
26407
- "name": "import_id",
26408
- "type": "string",
26409
- "required": true,
26410
- "attributes": [],
26411
- "annotations": []
26412
- }, {
26413
- "name": "source_url",
26414
- "type": "string",
26415
- "required": true,
26416
- "attributes": [],
26417
- "annotations": []
26418
- }, {
26419
- "name": "filename",
26420
- "type": "string",
26421
- "required": false,
26422
- "attributes": [],
26423
- "annotations": []
26424
- }],
26425
- "attributes": [],
26426
- "interfaces": [],
26427
- "description": "Defines the data needed to process a customs description import."
26428
27017
  }, {
26429
27018
  "name": "customs_description_statistics",
26430
27019
  "plural": "customs_description_statisticses",
@@ -26578,51 +27167,6 @@
26578
27167
  "attributes": [],
26579
27168
  "interfaces": [],
26580
27169
  "description": "Form to set harmonization information related to a specific customs_description."
26581
- }, {
26582
- "name": "customs_description_tariffs_import",
26583
- "plural": "customs_description_tariffs_imports",
26584
- "fields": [{
26585
- "name": "event_id",
26586
- "type": "string",
26587
- "required": true,
26588
- "attributes": [],
26589
- "annotations": []
26590
- }, {
26591
- "name": "timestamp",
26592
- "type": "date-time-iso8601",
26593
- "required": true,
26594
- "attributes": [],
26595
- "annotations": [],
26596
- "description": "The date/time of the request"
26597
- }, {
26598
- "name": "organization",
26599
- "type": "string",
26600
- "required": true,
26601
- "attributes": [],
26602
- "annotations": [],
26603
- "description": "Refers to your organization's account identifier"
26604
- }, {
26605
- "name": "import_id",
26606
- "type": "string",
26607
- "required": true,
26608
- "attributes": [],
26609
- "annotations": []
26610
- }, {
26611
- "name": "source_url",
26612
- "type": "string",
26613
- "required": true,
26614
- "attributes": [],
26615
- "annotations": []
26616
- }, {
26617
- "name": "filename",
26618
- "type": "string",
26619
- "required": false,
26620
- "attributes": [],
26621
- "annotations": []
26622
- }],
26623
- "attributes": [],
26624
- "interfaces": [],
26625
- "description": "Import / create customs descriptions (phrases) and optionally corresponding tariffs."
26626
27170
  }, {
26627
27171
  "name": "customs_details",
26628
27172
  "plural": "customs_details",
@@ -36056,6 +36600,93 @@
36056
36600
  }],
36057
36601
  "attributes": [],
36058
36602
  "interfaces": []
36603
+ }, {
36604
+ "name": "guaranteed_shipping_publication",
36605
+ "plural": "guaranteed_shipping_publications",
36606
+ "fields": [{
36607
+ "name": "channel_id",
36608
+ "type": "string",
36609
+ "required": true,
36610
+ "attributes": [],
36611
+ "annotations": []
36612
+ }, {
36613
+ "name": "organization_id",
36614
+ "type": "string",
36615
+ "required": true,
36616
+ "attributes": [],
36617
+ "annotations": []
36618
+ }, {
36619
+ "name": "destination_country",
36620
+ "type": "string",
36621
+ "required": true,
36622
+ "attributes": [],
36623
+ "annotations": [],
36624
+ "description": "ISO 3166-1 alpha-3 destination country"
36625
+ }, {
36626
+ "name": "inputs_updated_at",
36627
+ "type": "string",
36628
+ "required": true,
36629
+ "attributes": [],
36630
+ "annotations": []
36631
+ }, {
36632
+ "name": "status",
36633
+ "type": "guaranteed_shipping_publication_status",
36634
+ "required": true,
36635
+ "attributes": [],
36636
+ "annotations": []
36637
+ }],
36638
+ "attributes": [],
36639
+ "interfaces": [],
36640
+ "description": "The outcome of publishing one lane."
36641
+ }, {
36642
+ "name": "guaranteed_shipping_publication_form",
36643
+ "plural": "guaranteed_shipping_publication_forms",
36644
+ "fields": [{
36645
+ "name": "lanes",
36646
+ "type": "[guaranteed_shipping_publication_lane_form]",
36647
+ "required": true,
36648
+ "attributes": [],
36649
+ "annotations": [],
36650
+ "minimum": 1,
36651
+ "maximum": 5000
36652
+ }],
36653
+ "attributes": [],
36654
+ "interfaces": [],
36655
+ "description": "The calibrated output versions to publish, exactly as reviewed."
36656
+ }, {
36657
+ "name": "guaranteed_shipping_publication_lane_form",
36658
+ "plural": "guaranteed_shipping_publication_lane_forms",
36659
+ "fields": [{
36660
+ "name": "channel_id",
36661
+ "type": "string",
36662
+ "required": true,
36663
+ "attributes": [],
36664
+ "annotations": []
36665
+ }, {
36666
+ "name": "organization_id",
36667
+ "type": "string",
36668
+ "required": true,
36669
+ "attributes": [],
36670
+ "annotations": []
36671
+ }, {
36672
+ "name": "destination_country",
36673
+ "type": "string",
36674
+ "required": true,
36675
+ "attributes": [],
36676
+ "annotations": [],
36677
+ "description": "The ISO 3166-1 alpha-3 country code of the lane to publish. Case insensitive. See https://api.flow.io/reference/countries",
36678
+ "example": "IRL"
36679
+ }, {
36680
+ "name": "inputs_updated_at",
36681
+ "type": "string",
36682
+ "required": true,
36683
+ "attributes": [],
36684
+ "annotations": [],
36685
+ "description": "Identifies the calibrated version of the lane to publish: the source timestamp of every input it was built from, joined behind a version tag",
36686
+ "example": "v1:1783878627801:1786284814924:0:0"
36687
+ }],
36688
+ "attributes": [],
36689
+ "interfaces": []
36059
36690
  }, {
36060
36691
  "name": "guaranteed_shipping_published_output",
36061
36692
  "plural": "guaranteed_shipping_published_outputs",
@@ -36101,12 +36732,40 @@
36101
36732
  "annotations": [],
36102
36733
  "description": "Flat-rate entries for this destination"
36103
36734
  }, {
36104
- "name": "inputs_updated_at",
36735
+ "name": "coefficients_source_updated_at",
36736
+ "type": "long",
36737
+ "required": true,
36738
+ "attributes": [],
36739
+ "annotations": [],
36740
+ "description": "Epoch millis the shipping settings behind this output last changed"
36741
+ }, {
36742
+ "name": "outbound_shipping_cost_source_updated_at",
36743
+ "type": "long",
36744
+ "required": true,
36745
+ "attributes": [],
36746
+ "annotations": [],
36747
+ "description": "Epoch millis the outbound shipping costs behind this output last changed"
36748
+ }, {
36749
+ "name": "average_order_value_source_updated_at",
36105
36750
  "type": "long",
36106
36751
  "required": true,
36107
36752
  "attributes": [],
36108
36753
  "annotations": [],
36109
- "description": "Epoch timestamp of the input that triggered this output"
36754
+ "description": "Epoch millis the average order value behind this output last changed"
36755
+ }, {
36756
+ "name": "target_flat_rates_source_updated_at",
36757
+ "type": "long",
36758
+ "required": true,
36759
+ "attributes": [],
36760
+ "annotations": [],
36761
+ "description": "Epoch millis the target flat rates behind this output last changed"
36762
+ }, {
36763
+ "name": "published_at",
36764
+ "type": "long",
36765
+ "required": false,
36766
+ "attributes": [],
36767
+ "annotations": [],
36768
+ "description": "Epoch millis this row was published"
36110
36769
  }],
36111
36770
  "attributes": [],
36112
36771
  "interfaces": []
@@ -36726,51 +37385,6 @@
36726
37385
  }],
36727
37386
  "attributes": [],
36728
37387
  "interfaces": []
36729
- }, {
36730
- "name": "harmonization_phrase_suggestion_request_import",
36731
- "plural": "harmonization_phrase_suggestion_request_imports",
36732
- "fields": [{
36733
- "name": "event_id",
36734
- "type": "string",
36735
- "required": true,
36736
- "attributes": [],
36737
- "annotations": []
36738
- }, {
36739
- "name": "timestamp",
36740
- "type": "date-time-iso8601",
36741
- "required": true,
36742
- "attributes": [],
36743
- "annotations": [],
36744
- "description": "The date/time of the request"
36745
- }, {
36746
- "name": "organization",
36747
- "type": "string",
36748
- "required": true,
36749
- "attributes": [],
36750
- "annotations": [],
36751
- "description": "Refers to your organization's account identifier"
36752
- }, {
36753
- "name": "import_id",
36754
- "type": "string",
36755
- "required": true,
36756
- "attributes": [],
36757
- "annotations": []
36758
- }, {
36759
- "name": "source_url",
36760
- "type": "string",
36761
- "required": true,
36762
- "attributes": [],
36763
- "annotations": []
36764
- }, {
36765
- "name": "filename",
36766
- "type": "string",
36767
- "required": false,
36768
- "attributes": [],
36769
- "annotations": []
36770
- }],
36771
- "attributes": [],
36772
- "interfaces": [],
36773
- "description": "Defines the data needed to process a harmonization phrase suggestion request import."
36774
37388
  }, {
36775
37389
  "name": "harmonization_threshold",
36776
37390
  "plural": "harmonization_thresholds",
@@ -39608,6 +40222,31 @@
39608
40222
  }],
39609
40223
  "attributes": [],
39610
40224
  "interfaces": []
40225
+ }, {
40226
+ "name": "john_strong_item_deleted",
40227
+ "plural": "john_strong_item_deleteds",
40228
+ "fields": [{
40229
+ "name": "event_id",
40230
+ "type": "string",
40231
+ "required": true,
40232
+ "attributes": [],
40233
+ "annotations": []
40234
+ }, {
40235
+ "name": "timestamp",
40236
+ "type": "date-time-iso8601",
40237
+ "required": true,
40238
+ "attributes": [],
40239
+ "annotations": []
40240
+ }, {
40241
+ "name": "id",
40242
+ "type": "string",
40243
+ "required": true,
40244
+ "attributes": [],
40245
+ "annotations": [],
40246
+ "description": "Globally unique identifier"
40247
+ }],
40248
+ "attributes": [],
40249
+ "interfaces": []
39611
40250
  }, {
39612
40251
  "name": "john_strong_item_form",
39613
40252
  "plural": "john_strong_item_forms",
@@ -39645,6 +40284,30 @@
39645
40284
  }],
39646
40285
  "attributes": [],
39647
40286
  "interfaces": []
40287
+ }, {
40288
+ "name": "john_strong_item_upserted",
40289
+ "plural": "john_strong_item_upserteds",
40290
+ "fields": [{
40291
+ "name": "event_id",
40292
+ "type": "string",
40293
+ "required": true,
40294
+ "attributes": [],
40295
+ "annotations": []
40296
+ }, {
40297
+ "name": "timestamp",
40298
+ "type": "date-time-iso8601",
40299
+ "required": true,
40300
+ "attributes": [],
40301
+ "annotations": []
40302
+ }, {
40303
+ "name": "item",
40304
+ "type": "john_strong_item",
40305
+ "required": true,
40306
+ "attributes": [],
40307
+ "annotations": []
40308
+ }],
40309
+ "attributes": [],
40310
+ "interfaces": []
39648
40311
  }, {
39649
40312
  "name": "journal",
39650
40313
  "plural": "journals",
@@ -48374,46 +49037,40 @@
48374
49037
  "required": true,
48375
49038
  "attributes": [],
48376
49039
  "annotations": [],
48377
- "description": "ISO 3166-1 alpha-3 destination country in uppercase, or the reserved lowercase 'row' token for the Rest-of-World fallback record"
49040
+ "description": "The destination country as an uppercase ISO 3166-1 alpha-3 code, or the lowercase 'row' token when this is the Rest-of-World fallback record"
48378
49041
  }, {
48379
- "name": "carrier_service_id",
48380
- "type": "string",
49042
+ "name": "carrier_estimates",
49043
+ "type": "[carrier_estimate]",
48381
49044
  "required": true,
48382
49045
  "attributes": [],
48383
49046
  "annotations": [],
48384
- "description": "Valid carrier service ID defined in reference data. See: https://api.flow.io/reference/carrier/services"
48385
- }, {
48386
- "name": "cost",
48387
- "type": "io.flow.common.v0.models.money",
48388
- "required": true,
48389
- "attributes": [],
48390
- "annotations": [],
48391
- "description": "Estimated outbound shipping cost for an average order on this lane, in the organization's base currency"
49047
+ "description": "One entry per carrier service the model priced for this lane",
49048
+ "minimum": 1
48392
49049
  }, {
48393
49050
  "name": "updated_at",
48394
49051
  "type": "long",
48395
49052
  "required": true,
48396
49053
  "attributes": [],
48397
49054
  "annotations": [],
48398
- "description": "Source-of-change time in epoch millis; value-gated so it means last-changed"
49055
+ "description": "Epoch millis for when this record's data last changed"
48399
49056
  }, {
48400
49057
  "name": "run_id",
48401
49058
  "type": "string",
48402
49059
  "required": true,
48403
49060
  "attributes": [],
48404
49061
  "annotations": [],
48405
- "description": "The forecaster run that produced this output; matches the run's S3 artifact prefix"
49062
+ "description": "ID of the forecaster run that produced this record"
48406
49063
  }, {
48407
49064
  "name": "model_version",
48408
49065
  "type": "string",
48409
49066
  "required": true,
48410
49067
  "attributes": [],
48411
49068
  "annotations": [],
48412
- "description": "Version of the model behind this run"
49069
+ "description": "Which version of the model produced this run's output"
48413
49070
  }],
48414
49071
  "attributes": [],
48415
49072
  "interfaces": [],
48416
- "description": "Outbound shipping cost forecaster output for a run: the outbound shipping costs per org, lane and carrier"
49073
+ "description": "One run of the outbound shipping cost forecaster produces one of these per organization and lane"
48417
49074
  }, {
48418
49075
  "name": "outbound_shipping_cost_deleted",
48419
49076
  "plural": "outbound_shipping_cost_deleteds",
@@ -50951,54 +51608,6 @@
50951
51608
  "attributes": [],
50952
51609
  "interfaces": ["accounting_record"],
50953
51610
  "description": "Represents a submitted order that has not been fully fulfilled."
50954
- }, {
50955
- "name": "phrase_classified",
50956
- "plural": "phrase_classifieds",
50957
- "fields": [{
50958
- "name": "event_id",
50959
- "type": "string",
50960
- "required": true,
50961
- "attributes": [],
50962
- "annotations": []
50963
- }, {
50964
- "name": "timestamp",
50965
- "type": "date-time-iso8601",
50966
- "required": true,
50967
- "attributes": [],
50968
- "annotations": []
50969
- }, {
50970
- "name": "phrase_id",
50971
- "type": "string",
50972
- "required": true,
50973
- "attributes": [],
50974
- "annotations": []
50975
- }],
50976
- "attributes": [],
50977
- "interfaces": []
50978
- }, {
50979
- "name": "phrase_propagated",
50980
- "plural": "phrase_propagateds",
50981
- "fields": [{
50982
- "name": "event_id",
50983
- "type": "string",
50984
- "required": true,
50985
- "attributes": [],
50986
- "annotations": []
50987
- }, {
50988
- "name": "timestamp",
50989
- "type": "date-time-iso8601",
50990
- "required": true,
50991
- "attributes": [],
50992
- "annotations": []
50993
- }, {
50994
- "name": "phrase_id",
50995
- "type": "string",
50996
- "required": true,
50997
- "attributes": [],
50998
- "annotations": []
50999
- }],
51000
- "attributes": [],
51001
- "interfaces": []
51002
51611
  }, {
51003
51612
  "name": "platform_fee_change",
51004
51613
  "plural": "platform_fee_changes",
@@ -51188,6 +51797,105 @@
51188
51797
  }],
51189
51798
  "attributes": [],
51190
51799
  "interfaces": []
51800
+ }, {
51801
+ "name": "posting_proof",
51802
+ "plural": "posting_proofs",
51803
+ "fields": [{
51804
+ "name": "id",
51805
+ "type": "string",
51806
+ "required": true,
51807
+ "attributes": [],
51808
+ "annotations": [],
51809
+ "description": "Globally unique identifier"
51810
+ }, {
51811
+ "name": "organization_id",
51812
+ "type": "string",
51813
+ "required": true,
51814
+ "attributes": [],
51815
+ "annotations": []
51816
+ }, {
51817
+ "name": "order_number",
51818
+ "type": "string",
51819
+ "required": true,
51820
+ "attributes": [],
51821
+ "annotations": []
51822
+ }, {
51823
+ "name": "sequence_number",
51824
+ "type": "long",
51825
+ "required": true,
51826
+ "attributes": [],
51827
+ "annotations": []
51828
+ }, {
51829
+ "name": "proof_key",
51830
+ "type": "string",
51831
+ "required": true,
51832
+ "attributes": [],
51833
+ "annotations": []
51834
+ }, {
51835
+ "name": "proof_discriminator",
51836
+ "type": "string",
51837
+ "required": true,
51838
+ "attributes": [],
51839
+ "annotations": []
51840
+ }, {
51841
+ "name": "created_at",
51842
+ "type": "date-time-iso8601",
51843
+ "required": true,
51844
+ "attributes": [],
51845
+ "annotations": []
51846
+ }],
51847
+ "attributes": [],
51848
+ "interfaces": [],
51849
+ "description": "A fulfillment posting proof, mirrored to Athena for daily metrics (FIN-4843). proof_discriminator is the proof-type discriminator extracted from the posting_proofs.proof json."
51850
+ }, {
51851
+ "name": "posting_proof_deleted",
51852
+ "plural": "posting_proof_deleteds",
51853
+ "fields": [{
51854
+ "name": "event_id",
51855
+ "type": "string",
51856
+ "required": true,
51857
+ "attributes": [],
51858
+ "annotations": []
51859
+ }, {
51860
+ "name": "timestamp",
51861
+ "type": "date-time-iso8601",
51862
+ "required": true,
51863
+ "attributes": [],
51864
+ "annotations": []
51865
+ }, {
51866
+ "name": "id",
51867
+ "type": "string",
51868
+ "required": true,
51869
+ "attributes": [],
51870
+ "annotations": [],
51871
+ "description": "Globally unique identifier"
51872
+ }],
51873
+ "attributes": [],
51874
+ "interfaces": []
51875
+ }, {
51876
+ "name": "posting_proof_upserted",
51877
+ "plural": "posting_proof_upserteds",
51878
+ "fields": [{
51879
+ "name": "event_id",
51880
+ "type": "string",
51881
+ "required": true,
51882
+ "attributes": [],
51883
+ "annotations": []
51884
+ }, {
51885
+ "name": "timestamp",
51886
+ "type": "date-time-iso8601",
51887
+ "required": true,
51888
+ "attributes": [],
51889
+ "annotations": []
51890
+ }, {
51891
+ "name": "posting_proof",
51892
+ "type": "posting_proof",
51893
+ "required": true,
51894
+ "attributes": [],
51895
+ "annotations": []
51896
+ }],
51897
+ "attributes": [],
51898
+ "interfaces": []
51191
51899
  }, {
51192
51900
  "name": "prediction",
51193
51901
  "plural": "predictions",
@@ -51745,6 +52453,20 @@
51745
52453
  "attributes": [],
51746
52454
  "annotations": [],
51747
52455
  "description": "Screening mode of the originating request. Optional for backward compatibility with rows persisted before the field was introduced."
52456
+ }, {
52457
+ "name": "decision_source",
52458
+ "type": "sellability_decision_source",
52459
+ "required": false,
52460
+ "attributes": [],
52461
+ "annotations": [],
52462
+ "description": "The mechanism that produced this result. Optional for backward compatibility with rows persisted before the field was introduced."
52463
+ }, {
52464
+ "name": "rule_matches",
52465
+ "type": "[sellability_rule_match]",
52466
+ "required": false,
52467
+ "attributes": [],
52468
+ "annotations": [],
52469
+ "description": "The rules that matched during screening, identified by reason code, each with the type(s) of match that produced it. Distinguishes per rule whether it would require review (matched on a positive keyword only) or restricts on its own (auto_restricted), which `rule_ids` alone cannot express. Optional for backward compatibility with rows persisted before the field was introduced."
51748
52470
  }, {
51749
52471
  "name": "created_at",
51750
52472
  "type": "date-time-iso8601",
@@ -57572,6 +58294,34 @@
57572
58294
  "attributes": [],
57573
58295
  "annotations": [],
57574
58296
  "description": "The user who most recently updated this review."
58297
+ }, {
58298
+ "name": "agent_review_status",
58299
+ "type": "string",
58300
+ "required": false,
58301
+ "attributes": [],
58302
+ "annotations": [],
58303
+ "description": "The AI review outcome recorded on this decision, or the failure reason when the review did not produce a verdict."
58304
+ }, {
58305
+ "name": "agent_reviewed_at",
58306
+ "type": "date-time-iso8601",
58307
+ "required": false,
58308
+ "attributes": [],
58309
+ "annotations": [],
58310
+ "description": "When the AI review outcome was recorded."
58311
+ }, {
58312
+ "name": "agent_confidence",
58313
+ "type": "decimal",
58314
+ "required": false,
58315
+ "attributes": [],
58316
+ "annotations": [],
58317
+ "description": "The AI review confidence, 0.00-1.00."
58318
+ }, {
58319
+ "name": "agent_confidence_threshold",
58320
+ "type": "decimal",
58321
+ "required": false,
58322
+ "attributes": [],
58323
+ "annotations": [],
58324
+ "description": "The confidence threshold in force when the AI reviewed this decision. A confidence below it means the decision was escalated for human review."
57575
58325
  }],
57576
58326
  "attributes": [],
57577
58327
  "interfaces": [],
@@ -57816,6 +58566,13 @@
57816
58566
  "attributes": [],
57817
58567
  "annotations": [],
57818
58568
  "maximum": 100
58569
+ }, {
58570
+ "name": "escalated_only",
58571
+ "type": "boolean",
58572
+ "required": false,
58573
+ "attributes": [],
58574
+ "annotations": [],
58575
+ "description": "If true, only return pending verifications whose AI review confidence fell below the threshold."
57819
58576
  }],
57820
58577
  "attributes": [],
57821
58578
  "interfaces": [],
@@ -57877,6 +58634,34 @@
57877
58634
  "attributes": [],
57878
58635
  "annotations": [],
57879
58636
  "description": "Date that the restriction review began"
58637
+ }, {
58638
+ "name": "agent_review_status",
58639
+ "type": "string",
58640
+ "required": false,
58641
+ "attributes": [],
58642
+ "annotations": [],
58643
+ "description": "The AI review outcome recorded on this decision, or the failure reason when the review did not produce a verdict."
58644
+ }, {
58645
+ "name": "agent_reviewed_at",
58646
+ "type": "date-time-iso8601",
58647
+ "required": false,
58648
+ "attributes": [],
58649
+ "annotations": [],
58650
+ "description": "When the AI review outcome was recorded."
58651
+ }, {
58652
+ "name": "agent_confidence",
58653
+ "type": "decimal",
58654
+ "required": false,
58655
+ "attributes": [],
58656
+ "annotations": [],
58657
+ "description": "The AI review confidence, 0.00-1.00."
58658
+ }, {
58659
+ "name": "agent_confidence_threshold",
58660
+ "type": "decimal",
58661
+ "required": false,
58662
+ "attributes": [],
58663
+ "annotations": [],
58664
+ "description": "The confidence threshold in force when the AI reviewed this decision. A confidence below it means the decision was escalated for human review."
57880
58665
  }, {
57881
58666
  "name": "updated_at",
57882
58667
  "type": "date-time-iso8601",
@@ -59854,6 +60639,13 @@
59854
60639
  "attributes": [],
59855
60640
  "annotations": [],
59856
60641
  "description": "Number of products with false restricts by Fast Sellability of the day"
60642
+ }, {
60643
+ "name": "num_unserviceable_taxonomy_decisions_created",
60644
+ "type": "decimal",
60645
+ "required": false,
60646
+ "attributes": [],
60647
+ "annotations": [],
60648
+ "description": "Number of new unserviceable-taxonomy decisions created in the reporting period"
59857
60649
  }],
59858
60650
  "attributes": [],
59859
60651
  "interfaces": []
@@ -61342,6 +62134,27 @@
61342
62134
  }],
61343
62135
  "attributes": [],
61344
62136
  "interfaces": []
62137
+ }, {
62138
+ "name": "sellability_rule_match",
62139
+ "plural": "sellability_rule_matches",
62140
+ "fields": [{
62141
+ "name": "reason_code",
62142
+ "type": "string",
62143
+ "required": true,
62144
+ "attributes": [],
62145
+ "annotations": [],
62146
+ "description": "The reason code of the matched rule."
62147
+ }, {
62148
+ "name": "match_types",
62149
+ "type": "[sellability_internal_match_type]",
62150
+ "required": true,
62151
+ "attributes": [],
62152
+ "annotations": [],
62153
+ "description": "The type(s) of match that caused this rule to be included. Empty when the rule was applied by a mechanism outside keyword/HS screening, such as the unserviceable taxonomy rule."
62154
+ }],
62155
+ "attributes": [],
62156
+ "interfaces": [],
62157
+ "description": "A rule that matched during screening, as persisted on a sellability result. Identifies the rule by reason code rather than id because the reason code is readable and, within a source, identifies the rule. Distinct from product_sellability_internal_rule_match, which is the screener's own output and is keyed on rule id."
61345
62158
  }, {
61346
62159
  "name": "service_fees",
61347
62160
  "plural": "service_fees",
@@ -63330,6 +64143,25 @@
63330
64143
  }],
63331
64144
  "attributes": [],
63332
64145
  "interfaces": []
64146
+ }, {
64147
+ "name": "shopify_markets_shop_access_token",
64148
+ "plural": "shopify_markets_shop_access_tokens",
64149
+ "fields": [{
64150
+ "name": "myshopify_domain",
64151
+ "type": "string",
64152
+ "required": true,
64153
+ "attributes": [],
64154
+ "annotations": []
64155
+ }, {
64156
+ "name": "access_token",
64157
+ "type": "string",
64158
+ "required": true,
64159
+ "attributes": [],
64160
+ "annotations": []
64161
+ }],
64162
+ "attributes": [],
64163
+ "interfaces": [],
64164
+ "description": "The decrypted Shopify access token for a shop, with the domain it authenticates against."
63333
64165
  }, {
63334
64166
  "name": "shopify_markets_shop_deleted",
63335
64167
  "plural": "shopify_markets_shop_deleteds",
@@ -70089,6 +70921,61 @@
70089
70921
  }],
70090
70922
  "attributes": [],
70091
70923
  "interfaces": []
70924
+ }, {
70925
+ "name": "tracking_debug_label_event_upsert_form",
70926
+ "plural": "tracking_debug_label_event_upsert_forms",
70927
+ "fields": [{
70928
+ "name": "carrier_tracking_number",
70929
+ "type": "string",
70930
+ "required": false,
70931
+ "attributes": [],
70932
+ "annotations": [],
70933
+ "description": "Carrier tracking number of the target label (carrier-agnostic). Must be the sole identifier used, or omitted."
70934
+ }, {
70935
+ "name": "label_id",
70936
+ "type": "string",
70937
+ "required": false,
70938
+ "attributes": [],
70939
+ "annotations": [],
70940
+ "description": "Flow label id of the target label. Must be the sole identifier used, or omitted."
70941
+ }, {
70942
+ "name": "organization_id",
70943
+ "type": "string",
70944
+ "required": false,
70945
+ "attributes": [],
70946
+ "annotations": [],
70947
+ "description": "Flow organization id. Must be provided together with order_number."
70948
+ }, {
70949
+ "name": "order_number",
70950
+ "type": "string",
70951
+ "required": false,
70952
+ "attributes": [],
70953
+ "annotations": [],
70954
+ "description": "Order number. Must be provided together with organization_id; invalid if the order has more than one label."
70955
+ }, {
70956
+ "name": "status",
70957
+ "type": "io.flow.tracking.v0.enums.tracking_status",
70958
+ "required": true,
70959
+ "attributes": [],
70960
+ "annotations": [],
70961
+ "description": "e.g. delivered, in_transit, exception."
70962
+ }, {
70963
+ "name": "description",
70964
+ "type": "string",
70965
+ "required": false,
70966
+ "attributes": [],
70967
+ "annotations": []
70968
+ }, {
70969
+ "name": "timestamp",
70970
+ "type": "date-time-iso8601",
70971
+ "required": false,
70972
+ "attributes": [],
70973
+ "annotations": [],
70974
+ "description": "Defaults to now if not provided."
70975
+ }],
70976
+ "attributes": [],
70977
+ "interfaces": [],
70978
+ "description": "Upserts a label_event for testing purposes. Sandbox organizations only. Exactly one of the following must be provided to identify the target label: carrier_tracking_number, label_id, or organization_id+order_number (only valid if that order has exactly one label)."
70092
70979
  }, {
70093
70980
  "name": "tracking_debug_label_location",
70094
70981
  "plural": "tracking_debug_label_locations",
@@ -72311,52 +73198,156 @@
72311
73198
  }],
72312
73199
  "attributes": [],
72313
73200
  "body": {
72314
- "type": "account_payment_hold_form",
73201
+ "type": "account_payment_hold_form",
73202
+ "attributes": []
73203
+ }
73204
+ }, {
73205
+ "method": "GET",
73206
+ "path": "/internal/billing/account/payment/holds/:id",
73207
+ "parameters": [{
73208
+ "name": "id",
73209
+ "type": "string",
73210
+ "location": "Path",
73211
+ "required": true,
73212
+ "description": "Filter by one or more IDs of this resource"
73213
+ }],
73214
+ "responses": [{
73215
+ "code": {
73216
+ "integer": {
73217
+ "value": 200
73218
+ }
73219
+ },
73220
+ "type": "account_payment_hold",
73221
+ "description": "Successful response",
73222
+ "attributes": []
73223
+ }, {
73224
+ "code": {
73225
+ "integer": {
73226
+ "value": 401
73227
+ }
73228
+ },
73229
+ "type": "unit",
73230
+ "description": "Authorization failed",
73231
+ "attributes": []
73232
+ }, {
73233
+ "code": {
73234
+ "integer": {
73235
+ "value": 404
73236
+ }
73237
+ },
73238
+ "type": "unit",
73239
+ "description": "Resource was not found",
73240
+ "attributes": []
73241
+ }],
73242
+ "attributes": []
73243
+ }, {
73244
+ "method": "DELETE",
73245
+ "path": "/internal/billing/account/payment/holds/:id",
73246
+ "parameters": [{
73247
+ "name": "id",
73248
+ "type": "string",
73249
+ "location": "Path",
73250
+ "required": true,
73251
+ "description": "Filter by one or more IDs of this resource"
73252
+ }],
73253
+ "responses": [{
73254
+ "code": {
73255
+ "integer": {
73256
+ "value": 204
73257
+ }
73258
+ },
73259
+ "type": "unit",
73260
+ "description": "Operation succeeded. No content is returned",
73261
+ "attributes": []
73262
+ }, {
73263
+ "code": {
73264
+ "integer": {
73265
+ "value": 401
73266
+ }
73267
+ },
73268
+ "type": "unit",
73269
+ "description": "Authorization failed",
73270
+ "attributes": []
73271
+ }, {
73272
+ "code": {
73273
+ "integer": {
73274
+ "value": 404
73275
+ }
73276
+ },
73277
+ "type": "unit",
73278
+ "description": "Resource was not found",
73279
+ "attributes": []
73280
+ }],
73281
+ "attributes": []
73282
+ }],
73283
+ "attributes": [{
73284
+ "name": "docs",
73285
+ "value": {
73286
+ "module": "general"
73287
+ }
73288
+ }],
73289
+ "path": "/internal/billing/account/payment/holds"
73290
+ }, {
73291
+ "type": "aftership_webhook",
73292
+ "plural": "aftership_webhooks",
73293
+ "operations": [{
73294
+ "method": "POST",
73295
+ "path": "/aftership/webhooks",
73296
+ "parameters": [],
73297
+ "responses": [{
73298
+ "code": {
73299
+ "integer": {
73300
+ "value": 200
73301
+ }
73302
+ },
73303
+ "type": "unit",
73304
+ "description": "Successful response",
73305
+ "attributes": []
73306
+ }, {
73307
+ "code": {
73308
+ "integer": {
73309
+ "value": 401
73310
+ }
73311
+ },
73312
+ "type": "unit",
73313
+ "description": "Authorization failed",
73314
+ "attributes": []
73315
+ }, {
73316
+ "code": {
73317
+ "integer": {
73318
+ "value": 422
73319
+ }
73320
+ },
73321
+ "type": "io.flow.error.v0.models.generic_error",
73322
+ "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.",
73323
+ "attributes": []
73324
+ }],
73325
+ "attributes": [],
73326
+ "body": {
73327
+ "type": "json",
72315
73328
  "attributes": []
72316
73329
  }
72317
- }, {
73330
+ }],
73331
+ "attributes": [{
73332
+ "name": "docs",
73333
+ "value": {
73334
+ "module": "general"
73335
+ }
73336
+ }],
73337
+ "path": "/aftership/webhooks"
73338
+ }, {
73339
+ "type": "agent_review_detail",
73340
+ "plural": "agent_review_details",
73341
+ "operations": [{
72318
73342
  "method": "GET",
72319
- "path": "/internal/billing/account/payment/holds/:id",
73343
+ "path": "/jailhouse/restriction/:organization/decisions/:id/agent-review",
72320
73344
  "parameters": [{
72321
- "name": "id",
73345
+ "name": "organization",
72322
73346
  "type": "string",
72323
73347
  "location": "Path",
72324
73348
  "required": true,
72325
- "description": "Filter by one or more IDs of this resource"
72326
- }],
72327
- "responses": [{
72328
- "code": {
72329
- "integer": {
72330
- "value": 200
72331
- }
72332
- },
72333
- "type": "account_payment_hold",
72334
- "description": "Successful response",
72335
- "attributes": []
72336
- }, {
72337
- "code": {
72338
- "integer": {
72339
- "value": 401
72340
- }
72341
- },
72342
- "type": "unit",
72343
- "description": "Authorization failed",
72344
- "attributes": []
73349
+ "description": "Refers to your organization's account identifier"
72345
73350
  }, {
72346
- "code": {
72347
- "integer": {
72348
- "value": 404
72349
- }
72350
- },
72351
- "type": "unit",
72352
- "description": "Resource was not found",
72353
- "attributes": []
72354
- }],
72355
- "attributes": []
72356
- }, {
72357
- "method": "DELETE",
72358
- "path": "/internal/billing/account/payment/holds/:id",
72359
- "parameters": [{
72360
73351
  "name": "id",
72361
73352
  "type": "string",
72362
73353
  "location": "Path",
@@ -72366,11 +73357,11 @@
72366
73357
  "responses": [{
72367
73358
  "code": {
72368
73359
  "integer": {
72369
- "value": 204
73360
+ "value": 200
72370
73361
  }
72371
73362
  },
72372
- "type": "unit",
72373
- "description": "Operation succeeded. No content is returned",
73363
+ "type": "agent_review_detail",
73364
+ "description": "Successful response",
72374
73365
  "attributes": []
72375
73366
  }, {
72376
73367
  "code": {
@@ -72391,55 +73382,13 @@
72391
73382
  "description": "Resource was not found",
72392
73383
  "attributes": []
72393
73384
  }],
72394
- "attributes": []
72395
- }],
72396
- "attributes": [{
72397
- "name": "docs",
72398
- "value": {
72399
- "module": "general"
72400
- }
72401
- }],
72402
- "path": "/internal/billing/account/payment/holds"
72403
- }, {
72404
- "type": "aftership_webhook",
72405
- "plural": "aftership_webhooks",
72406
- "operations": [{
72407
- "method": "POST",
72408
- "path": "/aftership/webhooks",
72409
- "parameters": [],
72410
- "responses": [{
72411
- "code": {
72412
- "integer": {
72413
- "value": 200
72414
- }
72415
- },
72416
- "type": "unit",
72417
- "description": "Successful response",
72418
- "attributes": []
72419
- }, {
72420
- "code": {
72421
- "integer": {
72422
- "value": 401
72423
- }
72424
- },
72425
- "type": "unit",
72426
- "description": "Authorization failed",
72427
- "attributes": []
72428
- }, {
72429
- "code": {
72430
- "integer": {
72431
- "value": 422
72432
- }
72433
- },
72434
- "type": "io.flow.error.v0.models.generic_error",
72435
- "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.",
72436
- "attributes": []
73385
+ "attributes": [{
73386
+ "name": "linter",
73387
+ "value": {
73388
+ "ignore": ["get", "id", "sort"]
73389
+ }
72437
73390
  }],
72438
- "attributes": [],
72439
- "body": {
72440
- "type": "json",
72441
- "attributes": []
72442
- }
73391
+ "description": "Returns the AI review details for a restriction decision, when the decision has been reviewed by the agent."
72443
73392
  }],
72444
73393
  "attributes": [{
72445
73394
  "name": "docs",
@@ -72447,7 +73396,8 @@
72447
73396
  "module": "general"
72448
73397
  }
72449
73398
  }],
72450
- "path": "/aftership/webhooks"
73399
+ "path": "/jailhouse/restriction/:organization/decisions/:id/agent-review",
73400
+ "description": "The AI review details for a single restriction decision, shown when a decision has been reviewed by the agent."
72451
73401
  }, {
72452
73402
  "type": "amrutha_item",
72453
73403
  "plural": "amrutha_items",
@@ -85505,6 +86455,56 @@
85505
86455
  }],
85506
86456
  "path": "/internal/guaranteed/shipping/calibrate",
85507
86457
  "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."
86458
+ }, {
86459
+ "type": "guaranteed_shipping_publication",
86460
+ "plural": "guaranteed_shipping_publications",
86461
+ "operations": [{
86462
+ "method": "POST",
86463
+ "path": "/internal/guaranteed/shipping/calibrated/outputs/publish",
86464
+ "parameters": [],
86465
+ "responses": [{
86466
+ "code": {
86467
+ "integer": {
86468
+ "value": 200
86469
+ }
86470
+ },
86471
+ "type": "[guaranteed_shipping_publication]",
86472
+ "description": "Successful response",
86473
+ "attributes": []
86474
+ }, {
86475
+ "code": {
86476
+ "integer": {
86477
+ "value": 401
86478
+ }
86479
+ },
86480
+ "type": "unit",
86481
+ "description": "Authorization failed",
86482
+ "attributes": []
86483
+ }, {
86484
+ "code": {
86485
+ "integer": {
86486
+ "value": 422
86487
+ }
86488
+ },
86489
+ "type": "io.flow.error.v0.models.generic_error",
86490
+ "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.",
86491
+ "attributes": []
86492
+ }],
86493
+ "attributes": [],
86494
+ "description": "Publishes the named calibrated output versions, and answers with what happened to each lane. A request that cannot be read as a set of lanes is rejected whole; a lane whose version is missing or already superseded is reported rather than failing the ones alongside it. Publishing the same version again is not an error, so a caller can retry the whole request.",
86495
+ "body": {
86496
+ "type": "guaranteed_shipping_publication_form",
86497
+ "attributes": []
86498
+ }
86499
+ }],
86500
+ "attributes": [{
86501
+ "name": "docs",
86502
+ "value": {
86503
+ "module": "general"
86504
+ }
86505
+ }],
86506
+ "path": "/internal/guaranteed/shipping/calibrated/outputs/publish",
86507
+ "description": "The outcome of publishing one lane."
85508
86508
  }, {
85509
86509
  "type": "harmonization_item_classification",
85510
86510
  "plural": "harmonization_item_classifications",
@@ -88914,6 +89914,55 @@
88914
89914
  }
88915
89915
  }],
88916
89916
  "path": "/internal/channel/tokens"
89917
+ }, {
89918
+ "type": "io.flow.tracking.v0.models.tracking_event",
89919
+ "plural": "tracking_events",
89920
+ "operations": [{
89921
+ "method": "POST",
89922
+ "path": "/internal/tracking/debug/label_events",
89923
+ "parameters": [],
89924
+ "responses": [{
89925
+ "code": {
89926
+ "integer": {
89927
+ "value": 200
89928
+ }
89929
+ },
89930
+ "type": "io.flow.tracking.v0.models.tracking_event",
89931
+ "description": "Successful response",
89932
+ "attributes": []
89933
+ }, {
89934
+ "code": {
89935
+ "integer": {
89936
+ "value": 401
89937
+ }
89938
+ },
89939
+ "type": "unit",
89940
+ "description": "Authorization failed",
89941
+ "attributes": []
89942
+ }, {
89943
+ "code": {
89944
+ "integer": {
89945
+ "value": 422
89946
+ }
89947
+ },
89948
+ "type": "io.flow.error.v0.models.generic_error",
89949
+ "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.",
89950
+ "attributes": []
89951
+ }],
89952
+ "attributes": [],
89953
+ "description": "Upserts a label_event for a label, identified by carrier_tracking_number, label_id, or organization_id+order_number. Sandbox organizations only.",
89954
+ "body": {
89955
+ "type": "tracking_debug_label_event_upsert_form",
89956
+ "attributes": []
89957
+ }
89958
+ }],
89959
+ "attributes": [{
89960
+ "name": "docs",
89961
+ "value": {
89962
+ "module": "general"
89963
+ }
89964
+ }],
89965
+ "path": "/internal/tracking/debug/label_events"
88917
89966
  }, {
88918
89967
  "type": "item_classification",
88919
89968
  "plural": "item_classifications",
@@ -102202,6 +103251,12 @@
102202
103251
  "location": "Query",
102203
103252
  "required": false,
102204
103253
  "description": "filter results by organizations that have items pending verification."
103254
+ }, {
103255
+ "name": "escalated_only",
103256
+ "type": "boolean",
103257
+ "location": "Query",
103258
+ "required": false,
103259
+ "description": "filter results by organizations with at least one pending verification whose AI review confidence fell below the threshold."
102205
103260
  }, {
102206
103261
  "name": "transacting_orgs",
102207
103262
  "type": "boolean",
@@ -104874,6 +105929,72 @@
104874
105929
  }
104875
105930
  }],
104876
105931
  "path": "/internal/shopify/markets/shops"
105932
+ }, {
105933
+ "type": "shopify_markets_shop_access_token",
105934
+ "plural": "shopify_markets_shop_access_tokens",
105935
+ "operations": [{
105936
+ "method": "GET",
105937
+ "path": "/internal/shopify/markets/shops/:organization/access/token/decrypt",
105938
+ "parameters": [{
105939
+ "name": "organization",
105940
+ "type": "string",
105941
+ "location": "Path",
105942
+ "required": true,
105943
+ "description": "Refers to your organization's account identifier"
105944
+ }],
105945
+ "responses": [{
105946
+ "code": {
105947
+ "integer": {
105948
+ "value": 200
105949
+ }
105950
+ },
105951
+ "type": "shopify_markets_shop_access_token",
105952
+ "description": "Successful response",
105953
+ "attributes": []
105954
+ }, {
105955
+ "code": {
105956
+ "integer": {
105957
+ "value": 401
105958
+ }
105959
+ },
105960
+ "type": "unit",
105961
+ "description": "Authorization failed",
105962
+ "attributes": []
105963
+ }, {
105964
+ "code": {
105965
+ "integer": {
105966
+ "value": 404
105967
+ }
105968
+ },
105969
+ "type": "unit",
105970
+ "description": "Resource was not found",
105971
+ "attributes": []
105972
+ }, {
105973
+ "code": {
105974
+ "integer": {
105975
+ "value": 422
105976
+ }
105977
+ },
105978
+ "type": "io.flow.error.v0.models.generic_error",
105979
+ "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.",
105980
+ "attributes": []
105981
+ }],
105982
+ "attributes": [{
105983
+ "name": "linter",
105984
+ "value": {
105985
+ "ignore": ["get", "id", "limit", "offset", "sort"]
105986
+ }
105987
+ }],
105988
+ "description": "Endpoint to get the decrypted Shopify access token for a single shop by organization. Restricted to the Flow organization."
105989
+ }],
105990
+ "attributes": [{
105991
+ "name": "docs",
105992
+ "value": {
105993
+ "module": "general"
105994
+ }
105995
+ }],
105996
+ "path": "/internal/shopify/markets/shops/:organization/access/token/decrypt",
105997
+ "description": "The decrypted Shopify access token for a shop, with the domain it authenticates against."
104877
105998
  }, {
104878
105999
  "type": "shopify_markets_shop_summary",
104879
106000
  "plural": "shopify_markets_shop_summaries",
@@ -108338,7 +109459,7 @@
108338
109459
  "description": "Identifies a field that contains data that must be handled in a way that is compliant with the PCI standard."
108339
109460
  }],
108340
109461
  "apidoc": {
108341
- "version": "0.30.8"
109462
+ "version": "0.30.27"
108342
109463
  },
108343
109464
  "base_url": "https://api.flow.io",
108344
109465
  "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."