@flowio/api-mock-generator 6.17.49 → 6.17.50

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 +159 -6
  2. package/package.json +2 -2
  3. package/src/api.json +159 -6
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.23",
13
+ "version": "0.17.27",
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.13",
34
+ "version": "0.3.14",
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.13",
49
+ "version": "0.3.14",
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.13",
64
+ "version": "0.3.14",
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": [],
@@ -1728,6 +1728,9 @@
1728
1728
  }, {
1729
1729
  "name": "payment_request_upserted",
1730
1730
  "attributes": []
1731
+ }, {
1732
+ "name": "payment_request_deleted",
1733
+ "attributes": []
1731
1734
  }, {
1732
1735
  "name": "price_book_upserted",
1733
1736
  "attributes": []
@@ -5936,6 +5939,17 @@
5936
5939
  "description": "Items included in the package, if available."
5937
5940
  }],
5938
5941
  "attributes": []
5942
+ }, {
5943
+ "name": "shipping_label_form_interface",
5944
+ "plural": "shipping_label_form_interfaces",
5945
+ "fields": [{
5946
+ "name": "order_number",
5947
+ "type": "string",
5948
+ "required": true,
5949
+ "attributes": [],
5950
+ "annotations": []
5951
+ }],
5952
+ "attributes": []
5939
5953
  }, {
5940
5954
  "name": "sync_pending_record_interface",
5941
5955
  "plural": "sync_pending_record_interfaces",
@@ -7275,6 +7289,10 @@
7275
7289
  "type": "payment_request_upserted",
7276
7290
  "attributes": [],
7277
7291
  "discriminator_value": "payment_request_upserted"
7292
+ }, {
7293
+ "type": "payment_request_deleted",
7294
+ "attributes": [],
7295
+ "discriminator_value": "payment_request_deleted"
7278
7296
  }, {
7279
7297
  "type": "price_book_upserted",
7280
7298
  "attributes": [],
@@ -8581,9 +8599,13 @@
8581
8599
  "type": "summary_shipping_label_form",
8582
8600
  "attributes": [],
8583
8601
  "discriminator_value": "summary_shipping_label_form"
8602
+ }, {
8603
+ "type": "bridge_shipping_label_form",
8604
+ "attributes": [],
8605
+ "discriminator_value": "bridge_shipping_label_form"
8584
8606
  }],
8585
8607
  "attributes": [],
8586
- "interfaces": [],
8608
+ "interfaces": ["shipping_label_form_interface"],
8587
8609
  "discriminator": "discriminator",
8588
8610
  "description": "Different models for forms to create shipping labels"
8589
8611
  }, {
@@ -12390,6 +12412,42 @@
12390
12412
  }],
12391
12413
  "attributes": [],
12392
12414
  "interfaces": []
12415
+ }, {
12416
+ "name": "bridge_shipping_label_form",
12417
+ "plural": "bridge_shipping_label_forms",
12418
+ "fields": [{
12419
+ "name": "order_number",
12420
+ "type": "string",
12421
+ "required": true,
12422
+ "attributes": [],
12423
+ "annotations": [],
12424
+ "description": "Order number/key of the client organization. This will allow Flow to tie and track a label to a submitted order, if applicable."
12425
+ }, {
12426
+ "name": "items",
12427
+ "type": "[line_item_form]",
12428
+ "required": false,
12429
+ "attributes": [],
12430
+ "annotations": [],
12431
+ "description": "List of items and quantities going into this shipment",
12432
+ "minimum": 1
12433
+ }, {
12434
+ "name": "package",
12435
+ "type": "shipping_label_package",
12436
+ "required": false,
12437
+ "attributes": [],
12438
+ "annotations": [],
12439
+ "description": "Package to be shipped, including dimensions and items included"
12440
+ }, {
12441
+ "name": "origin",
12442
+ "type": "shipping_address",
12443
+ "required": false,
12444
+ "attributes": [],
12445
+ "annotations": ["personal_data", "consumer"],
12446
+ "description": "Origin contact information and structured address"
12447
+ }],
12448
+ "attributes": [],
12449
+ "interfaces": [],
12450
+ "description": "Form to create a shipping label via the GLBE Bridge."
12393
12451
  }, {
12394
12452
  "name": "browse_optin_responses",
12395
12453
  "plural": "browse_optin_responses",
@@ -19251,7 +19309,7 @@
19251
19309
  }, {
19252
19310
  "name": "order_number",
19253
19311
  "type": "string",
19254
- "required": false,
19312
+ "required": true,
19255
19313
  "attributes": [],
19256
19314
  "annotations": [],
19257
19315
  "description": "Order number/key of the client organization. This will allow Flow to tie and track a label to a submitted order, if applicable."
@@ -37657,6 +37715,38 @@
37657
37715
  }],
37658
37716
  "attributes": [],
37659
37717
  "interfaces": []
37718
+ }, {
37719
+ "name": "payment_request_deleted",
37720
+ "plural": "payment_request_deleteds",
37721
+ "fields": [{
37722
+ "name": "event_id",
37723
+ "type": "string",
37724
+ "required": true,
37725
+ "attributes": [],
37726
+ "annotations": []
37727
+ }, {
37728
+ "name": "timestamp",
37729
+ "type": "date-time-iso8601",
37730
+ "required": true,
37731
+ "attributes": [],
37732
+ "annotations": []
37733
+ }, {
37734
+ "name": "organization",
37735
+ "type": "string",
37736
+ "required": true,
37737
+ "attributes": [],
37738
+ "annotations": [],
37739
+ "description": "Refers to your organization's account identifier"
37740
+ }, {
37741
+ "name": "id",
37742
+ "type": "string",
37743
+ "required": true,
37744
+ "attributes": [],
37745
+ "annotations": [],
37746
+ "description": "Globally unique identifier"
37747
+ }],
37748
+ "attributes": [],
37749
+ "interfaces": []
37660
37750
  }, {
37661
37751
  "name": "payment_request_form",
37662
37752
  "plural": "payment_request_forms",
@@ -95908,6 +95998,69 @@
95908
95998
  }
95909
95999
  }],
95910
96000
  "path": "/:organization/billing/transactions"
96001
+ }, {
96002
+ "type": "ultimate_beneficiary_owner",
96003
+ "plural": "ultimate_beneficiary_owners",
96004
+ "operations": [{
96005
+ "method": "PUT",
96006
+ "path": "/:organization/shopify/merchant/config/ultimate/beneficiary/owner",
96007
+ "parameters": [{
96008
+ "name": "organization",
96009
+ "type": "string",
96010
+ "location": "Path",
96011
+ "required": true,
96012
+ "description": "Refers to your organization's account identifier"
96013
+ }],
96014
+ "responses": [{
96015
+ "code": {
96016
+ "integer": {
96017
+ "value": 200
96018
+ }
96019
+ },
96020
+ "type": "ultimate_beneficiary_owner",
96021
+ "description": "Successful response",
96022
+ "attributes": []
96023
+ }, {
96024
+ "code": {
96025
+ "integer": {
96026
+ "value": 401
96027
+ }
96028
+ },
96029
+ "type": "unit",
96030
+ "description": "Authorization failed",
96031
+ "attributes": []
96032
+ }, {
96033
+ "code": {
96034
+ "integer": {
96035
+ "value": 404
96036
+ }
96037
+ },
96038
+ "type": "unit",
96039
+ "description": "Resource was not found",
96040
+ "attributes": []
96041
+ }, {
96042
+ "code": {
96043
+ "integer": {
96044
+ "value": 422
96045
+ }
96046
+ },
96047
+ "type": "generic_error",
96048
+ "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.",
96049
+ "attributes": []
96050
+ }],
96051
+ "attributes": [],
96052
+ "body": {
96053
+ "type": "ultimate_beneficiary_owner",
96054
+ "attributes": []
96055
+ }
96056
+ }],
96057
+ "attributes": [{
96058
+ "name": "docs",
96059
+ "value": {
96060
+ "module": "general"
96061
+ }
96062
+ }],
96063
+ "path": "/:organization/shopify/merchant/config/ultimate/beneficiary/owner"
95911
96064
  }, {
95912
96065
  "type": "upload",
95913
96066
  "plural": "uploads",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-mock-generator",
3
- "version": "6.17.49",
3
+ "version": "6.17.50",
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": "5bf5109cdb6252257d20453fbdab8e9cf5a7344c"
31
+ "gitHead": "bc548be3553cff4232e1a8c5d37e7a2baeab2c73"
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.23",
13
+ "version" : "0.17.27",
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.13",
34
+ "version" : "0.3.14",
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.13",
49
+ "version" : "0.3.14",
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.13",
64
+ "version" : "0.3.14",
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" : [ ],
@@ -1728,6 +1728,9 @@
1728
1728
  }, {
1729
1729
  "name" : "payment_request_upserted",
1730
1730
  "attributes" : [ ]
1731
+ }, {
1732
+ "name" : "payment_request_deleted",
1733
+ "attributes" : [ ]
1731
1734
  }, {
1732
1735
  "name" : "price_book_upserted",
1733
1736
  "attributes" : [ ]
@@ -5936,6 +5939,17 @@
5936
5939
  "description" : "Items included in the package, if available."
5937
5940
  } ],
5938
5941
  "attributes" : [ ]
5942
+ }, {
5943
+ "name" : "shipping_label_form_interface",
5944
+ "plural" : "shipping_label_form_interfaces",
5945
+ "fields" : [ {
5946
+ "name" : "order_number",
5947
+ "type" : "string",
5948
+ "required" : true,
5949
+ "attributes" : [ ],
5950
+ "annotations" : [ ]
5951
+ } ],
5952
+ "attributes" : [ ]
5939
5953
  }, {
5940
5954
  "name" : "sync_pending_record_interface",
5941
5955
  "plural" : "sync_pending_record_interfaces",
@@ -7275,6 +7289,10 @@
7275
7289
  "type" : "payment_request_upserted",
7276
7290
  "attributes" : [ ],
7277
7291
  "discriminator_value" : "payment_request_upserted"
7292
+ }, {
7293
+ "type" : "payment_request_deleted",
7294
+ "attributes" : [ ],
7295
+ "discriminator_value" : "payment_request_deleted"
7278
7296
  }, {
7279
7297
  "type" : "price_book_upserted",
7280
7298
  "attributes" : [ ],
@@ -8581,9 +8599,13 @@
8581
8599
  "type" : "summary_shipping_label_form",
8582
8600
  "attributes" : [ ],
8583
8601
  "discriminator_value" : "summary_shipping_label_form"
8602
+ }, {
8603
+ "type" : "bridge_shipping_label_form",
8604
+ "attributes" : [ ],
8605
+ "discriminator_value" : "bridge_shipping_label_form"
8584
8606
  } ],
8585
8607
  "attributes" : [ ],
8586
- "interfaces" : [ ],
8608
+ "interfaces" : [ "shipping_label_form_interface" ],
8587
8609
  "discriminator" : "discriminator",
8588
8610
  "description" : "Different models for forms to create shipping labels"
8589
8611
  }, {
@@ -12390,6 +12412,42 @@
12390
12412
  } ],
12391
12413
  "attributes" : [ ],
12392
12414
  "interfaces" : [ ]
12415
+ }, {
12416
+ "name" : "bridge_shipping_label_form",
12417
+ "plural" : "bridge_shipping_label_forms",
12418
+ "fields" : [ {
12419
+ "name" : "order_number",
12420
+ "type" : "string",
12421
+ "required" : true,
12422
+ "attributes" : [ ],
12423
+ "annotations" : [ ],
12424
+ "description" : "Order number/key of the client organization. This will allow Flow to tie and track a label to a submitted order, if applicable."
12425
+ }, {
12426
+ "name" : "items",
12427
+ "type" : "[line_item_form]",
12428
+ "required" : false,
12429
+ "attributes" : [ ],
12430
+ "annotations" : [ ],
12431
+ "description" : "List of items and quantities going into this shipment",
12432
+ "minimum" : 1
12433
+ }, {
12434
+ "name" : "package",
12435
+ "type" : "shipping_label_package",
12436
+ "required" : false,
12437
+ "attributes" : [ ],
12438
+ "annotations" : [ ],
12439
+ "description" : "Package to be shipped, including dimensions and items included"
12440
+ }, {
12441
+ "name" : "origin",
12442
+ "type" : "shipping_address",
12443
+ "required" : false,
12444
+ "attributes" : [ ],
12445
+ "annotations" : [ "personal_data", "consumer" ],
12446
+ "description" : "Origin contact information and structured address"
12447
+ } ],
12448
+ "attributes" : [ ],
12449
+ "interfaces" : [ ],
12450
+ "description" : "Form to create a shipping label via the GLBE Bridge."
12393
12451
  }, {
12394
12452
  "name" : "browse_optin_responses",
12395
12453
  "plural" : "browse_optin_responses",
@@ -19251,7 +19309,7 @@
19251
19309
  }, {
19252
19310
  "name" : "order_number",
19253
19311
  "type" : "string",
19254
- "required" : false,
19312
+ "required" : true,
19255
19313
  "attributes" : [ ],
19256
19314
  "annotations" : [ ],
19257
19315
  "description" : "Order number/key of the client organization. This will allow Flow to tie and track a label to a submitted order, if applicable."
@@ -37657,6 +37715,38 @@
37657
37715
  } ],
37658
37716
  "attributes" : [ ],
37659
37717
  "interfaces" : [ ]
37718
+ }, {
37719
+ "name" : "payment_request_deleted",
37720
+ "plural" : "payment_request_deleteds",
37721
+ "fields" : [ {
37722
+ "name" : "event_id",
37723
+ "type" : "string",
37724
+ "required" : true,
37725
+ "attributes" : [ ],
37726
+ "annotations" : [ ]
37727
+ }, {
37728
+ "name" : "timestamp",
37729
+ "type" : "date-time-iso8601",
37730
+ "required" : true,
37731
+ "attributes" : [ ],
37732
+ "annotations" : [ ]
37733
+ }, {
37734
+ "name" : "organization",
37735
+ "type" : "string",
37736
+ "required" : true,
37737
+ "attributes" : [ ],
37738
+ "annotations" : [ ],
37739
+ "description" : "Refers to your organization's account identifier"
37740
+ }, {
37741
+ "name" : "id",
37742
+ "type" : "string",
37743
+ "required" : true,
37744
+ "attributes" : [ ],
37745
+ "annotations" : [ ],
37746
+ "description" : "Globally unique identifier"
37747
+ } ],
37748
+ "attributes" : [ ],
37749
+ "interfaces" : [ ]
37660
37750
  }, {
37661
37751
  "name" : "payment_request_form",
37662
37752
  "plural" : "payment_request_forms",
@@ -95908,6 +95998,69 @@
95908
95998
  }
95909
95999
  } ],
95910
96000
  "path" : "/:organization/billing/transactions"
96001
+ }, {
96002
+ "type" : "ultimate_beneficiary_owner",
96003
+ "plural" : "ultimate_beneficiary_owners",
96004
+ "operations" : [ {
96005
+ "method" : "PUT",
96006
+ "path" : "/:organization/shopify/merchant/config/ultimate/beneficiary/owner",
96007
+ "parameters" : [ {
96008
+ "name" : "organization",
96009
+ "type" : "string",
96010
+ "location" : "Path",
96011
+ "required" : true,
96012
+ "description" : "Refers to your organization's account identifier"
96013
+ } ],
96014
+ "responses" : [ {
96015
+ "code" : {
96016
+ "integer" : {
96017
+ "value" : 200
96018
+ }
96019
+ },
96020
+ "type" : "ultimate_beneficiary_owner",
96021
+ "description" : "Successful response",
96022
+ "attributes" : [ ]
96023
+ }, {
96024
+ "code" : {
96025
+ "integer" : {
96026
+ "value" : 401
96027
+ }
96028
+ },
96029
+ "type" : "unit",
96030
+ "description" : "Authorization failed",
96031
+ "attributes" : [ ]
96032
+ }, {
96033
+ "code" : {
96034
+ "integer" : {
96035
+ "value" : 404
96036
+ }
96037
+ },
96038
+ "type" : "unit",
96039
+ "description" : "Resource was not found",
96040
+ "attributes" : [ ]
96041
+ }, {
96042
+ "code" : {
96043
+ "integer" : {
96044
+ "value" : 422
96045
+ }
96046
+ },
96047
+ "type" : "generic_error",
96048
+ "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.",
96049
+ "attributes" : [ ]
96050
+ } ],
96051
+ "attributes" : [ ],
96052
+ "body" : {
96053
+ "type" : "ultimate_beneficiary_owner",
96054
+ "attributes" : [ ]
96055
+ }
96056
+ } ],
96057
+ "attributes" : [ {
96058
+ "name" : "docs",
96059
+ "value" : {
96060
+ "module" : "general"
96061
+ }
96062
+ } ],
96063
+ "path" : "/:organization/shopify/merchant/config/ultimate/beneficiary/owner"
95911
96064
  }, {
95912
96065
  "type" : "upload",
95913
96066
  "plural" : "uploads",