@flowio/api-mock-generator 6.17.78 → 6.17.80
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.json +296 -6
- package/package.json +2 -2
- package/src/api.json +296 -6
package/dist/api.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"key": "api"
|
|
11
11
|
},
|
|
12
12
|
"namespace": "io.flow.v0",
|
|
13
|
-
"version": "0.18.
|
|
13
|
+
"version": "0.18.70",
|
|
14
14
|
"info": {
|
|
15
15
|
"license": {
|
|
16
16
|
"name": "MIT",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"application": {
|
|
32
32
|
"key": "apple-pay"
|
|
33
33
|
},
|
|
34
|
-
"version": "0.3.
|
|
34
|
+
"version": "0.3.48",
|
|
35
35
|
"enums": ["apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks"],
|
|
36
36
|
"interfaces": [],
|
|
37
37
|
"unions": [],
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"application": {
|
|
47
47
|
"key": "google-pay"
|
|
48
48
|
},
|
|
49
|
-
"version": "0.3.
|
|
49
|
+
"version": "0.3.48",
|
|
50
50
|
"enums": ["auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status"],
|
|
51
51
|
"interfaces": [],
|
|
52
52
|
"unions": ["payment_method_token"],
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"application": {
|
|
62
62
|
"key": "shopify-external"
|
|
63
63
|
},
|
|
64
|
-
"version": "0.3.
|
|
64
|
+
"version": "0.3.48",
|
|
65
65
|
"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_plan_name", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit"],
|
|
66
66
|
"interfaces": [],
|
|
67
67
|
"unions": [],
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"application": {
|
|
77
77
|
"key": "ben-test-internal"
|
|
78
78
|
},
|
|
79
|
-
"version": "0.22.
|
|
79
|
+
"version": "0.22.88",
|
|
80
80
|
"enums": [],
|
|
81
81
|
"interfaces": ["generate_load"],
|
|
82
82
|
"unions": ["generate_load"],
|
|
@@ -2780,6 +2780,9 @@
|
|
|
2780
2780
|
}, {
|
|
2781
2781
|
"name": "application_missing",
|
|
2782
2782
|
"attributes": []
|
|
2783
|
+
}, {
|
|
2784
|
+
"name": "missing_logistics_contact_info",
|
|
2785
|
+
"attributes": []
|
|
2783
2786
|
}],
|
|
2784
2787
|
"attributes": []
|
|
2785
2788
|
}, {
|
|
@@ -3557,6 +3560,10 @@
|
|
|
3557
3560
|
"name": "order_mismatched_currencies",
|
|
3558
3561
|
"attributes": [],
|
|
3559
3562
|
"description": "The order has transactions in a different currency than the presentment currency."
|
|
3563
|
+
}, {
|
|
3564
|
+
"name": "order_missing",
|
|
3565
|
+
"attributes": [],
|
|
3566
|
+
"description": "The order number is missing."
|
|
3560
3567
|
}],
|
|
3561
3568
|
"attributes": [],
|
|
3562
3569
|
"description": "The type of check that was performed."
|
|
@@ -8869,10 +8876,26 @@
|
|
|
8869
8876
|
"type": "payment_processor_transaction_details_card",
|
|
8870
8877
|
"attributes": [],
|
|
8871
8878
|
"discriminator_value": "card"
|
|
8879
|
+
}, {
|
|
8880
|
+
"type": "payment_processor_transaction_details_apm",
|
|
8881
|
+
"attributes": [],
|
|
8882
|
+
"discriminator_value": "apm"
|
|
8872
8883
|
}],
|
|
8873
8884
|
"attributes": [],
|
|
8874
8885
|
"interfaces": ["payment_processor_transaction_details"],
|
|
8875
8886
|
"discriminator": "discriminator"
|
|
8887
|
+
}, {
|
|
8888
|
+
"name": "payment_request_cancellation_reason",
|
|
8889
|
+
"plural": "payment_request_cancellation_reasons",
|
|
8890
|
+
"types": [{
|
|
8891
|
+
"type": "payment_request_cancellation_reason_order_missing",
|
|
8892
|
+
"attributes": [],
|
|
8893
|
+
"description": "The order number is missing.",
|
|
8894
|
+
"discriminator_value": "order_missing"
|
|
8895
|
+
}],
|
|
8896
|
+
"attributes": [],
|
|
8897
|
+
"interfaces": [],
|
|
8898
|
+
"discriminator": "type"
|
|
8876
8899
|
}, {
|
|
8877
8900
|
"name": "payment_source",
|
|
8878
8901
|
"plural": "payment_sources",
|
|
@@ -39082,6 +39105,48 @@
|
|
|
39082
39105
|
}],
|
|
39083
39106
|
"attributes": [],
|
|
39084
39107
|
"interfaces": []
|
|
39108
|
+
}, {
|
|
39109
|
+
"name": "payment_processor_transaction_details_apm",
|
|
39110
|
+
"plural": "payment_processor_transaction_details_apms",
|
|
39111
|
+
"fields": [{
|
|
39112
|
+
"name": "transaction_identifier",
|
|
39113
|
+
"type": "string",
|
|
39114
|
+
"required": false,
|
|
39115
|
+
"attributes": [],
|
|
39116
|
+
"annotations": [],
|
|
39117
|
+
"description": "The most specific PSP identifier for an authorization attempt / result"
|
|
39118
|
+
}, {
|
|
39119
|
+
"name": "capture_identifier",
|
|
39120
|
+
"type": "string",
|
|
39121
|
+
"required": false,
|
|
39122
|
+
"attributes": [],
|
|
39123
|
+
"annotations": [],
|
|
39124
|
+
"description": "The most specific PSP identifier for a capture. This will be populated if there is automatic capture in most cases. For Stripe this must be a charge id (starts with py_)"
|
|
39125
|
+
}, {
|
|
39126
|
+
"name": "method_type",
|
|
39127
|
+
"type": "string",
|
|
39128
|
+
"required": false,
|
|
39129
|
+
"attributes": [],
|
|
39130
|
+
"annotations": [],
|
|
39131
|
+
"description": "The PSP's identification of the payment method subtype, e.g. klarna"
|
|
39132
|
+
}, {
|
|
39133
|
+
"name": "result_status",
|
|
39134
|
+
"type": "string",
|
|
39135
|
+
"required": false,
|
|
39136
|
+
"attributes": [],
|
|
39137
|
+
"annotations": [],
|
|
39138
|
+
"description": "The transaction's raw result status"
|
|
39139
|
+
}, {
|
|
39140
|
+
"name": "reason_code",
|
|
39141
|
+
"type": "string",
|
|
39142
|
+
"required": false,
|
|
39143
|
+
"attributes": [],
|
|
39144
|
+
"annotations": [],
|
|
39145
|
+
"description": "The transaction's raw reason code"
|
|
39146
|
+
}],
|
|
39147
|
+
"attributes": [],
|
|
39148
|
+
"interfaces": ["payment_processor_transaction_details"],
|
|
39149
|
+
"description": "Data elements gathered from the PSP's authorization messages. Format will differ by PSP."
|
|
39085
39150
|
}, {
|
|
39086
39151
|
"name": "payment_processor_transaction_details_card",
|
|
39087
39152
|
"plural": "payment_processor_transaction_details_cards",
|
|
@@ -39528,6 +39593,19 @@
|
|
|
39528
39593
|
}],
|
|
39529
39594
|
"attributes": [],
|
|
39530
39595
|
"interfaces": []
|
|
39596
|
+
}, {
|
|
39597
|
+
"name": "payment_request_cancellation_reason_order_missing",
|
|
39598
|
+
"plural": "payment_request_cancellation_reason_order_missings",
|
|
39599
|
+
"fields": [{
|
|
39600
|
+
"name": "description",
|
|
39601
|
+
"type": "string",
|
|
39602
|
+
"required": false,
|
|
39603
|
+
"attributes": [],
|
|
39604
|
+
"annotations": [],
|
|
39605
|
+
"description": "Additional provided information about why this payment request was cancelled."
|
|
39606
|
+
}],
|
|
39607
|
+
"attributes": [],
|
|
39608
|
+
"interfaces": []
|
|
39531
39609
|
}, {
|
|
39532
39610
|
"name": "payment_request_deleted",
|
|
39533
39611
|
"plural": "payment_request_deleteds",
|
|
@@ -40151,6 +40229,13 @@
|
|
|
40151
40229
|
"annotations": [],
|
|
40152
40230
|
"description": "The payment ID in PayPal.",
|
|
40153
40231
|
"example": "PAY-lkj23lk4j23l42341123"
|
|
40232
|
+
}, {
|
|
40233
|
+
"name": "internal_payment_id",
|
|
40234
|
+
"type": "string",
|
|
40235
|
+
"required": false,
|
|
40236
|
+
"attributes": [],
|
|
40237
|
+
"annotations": [],
|
|
40238
|
+
"description": "Internal payment ID (pmt-xxx)"
|
|
40154
40239
|
}, {
|
|
40155
40240
|
"name": "payment_method",
|
|
40156
40241
|
"type": "string",
|
|
@@ -44849,6 +44934,24 @@
|
|
|
44849
44934
|
}],
|
|
44850
44935
|
"attributes": [],
|
|
44851
44936
|
"interfaces": []
|
|
44937
|
+
}, {
|
|
44938
|
+
"name": "rejection_put_form",
|
|
44939
|
+
"plural": "rejection_put_forms",
|
|
44940
|
+
"fields": [{
|
|
44941
|
+
"name": "reason",
|
|
44942
|
+
"type": "merchant_rejected_reason",
|
|
44943
|
+
"required": true,
|
|
44944
|
+
"attributes": [],
|
|
44945
|
+
"annotations": []
|
|
44946
|
+
}, {
|
|
44947
|
+
"name": "description",
|
|
44948
|
+
"type": "string",
|
|
44949
|
+
"required": true,
|
|
44950
|
+
"attributes": [],
|
|
44951
|
+
"annotations": []
|
|
44952
|
+
}],
|
|
44953
|
+
"attributes": [],
|
|
44954
|
+
"interfaces": []
|
|
44852
44955
|
}, {
|
|
44853
44956
|
"name": "remote_area_by_weight_service_fee",
|
|
44854
44957
|
"plural": "remote_area_by_weight_service_fees",
|
|
@@ -53599,7 +53702,7 @@
|
|
|
53599
53702
|
"annotations": []
|
|
53600
53703
|
}, {
|
|
53601
53704
|
"name": "organization_transaction",
|
|
53602
|
-
"type": "
|
|
53705
|
+
"type": "transaction_metadata_channel_organization_transaction",
|
|
53603
53706
|
"required": true,
|
|
53604
53707
|
"attributes": [],
|
|
53605
53708
|
"annotations": []
|
|
@@ -53642,6 +53745,25 @@
|
|
|
53642
53745
|
}],
|
|
53643
53746
|
"attributes": [],
|
|
53644
53747
|
"interfaces": []
|
|
53748
|
+
}, {
|
|
53749
|
+
"name": "transaction_metadata_channel_organization_transaction",
|
|
53750
|
+
"plural": "transaction_metadata_channel_organization_transactions",
|
|
53751
|
+
"fields": [{
|
|
53752
|
+
"name": "id",
|
|
53753
|
+
"type": "string",
|
|
53754
|
+
"required": true,
|
|
53755
|
+
"attributes": [],
|
|
53756
|
+
"annotations": [],
|
|
53757
|
+
"description": "Globally unique identifier"
|
|
53758
|
+
}, {
|
|
53759
|
+
"name": "metadata",
|
|
53760
|
+
"type": "transaction_metadata_payment_transaction",
|
|
53761
|
+
"required": true,
|
|
53762
|
+
"attributes": [],
|
|
53763
|
+
"annotations": []
|
|
53764
|
+
}],
|
|
53765
|
+
"attributes": [],
|
|
53766
|
+
"interfaces": []
|
|
53645
53767
|
}, {
|
|
53646
53768
|
"name": "transaction_metadata_failed_payout",
|
|
53647
53769
|
"plural": "transaction_metadata_failed_payouts",
|
|
@@ -91870,6 +91992,63 @@
|
|
|
91870
91992
|
"type": "deactivation_put_form",
|
|
91871
91993
|
"attributes": []
|
|
91872
91994
|
}
|
|
91995
|
+
}, {
|
|
91996
|
+
"method": "PUT",
|
|
91997
|
+
"path": "/channel/:channel/organization/:organization/reject",
|
|
91998
|
+
"parameters": [{
|
|
91999
|
+
"name": "channel",
|
|
92000
|
+
"type": "string",
|
|
92001
|
+
"location": "Path",
|
|
92002
|
+
"required": true
|
|
92003
|
+
}, {
|
|
92004
|
+
"name": "organization",
|
|
92005
|
+
"type": "string",
|
|
92006
|
+
"location": "Path",
|
|
92007
|
+
"required": true,
|
|
92008
|
+
"description": "Refers to your organization's account identifier"
|
|
92009
|
+
}],
|
|
92010
|
+
"responses": [{
|
|
92011
|
+
"code": {
|
|
92012
|
+
"integer": {
|
|
92013
|
+
"value": 201
|
|
92014
|
+
}
|
|
92015
|
+
},
|
|
92016
|
+
"type": "organization_onboarding_state",
|
|
92017
|
+
"description": "Operation succeeded and the resource was created",
|
|
92018
|
+
"attributes": []
|
|
92019
|
+
}, {
|
|
92020
|
+
"code": {
|
|
92021
|
+
"integer": {
|
|
92022
|
+
"value": 401
|
|
92023
|
+
}
|
|
92024
|
+
},
|
|
92025
|
+
"type": "unit",
|
|
92026
|
+
"description": "Authorization failed",
|
|
92027
|
+
"attributes": []
|
|
92028
|
+
}, {
|
|
92029
|
+
"code": {
|
|
92030
|
+
"integer": {
|
|
92031
|
+
"value": 404
|
|
92032
|
+
}
|
|
92033
|
+
},
|
|
92034
|
+
"type": "unit",
|
|
92035
|
+
"description": "Resource was not found",
|
|
92036
|
+
"attributes": []
|
|
92037
|
+
}, {
|
|
92038
|
+
"code": {
|
|
92039
|
+
"integer": {
|
|
92040
|
+
"value": 422
|
|
92041
|
+
}
|
|
92042
|
+
},
|
|
92043
|
+
"type": "generic_error",
|
|
92044
|
+
"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.",
|
|
92045
|
+
"attributes": []
|
|
92046
|
+
}],
|
|
92047
|
+
"attributes": [],
|
|
92048
|
+
"body": {
|
|
92049
|
+
"type": "rejection_put_form",
|
|
92050
|
+
"attributes": []
|
|
92051
|
+
}
|
|
91873
92052
|
}, {
|
|
91874
92053
|
"method": "GET",
|
|
91875
92054
|
"path": "/:organization/onboarding/state",
|
|
@@ -92022,6 +92201,58 @@
|
|
|
92022
92201
|
"type": "deactivation_put_form",
|
|
92023
92202
|
"attributes": []
|
|
92024
92203
|
}
|
|
92204
|
+
}, {
|
|
92205
|
+
"method": "PUT",
|
|
92206
|
+
"path": "/:organization/onboarding/state/reject",
|
|
92207
|
+
"parameters": [{
|
|
92208
|
+
"name": "organization",
|
|
92209
|
+
"type": "string",
|
|
92210
|
+
"location": "Path",
|
|
92211
|
+
"required": true,
|
|
92212
|
+
"description": "Refers to your organization's account identifier"
|
|
92213
|
+
}],
|
|
92214
|
+
"responses": [{
|
|
92215
|
+
"code": {
|
|
92216
|
+
"integer": {
|
|
92217
|
+
"value": 201
|
|
92218
|
+
}
|
|
92219
|
+
},
|
|
92220
|
+
"type": "organization_onboarding_state",
|
|
92221
|
+
"description": "Operation succeeded and the resource was created",
|
|
92222
|
+
"attributes": []
|
|
92223
|
+
}, {
|
|
92224
|
+
"code": {
|
|
92225
|
+
"integer": {
|
|
92226
|
+
"value": 401
|
|
92227
|
+
}
|
|
92228
|
+
},
|
|
92229
|
+
"type": "unit",
|
|
92230
|
+
"description": "Authorization failed",
|
|
92231
|
+
"attributes": []
|
|
92232
|
+
}, {
|
|
92233
|
+
"code": {
|
|
92234
|
+
"integer": {
|
|
92235
|
+
"value": 404
|
|
92236
|
+
}
|
|
92237
|
+
},
|
|
92238
|
+
"type": "unit",
|
|
92239
|
+
"description": "Resource was not found",
|
|
92240
|
+
"attributes": []
|
|
92241
|
+
}, {
|
|
92242
|
+
"code": {
|
|
92243
|
+
"integer": {
|
|
92244
|
+
"value": 422
|
|
92245
|
+
}
|
|
92246
|
+
},
|
|
92247
|
+
"type": "generic_error",
|
|
92248
|
+
"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.",
|
|
92249
|
+
"attributes": []
|
|
92250
|
+
}],
|
|
92251
|
+
"attributes": [],
|
|
92252
|
+
"body": {
|
|
92253
|
+
"type": "rejection_put_form",
|
|
92254
|
+
"attributes": []
|
|
92255
|
+
}
|
|
92025
92256
|
}],
|
|
92026
92257
|
"attributes": [{
|
|
92027
92258
|
"name": "docs",
|
|
@@ -93193,6 +93424,65 @@
|
|
|
93193
93424
|
"type": "payment_request_form",
|
|
93194
93425
|
"attributes": []
|
|
93195
93426
|
}
|
|
93427
|
+
}, {
|
|
93428
|
+
"method": "POST",
|
|
93429
|
+
"path": "/:organization/payment/requests/:id/cancel",
|
|
93430
|
+
"parameters": [{
|
|
93431
|
+
"name": "organization",
|
|
93432
|
+
"type": "string",
|
|
93433
|
+
"location": "Path",
|
|
93434
|
+
"required": true,
|
|
93435
|
+
"description": "Refers to your organization's account identifier"
|
|
93436
|
+
}, {
|
|
93437
|
+
"name": "id",
|
|
93438
|
+
"type": "string",
|
|
93439
|
+
"location": "Path",
|
|
93440
|
+
"required": true,
|
|
93441
|
+
"description": "Filter by one or more IDs of this resource"
|
|
93442
|
+
}],
|
|
93443
|
+
"responses": [{
|
|
93444
|
+
"code": {
|
|
93445
|
+
"integer": {
|
|
93446
|
+
"value": 200
|
|
93447
|
+
}
|
|
93448
|
+
},
|
|
93449
|
+
"type": "payment_request",
|
|
93450
|
+
"description": "Successful response",
|
|
93451
|
+
"attributes": []
|
|
93452
|
+
}, {
|
|
93453
|
+
"code": {
|
|
93454
|
+
"integer": {
|
|
93455
|
+
"value": 401
|
|
93456
|
+
}
|
|
93457
|
+
},
|
|
93458
|
+
"type": "unit",
|
|
93459
|
+
"description": "Authorization failed",
|
|
93460
|
+
"attributes": []
|
|
93461
|
+
}, {
|
|
93462
|
+
"code": {
|
|
93463
|
+
"integer": {
|
|
93464
|
+
"value": 404
|
|
93465
|
+
}
|
|
93466
|
+
},
|
|
93467
|
+
"type": "unit",
|
|
93468
|
+
"description": "Resource was not found",
|
|
93469
|
+
"attributes": []
|
|
93470
|
+
}, {
|
|
93471
|
+
"code": {
|
|
93472
|
+
"integer": {
|
|
93473
|
+
"value": 422
|
|
93474
|
+
}
|
|
93475
|
+
},
|
|
93476
|
+
"type": "generic_error",
|
|
93477
|
+
"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.",
|
|
93478
|
+
"attributes": []
|
|
93479
|
+
}],
|
|
93480
|
+
"attributes": [],
|
|
93481
|
+
"description": "Cancels the payment request.",
|
|
93482
|
+
"body": {
|
|
93483
|
+
"type": "payment_request_cancellation_reason",
|
|
93484
|
+
"attributes": []
|
|
93485
|
+
}
|
|
93196
93486
|
}, {
|
|
93197
93487
|
"method": "POST",
|
|
93198
93488
|
"path": "/:organization/payment/requests/:id/capture",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-mock-generator",
|
|
3
|
-
"version": "6.17.
|
|
3
|
+
"version": "6.17.80",
|
|
4
4
|
"description": "A mock data generator based on our API specifications for JavaScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flowcommerce",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"apibuilder-js": "0.0.13",
|
|
29
29
|
"apibuilder-mock-generator": "0.0.13"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "e2172791ebb0708545e2d68100656b52120f50e4"
|
|
32
32
|
}
|
package/src/api.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"key" : "api"
|
|
11
11
|
},
|
|
12
12
|
"namespace" : "io.flow.v0",
|
|
13
|
-
"version" : "0.18.
|
|
13
|
+
"version" : "0.18.70",
|
|
14
14
|
"info" : {
|
|
15
15
|
"license" : {
|
|
16
16
|
"name" : "MIT",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"application" : {
|
|
32
32
|
"key" : "apple-pay"
|
|
33
33
|
},
|
|
34
|
-
"version" : "0.3.
|
|
34
|
+
"version" : "0.3.48",
|
|
35
35
|
"enums" : [ "apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks" ],
|
|
36
36
|
"interfaces" : [ ],
|
|
37
37
|
"unions" : [ ],
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"application" : {
|
|
47
47
|
"key" : "google-pay"
|
|
48
48
|
},
|
|
49
|
-
"version" : "0.3.
|
|
49
|
+
"version" : "0.3.48",
|
|
50
50
|
"enums" : [ "auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status" ],
|
|
51
51
|
"interfaces" : [ ],
|
|
52
52
|
"unions" : [ "payment_method_token" ],
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"application" : {
|
|
62
62
|
"key" : "shopify-external"
|
|
63
63
|
},
|
|
64
|
-
"version" : "0.3.
|
|
64
|
+
"version" : "0.3.48",
|
|
65
65
|
"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_plan_name", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit" ],
|
|
66
66
|
"interfaces" : [ ],
|
|
67
67
|
"unions" : [ ],
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"application" : {
|
|
77
77
|
"key" : "ben-test-internal"
|
|
78
78
|
},
|
|
79
|
-
"version" : "0.22.
|
|
79
|
+
"version" : "0.22.88",
|
|
80
80
|
"enums" : [ ],
|
|
81
81
|
"interfaces" : [ "generate_load" ],
|
|
82
82
|
"unions" : [ "generate_load" ],
|
|
@@ -2780,6 +2780,9 @@
|
|
|
2780
2780
|
}, {
|
|
2781
2781
|
"name" : "application_missing",
|
|
2782
2782
|
"attributes" : [ ]
|
|
2783
|
+
}, {
|
|
2784
|
+
"name" : "missing_logistics_contact_info",
|
|
2785
|
+
"attributes" : [ ]
|
|
2783
2786
|
} ],
|
|
2784
2787
|
"attributes" : [ ]
|
|
2785
2788
|
}, {
|
|
@@ -3557,6 +3560,10 @@
|
|
|
3557
3560
|
"name" : "order_mismatched_currencies",
|
|
3558
3561
|
"attributes" : [ ],
|
|
3559
3562
|
"description" : "The order has transactions in a different currency than the presentment currency."
|
|
3563
|
+
}, {
|
|
3564
|
+
"name" : "order_missing",
|
|
3565
|
+
"attributes" : [ ],
|
|
3566
|
+
"description" : "The order number is missing."
|
|
3560
3567
|
} ],
|
|
3561
3568
|
"attributes" : [ ],
|
|
3562
3569
|
"description" : "The type of check that was performed."
|
|
@@ -8869,10 +8876,26 @@
|
|
|
8869
8876
|
"type" : "payment_processor_transaction_details_card",
|
|
8870
8877
|
"attributes" : [ ],
|
|
8871
8878
|
"discriminator_value" : "card"
|
|
8879
|
+
}, {
|
|
8880
|
+
"type" : "payment_processor_transaction_details_apm",
|
|
8881
|
+
"attributes" : [ ],
|
|
8882
|
+
"discriminator_value" : "apm"
|
|
8872
8883
|
} ],
|
|
8873
8884
|
"attributes" : [ ],
|
|
8874
8885
|
"interfaces" : [ "payment_processor_transaction_details" ],
|
|
8875
8886
|
"discriminator" : "discriminator"
|
|
8887
|
+
}, {
|
|
8888
|
+
"name" : "payment_request_cancellation_reason",
|
|
8889
|
+
"plural" : "payment_request_cancellation_reasons",
|
|
8890
|
+
"types" : [ {
|
|
8891
|
+
"type" : "payment_request_cancellation_reason_order_missing",
|
|
8892
|
+
"attributes" : [ ],
|
|
8893
|
+
"description" : "The order number is missing.",
|
|
8894
|
+
"discriminator_value" : "order_missing"
|
|
8895
|
+
} ],
|
|
8896
|
+
"attributes" : [ ],
|
|
8897
|
+
"interfaces" : [ ],
|
|
8898
|
+
"discriminator" : "type"
|
|
8876
8899
|
}, {
|
|
8877
8900
|
"name" : "payment_source",
|
|
8878
8901
|
"plural" : "payment_sources",
|
|
@@ -39082,6 +39105,48 @@
|
|
|
39082
39105
|
} ],
|
|
39083
39106
|
"attributes" : [ ],
|
|
39084
39107
|
"interfaces" : [ ]
|
|
39108
|
+
}, {
|
|
39109
|
+
"name" : "payment_processor_transaction_details_apm",
|
|
39110
|
+
"plural" : "payment_processor_transaction_details_apms",
|
|
39111
|
+
"fields" : [ {
|
|
39112
|
+
"name" : "transaction_identifier",
|
|
39113
|
+
"type" : "string",
|
|
39114
|
+
"required" : false,
|
|
39115
|
+
"attributes" : [ ],
|
|
39116
|
+
"annotations" : [ ],
|
|
39117
|
+
"description" : "The most specific PSP identifier for an authorization attempt / result"
|
|
39118
|
+
}, {
|
|
39119
|
+
"name" : "capture_identifier",
|
|
39120
|
+
"type" : "string",
|
|
39121
|
+
"required" : false,
|
|
39122
|
+
"attributes" : [ ],
|
|
39123
|
+
"annotations" : [ ],
|
|
39124
|
+
"description" : "The most specific PSP identifier for a capture. This will be populated if there is automatic capture in most cases. For Stripe this must be a charge id (starts with py_)"
|
|
39125
|
+
}, {
|
|
39126
|
+
"name" : "method_type",
|
|
39127
|
+
"type" : "string",
|
|
39128
|
+
"required" : false,
|
|
39129
|
+
"attributes" : [ ],
|
|
39130
|
+
"annotations" : [ ],
|
|
39131
|
+
"description" : "The PSP's identification of the payment method subtype, e.g. klarna"
|
|
39132
|
+
}, {
|
|
39133
|
+
"name" : "result_status",
|
|
39134
|
+
"type" : "string",
|
|
39135
|
+
"required" : false,
|
|
39136
|
+
"attributes" : [ ],
|
|
39137
|
+
"annotations" : [ ],
|
|
39138
|
+
"description" : "The transaction's raw result status"
|
|
39139
|
+
}, {
|
|
39140
|
+
"name" : "reason_code",
|
|
39141
|
+
"type" : "string",
|
|
39142
|
+
"required" : false,
|
|
39143
|
+
"attributes" : [ ],
|
|
39144
|
+
"annotations" : [ ],
|
|
39145
|
+
"description" : "The transaction's raw reason code"
|
|
39146
|
+
} ],
|
|
39147
|
+
"attributes" : [ ],
|
|
39148
|
+
"interfaces" : [ "payment_processor_transaction_details" ],
|
|
39149
|
+
"description" : "Data elements gathered from the PSP's authorization messages. Format will differ by PSP."
|
|
39085
39150
|
}, {
|
|
39086
39151
|
"name" : "payment_processor_transaction_details_card",
|
|
39087
39152
|
"plural" : "payment_processor_transaction_details_cards",
|
|
@@ -39528,6 +39593,19 @@
|
|
|
39528
39593
|
} ],
|
|
39529
39594
|
"attributes" : [ ],
|
|
39530
39595
|
"interfaces" : [ ]
|
|
39596
|
+
}, {
|
|
39597
|
+
"name" : "payment_request_cancellation_reason_order_missing",
|
|
39598
|
+
"plural" : "payment_request_cancellation_reason_order_missings",
|
|
39599
|
+
"fields" : [ {
|
|
39600
|
+
"name" : "description",
|
|
39601
|
+
"type" : "string",
|
|
39602
|
+
"required" : false,
|
|
39603
|
+
"attributes" : [ ],
|
|
39604
|
+
"annotations" : [ ],
|
|
39605
|
+
"description" : "Additional provided information about why this payment request was cancelled."
|
|
39606
|
+
} ],
|
|
39607
|
+
"attributes" : [ ],
|
|
39608
|
+
"interfaces" : [ ]
|
|
39531
39609
|
}, {
|
|
39532
39610
|
"name" : "payment_request_deleted",
|
|
39533
39611
|
"plural" : "payment_request_deleteds",
|
|
@@ -40151,6 +40229,13 @@
|
|
|
40151
40229
|
"annotations" : [ ],
|
|
40152
40230
|
"description" : "The payment ID in PayPal.",
|
|
40153
40231
|
"example" : "PAY-lkj23lk4j23l42341123"
|
|
40232
|
+
}, {
|
|
40233
|
+
"name" : "internal_payment_id",
|
|
40234
|
+
"type" : "string",
|
|
40235
|
+
"required" : false,
|
|
40236
|
+
"attributes" : [ ],
|
|
40237
|
+
"annotations" : [ ],
|
|
40238
|
+
"description" : "Internal payment ID (pmt-xxx)"
|
|
40154
40239
|
}, {
|
|
40155
40240
|
"name" : "payment_method",
|
|
40156
40241
|
"type" : "string",
|
|
@@ -44849,6 +44934,24 @@
|
|
|
44849
44934
|
} ],
|
|
44850
44935
|
"attributes" : [ ],
|
|
44851
44936
|
"interfaces" : [ ]
|
|
44937
|
+
}, {
|
|
44938
|
+
"name" : "rejection_put_form",
|
|
44939
|
+
"plural" : "rejection_put_forms",
|
|
44940
|
+
"fields" : [ {
|
|
44941
|
+
"name" : "reason",
|
|
44942
|
+
"type" : "merchant_rejected_reason",
|
|
44943
|
+
"required" : true,
|
|
44944
|
+
"attributes" : [ ],
|
|
44945
|
+
"annotations" : [ ]
|
|
44946
|
+
}, {
|
|
44947
|
+
"name" : "description",
|
|
44948
|
+
"type" : "string",
|
|
44949
|
+
"required" : true,
|
|
44950
|
+
"attributes" : [ ],
|
|
44951
|
+
"annotations" : [ ]
|
|
44952
|
+
} ],
|
|
44953
|
+
"attributes" : [ ],
|
|
44954
|
+
"interfaces" : [ ]
|
|
44852
44955
|
}, {
|
|
44853
44956
|
"name" : "remote_area_by_weight_service_fee",
|
|
44854
44957
|
"plural" : "remote_area_by_weight_service_fees",
|
|
@@ -53599,7 +53702,7 @@
|
|
|
53599
53702
|
"annotations" : [ ]
|
|
53600
53703
|
}, {
|
|
53601
53704
|
"name" : "organization_transaction",
|
|
53602
|
-
"type" : "
|
|
53705
|
+
"type" : "transaction_metadata_channel_organization_transaction",
|
|
53603
53706
|
"required" : true,
|
|
53604
53707
|
"attributes" : [ ],
|
|
53605
53708
|
"annotations" : [ ]
|
|
@@ -53642,6 +53745,25 @@
|
|
|
53642
53745
|
} ],
|
|
53643
53746
|
"attributes" : [ ],
|
|
53644
53747
|
"interfaces" : [ ]
|
|
53748
|
+
}, {
|
|
53749
|
+
"name" : "transaction_metadata_channel_organization_transaction",
|
|
53750
|
+
"plural" : "transaction_metadata_channel_organization_transactions",
|
|
53751
|
+
"fields" : [ {
|
|
53752
|
+
"name" : "id",
|
|
53753
|
+
"type" : "string",
|
|
53754
|
+
"required" : true,
|
|
53755
|
+
"attributes" : [ ],
|
|
53756
|
+
"annotations" : [ ],
|
|
53757
|
+
"description" : "Globally unique identifier"
|
|
53758
|
+
}, {
|
|
53759
|
+
"name" : "metadata",
|
|
53760
|
+
"type" : "transaction_metadata_payment_transaction",
|
|
53761
|
+
"required" : true,
|
|
53762
|
+
"attributes" : [ ],
|
|
53763
|
+
"annotations" : [ ]
|
|
53764
|
+
} ],
|
|
53765
|
+
"attributes" : [ ],
|
|
53766
|
+
"interfaces" : [ ]
|
|
53645
53767
|
}, {
|
|
53646
53768
|
"name" : "transaction_metadata_failed_payout",
|
|
53647
53769
|
"plural" : "transaction_metadata_failed_payouts",
|
|
@@ -91870,6 +91992,63 @@
|
|
|
91870
91992
|
"type" : "deactivation_put_form",
|
|
91871
91993
|
"attributes" : [ ]
|
|
91872
91994
|
}
|
|
91995
|
+
}, {
|
|
91996
|
+
"method" : "PUT",
|
|
91997
|
+
"path" : "/channel/:channel/organization/:organization/reject",
|
|
91998
|
+
"parameters" : [ {
|
|
91999
|
+
"name" : "channel",
|
|
92000
|
+
"type" : "string",
|
|
92001
|
+
"location" : "Path",
|
|
92002
|
+
"required" : true
|
|
92003
|
+
}, {
|
|
92004
|
+
"name" : "organization",
|
|
92005
|
+
"type" : "string",
|
|
92006
|
+
"location" : "Path",
|
|
92007
|
+
"required" : true,
|
|
92008
|
+
"description" : "Refers to your organization's account identifier"
|
|
92009
|
+
} ],
|
|
92010
|
+
"responses" : [ {
|
|
92011
|
+
"code" : {
|
|
92012
|
+
"integer" : {
|
|
92013
|
+
"value" : 201
|
|
92014
|
+
}
|
|
92015
|
+
},
|
|
92016
|
+
"type" : "organization_onboarding_state",
|
|
92017
|
+
"description" : "Operation succeeded and the resource was created",
|
|
92018
|
+
"attributes" : [ ]
|
|
92019
|
+
}, {
|
|
92020
|
+
"code" : {
|
|
92021
|
+
"integer" : {
|
|
92022
|
+
"value" : 401
|
|
92023
|
+
}
|
|
92024
|
+
},
|
|
92025
|
+
"type" : "unit",
|
|
92026
|
+
"description" : "Authorization failed",
|
|
92027
|
+
"attributes" : [ ]
|
|
92028
|
+
}, {
|
|
92029
|
+
"code" : {
|
|
92030
|
+
"integer" : {
|
|
92031
|
+
"value" : 404
|
|
92032
|
+
}
|
|
92033
|
+
},
|
|
92034
|
+
"type" : "unit",
|
|
92035
|
+
"description" : "Resource was not found",
|
|
92036
|
+
"attributes" : [ ]
|
|
92037
|
+
}, {
|
|
92038
|
+
"code" : {
|
|
92039
|
+
"integer" : {
|
|
92040
|
+
"value" : 422
|
|
92041
|
+
}
|
|
92042
|
+
},
|
|
92043
|
+
"type" : "generic_error",
|
|
92044
|
+
"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.",
|
|
92045
|
+
"attributes" : [ ]
|
|
92046
|
+
} ],
|
|
92047
|
+
"attributes" : [ ],
|
|
92048
|
+
"body" : {
|
|
92049
|
+
"type" : "rejection_put_form",
|
|
92050
|
+
"attributes" : [ ]
|
|
92051
|
+
}
|
|
91873
92052
|
}, {
|
|
91874
92053
|
"method" : "GET",
|
|
91875
92054
|
"path" : "/:organization/onboarding/state",
|
|
@@ -92022,6 +92201,58 @@
|
|
|
92022
92201
|
"type" : "deactivation_put_form",
|
|
92023
92202
|
"attributes" : [ ]
|
|
92024
92203
|
}
|
|
92204
|
+
}, {
|
|
92205
|
+
"method" : "PUT",
|
|
92206
|
+
"path" : "/:organization/onboarding/state/reject",
|
|
92207
|
+
"parameters" : [ {
|
|
92208
|
+
"name" : "organization",
|
|
92209
|
+
"type" : "string",
|
|
92210
|
+
"location" : "Path",
|
|
92211
|
+
"required" : true,
|
|
92212
|
+
"description" : "Refers to your organization's account identifier"
|
|
92213
|
+
} ],
|
|
92214
|
+
"responses" : [ {
|
|
92215
|
+
"code" : {
|
|
92216
|
+
"integer" : {
|
|
92217
|
+
"value" : 201
|
|
92218
|
+
}
|
|
92219
|
+
},
|
|
92220
|
+
"type" : "organization_onboarding_state",
|
|
92221
|
+
"description" : "Operation succeeded and the resource was created",
|
|
92222
|
+
"attributes" : [ ]
|
|
92223
|
+
}, {
|
|
92224
|
+
"code" : {
|
|
92225
|
+
"integer" : {
|
|
92226
|
+
"value" : 401
|
|
92227
|
+
}
|
|
92228
|
+
},
|
|
92229
|
+
"type" : "unit",
|
|
92230
|
+
"description" : "Authorization failed",
|
|
92231
|
+
"attributes" : [ ]
|
|
92232
|
+
}, {
|
|
92233
|
+
"code" : {
|
|
92234
|
+
"integer" : {
|
|
92235
|
+
"value" : 404
|
|
92236
|
+
}
|
|
92237
|
+
},
|
|
92238
|
+
"type" : "unit",
|
|
92239
|
+
"description" : "Resource was not found",
|
|
92240
|
+
"attributes" : [ ]
|
|
92241
|
+
}, {
|
|
92242
|
+
"code" : {
|
|
92243
|
+
"integer" : {
|
|
92244
|
+
"value" : 422
|
|
92245
|
+
}
|
|
92246
|
+
},
|
|
92247
|
+
"type" : "generic_error",
|
|
92248
|
+
"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.",
|
|
92249
|
+
"attributes" : [ ]
|
|
92250
|
+
} ],
|
|
92251
|
+
"attributes" : [ ],
|
|
92252
|
+
"body" : {
|
|
92253
|
+
"type" : "rejection_put_form",
|
|
92254
|
+
"attributes" : [ ]
|
|
92255
|
+
}
|
|
92025
92256
|
} ],
|
|
92026
92257
|
"attributes" : [ {
|
|
92027
92258
|
"name" : "docs",
|
|
@@ -93193,6 +93424,65 @@
|
|
|
93193
93424
|
"type" : "payment_request_form",
|
|
93194
93425
|
"attributes" : [ ]
|
|
93195
93426
|
}
|
|
93427
|
+
}, {
|
|
93428
|
+
"method" : "POST",
|
|
93429
|
+
"path" : "/:organization/payment/requests/:id/cancel",
|
|
93430
|
+
"parameters" : [ {
|
|
93431
|
+
"name" : "organization",
|
|
93432
|
+
"type" : "string",
|
|
93433
|
+
"location" : "Path",
|
|
93434
|
+
"required" : true,
|
|
93435
|
+
"description" : "Refers to your organization's account identifier"
|
|
93436
|
+
}, {
|
|
93437
|
+
"name" : "id",
|
|
93438
|
+
"type" : "string",
|
|
93439
|
+
"location" : "Path",
|
|
93440
|
+
"required" : true,
|
|
93441
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
93442
|
+
} ],
|
|
93443
|
+
"responses" : [ {
|
|
93444
|
+
"code" : {
|
|
93445
|
+
"integer" : {
|
|
93446
|
+
"value" : 200
|
|
93447
|
+
}
|
|
93448
|
+
},
|
|
93449
|
+
"type" : "payment_request",
|
|
93450
|
+
"description" : "Successful response",
|
|
93451
|
+
"attributes" : [ ]
|
|
93452
|
+
}, {
|
|
93453
|
+
"code" : {
|
|
93454
|
+
"integer" : {
|
|
93455
|
+
"value" : 401
|
|
93456
|
+
}
|
|
93457
|
+
},
|
|
93458
|
+
"type" : "unit",
|
|
93459
|
+
"description" : "Authorization failed",
|
|
93460
|
+
"attributes" : [ ]
|
|
93461
|
+
}, {
|
|
93462
|
+
"code" : {
|
|
93463
|
+
"integer" : {
|
|
93464
|
+
"value" : 404
|
|
93465
|
+
}
|
|
93466
|
+
},
|
|
93467
|
+
"type" : "unit",
|
|
93468
|
+
"description" : "Resource was not found",
|
|
93469
|
+
"attributes" : [ ]
|
|
93470
|
+
}, {
|
|
93471
|
+
"code" : {
|
|
93472
|
+
"integer" : {
|
|
93473
|
+
"value" : 422
|
|
93474
|
+
}
|
|
93475
|
+
},
|
|
93476
|
+
"type" : "generic_error",
|
|
93477
|
+
"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.",
|
|
93478
|
+
"attributes" : [ ]
|
|
93479
|
+
} ],
|
|
93480
|
+
"attributes" : [ ],
|
|
93481
|
+
"description" : "Cancels the payment request.",
|
|
93482
|
+
"body" : {
|
|
93483
|
+
"type" : "payment_request_cancellation_reason",
|
|
93484
|
+
"attributes" : [ ]
|
|
93485
|
+
}
|
|
93196
93486
|
}, {
|
|
93197
93487
|
"method" : "POST",
|
|
93198
93488
|
"path" : "/:organization/payment/requests/:id/capture",
|