@flowio/api-mock-generator 6.17.59 → 6.17.61

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.
Files changed (3) hide show
  1. package/dist/api.json +121 -3
  2. package/package.json +2 -2
  3. package/src/api.json +121 -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.17.82",
13
+ "version": "0.17.85",
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.20.24",
79
+ "version": "0.20.41",
80
80
  "enums": [],
81
81
  "interfaces": ["generate_load"],
82
82
  "unions": ["generate_load"],
@@ -53155,7 +53155,13 @@
53155
53155
  "fields": [{
53156
53156
  "name": "original",
53157
53157
  "type": "transaction_metadata_original_transaction",
53158
- "required": true,
53158
+ "required": false,
53159
+ "attributes": [],
53160
+ "annotations": []
53161
+ }, {
53162
+ "name": "url",
53163
+ "type": "string",
53164
+ "required": false,
53159
53165
  "attributes": [],
53160
53166
  "annotations": []
53161
53167
  }],
@@ -73190,6 +73196,62 @@
73190
73196
  "type": "bridge_manifest_form",
73191
73197
  "attributes": []
73192
73198
  }
73199
+ }, {
73200
+ "method": "GET",
73201
+ "path": "/:organization/manifests/centers/:center_key/services/:service/outstanding",
73202
+ "parameters": [{
73203
+ "name": "organization",
73204
+ "type": "string",
73205
+ "location": "Path",
73206
+ "required": true,
73207
+ "description": "Refers to your organization's account identifier"
73208
+ }, {
73209
+ "name": "center_key",
73210
+ "type": "string",
73211
+ "location": "Path",
73212
+ "required": true,
73213
+ "example": "12345678912"
73214
+ }, {
73215
+ "name": "service",
73216
+ "type": "string",
73217
+ "location": "Path",
73218
+ "required": true,
73219
+ "example": "dhl-express-worldwide"
73220
+ }],
73221
+ "responses": [{
73222
+ "code": {
73223
+ "integer": {
73224
+ "value": 302
73225
+ }
73226
+ },
73227
+ "type": "string",
73228
+ "attributes": []
73229
+ }, {
73230
+ "code": {
73231
+ "integer": {
73232
+ "value": 404
73233
+ }
73234
+ },
73235
+ "type": "unit",
73236
+ "description": "Resource was not found",
73237
+ "attributes": []
73238
+ }, {
73239
+ "code": {
73240
+ "integer": {
73241
+ "value": 422
73242
+ }
73243
+ },
73244
+ "type": "generic_error",
73245
+ "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.",
73246
+ "attributes": []
73247
+ }],
73248
+ "attributes": [{
73249
+ "name": "linter",
73250
+ "value": {
73251
+ "ignore": ["response_codes"]
73252
+ }
73253
+ }],
73254
+ "description": "Generates a new manifest with all outstanding labels for a given center and redirects to a downloadable PDF of carrier-generated manifest or bill of lading (BOL). If no outstanding labels, this will generate a 422 error."
73193
73255
  }, {
73194
73256
  "method": "GET",
73195
73257
  "path": "/:organization/manifests/services/:service/outstanding",
@@ -80496,6 +80558,62 @@
80496
80558
  }
80497
80559
  }],
80498
80560
  "path": "/:organization/marketing/abandoned/order/settings"
80561
+ }, {
80562
+ "type": "allocation_v2",
80563
+ "plural": "allocation_v2s",
80564
+ "operations": [{
80565
+ "method": "GET",
80566
+ "path": "/:organization/search/order/:number/allocations",
80567
+ "parameters": [{
80568
+ "name": "organization",
80569
+ "type": "string",
80570
+ "location": "Path",
80571
+ "required": true,
80572
+ "description": "Refers to your organization's account identifier"
80573
+ }, {
80574
+ "name": "number",
80575
+ "type": "string",
80576
+ "location": "Path",
80577
+ "required": true
80578
+ }],
80579
+ "responses": [{
80580
+ "code": {
80581
+ "integer": {
80582
+ "value": 200
80583
+ }
80584
+ },
80585
+ "type": "allocation_v2",
80586
+ "description": "Successful response",
80587
+ "attributes": []
80588
+ }, {
80589
+ "code": {
80590
+ "integer": {
80591
+ "value": 401
80592
+ }
80593
+ },
80594
+ "type": "unit",
80595
+ "description": "Authorization failed",
80596
+ "attributes": []
80597
+ }, {
80598
+ "code": {
80599
+ "integer": {
80600
+ "value": 404
80601
+ }
80602
+ },
80603
+ "type": "unit",
80604
+ "description": "Resource was not found",
80605
+ "attributes": []
80606
+ }],
80607
+ "attributes": [],
80608
+ "description": "Order allocations provide a granular view of an order that is targeted for accounting / financial views of an order"
80609
+ }],
80610
+ "attributes": [{
80611
+ "name": "docs",
80612
+ "value": {
80613
+ "module": "general"
80614
+ }
80615
+ }],
80616
+ "path": "/:organization/search/order/:number/allocations"
80499
80617
  }, {
80500
80618
  "type": "b2b_credit_memo",
80501
80619
  "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.59",
3
+ "version": "6.17.61",
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": "edaa4ef26aa5601691b51a50d20d45ef9071e43e"
31
+ "gitHead": "f59548a63c0d54be400548738dd1771e26ae7462"
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.82",
13
+ "version" : "0.17.85",
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.20.24",
79
+ "version" : "0.20.41",
80
80
  "enums" : [ ],
81
81
  "interfaces" : [ "generate_load" ],
82
82
  "unions" : [ "generate_load" ],
@@ -53155,7 +53155,13 @@
53155
53155
  "fields" : [ {
53156
53156
  "name" : "original",
53157
53157
  "type" : "transaction_metadata_original_transaction",
53158
- "required" : true,
53158
+ "required" : false,
53159
+ "attributes" : [ ],
53160
+ "annotations" : [ ]
53161
+ }, {
53162
+ "name" : "url",
53163
+ "type" : "string",
53164
+ "required" : false,
53159
53165
  "attributes" : [ ],
53160
53166
  "annotations" : [ ]
53161
53167
  } ],
@@ -73190,6 +73196,62 @@
73190
73196
  "type" : "bridge_manifest_form",
73191
73197
  "attributes" : [ ]
73192
73198
  }
73199
+ }, {
73200
+ "method" : "GET",
73201
+ "path" : "/:organization/manifests/centers/:center_key/services/:service/outstanding",
73202
+ "parameters" : [ {
73203
+ "name" : "organization",
73204
+ "type" : "string",
73205
+ "location" : "Path",
73206
+ "required" : true,
73207
+ "description" : "Refers to your organization's account identifier"
73208
+ }, {
73209
+ "name" : "center_key",
73210
+ "type" : "string",
73211
+ "location" : "Path",
73212
+ "required" : true,
73213
+ "example" : "12345678912"
73214
+ }, {
73215
+ "name" : "service",
73216
+ "type" : "string",
73217
+ "location" : "Path",
73218
+ "required" : true,
73219
+ "example" : "dhl-express-worldwide"
73220
+ } ],
73221
+ "responses" : [ {
73222
+ "code" : {
73223
+ "integer" : {
73224
+ "value" : 302
73225
+ }
73226
+ },
73227
+ "type" : "string",
73228
+ "attributes" : [ ]
73229
+ }, {
73230
+ "code" : {
73231
+ "integer" : {
73232
+ "value" : 404
73233
+ }
73234
+ },
73235
+ "type" : "unit",
73236
+ "description" : "Resource was not found",
73237
+ "attributes" : [ ]
73238
+ }, {
73239
+ "code" : {
73240
+ "integer" : {
73241
+ "value" : 422
73242
+ }
73243
+ },
73244
+ "type" : "generic_error",
73245
+ "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.",
73246
+ "attributes" : [ ]
73247
+ } ],
73248
+ "attributes" : [ {
73249
+ "name" : "linter",
73250
+ "value" : {
73251
+ "ignore" : [ "response_codes" ]
73252
+ }
73253
+ } ],
73254
+ "description" : "Generates a new manifest with all outstanding labels for a given center and redirects to a downloadable PDF of carrier-generated manifest or bill of lading (BOL). If no outstanding labels, this will generate a 422 error."
73193
73255
  }, {
73194
73256
  "method" : "GET",
73195
73257
  "path" : "/:organization/manifests/services/:service/outstanding",
@@ -80496,6 +80558,62 @@
80496
80558
  }
80497
80559
  } ],
80498
80560
  "path" : "/:organization/marketing/abandoned/order/settings"
80561
+ }, {
80562
+ "type" : "allocation_v2",
80563
+ "plural" : "allocation_v2s",
80564
+ "operations" : [ {
80565
+ "method" : "GET",
80566
+ "path" : "/:organization/search/order/:number/allocations",
80567
+ "parameters" : [ {
80568
+ "name" : "organization",
80569
+ "type" : "string",
80570
+ "location" : "Path",
80571
+ "required" : true,
80572
+ "description" : "Refers to your organization's account identifier"
80573
+ }, {
80574
+ "name" : "number",
80575
+ "type" : "string",
80576
+ "location" : "Path",
80577
+ "required" : true
80578
+ } ],
80579
+ "responses" : [ {
80580
+ "code" : {
80581
+ "integer" : {
80582
+ "value" : 200
80583
+ }
80584
+ },
80585
+ "type" : "allocation_v2",
80586
+ "description" : "Successful response",
80587
+ "attributes" : [ ]
80588
+ }, {
80589
+ "code" : {
80590
+ "integer" : {
80591
+ "value" : 401
80592
+ }
80593
+ },
80594
+ "type" : "unit",
80595
+ "description" : "Authorization failed",
80596
+ "attributes" : [ ]
80597
+ }, {
80598
+ "code" : {
80599
+ "integer" : {
80600
+ "value" : 404
80601
+ }
80602
+ },
80603
+ "type" : "unit",
80604
+ "description" : "Resource was not found",
80605
+ "attributes" : [ ]
80606
+ } ],
80607
+ "attributes" : [ ],
80608
+ "description" : "Order allocations provide a granular view of an order that is targeted for accounting / financial views of an order"
80609
+ } ],
80610
+ "attributes" : [ {
80611
+ "name" : "docs",
80612
+ "value" : {
80613
+ "module" : "general"
80614
+ }
80615
+ } ],
80616
+ "path" : "/:organization/search/order/:number/allocations"
80499
80617
  }, {
80500
80618
  "type" : "b2b_credit_memo",
80501
80619
  "plural" : "b2b_credit_memos",