@flowio/api-internal-mock-generator 5.31.26 → 5.31.27
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 +370 -166
- package/package.json +2 -2
- package/src/api-internal.json +370 -166
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.16.
|
|
13
|
+
"version": "0.16.54",
|
|
14
14
|
"info": {
|
|
15
15
|
"license": {
|
|
16
16
|
"name": "MIT",
|
|
@@ -361,11 +361,11 @@
|
|
|
361
361
|
"application": {
|
|
362
362
|
"key": "adyen"
|
|
363
363
|
},
|
|
364
|
-
"version": "0.2.
|
|
365
|
-
"enums": ["channel", "contract", "device_channel", "event_code", "
|
|
364
|
+
"version": "0.2.88",
|
|
365
|
+
"enums": ["channel", "contract", "device_channel", "event_code", "method", "operation", "payment_method", "recurring_processing_model", "result_code", "shopper_interaction", "threeds_completion_indicator"],
|
|
366
366
|
"interfaces": [],
|
|
367
367
|
"unions": ["browser_info", "payment_method_data"],
|
|
368
|
-
"models": ["address", "amount", "
|
|
368
|
+
"models": ["address", "amount", "authentication", "authorize_request", "authorize_request_3d", "authorize_request_3ds2", "authorize_response", "bank_account", "browser_info_3ds1", "browser_info_3ds2", "cancel_request", "cancel_response", "card", "challenge_shopper_additional_data", "chargeback_notification_additional_data", "error", "identify_shopper_additional_data", "inner_notification_request_item", "modification_request", "modification_response", "notification_request", "notification_response", "origin_keys_request", "origin_keys_response", "outer_notification_request_item", "payment_details", "payment_request", "payment_response", "payment_response_additional_data", "recurring", "redirect", "redirect_data", "request_for_information_additional_data", "scheme", "three_d_secure_data", "threeds2_request_data", "threeds2_result", "threeds_additional_data"],
|
|
369
369
|
"annotations": []
|
|
370
370
|
}, {
|
|
371
371
|
"uri": "https://app.apibuilder.io/flow/bitpay/latest/service.json",
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
"application": {
|
|
377
377
|
"key": "bitpay"
|
|
378
378
|
},
|
|
379
|
-
"version": "0.2.
|
|
379
|
+
"version": "0.2.88",
|
|
380
380
|
"enums": ["exception_status", "invoice_status", "refund_status", "transaction_speed", "webhook_event_name"],
|
|
381
381
|
"interfaces": [],
|
|
382
382
|
"unions": [],
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
"application": {
|
|
632
632
|
"key": "pricing-indicator-internal-event"
|
|
633
633
|
},
|
|
634
|
-
"version": "0.16.
|
|
634
|
+
"version": "0.16.54",
|
|
635
635
|
"enums": ["pricing_indicator_status", "service_name"],
|
|
636
636
|
"interfaces": [],
|
|
637
637
|
"unions": ["pricing_indicator_event"],
|
|
@@ -3853,6 +3853,10 @@
|
|
|
3853
3853
|
"name": "label_transaction_type",
|
|
3854
3854
|
"plural": "label_transaction_types",
|
|
3855
3855
|
"values": [{
|
|
3856
|
+
"name": "adjustment",
|
|
3857
|
+
"attributes": [],
|
|
3858
|
+
"description": "Indicates this transaction is an adjustment to another label transaction. See transaction adjustments to find which transction this modified"
|
|
3859
|
+
}, {
|
|
3856
3860
|
"name": "billable_label",
|
|
3857
3861
|
"attributes": [],
|
|
3858
3862
|
"description": "Indicates the source of the label transaction was a shipping label that we determined to be billable"
|
|
@@ -6507,6 +6511,21 @@
|
|
|
6507
6511
|
"attributes": []
|
|
6508
6512
|
}],
|
|
6509
6513
|
"unions": [{
|
|
6514
|
+
"name": "adjustment_amount",
|
|
6515
|
+
"plural": "adjustment_amounts",
|
|
6516
|
+
"types": [{
|
|
6517
|
+
"type": "adjustment_amount_percentage",
|
|
6518
|
+
"attributes": [],
|
|
6519
|
+
"discriminator_value": "percentage"
|
|
6520
|
+
}, {
|
|
6521
|
+
"type": "adjustment_amount_fixed",
|
|
6522
|
+
"attributes": [],
|
|
6523
|
+
"discriminator_value": "fixed"
|
|
6524
|
+
}],
|
|
6525
|
+
"attributes": [],
|
|
6526
|
+
"interfaces": [],
|
|
6527
|
+
"discriminator": "discriminator"
|
|
6528
|
+
}, {
|
|
6510
6529
|
"name": "authorization_payload",
|
|
6511
6530
|
"plural": "authorization_payloads",
|
|
6512
6531
|
"types": [{
|
|
@@ -11805,6 +11824,34 @@
|
|
|
11805
11824
|
}],
|
|
11806
11825
|
"attributes": [],
|
|
11807
11826
|
"interfaces": []
|
|
11827
|
+
}, {
|
|
11828
|
+
"name": "adjustment_amount_fixed",
|
|
11829
|
+
"plural": "adjustment_amount_fixeds",
|
|
11830
|
+
"fields": [{
|
|
11831
|
+
"name": "amount",
|
|
11832
|
+
"type": "io.flow.common.v0.models.money",
|
|
11833
|
+
"required": true,
|
|
11834
|
+
"attributes": [],
|
|
11835
|
+
"annotations": [],
|
|
11836
|
+
"description": "A fixed amount to adjust",
|
|
11837
|
+
"example": "5 USD"
|
|
11838
|
+
}],
|
|
11839
|
+
"attributes": [],
|
|
11840
|
+
"interfaces": []
|
|
11841
|
+
}, {
|
|
11842
|
+
"name": "adjustment_amount_percentage",
|
|
11843
|
+
"plural": "adjustment_amount_percentages",
|
|
11844
|
+
"fields": [{
|
|
11845
|
+
"name": "percentage",
|
|
11846
|
+
"type": "decimal",
|
|
11847
|
+
"required": true,
|
|
11848
|
+
"attributes": [],
|
|
11849
|
+
"annotations": [],
|
|
11850
|
+
"description": "5 to represent 5%",
|
|
11851
|
+
"example": "5"
|
|
11852
|
+
}],
|
|
11853
|
+
"attributes": [],
|
|
11854
|
+
"interfaces": []
|
|
11808
11855
|
}, {
|
|
11809
11856
|
"name": "adyen_account",
|
|
11810
11857
|
"plural": "adyen_accounts",
|
|
@@ -38728,7 +38775,7 @@
|
|
|
38728
38775
|
}],
|
|
38729
38776
|
"attributes": [],
|
|
38730
38777
|
"interfaces": ["base_transaction"],
|
|
38731
|
-
"description": "Implements the account label service fee, if any. Also responsible for
|
|
38778
|
+
"description": "Implements the account label service fee, if any. Also responsible for sharing the cost of labels based on the account setting 'charge_label_cost_directly'"
|
|
38732
38779
|
}, {
|
|
38733
38780
|
"name": "labeled_content",
|
|
38734
38781
|
"plural": "labeled_contents",
|
|
@@ -46004,69 +46051,6 @@
|
|
|
46004
46051
|
"attributes": [],
|
|
46005
46052
|
"interfaces": ["base_transaction"],
|
|
46006
46053
|
"description": "A processing transaction represents a transaction related to payment activity - e.g. a payment capture, refund or adjustment"
|
|
46007
|
-
}, {
|
|
46008
|
-
"name": "processing_transaction_adjustment",
|
|
46009
|
-
"plural": "processing_transaction_adjustments",
|
|
46010
|
-
"fields": [{
|
|
46011
|
-
"name": "id",
|
|
46012
|
-
"type": "string",
|
|
46013
|
-
"required": true,
|
|
46014
|
-
"attributes": [],
|
|
46015
|
-
"annotations": [],
|
|
46016
|
-
"description": "Globally unique identifier"
|
|
46017
|
-
}, {
|
|
46018
|
-
"name": "original_transaction",
|
|
46019
|
-
"type": "processing_transaction_reference",
|
|
46020
|
-
"required": true,
|
|
46021
|
-
"attributes": [],
|
|
46022
|
-
"annotations": []
|
|
46023
|
-
}, {
|
|
46024
|
-
"name": "adjustment_transaction",
|
|
46025
|
-
"type": "processing_transaction_reference",
|
|
46026
|
-
"required": true,
|
|
46027
|
-
"attributes": [],
|
|
46028
|
-
"annotations": []
|
|
46029
|
-
}, {
|
|
46030
|
-
"name": "description",
|
|
46031
|
-
"type": "string",
|
|
46032
|
-
"required": true,
|
|
46033
|
-
"attributes": [],
|
|
46034
|
-
"annotations": []
|
|
46035
|
-
}, {
|
|
46036
|
-
"name": "percentage",
|
|
46037
|
-
"type": "decimal",
|
|
46038
|
-
"required": true,
|
|
46039
|
-
"attributes": [],
|
|
46040
|
-
"annotations": [],
|
|
46041
|
-
"description": "5 to represent 5%",
|
|
46042
|
-
"example": "5"
|
|
46043
|
-
}],
|
|
46044
|
-
"attributes": [],
|
|
46045
|
-
"interfaces": []
|
|
46046
|
-
}, {
|
|
46047
|
-
"name": "processing_transaction_adjustment_form",
|
|
46048
|
-
"plural": "processing_transaction_adjustment_forms",
|
|
46049
|
-
"fields": [{
|
|
46050
|
-
"name": "original_transaction_id",
|
|
46051
|
-
"type": "string",
|
|
46052
|
-
"required": true,
|
|
46053
|
-
"attributes": [],
|
|
46054
|
-
"annotations": []
|
|
46055
|
-
}, {
|
|
46056
|
-
"name": "description",
|
|
46057
|
-
"type": "string",
|
|
46058
|
-
"required": true,
|
|
46059
|
-
"attributes": [],
|
|
46060
|
-
"annotations": []
|
|
46061
|
-
}, {
|
|
46062
|
-
"name": "percentage",
|
|
46063
|
-
"type": "decimal",
|
|
46064
|
-
"required": true,
|
|
46065
|
-
"attributes": [],
|
|
46066
|
-
"annotations": []
|
|
46067
|
-
}],
|
|
46068
|
-
"attributes": [],
|
|
46069
|
-
"interfaces": []
|
|
46070
46054
|
}, {
|
|
46071
46055
|
"name": "processing_transaction_deleted",
|
|
46072
46056
|
"plural": "processing_transaction_deleteds",
|
|
@@ -46554,6 +46538,27 @@
|
|
|
46554
46538
|
}],
|
|
46555
46539
|
"attributes": [],
|
|
46556
46540
|
"interfaces": []
|
|
46541
|
+
}, {
|
|
46542
|
+
"name": "product_review_history",
|
|
46543
|
+
"plural": "product_review_histories",
|
|
46544
|
+
"fields": [{
|
|
46545
|
+
"name": "product_id",
|
|
46546
|
+
"type": "string",
|
|
46547
|
+
"required": true,
|
|
46548
|
+
"attributes": [],
|
|
46549
|
+
"annotations": [],
|
|
46550
|
+
"description": "The id of the product."
|
|
46551
|
+
}, {
|
|
46552
|
+
"name": "reviews",
|
|
46553
|
+
"type": "[restriction_history_item_review_decision]",
|
|
46554
|
+
"required": true,
|
|
46555
|
+
"attributes": [],
|
|
46556
|
+
"annotations": [],
|
|
46557
|
+
"description": "A list of restriction_history_item_review_decision related to this product."
|
|
46558
|
+
}],
|
|
46559
|
+
"attributes": [],
|
|
46560
|
+
"interfaces": [],
|
|
46561
|
+
"description": "A product id and an array of restriction_history_item_review_decision for that product sorted in descending order of updated_at."
|
|
46557
46562
|
}, {
|
|
46558
46563
|
"name": "quote_request",
|
|
46559
46564
|
"plural": "quote_requests",
|
|
@@ -48162,6 +48167,69 @@
|
|
|
48162
48167
|
"attributes": [],
|
|
48163
48168
|
"interfaces": [],
|
|
48164
48169
|
"description": "for category list on dashboard"
|
|
48170
|
+
}, {
|
|
48171
|
+
"name": "restriction_history_item_review_decision",
|
|
48172
|
+
"plural": "restriction_history_item_review_decisions",
|
|
48173
|
+
"fields": [{
|
|
48174
|
+
"name": "id",
|
|
48175
|
+
"type": "string",
|
|
48176
|
+
"required": true,
|
|
48177
|
+
"attributes": [],
|
|
48178
|
+
"annotations": [],
|
|
48179
|
+
"description": "Globally unique identifier"
|
|
48180
|
+
}, {
|
|
48181
|
+
"name": "product_restriction_id",
|
|
48182
|
+
"type": "string",
|
|
48183
|
+
"required": true,
|
|
48184
|
+
"attributes": [],
|
|
48185
|
+
"annotations": [],
|
|
48186
|
+
"description": "The id of the product restriction."
|
|
48187
|
+
}, {
|
|
48188
|
+
"name": "rule",
|
|
48189
|
+
"type": "restriction_rule_summary",
|
|
48190
|
+
"required": true,
|
|
48191
|
+
"attributes": [],
|
|
48192
|
+
"annotations": [],
|
|
48193
|
+
"description": "The rule related to this decision."
|
|
48194
|
+
}, {
|
|
48195
|
+
"name": "keywords",
|
|
48196
|
+
"type": "restriction_keywords",
|
|
48197
|
+
"required": true,
|
|
48198
|
+
"attributes": [],
|
|
48199
|
+
"annotations": [],
|
|
48200
|
+
"description": "Matching positive and negative keywords matching a rule"
|
|
48201
|
+
}, {
|
|
48202
|
+
"name": "status",
|
|
48203
|
+
"type": "restriction_status",
|
|
48204
|
+
"required": true,
|
|
48205
|
+
"attributes": [],
|
|
48206
|
+
"annotations": [],
|
|
48207
|
+
"description": "The status of the restriction."
|
|
48208
|
+
}, {
|
|
48209
|
+
"name": "created_at",
|
|
48210
|
+
"type": "date-time-iso8601",
|
|
48211
|
+
"required": true,
|
|
48212
|
+
"attributes": [],
|
|
48213
|
+
"annotations": [],
|
|
48214
|
+
"description": "Date that the restriction review began"
|
|
48215
|
+
}, {
|
|
48216
|
+
"name": "updated_at",
|
|
48217
|
+
"type": "date-time-iso8601",
|
|
48218
|
+
"required": true,
|
|
48219
|
+
"attributes": [],
|
|
48220
|
+
"annotations": [],
|
|
48221
|
+
"description": "Date of most recent restriction review change."
|
|
48222
|
+
}, {
|
|
48223
|
+
"name": "updated_by",
|
|
48224
|
+
"type": "io.flow.common.v0.models.user",
|
|
48225
|
+
"required": true,
|
|
48226
|
+
"attributes": [],
|
|
48227
|
+
"annotations": [],
|
|
48228
|
+
"description": "The user who most recently updated this review."
|
|
48229
|
+
}],
|
|
48230
|
+
"attributes": [],
|
|
48231
|
+
"interfaces": [],
|
|
48232
|
+
"description": "A historic review decision on a restriction related to a specific product"
|
|
48165
48233
|
}, {
|
|
48166
48234
|
"name": "restriction_item",
|
|
48167
48235
|
"plural": "restriction_items",
|
|
@@ -53962,6 +54030,67 @@
|
|
|
53962
54030
|
}],
|
|
53963
54031
|
"attributes": [],
|
|
53964
54032
|
"interfaces": []
|
|
54033
|
+
}, {
|
|
54034
|
+
"name": "transaction_adjustment",
|
|
54035
|
+
"plural": "transaction_adjustments",
|
|
54036
|
+
"fields": [{
|
|
54037
|
+
"name": "id",
|
|
54038
|
+
"type": "string",
|
|
54039
|
+
"required": true,
|
|
54040
|
+
"attributes": [],
|
|
54041
|
+
"annotations": [],
|
|
54042
|
+
"description": "Globally unique identifier"
|
|
54043
|
+
}, {
|
|
54044
|
+
"name": "original_transaction",
|
|
54045
|
+
"type": "processing_transaction_reference",
|
|
54046
|
+
"required": true,
|
|
54047
|
+
"attributes": [],
|
|
54048
|
+
"annotations": []
|
|
54049
|
+
}, {
|
|
54050
|
+
"name": "adjustment_transaction",
|
|
54051
|
+
"type": "processing_transaction_reference",
|
|
54052
|
+
"required": true,
|
|
54053
|
+
"attributes": [],
|
|
54054
|
+
"annotations": []
|
|
54055
|
+
}, {
|
|
54056
|
+
"name": "description",
|
|
54057
|
+
"type": "string",
|
|
54058
|
+
"required": true,
|
|
54059
|
+
"attributes": [],
|
|
54060
|
+
"annotations": []
|
|
54061
|
+
}, {
|
|
54062
|
+
"name": "amount",
|
|
54063
|
+
"type": "adjustment_amount",
|
|
54064
|
+
"required": true,
|
|
54065
|
+
"attributes": [],
|
|
54066
|
+
"annotations": []
|
|
54067
|
+
}],
|
|
54068
|
+
"attributes": [],
|
|
54069
|
+
"interfaces": []
|
|
54070
|
+
}, {
|
|
54071
|
+
"name": "transaction_adjustment_form",
|
|
54072
|
+
"plural": "transaction_adjustment_forms",
|
|
54073
|
+
"fields": [{
|
|
54074
|
+
"name": "original_transaction_id",
|
|
54075
|
+
"type": "string",
|
|
54076
|
+
"required": true,
|
|
54077
|
+
"attributes": [],
|
|
54078
|
+
"annotations": []
|
|
54079
|
+
}, {
|
|
54080
|
+
"name": "description",
|
|
54081
|
+
"type": "string",
|
|
54082
|
+
"required": true,
|
|
54083
|
+
"attributes": [],
|
|
54084
|
+
"annotations": []
|
|
54085
|
+
}, {
|
|
54086
|
+
"name": "amount",
|
|
54087
|
+
"type": "adjustment_amount",
|
|
54088
|
+
"required": true,
|
|
54089
|
+
"attributes": [],
|
|
54090
|
+
"annotations": []
|
|
54091
|
+
}],
|
|
54092
|
+
"attributes": [],
|
|
54093
|
+
"interfaces": []
|
|
53965
54094
|
}, {
|
|
53966
54095
|
"name": "transaction_reference",
|
|
53967
54096
|
"plural": "transaction_references",
|
|
@@ -75276,6 +75405,18 @@
|
|
|
75276
75405
|
"location": "Query",
|
|
75277
75406
|
"required": false,
|
|
75278
75407
|
"description": "Filter to items with a similar legal name."
|
|
75408
|
+
}, {
|
|
75409
|
+
"name": "created_at_from",
|
|
75410
|
+
"type": "date-time-iso8601",
|
|
75411
|
+
"location": "Query",
|
|
75412
|
+
"required": false,
|
|
75413
|
+
"description": "Filter to items created at before the specific datetime."
|
|
75414
|
+
}, {
|
|
75415
|
+
"name": "created_at_to",
|
|
75416
|
+
"type": "date-time-iso8601",
|
|
75417
|
+
"location": "Query",
|
|
75418
|
+
"required": false,
|
|
75419
|
+
"description": "Filter to items created at after the specific datetime."
|
|
75279
75420
|
}, {
|
|
75280
75421
|
"name": "limit",
|
|
75281
75422
|
"type": "long",
|
|
@@ -80958,102 +81099,6 @@
|
|
|
80958
81099
|
}
|
|
80959
81100
|
}],
|
|
80960
81101
|
"path": "/internal/:organization/platform_fee_changes"
|
|
80961
|
-
}, {
|
|
80962
|
-
"type": "processing_transaction_adjustment",
|
|
80963
|
-
"plural": "processing_transaction_adjustments",
|
|
80964
|
-
"operations": [{
|
|
80965
|
-
"method": "POST",
|
|
80966
|
-
"path": "/internal/billing/processing/transaction/adjustments",
|
|
80967
|
-
"parameters": [],
|
|
80968
|
-
"responses": [{
|
|
80969
|
-
"code": {
|
|
80970
|
-
"integer": {
|
|
80971
|
-
"value": 200
|
|
80972
|
-
}
|
|
80973
|
-
},
|
|
80974
|
-
"type": "processing_transaction_adjustment",
|
|
80975
|
-
"description": "Successful response",
|
|
80976
|
-
"attributes": []
|
|
80977
|
-
}, {
|
|
80978
|
-
"code": {
|
|
80979
|
-
"integer": {
|
|
80980
|
-
"value": 201
|
|
80981
|
-
}
|
|
80982
|
-
},
|
|
80983
|
-
"type": "processing_transaction_adjustment",
|
|
80984
|
-
"description": "Operation succeeded and the resource was created",
|
|
80985
|
-
"attributes": []
|
|
80986
|
-
}, {
|
|
80987
|
-
"code": {
|
|
80988
|
-
"integer": {
|
|
80989
|
-
"value": 401
|
|
80990
|
-
}
|
|
80991
|
-
},
|
|
80992
|
-
"type": "unit",
|
|
80993
|
-
"description": "Authorization failed",
|
|
80994
|
-
"attributes": []
|
|
80995
|
-
}, {
|
|
80996
|
-
"code": {
|
|
80997
|
-
"integer": {
|
|
80998
|
-
"value": 422
|
|
80999
|
-
}
|
|
81000
|
-
},
|
|
81001
|
-
"type": "io.flow.error.v0.models.generic_error",
|
|
81002
|
-
"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.",
|
|
81003
|
-
"attributes": []
|
|
81004
|
-
}],
|
|
81005
|
-
"attributes": [],
|
|
81006
|
-
"body": {
|
|
81007
|
-
"type": "processing_transaction_adjustment_form",
|
|
81008
|
-
"attributes": []
|
|
81009
|
-
}
|
|
81010
|
-
}, {
|
|
81011
|
-
"method": "GET",
|
|
81012
|
-
"path": "/internal/billing/processing/transaction/adjustments/:id",
|
|
81013
|
-
"parameters": [{
|
|
81014
|
-
"name": "id",
|
|
81015
|
-
"type": "string",
|
|
81016
|
-
"location": "Path",
|
|
81017
|
-
"required": true,
|
|
81018
|
-
"description": "Filter by one or more IDs of this resource"
|
|
81019
|
-
}],
|
|
81020
|
-
"responses": [{
|
|
81021
|
-
"code": {
|
|
81022
|
-
"integer": {
|
|
81023
|
-
"value": 200
|
|
81024
|
-
}
|
|
81025
|
-
},
|
|
81026
|
-
"type": "processing_transaction_adjustment",
|
|
81027
|
-
"description": "Successful response",
|
|
81028
|
-
"attributes": []
|
|
81029
|
-
}, {
|
|
81030
|
-
"code": {
|
|
81031
|
-
"integer": {
|
|
81032
|
-
"value": 401
|
|
81033
|
-
}
|
|
81034
|
-
},
|
|
81035
|
-
"type": "unit",
|
|
81036
|
-
"description": "Authorization failed",
|
|
81037
|
-
"attributes": []
|
|
81038
|
-
}, {
|
|
81039
|
-
"code": {
|
|
81040
|
-
"integer": {
|
|
81041
|
-
"value": 404
|
|
81042
|
-
}
|
|
81043
|
-
},
|
|
81044
|
-
"type": "unit",
|
|
81045
|
-
"description": "Resource was not found",
|
|
81046
|
-
"attributes": []
|
|
81047
|
-
}],
|
|
81048
|
-
"attributes": []
|
|
81049
|
-
}],
|
|
81050
|
-
"attributes": [{
|
|
81051
|
-
"name": "docs",
|
|
81052
|
-
"value": {
|
|
81053
|
-
"module": "general"
|
|
81054
|
-
}
|
|
81055
|
-
}],
|
|
81056
|
-
"path": "/internal/billing/processing/transaction/adjustments"
|
|
81057
81102
|
}, {
|
|
81058
81103
|
"type": "processor_account",
|
|
81059
81104
|
"plural": "processor_accounts",
|
|
@@ -82063,6 +82108,69 @@
|
|
|
82063
82108
|
}],
|
|
82064
82109
|
"path": "/product_classifications",
|
|
82065
82110
|
"description": "Label based product classification endpoints"
|
|
82111
|
+
}, {
|
|
82112
|
+
"type": "product_review_history",
|
|
82113
|
+
"plural": "product_review_histories",
|
|
82114
|
+
"operations": [{
|
|
82115
|
+
"method": "GET",
|
|
82116
|
+
"path": "/jailhouse/restriction/:organization/products/:id/histories",
|
|
82117
|
+
"parameters": [{
|
|
82118
|
+
"name": "organization",
|
|
82119
|
+
"type": "string",
|
|
82120
|
+
"location": "Path",
|
|
82121
|
+
"required": true,
|
|
82122
|
+
"description": "Refers to your organization's account identifier"
|
|
82123
|
+
}, {
|
|
82124
|
+
"name": "id",
|
|
82125
|
+
"type": "string",
|
|
82126
|
+
"location": "Path",
|
|
82127
|
+
"required": true,
|
|
82128
|
+
"description": "Filter by one or more IDs of this resource"
|
|
82129
|
+
}],
|
|
82130
|
+
"responses": [{
|
|
82131
|
+
"code": {
|
|
82132
|
+
"integer": {
|
|
82133
|
+
"value": 200
|
|
82134
|
+
}
|
|
82135
|
+
},
|
|
82136
|
+
"type": "product_review_history",
|
|
82137
|
+
"description": "Successful response",
|
|
82138
|
+
"attributes": []
|
|
82139
|
+
}, {
|
|
82140
|
+
"code": {
|
|
82141
|
+
"integer": {
|
|
82142
|
+
"value": 401
|
|
82143
|
+
}
|
|
82144
|
+
},
|
|
82145
|
+
"type": "unit",
|
|
82146
|
+
"description": "Authorization failed",
|
|
82147
|
+
"attributes": []
|
|
82148
|
+
}, {
|
|
82149
|
+
"code": {
|
|
82150
|
+
"integer": {
|
|
82151
|
+
"value": 404
|
|
82152
|
+
}
|
|
82153
|
+
},
|
|
82154
|
+
"type": "unit",
|
|
82155
|
+
"description": "Resource was not found",
|
|
82156
|
+
"attributes": []
|
|
82157
|
+
}],
|
|
82158
|
+
"attributes": [{
|
|
82159
|
+
"name": "linter",
|
|
82160
|
+
"value": {
|
|
82161
|
+
"ignore": ["get", "id", "sort"]
|
|
82162
|
+
}
|
|
82163
|
+
}],
|
|
82164
|
+
"description": "Returns product_review_history for a specific product id."
|
|
82165
|
+
}],
|
|
82166
|
+
"attributes": [{
|
|
82167
|
+
"name": "docs",
|
|
82168
|
+
"value": {
|
|
82169
|
+
"module": "general"
|
|
82170
|
+
}
|
|
82171
|
+
}],
|
|
82172
|
+
"path": "/jailhouse/restriction/:organization/products/:id/histories",
|
|
82173
|
+
"description": "A product id and an array of restriction_history_item_review_decision for that product sorted in descending order of updated_at."
|
|
82066
82174
|
}, {
|
|
82067
82175
|
"type": "rate_and_rule_lookup",
|
|
82068
82176
|
"plural": "rate_and_rule_lookups",
|
|
@@ -88362,6 +88470,102 @@
|
|
|
88362
88470
|
}
|
|
88363
88471
|
}],
|
|
88364
88472
|
"path": "/:organization/billing/transactions"
|
|
88473
|
+
}, {
|
|
88474
|
+
"type": "transaction_adjustment",
|
|
88475
|
+
"plural": "transaction_adjustments",
|
|
88476
|
+
"operations": [{
|
|
88477
|
+
"method": "POST",
|
|
88478
|
+
"path": "/internal/billing/transaction/adjustments",
|
|
88479
|
+
"parameters": [],
|
|
88480
|
+
"responses": [{
|
|
88481
|
+
"code": {
|
|
88482
|
+
"integer": {
|
|
88483
|
+
"value": 200
|
|
88484
|
+
}
|
|
88485
|
+
},
|
|
88486
|
+
"type": "transaction_adjustment",
|
|
88487
|
+
"description": "Successful response",
|
|
88488
|
+
"attributes": []
|
|
88489
|
+
}, {
|
|
88490
|
+
"code": {
|
|
88491
|
+
"integer": {
|
|
88492
|
+
"value": 201
|
|
88493
|
+
}
|
|
88494
|
+
},
|
|
88495
|
+
"type": "transaction_adjustment",
|
|
88496
|
+
"description": "Operation succeeded and the resource was created",
|
|
88497
|
+
"attributes": []
|
|
88498
|
+
}, {
|
|
88499
|
+
"code": {
|
|
88500
|
+
"integer": {
|
|
88501
|
+
"value": 401
|
|
88502
|
+
}
|
|
88503
|
+
},
|
|
88504
|
+
"type": "unit",
|
|
88505
|
+
"description": "Authorization failed",
|
|
88506
|
+
"attributes": []
|
|
88507
|
+
}, {
|
|
88508
|
+
"code": {
|
|
88509
|
+
"integer": {
|
|
88510
|
+
"value": 422
|
|
88511
|
+
}
|
|
88512
|
+
},
|
|
88513
|
+
"type": "io.flow.error.v0.models.generic_error",
|
|
88514
|
+
"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.",
|
|
88515
|
+
"attributes": []
|
|
88516
|
+
}],
|
|
88517
|
+
"attributes": [],
|
|
88518
|
+
"body": {
|
|
88519
|
+
"type": "transaction_adjustment_form",
|
|
88520
|
+
"attributes": []
|
|
88521
|
+
}
|
|
88522
|
+
}, {
|
|
88523
|
+
"method": "GET",
|
|
88524
|
+
"path": "/internal/billing/transaction/adjustments/:id",
|
|
88525
|
+
"parameters": [{
|
|
88526
|
+
"name": "id",
|
|
88527
|
+
"type": "string",
|
|
88528
|
+
"location": "Path",
|
|
88529
|
+
"required": true,
|
|
88530
|
+
"description": "Filter by one or more IDs of this resource"
|
|
88531
|
+
}],
|
|
88532
|
+
"responses": [{
|
|
88533
|
+
"code": {
|
|
88534
|
+
"integer": {
|
|
88535
|
+
"value": 200
|
|
88536
|
+
}
|
|
88537
|
+
},
|
|
88538
|
+
"type": "transaction_adjustment",
|
|
88539
|
+
"description": "Successful response",
|
|
88540
|
+
"attributes": []
|
|
88541
|
+
}, {
|
|
88542
|
+
"code": {
|
|
88543
|
+
"integer": {
|
|
88544
|
+
"value": 401
|
|
88545
|
+
}
|
|
88546
|
+
},
|
|
88547
|
+
"type": "unit",
|
|
88548
|
+
"description": "Authorization failed",
|
|
88549
|
+
"attributes": []
|
|
88550
|
+
}, {
|
|
88551
|
+
"code": {
|
|
88552
|
+
"integer": {
|
|
88553
|
+
"value": 404
|
|
88554
|
+
}
|
|
88555
|
+
},
|
|
88556
|
+
"type": "unit",
|
|
88557
|
+
"description": "Resource was not found",
|
|
88558
|
+
"attributes": []
|
|
88559
|
+
}],
|
|
88560
|
+
"attributes": []
|
|
88561
|
+
}],
|
|
88562
|
+
"attributes": [{
|
|
88563
|
+
"name": "docs",
|
|
88564
|
+
"value": {
|
|
88565
|
+
"module": "general"
|
|
88566
|
+
}
|
|
88567
|
+
}],
|
|
88568
|
+
"path": "/internal/billing/transaction/adjustments"
|
|
88365
88569
|
}, {
|
|
88366
88570
|
"type": "tribe",
|
|
88367
88571
|
"plural": "tribes",
|
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.27",
|
|
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": "f36adbff1fb121a65bbe46dbfe6e0d9592e1901b"
|
|
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.16.
|
|
13
|
+
"version" : "0.16.54",
|
|
14
14
|
"info" : {
|
|
15
15
|
"license" : {
|
|
16
16
|
"name" : "MIT",
|
|
@@ -361,11 +361,11 @@
|
|
|
361
361
|
"application" : {
|
|
362
362
|
"key" : "adyen"
|
|
363
363
|
},
|
|
364
|
-
"version" : "0.2.
|
|
365
|
-
"enums" : [ "channel", "contract", "device_channel", "event_code", "
|
|
364
|
+
"version" : "0.2.88",
|
|
365
|
+
"enums" : [ "channel", "contract", "device_channel", "event_code", "method", "operation", "payment_method", "recurring_processing_model", "result_code", "shopper_interaction", "threeds_completion_indicator" ],
|
|
366
366
|
"interfaces" : [ ],
|
|
367
367
|
"unions" : [ "browser_info", "payment_method_data" ],
|
|
368
|
-
"models" : [ "address", "amount", "
|
|
368
|
+
"models" : [ "address", "amount", "authentication", "authorize_request", "authorize_request_3d", "authorize_request_3ds2", "authorize_response", "bank_account", "browser_info_3ds1", "browser_info_3ds2", "cancel_request", "cancel_response", "card", "challenge_shopper_additional_data", "chargeback_notification_additional_data", "error", "identify_shopper_additional_data", "inner_notification_request_item", "modification_request", "modification_response", "notification_request", "notification_response", "origin_keys_request", "origin_keys_response", "outer_notification_request_item", "payment_details", "payment_request", "payment_response", "payment_response_additional_data", "recurring", "redirect", "redirect_data", "request_for_information_additional_data", "scheme", "three_d_secure_data", "threeds2_request_data", "threeds2_result", "threeds_additional_data" ],
|
|
369
369
|
"annotations" : [ ]
|
|
370
370
|
}, {
|
|
371
371
|
"uri" : "https://app.apibuilder.io/flow/bitpay/latest/service.json",
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
"application" : {
|
|
377
377
|
"key" : "bitpay"
|
|
378
378
|
},
|
|
379
|
-
"version" : "0.2.
|
|
379
|
+
"version" : "0.2.88",
|
|
380
380
|
"enums" : [ "exception_status", "invoice_status", "refund_status", "transaction_speed", "webhook_event_name" ],
|
|
381
381
|
"interfaces" : [ ],
|
|
382
382
|
"unions" : [ ],
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
"application" : {
|
|
632
632
|
"key" : "pricing-indicator-internal-event"
|
|
633
633
|
},
|
|
634
|
-
"version" : "0.16.
|
|
634
|
+
"version" : "0.16.54",
|
|
635
635
|
"enums" : [ "pricing_indicator_status", "service_name" ],
|
|
636
636
|
"interfaces" : [ ],
|
|
637
637
|
"unions" : [ "pricing_indicator_event" ],
|
|
@@ -3853,6 +3853,10 @@
|
|
|
3853
3853
|
"name" : "label_transaction_type",
|
|
3854
3854
|
"plural" : "label_transaction_types",
|
|
3855
3855
|
"values" : [ {
|
|
3856
|
+
"name" : "adjustment",
|
|
3857
|
+
"attributes" : [ ],
|
|
3858
|
+
"description" : "Indicates this transaction is an adjustment to another label transaction. See transaction adjustments to find which transction this modified"
|
|
3859
|
+
}, {
|
|
3856
3860
|
"name" : "billable_label",
|
|
3857
3861
|
"attributes" : [ ],
|
|
3858
3862
|
"description" : "Indicates the source of the label transaction was a shipping label that we determined to be billable"
|
|
@@ -6507,6 +6511,21 @@
|
|
|
6507
6511
|
"attributes" : [ ]
|
|
6508
6512
|
} ],
|
|
6509
6513
|
"unions" : [ {
|
|
6514
|
+
"name" : "adjustment_amount",
|
|
6515
|
+
"plural" : "adjustment_amounts",
|
|
6516
|
+
"types" : [ {
|
|
6517
|
+
"type" : "adjustment_amount_percentage",
|
|
6518
|
+
"attributes" : [ ],
|
|
6519
|
+
"discriminator_value" : "percentage"
|
|
6520
|
+
}, {
|
|
6521
|
+
"type" : "adjustment_amount_fixed",
|
|
6522
|
+
"attributes" : [ ],
|
|
6523
|
+
"discriminator_value" : "fixed"
|
|
6524
|
+
} ],
|
|
6525
|
+
"attributes" : [ ],
|
|
6526
|
+
"interfaces" : [ ],
|
|
6527
|
+
"discriminator" : "discriminator"
|
|
6528
|
+
}, {
|
|
6510
6529
|
"name" : "authorization_payload",
|
|
6511
6530
|
"plural" : "authorization_payloads",
|
|
6512
6531
|
"types" : [ {
|
|
@@ -11805,6 +11824,34 @@
|
|
|
11805
11824
|
} ],
|
|
11806
11825
|
"attributes" : [ ],
|
|
11807
11826
|
"interfaces" : [ ]
|
|
11827
|
+
}, {
|
|
11828
|
+
"name" : "adjustment_amount_fixed",
|
|
11829
|
+
"plural" : "adjustment_amount_fixeds",
|
|
11830
|
+
"fields" : [ {
|
|
11831
|
+
"name" : "amount",
|
|
11832
|
+
"type" : "io.flow.common.v0.models.money",
|
|
11833
|
+
"required" : true,
|
|
11834
|
+
"attributes" : [ ],
|
|
11835
|
+
"annotations" : [ ],
|
|
11836
|
+
"description" : "A fixed amount to adjust",
|
|
11837
|
+
"example" : "5 USD"
|
|
11838
|
+
} ],
|
|
11839
|
+
"attributes" : [ ],
|
|
11840
|
+
"interfaces" : [ ]
|
|
11841
|
+
}, {
|
|
11842
|
+
"name" : "adjustment_amount_percentage",
|
|
11843
|
+
"plural" : "adjustment_amount_percentages",
|
|
11844
|
+
"fields" : [ {
|
|
11845
|
+
"name" : "percentage",
|
|
11846
|
+
"type" : "decimal",
|
|
11847
|
+
"required" : true,
|
|
11848
|
+
"attributes" : [ ],
|
|
11849
|
+
"annotations" : [ ],
|
|
11850
|
+
"description" : "5 to represent 5%",
|
|
11851
|
+
"example" : "5"
|
|
11852
|
+
} ],
|
|
11853
|
+
"attributes" : [ ],
|
|
11854
|
+
"interfaces" : [ ]
|
|
11808
11855
|
}, {
|
|
11809
11856
|
"name" : "adyen_account",
|
|
11810
11857
|
"plural" : "adyen_accounts",
|
|
@@ -38728,7 +38775,7 @@
|
|
|
38728
38775
|
} ],
|
|
38729
38776
|
"attributes" : [ ],
|
|
38730
38777
|
"interfaces" : [ "base_transaction" ],
|
|
38731
|
-
"description" : "Implements the account label service fee, if any. Also responsible for
|
|
38778
|
+
"description" : "Implements the account label service fee, if any. Also responsible for sharing the cost of labels based on the account setting 'charge_label_cost_directly'"
|
|
38732
38779
|
}, {
|
|
38733
38780
|
"name" : "labeled_content",
|
|
38734
38781
|
"plural" : "labeled_contents",
|
|
@@ -46004,69 +46051,6 @@
|
|
|
46004
46051
|
"attributes" : [ ],
|
|
46005
46052
|
"interfaces" : [ "base_transaction" ],
|
|
46006
46053
|
"description" : "A processing transaction represents a transaction related to payment activity - e.g. a payment capture, refund or adjustment"
|
|
46007
|
-
}, {
|
|
46008
|
-
"name" : "processing_transaction_adjustment",
|
|
46009
|
-
"plural" : "processing_transaction_adjustments",
|
|
46010
|
-
"fields" : [ {
|
|
46011
|
-
"name" : "id",
|
|
46012
|
-
"type" : "string",
|
|
46013
|
-
"required" : true,
|
|
46014
|
-
"attributes" : [ ],
|
|
46015
|
-
"annotations" : [ ],
|
|
46016
|
-
"description" : "Globally unique identifier"
|
|
46017
|
-
}, {
|
|
46018
|
-
"name" : "original_transaction",
|
|
46019
|
-
"type" : "processing_transaction_reference",
|
|
46020
|
-
"required" : true,
|
|
46021
|
-
"attributes" : [ ],
|
|
46022
|
-
"annotations" : [ ]
|
|
46023
|
-
}, {
|
|
46024
|
-
"name" : "adjustment_transaction",
|
|
46025
|
-
"type" : "processing_transaction_reference",
|
|
46026
|
-
"required" : true,
|
|
46027
|
-
"attributes" : [ ],
|
|
46028
|
-
"annotations" : [ ]
|
|
46029
|
-
}, {
|
|
46030
|
-
"name" : "description",
|
|
46031
|
-
"type" : "string",
|
|
46032
|
-
"required" : true,
|
|
46033
|
-
"attributes" : [ ],
|
|
46034
|
-
"annotations" : [ ]
|
|
46035
|
-
}, {
|
|
46036
|
-
"name" : "percentage",
|
|
46037
|
-
"type" : "decimal",
|
|
46038
|
-
"required" : true,
|
|
46039
|
-
"attributes" : [ ],
|
|
46040
|
-
"annotations" : [ ],
|
|
46041
|
-
"description" : "5 to represent 5%",
|
|
46042
|
-
"example" : "5"
|
|
46043
|
-
} ],
|
|
46044
|
-
"attributes" : [ ],
|
|
46045
|
-
"interfaces" : [ ]
|
|
46046
|
-
}, {
|
|
46047
|
-
"name" : "processing_transaction_adjustment_form",
|
|
46048
|
-
"plural" : "processing_transaction_adjustment_forms",
|
|
46049
|
-
"fields" : [ {
|
|
46050
|
-
"name" : "original_transaction_id",
|
|
46051
|
-
"type" : "string",
|
|
46052
|
-
"required" : true,
|
|
46053
|
-
"attributes" : [ ],
|
|
46054
|
-
"annotations" : [ ]
|
|
46055
|
-
}, {
|
|
46056
|
-
"name" : "description",
|
|
46057
|
-
"type" : "string",
|
|
46058
|
-
"required" : true,
|
|
46059
|
-
"attributes" : [ ],
|
|
46060
|
-
"annotations" : [ ]
|
|
46061
|
-
}, {
|
|
46062
|
-
"name" : "percentage",
|
|
46063
|
-
"type" : "decimal",
|
|
46064
|
-
"required" : true,
|
|
46065
|
-
"attributes" : [ ],
|
|
46066
|
-
"annotations" : [ ]
|
|
46067
|
-
} ],
|
|
46068
|
-
"attributes" : [ ],
|
|
46069
|
-
"interfaces" : [ ]
|
|
46070
46054
|
}, {
|
|
46071
46055
|
"name" : "processing_transaction_deleted",
|
|
46072
46056
|
"plural" : "processing_transaction_deleteds",
|
|
@@ -46554,6 +46538,27 @@
|
|
|
46554
46538
|
} ],
|
|
46555
46539
|
"attributes" : [ ],
|
|
46556
46540
|
"interfaces" : [ ]
|
|
46541
|
+
}, {
|
|
46542
|
+
"name" : "product_review_history",
|
|
46543
|
+
"plural" : "product_review_histories",
|
|
46544
|
+
"fields" : [ {
|
|
46545
|
+
"name" : "product_id",
|
|
46546
|
+
"type" : "string",
|
|
46547
|
+
"required" : true,
|
|
46548
|
+
"attributes" : [ ],
|
|
46549
|
+
"annotations" : [ ],
|
|
46550
|
+
"description" : "The id of the product."
|
|
46551
|
+
}, {
|
|
46552
|
+
"name" : "reviews",
|
|
46553
|
+
"type" : "[restriction_history_item_review_decision]",
|
|
46554
|
+
"required" : true,
|
|
46555
|
+
"attributes" : [ ],
|
|
46556
|
+
"annotations" : [ ],
|
|
46557
|
+
"description" : "A list of restriction_history_item_review_decision related to this product."
|
|
46558
|
+
} ],
|
|
46559
|
+
"attributes" : [ ],
|
|
46560
|
+
"interfaces" : [ ],
|
|
46561
|
+
"description" : "A product id and an array of restriction_history_item_review_decision for that product sorted in descending order of updated_at."
|
|
46557
46562
|
}, {
|
|
46558
46563
|
"name" : "quote_request",
|
|
46559
46564
|
"plural" : "quote_requests",
|
|
@@ -48162,6 +48167,69 @@
|
|
|
48162
48167
|
"attributes" : [ ],
|
|
48163
48168
|
"interfaces" : [ ],
|
|
48164
48169
|
"description" : "for category list on dashboard"
|
|
48170
|
+
}, {
|
|
48171
|
+
"name" : "restriction_history_item_review_decision",
|
|
48172
|
+
"plural" : "restriction_history_item_review_decisions",
|
|
48173
|
+
"fields" : [ {
|
|
48174
|
+
"name" : "id",
|
|
48175
|
+
"type" : "string",
|
|
48176
|
+
"required" : true,
|
|
48177
|
+
"attributes" : [ ],
|
|
48178
|
+
"annotations" : [ ],
|
|
48179
|
+
"description" : "Globally unique identifier"
|
|
48180
|
+
}, {
|
|
48181
|
+
"name" : "product_restriction_id",
|
|
48182
|
+
"type" : "string",
|
|
48183
|
+
"required" : true,
|
|
48184
|
+
"attributes" : [ ],
|
|
48185
|
+
"annotations" : [ ],
|
|
48186
|
+
"description" : "The id of the product restriction."
|
|
48187
|
+
}, {
|
|
48188
|
+
"name" : "rule",
|
|
48189
|
+
"type" : "restriction_rule_summary",
|
|
48190
|
+
"required" : true,
|
|
48191
|
+
"attributes" : [ ],
|
|
48192
|
+
"annotations" : [ ],
|
|
48193
|
+
"description" : "The rule related to this decision."
|
|
48194
|
+
}, {
|
|
48195
|
+
"name" : "keywords",
|
|
48196
|
+
"type" : "restriction_keywords",
|
|
48197
|
+
"required" : true,
|
|
48198
|
+
"attributes" : [ ],
|
|
48199
|
+
"annotations" : [ ],
|
|
48200
|
+
"description" : "Matching positive and negative keywords matching a rule"
|
|
48201
|
+
}, {
|
|
48202
|
+
"name" : "status",
|
|
48203
|
+
"type" : "restriction_status",
|
|
48204
|
+
"required" : true,
|
|
48205
|
+
"attributes" : [ ],
|
|
48206
|
+
"annotations" : [ ],
|
|
48207
|
+
"description" : "The status of the restriction."
|
|
48208
|
+
}, {
|
|
48209
|
+
"name" : "created_at",
|
|
48210
|
+
"type" : "date-time-iso8601",
|
|
48211
|
+
"required" : true,
|
|
48212
|
+
"attributes" : [ ],
|
|
48213
|
+
"annotations" : [ ],
|
|
48214
|
+
"description" : "Date that the restriction review began"
|
|
48215
|
+
}, {
|
|
48216
|
+
"name" : "updated_at",
|
|
48217
|
+
"type" : "date-time-iso8601",
|
|
48218
|
+
"required" : true,
|
|
48219
|
+
"attributes" : [ ],
|
|
48220
|
+
"annotations" : [ ],
|
|
48221
|
+
"description" : "Date of most recent restriction review change."
|
|
48222
|
+
}, {
|
|
48223
|
+
"name" : "updated_by",
|
|
48224
|
+
"type" : "io.flow.common.v0.models.user",
|
|
48225
|
+
"required" : true,
|
|
48226
|
+
"attributes" : [ ],
|
|
48227
|
+
"annotations" : [ ],
|
|
48228
|
+
"description" : "The user who most recently updated this review."
|
|
48229
|
+
} ],
|
|
48230
|
+
"attributes" : [ ],
|
|
48231
|
+
"interfaces" : [ ],
|
|
48232
|
+
"description" : "A historic review decision on a restriction related to a specific product"
|
|
48165
48233
|
}, {
|
|
48166
48234
|
"name" : "restriction_item",
|
|
48167
48235
|
"plural" : "restriction_items",
|
|
@@ -53962,6 +54030,67 @@
|
|
|
53962
54030
|
} ],
|
|
53963
54031
|
"attributes" : [ ],
|
|
53964
54032
|
"interfaces" : [ ]
|
|
54033
|
+
}, {
|
|
54034
|
+
"name" : "transaction_adjustment",
|
|
54035
|
+
"plural" : "transaction_adjustments",
|
|
54036
|
+
"fields" : [ {
|
|
54037
|
+
"name" : "id",
|
|
54038
|
+
"type" : "string",
|
|
54039
|
+
"required" : true,
|
|
54040
|
+
"attributes" : [ ],
|
|
54041
|
+
"annotations" : [ ],
|
|
54042
|
+
"description" : "Globally unique identifier"
|
|
54043
|
+
}, {
|
|
54044
|
+
"name" : "original_transaction",
|
|
54045
|
+
"type" : "processing_transaction_reference",
|
|
54046
|
+
"required" : true,
|
|
54047
|
+
"attributes" : [ ],
|
|
54048
|
+
"annotations" : [ ]
|
|
54049
|
+
}, {
|
|
54050
|
+
"name" : "adjustment_transaction",
|
|
54051
|
+
"type" : "processing_transaction_reference",
|
|
54052
|
+
"required" : true,
|
|
54053
|
+
"attributes" : [ ],
|
|
54054
|
+
"annotations" : [ ]
|
|
54055
|
+
}, {
|
|
54056
|
+
"name" : "description",
|
|
54057
|
+
"type" : "string",
|
|
54058
|
+
"required" : true,
|
|
54059
|
+
"attributes" : [ ],
|
|
54060
|
+
"annotations" : [ ]
|
|
54061
|
+
}, {
|
|
54062
|
+
"name" : "amount",
|
|
54063
|
+
"type" : "adjustment_amount",
|
|
54064
|
+
"required" : true,
|
|
54065
|
+
"attributes" : [ ],
|
|
54066
|
+
"annotations" : [ ]
|
|
54067
|
+
} ],
|
|
54068
|
+
"attributes" : [ ],
|
|
54069
|
+
"interfaces" : [ ]
|
|
54070
|
+
}, {
|
|
54071
|
+
"name" : "transaction_adjustment_form",
|
|
54072
|
+
"plural" : "transaction_adjustment_forms",
|
|
54073
|
+
"fields" : [ {
|
|
54074
|
+
"name" : "original_transaction_id",
|
|
54075
|
+
"type" : "string",
|
|
54076
|
+
"required" : true,
|
|
54077
|
+
"attributes" : [ ],
|
|
54078
|
+
"annotations" : [ ]
|
|
54079
|
+
}, {
|
|
54080
|
+
"name" : "description",
|
|
54081
|
+
"type" : "string",
|
|
54082
|
+
"required" : true,
|
|
54083
|
+
"attributes" : [ ],
|
|
54084
|
+
"annotations" : [ ]
|
|
54085
|
+
}, {
|
|
54086
|
+
"name" : "amount",
|
|
54087
|
+
"type" : "adjustment_amount",
|
|
54088
|
+
"required" : true,
|
|
54089
|
+
"attributes" : [ ],
|
|
54090
|
+
"annotations" : [ ]
|
|
54091
|
+
} ],
|
|
54092
|
+
"attributes" : [ ],
|
|
54093
|
+
"interfaces" : [ ]
|
|
53965
54094
|
}, {
|
|
53966
54095
|
"name" : "transaction_reference",
|
|
53967
54096
|
"plural" : "transaction_references",
|
|
@@ -75276,6 +75405,18 @@
|
|
|
75276
75405
|
"location" : "Query",
|
|
75277
75406
|
"required" : false,
|
|
75278
75407
|
"description" : "Filter to items with a similar legal name."
|
|
75408
|
+
}, {
|
|
75409
|
+
"name" : "created_at_from",
|
|
75410
|
+
"type" : "date-time-iso8601",
|
|
75411
|
+
"location" : "Query",
|
|
75412
|
+
"required" : false,
|
|
75413
|
+
"description" : "Filter to items created at before the specific datetime."
|
|
75414
|
+
}, {
|
|
75415
|
+
"name" : "created_at_to",
|
|
75416
|
+
"type" : "date-time-iso8601",
|
|
75417
|
+
"location" : "Query",
|
|
75418
|
+
"required" : false,
|
|
75419
|
+
"description" : "Filter to items created at after the specific datetime."
|
|
75279
75420
|
}, {
|
|
75280
75421
|
"name" : "limit",
|
|
75281
75422
|
"type" : "long",
|
|
@@ -80958,102 +81099,6 @@
|
|
|
80958
81099
|
}
|
|
80959
81100
|
} ],
|
|
80960
81101
|
"path" : "/internal/:organization/platform_fee_changes"
|
|
80961
|
-
}, {
|
|
80962
|
-
"type" : "processing_transaction_adjustment",
|
|
80963
|
-
"plural" : "processing_transaction_adjustments",
|
|
80964
|
-
"operations" : [ {
|
|
80965
|
-
"method" : "POST",
|
|
80966
|
-
"path" : "/internal/billing/processing/transaction/adjustments",
|
|
80967
|
-
"parameters" : [ ],
|
|
80968
|
-
"responses" : [ {
|
|
80969
|
-
"code" : {
|
|
80970
|
-
"integer" : {
|
|
80971
|
-
"value" : 200
|
|
80972
|
-
}
|
|
80973
|
-
},
|
|
80974
|
-
"type" : "processing_transaction_adjustment",
|
|
80975
|
-
"description" : "Successful response",
|
|
80976
|
-
"attributes" : [ ]
|
|
80977
|
-
}, {
|
|
80978
|
-
"code" : {
|
|
80979
|
-
"integer" : {
|
|
80980
|
-
"value" : 201
|
|
80981
|
-
}
|
|
80982
|
-
},
|
|
80983
|
-
"type" : "processing_transaction_adjustment",
|
|
80984
|
-
"description" : "Operation succeeded and the resource was created",
|
|
80985
|
-
"attributes" : [ ]
|
|
80986
|
-
}, {
|
|
80987
|
-
"code" : {
|
|
80988
|
-
"integer" : {
|
|
80989
|
-
"value" : 401
|
|
80990
|
-
}
|
|
80991
|
-
},
|
|
80992
|
-
"type" : "unit",
|
|
80993
|
-
"description" : "Authorization failed",
|
|
80994
|
-
"attributes" : [ ]
|
|
80995
|
-
}, {
|
|
80996
|
-
"code" : {
|
|
80997
|
-
"integer" : {
|
|
80998
|
-
"value" : 422
|
|
80999
|
-
}
|
|
81000
|
-
},
|
|
81001
|
-
"type" : "io.flow.error.v0.models.generic_error",
|
|
81002
|
-
"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.",
|
|
81003
|
-
"attributes" : [ ]
|
|
81004
|
-
} ],
|
|
81005
|
-
"attributes" : [ ],
|
|
81006
|
-
"body" : {
|
|
81007
|
-
"type" : "processing_transaction_adjustment_form",
|
|
81008
|
-
"attributes" : [ ]
|
|
81009
|
-
}
|
|
81010
|
-
}, {
|
|
81011
|
-
"method" : "GET",
|
|
81012
|
-
"path" : "/internal/billing/processing/transaction/adjustments/:id",
|
|
81013
|
-
"parameters" : [ {
|
|
81014
|
-
"name" : "id",
|
|
81015
|
-
"type" : "string",
|
|
81016
|
-
"location" : "Path",
|
|
81017
|
-
"required" : true,
|
|
81018
|
-
"description" : "Filter by one or more IDs of this resource"
|
|
81019
|
-
} ],
|
|
81020
|
-
"responses" : [ {
|
|
81021
|
-
"code" : {
|
|
81022
|
-
"integer" : {
|
|
81023
|
-
"value" : 200
|
|
81024
|
-
}
|
|
81025
|
-
},
|
|
81026
|
-
"type" : "processing_transaction_adjustment",
|
|
81027
|
-
"description" : "Successful response",
|
|
81028
|
-
"attributes" : [ ]
|
|
81029
|
-
}, {
|
|
81030
|
-
"code" : {
|
|
81031
|
-
"integer" : {
|
|
81032
|
-
"value" : 401
|
|
81033
|
-
}
|
|
81034
|
-
},
|
|
81035
|
-
"type" : "unit",
|
|
81036
|
-
"description" : "Authorization failed",
|
|
81037
|
-
"attributes" : [ ]
|
|
81038
|
-
}, {
|
|
81039
|
-
"code" : {
|
|
81040
|
-
"integer" : {
|
|
81041
|
-
"value" : 404
|
|
81042
|
-
}
|
|
81043
|
-
},
|
|
81044
|
-
"type" : "unit",
|
|
81045
|
-
"description" : "Resource was not found",
|
|
81046
|
-
"attributes" : [ ]
|
|
81047
|
-
} ],
|
|
81048
|
-
"attributes" : [ ]
|
|
81049
|
-
} ],
|
|
81050
|
-
"attributes" : [ {
|
|
81051
|
-
"name" : "docs",
|
|
81052
|
-
"value" : {
|
|
81053
|
-
"module" : "general"
|
|
81054
|
-
}
|
|
81055
|
-
} ],
|
|
81056
|
-
"path" : "/internal/billing/processing/transaction/adjustments"
|
|
81057
81102
|
}, {
|
|
81058
81103
|
"type" : "processor_account",
|
|
81059
81104
|
"plural" : "processor_accounts",
|
|
@@ -82063,6 +82108,69 @@
|
|
|
82063
82108
|
} ],
|
|
82064
82109
|
"path" : "/product_classifications",
|
|
82065
82110
|
"description" : "Label based product classification endpoints"
|
|
82111
|
+
}, {
|
|
82112
|
+
"type" : "product_review_history",
|
|
82113
|
+
"plural" : "product_review_histories",
|
|
82114
|
+
"operations" : [ {
|
|
82115
|
+
"method" : "GET",
|
|
82116
|
+
"path" : "/jailhouse/restriction/:organization/products/:id/histories",
|
|
82117
|
+
"parameters" : [ {
|
|
82118
|
+
"name" : "organization",
|
|
82119
|
+
"type" : "string",
|
|
82120
|
+
"location" : "Path",
|
|
82121
|
+
"required" : true,
|
|
82122
|
+
"description" : "Refers to your organization's account identifier"
|
|
82123
|
+
}, {
|
|
82124
|
+
"name" : "id",
|
|
82125
|
+
"type" : "string",
|
|
82126
|
+
"location" : "Path",
|
|
82127
|
+
"required" : true,
|
|
82128
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
82129
|
+
} ],
|
|
82130
|
+
"responses" : [ {
|
|
82131
|
+
"code" : {
|
|
82132
|
+
"integer" : {
|
|
82133
|
+
"value" : 200
|
|
82134
|
+
}
|
|
82135
|
+
},
|
|
82136
|
+
"type" : "product_review_history",
|
|
82137
|
+
"description" : "Successful response",
|
|
82138
|
+
"attributes" : [ ]
|
|
82139
|
+
}, {
|
|
82140
|
+
"code" : {
|
|
82141
|
+
"integer" : {
|
|
82142
|
+
"value" : 401
|
|
82143
|
+
}
|
|
82144
|
+
},
|
|
82145
|
+
"type" : "unit",
|
|
82146
|
+
"description" : "Authorization failed",
|
|
82147
|
+
"attributes" : [ ]
|
|
82148
|
+
}, {
|
|
82149
|
+
"code" : {
|
|
82150
|
+
"integer" : {
|
|
82151
|
+
"value" : 404
|
|
82152
|
+
}
|
|
82153
|
+
},
|
|
82154
|
+
"type" : "unit",
|
|
82155
|
+
"description" : "Resource was not found",
|
|
82156
|
+
"attributes" : [ ]
|
|
82157
|
+
} ],
|
|
82158
|
+
"attributes" : [ {
|
|
82159
|
+
"name" : "linter",
|
|
82160
|
+
"value" : {
|
|
82161
|
+
"ignore" : [ "get", "id", "sort" ]
|
|
82162
|
+
}
|
|
82163
|
+
} ],
|
|
82164
|
+
"description" : "Returns product_review_history for a specific product id."
|
|
82165
|
+
} ],
|
|
82166
|
+
"attributes" : [ {
|
|
82167
|
+
"name" : "docs",
|
|
82168
|
+
"value" : {
|
|
82169
|
+
"module" : "general"
|
|
82170
|
+
}
|
|
82171
|
+
} ],
|
|
82172
|
+
"path" : "/jailhouse/restriction/:organization/products/:id/histories",
|
|
82173
|
+
"description" : "A product id and an array of restriction_history_item_review_decision for that product sorted in descending order of updated_at."
|
|
82066
82174
|
}, {
|
|
82067
82175
|
"type" : "rate_and_rule_lookup",
|
|
82068
82176
|
"plural" : "rate_and_rule_lookups",
|
|
@@ -88362,6 +88470,102 @@
|
|
|
88362
88470
|
}
|
|
88363
88471
|
} ],
|
|
88364
88472
|
"path" : "/:organization/billing/transactions"
|
|
88473
|
+
}, {
|
|
88474
|
+
"type" : "transaction_adjustment",
|
|
88475
|
+
"plural" : "transaction_adjustments",
|
|
88476
|
+
"operations" : [ {
|
|
88477
|
+
"method" : "POST",
|
|
88478
|
+
"path" : "/internal/billing/transaction/adjustments",
|
|
88479
|
+
"parameters" : [ ],
|
|
88480
|
+
"responses" : [ {
|
|
88481
|
+
"code" : {
|
|
88482
|
+
"integer" : {
|
|
88483
|
+
"value" : 200
|
|
88484
|
+
}
|
|
88485
|
+
},
|
|
88486
|
+
"type" : "transaction_adjustment",
|
|
88487
|
+
"description" : "Successful response",
|
|
88488
|
+
"attributes" : [ ]
|
|
88489
|
+
}, {
|
|
88490
|
+
"code" : {
|
|
88491
|
+
"integer" : {
|
|
88492
|
+
"value" : 201
|
|
88493
|
+
}
|
|
88494
|
+
},
|
|
88495
|
+
"type" : "transaction_adjustment",
|
|
88496
|
+
"description" : "Operation succeeded and the resource was created",
|
|
88497
|
+
"attributes" : [ ]
|
|
88498
|
+
}, {
|
|
88499
|
+
"code" : {
|
|
88500
|
+
"integer" : {
|
|
88501
|
+
"value" : 401
|
|
88502
|
+
}
|
|
88503
|
+
},
|
|
88504
|
+
"type" : "unit",
|
|
88505
|
+
"description" : "Authorization failed",
|
|
88506
|
+
"attributes" : [ ]
|
|
88507
|
+
}, {
|
|
88508
|
+
"code" : {
|
|
88509
|
+
"integer" : {
|
|
88510
|
+
"value" : 422
|
|
88511
|
+
}
|
|
88512
|
+
},
|
|
88513
|
+
"type" : "io.flow.error.v0.models.generic_error",
|
|
88514
|
+
"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.",
|
|
88515
|
+
"attributes" : [ ]
|
|
88516
|
+
} ],
|
|
88517
|
+
"attributes" : [ ],
|
|
88518
|
+
"body" : {
|
|
88519
|
+
"type" : "transaction_adjustment_form",
|
|
88520
|
+
"attributes" : [ ]
|
|
88521
|
+
}
|
|
88522
|
+
}, {
|
|
88523
|
+
"method" : "GET",
|
|
88524
|
+
"path" : "/internal/billing/transaction/adjustments/:id",
|
|
88525
|
+
"parameters" : [ {
|
|
88526
|
+
"name" : "id",
|
|
88527
|
+
"type" : "string",
|
|
88528
|
+
"location" : "Path",
|
|
88529
|
+
"required" : true,
|
|
88530
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
88531
|
+
} ],
|
|
88532
|
+
"responses" : [ {
|
|
88533
|
+
"code" : {
|
|
88534
|
+
"integer" : {
|
|
88535
|
+
"value" : 200
|
|
88536
|
+
}
|
|
88537
|
+
},
|
|
88538
|
+
"type" : "transaction_adjustment",
|
|
88539
|
+
"description" : "Successful response",
|
|
88540
|
+
"attributes" : [ ]
|
|
88541
|
+
}, {
|
|
88542
|
+
"code" : {
|
|
88543
|
+
"integer" : {
|
|
88544
|
+
"value" : 401
|
|
88545
|
+
}
|
|
88546
|
+
},
|
|
88547
|
+
"type" : "unit",
|
|
88548
|
+
"description" : "Authorization failed",
|
|
88549
|
+
"attributes" : [ ]
|
|
88550
|
+
}, {
|
|
88551
|
+
"code" : {
|
|
88552
|
+
"integer" : {
|
|
88553
|
+
"value" : 404
|
|
88554
|
+
}
|
|
88555
|
+
},
|
|
88556
|
+
"type" : "unit",
|
|
88557
|
+
"description" : "Resource was not found",
|
|
88558
|
+
"attributes" : [ ]
|
|
88559
|
+
} ],
|
|
88560
|
+
"attributes" : [ ]
|
|
88561
|
+
} ],
|
|
88562
|
+
"attributes" : [ {
|
|
88563
|
+
"name" : "docs",
|
|
88564
|
+
"value" : {
|
|
88565
|
+
"module" : "general"
|
|
88566
|
+
}
|
|
88567
|
+
} ],
|
|
88568
|
+
"path" : "/internal/billing/transaction/adjustments"
|
|
88365
88569
|
}, {
|
|
88366
88570
|
"type" : "tribe",
|
|
88367
88571
|
"plural" : "tribes",
|