@flowio/api-mock-generator 6.17.104 → 6.17.106

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 +57 -81
  2. package/package.json +2 -2
  3. package/src/api.json +57 -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.58",
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.47",
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": [],
@@ -7412,6 +7412,10 @@
7412
7412
  "type": "consumer_invoice_line_shipping",
7413
7413
  "attributes": [],
7414
7414
  "discriminator_value": "shipping"
7415
+ }, {
7416
+ "type": "consumer_invoice_line_tip",
7417
+ "attributes": [],
7418
+ "discriminator_value": "tip"
7415
7419
  }],
7416
7420
  "attributes": [],
7417
7421
  "interfaces": [],
@@ -7431,6 +7435,10 @@
7431
7435
  "type": "consumer_invoice_line_shipping_form",
7432
7436
  "attributes": [],
7433
7437
  "discriminator_value": "shipping"
7438
+ }, {
7439
+ "type": "consumer_invoice_line_tip_form",
7440
+ "attributes": [],
7441
+ "discriminator_value": "tip"
7434
7442
  }],
7435
7443
  "attributes": [],
7436
7444
  "interfaces": [],
@@ -18301,6 +18309,43 @@
18301
18309
  }],
18302
18310
  "attributes": [],
18303
18311
  "interfaces": []
18312
+ }, {
18313
+ "name": "consumer_invoice_line_tip",
18314
+ "plural": "consumer_invoice_line_tips",
18315
+ "fields": [{
18316
+ "name": "price",
18317
+ "type": "price",
18318
+ "required": true,
18319
+ "attributes": [],
18320
+ "annotations": []
18321
+ }, {
18322
+ "name": "tax",
18323
+ "type": "consumer_invoice_levy",
18324
+ "required": false,
18325
+ "attributes": [],
18326
+ "annotations": []
18327
+ }],
18328
+ "attributes": [],
18329
+ "interfaces": []
18330
+ }, {
18331
+ "name": "consumer_invoice_line_tip_form",
18332
+ "plural": "consumer_invoice_line_tip_forms",
18333
+ "fields": [{
18334
+ "name": "price",
18335
+ "type": "decimal",
18336
+ "required": true,
18337
+ "attributes": [],
18338
+ "annotations": [],
18339
+ "description": "The value of the tip"
18340
+ }, {
18341
+ "name": "tax",
18342
+ "type": "consumer_invoice_levy_form",
18343
+ "required": false,
18344
+ "attributes": [],
18345
+ "annotations": []
18346
+ }],
18347
+ "attributes": [],
18348
+ "interfaces": []
18304
18349
  }, {
18305
18350
  "name": "consumer_invoice_order_summary",
18306
18351
  "plural": "consumer_invoice_order_summaries",
@@ -25071,6 +25116,12 @@
25071
25116
  "required": false,
25072
25117
  "attributes": [],
25073
25118
  "annotations": []
25119
+ }, {
25120
+ "name": "product_url",
25121
+ "type": "string",
25122
+ "required": false,
25123
+ "attributes": [],
25124
+ "annotations": []
25074
25125
  }],
25075
25126
  "attributes": [],
25076
25127
  "interfaces": []
@@ -69247,81 +69298,6 @@
69247
69298
  }],
69248
69299
  "path": "/:organization/consumer/invoices",
69249
69300
  "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
69301
  }, {
69326
69302
  "type": "country_of_origin",
69327
69303
  "plural": "country_of_origins",
@@ -80692,7 +80668,7 @@
80692
80668
  "description": "Identifies a field that contains data that must be handled in a way that is compliant with the PCI standard."
80693
80669
  }],
80694
80670
  "apidoc": {
80695
- "version": "0.20.54"
80671
+ "version": "0.20.58"
80696
80672
  },
80697
80673
  "base_url": "https://api.flow.io",
80698
80674
  "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.106",
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": "5c6b5f5cb926cc945c9f4291efe22dedfde83355"
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.58",
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.47",
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" : [ ],
@@ -7412,6 +7412,10 @@
7412
7412
  "type" : "consumer_invoice_line_shipping",
7413
7413
  "attributes" : [ ],
7414
7414
  "discriminator_value" : "shipping"
7415
+ }, {
7416
+ "type" : "consumer_invoice_line_tip",
7417
+ "attributes" : [ ],
7418
+ "discriminator_value" : "tip"
7415
7419
  } ],
7416
7420
  "attributes" : [ ],
7417
7421
  "interfaces" : [ ],
@@ -7431,6 +7435,10 @@
7431
7435
  "type" : "consumer_invoice_line_shipping_form",
7432
7436
  "attributes" : [ ],
7433
7437
  "discriminator_value" : "shipping"
7438
+ }, {
7439
+ "type" : "consumer_invoice_line_tip_form",
7440
+ "attributes" : [ ],
7441
+ "discriminator_value" : "tip"
7434
7442
  } ],
7435
7443
  "attributes" : [ ],
7436
7444
  "interfaces" : [ ],
@@ -18301,6 +18309,43 @@
18301
18309
  } ],
18302
18310
  "attributes" : [ ],
18303
18311
  "interfaces" : [ ]
18312
+ }, {
18313
+ "name" : "consumer_invoice_line_tip",
18314
+ "plural" : "consumer_invoice_line_tips",
18315
+ "fields" : [ {
18316
+ "name" : "price",
18317
+ "type" : "price",
18318
+ "required" : true,
18319
+ "attributes" : [ ],
18320
+ "annotations" : [ ]
18321
+ }, {
18322
+ "name" : "tax",
18323
+ "type" : "consumer_invoice_levy",
18324
+ "required" : false,
18325
+ "attributes" : [ ],
18326
+ "annotations" : [ ]
18327
+ } ],
18328
+ "attributes" : [ ],
18329
+ "interfaces" : [ ]
18330
+ }, {
18331
+ "name" : "consumer_invoice_line_tip_form",
18332
+ "plural" : "consumer_invoice_line_tip_forms",
18333
+ "fields" : [ {
18334
+ "name" : "price",
18335
+ "type" : "decimal",
18336
+ "required" : true,
18337
+ "attributes" : [ ],
18338
+ "annotations" : [ ],
18339
+ "description" : "The value of the tip"
18340
+ }, {
18341
+ "name" : "tax",
18342
+ "type" : "consumer_invoice_levy_form",
18343
+ "required" : false,
18344
+ "attributes" : [ ],
18345
+ "annotations" : [ ]
18346
+ } ],
18347
+ "attributes" : [ ],
18348
+ "interfaces" : [ ]
18304
18349
  }, {
18305
18350
  "name" : "consumer_invoice_order_summary",
18306
18351
  "plural" : "consumer_invoice_order_summaries",
@@ -25071,6 +25116,12 @@
25071
25116
  "required" : false,
25072
25117
  "attributes" : [ ],
25073
25118
  "annotations" : [ ]
25119
+ }, {
25120
+ "name" : "product_url",
25121
+ "type" : "string",
25122
+ "required" : false,
25123
+ "attributes" : [ ],
25124
+ "annotations" : [ ]
25074
25125
  } ],
25075
25126
  "attributes" : [ ],
25076
25127
  "interfaces" : [ ]
@@ -69247,81 +69298,6 @@
69247
69298
  } ],
69248
69299
  "path" : "/:organization/consumer/invoices",
69249
69300
  "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
69301
  }, {
69326
69302
  "type" : "country_of_origin",
69327
69303
  "plural" : "country_of_origins",
@@ -80692,7 +80668,7 @@
80692
80668
  "description" : "Identifies a field that contains data that must be handled in a way that is compliant with the PCI standard."
80693
80669
  } ],
80694
80670
  "apidoc" : {
80695
- "version" : "0.20.54"
80671
+ "version" : "0.20.58"
80696
80672
  },
80697
80673
  "base_url" : "https://api.flow.io",
80698
80674
  "description" : "The Flow Commerce REST API provides full access to the global ecommerce platform."