@flowio/api-mock-generator 6.17.104 → 6.17.105

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 +12 -81
  2. package/package.json +2 -2
  3. package/src/api.json +12 -81
package/dist/api.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "key": "api"
8
8
  },
9
9
  "namespace": "io.flow.v0",
10
- "version": "0.20.54",
10
+ "version": "0.20.57",
11
11
  "info": {
12
12
  "license": {
13
13
  "name": "MIT",
@@ -28,7 +28,7 @@
28
28
  "application": {
29
29
  "key": "channel-internal"
30
30
  },
31
- "version": "0.27.35",
31
+ "version": "0.27.44",
32
32
  "enums": ["channel_order_acceptance_error_action", "channel_order_acceptance_failure_reason_code", "channel_order_acceptance_next_action_from", "channel_order_acceptance_rejection_reason", "channel_order_acceptance_status", "order_payment_source_type"],
33
33
  "interfaces": [],
34
34
  "unions": [],
@@ -43,7 +43,7 @@
43
43
  "application": {
44
44
  "key": "apple-pay"
45
45
  },
46
- "version": "0.4.49",
46
+ "version": "0.4.50",
47
47
  "enums": ["apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks"],
48
48
  "interfaces": [],
49
49
  "unions": [],
@@ -58,7 +58,7 @@
58
58
  "application": {
59
59
  "key": "google-pay"
60
60
  },
61
- "version": "0.4.49",
61
+ "version": "0.4.50",
62
62
  "enums": ["auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status"],
63
63
  "interfaces": [],
64
64
  "unions": ["payment_method_token"],
@@ -73,7 +73,7 @@
73
73
  "application": {
74
74
  "key": "shopify-external"
75
75
  },
76
- "version": "0.4.49",
76
+ "version": "0.4.50",
77
77
  "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"],
78
78
  "interfaces": [],
79
79
  "unions": [],
@@ -25071,6 +25071,12 @@
25071
25071
  "required": false,
25072
25072
  "attributes": [],
25073
25073
  "annotations": []
25074
+ }, {
25075
+ "name": "product_url",
25076
+ "type": "string",
25077
+ "required": false,
25078
+ "attributes": [],
25079
+ "annotations": []
25074
25080
  }],
25075
25081
  "attributes": [],
25076
25082
  "interfaces": []
@@ -69247,81 +69253,6 @@
69247
69253
  }],
69248
69254
  "path": "/:organization/consumer/invoices",
69249
69255
  "description": "The consumer invoice represents the details of a set of items from a given order. This may represent either the full order or a partial fulfillment."
69250
- }, {
69251
- "type": "consumer_invoice_document",
69252
- "plural": "consumer_invoice_documents",
69253
- "operations": [{
69254
- "method": "GET",
69255
- "path": "/consumer/invoice/document/tokens/:token/type/:type",
69256
- "parameters": [{
69257
- "name": "token",
69258
- "type": "string",
69259
- "location": "Path",
69260
- "required": true
69261
- }, {
69262
- "name": "type",
69263
- "type": "consumer_invoice_document_type",
69264
- "location": "Path",
69265
- "required": true
69266
- }, {
69267
- "name": "language",
69268
- "type": "string",
69269
- "location": "Query",
69270
- "required": false,
69271
- "description": "Optional language for the invoice",
69272
- "example": "'en' or 'fr'"
69273
- }],
69274
- "responses": [{
69275
- "code": {
69276
- "integer": {
69277
- "value": 200
69278
- }
69279
- },
69280
- "type": "consumer_invoice_document",
69281
- "description": "Successful response",
69282
- "attributes": []
69283
- }, {
69284
- "code": {
69285
- "integer": {
69286
- "value": 401
69287
- }
69288
- },
69289
- "type": "unit",
69290
- "description": "Authorization failed",
69291
- "attributes": []
69292
- }, {
69293
- "code": {
69294
- "integer": {
69295
- "value": 404
69296
- }
69297
- },
69298
- "type": "unit",
69299
- "description": "Resource was not found",
69300
- "attributes": []
69301
- }, {
69302
- "code": {
69303
- "integer": {
69304
- "value": 422
69305
- }
69306
- },
69307
- "type": "generic_error",
69308
- "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.",
69309
- "attributes": []
69310
- }],
69311
- "attributes": [{
69312
- "name": "linter",
69313
- "value": {
69314
- "ignore": ["versions"]
69315
- }
69316
- }]
69317
- }],
69318
- "attributes": [{
69319
- "name": "docs",
69320
- "value": {
69321
- "module": "general"
69322
- }
69323
- }],
69324
- "path": "/consumer/invoice/document"
69325
69256
  }, {
69326
69257
  "type": "country_of_origin",
69327
69258
  "plural": "country_of_origins",
@@ -80692,7 +80623,7 @@
80692
80623
  "description": "Identifies a field that contains data that must be handled in a way that is compliant with the PCI standard."
80693
80624
  }],
80694
80625
  "apidoc": {
80695
- "version": "0.20.54"
80626
+ "version": "0.20.57"
80696
80627
  },
80697
80628
  "base_url": "https://api.flow.io",
80698
80629
  "description": "The Flow Commerce REST API provides full access to the global ecommerce platform."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-mock-generator",
3
- "version": "6.17.104",
3
+ "version": "6.17.105",
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": "2632f6e2c71eb30e4e61bee087ba63be6ae0f4bc"
31
+ "gitHead": "303d0c0519735bb00069173b130ffc2680e7f93b"
32
32
  }
package/src/api.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "key" : "api"
8
8
  },
9
9
  "namespace" : "io.flow.v0",
10
- "version" : "0.20.54",
10
+ "version" : "0.20.57",
11
11
  "info" : {
12
12
  "license" : {
13
13
  "name" : "MIT",
@@ -28,7 +28,7 @@
28
28
  "application" : {
29
29
  "key" : "channel-internal"
30
30
  },
31
- "version" : "0.27.35",
31
+ "version" : "0.27.44",
32
32
  "enums" : [ "channel_order_acceptance_error_action", "channel_order_acceptance_failure_reason_code", "channel_order_acceptance_next_action_from", "channel_order_acceptance_rejection_reason", "channel_order_acceptance_status", "order_payment_source_type" ],
33
33
  "interfaces" : [ ],
34
34
  "unions" : [ ],
@@ -43,7 +43,7 @@
43
43
  "application" : {
44
44
  "key" : "apple-pay"
45
45
  },
46
- "version" : "0.4.49",
46
+ "version" : "0.4.50",
47
47
  "enums" : [ "apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks" ],
48
48
  "interfaces" : [ ],
49
49
  "unions" : [ ],
@@ -58,7 +58,7 @@
58
58
  "application" : {
59
59
  "key" : "google-pay"
60
60
  },
61
- "version" : "0.4.49",
61
+ "version" : "0.4.50",
62
62
  "enums" : [ "auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status" ],
63
63
  "interfaces" : [ ],
64
64
  "unions" : [ "payment_method_token" ],
@@ -73,7 +73,7 @@
73
73
  "application" : {
74
74
  "key" : "shopify-external"
75
75
  },
76
- "version" : "0.4.49",
76
+ "version" : "0.4.50",
77
77
  "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" ],
78
78
  "interfaces" : [ ],
79
79
  "unions" : [ ],
@@ -25071,6 +25071,12 @@
25071
25071
  "required" : false,
25072
25072
  "attributes" : [ ],
25073
25073
  "annotations" : [ ]
25074
+ }, {
25075
+ "name" : "product_url",
25076
+ "type" : "string",
25077
+ "required" : false,
25078
+ "attributes" : [ ],
25079
+ "annotations" : [ ]
25074
25080
  } ],
25075
25081
  "attributes" : [ ],
25076
25082
  "interfaces" : [ ]
@@ -69247,81 +69253,6 @@
69247
69253
  } ],
69248
69254
  "path" : "/:organization/consumer/invoices",
69249
69255
  "description" : "The consumer invoice represents the details of a set of items from a given order. This may represent either the full order or a partial fulfillment."
69250
- }, {
69251
- "type" : "consumer_invoice_document",
69252
- "plural" : "consumer_invoice_documents",
69253
- "operations" : [ {
69254
- "method" : "GET",
69255
- "path" : "/consumer/invoice/document/tokens/:token/type/:type",
69256
- "parameters" : [ {
69257
- "name" : "token",
69258
- "type" : "string",
69259
- "location" : "Path",
69260
- "required" : true
69261
- }, {
69262
- "name" : "type",
69263
- "type" : "consumer_invoice_document_type",
69264
- "location" : "Path",
69265
- "required" : true
69266
- }, {
69267
- "name" : "language",
69268
- "type" : "string",
69269
- "location" : "Query",
69270
- "required" : false,
69271
- "description" : "Optional language for the invoice",
69272
- "example" : "'en' or 'fr'"
69273
- } ],
69274
- "responses" : [ {
69275
- "code" : {
69276
- "integer" : {
69277
- "value" : 200
69278
- }
69279
- },
69280
- "type" : "consumer_invoice_document",
69281
- "description" : "Successful response",
69282
- "attributes" : [ ]
69283
- }, {
69284
- "code" : {
69285
- "integer" : {
69286
- "value" : 401
69287
- }
69288
- },
69289
- "type" : "unit",
69290
- "description" : "Authorization failed",
69291
- "attributes" : [ ]
69292
- }, {
69293
- "code" : {
69294
- "integer" : {
69295
- "value" : 404
69296
- }
69297
- },
69298
- "type" : "unit",
69299
- "description" : "Resource was not found",
69300
- "attributes" : [ ]
69301
- }, {
69302
- "code" : {
69303
- "integer" : {
69304
- "value" : 422
69305
- }
69306
- },
69307
- "type" : "generic_error",
69308
- "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.",
69309
- "attributes" : [ ]
69310
- } ],
69311
- "attributes" : [ {
69312
- "name" : "linter",
69313
- "value" : {
69314
- "ignore" : [ "versions" ]
69315
- }
69316
- } ]
69317
- } ],
69318
- "attributes" : [ {
69319
- "name" : "docs",
69320
- "value" : {
69321
- "module" : "general"
69322
- }
69323
- } ],
69324
- "path" : "/consumer/invoice/document"
69325
69256
  }, {
69326
69257
  "type" : "country_of_origin",
69327
69258
  "plural" : "country_of_origins",
@@ -80692,7 +80623,7 @@
80692
80623
  "description" : "Identifies a field that contains data that must be handled in a way that is compliant with the PCI standard."
80693
80624
  } ],
80694
80625
  "apidoc" : {
80695
- "version" : "0.20.54"
80626
+ "version" : "0.20.57"
80696
80627
  },
80697
80628
  "base_url" : "https://api.flow.io",
80698
80629
  "description" : "The Flow Commerce REST API provides full access to the global ecommerce platform."