@flowio/api-internal-mock-generator 4.1.2 → 4.1.4

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.
@@ -4005,6 +4005,23 @@
4005
4005
  "type": "boolean",
4006
4006
  "required": true
4007
4007
  }]
4008
+ }, {
4009
+ "plural": "checkout_assets",
4010
+ "name": "checkout_asset",
4011
+ "attributes": [],
4012
+ "fields": [{
4013
+ "name": "url",
4014
+ "annotations": [],
4015
+ "attributes": [],
4016
+ "type": "string",
4017
+ "required": true
4018
+ }, {
4019
+ "name": "type",
4020
+ "annotations": [],
4021
+ "attributes": [],
4022
+ "type": "checkout_asset_type",
4023
+ "required": true
4024
+ }]
4008
4025
  }, {
4009
4026
  "plural": "checkout_behaviors",
4010
4027
  "name": "checkout_behavior",
@@ -4263,6 +4280,37 @@
4263
4280
  "type": "io.flow.checkout.configuration.v0.models.checkout_configuration",
4264
4281
  "required": true
4265
4282
  }]
4283
+ }, {
4284
+ "plural": "checkout_configuration_forms",
4285
+ "name": "checkout_configuration_form",
4286
+ "attributes": [],
4287
+ "fields": [{
4288
+ "name": "behavior",
4289
+ "annotations": [],
4290
+ "attributes": [],
4291
+ "type": "checkout_behavior",
4292
+ "required": true
4293
+ }, {
4294
+ "name": "settings",
4295
+ "annotations": [],
4296
+ "attributes": [],
4297
+ "type": "checkout_settings",
4298
+ "required": true
4299
+ }, {
4300
+ "name": "analytics",
4301
+ "annotations": [],
4302
+ "attributes": [],
4303
+ "type": "checkout_analytics",
4304
+ "required": false
4305
+ }, {
4306
+ "name": "domain",
4307
+ "annotations": [],
4308
+ "description": "The merchant's host domain for the checkout session",
4309
+ "attributes": [],
4310
+ "type": "string",
4311
+ "required": false,
4312
+ "example": "merchant.com"
4313
+ }]
4266
4314
  }, {
4267
4315
  "plural": "checkout_configuration_references",
4268
4316
  "name": "checkout_configuration_reference",
@@ -4771,6 +4819,28 @@
4771
4819
  "attributes": [],
4772
4820
  "type": "[string]",
4773
4821
  "required": false
4822
+ }, {
4823
+ "name": "locales",
4824
+ "annotations": [],
4825
+ "description": "Supported locales. Which are used to determine which languages are offered in checkout. Defined in https://api.flow.io/reference/locales",
4826
+ "attributes": [],
4827
+ "type": "[string]",
4828
+ "required": false,
4829
+ "example": "en-US"
4830
+ }, {
4831
+ "name": "urls",
4832
+ "annotations": [],
4833
+ "description": "Urls used in Checkout UI",
4834
+ "attributes": [],
4835
+ "type": "[checkout_url]",
4836
+ "required": false
4837
+ }, {
4838
+ "name": "assets",
4839
+ "annotations": [],
4840
+ "description": "Assets used in Checkout UI",
4841
+ "attributes": [],
4842
+ "type": "[checkout_asset]",
4843
+ "required": false
4774
4844
  }]
4775
4845
  }, {
4776
4846
  "plural": "checkout_source_order_forms",
@@ -4876,6 +4946,23 @@
4876
4946
  "type": "expected_order_summary",
4877
4947
  "required": false
4878
4948
  }]
4949
+ }, {
4950
+ "plural": "checkout_urls",
4951
+ "name": "checkout_url",
4952
+ "attributes": [],
4953
+ "fields": [{
4954
+ "name": "url",
4955
+ "annotations": [],
4956
+ "attributes": [],
4957
+ "type": "string",
4958
+ "required": true
4959
+ }, {
4960
+ "name": "type",
4961
+ "annotations": [],
4962
+ "attributes": [],
4963
+ "type": "checkout_url_type",
4964
+ "required": true
4965
+ }]
4879
4966
  }, {
4880
4967
  "plural": "ciphers",
4881
4968
  "name": "cipher",
@@ -4986,7 +5073,7 @@
4986
5073
  "annotations": [],
4987
5074
  "attributes": [],
4988
5075
  "type": "item_classification_status",
4989
- "required": true
5076
+ "required": false
4990
5077
  }, {
4991
5078
  "default": "[]",
4992
5079
  "name": "customs_description_suggestions",
@@ -5098,7 +5185,7 @@
5098
5185
  "annotations": [],
5099
5186
  "attributes": [],
5100
5187
  "type": "item_classification_status",
5101
- "required": true
5188
+ "required": false
5102
5189
  }, {
5103
5190
  "name": "suggestion_count",
5104
5191
  "annotations": [],
@@ -11438,45 +11525,6 @@
11438
11525
  "type": "map[decimal]",
11439
11526
  "required": true
11440
11527
  }]
11441
- }, {
11442
- "plural": "landed_cost_exports",
11443
- "name": "landed_cost_export",
11444
- "description": "Export landed cost items.",
11445
- "attributes": [],
11446
- "fields": [{
11447
- "name": "event_id",
11448
- "annotations": [],
11449
- "attributes": [],
11450
- "type": "string",
11451
- "required": true
11452
- }, {
11453
- "name": "timestamp",
11454
- "annotations": [],
11455
- "description": "The date/time of the request",
11456
- "attributes": [],
11457
- "type": "date-time-iso8601",
11458
- "required": true
11459
- }, {
11460
- "name": "organization",
11461
- "annotations": [],
11462
- "description": "Refers to your organization's account identifier",
11463
- "attributes": [],
11464
- "type": "string",
11465
- "required": true
11466
- }, {
11467
- "name": "export_id",
11468
- "annotations": [],
11469
- "attributes": [],
11470
- "type": "string",
11471
- "required": true
11472
- }, {
11473
- "name": "items",
11474
- "annotations": [],
11475
- "description": "The list of item numbers to include in the export",
11476
- "attributes": [],
11477
- "type": "[landed_cost_item]",
11478
- "required": true
11479
- }]
11480
11528
  }, {
11481
11529
  "plural": "landed_cost_items",
11482
11530
  "name": "landed_cost_item",
@@ -17358,12 +17406,14 @@
17358
17406
  }, {
17359
17407
  "name": "current_customs_description",
17360
17408
  "annotations": [],
17409
+ "description": "the previous customs description in case the product was previously classified",
17361
17410
  "attributes": [],
17362
17411
  "type": "string",
17363
17412
  "required": false
17364
17413
  }, {
17365
17414
  "name": "customs_description",
17366
17415
  "annotations": [],
17416
+ "description": "the customs description just computed by the classification model, if any",
17367
17417
  "attributes": [],
17368
17418
  "type": "string",
17369
17419
  "required": false
@@ -17410,6 +17460,13 @@
17410
17460
  "attributes": [],
17411
17461
  "type": "string",
17412
17462
  "required": true
17463
+ }, {
17464
+ "name": "user_id",
17465
+ "annotations": [],
17466
+ "description": "the user that submits the form as authenticated on Courthouse",
17467
+ "attributes": [],
17468
+ "type": "string",
17469
+ "required": true
17413
17470
  }]
17414
17471
  }, {
17415
17472
  "plural": "product_classification_judgement_forms",
@@ -22133,7 +22190,7 @@
22133
22190
  "name": "status",
22134
22191
  "annotations": [],
22135
22192
  "attributes": [],
22136
- "type": "unclassified_product_status",
22193
+ "type": "item_classification_status",
22137
22194
  "required": false
22138
22195
  }]
22139
22196
  }, {
@@ -22940,14 +22997,6 @@
22940
22997
  "discriminator_value": "unharmonized_items_export",
22941
22998
  "attributes": [],
22942
22999
  "type": "unharmonized_items_export"
22943
- }, {
22944
- "discriminator_value": "dutied_items_export",
22945
- "attributes": [],
22946
- "type": "dutied_items_export"
22947
- }, {
22948
- "discriminator_value": "landed_cost_export",
22949
- "attributes": [],
22950
- "type": "landed_cost_export"
22951
23000
  }, {
22952
23001
  "discriminator_value": "harmonization_phrase_suggestion_request_import",
22953
23002
  "attributes": [],
@@ -24877,7 +24926,7 @@
24877
24926
  "application": {
24878
24927
  "key": "common"
24879
24928
  },
24880
- "version": "0.8.95",
24929
+ "version": "0.8.97",
24881
24930
  "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"],
24882
24931
  "unions": ["discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule"],
24883
24932
  "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"],
@@ -24905,7 +24954,7 @@
24905
24954
  "application": {
24906
24955
  "key": "permission"
24907
24956
  },
24908
- "version": "0.8.95",
24957
+ "version": "0.8.97",
24909
24958
  "enums": ["authentication_technique", "flow_addon_role", "flow_behavior", "flow_user_role", "permitted_http_method"],
24910
24959
  "unions": ["flow_role"],
24911
24960
  "models": ["behavior_audit", "permission_audit", "permission_check", "permission_error", "permitted_route", "route_audit", "simple_permission_check"],
@@ -26557,7 +26606,7 @@
26557
26606
  "application": {
26558
26607
  "key": "common"
26559
26608
  },
26560
- "version": "0.8.95",
26609
+ "version": "0.8.97",
26561
26610
  "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"],
26562
26611
  "unions": ["discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule"],
26563
26612
  "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"],
@@ -26599,7 +26648,7 @@
26599
26648
  "application": {
26600
26649
  "key": "experience"
26601
26650
  },
26602
- "version": "0.8.95",
26651
+ "version": "0.8.97",
26603
26652
  "enums": ["credit_payment_error_code", "delivered_duty_display_type", "experience_clone_status", "experience_payment_method_tag", "experience_status", "order_error_code", "order_payment_type", "order_status", "order_storage", "organization_payment_method_tag", "payment_method_rule_content_key", "price_facet_boundary", "promotion_trigger_type"],
26604
26653
  "unions": ["allocation_component", "allocation_detail", "expandable_experience", "expandable_order", "order_number_generator", "order_promotion", "order_promotion_form", "payment_method_tag", "promotion"],
26605
26654
  "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"],
@@ -26627,7 +26676,7 @@
26627
26676
  "application": {
26628
26677
  "key": "permission"
26629
26678
  },
26630
- "version": "0.8.95",
26679
+ "version": "0.8.97",
26631
26680
  "enums": ["authentication_technique", "flow_addon_role", "flow_behavior", "flow_user_role", "permitted_http_method"],
26632
26681
  "unions": ["flow_role"],
26633
26682
  "models": ["behavior_audit", "permission_audit", "permission_check", "permission_error", "permitted_route", "route_audit", "simple_permission_check"],
@@ -27271,7 +27320,7 @@
27271
27320
  "application": {
27272
27321
  "key": "harmonization-internal"
27273
27322
  },
27274
- "version": "0.8.62",
27323
+ "version": "0.8.65",
27275
27324
  "enums": ["empty_attribute", "item_classification_action", "item_classification_status", "item_type", "product_classification_action", "unclassified_product_status"],
27276
27325
  "unions": ["classification_label_attribute", "task_data"],
27277
27326
  "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_statistics", "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"],
@@ -27285,7 +27334,7 @@
27285
27334
  "application": {
27286
27335
  "key": "price"
27287
27336
  },
27288
- "version": "0.8.80",
27337
+ "version": "0.8.95",
27289
27338
  "enums": ["levy_component", "levy_strategy", "price_accuracy", "price_detail_component_key", "price_detail_key", "pricing_levy_setting"],
27290
27339
  "unions": ["deminimis"],
27291
27340
  "models": ["currency_format", "deminimis_per_item", "deminimis_simple", "duty", "local_price_details", "price_book", "price_book_form", "price_book_item", "price_book_item_form", "price_book_item_query_form", "price_book_item_schedule", "price_book_reference", "price_check", "price_detail", "price_detail_component", "price_details", "price_equation", "pricing", "tax"],
@@ -27299,7 +27348,7 @@
27299
27348
  "application": {
27300
27349
  "key": "reference"
27301
27350
  },
27302
- "version": "0.8.80",
27351
+ "version": "0.8.95",
27303
27352
  "enums": ["payment_method_type", "province_type"],
27304
27353
  "unions": [],
27305
27354
  "models": ["carrier", "carrier_service", "country", "currency", "currency_symbols", "language", "locale", "locale_numbers", "localized_translation", "payment_method", "payment_method_image", "payment_method_images", "province", "region", "timezone"],
@@ -31477,6 +31526,82 @@
31477
31526
  "type": "string",
31478
31527
  "required": true
31479
31528
  }]
31529
+ }, {
31530
+ "path": "/:organization/checkout/configurations",
31531
+ "method": "POST",
31532
+ "responses": [{
31533
+ "code": {
31534
+ "integer": {
31535
+ "value": 200
31536
+ }
31537
+ },
31538
+ "description": "Successful response",
31539
+ "attributes": [],
31540
+ "type": "checkout_configuration"
31541
+ }, {
31542
+ "code": {
31543
+ "integer": {
31544
+ "value": 201
31545
+ }
31546
+ },
31547
+ "description": "Operation succeeded and the resource was created",
31548
+ "attributes": [],
31549
+ "type": "checkout_configuration"
31550
+ }, {
31551
+ "code": {
31552
+ "integer": {
31553
+ "value": 401
31554
+ }
31555
+ },
31556
+ "description": "Authorization failed",
31557
+ "attributes": [],
31558
+ "type": "unit"
31559
+ }, {
31560
+ "code": {
31561
+ "integer": {
31562
+ "value": 403
31563
+ }
31564
+ },
31565
+ "attributes": [],
31566
+ "type": "io.flow.permission.v0.models.permission_error"
31567
+ }, {
31568
+ "code": {
31569
+ "integer": {
31570
+ "value": 404
31571
+ }
31572
+ },
31573
+ "description": "Resource was not found",
31574
+ "attributes": [],
31575
+ "type": "unit"
31576
+ }, {
31577
+ "code": {
31578
+ "integer": {
31579
+ "value": 422
31580
+ }
31581
+ },
31582
+ "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.",
31583
+ "attributes": [],
31584
+ "type": "io.flow.error.v0.models.generic_error"
31585
+ }],
31586
+ "description": "Create a new checkout configuration",
31587
+ "attributes": [{
31588
+ "name": "auth",
31589
+ "value": {
31590
+ "techniques": ["user", "token"],
31591
+ "roles": ["organization_admin"]
31592
+ }
31593
+ }],
31594
+ "body": {
31595
+ "attributes": [],
31596
+ "type": "checkout_configuration_form"
31597
+ },
31598
+ "parameters": [{
31599
+ "name": "organization",
31600
+ "description": "Refers to your organization's account identifier",
31601
+ "location": "Path",
31602
+ "type": "string",
31603
+ "required": true
31604
+ }]
31480
31605
  }, {
31481
31606
  "path": "/:organization/checkout/configurations/:id",
31482
31607
  "method": "GET",
@@ -31537,6 +31662,142 @@
31537
31662
  "type": "string",
31538
31663
  "required": true
31539
31664
  }]
31665
+ }, {
31666
+ "path": "/:organization/checkout/configurations/:id",
31667
+ "method": "PUT",
31668
+ "responses": [{
31669
+ "code": {
31670
+ "integer": {
31671
+ "value": 200
31672
+ }
31673
+ },
31674
+ "description": "Successful response",
31675
+ "attributes": [],
31676
+ "type": "checkout_configuration"
31677
+ }, {
31678
+ "code": {
31679
+ "integer": {
31680
+ "value": 401
31681
+ }
31682
+ },
31683
+ "description": "Authorization failed",
31684
+ "attributes": [],
31685
+ "type": "unit"
31686
+ }, {
31687
+ "code": {
31688
+ "integer": {
31689
+ "value": 403
31690
+ }
31691
+ },
31692
+ "attributes": [],
31693
+ "type": "io.flow.permission.v0.models.permission_error"
31694
+ }, {
31695
+ "code": {
31696
+ "integer": {
31697
+ "value": 404
31698
+ }
31699
+ },
31700
+ "description": "Resource was not found",
31701
+ "attributes": [],
31702
+ "type": "unit"
31703
+ }, {
31704
+ "code": {
31705
+ "integer": {
31706
+ "value": 422
31707
+ }
31708
+ },
31709
+ "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.",
31710
+ "attributes": [],
31711
+ "type": "io.flow.error.v0.models.generic_error"
31712
+ }],
31713
+ "description": "Update an existing checkout configuration",
31714
+ "attributes": [{
31715
+ "name": "auth",
31716
+ "value": {
31717
+ "techniques": ["user", "token"],
31718
+ "roles": ["organization_admin"]
31719
+ }
31720
+ }],
31721
+ "body": {
31722
+ "attributes": [],
31723
+ "type": "checkout_configuration_form"
31724
+ },
31725
+ "parameters": [{
31726
+ "name": "organization",
31727
+ "description": "Refers to your organization's account identifier",
31728
+ "location": "Path",
31729
+ "type": "string",
31730
+ "required": true
31731
+ }, {
31732
+ "name": "id",
31733
+ "description": "Filter by one or more IDs of this resource",
31734
+ "location": "Path",
31735
+ "type": "string",
31736
+ "required": true
31737
+ }]
31738
+ }, {
31739
+ "path": "/:organization/checkout/configurations/:id",
31740
+ "method": "DELETE",
31741
+ "responses": [{
31742
+ "code": {
31743
+ "integer": {
31744
+ "value": 204
31745
+ }
31746
+ },
31747
+ "description": "Operation succeeded. No content is returned",
31748
+ "attributes": [],
31749
+ "type": "unit"
31750
+ }, {
31751
+ "code": {
31752
+ "integer": {
31753
+ "value": 401
31754
+ }
31755
+ },
31756
+ "description": "Authorization failed",
31757
+ "attributes": [],
31758
+ "type": "unit"
31759
+ }, {
31760
+ "code": {
31761
+ "integer": {
31762
+ "value": 403
31763
+ }
31764
+ },
31765
+ "attributes": [],
31766
+ "type": "io.flow.permission.v0.models.permission_error"
31767
+ }, {
31768
+ "code": {
31769
+ "integer": {
31770
+ "value": 404
31771
+ }
31772
+ },
31773
+ "description": "Resource was not found",
31774
+ "attributes": [],
31775
+ "type": "unit"
31776
+ }, {
31777
+ "code": {
31778
+ "integer": {
31779
+ "value": 422
31780
+ }
31781
+ },
31782
+ "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.",
31783
+ "attributes": [],
31784
+ "type": "io.flow.error.v0.models.generic_error"
31785
+ }],
31786
+ "description": "Removes an existing checkout configuration",
31787
+ "attributes": [],
31788
+ "parameters": [{
31789
+ "name": "organization",
31790
+ "description": "Refers to your organization's account identifier",
31791
+ "location": "Path",
31792
+ "type": "string",
31793
+ "required": true
31794
+ }, {
31795
+ "name": "id",
31796
+ "description": "Filter by one or more IDs of this resource",
31797
+ "location": "Path",
31798
+ "type": "string",
31799
+ "required": true
31800
+ }]
31540
31801
  }],
31541
31802
  "attributes": [{
31542
31803
  "name": "docs",
@@ -32086,7 +32347,7 @@
32086
32347
  "name": "status",
32087
32348
  "location": "Query",
32088
32349
  "type": "item_classification_status",
32089
- "required": true
32350
+ "required": false
32090
32351
  }, {
32091
32352
  "name": "cursor",
32092
32353
  "location": "Query",
@@ -51938,6 +52199,17 @@
51938
52199
  "name": "chargeback_process_status",
51939
52200
  "description": "Indicates whether the state of a chargeback is likely to change.",
51940
52201
  "attributes": []
52202
+ }, {
52203
+ "plural": "checkout_asset_types",
52204
+ "values": [{
52205
+ "name": "stylesheet",
52206
+ "attributes": []
52207
+ }, {
52208
+ "name": "javascript",
52209
+ "attributes": []
52210
+ }],
52211
+ "name": "checkout_asset_type",
52212
+ "attributes": []
51941
52213
  }, {
51942
52214
  "plural": "checkout_error_codes",
51943
52215
  "values": [{
@@ -52023,6 +52295,20 @@
52023
52295
  "name": "checkout_shipping_method_prompt_behavior",
52024
52296
  "description": "Controls when we display the 'choose your shipping method' step of checkout",
52025
52297
  "attributes": []
52298
+ }, {
52299
+ "plural": "checkout_url_types",
52300
+ "values": [{
52301
+ "name": "continue_shopping",
52302
+ "attributes": []
52303
+ }, {
52304
+ "name": "confirmation",
52305
+ "attributes": []
52306
+ }, {
52307
+ "name": "invalid_checkout",
52308
+ "attributes": []
52309
+ }],
52310
+ "name": "checkout_url_type",
52311
+ "attributes": []
52026
52312
  }, {
52027
52313
  "plural": "content_element_types",
52028
52314
  "values": [{
@@ -52445,12 +52731,6 @@
52445
52731
  }, {
52446
52732
  "name": "unharmonized_items_export",
52447
52733
  "attributes": []
52448
- }, {
52449
- "name": "dutied_items_export",
52450
- "attributes": []
52451
- }, {
52452
- "name": "landed_cost_export",
52453
- "attributes": []
52454
52734
  }, {
52455
52735
  "name": "harmonization_phrase_suggestion_request_import",
52456
52736
  "attributes": []
@@ -52953,13 +53233,12 @@
52953
53233
  }, {
52954
53234
  "plural": "item_classification_statuses",
52955
53235
  "values": [{
52956
- "name": "Unclassified",
52957
- "attributes": []
52958
- }, {
52959
- "name": "Suggested",
53236
+ "name": "ignored",
53237
+ "description": "some items/products like services can't be classified and have to be ignored.",
52960
53238
  "attributes": []
52961
53239
  }, {
52962
- "name": "Classified",
53240
+ "name": "escalated",
53241
+ "description": "classification escalated to product/engineering team",
52963
53242
  "attributes": []
52964
53243
  }],
52965
53244
  "name": "item_classification_status",
@@ -53792,17 +54071,6 @@
53792
54071
  }],
53793
54072
  "name": "transfer_method",
53794
54073
  "attributes": []
53795
- }, {
53796
- "plural": "unclassified_product_statuses",
53797
- "values": [{
53798
- "name": "ignored",
53799
- "attributes": []
53800
- }, {
53801
- "name": "escalated",
53802
- "attributes": []
53803
- }],
53804
- "name": "unclassified_product_status",
53805
- "attributes": []
53806
54074
  }],
53807
54075
  "application": {
53808
54076
  "key": "api-internal"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-mock-generator",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
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": "dcac36c3412c16e8732d9c1c53d041c30fefedcc"
37
+ "gitHead": "f22b9ea4992185276b64e61d9fbb8bace1acf1bc"
38
38
  }
@@ -4005,6 +4005,23 @@
4005
4005
  "type" : "boolean",
4006
4006
  "required" : true
4007
4007
  } ]
4008
+ }, {
4009
+ "plural" : "checkout_assets",
4010
+ "name" : "checkout_asset",
4011
+ "attributes" : [ ],
4012
+ "fields" : [ {
4013
+ "name" : "url",
4014
+ "annotations" : [ ],
4015
+ "attributes" : [ ],
4016
+ "type" : "string",
4017
+ "required" : true
4018
+ }, {
4019
+ "name" : "type",
4020
+ "annotations" : [ ],
4021
+ "attributes" : [ ],
4022
+ "type" : "checkout_asset_type",
4023
+ "required" : true
4024
+ } ]
4008
4025
  }, {
4009
4026
  "plural" : "checkout_behaviors",
4010
4027
  "name" : "checkout_behavior",
@@ -4263,6 +4280,37 @@
4263
4280
  "type" : "io.flow.checkout.configuration.v0.models.checkout_configuration",
4264
4281
  "required" : true
4265
4282
  } ]
4283
+ }, {
4284
+ "plural" : "checkout_configuration_forms",
4285
+ "name" : "checkout_configuration_form",
4286
+ "attributes" : [ ],
4287
+ "fields" : [ {
4288
+ "name" : "behavior",
4289
+ "annotations" : [ ],
4290
+ "attributes" : [ ],
4291
+ "type" : "checkout_behavior",
4292
+ "required" : true
4293
+ }, {
4294
+ "name" : "settings",
4295
+ "annotations" : [ ],
4296
+ "attributes" : [ ],
4297
+ "type" : "checkout_settings",
4298
+ "required" : true
4299
+ }, {
4300
+ "name" : "analytics",
4301
+ "annotations" : [ ],
4302
+ "attributes" : [ ],
4303
+ "type" : "checkout_analytics",
4304
+ "required" : false
4305
+ }, {
4306
+ "name" : "domain",
4307
+ "annotations" : [ ],
4308
+ "description" : "The merchant's host domain for the checkout session",
4309
+ "attributes" : [ ],
4310
+ "type" : "string",
4311
+ "required" : false,
4312
+ "example" : "merchant.com"
4313
+ } ]
4266
4314
  }, {
4267
4315
  "plural" : "checkout_configuration_references",
4268
4316
  "name" : "checkout_configuration_reference",
@@ -4771,6 +4819,28 @@
4771
4819
  "attributes" : [ ],
4772
4820
  "type" : "[string]",
4773
4821
  "required" : false
4822
+ }, {
4823
+ "name" : "locales",
4824
+ "annotations" : [ ],
4825
+ "description" : "Supported locales. Which are used to determine which languages are offered in checkout. Defined in https://api.flow.io/reference/locales",
4826
+ "attributes" : [ ],
4827
+ "type" : "[string]",
4828
+ "required" : false,
4829
+ "example" : "en-US"
4830
+ }, {
4831
+ "name" : "urls",
4832
+ "annotations" : [ ],
4833
+ "description" : "Urls used in Checkout UI",
4834
+ "attributes" : [ ],
4835
+ "type" : "[checkout_url]",
4836
+ "required" : false
4837
+ }, {
4838
+ "name" : "assets",
4839
+ "annotations" : [ ],
4840
+ "description" : "Assets used in Checkout UI",
4841
+ "attributes" : [ ],
4842
+ "type" : "[checkout_asset]",
4843
+ "required" : false
4774
4844
  } ]
4775
4845
  }, {
4776
4846
  "plural" : "checkout_source_order_forms",
@@ -4876,6 +4946,23 @@
4876
4946
  "type" : "expected_order_summary",
4877
4947
  "required" : false
4878
4948
  } ]
4949
+ }, {
4950
+ "plural" : "checkout_urls",
4951
+ "name" : "checkout_url",
4952
+ "attributes" : [ ],
4953
+ "fields" : [ {
4954
+ "name" : "url",
4955
+ "annotations" : [ ],
4956
+ "attributes" : [ ],
4957
+ "type" : "string",
4958
+ "required" : true
4959
+ }, {
4960
+ "name" : "type",
4961
+ "annotations" : [ ],
4962
+ "attributes" : [ ],
4963
+ "type" : "checkout_url_type",
4964
+ "required" : true
4965
+ } ]
4879
4966
  }, {
4880
4967
  "plural" : "ciphers",
4881
4968
  "name" : "cipher",
@@ -4986,7 +5073,7 @@
4986
5073
  "annotations" : [ ],
4987
5074
  "attributes" : [ ],
4988
5075
  "type" : "item_classification_status",
4989
- "required" : true
5076
+ "required" : false
4990
5077
  }, {
4991
5078
  "default" : "[]",
4992
5079
  "name" : "customs_description_suggestions",
@@ -5098,7 +5185,7 @@
5098
5185
  "annotations" : [ ],
5099
5186
  "attributes" : [ ],
5100
5187
  "type" : "item_classification_status",
5101
- "required" : true
5188
+ "required" : false
5102
5189
  }, {
5103
5190
  "name" : "suggestion_count",
5104
5191
  "annotations" : [ ],
@@ -11438,45 +11525,6 @@
11438
11525
  "type" : "map[decimal]",
11439
11526
  "required" : true
11440
11527
  } ]
11441
- }, {
11442
- "plural" : "landed_cost_exports",
11443
- "name" : "landed_cost_export",
11444
- "description" : "Export landed cost items.",
11445
- "attributes" : [ ],
11446
- "fields" : [ {
11447
- "name" : "event_id",
11448
- "annotations" : [ ],
11449
- "attributes" : [ ],
11450
- "type" : "string",
11451
- "required" : true
11452
- }, {
11453
- "name" : "timestamp",
11454
- "annotations" : [ ],
11455
- "description" : "The date/time of the request",
11456
- "attributes" : [ ],
11457
- "type" : "date-time-iso8601",
11458
- "required" : true
11459
- }, {
11460
- "name" : "organization",
11461
- "annotations" : [ ],
11462
- "description" : "Refers to your organization's account identifier",
11463
- "attributes" : [ ],
11464
- "type" : "string",
11465
- "required" : true
11466
- }, {
11467
- "name" : "export_id",
11468
- "annotations" : [ ],
11469
- "attributes" : [ ],
11470
- "type" : "string",
11471
- "required" : true
11472
- }, {
11473
- "name" : "items",
11474
- "annotations" : [ ],
11475
- "description" : "The list of item numbers to include in the export",
11476
- "attributes" : [ ],
11477
- "type" : "[landed_cost_item]",
11478
- "required" : true
11479
- } ]
11480
11528
  }, {
11481
11529
  "plural" : "landed_cost_items",
11482
11530
  "name" : "landed_cost_item",
@@ -17358,12 +17406,14 @@
17358
17406
  }, {
17359
17407
  "name" : "current_customs_description",
17360
17408
  "annotations" : [ ],
17409
+ "description" : "the previous customs description in case the product was previously classified",
17361
17410
  "attributes" : [ ],
17362
17411
  "type" : "string",
17363
17412
  "required" : false
17364
17413
  }, {
17365
17414
  "name" : "customs_description",
17366
17415
  "annotations" : [ ],
17416
+ "description" : "the customs description just computed by the classification model, if any",
17367
17417
  "attributes" : [ ],
17368
17418
  "type" : "string",
17369
17419
  "required" : false
@@ -17410,6 +17460,13 @@
17410
17460
  "attributes" : [ ],
17411
17461
  "type" : "string",
17412
17462
  "required" : true
17463
+ }, {
17464
+ "name" : "user_id",
17465
+ "annotations" : [ ],
17466
+ "description" : "the user that submits the form as authenticated on Courthouse",
17467
+ "attributes" : [ ],
17468
+ "type" : "string",
17469
+ "required" : true
17413
17470
  } ]
17414
17471
  }, {
17415
17472
  "plural" : "product_classification_judgement_forms",
@@ -22133,7 +22190,7 @@
22133
22190
  "name" : "status",
22134
22191
  "annotations" : [ ],
22135
22192
  "attributes" : [ ],
22136
- "type" : "unclassified_product_status",
22193
+ "type" : "item_classification_status",
22137
22194
  "required" : false
22138
22195
  } ]
22139
22196
  }, {
@@ -22940,14 +22997,6 @@
22940
22997
  "discriminator_value" : "unharmonized_items_export",
22941
22998
  "attributes" : [ ],
22942
22999
  "type" : "unharmonized_items_export"
22943
- }, {
22944
- "discriminator_value" : "dutied_items_export",
22945
- "attributes" : [ ],
22946
- "type" : "dutied_items_export"
22947
- }, {
22948
- "discriminator_value" : "landed_cost_export",
22949
- "attributes" : [ ],
22950
- "type" : "landed_cost_export"
22951
23000
  }, {
22952
23001
  "discriminator_value" : "harmonization_phrase_suggestion_request_import",
22953
23002
  "attributes" : [ ],
@@ -24877,7 +24926,7 @@
24877
24926
  "application" : {
24878
24927
  "key" : "common"
24879
24928
  },
24880
- "version" : "0.8.95",
24929
+ "version" : "0.8.97",
24881
24930
  "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" ],
24882
24931
  "unions" : [ "discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule" ],
24883
24932
  "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" ],
@@ -24905,7 +24954,7 @@
24905
24954
  "application" : {
24906
24955
  "key" : "permission"
24907
24956
  },
24908
- "version" : "0.8.95",
24957
+ "version" : "0.8.97",
24909
24958
  "enums" : [ "authentication_technique", "flow_addon_role", "flow_behavior", "flow_user_role", "permitted_http_method" ],
24910
24959
  "unions" : [ "flow_role" ],
24911
24960
  "models" : [ "behavior_audit", "permission_audit", "permission_check", "permission_error", "permitted_route", "route_audit", "simple_permission_check" ],
@@ -26557,7 +26606,7 @@
26557
26606
  "application" : {
26558
26607
  "key" : "common"
26559
26608
  },
26560
- "version" : "0.8.95",
26609
+ "version" : "0.8.97",
26561
26610
  "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" ],
26562
26611
  "unions" : [ "discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule" ],
26563
26612
  "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" ],
@@ -26599,7 +26648,7 @@
26599
26648
  "application" : {
26600
26649
  "key" : "experience"
26601
26650
  },
26602
- "version" : "0.8.95",
26651
+ "version" : "0.8.97",
26603
26652
  "enums" : [ "credit_payment_error_code", "delivered_duty_display_type", "experience_clone_status", "experience_payment_method_tag", "experience_status", "order_error_code", "order_payment_type", "order_status", "order_storage", "organization_payment_method_tag", "payment_method_rule_content_key", "price_facet_boundary", "promotion_trigger_type" ],
26604
26653
  "unions" : [ "allocation_component", "allocation_detail", "expandable_experience", "expandable_order", "order_number_generator", "order_promotion", "order_promotion_form", "payment_method_tag", "promotion" ],
26605
26654
  "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" ],
@@ -26627,7 +26676,7 @@
26627
26676
  "application" : {
26628
26677
  "key" : "permission"
26629
26678
  },
26630
- "version" : "0.8.95",
26679
+ "version" : "0.8.97",
26631
26680
  "enums" : [ "authentication_technique", "flow_addon_role", "flow_behavior", "flow_user_role", "permitted_http_method" ],
26632
26681
  "unions" : [ "flow_role" ],
26633
26682
  "models" : [ "behavior_audit", "permission_audit", "permission_check", "permission_error", "permitted_route", "route_audit", "simple_permission_check" ],
@@ -27271,7 +27320,7 @@
27271
27320
  "application" : {
27272
27321
  "key" : "harmonization-internal"
27273
27322
  },
27274
- "version" : "0.8.62",
27323
+ "version" : "0.8.65",
27275
27324
  "enums" : [ "empty_attribute", "item_classification_action", "item_classification_status", "item_type", "product_classification_action", "unclassified_product_status" ],
27276
27325
  "unions" : [ "classification_label_attribute", "task_data" ],
27277
27326
  "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_statistics", "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" ],
@@ -27285,7 +27334,7 @@
27285
27334
  "application" : {
27286
27335
  "key" : "price"
27287
27336
  },
27288
- "version" : "0.8.80",
27337
+ "version" : "0.8.95",
27289
27338
  "enums" : [ "levy_component", "levy_strategy", "price_accuracy", "price_detail_component_key", "price_detail_key", "pricing_levy_setting" ],
27290
27339
  "unions" : [ "deminimis" ],
27291
27340
  "models" : [ "currency_format", "deminimis_per_item", "deminimis_simple", "duty", "local_price_details", "price_book", "price_book_form", "price_book_item", "price_book_item_form", "price_book_item_query_form", "price_book_item_schedule", "price_book_reference", "price_check", "price_detail", "price_detail_component", "price_details", "price_equation", "pricing", "tax" ],
@@ -27299,7 +27348,7 @@
27299
27348
  "application" : {
27300
27349
  "key" : "reference"
27301
27350
  },
27302
- "version" : "0.8.80",
27351
+ "version" : "0.8.95",
27303
27352
  "enums" : [ "payment_method_type", "province_type" ],
27304
27353
  "unions" : [ ],
27305
27354
  "models" : [ "carrier", "carrier_service", "country", "currency", "currency_symbols", "language", "locale", "locale_numbers", "localized_translation", "payment_method", "payment_method_image", "payment_method_images", "province", "region", "timezone" ],
@@ -31477,6 +31526,82 @@
31477
31526
  "type" : "string",
31478
31527
  "required" : true
31479
31528
  } ]
31529
+ }, {
31530
+ "path" : "/:organization/checkout/configurations",
31531
+ "method" : "POST",
31532
+ "responses" : [ {
31533
+ "code" : {
31534
+ "integer" : {
31535
+ "value" : 200
31536
+ }
31537
+ },
31538
+ "description" : "Successful response",
31539
+ "attributes" : [ ],
31540
+ "type" : "checkout_configuration"
31541
+ }, {
31542
+ "code" : {
31543
+ "integer" : {
31544
+ "value" : 201
31545
+ }
31546
+ },
31547
+ "description" : "Operation succeeded and the resource was created",
31548
+ "attributes" : [ ],
31549
+ "type" : "checkout_configuration"
31550
+ }, {
31551
+ "code" : {
31552
+ "integer" : {
31553
+ "value" : 401
31554
+ }
31555
+ },
31556
+ "description" : "Authorization failed",
31557
+ "attributes" : [ ],
31558
+ "type" : "unit"
31559
+ }, {
31560
+ "code" : {
31561
+ "integer" : {
31562
+ "value" : 403
31563
+ }
31564
+ },
31565
+ "attributes" : [ ],
31566
+ "type" : "io.flow.permission.v0.models.permission_error"
31567
+ }, {
31568
+ "code" : {
31569
+ "integer" : {
31570
+ "value" : 404
31571
+ }
31572
+ },
31573
+ "description" : "Resource was not found",
31574
+ "attributes" : [ ],
31575
+ "type" : "unit"
31576
+ }, {
31577
+ "code" : {
31578
+ "integer" : {
31579
+ "value" : 422
31580
+ }
31581
+ },
31582
+ "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.",
31583
+ "attributes" : [ ],
31584
+ "type" : "io.flow.error.v0.models.generic_error"
31585
+ } ],
31586
+ "description" : "Create a new checkout configuration",
31587
+ "attributes" : [ {
31588
+ "name" : "auth",
31589
+ "value" : {
31590
+ "techniques" : [ "user", "token" ],
31591
+ "roles" : [ "organization_admin" ]
31592
+ }
31593
+ } ],
31594
+ "body" : {
31595
+ "attributes" : [ ],
31596
+ "type" : "checkout_configuration_form"
31597
+ },
31598
+ "parameters" : [ {
31599
+ "name" : "organization",
31600
+ "description" : "Refers to your organization's account identifier",
31601
+ "location" : "Path",
31602
+ "type" : "string",
31603
+ "required" : true
31604
+ } ]
31480
31605
  }, {
31481
31606
  "path" : "/:organization/checkout/configurations/:id",
31482
31607
  "method" : "GET",
@@ -31537,6 +31662,142 @@
31537
31662
  "type" : "string",
31538
31663
  "required" : true
31539
31664
  } ]
31665
+ }, {
31666
+ "path" : "/:organization/checkout/configurations/:id",
31667
+ "method" : "PUT",
31668
+ "responses" : [ {
31669
+ "code" : {
31670
+ "integer" : {
31671
+ "value" : 200
31672
+ }
31673
+ },
31674
+ "description" : "Successful response",
31675
+ "attributes" : [ ],
31676
+ "type" : "checkout_configuration"
31677
+ }, {
31678
+ "code" : {
31679
+ "integer" : {
31680
+ "value" : 401
31681
+ }
31682
+ },
31683
+ "description" : "Authorization failed",
31684
+ "attributes" : [ ],
31685
+ "type" : "unit"
31686
+ }, {
31687
+ "code" : {
31688
+ "integer" : {
31689
+ "value" : 403
31690
+ }
31691
+ },
31692
+ "attributes" : [ ],
31693
+ "type" : "io.flow.permission.v0.models.permission_error"
31694
+ }, {
31695
+ "code" : {
31696
+ "integer" : {
31697
+ "value" : 404
31698
+ }
31699
+ },
31700
+ "description" : "Resource was not found",
31701
+ "attributes" : [ ],
31702
+ "type" : "unit"
31703
+ }, {
31704
+ "code" : {
31705
+ "integer" : {
31706
+ "value" : 422
31707
+ }
31708
+ },
31709
+ "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.",
31710
+ "attributes" : [ ],
31711
+ "type" : "io.flow.error.v0.models.generic_error"
31712
+ } ],
31713
+ "description" : "Update an existing checkout configuration",
31714
+ "attributes" : [ {
31715
+ "name" : "auth",
31716
+ "value" : {
31717
+ "techniques" : [ "user", "token" ],
31718
+ "roles" : [ "organization_admin" ]
31719
+ }
31720
+ } ],
31721
+ "body" : {
31722
+ "attributes" : [ ],
31723
+ "type" : "checkout_configuration_form"
31724
+ },
31725
+ "parameters" : [ {
31726
+ "name" : "organization",
31727
+ "description" : "Refers to your organization's account identifier",
31728
+ "location" : "Path",
31729
+ "type" : "string",
31730
+ "required" : true
31731
+ }, {
31732
+ "name" : "id",
31733
+ "description" : "Filter by one or more IDs of this resource",
31734
+ "location" : "Path",
31735
+ "type" : "string",
31736
+ "required" : true
31737
+ } ]
31738
+ }, {
31739
+ "path" : "/:organization/checkout/configurations/:id",
31740
+ "method" : "DELETE",
31741
+ "responses" : [ {
31742
+ "code" : {
31743
+ "integer" : {
31744
+ "value" : 204
31745
+ }
31746
+ },
31747
+ "description" : "Operation succeeded. No content is returned",
31748
+ "attributes" : [ ],
31749
+ "type" : "unit"
31750
+ }, {
31751
+ "code" : {
31752
+ "integer" : {
31753
+ "value" : 401
31754
+ }
31755
+ },
31756
+ "description" : "Authorization failed",
31757
+ "attributes" : [ ],
31758
+ "type" : "unit"
31759
+ }, {
31760
+ "code" : {
31761
+ "integer" : {
31762
+ "value" : 403
31763
+ }
31764
+ },
31765
+ "attributes" : [ ],
31766
+ "type" : "io.flow.permission.v0.models.permission_error"
31767
+ }, {
31768
+ "code" : {
31769
+ "integer" : {
31770
+ "value" : 404
31771
+ }
31772
+ },
31773
+ "description" : "Resource was not found",
31774
+ "attributes" : [ ],
31775
+ "type" : "unit"
31776
+ }, {
31777
+ "code" : {
31778
+ "integer" : {
31779
+ "value" : 422
31780
+ }
31781
+ },
31782
+ "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.",
31783
+ "attributes" : [ ],
31784
+ "type" : "io.flow.error.v0.models.generic_error"
31785
+ } ],
31786
+ "description" : "Removes an existing checkout configuration",
31787
+ "attributes" : [ ],
31788
+ "parameters" : [ {
31789
+ "name" : "organization",
31790
+ "description" : "Refers to your organization's account identifier",
31791
+ "location" : "Path",
31792
+ "type" : "string",
31793
+ "required" : true
31794
+ }, {
31795
+ "name" : "id",
31796
+ "description" : "Filter by one or more IDs of this resource",
31797
+ "location" : "Path",
31798
+ "type" : "string",
31799
+ "required" : true
31800
+ } ]
31540
31801
  } ],
31541
31802
  "attributes" : [ {
31542
31803
  "name" : "docs",
@@ -32086,7 +32347,7 @@
32086
32347
  "name" : "status",
32087
32348
  "location" : "Query",
32088
32349
  "type" : "item_classification_status",
32089
- "required" : true
32350
+ "required" : false
32090
32351
  }, {
32091
32352
  "name" : "cursor",
32092
32353
  "location" : "Query",
@@ -51938,6 +52199,17 @@
51938
52199
  "name" : "chargeback_process_status",
51939
52200
  "description" : "Indicates whether the state of a chargeback is likely to change.",
51940
52201
  "attributes" : [ ]
52202
+ }, {
52203
+ "plural" : "checkout_asset_types",
52204
+ "values" : [ {
52205
+ "name" : "stylesheet",
52206
+ "attributes" : [ ]
52207
+ }, {
52208
+ "name" : "javascript",
52209
+ "attributes" : [ ]
52210
+ } ],
52211
+ "name" : "checkout_asset_type",
52212
+ "attributes" : [ ]
51941
52213
  }, {
51942
52214
  "plural" : "checkout_error_codes",
51943
52215
  "values" : [ {
@@ -52023,6 +52295,20 @@
52023
52295
  "name" : "checkout_shipping_method_prompt_behavior",
52024
52296
  "description" : "Controls when we display the 'choose your shipping method' step of checkout",
52025
52297
  "attributes" : [ ]
52298
+ }, {
52299
+ "plural" : "checkout_url_types",
52300
+ "values" : [ {
52301
+ "name" : "continue_shopping",
52302
+ "attributes" : [ ]
52303
+ }, {
52304
+ "name" : "confirmation",
52305
+ "attributes" : [ ]
52306
+ }, {
52307
+ "name" : "invalid_checkout",
52308
+ "attributes" : [ ]
52309
+ } ],
52310
+ "name" : "checkout_url_type",
52311
+ "attributes" : [ ]
52026
52312
  }, {
52027
52313
  "plural" : "content_element_types",
52028
52314
  "values" : [ {
@@ -52445,12 +52731,6 @@
52445
52731
  }, {
52446
52732
  "name" : "unharmonized_items_export",
52447
52733
  "attributes" : [ ]
52448
- }, {
52449
- "name" : "dutied_items_export",
52450
- "attributes" : [ ]
52451
- }, {
52452
- "name" : "landed_cost_export",
52453
- "attributes" : [ ]
52454
52734
  }, {
52455
52735
  "name" : "harmonization_phrase_suggestion_request_import",
52456
52736
  "attributes" : [ ]
@@ -52953,13 +53233,12 @@
52953
53233
  }, {
52954
53234
  "plural" : "item_classification_statuses",
52955
53235
  "values" : [ {
52956
- "name" : "Unclassified",
52957
- "attributes" : [ ]
52958
- }, {
52959
- "name" : "Suggested",
53236
+ "name" : "ignored",
53237
+ "description" : "some items/products like services can't be classified and have to be ignored.",
52960
53238
  "attributes" : [ ]
52961
53239
  }, {
52962
- "name" : "Classified",
53240
+ "name" : "escalated",
53241
+ "description" : "classification escalated to product/engineering team",
52963
53242
  "attributes" : [ ]
52964
53243
  } ],
52965
53244
  "name" : "item_classification_status",
@@ -53792,17 +54071,6 @@
53792
54071
  } ],
53793
54072
  "name" : "transfer_method",
53794
54073
  "attributes" : [ ]
53795
- }, {
53796
- "plural" : "unclassified_product_statuses",
53797
- "values" : [ {
53798
- "name" : "ignored",
53799
- "attributes" : [ ]
53800
- }, {
53801
- "name" : "escalated",
53802
- "attributes" : [ ]
53803
- } ],
53804
- "name" : "unclassified_product_status",
53805
- "attributes" : [ ]
53806
54074
  } ],
53807
54075
  "application" : {
53808
54076
  "key" : "api-internal"