@flowio/api-mock-generator 6.17.44 → 6.17.46
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 +29 -8
- package/package.json +2 -2
- package/src/api.json +29 -8
package/dist/api.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"key": "api"
|
|
11
11
|
},
|
|
12
12
|
"namespace": "io.flow.v0",
|
|
13
|
-
"version": "0.17.
|
|
13
|
+
"version": "0.17.20",
|
|
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.11",
|
|
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.11",
|
|
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.11",
|
|
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_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit"],
|
|
66
66
|
"interfaces": [],
|
|
67
67
|
"unions": [],
|
|
@@ -5849,7 +5849,7 @@
|
|
|
5849
5849
|
"required": false,
|
|
5850
5850
|
"attributes": [],
|
|
5851
5851
|
"annotations": [],
|
|
5852
|
-
"description": "The bank account to which we sent this payout if known"
|
|
5852
|
+
"description": "The bank account to which we sent this payout if known. This generally becomes available once a payment is 'sent'"
|
|
5853
5853
|
}, {
|
|
5854
5854
|
"name": "amount",
|
|
5855
5855
|
"type": "decimal",
|
|
@@ -15081,7 +15081,7 @@
|
|
|
15081
15081
|
"required": false,
|
|
15082
15082
|
"attributes": [],
|
|
15083
15083
|
"annotations": [],
|
|
15084
|
-
"description": "The bank account to which we sent this payout if known"
|
|
15084
|
+
"description": "The bank account to which we sent this payout if known. This generally becomes available once a payment is 'sent'"
|
|
15085
15085
|
}, {
|
|
15086
15086
|
"name": "amount",
|
|
15087
15087
|
"type": "decimal",
|
|
@@ -34364,7 +34364,7 @@
|
|
|
34364
34364
|
"required": false,
|
|
34365
34365
|
"attributes": [],
|
|
34366
34366
|
"annotations": [],
|
|
34367
|
-
"description": "The bank account to which we sent this payout if known"
|
|
34367
|
+
"description": "The bank account to which we sent this payout if known. This generally becomes available once a payment is 'sent'"
|
|
34368
34368
|
}, {
|
|
34369
34369
|
"name": "amount",
|
|
34370
34370
|
"type": "decimal",
|
|
@@ -36106,6 +36106,27 @@
|
|
|
36106
36106
|
"attributes": [],
|
|
36107
36107
|
"interfaces": [],
|
|
36108
36108
|
"description": "Represents a single payment method - e.g VISA or Paypal - and any associated metadata required for processing"
|
|
36109
|
+
}, {
|
|
36110
|
+
"name": "payment_method_action_cancellation",
|
|
36111
|
+
"plural": "payment_method_action_cancellations",
|
|
36112
|
+
"fields": [{
|
|
36113
|
+
"name": "reason_code",
|
|
36114
|
+
"type": "payment_failure_code",
|
|
36115
|
+
"required": false,
|
|
36116
|
+
"attributes": [],
|
|
36117
|
+
"annotations": [],
|
|
36118
|
+
"description": "The failure code that best describes the reason why the action is being cancelled if any."
|
|
36119
|
+
}, {
|
|
36120
|
+
"name": "data",
|
|
36121
|
+
"type": "object",
|
|
36122
|
+
"required": false,
|
|
36123
|
+
"attributes": [],
|
|
36124
|
+
"annotations": [],
|
|
36125
|
+
"description": "Detailed information about the cancellation. Particularly useful for passing error objects from the UI."
|
|
36126
|
+
}],
|
|
36127
|
+
"attributes": [],
|
|
36128
|
+
"interfaces": [],
|
|
36129
|
+
"description": "A request to cancel an outstanding action for a payment request, marking the associated authorization as `declined` and the payment request as `requires_payment_method`. By default, it will cancel the 'active' authorization if any. If the authorization has already been finalized, no update will be performed."
|
|
36109
36130
|
}, {
|
|
36110
36131
|
"name": "payment_method_brand",
|
|
36111
36132
|
"plural": "payment_method_brands",
|
|
@@ -45753,7 +45774,7 @@
|
|
|
45753
45774
|
}, {
|
|
45754
45775
|
"name": "updated_at",
|
|
45755
45776
|
"type": "date-time-iso8601",
|
|
45756
|
-
"required":
|
|
45777
|
+
"required": false,
|
|
45757
45778
|
"attributes": [],
|
|
45758
45779
|
"annotations": []
|
|
45759
45780
|
}],
|
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.46",
|
|
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": "e08e41ebd2785d2da64def7ae4c51b3d0d00ff2c"
|
|
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.17.
|
|
13
|
+
"version" : "0.17.20",
|
|
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.11",
|
|
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.11",
|
|
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.11",
|
|
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_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit" ],
|
|
66
66
|
"interfaces" : [ ],
|
|
67
67
|
"unions" : [ ],
|
|
@@ -5849,7 +5849,7 @@
|
|
|
5849
5849
|
"required" : false,
|
|
5850
5850
|
"attributes" : [ ],
|
|
5851
5851
|
"annotations" : [ ],
|
|
5852
|
-
"description" : "The bank account to which we sent this payout if known"
|
|
5852
|
+
"description" : "The bank account to which we sent this payout if known. This generally becomes available once a payment is 'sent'"
|
|
5853
5853
|
}, {
|
|
5854
5854
|
"name" : "amount",
|
|
5855
5855
|
"type" : "decimal",
|
|
@@ -15081,7 +15081,7 @@
|
|
|
15081
15081
|
"required" : false,
|
|
15082
15082
|
"attributes" : [ ],
|
|
15083
15083
|
"annotations" : [ ],
|
|
15084
|
-
"description" : "The bank account to which we sent this payout if known"
|
|
15084
|
+
"description" : "The bank account to which we sent this payout if known. This generally becomes available once a payment is 'sent'"
|
|
15085
15085
|
}, {
|
|
15086
15086
|
"name" : "amount",
|
|
15087
15087
|
"type" : "decimal",
|
|
@@ -34364,7 +34364,7 @@
|
|
|
34364
34364
|
"required" : false,
|
|
34365
34365
|
"attributes" : [ ],
|
|
34366
34366
|
"annotations" : [ ],
|
|
34367
|
-
"description" : "The bank account to which we sent this payout if known"
|
|
34367
|
+
"description" : "The bank account to which we sent this payout if known. This generally becomes available once a payment is 'sent'"
|
|
34368
34368
|
}, {
|
|
34369
34369
|
"name" : "amount",
|
|
34370
34370
|
"type" : "decimal",
|
|
@@ -36106,6 +36106,27 @@
|
|
|
36106
36106
|
"attributes" : [ ],
|
|
36107
36107
|
"interfaces" : [ ],
|
|
36108
36108
|
"description" : "Represents a single payment method - e.g VISA or Paypal - and any associated metadata required for processing"
|
|
36109
|
+
}, {
|
|
36110
|
+
"name" : "payment_method_action_cancellation",
|
|
36111
|
+
"plural" : "payment_method_action_cancellations",
|
|
36112
|
+
"fields" : [ {
|
|
36113
|
+
"name" : "reason_code",
|
|
36114
|
+
"type" : "payment_failure_code",
|
|
36115
|
+
"required" : false,
|
|
36116
|
+
"attributes" : [ ],
|
|
36117
|
+
"annotations" : [ ],
|
|
36118
|
+
"description" : "The failure code that best describes the reason why the action is being cancelled if any."
|
|
36119
|
+
}, {
|
|
36120
|
+
"name" : "data",
|
|
36121
|
+
"type" : "object",
|
|
36122
|
+
"required" : false,
|
|
36123
|
+
"attributes" : [ ],
|
|
36124
|
+
"annotations" : [ ],
|
|
36125
|
+
"description" : "Detailed information about the cancellation. Particularly useful for passing error objects from the UI."
|
|
36126
|
+
} ],
|
|
36127
|
+
"attributes" : [ ],
|
|
36128
|
+
"interfaces" : [ ],
|
|
36129
|
+
"description" : "A request to cancel an outstanding action for a payment request, marking the associated authorization as `declined` and the payment request as `requires_payment_method`. By default, it will cancel the 'active' authorization if any. If the authorization has already been finalized, no update will be performed."
|
|
36109
36130
|
}, {
|
|
36110
36131
|
"name" : "payment_method_brand",
|
|
36111
36132
|
"plural" : "payment_method_brands",
|
|
@@ -45753,7 +45774,7 @@
|
|
|
45753
45774
|
}, {
|
|
45754
45775
|
"name" : "updated_at",
|
|
45755
45776
|
"type" : "date-time-iso8601",
|
|
45756
|
-
"required" :
|
|
45777
|
+
"required" : false,
|
|
45757
45778
|
"attributes" : [ ],
|
|
45758
45779
|
"annotations" : [ ]
|
|
45759
45780
|
} ],
|