@flowio/api-mock-generator 6.17.45 → 6.17.47

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.17.19",
13
+ "version": "0.17.21",
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.10",
34
+ "version": "0.3.12",
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.10",
49
+ "version": "0.3.12",
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.10",
64
+ "version": "0.3.12",
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": [],
@@ -5849,7 +5849,7 @@
5849
5849
  "required": false,
5850
5850
  "attributes": [],
5851
5851
  "annotations": [],
5852
- "description": "The bank account to which we sent this payout if known"
5852
+ "description": "The bank account to which we sent this payout if known. This generally becomes available once a payment is 'sent'"
5853
5853
  }, {
5854
5854
  "name": "amount",
5855
5855
  "type": "decimal",
@@ -6391,6 +6391,10 @@
6391
6391
  "type": "direct_debit",
6392
6392
  "attributes": [],
6393
6393
  "discriminator_value": "direct_debit"
6394
+ }, {
6395
+ "type": "card_confirmation_summary",
6396
+ "attributes": [],
6397
+ "discriminator_value": "card_confirmation_summary"
6394
6398
  }],
6395
6399
  "attributes": [],
6396
6400
  "interfaces": [],
@@ -13217,6 +13221,53 @@
13217
13221
  "attributes": [],
13218
13222
  "interfaces": [],
13219
13223
  "description": "Instructions to the card issuer to render challenges to the user"
13224
+ }, {
13225
+ "name": "card_confirmation_summary",
13226
+ "plural": "card_confirmation_summaries",
13227
+ "fields": [{
13228
+ "name": "type",
13229
+ "type": "card_type",
13230
+ "required": false,
13231
+ "attributes": [],
13232
+ "annotations": ["personal_data", "consumer"]
13233
+ }, {
13234
+ "name": "funding_type",
13235
+ "type": "string",
13236
+ "required": false,
13237
+ "attributes": [],
13238
+ "annotations": [],
13239
+ "description": "The source of funds",
13240
+ "example": "credit"
13241
+ }, {
13242
+ "name": "expiration",
13243
+ "type": "expiration",
13244
+ "required": false,
13245
+ "attributes": [],
13246
+ "annotations": []
13247
+ }, {
13248
+ "name": "iin",
13249
+ "type": "string",
13250
+ "required": false,
13251
+ "attributes": [],
13252
+ "annotations": ["personal_data", "consumer"],
13253
+ "description": "The issuer identification number (IIN) (formerly known as the Bank Identification Number) which are the leading digits of the card number."
13254
+ }, {
13255
+ "name": "issuer",
13256
+ "type": "issuer_summary",
13257
+ "required": false,
13258
+ "attributes": [],
13259
+ "annotations": []
13260
+ }, {
13261
+ "name": "last4",
13262
+ "type": "string",
13263
+ "required": false,
13264
+ "attributes": [],
13265
+ "annotations": ["personal_data", "consumer"],
13266
+ "description": "The last 4 numbers of the card"
13267
+ }],
13268
+ "attributes": [],
13269
+ "interfaces": [],
13270
+ "description": "Represents an online payment via a tokenized card"
13220
13271
  }, {
13221
13272
  "name": "card_deleted",
13222
13273
  "plural": "card_deleteds",
@@ -15081,7 +15132,7 @@
15081
15132
  "required": false,
15082
15133
  "attributes": [],
15083
15134
  "annotations": [],
15084
- "description": "The bank account to which we sent this payout if known"
15135
+ "description": "The bank account to which we sent this payout if known. This generally becomes available once a payment is 'sent'"
15085
15136
  }, {
15086
15137
  "name": "amount",
15087
15138
  "type": "decimal",
@@ -34364,7 +34415,7 @@
34364
34415
  "required": false,
34365
34416
  "attributes": [],
34366
34417
  "annotations": [],
34367
- "description": "The bank account to which we sent this payout if known"
34418
+ "description": "The bank account to which we sent this payout if known. This generally becomes available once a payment is 'sent'"
34368
34419
  }, {
34369
34420
  "name": "amount",
34370
34421
  "type": "decimal",
@@ -36106,6 +36157,27 @@
36106
36157
  "attributes": [],
36107
36158
  "interfaces": [],
36108
36159
  "description": "Represents a single payment method - e.g VISA or Paypal - and any associated metadata required for processing"
36160
+ }, {
36161
+ "name": "payment_method_action_cancellation",
36162
+ "plural": "payment_method_action_cancellations",
36163
+ "fields": [{
36164
+ "name": "reason_code",
36165
+ "type": "payment_failure_code",
36166
+ "required": false,
36167
+ "attributes": [],
36168
+ "annotations": [],
36169
+ "description": "The failure code that best describes the reason why the action is being cancelled if any."
36170
+ }, {
36171
+ "name": "data",
36172
+ "type": "object",
36173
+ "required": false,
36174
+ "attributes": [],
36175
+ "annotations": [],
36176
+ "description": "Detailed information about the cancellation. Particularly useful for passing error objects from the UI."
36177
+ }],
36178
+ "attributes": [],
36179
+ "interfaces": [],
36180
+ "description": "A request to cancel an outstanding action for a payment request, marking the associated authorization as `declined` and the payment request as `requires_payment_method`. By default, it will cancel the 'active' authorization if any. If the authorization has already been finalized, no update will be performed."
36109
36181
  }, {
36110
36182
  "name": "payment_method_brand",
36111
36183
  "plural": "payment_method_brands",
@@ -45753,7 +45825,7 @@
45753
45825
  }, {
45754
45826
  "name": "updated_at",
45755
45827
  "type": "date-time-iso8601",
45756
- "required": true,
45828
+ "required": false,
45757
45829
  "attributes": [],
45758
45830
  "annotations": []
45759
45831
  }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-mock-generator",
3
- "version": "6.17.45",
3
+ "version": "6.17.47",
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": "90cb83a0f0ad5fc6cb0d732c27d1f5e1389e1645"
31
+ "gitHead": "ad876b01a126395eae5d27ad56893b2c69b3944f"
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.19",
13
+ "version" : "0.17.21",
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.10",
34
+ "version" : "0.3.12",
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.10",
49
+ "version" : "0.3.12",
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.10",
64
+ "version" : "0.3.12",
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" : [ ],
@@ -5849,7 +5849,7 @@
5849
5849
  "required" : false,
5850
5850
  "attributes" : [ ],
5851
5851
  "annotations" : [ ],
5852
- "description" : "The bank account to which we sent this payout if known"
5852
+ "description" : "The bank account to which we sent this payout if known. This generally becomes available once a payment is 'sent'"
5853
5853
  }, {
5854
5854
  "name" : "amount",
5855
5855
  "type" : "decimal",
@@ -6391,6 +6391,10 @@
6391
6391
  "type" : "direct_debit",
6392
6392
  "attributes" : [ ],
6393
6393
  "discriminator_value" : "direct_debit"
6394
+ }, {
6395
+ "type" : "card_confirmation_summary",
6396
+ "attributes" : [ ],
6397
+ "discriminator_value" : "card_confirmation_summary"
6394
6398
  } ],
6395
6399
  "attributes" : [ ],
6396
6400
  "interfaces" : [ ],
@@ -13217,6 +13221,53 @@
13217
13221
  "attributes" : [ ],
13218
13222
  "interfaces" : [ ],
13219
13223
  "description" : "Instructions to the card issuer to render challenges to the user"
13224
+ }, {
13225
+ "name" : "card_confirmation_summary",
13226
+ "plural" : "card_confirmation_summaries",
13227
+ "fields" : [ {
13228
+ "name" : "type",
13229
+ "type" : "card_type",
13230
+ "required" : false,
13231
+ "attributes" : [ ],
13232
+ "annotations" : [ "personal_data", "consumer" ]
13233
+ }, {
13234
+ "name" : "funding_type",
13235
+ "type" : "string",
13236
+ "required" : false,
13237
+ "attributes" : [ ],
13238
+ "annotations" : [ ],
13239
+ "description" : "The source of funds",
13240
+ "example" : "credit"
13241
+ }, {
13242
+ "name" : "expiration",
13243
+ "type" : "expiration",
13244
+ "required" : false,
13245
+ "attributes" : [ ],
13246
+ "annotations" : [ ]
13247
+ }, {
13248
+ "name" : "iin",
13249
+ "type" : "string",
13250
+ "required" : false,
13251
+ "attributes" : [ ],
13252
+ "annotations" : [ "personal_data", "consumer" ],
13253
+ "description" : "The issuer identification number (IIN) (formerly known as the Bank Identification Number) which are the leading digits of the card number."
13254
+ }, {
13255
+ "name" : "issuer",
13256
+ "type" : "issuer_summary",
13257
+ "required" : false,
13258
+ "attributes" : [ ],
13259
+ "annotations" : [ ]
13260
+ }, {
13261
+ "name" : "last4",
13262
+ "type" : "string",
13263
+ "required" : false,
13264
+ "attributes" : [ ],
13265
+ "annotations" : [ "personal_data", "consumer" ],
13266
+ "description" : "The last 4 numbers of the card"
13267
+ } ],
13268
+ "attributes" : [ ],
13269
+ "interfaces" : [ ],
13270
+ "description" : "Represents an online payment via a tokenized card"
13220
13271
  }, {
13221
13272
  "name" : "card_deleted",
13222
13273
  "plural" : "card_deleteds",
@@ -15081,7 +15132,7 @@
15081
15132
  "required" : false,
15082
15133
  "attributes" : [ ],
15083
15134
  "annotations" : [ ],
15084
- "description" : "The bank account to which we sent this payout if known"
15135
+ "description" : "The bank account to which we sent this payout if known. This generally becomes available once a payment is 'sent'"
15085
15136
  }, {
15086
15137
  "name" : "amount",
15087
15138
  "type" : "decimal",
@@ -34364,7 +34415,7 @@
34364
34415
  "required" : false,
34365
34416
  "attributes" : [ ],
34366
34417
  "annotations" : [ ],
34367
- "description" : "The bank account to which we sent this payout if known"
34418
+ "description" : "The bank account to which we sent this payout if known. This generally becomes available once a payment is 'sent'"
34368
34419
  }, {
34369
34420
  "name" : "amount",
34370
34421
  "type" : "decimal",
@@ -36106,6 +36157,27 @@
36106
36157
  "attributes" : [ ],
36107
36158
  "interfaces" : [ ],
36108
36159
  "description" : "Represents a single payment method - e.g VISA or Paypal - and any associated metadata required for processing"
36160
+ }, {
36161
+ "name" : "payment_method_action_cancellation",
36162
+ "plural" : "payment_method_action_cancellations",
36163
+ "fields" : [ {
36164
+ "name" : "reason_code",
36165
+ "type" : "payment_failure_code",
36166
+ "required" : false,
36167
+ "attributes" : [ ],
36168
+ "annotations" : [ ],
36169
+ "description" : "The failure code that best describes the reason why the action is being cancelled if any."
36170
+ }, {
36171
+ "name" : "data",
36172
+ "type" : "object",
36173
+ "required" : false,
36174
+ "attributes" : [ ],
36175
+ "annotations" : [ ],
36176
+ "description" : "Detailed information about the cancellation. Particularly useful for passing error objects from the UI."
36177
+ } ],
36178
+ "attributes" : [ ],
36179
+ "interfaces" : [ ],
36180
+ "description" : "A request to cancel an outstanding action for a payment request, marking the associated authorization as `declined` and the payment request as `requires_payment_method`. By default, it will cancel the 'active' authorization if any. If the authorization has already been finalized, no update will be performed."
36109
36181
  }, {
36110
36182
  "name" : "payment_method_brand",
36111
36183
  "plural" : "payment_method_brands",
@@ -45753,7 +45825,7 @@
45753
45825
  }, {
45754
45826
  "name" : "updated_at",
45755
45827
  "type" : "date-time-iso8601",
45756
- "required" : true,
45828
+ "required" : false,
45757
45829
  "attributes" : [ ],
45758
45830
  "annotations" : [ ]
45759
45831
  } ],