@flowio/api-internal-mock-generator 5.31.0 → 5.31.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.
- package/dist/api-internal.json +349 -14
- package/package.json +2 -2
- package/src/api-internal.json +349 -14
package/dist/api-internal.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"key": "api-internal"
|
|
11
11
|
},
|
|
12
12
|
"namespace": "io.flow.internal.v0",
|
|
13
|
-
"version": "0.15.
|
|
13
|
+
"version": "0.15.63",
|
|
14
14
|
"info": {
|
|
15
15
|
"license": {
|
|
16
16
|
"name": "MIT",
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
"application": {
|
|
302
302
|
"key": "shopify-external"
|
|
303
303
|
},
|
|
304
|
-
"version": "0.2.
|
|
304
|
+
"version": "0.2.75",
|
|
305
305
|
"enums": ["cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "inventory_behaviour", "inventory_management", "inventory_policy", "kind_type", "localized_price", "order_status_type", "price_rule_allocation_method", "price_rule_customer_selection", "price_rule_target_selection", "price_rule_target_type", "price_rule_value_type", "published_scope", "restock_type", "shopify_customer_state", "shopify_discount_pagination_direction", "shopify_gift_card_status", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit"],
|
|
306
306
|
"interfaces": [],
|
|
307
307
|
"unions": [],
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
"application": {
|
|
317
317
|
"key": "shopify-markets"
|
|
318
318
|
},
|
|
319
|
-
"version": "0.2.
|
|
319
|
+
"version": "0.2.75",
|
|
320
320
|
"enums": ["cancel_reason", "fulfillment_order_delivery_method_type", "incoterm_duties", "shopify_discrepancy_reason", "shopify_order_cancel_reason", "shopify_order_discount_allocation_method", "shopify_order_discount_application_target_selection", "shopify_order_discount_application_target_type", "shopify_order_discount_application_type", "shopify_order_discount_application_value_type", "shopify_order_discount_type", "shopify_order_financial_status_type", "shopify_order_fulfillment_order_request_status", "shopify_order_fulfillment_order_status", "shopify_order_fulfillment_shipment_status", "shopify_order_fulfillment_status", "shopify_order_fulfillment_status_type", "shopify_order_inventory_behaviour", "shopify_order_kind_type", "shopify_order_processing_method_type", "shopify_order_restock_type", "shopify_order_status_type", "shopify_order_transaction_error_code", "shopify_order_transaction_status", "shopify_order_value_type", "shopify_webhook_format", "shopify_webhook_topic"],
|
|
321
321
|
"interfaces": [],
|
|
322
322
|
"unions": [],
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
"application": {
|
|
347
347
|
"key": "adyen"
|
|
348
348
|
},
|
|
349
|
-
"version": "0.2.
|
|
349
|
+
"version": "0.2.75",
|
|
350
350
|
"enums": ["channel", "contract", "device_channel", "event_code", "method", "operation", "payment_method", "recurring_processing_model", "result_code", "shopper_interaction", "threeds_completion_indicator"],
|
|
351
351
|
"interfaces": [],
|
|
352
352
|
"unions": ["browser_info", "payment_method_data"],
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
"application": {
|
|
362
362
|
"key": "bitpay"
|
|
363
363
|
},
|
|
364
|
-
"version": "0.2.
|
|
364
|
+
"version": "0.2.75",
|
|
365
365
|
"enums": ["exception_status", "invoice_status", "refund_status", "transaction_speed", "webhook_event_name"],
|
|
366
366
|
"interfaces": [],
|
|
367
367
|
"unions": [],
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
"application": {
|
|
377
377
|
"key": "crypto"
|
|
378
378
|
},
|
|
379
|
-
"version": "0.2.
|
|
379
|
+
"version": "0.2.75",
|
|
380
380
|
"enums": ["error_type", "payment_status", "reason_type", "refund_status", "webhook_event_name", "webhook_object_type"],
|
|
381
381
|
"interfaces": [],
|
|
382
382
|
"unions": [],
|
|
@@ -421,7 +421,7 @@
|
|
|
421
421
|
"application": {
|
|
422
422
|
"key": "paypal"
|
|
423
423
|
},
|
|
424
|
-
"version": "0.2.
|
|
424
|
+
"version": "0.2.75",
|
|
425
425
|
"enums": ["adjudication_type", "affected_party", "allowed_payment_method", "cancellation_mode", "carrier_name", "dispute_channel", "dispute_life_cycle_stage", "dispute_merchant_contacted_mode", "dispute_merchant_contacted_outcome", "dispute_outcome_code", "dispute_reason", "dispute_status", "evidence_type", "failure_reason", "grant_type", "http_method", "intent", "issue_type", "message_poster", "money_movement_reason", "money_movement_type", "offer_type", "other_means_payment_method", "payer_status", "payment_method", "product_received", "refund_state", "return_acknowledgement_type", "return_mode", "service_started", "state", "sub_reason", "supporting_info_source", "transaction_status"],
|
|
426
426
|
"interfaces": [],
|
|
427
427
|
"unions": [],
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
"application": {
|
|
437
437
|
"key": "stripe"
|
|
438
438
|
},
|
|
439
|
-
"version": "0.2.
|
|
439
|
+
"version": "0.2.75",
|
|
440
440
|
"enums": ["account_type", "cancellation_reason", "capture_method", "card_brand", "card_error_code", "card_funding_type", "check_outcome", "code_verification_status", "confirmation_method", "decline_code", "error_type", "event_type", "klarna_payment_method_category_type", "klarna_product", "network_status", "next_action_type", "order_item_type", "payment_intent_status", "payment_method_type", "payment_outcome_type", "payment_status", "refund_failure_reason", "refund_reason", "refund_status", "request_three_d_secure_type", "requested_capabilities", "setup_future_usage", "source_flow", "source_status", "source_type", "source_usage_type", "three_d_secure_support", "token_type", "use_stripe_sdk_type"],
|
|
441
441
|
"interfaces": [],
|
|
442
442
|
"unions": [],
|
|
@@ -451,7 +451,7 @@
|
|
|
451
451
|
"application": {
|
|
452
452
|
"key": "svb"
|
|
453
453
|
},
|
|
454
|
-
"version": "0.2.
|
|
454
|
+
"version": "0.2.75",
|
|
455
455
|
"enums": ["clearing_type", "notification_type", "transaction_type"],
|
|
456
456
|
"interfaces": [],
|
|
457
457
|
"unions": [],
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
"application": {
|
|
482
482
|
"key": "brickftp"
|
|
483
483
|
},
|
|
484
|
-
"version": "0.2.
|
|
484
|
+
"version": "0.2.75",
|
|
485
485
|
"enums": ["authentication_method", "behavior_type", "grant_permission_setting", "ssl_required_setting", "webhook_event_action", "webhook_event_interface", "webhook_event_type"],
|
|
486
486
|
"interfaces": [],
|
|
487
487
|
"unions": ["file_form", "node"],
|
|
@@ -515,7 +515,7 @@
|
|
|
515
515
|
"enums": [],
|
|
516
516
|
"interfaces": ["common_hop_estimate", "ratecard_estimate"],
|
|
517
517
|
"unions": ["ratecard_estimate", "ratecard_fee", "service_fee"],
|
|
518
|
-
"models": ["crossdock_ratecard_fee", "ddp_ratecard_fee", "dimension_estimate", "dimension_estimate_form", "dimension_estimate_version", "duties_taxes_paid_surcharge_ratecard_fee", "duties_taxes_paid_surcharge_service_fee", "emergency_situation_surcharge_ratecard_fee", "emergency_situation_surcharge_service_fee", "estimated_dimensions", "fee_weight", "fuel_surcharge_ratecard_fee", "fuel_surcharge_service_fee", "hop", "hop_estimate", "hop_estimate_v2", "hop_v2", "lane_summary", "oversized_shipment_ratecard_fee", "peak_surcharge_by_weight_service_fee", "peak_surcharge_ratecard_fee", "peak_surcharge_service_fee", "ratecard", "ratecard_carrier_summary", "ratecard_estimate_form", "ratecard_estimate_summary_form", "ratecard_estimate_v1", "ratecard_estimate_v2", "ratecard_estimate_v3", "ratecard_estimate_v4", "ratecard_form", "ratecard_lane", "ratecard_lane_form", "ratecard_lane_import_form", "ratecard_lane_version", "ratecard_lanes_import_request_data", "ratecard_rate", "ratecard_rate_form", "ratecard_rate_version", "ratecard_reference", "ratecard_region_reference", "ratecard_service_summary", "ratecard_summary", "ratecard_version", "remote_area_ratecard_fee", "remote_area_service_fee", "return_package_ratecard_fee", "
|
|
518
|
+
"models": ["crossdock_ratecard_fee", "ddp_ratecard_fee", "dimension_estimate", "dimension_estimate_form", "dimension_estimate_version", "duties_taxes_paid_surcharge_ratecard_fee", "duties_taxes_paid_surcharge_service_fee", "emergency_situation_surcharge_ratecard_fee", "emergency_situation_surcharge_service_fee", "estimated_dimensions", "fee_weight", "fuel_surcharge_ratecard_fee", "fuel_surcharge_service_fee", "hop", "hop_estimate", "hop_estimate_v2", "hop_v2", "lane_summary", "oversized_shipment_ratecard_fee", "peak_surcharge_by_weight_service_fee", "peak_surcharge_ratecard_fee", "peak_surcharge_service_fee", "ratecard", "ratecard_carrier_summary", "ratecard_estimate_form", "ratecard_estimate_summary_form", "ratecard_estimate_v1", "ratecard_estimate_v2", "ratecard_estimate_v3", "ratecard_estimate_v4", "ratecard_form", "ratecard_lane", "ratecard_lane_form", "ratecard_lane_import_form", "ratecard_lane_version", "ratecard_lanes_import_request_data", "ratecard_rate", "ratecard_rate_form", "ratecard_rate_version", "ratecard_reference", "ratecard_region_reference", "ratecard_service_summary", "ratecard_summary", "ratecard_version", "remote_area_ratecard_fee", "remote_area_service_fee", "return_package_ratecard_fee", "shipment_window"],
|
|
519
519
|
"annotations": []
|
|
520
520
|
}, {
|
|
521
521
|
"uri": "https://app.apibuilder.io/flow/order-management-event/latest/service.json",
|
|
@@ -616,7 +616,7 @@
|
|
|
616
616
|
"application": {
|
|
617
617
|
"key": "pricing-indicator-internal-event"
|
|
618
618
|
},
|
|
619
|
-
"version": "0.15.
|
|
619
|
+
"version": "0.15.63",
|
|
620
620
|
"enums": ["pricing_indicator_status", "service_name"],
|
|
621
621
|
"interfaces": [],
|
|
622
622
|
"unions": ["pricing_indicator_event"],
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
"application": {
|
|
632
632
|
"key": "flexe"
|
|
633
633
|
},
|
|
634
|
-
"version": "0.2.
|
|
634
|
+
"version": "0.2.75",
|
|
635
635
|
"enums": ["flexe_attachment_type", "flexe_notification", "flexe_shipment_type", "flexe_status"],
|
|
636
636
|
"interfaces": [],
|
|
637
637
|
"unions": [],
|
|
@@ -13207,6 +13207,71 @@
|
|
|
13207
13207
|
}],
|
|
13208
13208
|
"attributes": [],
|
|
13209
13209
|
"interfaces": []
|
|
13210
|
+
}, {
|
|
13211
|
+
"name": "authorization_bundle_deleted",
|
|
13212
|
+
"plural": "authorization_bundle_deleteds",
|
|
13213
|
+
"fields": [{
|
|
13214
|
+
"name": "event_id",
|
|
13215
|
+
"type": "string",
|
|
13216
|
+
"required": true,
|
|
13217
|
+
"attributes": [],
|
|
13218
|
+
"annotations": []
|
|
13219
|
+
}, {
|
|
13220
|
+
"name": "timestamp",
|
|
13221
|
+
"type": "date-time-iso8601",
|
|
13222
|
+
"required": true,
|
|
13223
|
+
"attributes": [],
|
|
13224
|
+
"annotations": []
|
|
13225
|
+
}, {
|
|
13226
|
+
"name": "organization",
|
|
13227
|
+
"type": "string",
|
|
13228
|
+
"required": true,
|
|
13229
|
+
"attributes": [],
|
|
13230
|
+
"annotations": [],
|
|
13231
|
+
"description": "Refers to your organization's account identifier"
|
|
13232
|
+
}, {
|
|
13233
|
+
"name": "id",
|
|
13234
|
+
"type": "string",
|
|
13235
|
+
"required": true,
|
|
13236
|
+
"attributes": [],
|
|
13237
|
+
"annotations": [],
|
|
13238
|
+
"description": "Globally unique identifier"
|
|
13239
|
+
}],
|
|
13240
|
+
"attributes": [],
|
|
13241
|
+
"interfaces": [],
|
|
13242
|
+
"description": "Follows the lifecycle of the associated authorization: triggered if the auth is deleted."
|
|
13243
|
+
}, {
|
|
13244
|
+
"name": "authorization_bundle_upserted",
|
|
13245
|
+
"plural": "authorization_bundle_upserteds",
|
|
13246
|
+
"fields": [{
|
|
13247
|
+
"name": "event_id",
|
|
13248
|
+
"type": "string",
|
|
13249
|
+
"required": true,
|
|
13250
|
+
"attributes": [],
|
|
13251
|
+
"annotations": []
|
|
13252
|
+
}, {
|
|
13253
|
+
"name": "timestamp",
|
|
13254
|
+
"type": "date-time-iso8601",
|
|
13255
|
+
"required": true,
|
|
13256
|
+
"attributes": [],
|
|
13257
|
+
"annotations": []
|
|
13258
|
+
}, {
|
|
13259
|
+
"name": "organization",
|
|
13260
|
+
"type": "string",
|
|
13261
|
+
"required": true,
|
|
13262
|
+
"attributes": [],
|
|
13263
|
+
"annotations": [],
|
|
13264
|
+
"description": "Refers to your organization's account identifier"
|
|
13265
|
+
}, {
|
|
13266
|
+
"name": "authorization_bundle",
|
|
13267
|
+
"type": "authorization_bundle",
|
|
13268
|
+
"required": true,
|
|
13269
|
+
"attributes": [],
|
|
13270
|
+
"annotations": []
|
|
13271
|
+
}],
|
|
13272
|
+
"attributes": [],
|
|
13273
|
+
"interfaces": [],
|
|
13274
|
+
"description": "Follows the lifecycle of the associated authorization: triggered if the auth is upserted."
|
|
13210
13275
|
}, {
|
|
13211
13276
|
"name": "authorization_metadata",
|
|
13212
13277
|
"plural": "authorization_metadata",
|
|
@@ -40688,7 +40753,7 @@
|
|
|
40688
40753
|
}, {
|
|
40689
40754
|
"name": "flow_authorization",
|
|
40690
40755
|
"type": "io.flow.payment.v0.unions.authorization",
|
|
40691
|
-
"required":
|
|
40756
|
+
"required": false,
|
|
40692
40757
|
"attributes": [],
|
|
40693
40758
|
"annotations": []
|
|
40694
40759
|
}],
|
|
@@ -51682,6 +51747,37 @@
|
|
|
51682
51747
|
}],
|
|
51683
51748
|
"attributes": [],
|
|
51684
51749
|
"interfaces": []
|
|
51750
|
+
}, {
|
|
51751
|
+
"name": "test",
|
|
51752
|
+
"plural": "tests",
|
|
51753
|
+
"fields": [{
|
|
51754
|
+
"name": "id",
|
|
51755
|
+
"type": "string",
|
|
51756
|
+
"required": true,
|
|
51757
|
+
"attributes": [],
|
|
51758
|
+
"annotations": [],
|
|
51759
|
+
"description": "Globally unique identifier"
|
|
51760
|
+
}, {
|
|
51761
|
+
"name": "name",
|
|
51762
|
+
"type": "string",
|
|
51763
|
+
"required": true,
|
|
51764
|
+
"attributes": [],
|
|
51765
|
+
"annotations": []
|
|
51766
|
+
}],
|
|
51767
|
+
"attributes": [],
|
|
51768
|
+
"interfaces": []
|
|
51769
|
+
}, {
|
|
51770
|
+
"name": "test_form",
|
|
51771
|
+
"plural": "test_forms",
|
|
51772
|
+
"fields": [{
|
|
51773
|
+
"name": "name",
|
|
51774
|
+
"type": "string",
|
|
51775
|
+
"required": true,
|
|
51776
|
+
"attributes": [],
|
|
51777
|
+
"annotations": []
|
|
51778
|
+
}],
|
|
51779
|
+
"attributes": [],
|
|
51780
|
+
"interfaces": []
|
|
51685
51781
|
}, {
|
|
51686
51782
|
"name": "third_party_logistics_partner",
|
|
51687
51783
|
"plural": "third_party_logistics_partners",
|
|
@@ -88299,6 +88395,245 @@
|
|
|
88299
88395
|
}],
|
|
88300
88396
|
"path": "/:organization/orders/:number/tax/calculation",
|
|
88301
88397
|
"description": "Describes an order for which to calculate tax."
|
|
88398
|
+
}, {
|
|
88399
|
+
"type": "test",
|
|
88400
|
+
"plural": "tests",
|
|
88401
|
+
"operations": [{
|
|
88402
|
+
"method": "GET",
|
|
88403
|
+
"path": "/test",
|
|
88404
|
+
"parameters": [{
|
|
88405
|
+
"name": "id",
|
|
88406
|
+
"type": "[string]",
|
|
88407
|
+
"location": "Query",
|
|
88408
|
+
"required": false,
|
|
88409
|
+
"description": "Filter by one or more IDs of this resource",
|
|
88410
|
+
"maximum": 100
|
|
88411
|
+
}, {
|
|
88412
|
+
"name": "limit",
|
|
88413
|
+
"type": "long",
|
|
88414
|
+
"location": "Query",
|
|
88415
|
+
"required": true,
|
|
88416
|
+
"description": "The maximum number of results to return",
|
|
88417
|
+
"default": "25",
|
|
88418
|
+
"minimum": 1,
|
|
88419
|
+
"maximum": 100
|
|
88420
|
+
}, {
|
|
88421
|
+
"name": "offset",
|
|
88422
|
+
"type": "long",
|
|
88423
|
+
"location": "Query",
|
|
88424
|
+
"required": true,
|
|
88425
|
+
"description": "The number of results to skip before returning results",
|
|
88426
|
+
"default": "0",
|
|
88427
|
+
"minimum": 0
|
|
88428
|
+
}, {
|
|
88429
|
+
"name": "sort",
|
|
88430
|
+
"type": "string",
|
|
88431
|
+
"location": "Query",
|
|
88432
|
+
"required": true,
|
|
88433
|
+
"default": "name"
|
|
88434
|
+
}],
|
|
88435
|
+
"responses": [{
|
|
88436
|
+
"code": {
|
|
88437
|
+
"integer": {
|
|
88438
|
+
"value": 200
|
|
88439
|
+
}
|
|
88440
|
+
},
|
|
88441
|
+
"type": "[test]",
|
|
88442
|
+
"description": "Successful response",
|
|
88443
|
+
"attributes": []
|
|
88444
|
+
}, {
|
|
88445
|
+
"code": {
|
|
88446
|
+
"integer": {
|
|
88447
|
+
"value": 401
|
|
88448
|
+
}
|
|
88449
|
+
},
|
|
88450
|
+
"type": "unit",
|
|
88451
|
+
"description": "Authorization failed",
|
|
88452
|
+
"attributes": []
|
|
88453
|
+
}],
|
|
88454
|
+
"attributes": [{
|
|
88455
|
+
"name": "sort",
|
|
88456
|
+
"value": {
|
|
88457
|
+
"values": [{
|
|
88458
|
+
"value": "name"
|
|
88459
|
+
}]
|
|
88460
|
+
}
|
|
88461
|
+
}]
|
|
88462
|
+
}, {
|
|
88463
|
+
"method": "POST",
|
|
88464
|
+
"path": "/test",
|
|
88465
|
+
"parameters": [],
|
|
88466
|
+
"responses": [{
|
|
88467
|
+
"code": {
|
|
88468
|
+
"integer": {
|
|
88469
|
+
"value": 201
|
|
88470
|
+
}
|
|
88471
|
+
},
|
|
88472
|
+
"type": "test",
|
|
88473
|
+
"description": "Operation succeeded and the resource was created",
|
|
88474
|
+
"attributes": []
|
|
88475
|
+
}, {
|
|
88476
|
+
"code": {
|
|
88477
|
+
"integer": {
|
|
88478
|
+
"value": 401
|
|
88479
|
+
}
|
|
88480
|
+
},
|
|
88481
|
+
"type": "unit",
|
|
88482
|
+
"description": "Authorization failed",
|
|
88483
|
+
"attributes": []
|
|
88484
|
+
}, {
|
|
88485
|
+
"code": {
|
|
88486
|
+
"integer": {
|
|
88487
|
+
"value": 422
|
|
88488
|
+
}
|
|
88489
|
+
},
|
|
88490
|
+
"type": "io.flow.error.v0.models.generic_error",
|
|
88491
|
+
"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.",
|
|
88492
|
+
"attributes": []
|
|
88493
|
+
}],
|
|
88494
|
+
"attributes": [],
|
|
88495
|
+
"body": {
|
|
88496
|
+
"type": "test_form",
|
|
88497
|
+
"attributes": []
|
|
88498
|
+
}
|
|
88499
|
+
}, {
|
|
88500
|
+
"method": "GET",
|
|
88501
|
+
"path": "/test/:id",
|
|
88502
|
+
"parameters": [{
|
|
88503
|
+
"name": "id",
|
|
88504
|
+
"type": "string",
|
|
88505
|
+
"location": "Path",
|
|
88506
|
+
"required": true,
|
|
88507
|
+
"description": "Filter by one or more IDs of this resource"
|
|
88508
|
+
}],
|
|
88509
|
+
"responses": [{
|
|
88510
|
+
"code": {
|
|
88511
|
+
"integer": {
|
|
88512
|
+
"value": 200
|
|
88513
|
+
}
|
|
88514
|
+
},
|
|
88515
|
+
"type": "test",
|
|
88516
|
+
"description": "Successful response",
|
|
88517
|
+
"attributes": []
|
|
88518
|
+
}, {
|
|
88519
|
+
"code": {
|
|
88520
|
+
"integer": {
|
|
88521
|
+
"value": 401
|
|
88522
|
+
}
|
|
88523
|
+
},
|
|
88524
|
+
"type": "unit",
|
|
88525
|
+
"description": "Authorization failed",
|
|
88526
|
+
"attributes": []
|
|
88527
|
+
}, {
|
|
88528
|
+
"code": {
|
|
88529
|
+
"integer": {
|
|
88530
|
+
"value": 404
|
|
88531
|
+
}
|
|
88532
|
+
},
|
|
88533
|
+
"type": "unit",
|
|
88534
|
+
"description": "Resource was not found",
|
|
88535
|
+
"attributes": []
|
|
88536
|
+
}],
|
|
88537
|
+
"attributes": []
|
|
88538
|
+
}, {
|
|
88539
|
+
"method": "PUT",
|
|
88540
|
+
"path": "/test/:id",
|
|
88541
|
+
"parameters": [{
|
|
88542
|
+
"name": "id",
|
|
88543
|
+
"type": "string",
|
|
88544
|
+
"location": "Path",
|
|
88545
|
+
"required": true,
|
|
88546
|
+
"description": "Filter by one or more IDs of this resource"
|
|
88547
|
+
}],
|
|
88548
|
+
"responses": [{
|
|
88549
|
+
"code": {
|
|
88550
|
+
"integer": {
|
|
88551
|
+
"value": 200
|
|
88552
|
+
}
|
|
88553
|
+
},
|
|
88554
|
+
"type": "test",
|
|
88555
|
+
"description": "Successful response",
|
|
88556
|
+
"attributes": []
|
|
88557
|
+
}, {
|
|
88558
|
+
"code": {
|
|
88559
|
+
"integer": {
|
|
88560
|
+
"value": 401
|
|
88561
|
+
}
|
|
88562
|
+
},
|
|
88563
|
+
"type": "unit",
|
|
88564
|
+
"description": "Authorization failed",
|
|
88565
|
+
"attributes": []
|
|
88566
|
+
}, {
|
|
88567
|
+
"code": {
|
|
88568
|
+
"integer": {
|
|
88569
|
+
"value": 404
|
|
88570
|
+
}
|
|
88571
|
+
},
|
|
88572
|
+
"type": "unit",
|
|
88573
|
+
"description": "Resource was not found",
|
|
88574
|
+
"attributes": []
|
|
88575
|
+
}, {
|
|
88576
|
+
"code": {
|
|
88577
|
+
"integer": {
|
|
88578
|
+
"value": 422
|
|
88579
|
+
}
|
|
88580
|
+
},
|
|
88581
|
+
"type": "io.flow.error.v0.models.generic_error",
|
|
88582
|
+
"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.",
|
|
88583
|
+
"attributes": []
|
|
88584
|
+
}],
|
|
88585
|
+
"attributes": [],
|
|
88586
|
+
"body": {
|
|
88587
|
+
"type": "test_form",
|
|
88588
|
+
"attributes": []
|
|
88589
|
+
}
|
|
88590
|
+
}, {
|
|
88591
|
+
"method": "DELETE",
|
|
88592
|
+
"path": "/test/:id",
|
|
88593
|
+
"parameters": [{
|
|
88594
|
+
"name": "id",
|
|
88595
|
+
"type": "string",
|
|
88596
|
+
"location": "Path",
|
|
88597
|
+
"required": true,
|
|
88598
|
+
"description": "Filter by one or more IDs of this resource"
|
|
88599
|
+
}],
|
|
88600
|
+
"responses": [{
|
|
88601
|
+
"code": {
|
|
88602
|
+
"integer": {
|
|
88603
|
+
"value": 204
|
|
88604
|
+
}
|
|
88605
|
+
},
|
|
88606
|
+
"type": "unit",
|
|
88607
|
+
"description": "Operation succeeded. No content is returned",
|
|
88608
|
+
"attributes": []
|
|
88609
|
+
}, {
|
|
88610
|
+
"code": {
|
|
88611
|
+
"integer": {
|
|
88612
|
+
"value": 401
|
|
88613
|
+
}
|
|
88614
|
+
},
|
|
88615
|
+
"type": "unit",
|
|
88616
|
+
"description": "Authorization failed",
|
|
88617
|
+
"attributes": []
|
|
88618
|
+
}, {
|
|
88619
|
+
"code": {
|
|
88620
|
+
"integer": {
|
|
88621
|
+
"value": 404
|
|
88622
|
+
}
|
|
88623
|
+
},
|
|
88624
|
+
"type": "unit",
|
|
88625
|
+
"description": "Resource was not found",
|
|
88626
|
+
"attributes": []
|
|
88627
|
+
}],
|
|
88628
|
+
"attributes": []
|
|
88629
|
+
}],
|
|
88630
|
+
"attributes": [{
|
|
88631
|
+
"name": "docs",
|
|
88632
|
+
"value": {
|
|
88633
|
+
"module": "general"
|
|
88634
|
+
}
|
|
88635
|
+
}],
|
|
88636
|
+
"path": "/test"
|
|
88302
88637
|
}, {
|
|
88303
88638
|
"type": "transaction",
|
|
88304
88639
|
"plural": "transactions",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-mock-generator",
|
|
3
|
-
"version": "5.31.
|
|
3
|
+
"version": "5.31.1",
|
|
4
4
|
"description": "A mock data generator based on our internal API specifications for JavaScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flowcommerce",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"apibuilder-js": "0.0.13",
|
|
30
30
|
"apibuilder-mock-generator": "0.0.13"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "2e52c92b8e623a2cbbdd2d02c8d16d50a74a604a"
|
|
33
33
|
}
|
package/src/api-internal.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"key" : "api-internal"
|
|
11
11
|
},
|
|
12
12
|
"namespace" : "io.flow.internal.v0",
|
|
13
|
-
"version" : "0.15.
|
|
13
|
+
"version" : "0.15.63",
|
|
14
14
|
"info" : {
|
|
15
15
|
"license" : {
|
|
16
16
|
"name" : "MIT",
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
"application" : {
|
|
302
302
|
"key" : "shopify-external"
|
|
303
303
|
},
|
|
304
|
-
"version" : "0.2.
|
|
304
|
+
"version" : "0.2.75",
|
|
305
305
|
"enums" : [ "cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "inventory_behaviour", "inventory_management", "inventory_policy", "kind_type", "localized_price", "order_status_type", "price_rule_allocation_method", "price_rule_customer_selection", "price_rule_target_selection", "price_rule_target_type", "price_rule_value_type", "published_scope", "restock_type", "shopify_customer_state", "shopify_discount_pagination_direction", "shopify_gift_card_status", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit" ],
|
|
306
306
|
"interfaces" : [ ],
|
|
307
307
|
"unions" : [ ],
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
"application" : {
|
|
317
317
|
"key" : "shopify-markets"
|
|
318
318
|
},
|
|
319
|
-
"version" : "0.2.
|
|
319
|
+
"version" : "0.2.75",
|
|
320
320
|
"enums" : [ "cancel_reason", "fulfillment_order_delivery_method_type", "incoterm_duties", "shopify_discrepancy_reason", "shopify_order_cancel_reason", "shopify_order_discount_allocation_method", "shopify_order_discount_application_target_selection", "shopify_order_discount_application_target_type", "shopify_order_discount_application_type", "shopify_order_discount_application_value_type", "shopify_order_discount_type", "shopify_order_financial_status_type", "shopify_order_fulfillment_order_request_status", "shopify_order_fulfillment_order_status", "shopify_order_fulfillment_shipment_status", "shopify_order_fulfillment_status", "shopify_order_fulfillment_status_type", "shopify_order_inventory_behaviour", "shopify_order_kind_type", "shopify_order_processing_method_type", "shopify_order_restock_type", "shopify_order_status_type", "shopify_order_transaction_error_code", "shopify_order_transaction_status", "shopify_order_value_type", "shopify_webhook_format", "shopify_webhook_topic" ],
|
|
321
321
|
"interfaces" : [ ],
|
|
322
322
|
"unions" : [ ],
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
"application" : {
|
|
347
347
|
"key" : "adyen"
|
|
348
348
|
},
|
|
349
|
-
"version" : "0.2.
|
|
349
|
+
"version" : "0.2.75",
|
|
350
350
|
"enums" : [ "channel", "contract", "device_channel", "event_code", "method", "operation", "payment_method", "recurring_processing_model", "result_code", "shopper_interaction", "threeds_completion_indicator" ],
|
|
351
351
|
"interfaces" : [ ],
|
|
352
352
|
"unions" : [ "browser_info", "payment_method_data" ],
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
"application" : {
|
|
362
362
|
"key" : "bitpay"
|
|
363
363
|
},
|
|
364
|
-
"version" : "0.2.
|
|
364
|
+
"version" : "0.2.75",
|
|
365
365
|
"enums" : [ "exception_status", "invoice_status", "refund_status", "transaction_speed", "webhook_event_name" ],
|
|
366
366
|
"interfaces" : [ ],
|
|
367
367
|
"unions" : [ ],
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
"application" : {
|
|
377
377
|
"key" : "crypto"
|
|
378
378
|
},
|
|
379
|
-
"version" : "0.2.
|
|
379
|
+
"version" : "0.2.75",
|
|
380
380
|
"enums" : [ "error_type", "payment_status", "reason_type", "refund_status", "webhook_event_name", "webhook_object_type" ],
|
|
381
381
|
"interfaces" : [ ],
|
|
382
382
|
"unions" : [ ],
|
|
@@ -421,7 +421,7 @@
|
|
|
421
421
|
"application" : {
|
|
422
422
|
"key" : "paypal"
|
|
423
423
|
},
|
|
424
|
-
"version" : "0.2.
|
|
424
|
+
"version" : "0.2.75",
|
|
425
425
|
"enums" : [ "adjudication_type", "affected_party", "allowed_payment_method", "cancellation_mode", "carrier_name", "dispute_channel", "dispute_life_cycle_stage", "dispute_merchant_contacted_mode", "dispute_merchant_contacted_outcome", "dispute_outcome_code", "dispute_reason", "dispute_status", "evidence_type", "failure_reason", "grant_type", "http_method", "intent", "issue_type", "message_poster", "money_movement_reason", "money_movement_type", "offer_type", "other_means_payment_method", "payer_status", "payment_method", "product_received", "refund_state", "return_acknowledgement_type", "return_mode", "service_started", "state", "sub_reason", "supporting_info_source", "transaction_status" ],
|
|
426
426
|
"interfaces" : [ ],
|
|
427
427
|
"unions" : [ ],
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
"application" : {
|
|
437
437
|
"key" : "stripe"
|
|
438
438
|
},
|
|
439
|
-
"version" : "0.2.
|
|
439
|
+
"version" : "0.2.75",
|
|
440
440
|
"enums" : [ "account_type", "cancellation_reason", "capture_method", "card_brand", "card_error_code", "card_funding_type", "check_outcome", "code_verification_status", "confirmation_method", "decline_code", "error_type", "event_type", "klarna_payment_method_category_type", "klarna_product", "network_status", "next_action_type", "order_item_type", "payment_intent_status", "payment_method_type", "payment_outcome_type", "payment_status", "refund_failure_reason", "refund_reason", "refund_status", "request_three_d_secure_type", "requested_capabilities", "setup_future_usage", "source_flow", "source_status", "source_type", "source_usage_type", "three_d_secure_support", "token_type", "use_stripe_sdk_type" ],
|
|
441
441
|
"interfaces" : [ ],
|
|
442
442
|
"unions" : [ ],
|
|
@@ -451,7 +451,7 @@
|
|
|
451
451
|
"application" : {
|
|
452
452
|
"key" : "svb"
|
|
453
453
|
},
|
|
454
|
-
"version" : "0.2.
|
|
454
|
+
"version" : "0.2.75",
|
|
455
455
|
"enums" : [ "clearing_type", "notification_type", "transaction_type" ],
|
|
456
456
|
"interfaces" : [ ],
|
|
457
457
|
"unions" : [ ],
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
"application" : {
|
|
482
482
|
"key" : "brickftp"
|
|
483
483
|
},
|
|
484
|
-
"version" : "0.2.
|
|
484
|
+
"version" : "0.2.75",
|
|
485
485
|
"enums" : [ "authentication_method", "behavior_type", "grant_permission_setting", "ssl_required_setting", "webhook_event_action", "webhook_event_interface", "webhook_event_type" ],
|
|
486
486
|
"interfaces" : [ ],
|
|
487
487
|
"unions" : [ "file_form", "node" ],
|
|
@@ -515,7 +515,7 @@
|
|
|
515
515
|
"enums" : [ ],
|
|
516
516
|
"interfaces" : [ "common_hop_estimate", "ratecard_estimate" ],
|
|
517
517
|
"unions" : [ "ratecard_estimate", "ratecard_fee", "service_fee" ],
|
|
518
|
-
"models" : [ "crossdock_ratecard_fee", "ddp_ratecard_fee", "dimension_estimate", "dimension_estimate_form", "dimension_estimate_version", "duties_taxes_paid_surcharge_ratecard_fee", "duties_taxes_paid_surcharge_service_fee", "emergency_situation_surcharge_ratecard_fee", "emergency_situation_surcharge_service_fee", "estimated_dimensions", "fee_weight", "fuel_surcharge_ratecard_fee", "fuel_surcharge_service_fee", "hop", "hop_estimate", "hop_estimate_v2", "hop_v2", "lane_summary", "oversized_shipment_ratecard_fee", "peak_surcharge_by_weight_service_fee", "peak_surcharge_ratecard_fee", "peak_surcharge_service_fee", "ratecard", "ratecard_carrier_summary", "ratecard_estimate_form", "ratecard_estimate_summary_form", "ratecard_estimate_v1", "ratecard_estimate_v2", "ratecard_estimate_v3", "ratecard_estimate_v4", "ratecard_form", "ratecard_lane", "ratecard_lane_form", "ratecard_lane_import_form", "ratecard_lane_version", "ratecard_lanes_import_request_data", "ratecard_rate", "ratecard_rate_form", "ratecard_rate_version", "ratecard_reference", "ratecard_region_reference", "ratecard_service_summary", "ratecard_summary", "ratecard_version", "remote_area_ratecard_fee", "remote_area_service_fee", "return_package_ratecard_fee", "
|
|
518
|
+
"models" : [ "crossdock_ratecard_fee", "ddp_ratecard_fee", "dimension_estimate", "dimension_estimate_form", "dimension_estimate_version", "duties_taxes_paid_surcharge_ratecard_fee", "duties_taxes_paid_surcharge_service_fee", "emergency_situation_surcharge_ratecard_fee", "emergency_situation_surcharge_service_fee", "estimated_dimensions", "fee_weight", "fuel_surcharge_ratecard_fee", "fuel_surcharge_service_fee", "hop", "hop_estimate", "hop_estimate_v2", "hop_v2", "lane_summary", "oversized_shipment_ratecard_fee", "peak_surcharge_by_weight_service_fee", "peak_surcharge_ratecard_fee", "peak_surcharge_service_fee", "ratecard", "ratecard_carrier_summary", "ratecard_estimate_form", "ratecard_estimate_summary_form", "ratecard_estimate_v1", "ratecard_estimate_v2", "ratecard_estimate_v3", "ratecard_estimate_v4", "ratecard_form", "ratecard_lane", "ratecard_lane_form", "ratecard_lane_import_form", "ratecard_lane_version", "ratecard_lanes_import_request_data", "ratecard_rate", "ratecard_rate_form", "ratecard_rate_version", "ratecard_reference", "ratecard_region_reference", "ratecard_service_summary", "ratecard_summary", "ratecard_version", "remote_area_ratecard_fee", "remote_area_service_fee", "return_package_ratecard_fee", "shipment_window" ],
|
|
519
519
|
"annotations" : [ ]
|
|
520
520
|
}, {
|
|
521
521
|
"uri" : "https://app.apibuilder.io/flow/order-management-event/latest/service.json",
|
|
@@ -616,7 +616,7 @@
|
|
|
616
616
|
"application" : {
|
|
617
617
|
"key" : "pricing-indicator-internal-event"
|
|
618
618
|
},
|
|
619
|
-
"version" : "0.15.
|
|
619
|
+
"version" : "0.15.63",
|
|
620
620
|
"enums" : [ "pricing_indicator_status", "service_name" ],
|
|
621
621
|
"interfaces" : [ ],
|
|
622
622
|
"unions" : [ "pricing_indicator_event" ],
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
"application" : {
|
|
632
632
|
"key" : "flexe"
|
|
633
633
|
},
|
|
634
|
-
"version" : "0.2.
|
|
634
|
+
"version" : "0.2.75",
|
|
635
635
|
"enums" : [ "flexe_attachment_type", "flexe_notification", "flexe_shipment_type", "flexe_status" ],
|
|
636
636
|
"interfaces" : [ ],
|
|
637
637
|
"unions" : [ ],
|
|
@@ -13207,6 +13207,71 @@
|
|
|
13207
13207
|
} ],
|
|
13208
13208
|
"attributes" : [ ],
|
|
13209
13209
|
"interfaces" : [ ]
|
|
13210
|
+
}, {
|
|
13211
|
+
"name" : "authorization_bundle_deleted",
|
|
13212
|
+
"plural" : "authorization_bundle_deleteds",
|
|
13213
|
+
"fields" : [ {
|
|
13214
|
+
"name" : "event_id",
|
|
13215
|
+
"type" : "string",
|
|
13216
|
+
"required" : true,
|
|
13217
|
+
"attributes" : [ ],
|
|
13218
|
+
"annotations" : [ ]
|
|
13219
|
+
}, {
|
|
13220
|
+
"name" : "timestamp",
|
|
13221
|
+
"type" : "date-time-iso8601",
|
|
13222
|
+
"required" : true,
|
|
13223
|
+
"attributes" : [ ],
|
|
13224
|
+
"annotations" : [ ]
|
|
13225
|
+
}, {
|
|
13226
|
+
"name" : "organization",
|
|
13227
|
+
"type" : "string",
|
|
13228
|
+
"required" : true,
|
|
13229
|
+
"attributes" : [ ],
|
|
13230
|
+
"annotations" : [ ],
|
|
13231
|
+
"description" : "Refers to your organization's account identifier"
|
|
13232
|
+
}, {
|
|
13233
|
+
"name" : "id",
|
|
13234
|
+
"type" : "string",
|
|
13235
|
+
"required" : true,
|
|
13236
|
+
"attributes" : [ ],
|
|
13237
|
+
"annotations" : [ ],
|
|
13238
|
+
"description" : "Globally unique identifier"
|
|
13239
|
+
} ],
|
|
13240
|
+
"attributes" : [ ],
|
|
13241
|
+
"interfaces" : [ ],
|
|
13242
|
+
"description" : "Follows the lifecycle of the associated authorization: triggered if the auth is deleted."
|
|
13243
|
+
}, {
|
|
13244
|
+
"name" : "authorization_bundle_upserted",
|
|
13245
|
+
"plural" : "authorization_bundle_upserteds",
|
|
13246
|
+
"fields" : [ {
|
|
13247
|
+
"name" : "event_id",
|
|
13248
|
+
"type" : "string",
|
|
13249
|
+
"required" : true,
|
|
13250
|
+
"attributes" : [ ],
|
|
13251
|
+
"annotations" : [ ]
|
|
13252
|
+
}, {
|
|
13253
|
+
"name" : "timestamp",
|
|
13254
|
+
"type" : "date-time-iso8601",
|
|
13255
|
+
"required" : true,
|
|
13256
|
+
"attributes" : [ ],
|
|
13257
|
+
"annotations" : [ ]
|
|
13258
|
+
}, {
|
|
13259
|
+
"name" : "organization",
|
|
13260
|
+
"type" : "string",
|
|
13261
|
+
"required" : true,
|
|
13262
|
+
"attributes" : [ ],
|
|
13263
|
+
"annotations" : [ ],
|
|
13264
|
+
"description" : "Refers to your organization's account identifier"
|
|
13265
|
+
}, {
|
|
13266
|
+
"name" : "authorization_bundle",
|
|
13267
|
+
"type" : "authorization_bundle",
|
|
13268
|
+
"required" : true,
|
|
13269
|
+
"attributes" : [ ],
|
|
13270
|
+
"annotations" : [ ]
|
|
13271
|
+
} ],
|
|
13272
|
+
"attributes" : [ ],
|
|
13273
|
+
"interfaces" : [ ],
|
|
13274
|
+
"description" : "Follows the lifecycle of the associated authorization: triggered if the auth is upserted."
|
|
13210
13275
|
}, {
|
|
13211
13276
|
"name" : "authorization_metadata",
|
|
13212
13277
|
"plural" : "authorization_metadata",
|
|
@@ -40688,7 +40753,7 @@
|
|
|
40688
40753
|
}, {
|
|
40689
40754
|
"name" : "flow_authorization",
|
|
40690
40755
|
"type" : "io.flow.payment.v0.unions.authorization",
|
|
40691
|
-
"required" :
|
|
40756
|
+
"required" : false,
|
|
40692
40757
|
"attributes" : [ ],
|
|
40693
40758
|
"annotations" : [ ]
|
|
40694
40759
|
} ],
|
|
@@ -51682,6 +51747,37 @@
|
|
|
51682
51747
|
} ],
|
|
51683
51748
|
"attributes" : [ ],
|
|
51684
51749
|
"interfaces" : [ ]
|
|
51750
|
+
}, {
|
|
51751
|
+
"name" : "test",
|
|
51752
|
+
"plural" : "tests",
|
|
51753
|
+
"fields" : [ {
|
|
51754
|
+
"name" : "id",
|
|
51755
|
+
"type" : "string",
|
|
51756
|
+
"required" : true,
|
|
51757
|
+
"attributes" : [ ],
|
|
51758
|
+
"annotations" : [ ],
|
|
51759
|
+
"description" : "Globally unique identifier"
|
|
51760
|
+
}, {
|
|
51761
|
+
"name" : "name",
|
|
51762
|
+
"type" : "string",
|
|
51763
|
+
"required" : true,
|
|
51764
|
+
"attributes" : [ ],
|
|
51765
|
+
"annotations" : [ ]
|
|
51766
|
+
} ],
|
|
51767
|
+
"attributes" : [ ],
|
|
51768
|
+
"interfaces" : [ ]
|
|
51769
|
+
}, {
|
|
51770
|
+
"name" : "test_form",
|
|
51771
|
+
"plural" : "test_forms",
|
|
51772
|
+
"fields" : [ {
|
|
51773
|
+
"name" : "name",
|
|
51774
|
+
"type" : "string",
|
|
51775
|
+
"required" : true,
|
|
51776
|
+
"attributes" : [ ],
|
|
51777
|
+
"annotations" : [ ]
|
|
51778
|
+
} ],
|
|
51779
|
+
"attributes" : [ ],
|
|
51780
|
+
"interfaces" : [ ]
|
|
51685
51781
|
}, {
|
|
51686
51782
|
"name" : "third_party_logistics_partner",
|
|
51687
51783
|
"plural" : "third_party_logistics_partners",
|
|
@@ -88299,6 +88395,245 @@
|
|
|
88299
88395
|
} ],
|
|
88300
88396
|
"path" : "/:organization/orders/:number/tax/calculation",
|
|
88301
88397
|
"description" : "Describes an order for which to calculate tax."
|
|
88398
|
+
}, {
|
|
88399
|
+
"type" : "test",
|
|
88400
|
+
"plural" : "tests",
|
|
88401
|
+
"operations" : [ {
|
|
88402
|
+
"method" : "GET",
|
|
88403
|
+
"path" : "/test",
|
|
88404
|
+
"parameters" : [ {
|
|
88405
|
+
"name" : "id",
|
|
88406
|
+
"type" : "[string]",
|
|
88407
|
+
"location" : "Query",
|
|
88408
|
+
"required" : false,
|
|
88409
|
+
"description" : "Filter by one or more IDs of this resource",
|
|
88410
|
+
"maximum" : 100
|
|
88411
|
+
}, {
|
|
88412
|
+
"name" : "limit",
|
|
88413
|
+
"type" : "long",
|
|
88414
|
+
"location" : "Query",
|
|
88415
|
+
"required" : true,
|
|
88416
|
+
"description" : "The maximum number of results to return",
|
|
88417
|
+
"default" : "25",
|
|
88418
|
+
"minimum" : 1,
|
|
88419
|
+
"maximum" : 100
|
|
88420
|
+
}, {
|
|
88421
|
+
"name" : "offset",
|
|
88422
|
+
"type" : "long",
|
|
88423
|
+
"location" : "Query",
|
|
88424
|
+
"required" : true,
|
|
88425
|
+
"description" : "The number of results to skip before returning results",
|
|
88426
|
+
"default" : "0",
|
|
88427
|
+
"minimum" : 0
|
|
88428
|
+
}, {
|
|
88429
|
+
"name" : "sort",
|
|
88430
|
+
"type" : "string",
|
|
88431
|
+
"location" : "Query",
|
|
88432
|
+
"required" : true,
|
|
88433
|
+
"default" : "name"
|
|
88434
|
+
} ],
|
|
88435
|
+
"responses" : [ {
|
|
88436
|
+
"code" : {
|
|
88437
|
+
"integer" : {
|
|
88438
|
+
"value" : 200
|
|
88439
|
+
}
|
|
88440
|
+
},
|
|
88441
|
+
"type" : "[test]",
|
|
88442
|
+
"description" : "Successful response",
|
|
88443
|
+
"attributes" : [ ]
|
|
88444
|
+
}, {
|
|
88445
|
+
"code" : {
|
|
88446
|
+
"integer" : {
|
|
88447
|
+
"value" : 401
|
|
88448
|
+
}
|
|
88449
|
+
},
|
|
88450
|
+
"type" : "unit",
|
|
88451
|
+
"description" : "Authorization failed",
|
|
88452
|
+
"attributes" : [ ]
|
|
88453
|
+
} ],
|
|
88454
|
+
"attributes" : [ {
|
|
88455
|
+
"name" : "sort",
|
|
88456
|
+
"value" : {
|
|
88457
|
+
"values" : [ {
|
|
88458
|
+
"value" : "name"
|
|
88459
|
+
} ]
|
|
88460
|
+
}
|
|
88461
|
+
} ]
|
|
88462
|
+
}, {
|
|
88463
|
+
"method" : "POST",
|
|
88464
|
+
"path" : "/test",
|
|
88465
|
+
"parameters" : [ ],
|
|
88466
|
+
"responses" : [ {
|
|
88467
|
+
"code" : {
|
|
88468
|
+
"integer" : {
|
|
88469
|
+
"value" : 201
|
|
88470
|
+
}
|
|
88471
|
+
},
|
|
88472
|
+
"type" : "test",
|
|
88473
|
+
"description" : "Operation succeeded and the resource was created",
|
|
88474
|
+
"attributes" : [ ]
|
|
88475
|
+
}, {
|
|
88476
|
+
"code" : {
|
|
88477
|
+
"integer" : {
|
|
88478
|
+
"value" : 401
|
|
88479
|
+
}
|
|
88480
|
+
},
|
|
88481
|
+
"type" : "unit",
|
|
88482
|
+
"description" : "Authorization failed",
|
|
88483
|
+
"attributes" : [ ]
|
|
88484
|
+
}, {
|
|
88485
|
+
"code" : {
|
|
88486
|
+
"integer" : {
|
|
88487
|
+
"value" : 422
|
|
88488
|
+
}
|
|
88489
|
+
},
|
|
88490
|
+
"type" : "io.flow.error.v0.models.generic_error",
|
|
88491
|
+
"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.",
|
|
88492
|
+
"attributes" : [ ]
|
|
88493
|
+
} ],
|
|
88494
|
+
"attributes" : [ ],
|
|
88495
|
+
"body" : {
|
|
88496
|
+
"type" : "test_form",
|
|
88497
|
+
"attributes" : [ ]
|
|
88498
|
+
}
|
|
88499
|
+
}, {
|
|
88500
|
+
"method" : "GET",
|
|
88501
|
+
"path" : "/test/:id",
|
|
88502
|
+
"parameters" : [ {
|
|
88503
|
+
"name" : "id",
|
|
88504
|
+
"type" : "string",
|
|
88505
|
+
"location" : "Path",
|
|
88506
|
+
"required" : true,
|
|
88507
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
88508
|
+
} ],
|
|
88509
|
+
"responses" : [ {
|
|
88510
|
+
"code" : {
|
|
88511
|
+
"integer" : {
|
|
88512
|
+
"value" : 200
|
|
88513
|
+
}
|
|
88514
|
+
},
|
|
88515
|
+
"type" : "test",
|
|
88516
|
+
"description" : "Successful response",
|
|
88517
|
+
"attributes" : [ ]
|
|
88518
|
+
}, {
|
|
88519
|
+
"code" : {
|
|
88520
|
+
"integer" : {
|
|
88521
|
+
"value" : 401
|
|
88522
|
+
}
|
|
88523
|
+
},
|
|
88524
|
+
"type" : "unit",
|
|
88525
|
+
"description" : "Authorization failed",
|
|
88526
|
+
"attributes" : [ ]
|
|
88527
|
+
}, {
|
|
88528
|
+
"code" : {
|
|
88529
|
+
"integer" : {
|
|
88530
|
+
"value" : 404
|
|
88531
|
+
}
|
|
88532
|
+
},
|
|
88533
|
+
"type" : "unit",
|
|
88534
|
+
"description" : "Resource was not found",
|
|
88535
|
+
"attributes" : [ ]
|
|
88536
|
+
} ],
|
|
88537
|
+
"attributes" : [ ]
|
|
88538
|
+
}, {
|
|
88539
|
+
"method" : "PUT",
|
|
88540
|
+
"path" : "/test/:id",
|
|
88541
|
+
"parameters" : [ {
|
|
88542
|
+
"name" : "id",
|
|
88543
|
+
"type" : "string",
|
|
88544
|
+
"location" : "Path",
|
|
88545
|
+
"required" : true,
|
|
88546
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
88547
|
+
} ],
|
|
88548
|
+
"responses" : [ {
|
|
88549
|
+
"code" : {
|
|
88550
|
+
"integer" : {
|
|
88551
|
+
"value" : 200
|
|
88552
|
+
}
|
|
88553
|
+
},
|
|
88554
|
+
"type" : "test",
|
|
88555
|
+
"description" : "Successful response",
|
|
88556
|
+
"attributes" : [ ]
|
|
88557
|
+
}, {
|
|
88558
|
+
"code" : {
|
|
88559
|
+
"integer" : {
|
|
88560
|
+
"value" : 401
|
|
88561
|
+
}
|
|
88562
|
+
},
|
|
88563
|
+
"type" : "unit",
|
|
88564
|
+
"description" : "Authorization failed",
|
|
88565
|
+
"attributes" : [ ]
|
|
88566
|
+
}, {
|
|
88567
|
+
"code" : {
|
|
88568
|
+
"integer" : {
|
|
88569
|
+
"value" : 404
|
|
88570
|
+
}
|
|
88571
|
+
},
|
|
88572
|
+
"type" : "unit",
|
|
88573
|
+
"description" : "Resource was not found",
|
|
88574
|
+
"attributes" : [ ]
|
|
88575
|
+
}, {
|
|
88576
|
+
"code" : {
|
|
88577
|
+
"integer" : {
|
|
88578
|
+
"value" : 422
|
|
88579
|
+
}
|
|
88580
|
+
},
|
|
88581
|
+
"type" : "io.flow.error.v0.models.generic_error",
|
|
88582
|
+
"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.",
|
|
88583
|
+
"attributes" : [ ]
|
|
88584
|
+
} ],
|
|
88585
|
+
"attributes" : [ ],
|
|
88586
|
+
"body" : {
|
|
88587
|
+
"type" : "test_form",
|
|
88588
|
+
"attributes" : [ ]
|
|
88589
|
+
}
|
|
88590
|
+
}, {
|
|
88591
|
+
"method" : "DELETE",
|
|
88592
|
+
"path" : "/test/:id",
|
|
88593
|
+
"parameters" : [ {
|
|
88594
|
+
"name" : "id",
|
|
88595
|
+
"type" : "string",
|
|
88596
|
+
"location" : "Path",
|
|
88597
|
+
"required" : true,
|
|
88598
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
88599
|
+
} ],
|
|
88600
|
+
"responses" : [ {
|
|
88601
|
+
"code" : {
|
|
88602
|
+
"integer" : {
|
|
88603
|
+
"value" : 204
|
|
88604
|
+
}
|
|
88605
|
+
},
|
|
88606
|
+
"type" : "unit",
|
|
88607
|
+
"description" : "Operation succeeded. No content is returned",
|
|
88608
|
+
"attributes" : [ ]
|
|
88609
|
+
}, {
|
|
88610
|
+
"code" : {
|
|
88611
|
+
"integer" : {
|
|
88612
|
+
"value" : 401
|
|
88613
|
+
}
|
|
88614
|
+
},
|
|
88615
|
+
"type" : "unit",
|
|
88616
|
+
"description" : "Authorization failed",
|
|
88617
|
+
"attributes" : [ ]
|
|
88618
|
+
}, {
|
|
88619
|
+
"code" : {
|
|
88620
|
+
"integer" : {
|
|
88621
|
+
"value" : 404
|
|
88622
|
+
}
|
|
88623
|
+
},
|
|
88624
|
+
"type" : "unit",
|
|
88625
|
+
"description" : "Resource was not found",
|
|
88626
|
+
"attributes" : [ ]
|
|
88627
|
+
} ],
|
|
88628
|
+
"attributes" : [ ]
|
|
88629
|
+
} ],
|
|
88630
|
+
"attributes" : [ {
|
|
88631
|
+
"name" : "docs",
|
|
88632
|
+
"value" : {
|
|
88633
|
+
"module" : "general"
|
|
88634
|
+
}
|
|
88635
|
+
} ],
|
|
88636
|
+
"path" : "/test"
|
|
88302
88637
|
}, {
|
|
88303
88638
|
"type" : "transaction",
|
|
88304
88639
|
"plural" : "transactions",
|