@flowio/api-internal-mock-generator 3.1.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12553,6 +12553,23 @@
12553
12553
  "description": "The amount of feeds in the Google account",
12554
12554
  "attributes": [],
12555
12555
  "type": "long",
12556
+ "deprecation": {
12557
+ "description": "Use other counts instead"
12558
+ },
12559
+ "required": true
12560
+ }, {
12561
+ "name": "domestic_feeds_count",
12562
+ "annotations": [],
12563
+ "description": "The number of non-Flow created feeds present, typically these are targetted at a domestic market",
12564
+ "attributes": [],
12565
+ "type": "long",
12566
+ "required": true
12567
+ }, {
12568
+ "name": "localized_feeds_count",
12569
+ "annotations": [],
12570
+ "description": "The number of localized feeds present, these are generated by Flow",
12571
+ "attributes": [],
12572
+ "type": "long",
12556
12573
  "required": true
12557
12574
  }]
12558
12575
  }, {
@@ -23987,6 +24004,20 @@
23987
24004
  "unions": ["discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule"],
23988
24005
  "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"],
23989
24006
  "annotations": []
24007
+ }, {
24008
+ "uri": "https://app.apibuilder.io/flow/crypto/latest/service.json",
24009
+ "namespace": "io.flow.crypto.v0",
24010
+ "organization": {
24011
+ "key": "flow"
24012
+ },
24013
+ "application": {
24014
+ "key": "crypto"
24015
+ },
24016
+ "version": "0.0.5",
24017
+ "enums": ["error_type", "payment_status", "reason_type", "refund_status", "webhook_event_name", "webhook_object_type"],
24018
+ "unions": [],
24019
+ "models": ["crypto_event", "error_response", "payment", "payment_request", "refund", "refund_request", "webhook_payment"],
24020
+ "annotations": []
23990
24021
  }, {
23991
24022
  "uri": "https://app.apibuilder.io/flow/error/latest/service.json",
23992
24023
  "namespace": "io.flow.error.v0",
@@ -24010,10 +24041,10 @@
24010
24041
  "application": {
24011
24042
  "key": "payment"
24012
24043
  },
24013
- "version": "0.8.80",
24044
+ "version": "0.8.83",
24014
24045
  "enums": ["authorization_decline_code", "authorization_option", "authorization_result_action_type", "authorization_status", "avs_code", "capture_decline_code", "capture_status", "card_error_code", "card_type", "cvv_code", "payment_error_code", "payment_source_confirmation_action_type", "refund_decline_code", "refund_status", "reversal_error_code", "reversal_status", "three_d_secure_code", "token_type"],
24015
24046
  "unions": ["adyen_native_data", "authorization", "authorization_form", "authorization_payload_parameters", "authorization_result_action", "authorization_result_action_details", "confirmation_details", "expandable_card", "gateway_authentication_data", "gateway_authentication_data_form", "online_authorization_details", "payment", "payment_form", "payment_source", "payment_source_form"],
24016
- "models": ["ach_authorization_form", "adyen_challenge_shopper_data", "adyen_identify_shopper_data", "adyen_native_action_details", "apple_pay_merchant_validation_payload", "authorization_copy_form", "authorization_error", "authorization_order_reference", "authorization_payload", "authorization_reference", "authorization_result", "authorization_result_action_get", "authorization_result_action_native", "authorization_result_action_post", "authorization_result_action_wait", "authorization_result_description", "authorization_version", "avs", "browser_info", "capture", "capture_error", "capture_form", "capture_identifier", "capture_reference", "capture_version", "card", "card_authorization", "card_error", "card_form", "card_nonce_form", "card_payment_source", "card_payment_source_authorization_form", "card_payment_source_form", "card_payment_source_summary", "card_reference", "card_summary", "card_token_form", "card_version", "cvv", "direct_authorization_form", "direct_debit", "expiration", "google_pay_authorization_payload", "identifier_form", "inline_authorization_details", "inline_authorization_form", "issuer_reference", "issuer_summary", "issuer_v1", "merchant_of_record_authorization_form", "merchant_of_record_payment_form", "online_authorization", "payment_error", "payment_paypal", "payment_paypal_data", "payment_reference", "payment_source_confirmation_action", "payment_version", "paypal_authorization_details", "paypal_authorization_form", "post_payment_redirect_urls", "public_key", "redirect_authorization_details", "redirect_authorization_form", "refund", "refund_capture", "refund_capture_summary", "refund_error", "refund_form", "refund_identifier", "refund_order_summary", "refund_order_summary_amounts", "refund_reference", "refund_version", "reversal", "reversal_error", "reversal_form", "reversal_put_form", "reversal_version", "stripe_authentication_data", "stripe_authentication_data_form", "stripe_authorization_result_action_details", "three_d_secure", "virtual_card", "virtual_card_capture", "virtual_card_capture_version", "virtual_card_form", "virtual_card_reference", "virtual_card_refund", "virtual_card_refund_version", "virtual_card_version"],
24047
+ "models": ["ach_authorization_form", "adyen_challenge_shopper_data", "adyen_identify_shopper_data", "adyen_native_action_details", "apple_pay_merchant_validation_payload", "authorization_copy_form", "authorization_error", "authorization_order_reference", "authorization_payload", "authorization_reference", "authorization_result", "authorization_result_action_get", "authorization_result_action_native", "authorization_result_action_post", "authorization_result_action_wait", "authorization_result_description", "authorization_version", "avs", "browser_info", "capture", "capture_error", "capture_form", "capture_identifier", "capture_reference", "capture_version", "card", "card_authorization", "card_error", "card_form", "card_nonce_form", "card_payment_source", "card_payment_source_authorization_form", "card_payment_source_form", "card_payment_source_summary", "card_reference", "card_summary", "card_token_form", "card_version", "cryptopay_authorization_details", "cvv", "direct_authorization_form", "direct_debit", "expiration", "google_pay_authorization_payload", "identifier_form", "inline_authorization_details", "inline_authorization_form", "issuer_reference", "issuer_summary", "issuer_v1", "merchant_of_record_authorization_form", "merchant_of_record_payment_form", "online_authorization", "online_payment_authorization_form", "payment_cryptopay", "payment_error", "payment_paypal", "payment_reference", "payment_source_confirmation_action", "payment_version", "paypal_authorization_details", "paypal_authorization_form", "post_payment_redirect_urls", "public_key", "redirect_authorization_details", "redirect_authorization_form", "refund", "refund_capture", "refund_capture_summary", "refund_error", "refund_form", "refund_identifier", "refund_order_summary", "refund_order_summary_amounts", "refund_reference", "refund_version", "reversal", "reversal_error", "reversal_form", "reversal_put_form", "reversal_version", "stripe_authentication_data", "stripe_authentication_data_form", "stripe_authorization_result_action_details", "three_d_secure", "virtual_card", "virtual_card_capture", "virtual_card_capture_version", "virtual_card_form", "virtual_card_reference", "virtual_card_refund", "virtual_card_refund_version", "virtual_card_version"],
24017
24048
  "annotations": []
24018
24049
  }, {
24019
24050
  "uri": "https://app.apibuilder.io/flow/paypal/latest/service.json",
@@ -29680,11 +29711,6 @@
29680
29711
  "location": "Query",
29681
29712
  "type": "chargeback_payment_status",
29682
29713
  "required": false
29683
- }, {
29684
- "name": "process_status",
29685
- "location": "Query",
29686
- "type": "chargeback_process_status",
29687
- "required": false
29688
29714
  }, {
29689
29715
  "default": "25",
29690
29716
  "name": "limit",
@@ -35943,6 +35969,124 @@
35943
35969
  }
35944
35970
  }],
35945
35971
  "type": "io.flow.common.v0.models.user"
35972
+ }, {
35973
+ "path": "/payment/callbacks/cryptopay",
35974
+ "plural": "crypto_events",
35975
+ "operations": [{
35976
+ "path": "/payment/callbacks/cryptopay",
35977
+ "method": "POST",
35978
+ "responses": [{
35979
+ "code": {
35980
+ "integer": {
35981
+ "value": 200
35982
+ }
35983
+ },
35984
+ "description": "Successful response",
35985
+ "attributes": [],
35986
+ "type": "json"
35987
+ }, {
35988
+ "code": {
35989
+ "integer": {
35990
+ "value": 401
35991
+ }
35992
+ },
35993
+ "description": "Authorization failed",
35994
+ "attributes": [],
35995
+ "type": "unit"
35996
+ }, {
35997
+ "code": {
35998
+ "integer": {
35999
+ "value": 422
36000
+ }
36001
+ },
36002
+ "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.",
36003
+ "attributes": [],
36004
+ "type": "io.flow.error.v0.models.generic_error"
36005
+ }],
36006
+ "attributes": [],
36007
+ "body": {
36008
+ "description": "Type is io.flow.crypto.v0.models.crypto_event - though we don't validate to ensure we always accept the callback.",
36009
+ "attributes": [],
36010
+ "type": "json"
36011
+ },
36012
+ "parameters": []
36013
+ }],
36014
+ "attributes": [{
36015
+ "name": "docs",
36016
+ "value": {
36017
+ "module": "general"
36018
+ }
36019
+ }],
36020
+ "type": "io.flow.crypto.v0.models.crypto_event"
36021
+ }, {
36022
+ "path": "/:organization/currency/rates",
36023
+ "plural": "rates",
36024
+ "operations": [{
36025
+ "path": "/:organization/currency/rates/internal",
36026
+ "method": "GET",
36027
+ "responses": [{
36028
+ "code": {
36029
+ "integer": {
36030
+ "value": 200
36031
+ }
36032
+ },
36033
+ "description": "List of upserted/republished rates",
36034
+ "attributes": [],
36035
+ "type": "[rate]"
36036
+ }, {
36037
+ "code": {
36038
+ "integer": {
36039
+ "value": 404
36040
+ }
36041
+ },
36042
+ "description": "Resource was not found",
36043
+ "attributes": [],
36044
+ "type": "unit"
36045
+ }, {
36046
+ "code": {
36047
+ "integer": {
36048
+ "value": 422
36049
+ }
36050
+ },
36051
+ "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.",
36052
+ "attributes": [],
36053
+ "type": "io.flow.error.v0.models.generic_error"
36054
+ }],
36055
+ "description": "Utility endpoint to quickly force republishing of an organization rates. For specified target or all target currencies.",
36056
+ "attributes": [{
36057
+ "name": "auth",
36058
+ "value": {
36059
+ "techniques": ["anonymous"],
36060
+ "roles": []
36061
+ }
36062
+ }, {
36063
+ "name": "linter",
36064
+ "value": {
36065
+ "ignore": ["response_codes", "get", "sort_parameter_default", "id", "limit", "offset", "sort", "versions"]
36066
+ }
36067
+ }],
36068
+ "parameters": [{
36069
+ "name": "organization",
36070
+ "description": "Refers to your organization's account identifier",
36071
+ "location": "Path",
36072
+ "type": "string",
36073
+ "required": true
36074
+ }, {
36075
+ "name": "target",
36076
+ "description": "Filter by the (case-insensitive) target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies",
36077
+ "maximum": 100,
36078
+ "location": "Query",
36079
+ "type": "[string]",
36080
+ "required": false
36081
+ }]
36082
+ }],
36083
+ "attributes": [{
36084
+ "name": "docs",
36085
+ "value": {
36086
+ "module": "general"
36087
+ }
36088
+ }],
36089
+ "type": "io.flow.currency.v0.models.rate"
35946
36090
  }, {
35947
36091
  "path": "/:organization/experiences",
35948
36092
  "plural": "experiences",
@@ -51433,6 +51577,9 @@
51433
51577
  }, {
51434
51578
  "name": "fiserv",
51435
51579
  "attributes": []
51580
+ }, {
51581
+ "name": "crypto",
51582
+ "attributes": []
51436
51583
  }],
51437
51584
  "name": "processor",
51438
51585
  "description": "Defines the available processors that we can use.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-mock-generator",
3
- "version": "3.1.0",
3
+ "version": "3.2.1",
4
4
  "description": "A mock data generator based on our internal API specifications for JavaScript",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -26,13 +26,13 @@
26
26
  ],
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
- "apibuilder-js": "0.0.8",
30
- "apibuilder-mock-generator": "0.0.10"
29
+ "apibuilder-js": "0.0.13",
30
+ "apibuilder-mock-generator": "0.0.11"
31
31
  },
32
32
  "devDependencies": {
33
33
  "tslint": "^5.20.0",
34
34
  "tslint-config-airbnb": "^5.11.2",
35
35
  "typescript": "^3.6.3"
36
36
  },
37
- "gitHead": "b669c5a82c790167636c6242b45e607e6f6e606a"
37
+ "gitHead": "14916fc03a7d30e81d9a1ab601e03bae5d53dfc2"
38
38
  }
@@ -12553,6 +12553,23 @@
12553
12553
  "description" : "The amount of feeds in the Google account",
12554
12554
  "attributes" : [ ],
12555
12555
  "type" : "long",
12556
+ "deprecation" : {
12557
+ "description" : "Use other counts instead"
12558
+ },
12559
+ "required" : true
12560
+ }, {
12561
+ "name" : "domestic_feeds_count",
12562
+ "annotations" : [ ],
12563
+ "description" : "The number of non-Flow created feeds present, typically these are targetted at a domestic market",
12564
+ "attributes" : [ ],
12565
+ "type" : "long",
12566
+ "required" : true
12567
+ }, {
12568
+ "name" : "localized_feeds_count",
12569
+ "annotations" : [ ],
12570
+ "description" : "The number of localized feeds present, these are generated by Flow",
12571
+ "attributes" : [ ],
12572
+ "type" : "long",
12556
12573
  "required" : true
12557
12574
  } ]
12558
12575
  }, {
@@ -23987,6 +24004,20 @@
23987
24004
  "unions" : [ "discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule" ],
23988
24005
  "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" ],
23989
24006
  "annotations" : [ ]
24007
+ }, {
24008
+ "uri" : "https://app.apibuilder.io/flow/crypto/latest/service.json",
24009
+ "namespace" : "io.flow.crypto.v0",
24010
+ "organization" : {
24011
+ "key" : "flow"
24012
+ },
24013
+ "application" : {
24014
+ "key" : "crypto"
24015
+ },
24016
+ "version" : "0.0.5",
24017
+ "enums" : [ "error_type", "payment_status", "reason_type", "refund_status", "webhook_event_name", "webhook_object_type" ],
24018
+ "unions" : [ ],
24019
+ "models" : [ "crypto_event", "error_response", "payment", "payment_request", "refund", "refund_request", "webhook_payment" ],
24020
+ "annotations" : [ ]
23990
24021
  }, {
23991
24022
  "uri" : "https://app.apibuilder.io/flow/error/latest/service.json",
23992
24023
  "namespace" : "io.flow.error.v0",
@@ -24010,10 +24041,10 @@
24010
24041
  "application" : {
24011
24042
  "key" : "payment"
24012
24043
  },
24013
- "version" : "0.8.80",
24044
+ "version" : "0.8.83",
24014
24045
  "enums" : [ "authorization_decline_code", "authorization_option", "authorization_result_action_type", "authorization_status", "avs_code", "capture_decline_code", "capture_status", "card_error_code", "card_type", "cvv_code", "payment_error_code", "payment_source_confirmation_action_type", "refund_decline_code", "refund_status", "reversal_error_code", "reversal_status", "three_d_secure_code", "token_type" ],
24015
24046
  "unions" : [ "adyen_native_data", "authorization", "authorization_form", "authorization_payload_parameters", "authorization_result_action", "authorization_result_action_details", "confirmation_details", "expandable_card", "gateway_authentication_data", "gateway_authentication_data_form", "online_authorization_details", "payment", "payment_form", "payment_source", "payment_source_form" ],
24016
- "models" : [ "ach_authorization_form", "adyen_challenge_shopper_data", "adyen_identify_shopper_data", "adyen_native_action_details", "apple_pay_merchant_validation_payload", "authorization_copy_form", "authorization_error", "authorization_order_reference", "authorization_payload", "authorization_reference", "authorization_result", "authorization_result_action_get", "authorization_result_action_native", "authorization_result_action_post", "authorization_result_action_wait", "authorization_result_description", "authorization_version", "avs", "browser_info", "capture", "capture_error", "capture_form", "capture_identifier", "capture_reference", "capture_version", "card", "card_authorization", "card_error", "card_form", "card_nonce_form", "card_payment_source", "card_payment_source_authorization_form", "card_payment_source_form", "card_payment_source_summary", "card_reference", "card_summary", "card_token_form", "card_version", "cvv", "direct_authorization_form", "direct_debit", "expiration", "google_pay_authorization_payload", "identifier_form", "inline_authorization_details", "inline_authorization_form", "issuer_reference", "issuer_summary", "issuer_v1", "merchant_of_record_authorization_form", "merchant_of_record_payment_form", "online_authorization", "payment_error", "payment_paypal", "payment_paypal_data", "payment_reference", "payment_source_confirmation_action", "payment_version", "paypal_authorization_details", "paypal_authorization_form", "post_payment_redirect_urls", "public_key", "redirect_authorization_details", "redirect_authorization_form", "refund", "refund_capture", "refund_capture_summary", "refund_error", "refund_form", "refund_identifier", "refund_order_summary", "refund_order_summary_amounts", "refund_reference", "refund_version", "reversal", "reversal_error", "reversal_form", "reversal_put_form", "reversal_version", "stripe_authentication_data", "stripe_authentication_data_form", "stripe_authorization_result_action_details", "three_d_secure", "virtual_card", "virtual_card_capture", "virtual_card_capture_version", "virtual_card_form", "virtual_card_reference", "virtual_card_refund", "virtual_card_refund_version", "virtual_card_version" ],
24047
+ "models" : [ "ach_authorization_form", "adyen_challenge_shopper_data", "adyen_identify_shopper_data", "adyen_native_action_details", "apple_pay_merchant_validation_payload", "authorization_copy_form", "authorization_error", "authorization_order_reference", "authorization_payload", "authorization_reference", "authorization_result", "authorization_result_action_get", "authorization_result_action_native", "authorization_result_action_post", "authorization_result_action_wait", "authorization_result_description", "authorization_version", "avs", "browser_info", "capture", "capture_error", "capture_form", "capture_identifier", "capture_reference", "capture_version", "card", "card_authorization", "card_error", "card_form", "card_nonce_form", "card_payment_source", "card_payment_source_authorization_form", "card_payment_source_form", "card_payment_source_summary", "card_reference", "card_summary", "card_token_form", "card_version", "cryptopay_authorization_details", "cvv", "direct_authorization_form", "direct_debit", "expiration", "google_pay_authorization_payload", "identifier_form", "inline_authorization_details", "inline_authorization_form", "issuer_reference", "issuer_summary", "issuer_v1", "merchant_of_record_authorization_form", "merchant_of_record_payment_form", "online_authorization", "online_payment_authorization_form", "payment_cryptopay", "payment_error", "payment_paypal", "payment_reference", "payment_source_confirmation_action", "payment_version", "paypal_authorization_details", "paypal_authorization_form", "post_payment_redirect_urls", "public_key", "redirect_authorization_details", "redirect_authorization_form", "refund", "refund_capture", "refund_capture_summary", "refund_error", "refund_form", "refund_identifier", "refund_order_summary", "refund_order_summary_amounts", "refund_reference", "refund_version", "reversal", "reversal_error", "reversal_form", "reversal_put_form", "reversal_version", "stripe_authentication_data", "stripe_authentication_data_form", "stripe_authorization_result_action_details", "three_d_secure", "virtual_card", "virtual_card_capture", "virtual_card_capture_version", "virtual_card_form", "virtual_card_reference", "virtual_card_refund", "virtual_card_refund_version", "virtual_card_version" ],
24017
24048
  "annotations" : [ ]
24018
24049
  }, {
24019
24050
  "uri" : "https://app.apibuilder.io/flow/paypal/latest/service.json",
@@ -29680,11 +29711,6 @@
29680
29711
  "location" : "Query",
29681
29712
  "type" : "chargeback_payment_status",
29682
29713
  "required" : false
29683
- }, {
29684
- "name" : "process_status",
29685
- "location" : "Query",
29686
- "type" : "chargeback_process_status",
29687
- "required" : false
29688
29714
  }, {
29689
29715
  "default" : "25",
29690
29716
  "name" : "limit",
@@ -35943,6 +35969,124 @@
35943
35969
  }
35944
35970
  } ],
35945
35971
  "type" : "io.flow.common.v0.models.user"
35972
+ }, {
35973
+ "path" : "/payment/callbacks/cryptopay",
35974
+ "plural" : "crypto_events",
35975
+ "operations" : [ {
35976
+ "path" : "/payment/callbacks/cryptopay",
35977
+ "method" : "POST",
35978
+ "responses" : [ {
35979
+ "code" : {
35980
+ "integer" : {
35981
+ "value" : 200
35982
+ }
35983
+ },
35984
+ "description" : "Successful response",
35985
+ "attributes" : [ ],
35986
+ "type" : "json"
35987
+ }, {
35988
+ "code" : {
35989
+ "integer" : {
35990
+ "value" : 401
35991
+ }
35992
+ },
35993
+ "description" : "Authorization failed",
35994
+ "attributes" : [ ],
35995
+ "type" : "unit"
35996
+ }, {
35997
+ "code" : {
35998
+ "integer" : {
35999
+ "value" : 422
36000
+ }
36001
+ },
36002
+ "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.",
36003
+ "attributes" : [ ],
36004
+ "type" : "io.flow.error.v0.models.generic_error"
36005
+ } ],
36006
+ "attributes" : [ ],
36007
+ "body" : {
36008
+ "description" : "Type is io.flow.crypto.v0.models.crypto_event - though we don't validate to ensure we always accept the callback.",
36009
+ "attributes" : [ ],
36010
+ "type" : "json"
36011
+ },
36012
+ "parameters" : [ ]
36013
+ } ],
36014
+ "attributes" : [ {
36015
+ "name" : "docs",
36016
+ "value" : {
36017
+ "module" : "general"
36018
+ }
36019
+ } ],
36020
+ "type" : "io.flow.crypto.v0.models.crypto_event"
36021
+ }, {
36022
+ "path" : "/:organization/currency/rates",
36023
+ "plural" : "rates",
36024
+ "operations" : [ {
36025
+ "path" : "/:organization/currency/rates/internal",
36026
+ "method" : "GET",
36027
+ "responses" : [ {
36028
+ "code" : {
36029
+ "integer" : {
36030
+ "value" : 200
36031
+ }
36032
+ },
36033
+ "description" : "List of upserted/republished rates",
36034
+ "attributes" : [ ],
36035
+ "type" : "[rate]"
36036
+ }, {
36037
+ "code" : {
36038
+ "integer" : {
36039
+ "value" : 404
36040
+ }
36041
+ },
36042
+ "description" : "Resource was not found",
36043
+ "attributes" : [ ],
36044
+ "type" : "unit"
36045
+ }, {
36046
+ "code" : {
36047
+ "integer" : {
36048
+ "value" : 422
36049
+ }
36050
+ },
36051
+ "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.",
36052
+ "attributes" : [ ],
36053
+ "type" : "io.flow.error.v0.models.generic_error"
36054
+ } ],
36055
+ "description" : "Utility endpoint to quickly force republishing of an organization rates. For specified target or all target currencies.",
36056
+ "attributes" : [ {
36057
+ "name" : "auth",
36058
+ "value" : {
36059
+ "techniques" : [ "anonymous" ],
36060
+ "roles" : [ ]
36061
+ }
36062
+ }, {
36063
+ "name" : "linter",
36064
+ "value" : {
36065
+ "ignore" : [ "response_codes", "get", "sort_parameter_default", "id", "limit", "offset", "sort", "versions" ]
36066
+ }
36067
+ } ],
36068
+ "parameters" : [ {
36069
+ "name" : "organization",
36070
+ "description" : "Refers to your organization's account identifier",
36071
+ "location" : "Path",
36072
+ "type" : "string",
36073
+ "required" : true
36074
+ }, {
36075
+ "name" : "target",
36076
+ "description" : "Filter by the (case-insensitive) target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies",
36077
+ "maximum" : 100,
36078
+ "location" : "Query",
36079
+ "type" : "[string]",
36080
+ "required" : false
36081
+ } ]
36082
+ } ],
36083
+ "attributes" : [ {
36084
+ "name" : "docs",
36085
+ "value" : {
36086
+ "module" : "general"
36087
+ }
36088
+ } ],
36089
+ "type" : "io.flow.currency.v0.models.rate"
35946
36090
  }, {
35947
36091
  "path" : "/:organization/experiences",
35948
36092
  "plural" : "experiences",
@@ -51433,6 +51577,9 @@
51433
51577
  }, {
51434
51578
  "name" : "fiserv",
51435
51579
  "attributes" : [ ]
51580
+ }, {
51581
+ "name" : "crypto",
51582
+ "attributes" : [ ]
51436
51583
  } ],
51437
51584
  "name" : "processor",
51438
51585
  "description" : "Defines the available processors that we can use.",