@flowio/api-mock-generator 6.17.47 → 6.17.49
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 +105 -4
- package/package.json +2 -2
- package/src/api.json +105 -4
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.23",
|
|
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.13",
|
|
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.13",
|
|
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.13",
|
|
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": [],
|
|
@@ -1281,6 +1281,12 @@
|
|
|
1281
1281
|
}, {
|
|
1282
1282
|
"name": "subcatalog_item_deleted",
|
|
1283
1283
|
"attributes": []
|
|
1284
|
+
}, {
|
|
1285
|
+
"name": "catalog_statistics_upserted",
|
|
1286
|
+
"attributes": []
|
|
1287
|
+
}, {
|
|
1288
|
+
"name": "catalog_statistics_deleted",
|
|
1289
|
+
"attributes": []
|
|
1284
1290
|
}, {
|
|
1285
1291
|
"name": "channel_upserted",
|
|
1286
1292
|
"attributes": []
|
|
@@ -4835,6 +4841,9 @@
|
|
|
4835
4841
|
}, {
|
|
4836
4842
|
"name": "duty",
|
|
4837
4843
|
"attributes": []
|
|
4844
|
+
}, {
|
|
4845
|
+
"name": "withholding",
|
|
4846
|
+
"attributes": []
|
|
4838
4847
|
}, {
|
|
4839
4848
|
"name": "other_adjustment",
|
|
4840
4849
|
"attributes": []
|
|
@@ -6669,6 +6678,14 @@
|
|
|
6669
6678
|
"type": "subcatalog_item_deleted",
|
|
6670
6679
|
"attributes": [],
|
|
6671
6680
|
"discriminator_value": "subcatalog_item_deleted"
|
|
6681
|
+
}, {
|
|
6682
|
+
"type": "catalog_statistics_upserted",
|
|
6683
|
+
"attributes": [],
|
|
6684
|
+
"discriminator_value": "catalog_statistics_upserted"
|
|
6685
|
+
}, {
|
|
6686
|
+
"type": "catalog_statistics_deleted",
|
|
6687
|
+
"attributes": [],
|
|
6688
|
+
"discriminator_value": "catalog_statistics_deleted"
|
|
6672
6689
|
}, {
|
|
6673
6690
|
"type": "channel_upserted",
|
|
6674
6691
|
"attributes": [],
|
|
@@ -14302,6 +14319,13 @@
|
|
|
14302
14319
|
"name": "catalog_statistics",
|
|
14303
14320
|
"plural": "catalog_statisticses",
|
|
14304
14321
|
"fields": [{
|
|
14322
|
+
"name": "id",
|
|
14323
|
+
"type": "string",
|
|
14324
|
+
"required": true,
|
|
14325
|
+
"attributes": [],
|
|
14326
|
+
"annotations": [],
|
|
14327
|
+
"description": "Globally unique identifier"
|
|
14328
|
+
}, {
|
|
14305
14329
|
"name": "items",
|
|
14306
14330
|
"type": "long",
|
|
14307
14331
|
"required": true,
|
|
@@ -14319,6 +14343,69 @@
|
|
|
14319
14343
|
"attributes": [],
|
|
14320
14344
|
"interfaces": [],
|
|
14321
14345
|
"description": "Statistics covering product catalog item information, including total catalog item count, number of distinct categories, etc."
|
|
14346
|
+
}, {
|
|
14347
|
+
"name": "catalog_statistics_deleted",
|
|
14348
|
+
"plural": "catalog_statistics_deleteds",
|
|
14349
|
+
"fields": [{
|
|
14350
|
+
"name": "event_id",
|
|
14351
|
+
"type": "string",
|
|
14352
|
+
"required": true,
|
|
14353
|
+
"attributes": [],
|
|
14354
|
+
"annotations": []
|
|
14355
|
+
}, {
|
|
14356
|
+
"name": "timestamp",
|
|
14357
|
+
"type": "date-time-iso8601",
|
|
14358
|
+
"required": true,
|
|
14359
|
+
"attributes": [],
|
|
14360
|
+
"annotations": []
|
|
14361
|
+
}, {
|
|
14362
|
+
"name": "organization",
|
|
14363
|
+
"type": "string",
|
|
14364
|
+
"required": true,
|
|
14365
|
+
"attributes": [],
|
|
14366
|
+
"annotations": [],
|
|
14367
|
+
"description": "Refers to your organization's account identifier"
|
|
14368
|
+
}, {
|
|
14369
|
+
"name": "id",
|
|
14370
|
+
"type": "string",
|
|
14371
|
+
"required": true,
|
|
14372
|
+
"attributes": [],
|
|
14373
|
+
"annotations": [],
|
|
14374
|
+
"description": "Globally unique identifier"
|
|
14375
|
+
}],
|
|
14376
|
+
"attributes": [],
|
|
14377
|
+
"interfaces": []
|
|
14378
|
+
}, {
|
|
14379
|
+
"name": "catalog_statistics_upserted",
|
|
14380
|
+
"plural": "catalog_statistics_upserteds",
|
|
14381
|
+
"fields": [{
|
|
14382
|
+
"name": "event_id",
|
|
14383
|
+
"type": "string",
|
|
14384
|
+
"required": true,
|
|
14385
|
+
"attributes": [],
|
|
14386
|
+
"annotations": []
|
|
14387
|
+
}, {
|
|
14388
|
+
"name": "timestamp",
|
|
14389
|
+
"type": "date-time-iso8601",
|
|
14390
|
+
"required": true,
|
|
14391
|
+
"attributes": [],
|
|
14392
|
+
"annotations": []
|
|
14393
|
+
}, {
|
|
14394
|
+
"name": "organization",
|
|
14395
|
+
"type": "string",
|
|
14396
|
+
"required": true,
|
|
14397
|
+
"attributes": [],
|
|
14398
|
+
"annotations": [],
|
|
14399
|
+
"description": "Refers to your organization's account identifier"
|
|
14400
|
+
}, {
|
|
14401
|
+
"name": "statistics",
|
|
14402
|
+
"type": "catalog_statistics",
|
|
14403
|
+
"required": true,
|
|
14404
|
+
"attributes": [],
|
|
14405
|
+
"annotations": []
|
|
14406
|
+
}],
|
|
14407
|
+
"attributes": [],
|
|
14408
|
+
"interfaces": []
|
|
14322
14409
|
}, {
|
|
14323
14410
|
"name": "catalog_upserted",
|
|
14324
14411
|
"plural": "catalog_upserteds",
|
|
@@ -34304,6 +34391,13 @@
|
|
|
34304
34391
|
"name": "organization_onboarding_state",
|
|
34305
34392
|
"plural": "organization_onboarding_states",
|
|
34306
34393
|
"fields": [{
|
|
34394
|
+
"name": "id",
|
|
34395
|
+
"type": "string",
|
|
34396
|
+
"required": true,
|
|
34397
|
+
"attributes": [],
|
|
34398
|
+
"annotations": [],
|
|
34399
|
+
"description": "Globally unique identifier"
|
|
34400
|
+
}, {
|
|
34307
34401
|
"name": "organization",
|
|
34308
34402
|
"type": "organization_reference",
|
|
34309
34403
|
"required": true,
|
|
@@ -34347,6 +34441,13 @@
|
|
|
34347
34441
|
"attributes": [],
|
|
34348
34442
|
"annotations": [],
|
|
34349
34443
|
"description": "Refers to your organization's account identifier"
|
|
34444
|
+
}, {
|
|
34445
|
+
"name": "id",
|
|
34446
|
+
"type": "string",
|
|
34447
|
+
"required": true,
|
|
34448
|
+
"attributes": [],
|
|
34449
|
+
"annotations": [],
|
|
34450
|
+
"description": "Globally unique identifier"
|
|
34350
34451
|
}, {
|
|
34351
34452
|
"name": "organization_onboarding_state",
|
|
34352
34453
|
"type": "organization_onboarding_state",
|
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.49",
|
|
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": "5bf5109cdb6252257d20453fbdab8e9cf5a7344c"
|
|
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.23",
|
|
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.13",
|
|
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.13",
|
|
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.13",
|
|
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" : [ ],
|
|
@@ -1281,6 +1281,12 @@
|
|
|
1281
1281
|
}, {
|
|
1282
1282
|
"name" : "subcatalog_item_deleted",
|
|
1283
1283
|
"attributes" : [ ]
|
|
1284
|
+
}, {
|
|
1285
|
+
"name" : "catalog_statistics_upserted",
|
|
1286
|
+
"attributes" : [ ]
|
|
1287
|
+
}, {
|
|
1288
|
+
"name" : "catalog_statistics_deleted",
|
|
1289
|
+
"attributes" : [ ]
|
|
1284
1290
|
}, {
|
|
1285
1291
|
"name" : "channel_upserted",
|
|
1286
1292
|
"attributes" : [ ]
|
|
@@ -4835,6 +4841,9 @@
|
|
|
4835
4841
|
}, {
|
|
4836
4842
|
"name" : "duty",
|
|
4837
4843
|
"attributes" : [ ]
|
|
4844
|
+
}, {
|
|
4845
|
+
"name" : "withholding",
|
|
4846
|
+
"attributes" : [ ]
|
|
4838
4847
|
}, {
|
|
4839
4848
|
"name" : "other_adjustment",
|
|
4840
4849
|
"attributes" : [ ]
|
|
@@ -6669,6 +6678,14 @@
|
|
|
6669
6678
|
"type" : "subcatalog_item_deleted",
|
|
6670
6679
|
"attributes" : [ ],
|
|
6671
6680
|
"discriminator_value" : "subcatalog_item_deleted"
|
|
6681
|
+
}, {
|
|
6682
|
+
"type" : "catalog_statistics_upserted",
|
|
6683
|
+
"attributes" : [ ],
|
|
6684
|
+
"discriminator_value" : "catalog_statistics_upserted"
|
|
6685
|
+
}, {
|
|
6686
|
+
"type" : "catalog_statistics_deleted",
|
|
6687
|
+
"attributes" : [ ],
|
|
6688
|
+
"discriminator_value" : "catalog_statistics_deleted"
|
|
6672
6689
|
}, {
|
|
6673
6690
|
"type" : "channel_upserted",
|
|
6674
6691
|
"attributes" : [ ],
|
|
@@ -14302,6 +14319,13 @@
|
|
|
14302
14319
|
"name" : "catalog_statistics",
|
|
14303
14320
|
"plural" : "catalog_statisticses",
|
|
14304
14321
|
"fields" : [ {
|
|
14322
|
+
"name" : "id",
|
|
14323
|
+
"type" : "string",
|
|
14324
|
+
"required" : true,
|
|
14325
|
+
"attributes" : [ ],
|
|
14326
|
+
"annotations" : [ ],
|
|
14327
|
+
"description" : "Globally unique identifier"
|
|
14328
|
+
}, {
|
|
14305
14329
|
"name" : "items",
|
|
14306
14330
|
"type" : "long",
|
|
14307
14331
|
"required" : true,
|
|
@@ -14319,6 +14343,69 @@
|
|
|
14319
14343
|
"attributes" : [ ],
|
|
14320
14344
|
"interfaces" : [ ],
|
|
14321
14345
|
"description" : "Statistics covering product catalog item information, including total catalog item count, number of distinct categories, etc."
|
|
14346
|
+
}, {
|
|
14347
|
+
"name" : "catalog_statistics_deleted",
|
|
14348
|
+
"plural" : "catalog_statistics_deleteds",
|
|
14349
|
+
"fields" : [ {
|
|
14350
|
+
"name" : "event_id",
|
|
14351
|
+
"type" : "string",
|
|
14352
|
+
"required" : true,
|
|
14353
|
+
"attributes" : [ ],
|
|
14354
|
+
"annotations" : [ ]
|
|
14355
|
+
}, {
|
|
14356
|
+
"name" : "timestamp",
|
|
14357
|
+
"type" : "date-time-iso8601",
|
|
14358
|
+
"required" : true,
|
|
14359
|
+
"attributes" : [ ],
|
|
14360
|
+
"annotations" : [ ]
|
|
14361
|
+
}, {
|
|
14362
|
+
"name" : "organization",
|
|
14363
|
+
"type" : "string",
|
|
14364
|
+
"required" : true,
|
|
14365
|
+
"attributes" : [ ],
|
|
14366
|
+
"annotations" : [ ],
|
|
14367
|
+
"description" : "Refers to your organization's account identifier"
|
|
14368
|
+
}, {
|
|
14369
|
+
"name" : "id",
|
|
14370
|
+
"type" : "string",
|
|
14371
|
+
"required" : true,
|
|
14372
|
+
"attributes" : [ ],
|
|
14373
|
+
"annotations" : [ ],
|
|
14374
|
+
"description" : "Globally unique identifier"
|
|
14375
|
+
} ],
|
|
14376
|
+
"attributes" : [ ],
|
|
14377
|
+
"interfaces" : [ ]
|
|
14378
|
+
}, {
|
|
14379
|
+
"name" : "catalog_statistics_upserted",
|
|
14380
|
+
"plural" : "catalog_statistics_upserteds",
|
|
14381
|
+
"fields" : [ {
|
|
14382
|
+
"name" : "event_id",
|
|
14383
|
+
"type" : "string",
|
|
14384
|
+
"required" : true,
|
|
14385
|
+
"attributes" : [ ],
|
|
14386
|
+
"annotations" : [ ]
|
|
14387
|
+
}, {
|
|
14388
|
+
"name" : "timestamp",
|
|
14389
|
+
"type" : "date-time-iso8601",
|
|
14390
|
+
"required" : true,
|
|
14391
|
+
"attributes" : [ ],
|
|
14392
|
+
"annotations" : [ ]
|
|
14393
|
+
}, {
|
|
14394
|
+
"name" : "organization",
|
|
14395
|
+
"type" : "string",
|
|
14396
|
+
"required" : true,
|
|
14397
|
+
"attributes" : [ ],
|
|
14398
|
+
"annotations" : [ ],
|
|
14399
|
+
"description" : "Refers to your organization's account identifier"
|
|
14400
|
+
}, {
|
|
14401
|
+
"name" : "statistics",
|
|
14402
|
+
"type" : "catalog_statistics",
|
|
14403
|
+
"required" : true,
|
|
14404
|
+
"attributes" : [ ],
|
|
14405
|
+
"annotations" : [ ]
|
|
14406
|
+
} ],
|
|
14407
|
+
"attributes" : [ ],
|
|
14408
|
+
"interfaces" : [ ]
|
|
14322
14409
|
}, {
|
|
14323
14410
|
"name" : "catalog_upserted",
|
|
14324
14411
|
"plural" : "catalog_upserteds",
|
|
@@ -34304,6 +34391,13 @@
|
|
|
34304
34391
|
"name" : "organization_onboarding_state",
|
|
34305
34392
|
"plural" : "organization_onboarding_states",
|
|
34306
34393
|
"fields" : [ {
|
|
34394
|
+
"name" : "id",
|
|
34395
|
+
"type" : "string",
|
|
34396
|
+
"required" : true,
|
|
34397
|
+
"attributes" : [ ],
|
|
34398
|
+
"annotations" : [ ],
|
|
34399
|
+
"description" : "Globally unique identifier"
|
|
34400
|
+
}, {
|
|
34307
34401
|
"name" : "organization",
|
|
34308
34402
|
"type" : "organization_reference",
|
|
34309
34403
|
"required" : true,
|
|
@@ -34347,6 +34441,13 @@
|
|
|
34347
34441
|
"attributes" : [ ],
|
|
34348
34442
|
"annotations" : [ ],
|
|
34349
34443
|
"description" : "Refers to your organization's account identifier"
|
|
34444
|
+
}, {
|
|
34445
|
+
"name" : "id",
|
|
34446
|
+
"type" : "string",
|
|
34447
|
+
"required" : true,
|
|
34448
|
+
"attributes" : [ ],
|
|
34449
|
+
"annotations" : [ ],
|
|
34450
|
+
"description" : "Globally unique identifier"
|
|
34350
34451
|
}, {
|
|
34351
34452
|
"name" : "organization_onboarding_state",
|
|
34352
34453
|
"type" : "organization_onboarding_state",
|