@flowio/api-mock-generator 6.17.84 → 6.17.85

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 CHANGED
@@ -10,7 +10,7 @@
10
10
  "key": "api"
11
11
  },
12
12
  "namespace": "io.flow.v0",
13
- "version": "0.18.89",
13
+ "version": "0.18.96",
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.65",
34
+ "version": "0.3.73",
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.65",
49
+ "version": "0.3.73",
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.65",
64
+ "version": "0.3.73",
65
65
  "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"],
66
66
  "interfaces": [],
67
67
  "unions": [],
@@ -76,7 +76,7 @@
76
76
  "application": {
77
77
  "key": "ben-test-internal"
78
78
  },
79
- "version": "0.23.62",
79
+ "version": "0.23.84",
80
80
  "enums": [],
81
81
  "interfaces": ["generate_load"],
82
82
  "unions": ["generate_load"],
@@ -3756,6 +3756,12 @@
3756
3756
  }, {
3757
3757
  "name": "waiting_for_positive_account_balance",
3758
3758
  "attributes": []
3759
+ }, {
3760
+ "name": "unfulfilled_amount_greater_than_negative_balance",
3761
+ "attributes": []
3762
+ }, {
3763
+ "name": "account_payment_hold",
3764
+ "attributes": []
3759
3765
  }],
3760
3766
  "attributes": []
3761
3767
  }, {
@@ -20671,6 +20677,34 @@
20671
20677
  "attributes": [],
20672
20678
  "interfaces": [],
20673
20679
  "description": "De Minimis for most common example which includes a value threshold and rules on what components are used in the duty calculation"
20680
+ }, {
20681
+ "name": "destination_contact_detail",
20682
+ "plural": "destination_contact_details",
20683
+ "fields": [{
20684
+ "name": "title",
20685
+ "type": "string",
20686
+ "required": true,
20687
+ "attributes": [],
20688
+ "annotations": [],
20689
+ "description": "specifies the name of the tax number i.e. CPF/CNPJ for brazil"
20690
+ }, {
20691
+ "name": "country",
20692
+ "type": "string",
20693
+ "required": true,
20694
+ "attributes": [],
20695
+ "annotations": [],
20696
+ "description": "ISO 3166 3 currency code as defined in https://api.flow.io/reference/countries",
20697
+ "example": "CAN"
20698
+ }, {
20699
+ "name": "import_identifier",
20700
+ "type": "string",
20701
+ "required": true,
20702
+ "attributes": [],
20703
+ "annotations": [],
20704
+ "description": "actual government issued identification number"
20705
+ }],
20706
+ "attributes": [],
20707
+ "interfaces": []
20674
20708
  }, {
20675
20709
  "name": "detailed_shipping_label_form",
20676
20710
  "plural": "detailed_shipping_label_forms",
@@ -27991,6 +28025,12 @@
27991
28025
  "required": false,
27992
28026
  "attributes": [],
27993
28027
  "annotations": []
28028
+ }, {
28029
+ "name": "deleted_at",
28030
+ "type": "date-time-iso8601",
28031
+ "required": false,
28032
+ "attributes": [],
28033
+ "annotations": []
27994
28034
  }],
27995
28035
  "attributes": [],
27996
28036
  "interfaces": [],
@@ -28116,6 +28156,12 @@
28116
28156
  "attributes": [],
28117
28157
  "annotations": [],
28118
28158
  "description": "If provided, the item images will be used to enhance the user experience in Flow's online tools."
28159
+ }, {
28160
+ "name": "deleted_at",
28161
+ "type": "date-time-iso8601",
28162
+ "required": false,
28163
+ "attributes": [],
28164
+ "annotations": []
28119
28165
  }],
28120
28166
  "attributes": [],
28121
28167
  "interfaces": [],
@@ -28191,6 +28237,13 @@
28191
28237
  "attributes": [],
28192
28238
  "annotations": [],
28193
28239
  "description": "If provided, the item images will be used to enhance the user experience in Flow's online tools."
28240
+ }, {
28241
+ "name": "deleted_at",
28242
+ "type": "date-time-iso8601",
28243
+ "required": false,
28244
+ "attributes": [],
28245
+ "annotations": [],
28246
+ "description": "If provided, the item will be marked as deleted from shopify side"
28194
28247
  }],
28195
28248
  "attributes": [],
28196
28249
  "interfaces": [],
@@ -28263,6 +28316,13 @@
28263
28316
  "attributes": [],
28264
28317
  "annotations": [],
28265
28318
  "description": "If provided, the item images will be used to enhance the user experience in Flow's online tools."
28319
+ }, {
28320
+ "name": "deleted_at",
28321
+ "type": "date-time-iso8601",
28322
+ "required": false,
28323
+ "attributes": [],
28324
+ "annotations": [],
28325
+ "description": "If provided, the item will be marked as deleted from shopify side"
28266
28326
  }],
28267
28327
  "attributes": [],
28268
28328
  "interfaces": []
@@ -29642,6 +29702,13 @@
29642
29702
  "attributes": [],
29643
29703
  "annotations": [],
29644
29704
  "description": "If present, records an event indicating rejection by carrier. This indicates this shipment will not be crossing the border or delivered to the consumer and will likely be returned to origin."
29705
+ }, {
29706
+ "name": "returned",
29707
+ "type": "label_tracking_summary_update",
29708
+ "required": false,
29709
+ "attributes": [],
29710
+ "annotations": [],
29711
+ "description": "If present, records an event indicating that the shipment was returned to origin."
29645
29712
  }],
29646
29713
  "attributes": [],
29647
29714
  "interfaces": []
@@ -33036,6 +33103,13 @@
33036
33103
  "attributes": [],
33037
33104
  "annotations": ["personal_data", "consumer"],
33038
33105
  "description": "The technical details of the customer's device."
33106
+ }, {
33107
+ "name": "destination_contact_details",
33108
+ "type": "[destination_contact_detail]",
33109
+ "required": false,
33110
+ "attributes": [],
33111
+ "annotations": [],
33112
+ "description": "tax payer ids for destination country"
33039
33113
  }],
33040
33114
  "attributes": [],
33041
33115
  "interfaces": [],
@@ -72284,6 +72358,15 @@
72284
72358
  "type": "center",
72285
72359
  "description": "Operation succeeded and the resource was created",
72286
72360
  "attributes": []
72361
+ }, {
72362
+ "code": {
72363
+ "integer": {
72364
+ "value": 404
72365
+ }
72366
+ },
72367
+ "type": "unit",
72368
+ "description": "Resource was not found",
72369
+ "attributes": []
72287
72370
  }, {
72288
72371
  "code": {
72289
72372
  "integer": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-mock-generator",
3
- "version": "6.17.84",
3
+ "version": "6.17.85",
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": "186c2bb75e0d707e7d5df6a6b87e63a9be573e4d"
31
+ "gitHead": "f75564e8d259c34e55cd55031e0f18ad6abc6a96"
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.18.89",
13
+ "version" : "0.18.96",
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.65",
34
+ "version" : "0.3.73",
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.65",
49
+ "version" : "0.3.73",
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.65",
64
+ "version" : "0.3.73",
65
65
  "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" ],
66
66
  "interfaces" : [ ],
67
67
  "unions" : [ ],
@@ -76,7 +76,7 @@
76
76
  "application" : {
77
77
  "key" : "ben-test-internal"
78
78
  },
79
- "version" : "0.23.62",
79
+ "version" : "0.23.84",
80
80
  "enums" : [ ],
81
81
  "interfaces" : [ "generate_load" ],
82
82
  "unions" : [ "generate_load" ],
@@ -3756,6 +3756,12 @@
3756
3756
  }, {
3757
3757
  "name" : "waiting_for_positive_account_balance",
3758
3758
  "attributes" : [ ]
3759
+ }, {
3760
+ "name" : "unfulfilled_amount_greater_than_negative_balance",
3761
+ "attributes" : [ ]
3762
+ }, {
3763
+ "name" : "account_payment_hold",
3764
+ "attributes" : [ ]
3759
3765
  } ],
3760
3766
  "attributes" : [ ]
3761
3767
  }, {
@@ -20671,6 +20677,34 @@
20671
20677
  "attributes" : [ ],
20672
20678
  "interfaces" : [ ],
20673
20679
  "description" : "De Minimis for most common example which includes a value threshold and rules on what components are used in the duty calculation"
20680
+ }, {
20681
+ "name" : "destination_contact_detail",
20682
+ "plural" : "destination_contact_details",
20683
+ "fields" : [ {
20684
+ "name" : "title",
20685
+ "type" : "string",
20686
+ "required" : true,
20687
+ "attributes" : [ ],
20688
+ "annotations" : [ ],
20689
+ "description" : "specifies the name of the tax number i.e. CPF/CNPJ for brazil"
20690
+ }, {
20691
+ "name" : "country",
20692
+ "type" : "string",
20693
+ "required" : true,
20694
+ "attributes" : [ ],
20695
+ "annotations" : [ ],
20696
+ "description" : "ISO 3166 3 currency code as defined in https://api.flow.io/reference/countries",
20697
+ "example" : "CAN"
20698
+ }, {
20699
+ "name" : "import_identifier",
20700
+ "type" : "string",
20701
+ "required" : true,
20702
+ "attributes" : [ ],
20703
+ "annotations" : [ ],
20704
+ "description" : "actual government issued identification number"
20705
+ } ],
20706
+ "attributes" : [ ],
20707
+ "interfaces" : [ ]
20674
20708
  }, {
20675
20709
  "name" : "detailed_shipping_label_form",
20676
20710
  "plural" : "detailed_shipping_label_forms",
@@ -27991,6 +28025,12 @@
27991
28025
  "required" : false,
27992
28026
  "attributes" : [ ],
27993
28027
  "annotations" : [ ]
28028
+ }, {
28029
+ "name" : "deleted_at",
28030
+ "type" : "date-time-iso8601",
28031
+ "required" : false,
28032
+ "attributes" : [ ],
28033
+ "annotations" : [ ]
27994
28034
  } ],
27995
28035
  "attributes" : [ ],
27996
28036
  "interfaces" : [ ],
@@ -28116,6 +28156,12 @@
28116
28156
  "attributes" : [ ],
28117
28157
  "annotations" : [ ],
28118
28158
  "description" : "If provided, the item images will be used to enhance the user experience in Flow's online tools."
28159
+ }, {
28160
+ "name" : "deleted_at",
28161
+ "type" : "date-time-iso8601",
28162
+ "required" : false,
28163
+ "attributes" : [ ],
28164
+ "annotations" : [ ]
28119
28165
  } ],
28120
28166
  "attributes" : [ ],
28121
28167
  "interfaces" : [ ],
@@ -28191,6 +28237,13 @@
28191
28237
  "attributes" : [ ],
28192
28238
  "annotations" : [ ],
28193
28239
  "description" : "If provided, the item images will be used to enhance the user experience in Flow's online tools."
28240
+ }, {
28241
+ "name" : "deleted_at",
28242
+ "type" : "date-time-iso8601",
28243
+ "required" : false,
28244
+ "attributes" : [ ],
28245
+ "annotations" : [ ],
28246
+ "description" : "If provided, the item will be marked as deleted from shopify side"
28194
28247
  } ],
28195
28248
  "attributes" : [ ],
28196
28249
  "interfaces" : [ ],
@@ -28263,6 +28316,13 @@
28263
28316
  "attributes" : [ ],
28264
28317
  "annotations" : [ ],
28265
28318
  "description" : "If provided, the item images will be used to enhance the user experience in Flow's online tools."
28319
+ }, {
28320
+ "name" : "deleted_at",
28321
+ "type" : "date-time-iso8601",
28322
+ "required" : false,
28323
+ "attributes" : [ ],
28324
+ "annotations" : [ ],
28325
+ "description" : "If provided, the item will be marked as deleted from shopify side"
28266
28326
  } ],
28267
28327
  "attributes" : [ ],
28268
28328
  "interfaces" : [ ]
@@ -29642,6 +29702,13 @@
29642
29702
  "attributes" : [ ],
29643
29703
  "annotations" : [ ],
29644
29704
  "description" : "If present, records an event indicating rejection by carrier. This indicates this shipment will not be crossing the border or delivered to the consumer and will likely be returned to origin."
29705
+ }, {
29706
+ "name" : "returned",
29707
+ "type" : "label_tracking_summary_update",
29708
+ "required" : false,
29709
+ "attributes" : [ ],
29710
+ "annotations" : [ ],
29711
+ "description" : "If present, records an event indicating that the shipment was returned to origin."
29645
29712
  } ],
29646
29713
  "attributes" : [ ],
29647
29714
  "interfaces" : [ ]
@@ -33036,6 +33103,13 @@
33036
33103
  "attributes" : [ ],
33037
33104
  "annotations" : [ "personal_data", "consumer" ],
33038
33105
  "description" : "The technical details of the customer's device."
33106
+ }, {
33107
+ "name" : "destination_contact_details",
33108
+ "type" : "[destination_contact_detail]",
33109
+ "required" : false,
33110
+ "attributes" : [ ],
33111
+ "annotations" : [ ],
33112
+ "description" : "tax payer ids for destination country"
33039
33113
  } ],
33040
33114
  "attributes" : [ ],
33041
33115
  "interfaces" : [ ],
@@ -72284,6 +72358,15 @@
72284
72358
  "type" : "center",
72285
72359
  "description" : "Operation succeeded and the resource was created",
72286
72360
  "attributes" : [ ]
72361
+ }, {
72362
+ "code" : {
72363
+ "integer" : {
72364
+ "value" : 404
72365
+ }
72366
+ },
72367
+ "type" : "unit",
72368
+ "description" : "Resource was not found",
72369
+ "attributes" : [ ]
72287
72370
  }, {
72288
72371
  "code" : {
72289
72372
  "integer" : {