@flowio/api-internal-mock-generator 4.1.3 → 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",
@@ -17373,6 +17460,13 @@
17373
17460
  "attributes": [],
17374
17461
  "type": "string",
17375
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
17376
17470
  }]
17377
17471
  }, {
17378
17472
  "plural": "product_classification_judgement_forms",
@@ -24832,7 +24926,7 @@
24832
24926
  "application": {
24833
24927
  "key": "common"
24834
24928
  },
24835
- "version": "0.8.95",
24929
+ "version": "0.8.97",
24836
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"],
24837
24931
  "unions": ["discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule"],
24838
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"],
@@ -24860,7 +24954,7 @@
24860
24954
  "application": {
24861
24955
  "key": "permission"
24862
24956
  },
24863
- "version": "0.8.95",
24957
+ "version": "0.8.97",
24864
24958
  "enums": ["authentication_technique", "flow_addon_role", "flow_behavior", "flow_user_role", "permitted_http_method"],
24865
24959
  "unions": ["flow_role"],
24866
24960
  "models": ["behavior_audit", "permission_audit", "permission_check", "permission_error", "permitted_route", "route_audit", "simple_permission_check"],
@@ -26512,7 +26606,7 @@
26512
26606
  "application": {
26513
26607
  "key": "common"
26514
26608
  },
26515
- "version": "0.8.95",
26609
+ "version": "0.8.97",
26516
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"],
26517
26611
  "unions": ["discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule"],
26518
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"],
@@ -26554,7 +26648,7 @@
26554
26648
  "application": {
26555
26649
  "key": "experience"
26556
26650
  },
26557
- "version": "0.8.95",
26651
+ "version": "0.8.97",
26558
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"],
26559
26653
  "unions": ["allocation_component", "allocation_detail", "expandable_experience", "expandable_order", "order_number_generator", "order_promotion", "order_promotion_form", "payment_method_tag", "promotion"],
26560
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"],
@@ -26582,7 +26676,7 @@
26582
26676
  "application": {
26583
26677
  "key": "permission"
26584
26678
  },
26585
- "version": "0.8.95",
26679
+ "version": "0.8.97",
26586
26680
  "enums": ["authentication_technique", "flow_addon_role", "flow_behavior", "flow_user_role", "permitted_http_method"],
26587
26681
  "unions": ["flow_role"],
26588
26682
  "models": ["behavior_audit", "permission_audit", "permission_check", "permission_error", "permitted_route", "route_audit", "simple_permission_check"],
@@ -31432,6 +31526,82 @@
31432
31526
  "type": "string",
31433
31527
  "required": true
31434
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
+ }]
31435
31605
  }, {
31436
31606
  "path": "/:organization/checkout/configurations/:id",
31437
31607
  "method": "GET",
@@ -31492,6 +31662,142 @@
31492
31662
  "type": "string",
31493
31663
  "required": true
31494
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
+ }]
31495
31801
  }],
31496
31802
  "attributes": [{
31497
31803
  "name": "docs",
@@ -51893,6 +52199,17 @@
51893
52199
  "name": "chargeback_process_status",
51894
52200
  "description": "Indicates whether the state of a chargeback is likely to change.",
51895
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": []
51896
52213
  }, {
51897
52214
  "plural": "checkout_error_codes",
51898
52215
  "values": [{
@@ -51978,6 +52295,20 @@
51978
52295
  "name": "checkout_shipping_method_prompt_behavior",
51979
52296
  "description": "Controls when we display the 'choose your shipping method' step of checkout",
51980
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": []
51981
52312
  }, {
51982
52313
  "plural": "content_element_types",
51983
52314
  "values": [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-mock-generator",
3
- "version": "4.1.3",
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": "30131101753d93459ca9ba8c259c95a06aa11698"
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",
@@ -17373,6 +17460,13 @@
17373
17460
  "attributes" : [ ],
17374
17461
  "type" : "string",
17375
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
17376
17470
  } ]
17377
17471
  }, {
17378
17472
  "plural" : "product_classification_judgement_forms",
@@ -24832,7 +24926,7 @@
24832
24926
  "application" : {
24833
24927
  "key" : "common"
24834
24928
  },
24835
- "version" : "0.8.95",
24929
+ "version" : "0.8.97",
24836
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" ],
24837
24931
  "unions" : [ "discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule" ],
24838
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" ],
@@ -24860,7 +24954,7 @@
24860
24954
  "application" : {
24861
24955
  "key" : "permission"
24862
24956
  },
24863
- "version" : "0.8.95",
24957
+ "version" : "0.8.97",
24864
24958
  "enums" : [ "authentication_technique", "flow_addon_role", "flow_behavior", "flow_user_role", "permitted_http_method" ],
24865
24959
  "unions" : [ "flow_role" ],
24866
24960
  "models" : [ "behavior_audit", "permission_audit", "permission_check", "permission_error", "permitted_route", "route_audit", "simple_permission_check" ],
@@ -26512,7 +26606,7 @@
26512
26606
  "application" : {
26513
26607
  "key" : "common"
26514
26608
  },
26515
- "version" : "0.8.95",
26609
+ "version" : "0.8.97",
26516
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" ],
26517
26611
  "unions" : [ "discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule" ],
26518
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" ],
@@ -26554,7 +26648,7 @@
26554
26648
  "application" : {
26555
26649
  "key" : "experience"
26556
26650
  },
26557
- "version" : "0.8.95",
26651
+ "version" : "0.8.97",
26558
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" ],
26559
26653
  "unions" : [ "allocation_component", "allocation_detail", "expandable_experience", "expandable_order", "order_number_generator", "order_promotion", "order_promotion_form", "payment_method_tag", "promotion" ],
26560
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" ],
@@ -26582,7 +26676,7 @@
26582
26676
  "application" : {
26583
26677
  "key" : "permission"
26584
26678
  },
26585
- "version" : "0.8.95",
26679
+ "version" : "0.8.97",
26586
26680
  "enums" : [ "authentication_technique", "flow_addon_role", "flow_behavior", "flow_user_role", "permitted_http_method" ],
26587
26681
  "unions" : [ "flow_role" ],
26588
26682
  "models" : [ "behavior_audit", "permission_audit", "permission_check", "permission_error", "permitted_route", "route_audit", "simple_permission_check" ],
@@ -31432,6 +31526,82 @@
31432
31526
  "type" : "string",
31433
31527
  "required" : true
31434
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
+ } ]
31435
31605
  }, {
31436
31606
  "path" : "/:organization/checkout/configurations/:id",
31437
31607
  "method" : "GET",
@@ -31492,6 +31662,142 @@
31492
31662
  "type" : "string",
31493
31663
  "required" : true
31494
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
+ } ]
31495
31801
  } ],
31496
31802
  "attributes" : [ {
31497
31803
  "name" : "docs",
@@ -51893,6 +52199,17 @@
51893
52199
  "name" : "chargeback_process_status",
51894
52200
  "description" : "Indicates whether the state of a chargeback is likely to change.",
51895
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" : [ ]
51896
52213
  }, {
51897
52214
  "plural" : "checkout_error_codes",
51898
52215
  "values" : [ {
@@ -51978,6 +52295,20 @@
51978
52295
  "name" : "checkout_shipping_method_prompt_behavior",
51979
52296
  "description" : "Controls when we display the 'choose your shipping method' step of checkout",
51980
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" : [ ]
51981
52312
  }, {
51982
52313
  "plural" : "content_element_types",
51983
52314
  "values" : [ {