@flowio/api-mock-generator 6.17.85 → 6.17.87
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 +94 -3
- package/package.json +2 -2
- package/src/api.json +94 -3
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.19.3",
|
|
14
14
|
"info": {
|
|
15
15
|
"license": {
|
|
16
16
|
"name": "MIT",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"application": {
|
|
77
77
|
"key": "ben-test-internal"
|
|
78
78
|
},
|
|
79
|
-
"version": "0.23.
|
|
79
|
+
"version": "0.23.99",
|
|
80
80
|
"enums": [],
|
|
81
81
|
"interfaces": ["generate_load"],
|
|
82
82
|
"unions": ["generate_load"],
|
|
@@ -3313,6 +3313,27 @@
|
|
|
3313
3313
|
"attributes": []
|
|
3314
3314
|
}],
|
|
3315
3315
|
"attributes": []
|
|
3316
|
+
}, {
|
|
3317
|
+
"name": "origin_location_source",
|
|
3318
|
+
"plural": "origin_location_sources",
|
|
3319
|
+
"values": [{
|
|
3320
|
+
"name": "public_hub_code",
|
|
3321
|
+
"attributes": [],
|
|
3322
|
+
"description": "Origin location comes from Public Hub Code"
|
|
3323
|
+
}, {
|
|
3324
|
+
"name": "merchant_hub_code_override",
|
|
3325
|
+
"attributes": [],
|
|
3326
|
+
"description": "Origin location comes from Merchant Hub Code override"
|
|
3327
|
+
}, {
|
|
3328
|
+
"name": "shopify",
|
|
3329
|
+
"attributes": [],
|
|
3330
|
+
"description": "Origin location comes from Shopify"
|
|
3331
|
+
}, {
|
|
3332
|
+
"name": "fallback_location",
|
|
3333
|
+
"attributes": [],
|
|
3334
|
+
"description": "Origin location comes from fallback location"
|
|
3335
|
+
}],
|
|
3336
|
+
"attributes": []
|
|
3316
3337
|
}, {
|
|
3317
3338
|
"name": "package_dimensions_source",
|
|
3318
3339
|
"plural": "package_dimensions_sources",
|
|
@@ -4148,6 +4169,11 @@
|
|
|
4148
4169
|
"attributes": [],
|
|
4149
4170
|
"description": "Created for Gamer Supps, used to restrict supplements, neutraceuticals, etc",
|
|
4150
4171
|
"value": "Supplements"
|
|
4172
|
+
}, {
|
|
4173
|
+
"name": "tattoo_ink_and_pmu",
|
|
4174
|
+
"attributes": [],
|
|
4175
|
+
"description": "Tattoo inks and pigments, used for body modification or permanent makeup must be manufactured to ECHA/REACH guidelines to be accepted into UK and EU member states.",
|
|
4176
|
+
"value": "Tattoo Ink And PMU"
|
|
4151
4177
|
}, {
|
|
4152
4178
|
"name": "weapon",
|
|
4153
4179
|
"attributes": [],
|
|
@@ -6609,6 +6635,12 @@
|
|
|
6609
6635
|
"required": false,
|
|
6610
6636
|
"attributes": [],
|
|
6611
6637
|
"annotations": []
|
|
6638
|
+
}, {
|
|
6639
|
+
"name": "reference_id",
|
|
6640
|
+
"type": "string",
|
|
6641
|
+
"required": false,
|
|
6642
|
+
"attributes": [],
|
|
6643
|
+
"annotations": []
|
|
6612
6644
|
}],
|
|
6613
6645
|
"attributes": []
|
|
6614
6646
|
}, {
|
|
@@ -13590,6 +13622,25 @@
|
|
|
13590
13622
|
"attributes": [],
|
|
13591
13623
|
"annotations": [],
|
|
13592
13624
|
"description": "Tells us whether the ratecard is for outbound or reverse logistics. This will determine information passed on to carriers to make sure the correct label and accounts are used. If not specified, defaults to outbound."
|
|
13625
|
+
}, {
|
|
13626
|
+
"name": "reference_id",
|
|
13627
|
+
"type": "string",
|
|
13628
|
+
"required": false,
|
|
13629
|
+
"attributes": [],
|
|
13630
|
+
"annotations": []
|
|
13631
|
+
}, {
|
|
13632
|
+
"name": "origin_location_source",
|
|
13633
|
+
"type": "origin_location_source",
|
|
13634
|
+
"required": false,
|
|
13635
|
+
"attributes": [],
|
|
13636
|
+
"annotations": [],
|
|
13637
|
+
"description": "Indicates where the origin location comes from"
|
|
13638
|
+
}, {
|
|
13639
|
+
"name": "hub_code",
|
|
13640
|
+
"type": "string",
|
|
13641
|
+
"required": false,
|
|
13642
|
+
"attributes": [],
|
|
13643
|
+
"annotations": []
|
|
13593
13644
|
}],
|
|
13594
13645
|
"attributes": [],
|
|
13595
13646
|
"interfaces": [],
|
|
@@ -20777,7 +20828,20 @@
|
|
|
20777
20828
|
"required": false,
|
|
20778
20829
|
"attributes": [],
|
|
20779
20830
|
"annotations": [],
|
|
20780
|
-
"description": "
|
|
20831
|
+
"description": "Indicates which party estimated the package"
|
|
20832
|
+
}, {
|
|
20833
|
+
"name": "origin_location_source",
|
|
20834
|
+
"type": "origin_location_source",
|
|
20835
|
+
"required": false,
|
|
20836
|
+
"attributes": [],
|
|
20837
|
+
"annotations": [],
|
|
20838
|
+
"description": "Indicates where origin location comes from"
|
|
20839
|
+
}, {
|
|
20840
|
+
"name": "reference_id",
|
|
20841
|
+
"type": "string",
|
|
20842
|
+
"required": false,
|
|
20843
|
+
"attributes": [],
|
|
20844
|
+
"annotations": []
|
|
20781
20845
|
}],
|
|
20782
20846
|
"attributes": [],
|
|
20783
20847
|
"interfaces": []
|
|
@@ -29709,6 +29773,27 @@
|
|
|
29709
29773
|
"attributes": [],
|
|
29710
29774
|
"annotations": [],
|
|
29711
29775
|
"description": "If present, records an event indicating that the shipment was returned to origin."
|
|
29776
|
+
}, {
|
|
29777
|
+
"name": "crossed_border",
|
|
29778
|
+
"type": "label_tracking_summary_update",
|
|
29779
|
+
"required": false,
|
|
29780
|
+
"attributes": [],
|
|
29781
|
+
"annotations": [],
|
|
29782
|
+
"description": "If present, records an event indicating that the shipment crossed the border."
|
|
29783
|
+
}, {
|
|
29784
|
+
"name": "destroyed",
|
|
29785
|
+
"type": "label_tracking_summary_update",
|
|
29786
|
+
"required": false,
|
|
29787
|
+
"attributes": [],
|
|
29788
|
+
"annotations": [],
|
|
29789
|
+
"description": "If present, records an event indicating that the shipment was destroyed."
|
|
29790
|
+
}, {
|
|
29791
|
+
"name": "return_reversal",
|
|
29792
|
+
"type": "label_tracking_summary_update",
|
|
29793
|
+
"required": false,
|
|
29794
|
+
"attributes": [],
|
|
29795
|
+
"annotations": [],
|
|
29796
|
+
"description": "If present, records an event indicating that the shipment has been return reversed."
|
|
29712
29797
|
}],
|
|
29713
29798
|
"attributes": [],
|
|
29714
29799
|
"interfaces": []
|
|
@@ -51414,6 +51499,12 @@
|
|
|
51414
51499
|
"attributes": [],
|
|
51415
51500
|
"annotations": [],
|
|
51416
51501
|
"description": "Tells us whether the ratecard is for outbound or reverse logistics. This will determine information passed on to carriers to make sure the correct label and accounts are used. If not specified, defaults to outbound."
|
|
51502
|
+
}, {
|
|
51503
|
+
"name": "reference_id",
|
|
51504
|
+
"type": "string",
|
|
51505
|
+
"required": false,
|
|
51506
|
+
"attributes": [],
|
|
51507
|
+
"annotations": []
|
|
51417
51508
|
}],
|
|
51418
51509
|
"attributes": [],
|
|
51419
51510
|
"interfaces": [],
|
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.87",
|
|
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": "c096f29e80640d1f9e270b50c13e20e26b631283"
|
|
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.19.3",
|
|
14
14
|
"info" : {
|
|
15
15
|
"license" : {
|
|
16
16
|
"name" : "MIT",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"application" : {
|
|
77
77
|
"key" : "ben-test-internal"
|
|
78
78
|
},
|
|
79
|
-
"version" : "0.23.
|
|
79
|
+
"version" : "0.23.99",
|
|
80
80
|
"enums" : [ ],
|
|
81
81
|
"interfaces" : [ "generate_load" ],
|
|
82
82
|
"unions" : [ "generate_load" ],
|
|
@@ -3313,6 +3313,27 @@
|
|
|
3313
3313
|
"attributes" : [ ]
|
|
3314
3314
|
} ],
|
|
3315
3315
|
"attributes" : [ ]
|
|
3316
|
+
}, {
|
|
3317
|
+
"name" : "origin_location_source",
|
|
3318
|
+
"plural" : "origin_location_sources",
|
|
3319
|
+
"values" : [ {
|
|
3320
|
+
"name" : "public_hub_code",
|
|
3321
|
+
"attributes" : [ ],
|
|
3322
|
+
"description" : "Origin location comes from Public Hub Code"
|
|
3323
|
+
}, {
|
|
3324
|
+
"name" : "merchant_hub_code_override",
|
|
3325
|
+
"attributes" : [ ],
|
|
3326
|
+
"description" : "Origin location comes from Merchant Hub Code override"
|
|
3327
|
+
}, {
|
|
3328
|
+
"name" : "shopify",
|
|
3329
|
+
"attributes" : [ ],
|
|
3330
|
+
"description" : "Origin location comes from Shopify"
|
|
3331
|
+
}, {
|
|
3332
|
+
"name" : "fallback_location",
|
|
3333
|
+
"attributes" : [ ],
|
|
3334
|
+
"description" : "Origin location comes from fallback location"
|
|
3335
|
+
} ],
|
|
3336
|
+
"attributes" : [ ]
|
|
3316
3337
|
}, {
|
|
3317
3338
|
"name" : "package_dimensions_source",
|
|
3318
3339
|
"plural" : "package_dimensions_sources",
|
|
@@ -4148,6 +4169,11 @@
|
|
|
4148
4169
|
"attributes" : [ ],
|
|
4149
4170
|
"description" : "Created for Gamer Supps, used to restrict supplements, neutraceuticals, etc",
|
|
4150
4171
|
"value" : "Supplements"
|
|
4172
|
+
}, {
|
|
4173
|
+
"name" : "tattoo_ink_and_pmu",
|
|
4174
|
+
"attributes" : [ ],
|
|
4175
|
+
"description" : "Tattoo inks and pigments, used for body modification or permanent makeup must be manufactured to ECHA/REACH guidelines to be accepted into UK and EU member states.",
|
|
4176
|
+
"value" : "Tattoo Ink And PMU"
|
|
4151
4177
|
}, {
|
|
4152
4178
|
"name" : "weapon",
|
|
4153
4179
|
"attributes" : [ ],
|
|
@@ -6609,6 +6635,12 @@
|
|
|
6609
6635
|
"required" : false,
|
|
6610
6636
|
"attributes" : [ ],
|
|
6611
6637
|
"annotations" : [ ]
|
|
6638
|
+
}, {
|
|
6639
|
+
"name" : "reference_id",
|
|
6640
|
+
"type" : "string",
|
|
6641
|
+
"required" : false,
|
|
6642
|
+
"attributes" : [ ],
|
|
6643
|
+
"annotations" : [ ]
|
|
6612
6644
|
} ],
|
|
6613
6645
|
"attributes" : [ ]
|
|
6614
6646
|
}, {
|
|
@@ -13590,6 +13622,25 @@
|
|
|
13590
13622
|
"attributes" : [ ],
|
|
13591
13623
|
"annotations" : [ ],
|
|
13592
13624
|
"description" : "Tells us whether the ratecard is for outbound or reverse logistics. This will determine information passed on to carriers to make sure the correct label and accounts are used. If not specified, defaults to outbound."
|
|
13625
|
+
}, {
|
|
13626
|
+
"name" : "reference_id",
|
|
13627
|
+
"type" : "string",
|
|
13628
|
+
"required" : false,
|
|
13629
|
+
"attributes" : [ ],
|
|
13630
|
+
"annotations" : [ ]
|
|
13631
|
+
}, {
|
|
13632
|
+
"name" : "origin_location_source",
|
|
13633
|
+
"type" : "origin_location_source",
|
|
13634
|
+
"required" : false,
|
|
13635
|
+
"attributes" : [ ],
|
|
13636
|
+
"annotations" : [ ],
|
|
13637
|
+
"description" : "Indicates where the origin location comes from"
|
|
13638
|
+
}, {
|
|
13639
|
+
"name" : "hub_code",
|
|
13640
|
+
"type" : "string",
|
|
13641
|
+
"required" : false,
|
|
13642
|
+
"attributes" : [ ],
|
|
13643
|
+
"annotations" : [ ]
|
|
13593
13644
|
} ],
|
|
13594
13645
|
"attributes" : [ ],
|
|
13595
13646
|
"interfaces" : [ ],
|
|
@@ -20777,7 +20828,20 @@
|
|
|
20777
20828
|
"required" : false,
|
|
20778
20829
|
"attributes" : [ ],
|
|
20779
20830
|
"annotations" : [ ],
|
|
20780
|
-
"description" : "
|
|
20831
|
+
"description" : "Indicates which party estimated the package"
|
|
20832
|
+
}, {
|
|
20833
|
+
"name" : "origin_location_source",
|
|
20834
|
+
"type" : "origin_location_source",
|
|
20835
|
+
"required" : false,
|
|
20836
|
+
"attributes" : [ ],
|
|
20837
|
+
"annotations" : [ ],
|
|
20838
|
+
"description" : "Indicates where origin location comes from"
|
|
20839
|
+
}, {
|
|
20840
|
+
"name" : "reference_id",
|
|
20841
|
+
"type" : "string",
|
|
20842
|
+
"required" : false,
|
|
20843
|
+
"attributes" : [ ],
|
|
20844
|
+
"annotations" : [ ]
|
|
20781
20845
|
} ],
|
|
20782
20846
|
"attributes" : [ ],
|
|
20783
20847
|
"interfaces" : [ ]
|
|
@@ -29709,6 +29773,27 @@
|
|
|
29709
29773
|
"attributes" : [ ],
|
|
29710
29774
|
"annotations" : [ ],
|
|
29711
29775
|
"description" : "If present, records an event indicating that the shipment was returned to origin."
|
|
29776
|
+
}, {
|
|
29777
|
+
"name" : "crossed_border",
|
|
29778
|
+
"type" : "label_tracking_summary_update",
|
|
29779
|
+
"required" : false,
|
|
29780
|
+
"attributes" : [ ],
|
|
29781
|
+
"annotations" : [ ],
|
|
29782
|
+
"description" : "If present, records an event indicating that the shipment crossed the border."
|
|
29783
|
+
}, {
|
|
29784
|
+
"name" : "destroyed",
|
|
29785
|
+
"type" : "label_tracking_summary_update",
|
|
29786
|
+
"required" : false,
|
|
29787
|
+
"attributes" : [ ],
|
|
29788
|
+
"annotations" : [ ],
|
|
29789
|
+
"description" : "If present, records an event indicating that the shipment was destroyed."
|
|
29790
|
+
}, {
|
|
29791
|
+
"name" : "return_reversal",
|
|
29792
|
+
"type" : "label_tracking_summary_update",
|
|
29793
|
+
"required" : false,
|
|
29794
|
+
"attributes" : [ ],
|
|
29795
|
+
"annotations" : [ ],
|
|
29796
|
+
"description" : "If present, records an event indicating that the shipment has been return reversed."
|
|
29712
29797
|
} ],
|
|
29713
29798
|
"attributes" : [ ],
|
|
29714
29799
|
"interfaces" : [ ]
|
|
@@ -51414,6 +51499,12 @@
|
|
|
51414
51499
|
"attributes" : [ ],
|
|
51415
51500
|
"annotations" : [ ],
|
|
51416
51501
|
"description" : "Tells us whether the ratecard is for outbound or reverse logistics. This will determine information passed on to carriers to make sure the correct label and accounts are used. If not specified, defaults to outbound."
|
|
51502
|
+
}, {
|
|
51503
|
+
"name" : "reference_id",
|
|
51504
|
+
"type" : "string",
|
|
51505
|
+
"required" : false,
|
|
51506
|
+
"attributes" : [ ],
|
|
51507
|
+
"annotations" : [ ]
|
|
51417
51508
|
} ],
|
|
51418
51509
|
"attributes" : [ ],
|
|
51419
51510
|
"interfaces" : [ ],
|