@flowio/api-internal-mock-generator 5.31.142 → 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.22",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.22",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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
  }, {
@@ -3944,6 +3948,12 @@
3944
3948
  }, {
3945
3949
  "name": "outbound_shipping_cost_deleted",
3946
3950
  "attributes": []
3951
+ }, {
3952
+ "name": "average_order_value_upserted",
3953
+ "attributes": []
3954
+ }, {
3955
+ "name": "average_order_value_deleted",
3956
+ "attributes": []
3947
3957
  }, {
3948
3958
  "name": "guaranteed_shipping_published_output_upserted",
3949
3959
  "attributes": []
@@ -6381,6 +6391,10 @@
6381
6391
  "name": "credit_payment",
6382
6392
  "attributes": [],
6383
6393
  "description": "Payments using credit, including gift cards."
6394
+ }, {
6395
+ "name": "credit_refund",
6396
+ "attributes": [],
6397
+ "description": "Refunds for credits, including gift cards"
6384
6398
  }],
6385
6399
  "attributes": []
6386
6400
  }, {
@@ -10833,6 +10847,14 @@
10833
10847
  "type": "outbound_shipping_cost_deleted",
10834
10848
  "attributes": [],
10835
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"
10836
10858
  }, {
10837
10859
  "type": "guaranteed_shipping_published_output_upserted",
10838
10860
  "attributes": [],
@@ -16988,6 +17010,135 @@
16988
17010
  }],
16989
17011
  "attributes": [],
16990
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": []
16991
17142
  }, {
16992
17143
  "name": "b2b_fee_mor_tax_trigger_metadata",
16993
17144
  "plural": "b2b_fee_mor_tax_trigger_metadata",
@@ -48893,7 +49044,7 @@
48893
49044
  "required": true,
48894
49045
  "attributes": [],
48895
49046
  "annotations": [],
48896
- "description": "One entry per carrier service the model priced for this lane, if it only priced a single service, this list has just that one entry",
49047
+ "description": "One entry per carrier service the model priced for this lane",
48897
49048
  "minimum": 1
48898
49049
  }, {
48899
49050
  "name": "updated_at",
@@ -48901,14 +49052,14 @@
48901
49052
  "required": true,
48902
49053
  "attributes": [],
48903
49054
  "annotations": [],
48904
- "description": "Epoch millis for when this record's data last changed. Writes are value-gated, so this only moves when something actually changed, not on every write"
49055
+ "description": "Epoch millis for when this record's data last changed"
48905
49056
  }, {
48906
49057
  "name": "run_id",
48907
49058
  "type": "string",
48908
49059
  "required": true,
48909
49060
  "attributes": [],
48910
49061
  "annotations": [],
48911
- "description": "ID of the forecaster run that produced this record, matches that run's S3 artifact prefix"
49062
+ "description": "ID of the forecaster run that produced this record"
48912
49063
  }, {
48913
49064
  "name": "model_version",
48914
49065
  "type": "string",
@@ -48919,7 +49070,7 @@
48919
49070
  }],
48920
49071
  "attributes": [],
48921
49072
  "interfaces": [],
48922
- "description": "One run of the outbound shipping cost forecaster produces one of these per organization and lane, with one entry inside for each carrier service it priced on that lane"
49073
+ "description": "One run of the outbound shipping cost forecaster produces one of these per organization and lane"
48923
49074
  }, {
48924
49075
  "name": "outbound_shipping_cost_deleted",
48925
49076
  "plural": "outbound_shipping_cost_deleteds",
@@ -58143,6 +58294,34 @@
58143
58294
  "attributes": [],
58144
58295
  "annotations": [],
58145
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."
58146
58325
  }],
58147
58326
  "attributes": [],
58148
58327
  "interfaces": [],
@@ -58476,6 +58655,13 @@
58476
58655
  "attributes": [],
58477
58656
  "annotations": [],
58478
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."
58479
58665
  }, {
58480
58666
  "name": "updated_at",
58481
58667
  "type": "date-time-iso8601",
@@ -109273,7 +109459,7 @@
109273
109459
  "description": "Identifies a field that contains data that must be handled in a way that is compliant with the PCI standard."
109274
109460
  }],
109275
109461
  "apidoc": {
109276
- "version": "0.30.22"
109462
+ "version": "0.30.27"
109277
109463
  },
109278
109464
  "base_url": "https://api.flow.io",
109279
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."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-mock-generator",
3
- "version": "5.31.142",
3
+ "version": "5.31.143",
4
4
  "description": "A mock data generator based on our internal API specifications for JavaScript",
5
5
  "keywords": [
6
6
  "flowcommerce",
@@ -7,7 +7,7 @@
7
7
  "key" : "api-internal"
8
8
  },
9
9
  "namespace" : "io.flow.internal.v0",
10
- "version" : "0.30.22",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.22",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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.97",
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
  }, {
@@ -3944,6 +3948,12 @@
3944
3948
  }, {
3945
3949
  "name" : "outbound_shipping_cost_deleted",
3946
3950
  "attributes" : [ ]
3951
+ }, {
3952
+ "name" : "average_order_value_upserted",
3953
+ "attributes" : [ ]
3954
+ }, {
3955
+ "name" : "average_order_value_deleted",
3956
+ "attributes" : [ ]
3947
3957
  }, {
3948
3958
  "name" : "guaranteed_shipping_published_output_upserted",
3949
3959
  "attributes" : [ ]
@@ -6381,6 +6391,10 @@
6381
6391
  "name" : "credit_payment",
6382
6392
  "attributes" : [ ],
6383
6393
  "description" : "Payments using credit, including gift cards."
6394
+ }, {
6395
+ "name" : "credit_refund",
6396
+ "attributes" : [ ],
6397
+ "description" : "Refunds for credits, including gift cards"
6384
6398
  } ],
6385
6399
  "attributes" : [ ]
6386
6400
  }, {
@@ -10833,6 +10847,14 @@
10833
10847
  "type" : "outbound_shipping_cost_deleted",
10834
10848
  "attributes" : [ ],
10835
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"
10836
10858
  }, {
10837
10859
  "type" : "guaranteed_shipping_published_output_upserted",
10838
10860
  "attributes" : [ ],
@@ -16988,6 +17010,135 @@
16988
17010
  } ],
16989
17011
  "attributes" : [ ],
16990
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" : [ ]
16991
17142
  }, {
16992
17143
  "name" : "b2b_fee_mor_tax_trigger_metadata",
16993
17144
  "plural" : "b2b_fee_mor_tax_trigger_metadata",
@@ -48893,7 +49044,7 @@
48893
49044
  "required" : true,
48894
49045
  "attributes" : [ ],
48895
49046
  "annotations" : [ ],
48896
- "description" : "One entry per carrier service the model priced for this lane, if it only priced a single service, this list has just that one entry",
49047
+ "description" : "One entry per carrier service the model priced for this lane",
48897
49048
  "minimum" : 1
48898
49049
  }, {
48899
49050
  "name" : "updated_at",
@@ -48901,14 +49052,14 @@
48901
49052
  "required" : true,
48902
49053
  "attributes" : [ ],
48903
49054
  "annotations" : [ ],
48904
- "description" : "Epoch millis for when this record's data last changed. Writes are value-gated, so this only moves when something actually changed, not on every write"
49055
+ "description" : "Epoch millis for when this record's data last changed"
48905
49056
  }, {
48906
49057
  "name" : "run_id",
48907
49058
  "type" : "string",
48908
49059
  "required" : true,
48909
49060
  "attributes" : [ ],
48910
49061
  "annotations" : [ ],
48911
- "description" : "ID of the forecaster run that produced this record, matches that run's S3 artifact prefix"
49062
+ "description" : "ID of the forecaster run that produced this record"
48912
49063
  }, {
48913
49064
  "name" : "model_version",
48914
49065
  "type" : "string",
@@ -48919,7 +49070,7 @@
48919
49070
  } ],
48920
49071
  "attributes" : [ ],
48921
49072
  "interfaces" : [ ],
48922
- "description" : "One run of the outbound shipping cost forecaster produces one of these per organization and lane, with one entry inside for each carrier service it priced on that lane"
49073
+ "description" : "One run of the outbound shipping cost forecaster produces one of these per organization and lane"
48923
49074
  }, {
48924
49075
  "name" : "outbound_shipping_cost_deleted",
48925
49076
  "plural" : "outbound_shipping_cost_deleteds",
@@ -58143,6 +58294,34 @@
58143
58294
  "attributes" : [ ],
58144
58295
  "annotations" : [ ],
58145
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."
58146
58325
  } ],
58147
58326
  "attributes" : [ ],
58148
58327
  "interfaces" : [ ],
@@ -58476,6 +58655,13 @@
58476
58655
  "attributes" : [ ],
58477
58656
  "annotations" : [ ],
58478
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."
58479
58665
  }, {
58480
58666
  "name" : "updated_at",
58481
58667
  "type" : "date-time-iso8601",
@@ -109273,7 +109459,7 @@
109273
109459
  "description" : "Identifies a field that contains data that must be handled in a way that is compliant with the PCI standard."
109274
109460
  } ],
109275
109461
  "apidoc" : {
109276
- "version" : "0.30.22"
109462
+ "version" : "0.30.27"
109277
109463
  },
109278
109464
  "base_url" : "https://api.flow.io",
109279
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."