@flowio/api-internal-mock-generator 4.0.0 → 4.0.2

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.
@@ -1750,9 +1750,9 @@
1750
1750
  "type": "string",
1751
1751
  "required": true
1752
1752
  }, {
1753
- "name": "estimated",
1753
+ "name": "unverified",
1754
1754
  "annotations": [],
1755
- "description": "whether the user inferred the value of the attribute from the context (e.g image)",
1755
+ "description": "True when the user has no way of verifying the label to associate to an attribute, but they still want to set a value. See this [comment](https://github.com/flowcommerce/api-internal/pull/1139/files#r405434573) for further details",
1756
1756
  "attributes": [],
1757
1757
  "type": "boolean",
1758
1758
  "required": true
@@ -5499,6 +5499,53 @@
5499
5499
  "type": "string",
5500
5500
  "required": false
5501
5501
  }]
5502
+ }, {
5503
+ "plural": "customs_description_statisticses",
5504
+ "name": "customs_description_statistics",
5505
+ "attributes": [],
5506
+ "fields": [{
5507
+ "name": "message",
5508
+ "annotations": [],
5509
+ "attributes": [],
5510
+ "type": "string",
5511
+ "required": true
5512
+ }, {
5513
+ "name": "default_customs_description_total",
5514
+ "annotations": [],
5515
+ "attributes": [],
5516
+ "type": "integer",
5517
+ "required": true
5518
+ }, {
5519
+ "name": "new_customs_description_total",
5520
+ "annotations": [],
5521
+ "attributes": [],
5522
+ "type": "integer",
5523
+ "required": true
5524
+ }, {
5525
+ "name": "phrase_status_duty_requested_total",
5526
+ "annotations": [],
5527
+ "attributes": [],
5528
+ "type": "integer",
5529
+ "required": true
5530
+ }, {
5531
+ "name": "phrase_status_classified_total",
5532
+ "annotations": [],
5533
+ "attributes": [],
5534
+ "type": "integer",
5535
+ "required": true
5536
+ }, {
5537
+ "name": "mismatching_hs6_total",
5538
+ "annotations": [],
5539
+ "attributes": [],
5540
+ "type": "integer",
5541
+ "required": true
5542
+ }, {
5543
+ "name": "mismatching_hs6",
5544
+ "annotations": [],
5545
+ "attributes": [],
5546
+ "type": "map[string]",
5547
+ "required": true
5548
+ }]
5502
5549
  }, {
5503
5550
  "plural": "customs_description_sugestions",
5504
5551
  "name": "customs_description_sugestion",
@@ -6629,6 +6676,66 @@
6629
6676
  "type": "[string]",
6630
6677
  "required": true
6631
6678
  }]
6679
+ }, {
6680
+ "plural": "exclusion_rule_deleteds",
6681
+ "name": "exclusion_rule_deleted",
6682
+ "attributes": [],
6683
+ "fields": [{
6684
+ "name": "event_id",
6685
+ "annotations": [],
6686
+ "attributes": [],
6687
+ "type": "string",
6688
+ "required": true
6689
+ }, {
6690
+ "name": "timestamp",
6691
+ "annotations": [],
6692
+ "attributes": [],
6693
+ "type": "date-time-iso8601",
6694
+ "required": true
6695
+ }, {
6696
+ "name": "organization",
6697
+ "annotations": [],
6698
+ "description": "Refers to your organization's account identifier",
6699
+ "attributes": [],
6700
+ "type": "string",
6701
+ "required": true
6702
+ }, {
6703
+ "name": "exclusion_rule",
6704
+ "annotations": [],
6705
+ "attributes": [],
6706
+ "type": "io.flow.catalog.exclusion.v0.models.exclusion_rule",
6707
+ "required": true
6708
+ }]
6709
+ }, {
6710
+ "plural": "exclusion_rule_upserteds",
6711
+ "name": "exclusion_rule_upserted",
6712
+ "attributes": [],
6713
+ "fields": [{
6714
+ "name": "event_id",
6715
+ "annotations": [],
6716
+ "attributes": [],
6717
+ "type": "string",
6718
+ "required": true
6719
+ }, {
6720
+ "name": "timestamp",
6721
+ "annotations": [],
6722
+ "attributes": [],
6723
+ "type": "date-time-iso8601",
6724
+ "required": true
6725
+ }, {
6726
+ "name": "organization",
6727
+ "annotations": [],
6728
+ "description": "Refers to your organization's account identifier",
6729
+ "attributes": [],
6730
+ "type": "string",
6731
+ "required": true
6732
+ }, {
6733
+ "name": "exclusion_rule",
6734
+ "annotations": [],
6735
+ "attributes": [],
6736
+ "type": "io.flow.catalog.exclusion.v0.models.exclusion_rule",
6737
+ "required": true
6738
+ }]
6632
6739
  }, {
6633
6740
  "plural": "expected_order_summaries",
6634
6741
  "name": "expected_order_summary",
@@ -17224,6 +17331,12 @@
17224
17331
  "attributes": [],
17225
17332
  "type": "product_labels",
17226
17333
  "required": true
17334
+ }, {
17335
+ "name": "model_version",
17336
+ "annotations": [],
17337
+ "attributes": [],
17338
+ "type": "string",
17339
+ "required": true
17227
17340
  }, {
17228
17341
  "name": "current_customs_description",
17229
17342
  "annotations": [],
@@ -17266,6 +17379,12 @@
17266
17379
  "attributes": [],
17267
17380
  "type": "product_harmonization",
17268
17381
  "required": true
17382
+ }, {
17383
+ "name": "model_version",
17384
+ "annotations": [],
17385
+ "attributes": [],
17386
+ "type": "string",
17387
+ "required": true
17269
17388
  }, {
17270
17389
  "name": "action",
17271
17390
  "annotations": [],
@@ -17350,13 +17469,13 @@
17350
17469
  "annotations": [],
17351
17470
  "attributes": [],
17352
17471
  "type": "string",
17353
- "required": true
17472
+ "required": false
17354
17473
  }, {
17355
- "name": "model_version",
17474
+ "name": "hs6_description",
17356
17475
  "annotations": [],
17357
17476
  "attributes": [],
17358
17477
  "type": "string",
17359
- "required": true
17478
+ "required": false
17360
17479
  }]
17361
17480
  }, {
17362
17481
  "plural": "product_harmonization_forms",
@@ -17369,6 +17488,12 @@
17369
17488
  "attributes": [],
17370
17489
  "type": "product_labels",
17371
17490
  "required": true
17491
+ }, {
17492
+ "name": "customs_description",
17493
+ "annotations": [],
17494
+ "attributes": [],
17495
+ "type": "string",
17496
+ "required": false
17372
17497
  }]
17373
17498
  }, {
17374
17499
  "plural": "product_labelses",
@@ -18396,6 +18521,17 @@
18396
18521
  "type": "[io.flow.reference.v0.models.country]",
18397
18522
  "required": true
18398
18523
  }]
18524
+ }, {
18525
+ "plural": "resync_fallback_rates",
18526
+ "name": "resync_fallback_rates",
18527
+ "attributes": [],
18528
+ "fields": [{
18529
+ "name": "destinations",
18530
+ "annotations": [],
18531
+ "attributes": [],
18532
+ "type": "[io.flow.reference.v0.models.country]",
18533
+ "required": true
18534
+ }]
18399
18535
  }, {
18400
18536
  "plural": "return_summaries",
18401
18537
  "name": "return_summary",
@@ -18697,64 +18833,6 @@
18697
18833
  "type": "string",
18698
18834
  "required": true
18699
18835
  }]
18700
- }, {
18701
- "plural": "serial_reservations",
18702
- "name": "serial_reservation",
18703
- "attributes": [],
18704
- "fields": [{
18705
- "name": "reservation_id",
18706
- "annotations": [],
18707
- "attributes": [],
18708
- "type": "string",
18709
- "required": true
18710
- }, {
18711
- "name": "serials",
18712
- "annotations": [],
18713
- "attributes": [],
18714
- "type": "[io.flow.inventory.v0.models.serial]",
18715
- "required": true
18716
- }, {
18717
- "name": "expires_at",
18718
- "annotations": [],
18719
- "attributes": [],
18720
- "type": "date-time-iso8601",
18721
- "required": true
18722
- }]
18723
- }, {
18724
- "plural": "serial_reservation_forms",
18725
- "name": "serial_reservation_form",
18726
- "attributes": [],
18727
- "fields": [{
18728
- "name": "items",
18729
- "annotations": [],
18730
- "attributes": [],
18731
- "type": "[serial_reservation_item]",
18732
- "required": true
18733
- }, {
18734
- "name": "duration",
18735
- "annotations": [],
18736
- "attributes": [],
18737
- "type": "io.flow.common.v0.models.duration",
18738
- "required": true
18739
- }]
18740
- }, {
18741
- "plural": "serial_reservation_items",
18742
- "name": "serial_reservation_item",
18743
- "attributes": [],
18744
- "fields": [{
18745
- "name": "item_number",
18746
- "annotations": [],
18747
- "attributes": [],
18748
- "type": "string",
18749
- "required": true
18750
- }, {
18751
- "name": "quantity",
18752
- "annotations": [],
18753
- "attributes": [],
18754
- "type": "long",
18755
- "minimum": 1,
18756
- "required": true
18757
- }]
18758
18836
  }, {
18759
18837
  "plural": "session_countries",
18760
18838
  "name": "session_countries",
@@ -22599,6 +22677,14 @@
22599
22677
  "discriminator_value": "catalog_import_request",
22600
22678
  "attributes": [],
22601
22679
  "type": "catalog_import_request"
22680
+ }, {
22681
+ "discriminator_value": "exclusion_rule_upserted",
22682
+ "attributes": [],
22683
+ "type": "exclusion_rule_upserted"
22684
+ }, {
22685
+ "discriminator_value": "exclusion_rule_deleted",
22686
+ "attributes": [],
22687
+ "type": "exclusion_rule_deleted"
22602
22688
  }, {
22603
22689
  "discriminator_value": "catalog_item_region_availabilities_published",
22604
22690
  "attributes": [],
@@ -23062,6 +23148,10 @@
23062
23148
  "discriminator_value": "resync_by_destinations",
23063
23149
  "attributes": [],
23064
23150
  "type": "resync_by_destinations"
23151
+ }, {
23152
+ "discriminator_value": "resync_fallback_rates",
23153
+ "attributes": [],
23154
+ "type": "resync_fallback_rates"
23065
23155
  }, {
23066
23156
  "discriminator_value": "shopify_shop_upserted",
23067
23157
  "attributes": [],
@@ -24033,7 +24123,7 @@
24033
24123
  "application": {
24034
24124
  "key": "common"
24035
24125
  },
24036
- "version": "0.8.80",
24126
+ "version": "0.8.92",
24037
24127
  "enums": ["attribute_data_type", "availability_status", "calendar", "capability", "change_type", "currency_label_formatter", "currency_symbol_format", "day_of_week", "delivered_duty", "discount_target", "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", "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"],
24038
24128
  "unions": ["discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule"],
24039
24129
  "models": ["address", "billing_address", "catalog_item_reference", "catalog_item_summary", "checkout_reference", "contact", "customer_invoice", "customer_reference", "datetime_range", "dimension", "dimensions", "discount_form", "discount_offer_fixed", "discount_offer_percent", "discounts_form", "duration", "exception", "experience_summary", "included_levies", "input_form", "input_form_specification", "input_specification", "input_specification_limitation_max", "input_specification_limitations", "item_reference", "line_item", "line_item_form", "margin", "measurement", "merchant_of_record_entity", "merchant_of_record_entity_registration", "money", "money_with_base", "money_with_optional_base", "name", "order_customer", "order_customer_form", "organization", "organization_defaults", "organization_reference", "organization_summary", "partner_reference", "price", "price_form", "price_source_catalog", "price_source_price_book", "price_source_price_book_reference", "price_source_provided", "price_with_base", "repeat_daily", "repeat_hourly", "repeat_monthly", "repeat_weekly", "rounding", "schedule", "session_reference", "user", "user_reference", "zone"],
@@ -24061,10 +24151,10 @@
24061
24151
  "application": {
24062
24152
  "key": "inventory"
24063
24153
  },
24064
- "version": "0.8.80",
24065
- "enums": ["aggregate", "inventory_status", "serial_status", "update_type"],
24154
+ "version": "0.8.94",
24155
+ "enums": ["aggregate", "inventory_status", "update_type"],
24066
24156
  "unions": ["inventory_strategy", "reservation_error"],
24067
- "models": ["external_api_timeout_reservation_error", "generic_reservation_error", "inventory_backorder", "inventory_center_reference", "inventory_check_response", "inventory_check_response_item", "inventory_experience_reference", "inventory_item_reference", "inventory_request", "inventory_request_item", "inventory_rule", "inventory_rule_form", "inventory_rule_version", "inventory_snapshot", "inventory_snapshot_version", "inventory_stock", "inventory_unlimited", "inventory_update", "inventory_update_form", "inventory_update_version", "no_inventory_reservation_error", "no_inventory_reservation_error_item", "pfs_inventory_check_response", "pfs_inventory_check_response_item", "pfs_inventory_status", "reservation", "reservation_form", "reservation_item", "reservation_item_form", "reservation_item_reference", "reservation_order_reference", "serial", "serial_form", "serial_version"],
24157
+ "models": ["external_api_timeout_reservation_error", "generic_reservation_error", "inventory_backorder", "inventory_center_reference", "inventory_check_response", "inventory_check_response_item", "inventory_experience_reference", "inventory_item_reference", "inventory_request", "inventory_request_item", "inventory_rule", "inventory_rule_form", "inventory_rule_version", "inventory_snapshot", "inventory_snapshot_version", "inventory_stock", "inventory_unlimited", "inventory_update", "inventory_update_form", "inventory_update_version", "no_inventory_reservation_error", "no_inventory_reservation_error_item", "pfs_inventory_check_response", "pfs_inventory_check_response_item", "pfs_inventory_status", "reservation", "reservation_form", "reservation_item", "reservation_item_form", "reservation_item_reference", "reservation_order_reference"],
24068
24158
  "annotations": []
24069
24159
  }, {
24070
24160
  "uri": "https://app.apibuilder.io/flow/permission/latest/service.json",
@@ -27034,6 +27124,20 @@
27034
27124
  "unions": ["allocation_component", "allocation_detail", "expandable_experience", "expandable_order", "order_number_generator", "order_promotion", "order_promotion_form", "payment_method_tag", "promotion"],
27035
27125
  "models": ["address_configuration", "address_configuration_province", "address_configuration_province_translation", "address_configuration_province_translation_locale", "address_field_validation", "allocation", "allocation_detail_component", "allocation_levy_component", "allocation_line_detail", "allocation_order_detail", "allocation_order_summary", "allocation_v2", "available_promotion", "checkout_attribute", "checkout_attribute_form", "checkout_item_content", "checkout_item_content_attribute", "checkout_settings", "credit_payment", "credit_payment_error", "credit_payment_form", "credit_payment_version", "delivered_duty_setting", "discount", "experience", "experience_checkout_settings", "experience_checkout_settings_form", "experience_clone", "experience_clone_form", "experience_configuration_reference", "experience_currency_format", "experience_currency_format_form", "experience_defaults", "experience_form", "experience_geo", "experience_logistics_settings", "experience_logistics_settings_put_form", "experience_logistics_summary", "experience_logistics_tier_summary", "experience_logistics_tier_summary_prices", "experience_overview", "experience_payment_method_rule_form", "experience_price_book_mapping", "experience_price_book_mapping_form", "experience_price_book_mapping_put_form", "experience_price_conversion", "experience_price_conversion_request", "experience_price_conversion_response", "experience_price_facet_conversion", "experience_price_facet_conversion_request", "experience_price_facet_conversion_response", "experience_reference", "experience_settings", "experience_status_form", "experience_version", "free_shipping", "free_shipping_order_promotion", "free_shipping_order_promotion_form", "item_margin", "item_margin_post_form", "item_margin_put_form", "item_margin_version", "line", "localized_line_item", "localized_line_item_discount", "logistics_settings", "order", "order_address", "order_builder", "order_builder_attributes_form", "order_builder_customer_invoice_address_form", "order_builder_delivered_duty_form", "order_builder_destination_country_form", "order_builder_destination_form", "order_destination_put_form", "order_error", "order_estimate", "order_estimate_form", "order_form", "order_geo", "order_identifier", "order_identifier_form", "order_identifier_put_form", "order_identifier_version", "order_number_generator_defaults", "order_number_generator_fixed_length", "order_number_generator_hexadecimal", "order_number_generator_prefix_suffix", "order_number_generator_uuid", "order_number_reference", "order_options", "order_payment", "order_promotion_trigger", "order_put_form", "order_reference", "order_rule_reference", "order_rules_summary", "order_service_change", "order_service_change_form", "order_service_change_request_data", "order_submission_form", "order_submission_identifier_form", "order_summary", "order_summary_image", "order_summary_item", "order_summary_levy", "order_summary_line_item", "order_summary_price_detail", "order_version", "order_with_discounts_form", "original_prices", "payment_method_issuer", "payment_method_rule", "payment_method_rule_content", "pricing_settings", "promotion_trigger", "promotion_trigger_form", "promotions", "region_reference", "value_threshold_exceeded_details"],
27036
27126
  "annotations": []
27127
+ }, {
27128
+ "uri": "https://app.apibuilder.io/flow/catalog-exclusion/latest/service.json",
27129
+ "namespace": "io.flow.catalog.exclusion.v0",
27130
+ "organization": {
27131
+ "key": "flow"
27132
+ },
27133
+ "application": {
27134
+ "key": "catalog-exclusion"
27135
+ },
27136
+ "version": "0.8.80",
27137
+ "enums": ["exclusion_rule_state"],
27138
+ "unions": [],
27139
+ "models": ["exclusion_rule", "exclusion_rule_form", "exclusion_rule_statistic", "exclusion_rule_version"],
27140
+ "annotations": []
27037
27141
  }, {
27038
27142
  "uri": "https://app.apibuilder.io/flow/catalog-internal/latest/service.json",
27039
27143
  "namespace": "io.flow.catalog.internal.v0",
@@ -27057,10 +27161,10 @@
27057
27161
  "application": {
27058
27162
  "key": "catalog"
27059
27163
  },
27060
- "version": "0.8.81",
27164
+ "version": "0.8.90",
27061
27165
  "enums": ["adjustment_reason_key", "attribute_intent", "fulfillment_method_type", "fulfillment_method_value", "image_tag", "query_type", "subcatalog_item_status", "taxability_type", "taxability_value", "update_policy"],
27062
27166
  "unions": ["expandable_subcatalog", "localized_price"],
27063
- "models": ["adjustment_reason", "attribute", "attribute_form", "attribute_version", "catalog", "catalog_reference", "catalog_statistics", "catalog_version", "flow_item_index_metadata", "image", "image_form", "item", "item_attributes_patch_form", "item_form", "item_form_overlay", "item_form_overlay_form", "item_price_update_form", "item_price_update_put_form", "item_statistics", "item_version", "local", "localized_adjustment", "localized_item_duty", "localized_item_price", "localized_item_vat", "localized_total", "options", "subcatalog", "subcatalog_form", "subcatalog_item", "subcatalog_item_version", "subcatalog_query", "subcatalog_query_form", "subcatalog_query_validation", "subcatalog_reference", "subcatalog_settings", "subcatalog_settings_form", "subcatalog_statistics", "subcatalog_version", "targeting", "targeting_form", "targeting_item", "targeting_query", "targeting_query_form", "targeting_summary", "targeting_version"],
27167
+ "models": ["adjustment_reason", "attribute", "attribute_form", "attribute_version", "catalog", "catalog_reference", "catalog_statistics", "catalog_version", "flow_item_index_metadata", "image", "image_form", "item", "item_attributes_patch_form", "item_form", "item_form_overlay", "item_form_overlay_form", "item_price_update_form", "item_price_update_put_form", "item_statistics", "item_version", "local", "localized_adjustment", "localized_item_duty", "localized_item_price", "localized_item_vat", "localized_total", "options", "subcatalog", "subcatalog_form", "subcatalog_item", "subcatalog_item_version", "subcatalog_query", "subcatalog_query_form", "subcatalog_query_validation", "subcatalog_reference", "subcatalog_settings", "subcatalog_settings_form", "subcatalog_statistics", "subcatalog_version"],
27064
27168
  "annotations": []
27065
27169
  }, {
27066
27170
  "uri": "https://app.apibuilder.io/flow/common/latest/service.json",
@@ -27141,10 +27245,10 @@
27141
27245
  "application": {
27142
27246
  "key": "harmonization-internal"
27143
27247
  },
27144
- "version": "0.8.16",
27145
- "enums": ["item_classification_action", "item_classification_status", "item_type"],
27146
- "unions": ["task_data"],
27147
- "models": ["blacklisted_item", "classification_item", "classification_product", "classification_product_id", "classification_product_summary", "classification_product_summary_page", "classified_product", "customs", "customs_description_suggestion", "customs_description_tariff_code_duty", "customs_description_tariff_code_duty_form", "duties", "harmonization_countries", "harmonization_statistics", "harmonization_statistics_breakout", "harmonization_summary", "item_harmonization", "item_harmonization_summary", "levies", "levies_address", "levies_form", "levies_item", "product_classification_judgement_form", "product_classification_result", "search_item_hs6_code", "tariff_code_duty", "task_import", "task_item_upserted", "task_process_queued_event", "task_summarize_code", "unclassified_products_form", "unphrased_products_export", "vies_result"],
27248
+ "version": "0.8.57",
27249
+ "enums": ["empty_attribute", "item_classification_action", "item_classification_status", "item_type", "product_classification_action", "unclassified_product_status"],
27250
+ "unions": ["classification_label_attribute", "task_data"],
27251
+ "models": ["allowed_labels", "attribute_label", "blacklisted_item", "classification_item", "classification_product", "classification_product_id", "classification_product_summary", "classification_product_summary_page", "classified_product", "customs", "customs_description_suggestion", "customs_description_tariff_code_duty", "customs_description_tariff_code_duty_form", "duties", "harmonization_countries", "harmonization_statistics", "harmonization_statistics_breakout", "harmonization_summary", "item_harmonization", "item_harmonization_summary", "label_aliases", "label_association", "label_taxonomy", "levies", "levies_address", "levies_form", "levies_item", "product_classification", "product_classification_form", "product_classification_judgement_form", "product_classification_result", "product_harmonization", "product_harmonization_form", "product_labels", "search_item_hs6_code", "supported_labels", "tariff_code_duty", "task_import", "task_item_upserted", "task_process_queued_event", "task_summarize_code", "unclassified_products_form", "unphrased_products_export", "vies_result"],
27148
27252
  "annotations": []
27149
27253
  }, {
27150
27254
  "uri": "https://app.apibuilder.io/flow/price/latest/service.json",
@@ -47635,6 +47739,15 @@
47635
47739
  "description": "Successful response",
47636
47740
  "attributes": [],
47637
47741
  "type": "product_classification"
47742
+ }, {
47743
+ "code": {
47744
+ "integer": {
47745
+ "value": 404
47746
+ }
47747
+ },
47748
+ "description": "Resource was not found",
47749
+ "attributes": [],
47750
+ "type": "io.flow.error.v0.models.generic_error"
47638
47751
  }, {
47639
47752
  "code": {
47640
47753
  "integer": {
@@ -47713,6 +47826,44 @@
47713
47826
  "type": "string",
47714
47827
  "required": true
47715
47828
  }]
47829
+ }, {
47830
+ "path": "/product_classifications/refresh_default_hs6",
47831
+ "method": "GET",
47832
+ "responses": [{
47833
+ "code": {
47834
+ "integer": {
47835
+ "value": 200
47836
+ }
47837
+ },
47838
+ "description": "Successful response",
47839
+ "attributes": [],
47840
+ "type": "customs_description_statistics"
47841
+ }, {
47842
+ "code": {
47843
+ "integer": {
47844
+ "value": 401
47845
+ }
47846
+ },
47847
+ "description": "Authorization failed",
47848
+ "attributes": [],
47849
+ "type": "unit"
47850
+ }, {
47851
+ "code": {
47852
+ "integer": {
47853
+ "value": 422
47854
+ }
47855
+ },
47856
+ "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.",
47857
+ "attributes": [],
47858
+ "type": "io.flow.error.v0.models.generic_error"
47859
+ }],
47860
+ "attributes": [],
47861
+ "parameters": [{
47862
+ "name": "dry_run",
47863
+ "location": "Query",
47864
+ "type": "boolean",
47865
+ "required": true
47866
+ }]
47716
47867
  }],
47717
47868
  "description": "Label based product classification endpoints",
47718
47869
  "attributes": [{
@@ -48607,120 +48758,6 @@
48607
48758
  }
48608
48759
  }],
48609
48760
  "type": "secret_config"
48610
- }, {
48611
- "path": "/:organization/inventory/serial-reservations",
48612
- "plural": "serial_reservations",
48613
- "operations": [{
48614
- "path": "/:organization/inventory/serial-reservations",
48615
- "method": "POST",
48616
- "responses": [{
48617
- "code": {
48618
- "integer": {
48619
- "value": 201
48620
- }
48621
- },
48622
- "description": "Operation succeeded and the resource was created",
48623
- "attributes": [],
48624
- "type": "serial_reservation"
48625
- }, {
48626
- "code": {
48627
- "integer": {
48628
- "value": 401
48629
- }
48630
- },
48631
- "description": "Authorization failed",
48632
- "attributes": [],
48633
- "type": "unit"
48634
- }, {
48635
- "code": {
48636
- "integer": {
48637
- "value": 422
48638
- }
48639
- },
48640
- "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.",
48641
- "attributes": [],
48642
- "type": "serial_reservation_error"
48643
- }],
48644
- "description": "Creates a reservation with the specified duration",
48645
- "attributes": [],
48646
- "body": {
48647
- "attributes": [],
48648
- "type": "serial_reservation_form"
48649
- },
48650
- "parameters": [{
48651
- "name": "organization",
48652
- "description": "Refers to your organization's account identifier",
48653
- "location": "Path",
48654
- "type": "string",
48655
- "required": true
48656
- }]
48657
- }, {
48658
- "path": "/:organization/inventory/serial-reservations/:id",
48659
- "method": "PUT",
48660
- "responses": [{
48661
- "code": {
48662
- "integer": {
48663
- "value": 200
48664
- }
48665
- },
48666
- "description": "Successful response",
48667
- "attributes": [],
48668
- "type": "serial_reservation"
48669
- }, {
48670
- "code": {
48671
- "integer": {
48672
- "value": 401
48673
- }
48674
- },
48675
- "description": "Authorization failed",
48676
- "attributes": [],
48677
- "type": "unit"
48678
- }, {
48679
- "code": {
48680
- "integer": {
48681
- "value": 404
48682
- }
48683
- },
48684
- "description": "Resource was not found",
48685
- "attributes": [],
48686
- "type": "unit"
48687
- }, {
48688
- "code": {
48689
- "integer": {
48690
- "value": 422
48691
- }
48692
- },
48693
- "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.",
48694
- "attributes": [],
48695
- "type": "serial_reservation_error"
48696
- }],
48697
- "description": "Updates a reservation, ensuring it does not expire within the request duration",
48698
- "attributes": [],
48699
- "body": {
48700
- "attributes": [],
48701
- "type": "serial_reservation_form"
48702
- },
48703
- "parameters": [{
48704
- "name": "organization",
48705
- "description": "Refers to your organization's account identifier",
48706
- "location": "Path",
48707
- "type": "string",
48708
- "required": true
48709
- }, {
48710
- "name": "id",
48711
- "description": "Filter by one or more IDs of this resource",
48712
- "location": "Path",
48713
- "type": "string",
48714
- "required": true
48715
- }]
48716
- }],
48717
- "attributes": [{
48718
- "name": "docs",
48719
- "value": {
48720
- "module": "general"
48721
- }
48722
- }],
48723
- "type": "serial_reservation"
48724
48761
  }, {
48725
48762
  "path": "/:organization/session/countries",
48726
48763
  "plural": "session_countries",
@@ -52115,6 +52152,12 @@
52115
52152
  }, {
52116
52153
  "name": "catalog_import_request",
52117
52154
  "attributes": []
52155
+ }, {
52156
+ "name": "exclusion_rule_upserted",
52157
+ "attributes": []
52158
+ }, {
52159
+ "name": "exclusion_rule_deleted",
52160
+ "attributes": []
52118
52161
  }, {
52119
52162
  "name": "catalog_item_region_availabilities_published",
52120
52163
  "attributes": []
@@ -52460,6 +52503,9 @@
52460
52503
  }, {
52461
52504
  "name": "resync_by_destinations",
52462
52505
  "attributes": []
52506
+ }, {
52507
+ "name": "resync_fallback_rates",
52508
+ "attributes": []
52463
52509
  }, {
52464
52510
  "name": "shopify_shop_upserted",
52465
52511
  "attributes": []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-mock-generator",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "description": "A mock data generator based on our internal API specifications for JavaScript",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -34,5 +34,5 @@
34
34
  "tslint-config-airbnb": "^5.11.2",
35
35
  "typescript": "^3.6.3"
36
36
  },
37
- "gitHead": "5368e70b5c6c4b8c054693ddff38b5391c2c538a"
37
+ "gitHead": "33959b5bbe81ae48692196d6fd0b418244ef4e88"
38
38
  }
@@ -1750,9 +1750,9 @@
1750
1750
  "type" : "string",
1751
1751
  "required" : true
1752
1752
  }, {
1753
- "name" : "estimated",
1753
+ "name" : "unverified",
1754
1754
  "annotations" : [ ],
1755
- "description" : "whether the user inferred the value of the attribute from the context (e.g image)",
1755
+ "description" : "True when the user has no way of verifying the label to associate to an attribute, but they still want to set a value. See this [comment](https://github.com/flowcommerce/api-internal/pull/1139/files#r405434573) for further details",
1756
1756
  "attributes" : [ ],
1757
1757
  "type" : "boolean",
1758
1758
  "required" : true
@@ -5499,6 +5499,53 @@
5499
5499
  "type" : "string",
5500
5500
  "required" : false
5501
5501
  } ]
5502
+ }, {
5503
+ "plural" : "customs_description_statisticses",
5504
+ "name" : "customs_description_statistics",
5505
+ "attributes" : [ ],
5506
+ "fields" : [ {
5507
+ "name" : "message",
5508
+ "annotations" : [ ],
5509
+ "attributes" : [ ],
5510
+ "type" : "string",
5511
+ "required" : true
5512
+ }, {
5513
+ "name" : "default_customs_description_total",
5514
+ "annotations" : [ ],
5515
+ "attributes" : [ ],
5516
+ "type" : "integer",
5517
+ "required" : true
5518
+ }, {
5519
+ "name" : "new_customs_description_total",
5520
+ "annotations" : [ ],
5521
+ "attributes" : [ ],
5522
+ "type" : "integer",
5523
+ "required" : true
5524
+ }, {
5525
+ "name" : "phrase_status_duty_requested_total",
5526
+ "annotations" : [ ],
5527
+ "attributes" : [ ],
5528
+ "type" : "integer",
5529
+ "required" : true
5530
+ }, {
5531
+ "name" : "phrase_status_classified_total",
5532
+ "annotations" : [ ],
5533
+ "attributes" : [ ],
5534
+ "type" : "integer",
5535
+ "required" : true
5536
+ }, {
5537
+ "name" : "mismatching_hs6_total",
5538
+ "annotations" : [ ],
5539
+ "attributes" : [ ],
5540
+ "type" : "integer",
5541
+ "required" : true
5542
+ }, {
5543
+ "name" : "mismatching_hs6",
5544
+ "annotations" : [ ],
5545
+ "attributes" : [ ],
5546
+ "type" : "map[string]",
5547
+ "required" : true
5548
+ } ]
5502
5549
  }, {
5503
5550
  "plural" : "customs_description_sugestions",
5504
5551
  "name" : "customs_description_sugestion",
@@ -6629,6 +6676,66 @@
6629
6676
  "type" : "[string]",
6630
6677
  "required" : true
6631
6678
  } ]
6679
+ }, {
6680
+ "plural" : "exclusion_rule_deleteds",
6681
+ "name" : "exclusion_rule_deleted",
6682
+ "attributes" : [ ],
6683
+ "fields" : [ {
6684
+ "name" : "event_id",
6685
+ "annotations" : [ ],
6686
+ "attributes" : [ ],
6687
+ "type" : "string",
6688
+ "required" : true
6689
+ }, {
6690
+ "name" : "timestamp",
6691
+ "annotations" : [ ],
6692
+ "attributes" : [ ],
6693
+ "type" : "date-time-iso8601",
6694
+ "required" : true
6695
+ }, {
6696
+ "name" : "organization",
6697
+ "annotations" : [ ],
6698
+ "description" : "Refers to your organization's account identifier",
6699
+ "attributes" : [ ],
6700
+ "type" : "string",
6701
+ "required" : true
6702
+ }, {
6703
+ "name" : "exclusion_rule",
6704
+ "annotations" : [ ],
6705
+ "attributes" : [ ],
6706
+ "type" : "io.flow.catalog.exclusion.v0.models.exclusion_rule",
6707
+ "required" : true
6708
+ } ]
6709
+ }, {
6710
+ "plural" : "exclusion_rule_upserteds",
6711
+ "name" : "exclusion_rule_upserted",
6712
+ "attributes" : [ ],
6713
+ "fields" : [ {
6714
+ "name" : "event_id",
6715
+ "annotations" : [ ],
6716
+ "attributes" : [ ],
6717
+ "type" : "string",
6718
+ "required" : true
6719
+ }, {
6720
+ "name" : "timestamp",
6721
+ "annotations" : [ ],
6722
+ "attributes" : [ ],
6723
+ "type" : "date-time-iso8601",
6724
+ "required" : true
6725
+ }, {
6726
+ "name" : "organization",
6727
+ "annotations" : [ ],
6728
+ "description" : "Refers to your organization's account identifier",
6729
+ "attributes" : [ ],
6730
+ "type" : "string",
6731
+ "required" : true
6732
+ }, {
6733
+ "name" : "exclusion_rule",
6734
+ "annotations" : [ ],
6735
+ "attributes" : [ ],
6736
+ "type" : "io.flow.catalog.exclusion.v0.models.exclusion_rule",
6737
+ "required" : true
6738
+ } ]
6632
6739
  }, {
6633
6740
  "plural" : "expected_order_summaries",
6634
6741
  "name" : "expected_order_summary",
@@ -17224,6 +17331,12 @@
17224
17331
  "attributes" : [ ],
17225
17332
  "type" : "product_labels",
17226
17333
  "required" : true
17334
+ }, {
17335
+ "name" : "model_version",
17336
+ "annotations" : [ ],
17337
+ "attributes" : [ ],
17338
+ "type" : "string",
17339
+ "required" : true
17227
17340
  }, {
17228
17341
  "name" : "current_customs_description",
17229
17342
  "annotations" : [ ],
@@ -17266,6 +17379,12 @@
17266
17379
  "attributes" : [ ],
17267
17380
  "type" : "product_harmonization",
17268
17381
  "required" : true
17382
+ }, {
17383
+ "name" : "model_version",
17384
+ "annotations" : [ ],
17385
+ "attributes" : [ ],
17386
+ "type" : "string",
17387
+ "required" : true
17269
17388
  }, {
17270
17389
  "name" : "action",
17271
17390
  "annotations" : [ ],
@@ -17350,13 +17469,13 @@
17350
17469
  "annotations" : [ ],
17351
17470
  "attributes" : [ ],
17352
17471
  "type" : "string",
17353
- "required" : true
17472
+ "required" : false
17354
17473
  }, {
17355
- "name" : "model_version",
17474
+ "name" : "hs6_description",
17356
17475
  "annotations" : [ ],
17357
17476
  "attributes" : [ ],
17358
17477
  "type" : "string",
17359
- "required" : true
17478
+ "required" : false
17360
17479
  } ]
17361
17480
  }, {
17362
17481
  "plural" : "product_harmonization_forms",
@@ -17369,6 +17488,12 @@
17369
17488
  "attributes" : [ ],
17370
17489
  "type" : "product_labels",
17371
17490
  "required" : true
17491
+ }, {
17492
+ "name" : "customs_description",
17493
+ "annotations" : [ ],
17494
+ "attributes" : [ ],
17495
+ "type" : "string",
17496
+ "required" : false
17372
17497
  } ]
17373
17498
  }, {
17374
17499
  "plural" : "product_labelses",
@@ -18396,6 +18521,17 @@
18396
18521
  "type" : "[io.flow.reference.v0.models.country]",
18397
18522
  "required" : true
18398
18523
  } ]
18524
+ }, {
18525
+ "plural" : "resync_fallback_rates",
18526
+ "name" : "resync_fallback_rates",
18527
+ "attributes" : [ ],
18528
+ "fields" : [ {
18529
+ "name" : "destinations",
18530
+ "annotations" : [ ],
18531
+ "attributes" : [ ],
18532
+ "type" : "[io.flow.reference.v0.models.country]",
18533
+ "required" : true
18534
+ } ]
18399
18535
  }, {
18400
18536
  "plural" : "return_summaries",
18401
18537
  "name" : "return_summary",
@@ -18697,64 +18833,6 @@
18697
18833
  "type" : "string",
18698
18834
  "required" : true
18699
18835
  } ]
18700
- }, {
18701
- "plural" : "serial_reservations",
18702
- "name" : "serial_reservation",
18703
- "attributes" : [ ],
18704
- "fields" : [ {
18705
- "name" : "reservation_id",
18706
- "annotations" : [ ],
18707
- "attributes" : [ ],
18708
- "type" : "string",
18709
- "required" : true
18710
- }, {
18711
- "name" : "serials",
18712
- "annotations" : [ ],
18713
- "attributes" : [ ],
18714
- "type" : "[io.flow.inventory.v0.models.serial]",
18715
- "required" : true
18716
- }, {
18717
- "name" : "expires_at",
18718
- "annotations" : [ ],
18719
- "attributes" : [ ],
18720
- "type" : "date-time-iso8601",
18721
- "required" : true
18722
- } ]
18723
- }, {
18724
- "plural" : "serial_reservation_forms",
18725
- "name" : "serial_reservation_form",
18726
- "attributes" : [ ],
18727
- "fields" : [ {
18728
- "name" : "items",
18729
- "annotations" : [ ],
18730
- "attributes" : [ ],
18731
- "type" : "[serial_reservation_item]",
18732
- "required" : true
18733
- }, {
18734
- "name" : "duration",
18735
- "annotations" : [ ],
18736
- "attributes" : [ ],
18737
- "type" : "io.flow.common.v0.models.duration",
18738
- "required" : true
18739
- } ]
18740
- }, {
18741
- "plural" : "serial_reservation_items",
18742
- "name" : "serial_reservation_item",
18743
- "attributes" : [ ],
18744
- "fields" : [ {
18745
- "name" : "item_number",
18746
- "annotations" : [ ],
18747
- "attributes" : [ ],
18748
- "type" : "string",
18749
- "required" : true
18750
- }, {
18751
- "name" : "quantity",
18752
- "annotations" : [ ],
18753
- "attributes" : [ ],
18754
- "type" : "long",
18755
- "minimum" : 1,
18756
- "required" : true
18757
- } ]
18758
18836
  }, {
18759
18837
  "plural" : "session_countries",
18760
18838
  "name" : "session_countries",
@@ -22599,6 +22677,14 @@
22599
22677
  "discriminator_value" : "catalog_import_request",
22600
22678
  "attributes" : [ ],
22601
22679
  "type" : "catalog_import_request"
22680
+ }, {
22681
+ "discriminator_value" : "exclusion_rule_upserted",
22682
+ "attributes" : [ ],
22683
+ "type" : "exclusion_rule_upserted"
22684
+ }, {
22685
+ "discriminator_value" : "exclusion_rule_deleted",
22686
+ "attributes" : [ ],
22687
+ "type" : "exclusion_rule_deleted"
22602
22688
  }, {
22603
22689
  "discriminator_value" : "catalog_item_region_availabilities_published",
22604
22690
  "attributes" : [ ],
@@ -23062,6 +23148,10 @@
23062
23148
  "discriminator_value" : "resync_by_destinations",
23063
23149
  "attributes" : [ ],
23064
23150
  "type" : "resync_by_destinations"
23151
+ }, {
23152
+ "discriminator_value" : "resync_fallback_rates",
23153
+ "attributes" : [ ],
23154
+ "type" : "resync_fallback_rates"
23065
23155
  }, {
23066
23156
  "discriminator_value" : "shopify_shop_upserted",
23067
23157
  "attributes" : [ ],
@@ -24033,7 +24123,7 @@
24033
24123
  "application" : {
24034
24124
  "key" : "common"
24035
24125
  },
24036
- "version" : "0.8.80",
24126
+ "version" : "0.8.92",
24037
24127
  "enums" : [ "attribute_data_type", "availability_status", "calendar", "capability", "change_type", "currency_label_formatter", "currency_symbol_format", "day_of_week", "delivered_duty", "discount_target", "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", "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" ],
24038
24128
  "unions" : [ "discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule" ],
24039
24129
  "models" : [ "address", "billing_address", "catalog_item_reference", "catalog_item_summary", "checkout_reference", "contact", "customer_invoice", "customer_reference", "datetime_range", "dimension", "dimensions", "discount_form", "discount_offer_fixed", "discount_offer_percent", "discounts_form", "duration", "exception", "experience_summary", "included_levies", "input_form", "input_form_specification", "input_specification", "input_specification_limitation_max", "input_specification_limitations", "item_reference", "line_item", "line_item_form", "margin", "measurement", "merchant_of_record_entity", "merchant_of_record_entity_registration", "money", "money_with_base", "money_with_optional_base", "name", "order_customer", "order_customer_form", "organization", "organization_defaults", "organization_reference", "organization_summary", "partner_reference", "price", "price_form", "price_source_catalog", "price_source_price_book", "price_source_price_book_reference", "price_source_provided", "price_with_base", "repeat_daily", "repeat_hourly", "repeat_monthly", "repeat_weekly", "rounding", "schedule", "session_reference", "user", "user_reference", "zone" ],
@@ -24061,10 +24151,10 @@
24061
24151
  "application" : {
24062
24152
  "key" : "inventory"
24063
24153
  },
24064
- "version" : "0.8.80",
24065
- "enums" : [ "aggregate", "inventory_status", "serial_status", "update_type" ],
24154
+ "version" : "0.8.94",
24155
+ "enums" : [ "aggregate", "inventory_status", "update_type" ],
24066
24156
  "unions" : [ "inventory_strategy", "reservation_error" ],
24067
- "models" : [ "external_api_timeout_reservation_error", "generic_reservation_error", "inventory_backorder", "inventory_center_reference", "inventory_check_response", "inventory_check_response_item", "inventory_experience_reference", "inventory_item_reference", "inventory_request", "inventory_request_item", "inventory_rule", "inventory_rule_form", "inventory_rule_version", "inventory_snapshot", "inventory_snapshot_version", "inventory_stock", "inventory_unlimited", "inventory_update", "inventory_update_form", "inventory_update_version", "no_inventory_reservation_error", "no_inventory_reservation_error_item", "pfs_inventory_check_response", "pfs_inventory_check_response_item", "pfs_inventory_status", "reservation", "reservation_form", "reservation_item", "reservation_item_form", "reservation_item_reference", "reservation_order_reference", "serial", "serial_form", "serial_version" ],
24157
+ "models" : [ "external_api_timeout_reservation_error", "generic_reservation_error", "inventory_backorder", "inventory_center_reference", "inventory_check_response", "inventory_check_response_item", "inventory_experience_reference", "inventory_item_reference", "inventory_request", "inventory_request_item", "inventory_rule", "inventory_rule_form", "inventory_rule_version", "inventory_snapshot", "inventory_snapshot_version", "inventory_stock", "inventory_unlimited", "inventory_update", "inventory_update_form", "inventory_update_version", "no_inventory_reservation_error", "no_inventory_reservation_error_item", "pfs_inventory_check_response", "pfs_inventory_check_response_item", "pfs_inventory_status", "reservation", "reservation_form", "reservation_item", "reservation_item_form", "reservation_item_reference", "reservation_order_reference" ],
24068
24158
  "annotations" : [ ]
24069
24159
  }, {
24070
24160
  "uri" : "https://app.apibuilder.io/flow/permission/latest/service.json",
@@ -27034,6 +27124,20 @@
27034
27124
  "unions" : [ "allocation_component", "allocation_detail", "expandable_experience", "expandable_order", "order_number_generator", "order_promotion", "order_promotion_form", "payment_method_tag", "promotion" ],
27035
27125
  "models" : [ "address_configuration", "address_configuration_province", "address_configuration_province_translation", "address_configuration_province_translation_locale", "address_field_validation", "allocation", "allocation_detail_component", "allocation_levy_component", "allocation_line_detail", "allocation_order_detail", "allocation_order_summary", "allocation_v2", "available_promotion", "checkout_attribute", "checkout_attribute_form", "checkout_item_content", "checkout_item_content_attribute", "checkout_settings", "credit_payment", "credit_payment_error", "credit_payment_form", "credit_payment_version", "delivered_duty_setting", "discount", "experience", "experience_checkout_settings", "experience_checkout_settings_form", "experience_clone", "experience_clone_form", "experience_configuration_reference", "experience_currency_format", "experience_currency_format_form", "experience_defaults", "experience_form", "experience_geo", "experience_logistics_settings", "experience_logistics_settings_put_form", "experience_logistics_summary", "experience_logistics_tier_summary", "experience_logistics_tier_summary_prices", "experience_overview", "experience_payment_method_rule_form", "experience_price_book_mapping", "experience_price_book_mapping_form", "experience_price_book_mapping_put_form", "experience_price_conversion", "experience_price_conversion_request", "experience_price_conversion_response", "experience_price_facet_conversion", "experience_price_facet_conversion_request", "experience_price_facet_conversion_response", "experience_reference", "experience_settings", "experience_status_form", "experience_version", "free_shipping", "free_shipping_order_promotion", "free_shipping_order_promotion_form", "item_margin", "item_margin_post_form", "item_margin_put_form", "item_margin_version", "line", "localized_line_item", "localized_line_item_discount", "logistics_settings", "order", "order_address", "order_builder", "order_builder_attributes_form", "order_builder_customer_invoice_address_form", "order_builder_delivered_duty_form", "order_builder_destination_country_form", "order_builder_destination_form", "order_destination_put_form", "order_error", "order_estimate", "order_estimate_form", "order_form", "order_geo", "order_identifier", "order_identifier_form", "order_identifier_put_form", "order_identifier_version", "order_number_generator_defaults", "order_number_generator_fixed_length", "order_number_generator_hexadecimal", "order_number_generator_prefix_suffix", "order_number_generator_uuid", "order_number_reference", "order_options", "order_payment", "order_promotion_trigger", "order_put_form", "order_reference", "order_rule_reference", "order_rules_summary", "order_service_change", "order_service_change_form", "order_service_change_request_data", "order_submission_form", "order_submission_identifier_form", "order_summary", "order_summary_image", "order_summary_item", "order_summary_levy", "order_summary_line_item", "order_summary_price_detail", "order_version", "order_with_discounts_form", "original_prices", "payment_method_issuer", "payment_method_rule", "payment_method_rule_content", "pricing_settings", "promotion_trigger", "promotion_trigger_form", "promotions", "region_reference", "value_threshold_exceeded_details" ],
27036
27126
  "annotations" : [ ]
27127
+ }, {
27128
+ "uri" : "https://app.apibuilder.io/flow/catalog-exclusion/latest/service.json",
27129
+ "namespace" : "io.flow.catalog.exclusion.v0",
27130
+ "organization" : {
27131
+ "key" : "flow"
27132
+ },
27133
+ "application" : {
27134
+ "key" : "catalog-exclusion"
27135
+ },
27136
+ "version" : "0.8.80",
27137
+ "enums" : [ "exclusion_rule_state" ],
27138
+ "unions" : [ ],
27139
+ "models" : [ "exclusion_rule", "exclusion_rule_form", "exclusion_rule_statistic", "exclusion_rule_version" ],
27140
+ "annotations" : [ ]
27037
27141
  }, {
27038
27142
  "uri" : "https://app.apibuilder.io/flow/catalog-internal/latest/service.json",
27039
27143
  "namespace" : "io.flow.catalog.internal.v0",
@@ -27057,10 +27161,10 @@
27057
27161
  "application" : {
27058
27162
  "key" : "catalog"
27059
27163
  },
27060
- "version" : "0.8.81",
27164
+ "version" : "0.8.90",
27061
27165
  "enums" : [ "adjustment_reason_key", "attribute_intent", "fulfillment_method_type", "fulfillment_method_value", "image_tag", "query_type", "subcatalog_item_status", "taxability_type", "taxability_value", "update_policy" ],
27062
27166
  "unions" : [ "expandable_subcatalog", "localized_price" ],
27063
- "models" : [ "adjustment_reason", "attribute", "attribute_form", "attribute_version", "catalog", "catalog_reference", "catalog_statistics", "catalog_version", "flow_item_index_metadata", "image", "image_form", "item", "item_attributes_patch_form", "item_form", "item_form_overlay", "item_form_overlay_form", "item_price_update_form", "item_price_update_put_form", "item_statistics", "item_version", "local", "localized_adjustment", "localized_item_duty", "localized_item_price", "localized_item_vat", "localized_total", "options", "subcatalog", "subcatalog_form", "subcatalog_item", "subcatalog_item_version", "subcatalog_query", "subcatalog_query_form", "subcatalog_query_validation", "subcatalog_reference", "subcatalog_settings", "subcatalog_settings_form", "subcatalog_statistics", "subcatalog_version", "targeting", "targeting_form", "targeting_item", "targeting_query", "targeting_query_form", "targeting_summary", "targeting_version" ],
27167
+ "models" : [ "adjustment_reason", "attribute", "attribute_form", "attribute_version", "catalog", "catalog_reference", "catalog_statistics", "catalog_version", "flow_item_index_metadata", "image", "image_form", "item", "item_attributes_patch_form", "item_form", "item_form_overlay", "item_form_overlay_form", "item_price_update_form", "item_price_update_put_form", "item_statistics", "item_version", "local", "localized_adjustment", "localized_item_duty", "localized_item_price", "localized_item_vat", "localized_total", "options", "subcatalog", "subcatalog_form", "subcatalog_item", "subcatalog_item_version", "subcatalog_query", "subcatalog_query_form", "subcatalog_query_validation", "subcatalog_reference", "subcatalog_settings", "subcatalog_settings_form", "subcatalog_statistics", "subcatalog_version" ],
27064
27168
  "annotations" : [ ]
27065
27169
  }, {
27066
27170
  "uri" : "https://app.apibuilder.io/flow/common/latest/service.json",
@@ -27141,10 +27245,10 @@
27141
27245
  "application" : {
27142
27246
  "key" : "harmonization-internal"
27143
27247
  },
27144
- "version" : "0.8.16",
27145
- "enums" : [ "item_classification_action", "item_classification_status", "item_type" ],
27146
- "unions" : [ "task_data" ],
27147
- "models" : [ "blacklisted_item", "classification_item", "classification_product", "classification_product_id", "classification_product_summary", "classification_product_summary_page", "classified_product", "customs", "customs_description_suggestion", "customs_description_tariff_code_duty", "customs_description_tariff_code_duty_form", "duties", "harmonization_countries", "harmonization_statistics", "harmonization_statistics_breakout", "harmonization_summary", "item_harmonization", "item_harmonization_summary", "levies", "levies_address", "levies_form", "levies_item", "product_classification_judgement_form", "product_classification_result", "search_item_hs6_code", "tariff_code_duty", "task_import", "task_item_upserted", "task_process_queued_event", "task_summarize_code", "unclassified_products_form", "unphrased_products_export", "vies_result" ],
27248
+ "version" : "0.8.57",
27249
+ "enums" : [ "empty_attribute", "item_classification_action", "item_classification_status", "item_type", "product_classification_action", "unclassified_product_status" ],
27250
+ "unions" : [ "classification_label_attribute", "task_data" ],
27251
+ "models" : [ "allowed_labels", "attribute_label", "blacklisted_item", "classification_item", "classification_product", "classification_product_id", "classification_product_summary", "classification_product_summary_page", "classified_product", "customs", "customs_description_suggestion", "customs_description_tariff_code_duty", "customs_description_tariff_code_duty_form", "duties", "harmonization_countries", "harmonization_statistics", "harmonization_statistics_breakout", "harmonization_summary", "item_harmonization", "item_harmonization_summary", "label_aliases", "label_association", "label_taxonomy", "levies", "levies_address", "levies_form", "levies_item", "product_classification", "product_classification_form", "product_classification_judgement_form", "product_classification_result", "product_harmonization", "product_harmonization_form", "product_labels", "search_item_hs6_code", "supported_labels", "tariff_code_duty", "task_import", "task_item_upserted", "task_process_queued_event", "task_summarize_code", "unclassified_products_form", "unphrased_products_export", "vies_result" ],
27148
27252
  "annotations" : [ ]
27149
27253
  }, {
27150
27254
  "uri" : "https://app.apibuilder.io/flow/price/latest/service.json",
@@ -47635,6 +47739,15 @@
47635
47739
  "description" : "Successful response",
47636
47740
  "attributes" : [ ],
47637
47741
  "type" : "product_classification"
47742
+ }, {
47743
+ "code" : {
47744
+ "integer" : {
47745
+ "value" : 404
47746
+ }
47747
+ },
47748
+ "description" : "Resource was not found",
47749
+ "attributes" : [ ],
47750
+ "type" : "io.flow.error.v0.models.generic_error"
47638
47751
  }, {
47639
47752
  "code" : {
47640
47753
  "integer" : {
@@ -47713,6 +47826,44 @@
47713
47826
  "type" : "string",
47714
47827
  "required" : true
47715
47828
  } ]
47829
+ }, {
47830
+ "path" : "/product_classifications/refresh_default_hs6",
47831
+ "method" : "GET",
47832
+ "responses" : [ {
47833
+ "code" : {
47834
+ "integer" : {
47835
+ "value" : 200
47836
+ }
47837
+ },
47838
+ "description" : "Successful response",
47839
+ "attributes" : [ ],
47840
+ "type" : "customs_description_statistics"
47841
+ }, {
47842
+ "code" : {
47843
+ "integer" : {
47844
+ "value" : 401
47845
+ }
47846
+ },
47847
+ "description" : "Authorization failed",
47848
+ "attributes" : [ ],
47849
+ "type" : "unit"
47850
+ }, {
47851
+ "code" : {
47852
+ "integer" : {
47853
+ "value" : 422
47854
+ }
47855
+ },
47856
+ "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.",
47857
+ "attributes" : [ ],
47858
+ "type" : "io.flow.error.v0.models.generic_error"
47859
+ } ],
47860
+ "attributes" : [ ],
47861
+ "parameters" : [ {
47862
+ "name" : "dry_run",
47863
+ "location" : "Query",
47864
+ "type" : "boolean",
47865
+ "required" : true
47866
+ } ]
47716
47867
  } ],
47717
47868
  "description" : "Label based product classification endpoints",
47718
47869
  "attributes" : [ {
@@ -48607,120 +48758,6 @@
48607
48758
  }
48608
48759
  } ],
48609
48760
  "type" : "secret_config"
48610
- }, {
48611
- "path" : "/:organization/inventory/serial-reservations",
48612
- "plural" : "serial_reservations",
48613
- "operations" : [ {
48614
- "path" : "/:organization/inventory/serial-reservations",
48615
- "method" : "POST",
48616
- "responses" : [ {
48617
- "code" : {
48618
- "integer" : {
48619
- "value" : 201
48620
- }
48621
- },
48622
- "description" : "Operation succeeded and the resource was created",
48623
- "attributes" : [ ],
48624
- "type" : "serial_reservation"
48625
- }, {
48626
- "code" : {
48627
- "integer" : {
48628
- "value" : 401
48629
- }
48630
- },
48631
- "description" : "Authorization failed",
48632
- "attributes" : [ ],
48633
- "type" : "unit"
48634
- }, {
48635
- "code" : {
48636
- "integer" : {
48637
- "value" : 422
48638
- }
48639
- },
48640
- "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.",
48641
- "attributes" : [ ],
48642
- "type" : "serial_reservation_error"
48643
- } ],
48644
- "description" : "Creates a reservation with the specified duration",
48645
- "attributes" : [ ],
48646
- "body" : {
48647
- "attributes" : [ ],
48648
- "type" : "serial_reservation_form"
48649
- },
48650
- "parameters" : [ {
48651
- "name" : "organization",
48652
- "description" : "Refers to your organization's account identifier",
48653
- "location" : "Path",
48654
- "type" : "string",
48655
- "required" : true
48656
- } ]
48657
- }, {
48658
- "path" : "/:organization/inventory/serial-reservations/:id",
48659
- "method" : "PUT",
48660
- "responses" : [ {
48661
- "code" : {
48662
- "integer" : {
48663
- "value" : 200
48664
- }
48665
- },
48666
- "description" : "Successful response",
48667
- "attributes" : [ ],
48668
- "type" : "serial_reservation"
48669
- }, {
48670
- "code" : {
48671
- "integer" : {
48672
- "value" : 401
48673
- }
48674
- },
48675
- "description" : "Authorization failed",
48676
- "attributes" : [ ],
48677
- "type" : "unit"
48678
- }, {
48679
- "code" : {
48680
- "integer" : {
48681
- "value" : 404
48682
- }
48683
- },
48684
- "description" : "Resource was not found",
48685
- "attributes" : [ ],
48686
- "type" : "unit"
48687
- }, {
48688
- "code" : {
48689
- "integer" : {
48690
- "value" : 422
48691
- }
48692
- },
48693
- "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.",
48694
- "attributes" : [ ],
48695
- "type" : "serial_reservation_error"
48696
- } ],
48697
- "description" : "Updates a reservation, ensuring it does not expire within the request duration",
48698
- "attributes" : [ ],
48699
- "body" : {
48700
- "attributes" : [ ],
48701
- "type" : "serial_reservation_form"
48702
- },
48703
- "parameters" : [ {
48704
- "name" : "organization",
48705
- "description" : "Refers to your organization's account identifier",
48706
- "location" : "Path",
48707
- "type" : "string",
48708
- "required" : true
48709
- }, {
48710
- "name" : "id",
48711
- "description" : "Filter by one or more IDs of this resource",
48712
- "location" : "Path",
48713
- "type" : "string",
48714
- "required" : true
48715
- } ]
48716
- } ],
48717
- "attributes" : [ {
48718
- "name" : "docs",
48719
- "value" : {
48720
- "module" : "general"
48721
- }
48722
- } ],
48723
- "type" : "serial_reservation"
48724
48761
  }, {
48725
48762
  "path" : "/:organization/session/countries",
48726
48763
  "plural" : "session_countries",
@@ -52115,6 +52152,12 @@
52115
52152
  }, {
52116
52153
  "name" : "catalog_import_request",
52117
52154
  "attributes" : [ ]
52155
+ }, {
52156
+ "name" : "exclusion_rule_upserted",
52157
+ "attributes" : [ ]
52158
+ }, {
52159
+ "name" : "exclusion_rule_deleted",
52160
+ "attributes" : [ ]
52118
52161
  }, {
52119
52162
  "name" : "catalog_item_region_availabilities_published",
52120
52163
  "attributes" : [ ]
@@ -52460,6 +52503,9 @@
52460
52503
  }, {
52461
52504
  "name" : "resync_by_destinations",
52462
52505
  "attributes" : [ ]
52506
+ }, {
52507
+ "name" : "resync_fallback_rates",
52508
+ "attributes" : [ ]
52463
52509
  }, {
52464
52510
  "name" : "shopify_shop_upserted",
52465
52511
  "attributes" : [ ]