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

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.
@@ -6629,6 +6629,66 @@
6629
6629
  "type": "[string]",
6630
6630
  "required": true
6631
6631
  }]
6632
+ }, {
6633
+ "plural": "exclusion_rule_deleteds",
6634
+ "name": "exclusion_rule_deleted",
6635
+ "attributes": [],
6636
+ "fields": [{
6637
+ "name": "event_id",
6638
+ "annotations": [],
6639
+ "attributes": [],
6640
+ "type": "string",
6641
+ "required": true
6642
+ }, {
6643
+ "name": "timestamp",
6644
+ "annotations": [],
6645
+ "attributes": [],
6646
+ "type": "date-time-iso8601",
6647
+ "required": true
6648
+ }, {
6649
+ "name": "organization",
6650
+ "annotations": [],
6651
+ "description": "Refers to your organization's account identifier",
6652
+ "attributes": [],
6653
+ "type": "string",
6654
+ "required": true
6655
+ }, {
6656
+ "name": "exclusion_rule",
6657
+ "annotations": [],
6658
+ "attributes": [],
6659
+ "type": "io.flow.catalog.exclusion.v0.models.exclusion_rule",
6660
+ "required": true
6661
+ }]
6662
+ }, {
6663
+ "plural": "exclusion_rule_upserteds",
6664
+ "name": "exclusion_rule_upserted",
6665
+ "attributes": [],
6666
+ "fields": [{
6667
+ "name": "event_id",
6668
+ "annotations": [],
6669
+ "attributes": [],
6670
+ "type": "string",
6671
+ "required": true
6672
+ }, {
6673
+ "name": "timestamp",
6674
+ "annotations": [],
6675
+ "attributes": [],
6676
+ "type": "date-time-iso8601",
6677
+ "required": true
6678
+ }, {
6679
+ "name": "organization",
6680
+ "annotations": [],
6681
+ "description": "Refers to your organization's account identifier",
6682
+ "attributes": [],
6683
+ "type": "string",
6684
+ "required": true
6685
+ }, {
6686
+ "name": "exclusion_rule",
6687
+ "annotations": [],
6688
+ "attributes": [],
6689
+ "type": "io.flow.catalog.exclusion.v0.models.exclusion_rule",
6690
+ "required": true
6691
+ }]
6632
6692
  }, {
6633
6693
  "plural": "expected_order_summaries",
6634
6694
  "name": "expected_order_summary",
@@ -17266,6 +17326,12 @@
17266
17326
  "attributes": [],
17267
17327
  "type": "product_harmonization",
17268
17328
  "required": true
17329
+ }, {
17330
+ "name": "model_version",
17331
+ "annotations": [],
17332
+ "attributes": [],
17333
+ "type": "string",
17334
+ "required": true
17269
17335
  }, {
17270
17336
  "name": "action",
17271
17337
  "annotations": [],
@@ -17350,13 +17416,13 @@
17350
17416
  "annotations": [],
17351
17417
  "attributes": [],
17352
17418
  "type": "string",
17353
- "required": true
17419
+ "required": false
17354
17420
  }, {
17355
- "name": "model_version",
17421
+ "name": "hs6_description",
17356
17422
  "annotations": [],
17357
17423
  "attributes": [],
17358
17424
  "type": "string",
17359
- "required": true
17425
+ "required": false
17360
17426
  }]
17361
17427
  }, {
17362
17428
  "plural": "product_harmonization_forms",
@@ -18697,64 +18763,6 @@
18697
18763
  "type": "string",
18698
18764
  "required": true
18699
18765
  }]
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
18766
  }, {
18759
18767
  "plural": "session_countries",
18760
18768
  "name": "session_countries",
@@ -22599,6 +22607,14 @@
22599
22607
  "discriminator_value": "catalog_import_request",
22600
22608
  "attributes": [],
22601
22609
  "type": "catalog_import_request"
22610
+ }, {
22611
+ "discriminator_value": "exclusion_rule_upserted",
22612
+ "attributes": [],
22613
+ "type": "exclusion_rule_upserted"
22614
+ }, {
22615
+ "discriminator_value": "exclusion_rule_deleted",
22616
+ "attributes": [],
22617
+ "type": "exclusion_rule_deleted"
22602
22618
  }, {
22603
22619
  "discriminator_value": "catalog_item_region_availabilities_published",
22604
22620
  "attributes": [],
@@ -24033,7 +24049,7 @@
24033
24049
  "application": {
24034
24050
  "key": "common"
24035
24051
  },
24036
- "version": "0.8.80",
24052
+ "version": "0.8.92",
24037
24053
  "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
24054
  "unions": ["discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule"],
24039
24055
  "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 +24077,10 @@
24061
24077
  "application": {
24062
24078
  "key": "inventory"
24063
24079
  },
24064
- "version": "0.8.80",
24065
- "enums": ["aggregate", "inventory_status", "serial_status", "update_type"],
24080
+ "version": "0.8.94",
24081
+ "enums": ["aggregate", "inventory_status", "update_type"],
24066
24082
  "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"],
24083
+ "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
24084
  "annotations": []
24069
24085
  }, {
24070
24086
  "uri": "https://app.apibuilder.io/flow/permission/latest/service.json",
@@ -27034,6 +27050,20 @@
27034
27050
  "unions": ["allocation_component", "allocation_detail", "expandable_experience", "expandable_order", "order_number_generator", "order_promotion", "order_promotion_form", "payment_method_tag", "promotion"],
27035
27051
  "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
27052
  "annotations": []
27053
+ }, {
27054
+ "uri": "https://app.apibuilder.io/flow/catalog-exclusion/latest/service.json",
27055
+ "namespace": "io.flow.catalog.exclusion.v0",
27056
+ "organization": {
27057
+ "key": "flow"
27058
+ },
27059
+ "application": {
27060
+ "key": "catalog-exclusion"
27061
+ },
27062
+ "version": "0.8.80",
27063
+ "enums": ["exclusion_rule_state"],
27064
+ "unions": [],
27065
+ "models": ["exclusion_rule", "exclusion_rule_form", "exclusion_rule_statistic", "exclusion_rule_version"],
27066
+ "annotations": []
27037
27067
  }, {
27038
27068
  "uri": "https://app.apibuilder.io/flow/catalog-internal/latest/service.json",
27039
27069
  "namespace": "io.flow.catalog.internal.v0",
@@ -27057,10 +27087,10 @@
27057
27087
  "application": {
27058
27088
  "key": "catalog"
27059
27089
  },
27060
- "version": "0.8.81",
27090
+ "version": "0.8.90",
27061
27091
  "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
27092
  "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"],
27093
+ "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
27094
  "annotations": []
27065
27095
  }, {
27066
27096
  "uri": "https://app.apibuilder.io/flow/common/latest/service.json",
@@ -47635,6 +47665,15 @@
47635
47665
  "description": "Successful response",
47636
47666
  "attributes": [],
47637
47667
  "type": "product_classification"
47668
+ }, {
47669
+ "code": {
47670
+ "integer": {
47671
+ "value": 404
47672
+ }
47673
+ },
47674
+ "description": "Resource was not found",
47675
+ "attributes": [],
47676
+ "type": "io.flow.error.v0.models.generic_error"
47638
47677
  }, {
47639
47678
  "code": {
47640
47679
  "integer": {
@@ -48607,120 +48646,6 @@
48607
48646
  }
48608
48647
  }],
48609
48648
  "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
48649
  }, {
48725
48650
  "path": "/:organization/session/countries",
48726
48651
  "plural": "session_countries",
@@ -52115,6 +52040,12 @@
52115
52040
  }, {
52116
52041
  "name": "catalog_import_request",
52117
52042
  "attributes": []
52043
+ }, {
52044
+ "name": "exclusion_rule_upserted",
52045
+ "attributes": []
52046
+ }, {
52047
+ "name": "exclusion_rule_deleted",
52048
+ "attributes": []
52118
52049
  }, {
52119
52050
  "name": "catalog_item_region_availabilities_published",
52120
52051
  "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.1",
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": "5f1812efa146eeb5c7f4804a2047883a9308f84d"
38
38
  }
@@ -6629,6 +6629,66 @@
6629
6629
  "type" : "[string]",
6630
6630
  "required" : true
6631
6631
  } ]
6632
+ }, {
6633
+ "plural" : "exclusion_rule_deleteds",
6634
+ "name" : "exclusion_rule_deleted",
6635
+ "attributes" : [ ],
6636
+ "fields" : [ {
6637
+ "name" : "event_id",
6638
+ "annotations" : [ ],
6639
+ "attributes" : [ ],
6640
+ "type" : "string",
6641
+ "required" : true
6642
+ }, {
6643
+ "name" : "timestamp",
6644
+ "annotations" : [ ],
6645
+ "attributes" : [ ],
6646
+ "type" : "date-time-iso8601",
6647
+ "required" : true
6648
+ }, {
6649
+ "name" : "organization",
6650
+ "annotations" : [ ],
6651
+ "description" : "Refers to your organization's account identifier",
6652
+ "attributes" : [ ],
6653
+ "type" : "string",
6654
+ "required" : true
6655
+ }, {
6656
+ "name" : "exclusion_rule",
6657
+ "annotations" : [ ],
6658
+ "attributes" : [ ],
6659
+ "type" : "io.flow.catalog.exclusion.v0.models.exclusion_rule",
6660
+ "required" : true
6661
+ } ]
6662
+ }, {
6663
+ "plural" : "exclusion_rule_upserteds",
6664
+ "name" : "exclusion_rule_upserted",
6665
+ "attributes" : [ ],
6666
+ "fields" : [ {
6667
+ "name" : "event_id",
6668
+ "annotations" : [ ],
6669
+ "attributes" : [ ],
6670
+ "type" : "string",
6671
+ "required" : true
6672
+ }, {
6673
+ "name" : "timestamp",
6674
+ "annotations" : [ ],
6675
+ "attributes" : [ ],
6676
+ "type" : "date-time-iso8601",
6677
+ "required" : true
6678
+ }, {
6679
+ "name" : "organization",
6680
+ "annotations" : [ ],
6681
+ "description" : "Refers to your organization's account identifier",
6682
+ "attributes" : [ ],
6683
+ "type" : "string",
6684
+ "required" : true
6685
+ }, {
6686
+ "name" : "exclusion_rule",
6687
+ "annotations" : [ ],
6688
+ "attributes" : [ ],
6689
+ "type" : "io.flow.catalog.exclusion.v0.models.exclusion_rule",
6690
+ "required" : true
6691
+ } ]
6632
6692
  }, {
6633
6693
  "plural" : "expected_order_summaries",
6634
6694
  "name" : "expected_order_summary",
@@ -17266,6 +17326,12 @@
17266
17326
  "attributes" : [ ],
17267
17327
  "type" : "product_harmonization",
17268
17328
  "required" : true
17329
+ }, {
17330
+ "name" : "model_version",
17331
+ "annotations" : [ ],
17332
+ "attributes" : [ ],
17333
+ "type" : "string",
17334
+ "required" : true
17269
17335
  }, {
17270
17336
  "name" : "action",
17271
17337
  "annotations" : [ ],
@@ -17350,13 +17416,13 @@
17350
17416
  "annotations" : [ ],
17351
17417
  "attributes" : [ ],
17352
17418
  "type" : "string",
17353
- "required" : true
17419
+ "required" : false
17354
17420
  }, {
17355
- "name" : "model_version",
17421
+ "name" : "hs6_description",
17356
17422
  "annotations" : [ ],
17357
17423
  "attributes" : [ ],
17358
17424
  "type" : "string",
17359
- "required" : true
17425
+ "required" : false
17360
17426
  } ]
17361
17427
  }, {
17362
17428
  "plural" : "product_harmonization_forms",
@@ -18697,64 +18763,6 @@
18697
18763
  "type" : "string",
18698
18764
  "required" : true
18699
18765
  } ]
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
18766
  }, {
18759
18767
  "plural" : "session_countries",
18760
18768
  "name" : "session_countries",
@@ -22599,6 +22607,14 @@
22599
22607
  "discriminator_value" : "catalog_import_request",
22600
22608
  "attributes" : [ ],
22601
22609
  "type" : "catalog_import_request"
22610
+ }, {
22611
+ "discriminator_value" : "exclusion_rule_upserted",
22612
+ "attributes" : [ ],
22613
+ "type" : "exclusion_rule_upserted"
22614
+ }, {
22615
+ "discriminator_value" : "exclusion_rule_deleted",
22616
+ "attributes" : [ ],
22617
+ "type" : "exclusion_rule_deleted"
22602
22618
  }, {
22603
22619
  "discriminator_value" : "catalog_item_region_availabilities_published",
22604
22620
  "attributes" : [ ],
@@ -24033,7 +24049,7 @@
24033
24049
  "application" : {
24034
24050
  "key" : "common"
24035
24051
  },
24036
- "version" : "0.8.80",
24052
+ "version" : "0.8.92",
24037
24053
  "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
24054
  "unions" : [ "discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule" ],
24039
24055
  "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 +24077,10 @@
24061
24077
  "application" : {
24062
24078
  "key" : "inventory"
24063
24079
  },
24064
- "version" : "0.8.80",
24065
- "enums" : [ "aggregate", "inventory_status", "serial_status", "update_type" ],
24080
+ "version" : "0.8.94",
24081
+ "enums" : [ "aggregate", "inventory_status", "update_type" ],
24066
24082
  "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" ],
24083
+ "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
24084
  "annotations" : [ ]
24069
24085
  }, {
24070
24086
  "uri" : "https://app.apibuilder.io/flow/permission/latest/service.json",
@@ -27034,6 +27050,20 @@
27034
27050
  "unions" : [ "allocation_component", "allocation_detail", "expandable_experience", "expandable_order", "order_number_generator", "order_promotion", "order_promotion_form", "payment_method_tag", "promotion" ],
27035
27051
  "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
27052
  "annotations" : [ ]
27053
+ }, {
27054
+ "uri" : "https://app.apibuilder.io/flow/catalog-exclusion/latest/service.json",
27055
+ "namespace" : "io.flow.catalog.exclusion.v0",
27056
+ "organization" : {
27057
+ "key" : "flow"
27058
+ },
27059
+ "application" : {
27060
+ "key" : "catalog-exclusion"
27061
+ },
27062
+ "version" : "0.8.80",
27063
+ "enums" : [ "exclusion_rule_state" ],
27064
+ "unions" : [ ],
27065
+ "models" : [ "exclusion_rule", "exclusion_rule_form", "exclusion_rule_statistic", "exclusion_rule_version" ],
27066
+ "annotations" : [ ]
27037
27067
  }, {
27038
27068
  "uri" : "https://app.apibuilder.io/flow/catalog-internal/latest/service.json",
27039
27069
  "namespace" : "io.flow.catalog.internal.v0",
@@ -27057,10 +27087,10 @@
27057
27087
  "application" : {
27058
27088
  "key" : "catalog"
27059
27089
  },
27060
- "version" : "0.8.81",
27090
+ "version" : "0.8.90",
27061
27091
  "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
27092
  "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" ],
27093
+ "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
27094
  "annotations" : [ ]
27065
27095
  }, {
27066
27096
  "uri" : "https://app.apibuilder.io/flow/common/latest/service.json",
@@ -47635,6 +47665,15 @@
47635
47665
  "description" : "Successful response",
47636
47666
  "attributes" : [ ],
47637
47667
  "type" : "product_classification"
47668
+ }, {
47669
+ "code" : {
47670
+ "integer" : {
47671
+ "value" : 404
47672
+ }
47673
+ },
47674
+ "description" : "Resource was not found",
47675
+ "attributes" : [ ],
47676
+ "type" : "io.flow.error.v0.models.generic_error"
47638
47677
  }, {
47639
47678
  "code" : {
47640
47679
  "integer" : {
@@ -48607,120 +48646,6 @@
48607
48646
  }
48608
48647
  } ],
48609
48648
  "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
48649
  }, {
48725
48650
  "path" : "/:organization/session/countries",
48726
48651
  "plural" : "session_countries",
@@ -52115,6 +52040,12 @@
52115
52040
  }, {
52116
52041
  "name" : "catalog_import_request",
52117
52042
  "attributes" : [ ]
52043
+ }, {
52044
+ "name" : "exclusion_rule_upserted",
52045
+ "attributes" : [ ]
52046
+ }, {
52047
+ "name" : "exclusion_rule_deleted",
52048
+ "attributes" : [ ]
52118
52049
  }, {
52119
52050
  "name" : "catalog_item_region_availabilities_published",
52120
52051
  "attributes" : [ ]