@flowio/api-mock-generator 6.17.91 → 6.17.92

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 +183 -6
  2. package/package.json +2 -2
  3. package/src/api.json +183 -6
package/dist/api.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "apidoc": {
3
- "version": "0.19.16"
3
+ "version": "0.19.21"
4
4
  },
5
5
  "name": "API",
6
6
  "organization": {
@@ -10,7 +10,7 @@
10
10
  "key": "api"
11
11
  },
12
12
  "namespace": "io.flow.v0",
13
- "version": "0.19.16",
13
+ "version": "0.19.21",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -46,7 +46,7 @@
46
46
  "application": {
47
47
  "key": "apple-pay"
48
48
  },
49
- "version": "0.3.83",
49
+ "version": "0.3.92",
50
50
  "enums": ["apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks"],
51
51
  "interfaces": [],
52
52
  "unions": [],
@@ -61,7 +61,7 @@
61
61
  "application": {
62
62
  "key": "google-pay"
63
63
  },
64
- "version": "0.3.83",
64
+ "version": "0.3.92",
65
65
  "enums": ["auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status"],
66
66
  "interfaces": [],
67
67
  "unions": ["payment_method_token"],
@@ -76,7 +76,7 @@
76
76
  "application": {
77
77
  "key": "shopify-external"
78
78
  },
79
- "version": "0.3.83",
79
+ "version": "0.3.92",
80
80
  "enums": ["cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "graphql_weight_unit", "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_plan_name", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit"],
81
81
  "interfaces": [],
82
82
  "unions": [],
@@ -91,12 +91,27 @@
91
91
  "application": {
92
92
  "key": "ben-test-internal"
93
93
  },
94
- "version": "0.24.84",
94
+ "version": "0.25.6",
95
95
  "enums": [],
96
96
  "interfaces": ["generate_load"],
97
97
  "unions": ["generate_load"],
98
98
  "models": ["generate_load_multiple_orgs", "generate_load_single_org", "test", "test_form"],
99
99
  "annotations": []
100
+ }, {
101
+ "uri": "https://app.apibuilder.io/flow/tech-onboarding-playground/latest/service.json",
102
+ "namespace": "io.flow.tech.onboarding.playground.v0",
103
+ "organization": {
104
+ "key": "flow"
105
+ },
106
+ "application": {
107
+ "key": "tech-onboarding-playground"
108
+ },
109
+ "version": "0.25.6",
110
+ "enums": ["aldo_item_type"],
111
+ "interfaces": [],
112
+ "unions": [],
113
+ "models": ["aldo_item", "aldo_item_form", "jean_demo_item", "tech_onboarding_description"],
114
+ "annotations": []
100
115
  }],
101
116
  "enums": [{
102
117
  "name": "abandoned_order_promotion_status",
@@ -1236,6 +1251,12 @@
1236
1251
  }, {
1237
1252
  "name": "generate_load",
1238
1253
  "attributes": []
1254
+ }, {
1255
+ "name": "aldo_item_upserted",
1256
+ "attributes": []
1257
+ }, {
1258
+ "name": "aldo_item_deleted",
1259
+ "attributes": []
1239
1260
  }, {
1240
1261
  "name": "transaction_upserted",
1241
1262
  "attributes": []
@@ -7172,6 +7193,14 @@
7172
7193
  "type": "generate_load",
7173
7194
  "attributes": [],
7174
7195
  "discriminator_value": "generate_load"
7196
+ }, {
7197
+ "type": "aldo_item_upserted",
7198
+ "attributes": [],
7199
+ "discriminator_value": "aldo_item_upserted"
7200
+ }, {
7201
+ "type": "aldo_item_deleted",
7202
+ "attributes": [],
7203
+ "discriminator_value": "aldo_item_deleted"
7175
7204
  }, {
7176
7205
  "type": "transaction_upserted",
7177
7206
  "attributes": [],
@@ -10909,6 +10938,55 @@
10909
10938
  "attributes": [],
10910
10939
  "interfaces": [],
10911
10940
  "description": "This will load a hidden script from the card issuer that gathers browser metrics to inform the authorization decision. Used to initiate Checkout.create using the `threeDS2DeviceFingerprint` operation."
10941
+ }, {
10942
+ "name": "aldo_item_deleted",
10943
+ "plural": "aldo_item_deleteds",
10944
+ "fields": [{
10945
+ "name": "event_id",
10946
+ "type": "string",
10947
+ "required": true,
10948
+ "attributes": [],
10949
+ "annotations": []
10950
+ }, {
10951
+ "name": "timestamp",
10952
+ "type": "date-time-iso8601",
10953
+ "required": true,
10954
+ "attributes": [],
10955
+ "annotations": []
10956
+ }, {
10957
+ "name": "id",
10958
+ "type": "string",
10959
+ "required": true,
10960
+ "attributes": [],
10961
+ "annotations": [],
10962
+ "description": "Globally unique identifier"
10963
+ }],
10964
+ "attributes": [],
10965
+ "interfaces": []
10966
+ }, {
10967
+ "name": "aldo_item_upserted",
10968
+ "plural": "aldo_item_upserteds",
10969
+ "fields": [{
10970
+ "name": "event_id",
10971
+ "type": "string",
10972
+ "required": true,
10973
+ "attributes": [],
10974
+ "annotations": []
10975
+ }, {
10976
+ "name": "timestamp",
10977
+ "type": "date-time-iso8601",
10978
+ "required": true,
10979
+ "attributes": [],
10980
+ "annotations": []
10981
+ }, {
10982
+ "name": "item",
10983
+ "type": "io.flow.tech.onboarding.playground.v0.models.aldo_item",
10984
+ "required": true,
10985
+ "attributes": [],
10986
+ "annotations": []
10987
+ }],
10988
+ "attributes": [],
10989
+ "interfaces": []
10912
10990
  }, {
10913
10991
  "name": "allocation",
10914
10992
  "plural": "allocations",
@@ -41527,6 +41605,64 @@
41527
41605
  }],
41528
41606
  "attributes": [],
41529
41607
  "interfaces": []
41608
+ }, {
41609
+ "name": "product",
41610
+ "plural": "products",
41611
+ "fields": [{
41612
+ "name": "id",
41613
+ "type": "string",
41614
+ "required": true,
41615
+ "attributes": [],
41616
+ "annotations": [],
41617
+ "description": "Auto generated id (Primary key)"
41618
+ }, {
41619
+ "name": "organization_id",
41620
+ "type": "string",
41621
+ "required": true,
41622
+ "attributes": [],
41623
+ "annotations": []
41624
+ }, {
41625
+ "name": "number",
41626
+ "type": "string",
41627
+ "required": true,
41628
+ "attributes": [],
41629
+ "annotations": [],
41630
+ "description": "Unique product id"
41631
+ }, {
41632
+ "name": "taxonomy_category",
41633
+ "type": "product_taxonomy_category",
41634
+ "required": false,
41635
+ "attributes": [],
41636
+ "annotations": []
41637
+ }, {
41638
+ "name": "taxonomy_data",
41639
+ "type": "[product_taxonomy_data]",
41640
+ "required": false,
41641
+ "attributes": [],
41642
+ "annotations": []
41643
+ }, {
41644
+ "name": "item_numbers",
41645
+ "type": "[string]",
41646
+ "required": true,
41647
+ "attributes": [],
41648
+ "annotations": [],
41649
+ "minimum": 1
41650
+ }, {
41651
+ "name": "updated_at",
41652
+ "type": "date-time-iso8601",
41653
+ "required": true,
41654
+ "attributes": [],
41655
+ "annotations": []
41656
+ }, {
41657
+ "name": "deleted_at",
41658
+ "type": "date-time-iso8601",
41659
+ "required": false,
41660
+ "attributes": [],
41661
+ "annotations": []
41662
+ }],
41663
+ "attributes": [],
41664
+ "interfaces": [],
41665
+ "description": "The new product model which contains normalized product level details."
41530
41666
  }, {
41531
41667
  "name": "product_restriction_result",
41532
41668
  "plural": "product_restriction_results",
@@ -41667,6 +41803,47 @@
41667
41803
  }],
41668
41804
  "attributes": [],
41669
41805
  "interfaces": []
41806
+ }, {
41807
+ "name": "product_taxonomy_category",
41808
+ "plural": "product_taxonomy_categories",
41809
+ "fields": [{
41810
+ "name": "name",
41811
+ "type": "string",
41812
+ "required": true,
41813
+ "attributes": [],
41814
+ "annotations": [],
41815
+ "description": "The name of the taxonomy category. For example, Dog Beds.",
41816
+ "example": "Dog Beds"
41817
+ }, {
41818
+ "name": "fullname",
41819
+ "type": "string",
41820
+ "required": true,
41821
+ "attributes": [],
41822
+ "annotations": [],
41823
+ "description": "The full name of the taxonomy category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds."
41824
+ }],
41825
+ "attributes": [],
41826
+ "interfaces": [],
41827
+ "description": "Product taxonomy category"
41828
+ }, {
41829
+ "name": "product_taxonomy_data",
41830
+ "plural": "product_taxonomy_data",
41831
+ "fields": [{
41832
+ "name": "key",
41833
+ "type": "string",
41834
+ "required": true,
41835
+ "attributes": [],
41836
+ "annotations": []
41837
+ }, {
41838
+ "name": "value",
41839
+ "type": "[string]",
41840
+ "required": true,
41841
+ "attributes": [],
41842
+ "annotations": []
41843
+ }],
41844
+ "attributes": [],
41845
+ "interfaces": [],
41846
+ "description": "Relevant taxonomy data in key value(s) pairs"
41670
41847
  }, {
41671
41848
  "name": "promotion_trigger",
41672
41849
  "plural": "promotion_triggers",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-mock-generator",
3
- "version": "6.17.91",
3
+ "version": "6.17.92",
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": "5a525b0a21aca779c3ca5bb3f4a759c144095fd5"
31
+ "gitHead": "13edc138093b0ffde7bb465d676930ec320158dc"
32
32
  }
package/src/api.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "apidoc" : {
3
- "version" : "0.19.16"
3
+ "version" : "0.19.21"
4
4
  },
5
5
  "name" : "API",
6
6
  "organization" : {
@@ -10,7 +10,7 @@
10
10
  "key" : "api"
11
11
  },
12
12
  "namespace" : "io.flow.v0",
13
- "version" : "0.19.16",
13
+ "version" : "0.19.21",
14
14
  "info" : {
15
15
  "license" : {
16
16
  "name" : "MIT",
@@ -46,7 +46,7 @@
46
46
  "application" : {
47
47
  "key" : "apple-pay"
48
48
  },
49
- "version" : "0.3.83",
49
+ "version" : "0.3.92",
50
50
  "enums" : [ "apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks" ],
51
51
  "interfaces" : [ ],
52
52
  "unions" : [ ],
@@ -61,7 +61,7 @@
61
61
  "application" : {
62
62
  "key" : "google-pay"
63
63
  },
64
- "version" : "0.3.83",
64
+ "version" : "0.3.92",
65
65
  "enums" : [ "auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status" ],
66
66
  "interfaces" : [ ],
67
67
  "unions" : [ "payment_method_token" ],
@@ -76,7 +76,7 @@
76
76
  "application" : {
77
77
  "key" : "shopify-external"
78
78
  },
79
- "version" : "0.3.83",
79
+ "version" : "0.3.92",
80
80
  "enums" : [ "cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "graphql_weight_unit", "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_plan_name", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit" ],
81
81
  "interfaces" : [ ],
82
82
  "unions" : [ ],
@@ -91,12 +91,27 @@
91
91
  "application" : {
92
92
  "key" : "ben-test-internal"
93
93
  },
94
- "version" : "0.24.84",
94
+ "version" : "0.25.6",
95
95
  "enums" : [ ],
96
96
  "interfaces" : [ "generate_load" ],
97
97
  "unions" : [ "generate_load" ],
98
98
  "models" : [ "generate_load_multiple_orgs", "generate_load_single_org", "test", "test_form" ],
99
99
  "annotations" : [ ]
100
+ }, {
101
+ "uri" : "https://app.apibuilder.io/flow/tech-onboarding-playground/latest/service.json",
102
+ "namespace" : "io.flow.tech.onboarding.playground.v0",
103
+ "organization" : {
104
+ "key" : "flow"
105
+ },
106
+ "application" : {
107
+ "key" : "tech-onboarding-playground"
108
+ },
109
+ "version" : "0.25.6",
110
+ "enums" : [ "aldo_item_type" ],
111
+ "interfaces" : [ ],
112
+ "unions" : [ ],
113
+ "models" : [ "aldo_item", "aldo_item_form", "jean_demo_item", "tech_onboarding_description" ],
114
+ "annotations" : [ ]
100
115
  } ],
101
116
  "enums" : [ {
102
117
  "name" : "abandoned_order_promotion_status",
@@ -1236,6 +1251,12 @@
1236
1251
  }, {
1237
1252
  "name" : "generate_load",
1238
1253
  "attributes" : [ ]
1254
+ }, {
1255
+ "name" : "aldo_item_upserted",
1256
+ "attributes" : [ ]
1257
+ }, {
1258
+ "name" : "aldo_item_deleted",
1259
+ "attributes" : [ ]
1239
1260
  }, {
1240
1261
  "name" : "transaction_upserted",
1241
1262
  "attributes" : [ ]
@@ -7172,6 +7193,14 @@
7172
7193
  "type" : "generate_load",
7173
7194
  "attributes" : [ ],
7174
7195
  "discriminator_value" : "generate_load"
7196
+ }, {
7197
+ "type" : "aldo_item_upserted",
7198
+ "attributes" : [ ],
7199
+ "discriminator_value" : "aldo_item_upserted"
7200
+ }, {
7201
+ "type" : "aldo_item_deleted",
7202
+ "attributes" : [ ],
7203
+ "discriminator_value" : "aldo_item_deleted"
7175
7204
  }, {
7176
7205
  "type" : "transaction_upserted",
7177
7206
  "attributes" : [ ],
@@ -10909,6 +10938,55 @@
10909
10938
  "attributes" : [ ],
10910
10939
  "interfaces" : [ ],
10911
10940
  "description" : "This will load a hidden script from the card issuer that gathers browser metrics to inform the authorization decision. Used to initiate Checkout.create using the `threeDS2DeviceFingerprint` operation."
10941
+ }, {
10942
+ "name" : "aldo_item_deleted",
10943
+ "plural" : "aldo_item_deleteds",
10944
+ "fields" : [ {
10945
+ "name" : "event_id",
10946
+ "type" : "string",
10947
+ "required" : true,
10948
+ "attributes" : [ ],
10949
+ "annotations" : [ ]
10950
+ }, {
10951
+ "name" : "timestamp",
10952
+ "type" : "date-time-iso8601",
10953
+ "required" : true,
10954
+ "attributes" : [ ],
10955
+ "annotations" : [ ]
10956
+ }, {
10957
+ "name" : "id",
10958
+ "type" : "string",
10959
+ "required" : true,
10960
+ "attributes" : [ ],
10961
+ "annotations" : [ ],
10962
+ "description" : "Globally unique identifier"
10963
+ } ],
10964
+ "attributes" : [ ],
10965
+ "interfaces" : [ ]
10966
+ }, {
10967
+ "name" : "aldo_item_upserted",
10968
+ "plural" : "aldo_item_upserteds",
10969
+ "fields" : [ {
10970
+ "name" : "event_id",
10971
+ "type" : "string",
10972
+ "required" : true,
10973
+ "attributes" : [ ],
10974
+ "annotations" : [ ]
10975
+ }, {
10976
+ "name" : "timestamp",
10977
+ "type" : "date-time-iso8601",
10978
+ "required" : true,
10979
+ "attributes" : [ ],
10980
+ "annotations" : [ ]
10981
+ }, {
10982
+ "name" : "item",
10983
+ "type" : "io.flow.tech.onboarding.playground.v0.models.aldo_item",
10984
+ "required" : true,
10985
+ "attributes" : [ ],
10986
+ "annotations" : [ ]
10987
+ } ],
10988
+ "attributes" : [ ],
10989
+ "interfaces" : [ ]
10912
10990
  }, {
10913
10991
  "name" : "allocation",
10914
10992
  "plural" : "allocations",
@@ -41527,6 +41605,64 @@
41527
41605
  } ],
41528
41606
  "attributes" : [ ],
41529
41607
  "interfaces" : [ ]
41608
+ }, {
41609
+ "name" : "product",
41610
+ "plural" : "products",
41611
+ "fields" : [ {
41612
+ "name" : "id",
41613
+ "type" : "string",
41614
+ "required" : true,
41615
+ "attributes" : [ ],
41616
+ "annotations" : [ ],
41617
+ "description" : "Auto generated id (Primary key)"
41618
+ }, {
41619
+ "name" : "organization_id",
41620
+ "type" : "string",
41621
+ "required" : true,
41622
+ "attributes" : [ ],
41623
+ "annotations" : [ ]
41624
+ }, {
41625
+ "name" : "number",
41626
+ "type" : "string",
41627
+ "required" : true,
41628
+ "attributes" : [ ],
41629
+ "annotations" : [ ],
41630
+ "description" : "Unique product id"
41631
+ }, {
41632
+ "name" : "taxonomy_category",
41633
+ "type" : "product_taxonomy_category",
41634
+ "required" : false,
41635
+ "attributes" : [ ],
41636
+ "annotations" : [ ]
41637
+ }, {
41638
+ "name" : "taxonomy_data",
41639
+ "type" : "[product_taxonomy_data]",
41640
+ "required" : false,
41641
+ "attributes" : [ ],
41642
+ "annotations" : [ ]
41643
+ }, {
41644
+ "name" : "item_numbers",
41645
+ "type" : "[string]",
41646
+ "required" : true,
41647
+ "attributes" : [ ],
41648
+ "annotations" : [ ],
41649
+ "minimum" : 1
41650
+ }, {
41651
+ "name" : "updated_at",
41652
+ "type" : "date-time-iso8601",
41653
+ "required" : true,
41654
+ "attributes" : [ ],
41655
+ "annotations" : [ ]
41656
+ }, {
41657
+ "name" : "deleted_at",
41658
+ "type" : "date-time-iso8601",
41659
+ "required" : false,
41660
+ "attributes" : [ ],
41661
+ "annotations" : [ ]
41662
+ } ],
41663
+ "attributes" : [ ],
41664
+ "interfaces" : [ ],
41665
+ "description" : "The new product model which contains normalized product level details."
41530
41666
  }, {
41531
41667
  "name" : "product_restriction_result",
41532
41668
  "plural" : "product_restriction_results",
@@ -41667,6 +41803,47 @@
41667
41803
  } ],
41668
41804
  "attributes" : [ ],
41669
41805
  "interfaces" : [ ]
41806
+ }, {
41807
+ "name" : "product_taxonomy_category",
41808
+ "plural" : "product_taxonomy_categories",
41809
+ "fields" : [ {
41810
+ "name" : "name",
41811
+ "type" : "string",
41812
+ "required" : true,
41813
+ "attributes" : [ ],
41814
+ "annotations" : [ ],
41815
+ "description" : "The name of the taxonomy category. For example, Dog Beds.",
41816
+ "example" : "Dog Beds"
41817
+ }, {
41818
+ "name" : "fullname",
41819
+ "type" : "string",
41820
+ "required" : true,
41821
+ "attributes" : [ ],
41822
+ "annotations" : [ ],
41823
+ "description" : "The full name of the taxonomy category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds."
41824
+ } ],
41825
+ "attributes" : [ ],
41826
+ "interfaces" : [ ],
41827
+ "description" : "Product taxonomy category"
41828
+ }, {
41829
+ "name" : "product_taxonomy_data",
41830
+ "plural" : "product_taxonomy_data",
41831
+ "fields" : [ {
41832
+ "name" : "key",
41833
+ "type" : "string",
41834
+ "required" : true,
41835
+ "attributes" : [ ],
41836
+ "annotations" : [ ]
41837
+ }, {
41838
+ "name" : "value",
41839
+ "type" : "[string]",
41840
+ "required" : true,
41841
+ "attributes" : [ ],
41842
+ "annotations" : [ ]
41843
+ } ],
41844
+ "attributes" : [ ],
41845
+ "interfaces" : [ ],
41846
+ "description" : "Relevant taxonomy data in key value(s) pairs"
41670
41847
  }, {
41671
41848
  "name" : "promotion_trigger",
41672
41849
  "plural" : "promotion_triggers",