@flowio/api-mock-generator 6.17.33 → 6.17.34

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 CHANGED
@@ -10,7 +10,7 @@
10
10
  "key": "api"
11
11
  },
12
12
  "namespace": "io.flow.v0",
13
- "version": "0.16.91",
13
+ "version": "0.16.93",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -133,7 +133,7 @@
133
133
  "name": "address_verification_result_field_code",
134
134
  "plural": "address_verification_result_field_codes",
135
135
  "values": [{
136
- "name": "match",
136
+ "name": "matched",
137
137
  "attributes": []
138
138
  }, {
139
139
  "name": "not_available",
@@ -905,7 +905,7 @@
905
905
  "name": "cvv_result_code",
906
906
  "plural": "cvv_result_codes",
907
907
  "values": [{
908
- "name": "match",
908
+ "name": "matched",
909
909
  "attributes": []
910
910
  }, {
911
911
  "name": "not_available",
@@ -2368,6 +2368,52 @@
2368
2368
  }],
2369
2369
  "attributes": [],
2370
2370
  "description": "A field that can uniquely (for organization) identify a catalog_item"
2371
+ }, {
2372
+ "name": "label_request_method",
2373
+ "plural": "label_request_methods",
2374
+ "values": [{
2375
+ "name": "flow_web_sync",
2376
+ "attributes": [],
2377
+ "description": "Label was provided by the Flow Console"
2378
+ }, {
2379
+ "name": "channel_web_async",
2380
+ "attributes": [],
2381
+ "description": "Label was provided by Shopify"
2382
+ }, {
2383
+ "name": "direct_api_sync",
2384
+ "attributes": [],
2385
+ "description": "Label was provided by third party directly integrated with our sync API"
2386
+ }, {
2387
+ "name": "direct_api_async",
2388
+ "attributes": [],
2389
+ "description": "Label was provided by third party directly integrated with our async API"
2390
+ }, {
2391
+ "name": "bridge_api_sync",
2392
+ "attributes": [],
2393
+ "description": "Label was provided by the Global-e Bridge"
2394
+ }, {
2395
+ "name": "partner_api_sync",
2396
+ "attributes": [],
2397
+ "description": "Label was provided by non-Global-e logistics partner"
2398
+ }, {
2399
+ "name": "autogenerated",
2400
+ "attributes": [],
2401
+ "description": "Label was provided by an event condition in our system (e.g. Fraud Clearance or Order Received)"
2402
+ }],
2403
+ "attributes": []
2404
+ }, {
2405
+ "name": "label_trigger_method",
2406
+ "plural": "label_trigger_methods",
2407
+ "values": [{
2408
+ "name": "autogenerated",
2409
+ "attributes": [],
2410
+ "description": "Label was generated as a side-effect based on some automated trigger condition"
2411
+ }, {
2412
+ "name": "on_demand",
2413
+ "attributes": [],
2414
+ "description": "Label was generated by an intentional internal or external actor"
2415
+ }],
2416
+ "attributes": []
2371
2417
  }, {
2372
2418
  "name": "lane_direction",
2373
2419
  "plural": "lane_directions",
@@ -8140,6 +8186,22 @@
8140
8186
  "attributes": [],
8141
8187
  "interfaces": [],
8142
8188
  "discriminator": "type"
8189
+ }, {
8190
+ "name": "service_description",
8191
+ "plural": "service_descriptions",
8192
+ "types": [{
8193
+ "type": "service_summary",
8194
+ "attributes": [],
8195
+ "default": true,
8196
+ "discriminator_value": "service_summary"
8197
+ }, {
8198
+ "type": "service_unknown",
8199
+ "attributes": [],
8200
+ "discriminator_value": "service_unknown"
8201
+ }],
8202
+ "attributes": [],
8203
+ "interfaces": [],
8204
+ "discriminator": "discriminator"
8143
8205
  }, {
8144
8206
  "name": "service_fee",
8145
8207
  "plural": "service_fees",
@@ -43027,6 +43089,20 @@
43027
43089
  }],
43028
43090
  "attributes": [],
43029
43091
  "interfaces": []
43092
+ }, {
43093
+ "name": "service_unknown",
43094
+ "plural": "service_unknowns",
43095
+ "fields": [{
43096
+ "name": "name",
43097
+ "type": "string",
43098
+ "required": true,
43099
+ "attributes": [],
43100
+ "annotations": [],
43101
+ "example": "UPS Ground"
43102
+ }],
43103
+ "attributes": [],
43104
+ "interfaces": [],
43105
+ "description": "Describes a service used to perform logistic activity outside of our integration."
43030
43106
  }, {
43031
43107
  "name": "session_authorization_form",
43032
43108
  "plural": "session_authorization_forms",
@@ -44075,6 +44151,18 @@
44075
44151
  "attributes": [],
44076
44152
  "annotations": [],
44077
44153
  "description": "Tells us who the recipient of the package is. This will determine information passed on to carriers to make sure the correct label and accounts are used"
44154
+ }, {
44155
+ "name": "label_request_method",
44156
+ "type": "label_request_method",
44157
+ "required": false,
44158
+ "attributes": [],
44159
+ "annotations": []
44160
+ }, {
44161
+ "name": "label_trigger_method",
44162
+ "type": "label_trigger_method",
44163
+ "required": false,
44164
+ "attributes": [],
44165
+ "annotations": []
44078
44166
  }, {
44079
44167
  "name": "created_at",
44080
44168
  "type": "date-time-iso8601",
@@ -44592,13 +44680,13 @@
44592
44680
  }, {
44593
44681
  "name": "package",
44594
44682
  "type": "shipping_label_package",
44595
- "required": true,
44683
+ "required": false,
44596
44684
  "attributes": [],
44597
44685
  "annotations": [],
44598
44686
  "description": "Package to be shipped, including dimensions and items included"
44599
44687
  }, {
44600
44688
  "name": "service",
44601
- "type": "service_summary",
44689
+ "type": "service_description",
44602
44690
  "required": true,
44603
44691
  "attributes": [],
44604
44692
  "annotations": [],
@@ -44607,7 +44695,7 @@
44607
44695
  }, {
44608
44696
  "name": "window",
44609
44697
  "type": "datetime_range",
44610
- "required": true,
44698
+ "required": false,
44611
44699
  "attributes": [],
44612
44700
  "annotations": [],
44613
44701
  "description": "Estimated date range until delivery, based on ratecard delivery window days"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-mock-generator",
3
- "version": "6.17.33",
3
+ "version": "6.17.34",
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": "539fb4a2334830dc0411d081303bb70eef89bdd0"
31
+ "gitHead": "e212da9c13b98bb1daf825e26a2d10b45117d35f"
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.16.91",
13
+ "version" : "0.16.93",
14
14
  "info" : {
15
15
  "license" : {
16
16
  "name" : "MIT",
@@ -133,7 +133,7 @@
133
133
  "name" : "address_verification_result_field_code",
134
134
  "plural" : "address_verification_result_field_codes",
135
135
  "values" : [ {
136
- "name" : "match",
136
+ "name" : "matched",
137
137
  "attributes" : [ ]
138
138
  }, {
139
139
  "name" : "not_available",
@@ -905,7 +905,7 @@
905
905
  "name" : "cvv_result_code",
906
906
  "plural" : "cvv_result_codes",
907
907
  "values" : [ {
908
- "name" : "match",
908
+ "name" : "matched",
909
909
  "attributes" : [ ]
910
910
  }, {
911
911
  "name" : "not_available",
@@ -2368,6 +2368,52 @@
2368
2368
  } ],
2369
2369
  "attributes" : [ ],
2370
2370
  "description" : "A field that can uniquely (for organization) identify a catalog_item"
2371
+ }, {
2372
+ "name" : "label_request_method",
2373
+ "plural" : "label_request_methods",
2374
+ "values" : [ {
2375
+ "name" : "flow_web_sync",
2376
+ "attributes" : [ ],
2377
+ "description" : "Label was provided by the Flow Console"
2378
+ }, {
2379
+ "name" : "channel_web_async",
2380
+ "attributes" : [ ],
2381
+ "description" : "Label was provided by Shopify"
2382
+ }, {
2383
+ "name" : "direct_api_sync",
2384
+ "attributes" : [ ],
2385
+ "description" : "Label was provided by third party directly integrated with our sync API"
2386
+ }, {
2387
+ "name" : "direct_api_async",
2388
+ "attributes" : [ ],
2389
+ "description" : "Label was provided by third party directly integrated with our async API"
2390
+ }, {
2391
+ "name" : "bridge_api_sync",
2392
+ "attributes" : [ ],
2393
+ "description" : "Label was provided by the Global-e Bridge"
2394
+ }, {
2395
+ "name" : "partner_api_sync",
2396
+ "attributes" : [ ],
2397
+ "description" : "Label was provided by non-Global-e logistics partner"
2398
+ }, {
2399
+ "name" : "autogenerated",
2400
+ "attributes" : [ ],
2401
+ "description" : "Label was provided by an event condition in our system (e.g. Fraud Clearance or Order Received)"
2402
+ } ],
2403
+ "attributes" : [ ]
2404
+ }, {
2405
+ "name" : "label_trigger_method",
2406
+ "plural" : "label_trigger_methods",
2407
+ "values" : [ {
2408
+ "name" : "autogenerated",
2409
+ "attributes" : [ ],
2410
+ "description" : "Label was generated as a side-effect based on some automated trigger condition"
2411
+ }, {
2412
+ "name" : "on_demand",
2413
+ "attributes" : [ ],
2414
+ "description" : "Label was generated by an intentional internal or external actor"
2415
+ } ],
2416
+ "attributes" : [ ]
2371
2417
  }, {
2372
2418
  "name" : "lane_direction",
2373
2419
  "plural" : "lane_directions",
@@ -8140,6 +8186,22 @@
8140
8186
  "attributes" : [ ],
8141
8187
  "interfaces" : [ ],
8142
8188
  "discriminator" : "type"
8189
+ }, {
8190
+ "name" : "service_description",
8191
+ "plural" : "service_descriptions",
8192
+ "types" : [ {
8193
+ "type" : "service_summary",
8194
+ "attributes" : [ ],
8195
+ "default" : true,
8196
+ "discriminator_value" : "service_summary"
8197
+ }, {
8198
+ "type" : "service_unknown",
8199
+ "attributes" : [ ],
8200
+ "discriminator_value" : "service_unknown"
8201
+ } ],
8202
+ "attributes" : [ ],
8203
+ "interfaces" : [ ],
8204
+ "discriminator" : "discriminator"
8143
8205
  }, {
8144
8206
  "name" : "service_fee",
8145
8207
  "plural" : "service_fees",
@@ -43027,6 +43089,20 @@
43027
43089
  } ],
43028
43090
  "attributes" : [ ],
43029
43091
  "interfaces" : [ ]
43092
+ }, {
43093
+ "name" : "service_unknown",
43094
+ "plural" : "service_unknowns",
43095
+ "fields" : [ {
43096
+ "name" : "name",
43097
+ "type" : "string",
43098
+ "required" : true,
43099
+ "attributes" : [ ],
43100
+ "annotations" : [ ],
43101
+ "example" : "UPS Ground"
43102
+ } ],
43103
+ "attributes" : [ ],
43104
+ "interfaces" : [ ],
43105
+ "description" : "Describes a service used to perform logistic activity outside of our integration."
43030
43106
  }, {
43031
43107
  "name" : "session_authorization_form",
43032
43108
  "plural" : "session_authorization_forms",
@@ -44075,6 +44151,18 @@
44075
44151
  "attributes" : [ ],
44076
44152
  "annotations" : [ ],
44077
44153
  "description" : "Tells us who the recipient of the package is. This will determine information passed on to carriers to make sure the correct label and accounts are used"
44154
+ }, {
44155
+ "name" : "label_request_method",
44156
+ "type" : "label_request_method",
44157
+ "required" : false,
44158
+ "attributes" : [ ],
44159
+ "annotations" : [ ]
44160
+ }, {
44161
+ "name" : "label_trigger_method",
44162
+ "type" : "label_trigger_method",
44163
+ "required" : false,
44164
+ "attributes" : [ ],
44165
+ "annotations" : [ ]
44078
44166
  }, {
44079
44167
  "name" : "created_at",
44080
44168
  "type" : "date-time-iso8601",
@@ -44592,13 +44680,13 @@
44592
44680
  }, {
44593
44681
  "name" : "package",
44594
44682
  "type" : "shipping_label_package",
44595
- "required" : true,
44683
+ "required" : false,
44596
44684
  "attributes" : [ ],
44597
44685
  "annotations" : [ ],
44598
44686
  "description" : "Package to be shipped, including dimensions and items included"
44599
44687
  }, {
44600
44688
  "name" : "service",
44601
- "type" : "service_summary",
44689
+ "type" : "service_description",
44602
44690
  "required" : true,
44603
44691
  "attributes" : [ ],
44604
44692
  "annotations" : [ ],
@@ -44607,7 +44695,7 @@
44607
44695
  }, {
44608
44696
  "name" : "window",
44609
44697
  "type" : "datetime_range",
44610
- "required" : true,
44698
+ "required" : false,
44611
44699
  "attributes" : [ ],
44612
44700
  "annotations" : [ ],
44613
44701
  "description" : "Estimated date range until delivery, based on ratecard delivery window days"