@flowio/api-mock-generator 6.17.60 → 6.17.62
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 +67 -5
- package/package.json +2 -2
- package/src/api.json +67 -5
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.86",
|
|
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.37",
|
|
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.37",
|
|
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.37",
|
|
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": [],
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"application": {
|
|
77
77
|
"key": "ben-test-internal"
|
|
78
78
|
},
|
|
79
|
-
"version": "0.20.
|
|
79
|
+
"version": "0.20.43",
|
|
80
80
|
"enums": [],
|
|
81
81
|
"interfaces": ["generate_load"],
|
|
82
82
|
"unions": ["generate_load"],
|
|
@@ -53153,6 +53153,12 @@
|
|
|
53153
53153
|
"name": "transaction_metadata_manual",
|
|
53154
53154
|
"plural": "transaction_metadata_manuals",
|
|
53155
53155
|
"fields": [{
|
|
53156
|
+
"name": "description",
|
|
53157
|
+
"type": "string",
|
|
53158
|
+
"required": true,
|
|
53159
|
+
"attributes": [],
|
|
53160
|
+
"annotations": []
|
|
53161
|
+
}, {
|
|
53156
53162
|
"name": "original",
|
|
53157
53163
|
"type": "transaction_metadata_original_transaction",
|
|
53158
53164
|
"required": false,
|
|
@@ -80558,6 +80564,62 @@
|
|
|
80558
80564
|
}
|
|
80559
80565
|
}],
|
|
80560
80566
|
"path": "/:organization/marketing/abandoned/order/settings"
|
|
80567
|
+
}, {
|
|
80568
|
+
"type": "allocation_v2",
|
|
80569
|
+
"plural": "allocation_v2s",
|
|
80570
|
+
"operations": [{
|
|
80571
|
+
"method": "GET",
|
|
80572
|
+
"path": "/:organization/search/order/:number/allocations",
|
|
80573
|
+
"parameters": [{
|
|
80574
|
+
"name": "organization",
|
|
80575
|
+
"type": "string",
|
|
80576
|
+
"location": "Path",
|
|
80577
|
+
"required": true,
|
|
80578
|
+
"description": "Refers to your organization's account identifier"
|
|
80579
|
+
}, {
|
|
80580
|
+
"name": "number",
|
|
80581
|
+
"type": "string",
|
|
80582
|
+
"location": "Path",
|
|
80583
|
+
"required": true
|
|
80584
|
+
}],
|
|
80585
|
+
"responses": [{
|
|
80586
|
+
"code": {
|
|
80587
|
+
"integer": {
|
|
80588
|
+
"value": 200
|
|
80589
|
+
}
|
|
80590
|
+
},
|
|
80591
|
+
"type": "allocation_v2",
|
|
80592
|
+
"description": "Successful response",
|
|
80593
|
+
"attributes": []
|
|
80594
|
+
}, {
|
|
80595
|
+
"code": {
|
|
80596
|
+
"integer": {
|
|
80597
|
+
"value": 401
|
|
80598
|
+
}
|
|
80599
|
+
},
|
|
80600
|
+
"type": "unit",
|
|
80601
|
+
"description": "Authorization failed",
|
|
80602
|
+
"attributes": []
|
|
80603
|
+
}, {
|
|
80604
|
+
"code": {
|
|
80605
|
+
"integer": {
|
|
80606
|
+
"value": 404
|
|
80607
|
+
}
|
|
80608
|
+
},
|
|
80609
|
+
"type": "unit",
|
|
80610
|
+
"description": "Resource was not found",
|
|
80611
|
+
"attributes": []
|
|
80612
|
+
}],
|
|
80613
|
+
"attributes": [],
|
|
80614
|
+
"description": "Order allocations provide a granular view of an order that is targeted for accounting / financial views of an order"
|
|
80615
|
+
}],
|
|
80616
|
+
"attributes": [{
|
|
80617
|
+
"name": "docs",
|
|
80618
|
+
"value": {
|
|
80619
|
+
"module": "general"
|
|
80620
|
+
}
|
|
80621
|
+
}],
|
|
80622
|
+
"path": "/:organization/search/order/:number/allocations"
|
|
80561
80623
|
}, {
|
|
80562
80624
|
"type": "b2b_credit_memo",
|
|
80563
80625
|
"plural": "b2b_credit_memos",
|
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.62",
|
|
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": "4b5d69bf9ba5f404b7b1c8f07d256db3c25210d9"
|
|
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.86",
|
|
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.37",
|
|
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.37",
|
|
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.37",
|
|
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" : [ ],
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"application" : {
|
|
77
77
|
"key" : "ben-test-internal"
|
|
78
78
|
},
|
|
79
|
-
"version" : "0.20.
|
|
79
|
+
"version" : "0.20.43",
|
|
80
80
|
"enums" : [ ],
|
|
81
81
|
"interfaces" : [ "generate_load" ],
|
|
82
82
|
"unions" : [ "generate_load" ],
|
|
@@ -53153,6 +53153,12 @@
|
|
|
53153
53153
|
"name" : "transaction_metadata_manual",
|
|
53154
53154
|
"plural" : "transaction_metadata_manuals",
|
|
53155
53155
|
"fields" : [ {
|
|
53156
|
+
"name" : "description",
|
|
53157
|
+
"type" : "string",
|
|
53158
|
+
"required" : true,
|
|
53159
|
+
"attributes" : [ ],
|
|
53160
|
+
"annotations" : [ ]
|
|
53161
|
+
}, {
|
|
53156
53162
|
"name" : "original",
|
|
53157
53163
|
"type" : "transaction_metadata_original_transaction",
|
|
53158
53164
|
"required" : false,
|
|
@@ -80558,6 +80564,62 @@
|
|
|
80558
80564
|
}
|
|
80559
80565
|
} ],
|
|
80560
80566
|
"path" : "/:organization/marketing/abandoned/order/settings"
|
|
80567
|
+
}, {
|
|
80568
|
+
"type" : "allocation_v2",
|
|
80569
|
+
"plural" : "allocation_v2s",
|
|
80570
|
+
"operations" : [ {
|
|
80571
|
+
"method" : "GET",
|
|
80572
|
+
"path" : "/:organization/search/order/:number/allocations",
|
|
80573
|
+
"parameters" : [ {
|
|
80574
|
+
"name" : "organization",
|
|
80575
|
+
"type" : "string",
|
|
80576
|
+
"location" : "Path",
|
|
80577
|
+
"required" : true,
|
|
80578
|
+
"description" : "Refers to your organization's account identifier"
|
|
80579
|
+
}, {
|
|
80580
|
+
"name" : "number",
|
|
80581
|
+
"type" : "string",
|
|
80582
|
+
"location" : "Path",
|
|
80583
|
+
"required" : true
|
|
80584
|
+
} ],
|
|
80585
|
+
"responses" : [ {
|
|
80586
|
+
"code" : {
|
|
80587
|
+
"integer" : {
|
|
80588
|
+
"value" : 200
|
|
80589
|
+
}
|
|
80590
|
+
},
|
|
80591
|
+
"type" : "allocation_v2",
|
|
80592
|
+
"description" : "Successful response",
|
|
80593
|
+
"attributes" : [ ]
|
|
80594
|
+
}, {
|
|
80595
|
+
"code" : {
|
|
80596
|
+
"integer" : {
|
|
80597
|
+
"value" : 401
|
|
80598
|
+
}
|
|
80599
|
+
},
|
|
80600
|
+
"type" : "unit",
|
|
80601
|
+
"description" : "Authorization failed",
|
|
80602
|
+
"attributes" : [ ]
|
|
80603
|
+
}, {
|
|
80604
|
+
"code" : {
|
|
80605
|
+
"integer" : {
|
|
80606
|
+
"value" : 404
|
|
80607
|
+
}
|
|
80608
|
+
},
|
|
80609
|
+
"type" : "unit",
|
|
80610
|
+
"description" : "Resource was not found",
|
|
80611
|
+
"attributes" : [ ]
|
|
80612
|
+
} ],
|
|
80613
|
+
"attributes" : [ ],
|
|
80614
|
+
"description" : "Order allocations provide a granular view of an order that is targeted for accounting / financial views of an order"
|
|
80615
|
+
} ],
|
|
80616
|
+
"attributes" : [ {
|
|
80617
|
+
"name" : "docs",
|
|
80618
|
+
"value" : {
|
|
80619
|
+
"module" : "general"
|
|
80620
|
+
}
|
|
80621
|
+
} ],
|
|
80622
|
+
"path" : "/:organization/search/order/:number/allocations"
|
|
80561
80623
|
}, {
|
|
80562
80624
|
"type" : "b2b_credit_memo",
|
|
80563
80625
|
"plural" : "b2b_credit_memos",
|