@flowio/api-internal-mock-generator 0.0.4 → 0.0.5
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.
- package/dist/api-internal.json +362 -11
- package/package.json +5 -4
- package/src/api-internal.json +45589 -45238
package/dist/api-internal.json
CHANGED
|
@@ -10,10 +10,38 @@
|
|
|
10
10
|
"key": "api-internal"
|
|
11
11
|
},
|
|
12
12
|
"namespace": "io.flow.internal.v0",
|
|
13
|
-
"version": "0.5.
|
|
13
|
+
"version": "0.5.86",
|
|
14
14
|
"info": {},
|
|
15
15
|
"headers": [],
|
|
16
16
|
"imports": [{
|
|
17
|
+
"uri": "https://app.apibuilder.io/flow/error/latest/service.json",
|
|
18
|
+
"namespace": "io.flow.error.v0",
|
|
19
|
+
"organization": {
|
|
20
|
+
"key": "flow"
|
|
21
|
+
},
|
|
22
|
+
"application": {
|
|
23
|
+
"key": "error"
|
|
24
|
+
},
|
|
25
|
+
"version": "0.6.77",
|
|
26
|
+
"enums": ["generic_error_code"],
|
|
27
|
+
"unions": [],
|
|
28
|
+
"models": ["generic_error"],
|
|
29
|
+
"annotations": []
|
|
30
|
+
}, {
|
|
31
|
+
"uri": "https://app.apibuilder.io/flow/permission/latest/service.json",
|
|
32
|
+
"namespace": "io.flow.permission.v0",
|
|
33
|
+
"organization": {
|
|
34
|
+
"key": "flow"
|
|
35
|
+
},
|
|
36
|
+
"application": {
|
|
37
|
+
"key": "permission"
|
|
38
|
+
},
|
|
39
|
+
"version": "0.6.73",
|
|
40
|
+
"enums": ["authentication_technique", "flow_addon_role", "flow_behavior", "flow_user_role", "permitted_http_method"],
|
|
41
|
+
"unions": ["flow_role"],
|
|
42
|
+
"models": ["behavior_audit", "permission_audit", "permission_check", "permission_error", "permitted_route", "route_audit", "simple_permission_check"],
|
|
43
|
+
"annotations": []
|
|
44
|
+
}, {
|
|
17
45
|
"uri": "https://app.apibuilder.io/flow/common/latest/service.json",
|
|
18
46
|
"namespace": "io.flow.common.v0",
|
|
19
47
|
"organization": {
|
|
@@ -1716,7 +1744,7 @@
|
|
|
1716
1744
|
"application": {
|
|
1717
1745
|
"key": "experience"
|
|
1718
1746
|
},
|
|
1719
|
-
"version": "0.6
|
|
1747
|
+
"version": "0.7.6",
|
|
1720
1748
|
"enums": ["credit_payment_error_code", "delivered_duty_display_type", "experience_payment_method_tag", "experience_status", "installment_plan_payment_error_code", "order_error_code", "order_payment_type", "order_price_detail_component_key", "order_price_detail_key", "order_status", "organization_payment_method_tag", "payment_method_rule_content_key", "promotion_trigger_type"],
|
|
1721
1749
|
"unions": ["allocation_component", "allocation_detail", "expandable_experience", "expandable_order", "order_number_generator", "order_promotion", "order_promotion_form", "payment_method_tag", "promotion"],
|
|
1722
1750
|
"models": ["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", "credit_payment", "credit_payment_error", "credit_payment_form", "credit_payment_version", "delivered_duty_setting", "discount", "experience", "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_reference", "experience_settings", "experience_status_form", "experience_version", "free_shipping", "free_shipping_order_promotion", "free_shipping_order_promotion_form", "installment_plan_payment_error", "installment_plan_payment_form", "installment_program_summary", "item_margin", "item_margin_post_form", "item_margin_put_form", "item_margin_version", "line", "localized_line_item", "localized_line_item_discount", "order", "order_address", "order_builder", "order_builder_attributes_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_payment", "order_price_detail", "order_price_detail_component", "order_promotion_trigger", "order_put_form", "order_reference", "order_rule_reference", "order_rules_summary", "order_version", "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"],
|
|
@@ -1730,7 +1758,7 @@
|
|
|
1730
1758
|
"application": {
|
|
1731
1759
|
"key": "fraud-internal"
|
|
1732
1760
|
},
|
|
1733
|
-
"version": "0.5.
|
|
1761
|
+
"version": "0.5.78",
|
|
1734
1762
|
"enums": ["risk_evaluation"],
|
|
1735
1763
|
"unions": [],
|
|
1736
1764
|
"models": ["decision", "fraud_pending_review", "fraud_review", "fraud_review_decision", "fraud_review_decision_form", "fraud_review_version", "notification"],
|
|
@@ -1744,7 +1772,7 @@
|
|
|
1744
1772
|
"application": {
|
|
1745
1773
|
"key": "installment"
|
|
1746
1774
|
},
|
|
1747
|
-
"version": "0.5.
|
|
1775
|
+
"version": "0.5.60",
|
|
1748
1776
|
"enums": ["installment_payment_type", "installment_program_status", "installment_status", "order_event_type"],
|
|
1749
1777
|
"unions": ["installment_condition", "installment_step", "installment_step_form"],
|
|
1750
1778
|
"models": ["balance_installment_step", "balance_installment_step_form", "fixed_amount_installment_step", "fixed_amount_installment_step_form", "fraction_installment_step", "fraction_installment_step_form", "installment", "installment_authorization_reference", "installment_form", "installment_order_reference", "installment_plan", "installment_plan_authorization", "installment_plan_form", "installment_plan_reference", "installment_program", "installment_program_form", "installment_program_reference", "installment_program_status_form", "next_installment", "order_event_condition", "percentage_installment_step", "percentage_installment_step_form", "time_condition"],
|
|
@@ -1758,10 +1786,10 @@
|
|
|
1758
1786
|
"application": {
|
|
1759
1787
|
"key": "label"
|
|
1760
1788
|
},
|
|
1761
|
-
"version": "0.
|
|
1789
|
+
"version": "0.7.2",
|
|
1762
1790
|
"enums": ["direction", "shipment_recipient", "tracking_number_type"],
|
|
1763
|
-
"unions": ["shipping_notification_form"],
|
|
1764
|
-
"models": ["crossdock_shipment", "detailed_shipping_notification_form", "label_order_summary", "manifest", "manifest_form", "shipping_label", "shipping_label_document", "
|
|
1791
|
+
"unions": ["shipping_label_form", "shipping_notification_form"],
|
|
1792
|
+
"models": ["crossdock_shipment", "detailed_shipping_label_form", "detailed_shipping_notification_form", "label_order_summary", "manifest", "manifest_form", "shipping_label", "shipping_label_document", "shipping_label_package", "shipping_label_summary", "shipping_label_version", "shipping_notification", "shipping_notification_version", "single_package_shipping_notification_form", "summary_shipping_label_form"],
|
|
1765
1793
|
"annotations": []
|
|
1766
1794
|
}, {
|
|
1767
1795
|
"uri": "https://app.apibuilder.io/flow/payment/latest/service.json",
|
|
@@ -1772,10 +1800,10 @@
|
|
|
1772
1800
|
"application": {
|
|
1773
1801
|
"key": "payment"
|
|
1774
1802
|
},
|
|
1775
|
-
"version": "0.
|
|
1803
|
+
"version": "0.7.7",
|
|
1776
1804
|
"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", "refund_decline_code", "refund_status", "reversal_error_code", "reversal_status", "three_d_secure_code", "token_type"],
|
|
1777
|
-
"unions": ["authorization", "authorization_form", "authorization_payload_parameters", "
|
|
1778
|
-
"models": ["ach_authorization_form", "apple_pay_merchant_validation_payload", "authorization_copy_form", "authorization_error", "authorization_order_reference", "authorization_payload", "authorization_reference", "authorization_result", "authorization_result_action", "authorization_result_description", "authorization_version", "avs", "capture", "capture_error", "capture_form", "capture_identifier", "capture_reference", "capture_version", "card", "card_authorization", "
|
|
1805
|
+
"unions": ["authorization", "authorization_form", "authorization_payload_parameters", "confirmation_details", "expandable_card", "gateway_authentication_data", "gateway_authentication_data_form", "online_authorization_details", "payment", "payment_form"],
|
|
1806
|
+
"models": ["ach_authorization_form", "apple_pay_merchant_validation_payload", "authorization_copy_form", "authorization_error", "authorization_order_reference", "authorization_payload", "authorization_reference", "authorization_result", "authorization_result_action", "authorization_result_description", "authorization_version", "avs", "capture", "capture_error", "capture_form", "capture_identifier", "capture_reference", "capture_version", "card", "card_authorization", "card_error", "card_form", "card_nonce_form", "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_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", "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"],
|
|
1779
1807
|
"annotations": []
|
|
1780
1808
|
}, {
|
|
1781
1809
|
"uri": "https://app.apibuilder.io/flow/permission/latest/service.json",
|
|
@@ -1800,7 +1828,7 @@
|
|
|
1800
1828
|
"application": {
|
|
1801
1829
|
"key": "reference"
|
|
1802
1830
|
},
|
|
1803
|
-
"version": "0.
|
|
1831
|
+
"version": "0.7.1",
|
|
1804
1832
|
"enums": ["payment_method_type", "province_type"],
|
|
1805
1833
|
"unions": [],
|
|
1806
1834
|
"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"],
|
|
@@ -3979,6 +4007,42 @@
|
|
|
3979
4007
|
"attributes": []
|
|
3980
4008
|
}],
|
|
3981
4009
|
"attributes": []
|
|
4010
|
+
}, {
|
|
4011
|
+
"name": "payment_summary_status",
|
|
4012
|
+
"plural": "payment_summary_statuses",
|
|
4013
|
+
"values": [{
|
|
4014
|
+
"name": "authorized",
|
|
4015
|
+
"attributes": []
|
|
4016
|
+
}, {
|
|
4017
|
+
"name": "canceled",
|
|
4018
|
+
"attributes": []
|
|
4019
|
+
}, {
|
|
4020
|
+
"name": "declined",
|
|
4021
|
+
"attributes": []
|
|
4022
|
+
}, {
|
|
4023
|
+
"name": "expired",
|
|
4024
|
+
"attributes": []
|
|
4025
|
+
}, {
|
|
4026
|
+
"name": "failed",
|
|
4027
|
+
"attributes": []
|
|
4028
|
+
}, {
|
|
4029
|
+
"name": "pending",
|
|
4030
|
+
"attributes": []
|
|
4031
|
+
}, {
|
|
4032
|
+
"name": "processed",
|
|
4033
|
+
"attributes": []
|
|
4034
|
+
}, {
|
|
4035
|
+
"name": "reversed",
|
|
4036
|
+
"attributes": []
|
|
4037
|
+
}, {
|
|
4038
|
+
"name": "review",
|
|
4039
|
+
"attributes": []
|
|
4040
|
+
}, {
|
|
4041
|
+
"name": "succeeded",
|
|
4042
|
+
"attributes": []
|
|
4043
|
+
}],
|
|
4044
|
+
"attributes": [],
|
|
4045
|
+
"description": "Represents the union of all distinct payment status types among authorizations, captures, reversals, and refunds."
|
|
3982
4046
|
}, {
|
|
3983
4047
|
"name": "payment_summary_type",
|
|
3984
4048
|
"plural": "payment_summary_types",
|
|
@@ -6511,6 +6575,63 @@
|
|
|
6511
6575
|
"annotations": []
|
|
6512
6576
|
}],
|
|
6513
6577
|
"attributes": []
|
|
6578
|
+
}, {
|
|
6579
|
+
"name": "alert_failure_summary",
|
|
6580
|
+
"plural": "alert_failure_summaries",
|
|
6581
|
+
"fields": [{
|
|
6582
|
+
"name": "database",
|
|
6583
|
+
"type": "string",
|
|
6584
|
+
"required": true,
|
|
6585
|
+
"attributes": [],
|
|
6586
|
+
"annotations": []
|
|
6587
|
+
}, {
|
|
6588
|
+
"name": "summaries",
|
|
6589
|
+
"type": "[alert_failure_summary_detail]",
|
|
6590
|
+
"required": true,
|
|
6591
|
+
"attributes": [],
|
|
6592
|
+
"annotations": []
|
|
6593
|
+
}],
|
|
6594
|
+
"attributes": []
|
|
6595
|
+
}, {
|
|
6596
|
+
"name": "alert_failure_summary_detail",
|
|
6597
|
+
"plural": "alert_failure_summary_details",
|
|
6598
|
+
"fields": [{
|
|
6599
|
+
"name": "queue",
|
|
6600
|
+
"type": "string",
|
|
6601
|
+
"required": true,
|
|
6602
|
+
"attributes": [],
|
|
6603
|
+
"annotations": []
|
|
6604
|
+
}, {
|
|
6605
|
+
"name": "count",
|
|
6606
|
+
"type": "long",
|
|
6607
|
+
"required": true,
|
|
6608
|
+
"attributes": [],
|
|
6609
|
+
"annotations": []
|
|
6610
|
+
}, {
|
|
6611
|
+
"name": "errors",
|
|
6612
|
+
"type": "[string]",
|
|
6613
|
+
"required": true,
|
|
6614
|
+
"attributes": [],
|
|
6615
|
+
"annotations": []
|
|
6616
|
+
}],
|
|
6617
|
+
"attributes": []
|
|
6618
|
+
}, {
|
|
6619
|
+
"name": "alert_requeue_summary",
|
|
6620
|
+
"plural": "alert_requeue_summaries",
|
|
6621
|
+
"fields": [{
|
|
6622
|
+
"name": "queue",
|
|
6623
|
+
"type": "string",
|
|
6624
|
+
"required": true,
|
|
6625
|
+
"attributes": [],
|
|
6626
|
+
"annotations": []
|
|
6627
|
+
}, {
|
|
6628
|
+
"name": "count",
|
|
6629
|
+
"type": "long",
|
|
6630
|
+
"required": true,
|
|
6631
|
+
"attributes": [],
|
|
6632
|
+
"annotations": []
|
|
6633
|
+
}],
|
|
6634
|
+
"attributes": []
|
|
6514
6635
|
}, {
|
|
6515
6636
|
"name": "allocation_item_reference",
|
|
6516
6637
|
"plural": "allocation_item_references",
|
|
@@ -8370,6 +8491,12 @@
|
|
|
8370
8491
|
"attributes": [],
|
|
8371
8492
|
"annotations": [],
|
|
8372
8493
|
"description": "Client's unique identifier for this object"
|
|
8494
|
+
}, {
|
|
8495
|
+
"name": "product_id",
|
|
8496
|
+
"type": "string",
|
|
8497
|
+
"required": false,
|
|
8498
|
+
"attributes": [],
|
|
8499
|
+
"annotations": []
|
|
8373
8500
|
}, {
|
|
8374
8501
|
"name": "name",
|
|
8375
8502
|
"type": "string",
|
|
@@ -18286,6 +18413,12 @@
|
|
|
18286
18413
|
"attributes": [],
|
|
18287
18414
|
"annotations": [],
|
|
18288
18415
|
"description": "More payment information optional"
|
|
18416
|
+
}, {
|
|
18417
|
+
"name": "status",
|
|
18418
|
+
"type": "payment_summary_status",
|
|
18419
|
+
"required": false,
|
|
18420
|
+
"attributes": [],
|
|
18421
|
+
"annotations": []
|
|
18289
18422
|
}],
|
|
18290
18423
|
"attributes": []
|
|
18291
18424
|
}, {
|
|
@@ -25253,6 +25386,224 @@
|
|
|
25253
25386
|
}],
|
|
25254
25387
|
"path": "/:organization/accounts",
|
|
25255
25388
|
"description": "An organization has a single account for each base currency which manages all entries in that currency."
|
|
25389
|
+
}, {
|
|
25390
|
+
"type": "alert_failure_summary",
|
|
25391
|
+
"plural": "alert_failure_summaries",
|
|
25392
|
+
"operations": [{
|
|
25393
|
+
"method": "GET",
|
|
25394
|
+
"path": "/internal/stats/events/failures/summaries",
|
|
25395
|
+
"parameters": [],
|
|
25396
|
+
"responses": [{
|
|
25397
|
+
"code": {
|
|
25398
|
+
"integer": {
|
|
25399
|
+
"value": 200
|
|
25400
|
+
}
|
|
25401
|
+
},
|
|
25402
|
+
"type": "[alert_failure_summary]",
|
|
25403
|
+
"description": "Successful response",
|
|
25404
|
+
"attributes": []
|
|
25405
|
+
}, {
|
|
25406
|
+
"code": {
|
|
25407
|
+
"integer": {
|
|
25408
|
+
"value": 401
|
|
25409
|
+
}
|
|
25410
|
+
},
|
|
25411
|
+
"type": "unit",
|
|
25412
|
+
"description": "Authorization failed",
|
|
25413
|
+
"attributes": []
|
|
25414
|
+
}, {
|
|
25415
|
+
"code": {
|
|
25416
|
+
"integer": {
|
|
25417
|
+
"value": 403
|
|
25418
|
+
}
|
|
25419
|
+
},
|
|
25420
|
+
"type": "io.flow.permission.v0.models.permission_error",
|
|
25421
|
+
"attributes": []
|
|
25422
|
+
}, {
|
|
25423
|
+
"code": {
|
|
25424
|
+
"integer": {
|
|
25425
|
+
"value": 404
|
|
25426
|
+
}
|
|
25427
|
+
},
|
|
25428
|
+
"type": "unit",
|
|
25429
|
+
"description": "Resource was not found",
|
|
25430
|
+
"attributes": []
|
|
25431
|
+
}, {
|
|
25432
|
+
"code": {
|
|
25433
|
+
"integer": {
|
|
25434
|
+
"value": 422
|
|
25435
|
+
}
|
|
25436
|
+
},
|
|
25437
|
+
"type": "io.flow.error.v0.models.generic_error",
|
|
25438
|
+
"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.",
|
|
25439
|
+
"attributes": []
|
|
25440
|
+
}],
|
|
25441
|
+
"attributes": [{
|
|
25442
|
+
"name": "linter",
|
|
25443
|
+
"value": {
|
|
25444
|
+
"ignore": ["get", "versions"]
|
|
25445
|
+
}
|
|
25446
|
+
}, {
|
|
25447
|
+
"name": "auth",
|
|
25448
|
+
"value": {
|
|
25449
|
+
"techniques": ["user", "token"],
|
|
25450
|
+
"roles": ["flow_operations"]
|
|
25451
|
+
}
|
|
25452
|
+
}],
|
|
25453
|
+
"description": "Returns the most recent 100 error summaries for a service's failed events"
|
|
25454
|
+
}, {
|
|
25455
|
+
"method": "GET",
|
|
25456
|
+
"path": "/internal/stats/events/failures/summaries/:db",
|
|
25457
|
+
"parameters": [{
|
|
25458
|
+
"name": "db",
|
|
25459
|
+
"type": "string",
|
|
25460
|
+
"location": "Path",
|
|
25461
|
+
"required": true
|
|
25462
|
+
}, {
|
|
25463
|
+
"name": "queue",
|
|
25464
|
+
"type": "string",
|
|
25465
|
+
"location": "Query",
|
|
25466
|
+
"required": false
|
|
25467
|
+
}],
|
|
25468
|
+
"responses": [{
|
|
25469
|
+
"code": {
|
|
25470
|
+
"integer": {
|
|
25471
|
+
"value": 200
|
|
25472
|
+
}
|
|
25473
|
+
},
|
|
25474
|
+
"type": "alert_failure_summary",
|
|
25475
|
+
"description": "Successful response",
|
|
25476
|
+
"attributes": []
|
|
25477
|
+
}, {
|
|
25478
|
+
"code": {
|
|
25479
|
+
"integer": {
|
|
25480
|
+
"value": 401
|
|
25481
|
+
}
|
|
25482
|
+
},
|
|
25483
|
+
"type": "unit",
|
|
25484
|
+
"description": "Authorization failed",
|
|
25485
|
+
"attributes": []
|
|
25486
|
+
}, {
|
|
25487
|
+
"code": {
|
|
25488
|
+
"integer": {
|
|
25489
|
+
"value": 403
|
|
25490
|
+
}
|
|
25491
|
+
},
|
|
25492
|
+
"type": "io.flow.permission.v0.models.permission_error",
|
|
25493
|
+
"attributes": []
|
|
25494
|
+
}, {
|
|
25495
|
+
"code": {
|
|
25496
|
+
"integer": {
|
|
25497
|
+
"value": 404
|
|
25498
|
+
}
|
|
25499
|
+
},
|
|
25500
|
+
"type": "unit",
|
|
25501
|
+
"description": "Resource was not found",
|
|
25502
|
+
"attributes": []
|
|
25503
|
+
}, {
|
|
25504
|
+
"code": {
|
|
25505
|
+
"integer": {
|
|
25506
|
+
"value": 422
|
|
25507
|
+
}
|
|
25508
|
+
},
|
|
25509
|
+
"type": "io.flow.error.v0.models.generic_error",
|
|
25510
|
+
"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.",
|
|
25511
|
+
"attributes": []
|
|
25512
|
+
}],
|
|
25513
|
+
"attributes": [{
|
|
25514
|
+
"name": "linter",
|
|
25515
|
+
"value": {
|
|
25516
|
+
"ignore": ["get", "versions"]
|
|
25517
|
+
}
|
|
25518
|
+
}, {
|
|
25519
|
+
"name": "auth",
|
|
25520
|
+
"value": {
|
|
25521
|
+
"techniques": ["user", "token"],
|
|
25522
|
+
"roles": ["flow_operations"]
|
|
25523
|
+
}
|
|
25524
|
+
}],
|
|
25525
|
+
"description": "Returns the most recent 100 error summaries for a service's failed events"
|
|
25526
|
+
}],
|
|
25527
|
+
"attributes": [{
|
|
25528
|
+
"name": "docs",
|
|
25529
|
+
"value": {
|
|
25530
|
+
"module": "general"
|
|
25531
|
+
}
|
|
25532
|
+
}],
|
|
25533
|
+
"path": "/internal/stats/events/failures/summaries"
|
|
25534
|
+
}, {
|
|
25535
|
+
"type": "alert_requeue_summary",
|
|
25536
|
+
"plural": "alert_requeue_summaries",
|
|
25537
|
+
"operations": [{
|
|
25538
|
+
"method": "POST",
|
|
25539
|
+
"path": "/internal/stats/events/failures/:db/requeue",
|
|
25540
|
+
"parameters": [{
|
|
25541
|
+
"name": "db",
|
|
25542
|
+
"type": "string",
|
|
25543
|
+
"location": "Path",
|
|
25544
|
+
"required": true
|
|
25545
|
+
}],
|
|
25546
|
+
"responses": [{
|
|
25547
|
+
"code": {
|
|
25548
|
+
"integer": {
|
|
25549
|
+
"value": 201
|
|
25550
|
+
}
|
|
25551
|
+
},
|
|
25552
|
+
"type": "[alert_requeue_summary]",
|
|
25553
|
+
"description": "Operation succeeded and the resource was created",
|
|
25554
|
+
"attributes": []
|
|
25555
|
+
}, {
|
|
25556
|
+
"code": {
|
|
25557
|
+
"integer": {
|
|
25558
|
+
"value": 401
|
|
25559
|
+
}
|
|
25560
|
+
},
|
|
25561
|
+
"type": "unit",
|
|
25562
|
+
"description": "Authorization failed",
|
|
25563
|
+
"attributes": []
|
|
25564
|
+
}, {
|
|
25565
|
+
"code": {
|
|
25566
|
+
"integer": {
|
|
25567
|
+
"value": 403
|
|
25568
|
+
}
|
|
25569
|
+
},
|
|
25570
|
+
"type": "io.flow.permission.v0.models.permission_error",
|
|
25571
|
+
"attributes": []
|
|
25572
|
+
}, {
|
|
25573
|
+
"code": {
|
|
25574
|
+
"integer": {
|
|
25575
|
+
"value": 404
|
|
25576
|
+
}
|
|
25577
|
+
},
|
|
25578
|
+
"type": "unit",
|
|
25579
|
+
"description": "Resource was not found",
|
|
25580
|
+
"attributes": []
|
|
25581
|
+
}, {
|
|
25582
|
+
"code": {
|
|
25583
|
+
"integer": {
|
|
25584
|
+
"value": 422
|
|
25585
|
+
}
|
|
25586
|
+
},
|
|
25587
|
+
"type": "io.flow.error.v0.models.generic_error",
|
|
25588
|
+
"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.",
|
|
25589
|
+
"attributes": []
|
|
25590
|
+
}],
|
|
25591
|
+
"attributes": [{
|
|
25592
|
+
"name": "auth",
|
|
25593
|
+
"value": {
|
|
25594
|
+
"techniques": ["user", "token"],
|
|
25595
|
+
"roles": ["flow_operations"]
|
|
25596
|
+
}
|
|
25597
|
+
}],
|
|
25598
|
+
"description": "Requeue failed events for the service"
|
|
25599
|
+
}],
|
|
25600
|
+
"attributes": [{
|
|
25601
|
+
"name": "docs",
|
|
25602
|
+
"value": {
|
|
25603
|
+
"module": "general"
|
|
25604
|
+
}
|
|
25605
|
+
}],
|
|
25606
|
+
"path": "/internal/stats/events/failures/:db/requeue"
|
|
25256
25607
|
}, {
|
|
25257
25608
|
"type": "authorized_charge_status",
|
|
25258
25609
|
"plural": "authorized_charge_statuses",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-mock-generator",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "A mock data generator based on our internal API specifications for JavaScript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"clean": "rm -rf ./dist",
|
|
9
9
|
"lint": "tslint -c tslint.json -p tsconfig.json './src/**/*.{js,ts}'",
|
|
10
10
|
"download": "apibuilder download flow api-internal latest original > src/api-internal.json",
|
|
11
|
-
"prepare": "npm run clean && npm run build"
|
|
11
|
+
"prepare": "npm run clean && npm run build",
|
|
12
|
+
"regenerate": "npm run download"
|
|
12
13
|
},
|
|
13
14
|
"keywords": [
|
|
14
15
|
"flowcommerce",
|
|
@@ -25,12 +26,12 @@
|
|
|
25
26
|
"license": "MIT",
|
|
26
27
|
"dependencies": {
|
|
27
28
|
"apibuilder-js": "0.0.3",
|
|
28
|
-
"apibuilder-mock-generator": "0.0.
|
|
29
|
+
"apibuilder-mock-generator": "0.0.3"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"tslint": "^5.11.0",
|
|
32
33
|
"tslint-config-airbnb": "^5.11.1",
|
|
33
34
|
"typescript": "^3.2.2"
|
|
34
35
|
},
|
|
35
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "35cf44e02bdf77378e3ad5cb3629e48af536edef"
|
|
36
37
|
}
|