@flowio/api-mock-generator 6.17.67 → 6.17.69
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 +72 -8
- package/package.json +2 -2
- package/src/api.json +72 -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.
|
|
13
|
+
"version": "0.18.5",
|
|
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.45",
|
|
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.45",
|
|
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.45",
|
|
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,11 +76,11 @@
|
|
|
76
76
|
"application": {
|
|
77
77
|
"key": "ben-test-internal"
|
|
78
78
|
},
|
|
79
|
-
"version": "0.
|
|
79
|
+
"version": "0.21.32",
|
|
80
80
|
"enums": [],
|
|
81
81
|
"interfaces": ["generate_load"],
|
|
82
82
|
"unions": ["generate_load"],
|
|
83
|
-
"models": ["generate_load_multiple_orgs", "generate_load_single_org", "test", "test_form"],
|
|
83
|
+
"models": ["generate_load_multiple_orgs", "generate_load_single_org", "svitlana_test", "test", "test_form"],
|
|
84
84
|
"annotations": []
|
|
85
85
|
}],
|
|
86
86
|
"enums": [{
|
|
@@ -1970,6 +1970,9 @@
|
|
|
1970
1970
|
}, {
|
|
1971
1971
|
"name": "transfer",
|
|
1972
1972
|
"attributes": []
|
|
1973
|
+
}, {
|
|
1974
|
+
"name": "negative_balance_guarantee",
|
|
1975
|
+
"attributes": []
|
|
1973
1976
|
}],
|
|
1974
1977
|
"attributes": []
|
|
1975
1978
|
}, {
|
|
@@ -2479,6 +2482,10 @@
|
|
|
2479
2482
|
"name": "notification_requiring_crossdock",
|
|
2480
2483
|
"attributes": [],
|
|
2481
2484
|
"description": "Label was provided by an external logistics provider going to a crossdock"
|
|
2485
|
+
}, {
|
|
2486
|
+
"name": "flow_simulation_sync",
|
|
2487
|
+
"attributes": [],
|
|
2488
|
+
"description": "Label request from Console to simulate a label validation"
|
|
2482
2489
|
}, {
|
|
2483
2490
|
"name": "autogenerated",
|
|
2484
2491
|
"attributes": [],
|
|
@@ -3111,6 +3118,10 @@
|
|
|
3111
3118
|
"name": "duties_taxes_paid_surcharge",
|
|
3112
3119
|
"attributes": [],
|
|
3113
3120
|
"description": "Surcharge applied per shipment for all shipment that are sent DDP"
|
|
3121
|
+
}, {
|
|
3122
|
+
"name": "tip",
|
|
3123
|
+
"attributes": [],
|
|
3124
|
+
"description": "Tip information associated with an order"
|
|
3114
3125
|
}],
|
|
3115
3126
|
"attributes": []
|
|
3116
3127
|
}, {
|
|
@@ -3148,6 +3159,10 @@
|
|
|
3148
3159
|
"name": "surcharges",
|
|
3149
3160
|
"attributes": [],
|
|
3150
3161
|
"description": "Additional fees and levies applied to the order"
|
|
3162
|
+
}, {
|
|
3163
|
+
"name": "tip",
|
|
3164
|
+
"attributes": [],
|
|
3165
|
+
"description": "The details of tip associated with an order"
|
|
3151
3166
|
}],
|
|
3152
3167
|
"attributes": []
|
|
3153
3168
|
}, {
|
|
@@ -30070,6 +30085,13 @@
|
|
|
30070
30085
|
"attributes": [],
|
|
30071
30086
|
"annotations": [],
|
|
30072
30087
|
"minimum": 1
|
|
30088
|
+
}, {
|
|
30089
|
+
"name": "image",
|
|
30090
|
+
"type": "order_summary_image",
|
|
30091
|
+
"required": false,
|
|
30092
|
+
"attributes": [],
|
|
30093
|
+
"annotations": [],
|
|
30094
|
+
"description": "Provides the primary image to use in a line item"
|
|
30073
30095
|
}, {
|
|
30074
30096
|
"name": "center",
|
|
30075
30097
|
"type": "string",
|
|
@@ -42910,6 +42932,18 @@
|
|
|
42910
42932
|
"required": false,
|
|
42911
42933
|
"attributes": [],
|
|
42912
42934
|
"annotations": []
|
|
42935
|
+
}, {
|
|
42936
|
+
"name": "taxes_owed",
|
|
42937
|
+
"type": "money",
|
|
42938
|
+
"required": false,
|
|
42939
|
+
"attributes": [],
|
|
42940
|
+
"annotations": []
|
|
42941
|
+
}, {
|
|
42942
|
+
"name": "duties_owed",
|
|
42943
|
+
"type": "money",
|
|
42944
|
+
"required": false,
|
|
42945
|
+
"attributes": [],
|
|
42946
|
+
"annotations": []
|
|
42913
42947
|
}],
|
|
42914
42948
|
"attributes": [],
|
|
42915
42949
|
"interfaces": []
|
|
@@ -48115,7 +48149,7 @@
|
|
|
48115
48149
|
}, {
|
|
48116
48150
|
"name": "destination",
|
|
48117
48151
|
"type": "shipping_address",
|
|
48118
|
-
"required":
|
|
48152
|
+
"required": false,
|
|
48119
48153
|
"attributes": [],
|
|
48120
48154
|
"annotations": ["personal_data", "consumer"],
|
|
48121
48155
|
"description": "Destination contact information and structured address"
|
|
@@ -48129,7 +48163,7 @@
|
|
|
48129
48163
|
}, {
|
|
48130
48164
|
"name": "origin",
|
|
48131
48165
|
"type": "shipping_address",
|
|
48132
|
-
"required":
|
|
48166
|
+
"required": false,
|
|
48133
48167
|
"attributes": [],
|
|
48134
48168
|
"annotations": ["personal_data", "consumer"],
|
|
48135
48169
|
"description": "Origin contact information and structured address"
|
|
@@ -53451,6 +53485,12 @@
|
|
|
53451
53485
|
"required": true,
|
|
53452
53486
|
"attributes": [],
|
|
53453
53487
|
"annotations": []
|
|
53488
|
+
}, {
|
|
53489
|
+
"name": "label_created_at",
|
|
53490
|
+
"type": "date-time-iso8601",
|
|
53491
|
+
"required": true,
|
|
53492
|
+
"attributes": [],
|
|
53493
|
+
"annotations": []
|
|
53454
53494
|
}, {
|
|
53455
53495
|
"name": "carrier_id",
|
|
53456
53496
|
"type": "string",
|
|
@@ -53463,6 +53503,24 @@
|
|
|
53463
53503
|
"required": true,
|
|
53464
53504
|
"attributes": [],
|
|
53465
53505
|
"annotations": []
|
|
53506
|
+
}, {
|
|
53507
|
+
"name": "outbound",
|
|
53508
|
+
"type": "transaction_metadata_carrier_charge_outbound",
|
|
53509
|
+
"required": false,
|
|
53510
|
+
"attributes": [],
|
|
53511
|
+
"annotations": []
|
|
53512
|
+
}],
|
|
53513
|
+
"attributes": [],
|
|
53514
|
+
"interfaces": []
|
|
53515
|
+
}, {
|
|
53516
|
+
"name": "transaction_metadata_carrier_charge_outbound",
|
|
53517
|
+
"plural": "transaction_metadata_carrier_charge_outbounds",
|
|
53518
|
+
"fields": [{
|
|
53519
|
+
"name": "transaction_id",
|
|
53520
|
+
"type": "string",
|
|
53521
|
+
"required": true,
|
|
53522
|
+
"attributes": [],
|
|
53523
|
+
"annotations": []
|
|
53466
53524
|
}],
|
|
53467
53525
|
"attributes": [],
|
|
53468
53526
|
"interfaces": []
|
|
@@ -78962,6 +79020,12 @@
|
|
|
78962
79020
|
"location": "Query",
|
|
78963
79021
|
"required": false,
|
|
78964
79022
|
"description": "Filter to items created_at after the specified datetime."
|
|
79023
|
+
}, {
|
|
79024
|
+
"name": "event_discriminator",
|
|
79025
|
+
"type": "string",
|
|
79026
|
+
"location": "Query",
|
|
79027
|
+
"required": false,
|
|
79028
|
+
"description": "Filter by delivery event discriminator."
|
|
78965
79029
|
}, {
|
|
78966
79030
|
"name": "limit",
|
|
78967
79031
|
"type": "long",
|
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.69",
|
|
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": "4ae49474a1813e8aac634c65824b9b915a4b31d5"
|
|
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.
|
|
13
|
+
"version" : "0.18.5",
|
|
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.45",
|
|
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.45",
|
|
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.45",
|
|
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,11 +76,11 @@
|
|
|
76
76
|
"application" : {
|
|
77
77
|
"key" : "ben-test-internal"
|
|
78
78
|
},
|
|
79
|
-
"version" : "0.
|
|
79
|
+
"version" : "0.21.32",
|
|
80
80
|
"enums" : [ ],
|
|
81
81
|
"interfaces" : [ "generate_load" ],
|
|
82
82
|
"unions" : [ "generate_load" ],
|
|
83
|
-
"models" : [ "generate_load_multiple_orgs", "generate_load_single_org", "test", "test_form" ],
|
|
83
|
+
"models" : [ "generate_load_multiple_orgs", "generate_load_single_org", "svitlana_test", "test", "test_form" ],
|
|
84
84
|
"annotations" : [ ]
|
|
85
85
|
} ],
|
|
86
86
|
"enums" : [ {
|
|
@@ -1970,6 +1970,9 @@
|
|
|
1970
1970
|
}, {
|
|
1971
1971
|
"name" : "transfer",
|
|
1972
1972
|
"attributes" : [ ]
|
|
1973
|
+
}, {
|
|
1974
|
+
"name" : "negative_balance_guarantee",
|
|
1975
|
+
"attributes" : [ ]
|
|
1973
1976
|
} ],
|
|
1974
1977
|
"attributes" : [ ]
|
|
1975
1978
|
}, {
|
|
@@ -2479,6 +2482,10 @@
|
|
|
2479
2482
|
"name" : "notification_requiring_crossdock",
|
|
2480
2483
|
"attributes" : [ ],
|
|
2481
2484
|
"description" : "Label was provided by an external logistics provider going to a crossdock"
|
|
2485
|
+
}, {
|
|
2486
|
+
"name" : "flow_simulation_sync",
|
|
2487
|
+
"attributes" : [ ],
|
|
2488
|
+
"description" : "Label request from Console to simulate a label validation"
|
|
2482
2489
|
}, {
|
|
2483
2490
|
"name" : "autogenerated",
|
|
2484
2491
|
"attributes" : [ ],
|
|
@@ -3111,6 +3118,10 @@
|
|
|
3111
3118
|
"name" : "duties_taxes_paid_surcharge",
|
|
3112
3119
|
"attributes" : [ ],
|
|
3113
3120
|
"description" : "Surcharge applied per shipment for all shipment that are sent DDP"
|
|
3121
|
+
}, {
|
|
3122
|
+
"name" : "tip",
|
|
3123
|
+
"attributes" : [ ],
|
|
3124
|
+
"description" : "Tip information associated with an order"
|
|
3114
3125
|
} ],
|
|
3115
3126
|
"attributes" : [ ]
|
|
3116
3127
|
}, {
|
|
@@ -3148,6 +3159,10 @@
|
|
|
3148
3159
|
"name" : "surcharges",
|
|
3149
3160
|
"attributes" : [ ],
|
|
3150
3161
|
"description" : "Additional fees and levies applied to the order"
|
|
3162
|
+
}, {
|
|
3163
|
+
"name" : "tip",
|
|
3164
|
+
"attributes" : [ ],
|
|
3165
|
+
"description" : "The details of tip associated with an order"
|
|
3151
3166
|
} ],
|
|
3152
3167
|
"attributes" : [ ]
|
|
3153
3168
|
}, {
|
|
@@ -30070,6 +30085,13 @@
|
|
|
30070
30085
|
"attributes" : [ ],
|
|
30071
30086
|
"annotations" : [ ],
|
|
30072
30087
|
"minimum" : 1
|
|
30088
|
+
}, {
|
|
30089
|
+
"name" : "image",
|
|
30090
|
+
"type" : "order_summary_image",
|
|
30091
|
+
"required" : false,
|
|
30092
|
+
"attributes" : [ ],
|
|
30093
|
+
"annotations" : [ ],
|
|
30094
|
+
"description" : "Provides the primary image to use in a line item"
|
|
30073
30095
|
}, {
|
|
30074
30096
|
"name" : "center",
|
|
30075
30097
|
"type" : "string",
|
|
@@ -42910,6 +42932,18 @@
|
|
|
42910
42932
|
"required" : false,
|
|
42911
42933
|
"attributes" : [ ],
|
|
42912
42934
|
"annotations" : [ ]
|
|
42935
|
+
}, {
|
|
42936
|
+
"name" : "taxes_owed",
|
|
42937
|
+
"type" : "money",
|
|
42938
|
+
"required" : false,
|
|
42939
|
+
"attributes" : [ ],
|
|
42940
|
+
"annotations" : [ ]
|
|
42941
|
+
}, {
|
|
42942
|
+
"name" : "duties_owed",
|
|
42943
|
+
"type" : "money",
|
|
42944
|
+
"required" : false,
|
|
42945
|
+
"attributes" : [ ],
|
|
42946
|
+
"annotations" : [ ]
|
|
42913
42947
|
} ],
|
|
42914
42948
|
"attributes" : [ ],
|
|
42915
42949
|
"interfaces" : [ ]
|
|
@@ -48115,7 +48149,7 @@
|
|
|
48115
48149
|
}, {
|
|
48116
48150
|
"name" : "destination",
|
|
48117
48151
|
"type" : "shipping_address",
|
|
48118
|
-
"required" :
|
|
48152
|
+
"required" : false,
|
|
48119
48153
|
"attributes" : [ ],
|
|
48120
48154
|
"annotations" : [ "personal_data", "consumer" ],
|
|
48121
48155
|
"description" : "Destination contact information and structured address"
|
|
@@ -48129,7 +48163,7 @@
|
|
|
48129
48163
|
}, {
|
|
48130
48164
|
"name" : "origin",
|
|
48131
48165
|
"type" : "shipping_address",
|
|
48132
|
-
"required" :
|
|
48166
|
+
"required" : false,
|
|
48133
48167
|
"attributes" : [ ],
|
|
48134
48168
|
"annotations" : [ "personal_data", "consumer" ],
|
|
48135
48169
|
"description" : "Origin contact information and structured address"
|
|
@@ -53451,6 +53485,12 @@
|
|
|
53451
53485
|
"required" : true,
|
|
53452
53486
|
"attributes" : [ ],
|
|
53453
53487
|
"annotations" : [ ]
|
|
53488
|
+
}, {
|
|
53489
|
+
"name" : "label_created_at",
|
|
53490
|
+
"type" : "date-time-iso8601",
|
|
53491
|
+
"required" : true,
|
|
53492
|
+
"attributes" : [ ],
|
|
53493
|
+
"annotations" : [ ]
|
|
53454
53494
|
}, {
|
|
53455
53495
|
"name" : "carrier_id",
|
|
53456
53496
|
"type" : "string",
|
|
@@ -53463,6 +53503,24 @@
|
|
|
53463
53503
|
"required" : true,
|
|
53464
53504
|
"attributes" : [ ],
|
|
53465
53505
|
"annotations" : [ ]
|
|
53506
|
+
}, {
|
|
53507
|
+
"name" : "outbound",
|
|
53508
|
+
"type" : "transaction_metadata_carrier_charge_outbound",
|
|
53509
|
+
"required" : false,
|
|
53510
|
+
"attributes" : [ ],
|
|
53511
|
+
"annotations" : [ ]
|
|
53512
|
+
} ],
|
|
53513
|
+
"attributes" : [ ],
|
|
53514
|
+
"interfaces" : [ ]
|
|
53515
|
+
}, {
|
|
53516
|
+
"name" : "transaction_metadata_carrier_charge_outbound",
|
|
53517
|
+
"plural" : "transaction_metadata_carrier_charge_outbounds",
|
|
53518
|
+
"fields" : [ {
|
|
53519
|
+
"name" : "transaction_id",
|
|
53520
|
+
"type" : "string",
|
|
53521
|
+
"required" : true,
|
|
53522
|
+
"attributes" : [ ],
|
|
53523
|
+
"annotations" : [ ]
|
|
53466
53524
|
} ],
|
|
53467
53525
|
"attributes" : [ ],
|
|
53468
53526
|
"interfaces" : [ ]
|
|
@@ -78962,6 +79020,12 @@
|
|
|
78962
79020
|
"location" : "Query",
|
|
78963
79021
|
"required" : false,
|
|
78964
79022
|
"description" : "Filter to items created_at after the specified datetime."
|
|
79023
|
+
}, {
|
|
79024
|
+
"name" : "event_discriminator",
|
|
79025
|
+
"type" : "string",
|
|
79026
|
+
"location" : "Query",
|
|
79027
|
+
"required" : false,
|
|
79028
|
+
"description" : "Filter by delivery event discriminator."
|
|
78965
79029
|
}, {
|
|
78966
79030
|
"name" : "limit",
|
|
78967
79031
|
"type" : "long",
|