@flowio/api-internal-mock-generator 5.31.15 → 5.31.16

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.
@@ -10,7 +10,7 @@
10
10
  "key": "api-internal"
11
11
  },
12
12
  "namespace": "io.flow.internal.v0",
13
- "version": "0.16.6",
13
+ "version": "0.16.9",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -332,10 +332,10 @@
332
332
  "key": "adyen"
333
333
  },
334
334
  "version": "0.2.80",
335
- "enums": ["channel", "contract", "device_channel", "event_code", "method", "operation", "payment_method", "recurring_processing_model", "result_code", "shopper_interaction", "threeds_completion_indicator"],
335
+ "enums": ["channel", "contract", "device_channel", "event_code", "http_redirect_method", "operation", "payment_method", "recurring_processing_model", "result_code", "shopper_interaction", "threeds_completion_indicator"],
336
336
  "interfaces": [],
337
337
  "unions": ["browser_info", "payment_method_data"],
338
- "models": ["address", "amount", "authentication", "authorize_request", "authorize_request_3d", "authorize_request_3ds2", "authorize_response", "bank_account", "browser_info_3ds1", "browser_info_3ds2", "cancel_request", "cancel_response", "card", "challenge_shopper_additional_data", "chargeback_notification_additional_data", "error", "identify_shopper_additional_data", "inner_notification_request_item", "modification_request", "modification_response", "notification_request", "notification_response", "origin_keys_request", "origin_keys_response", "outer_notification_request_item", "payment_details", "payment_request", "payment_response", "payment_response_additional_data", "recurring", "redirect", "redirect_data", "request_for_information_additional_data", "scheme", "three_d_secure_data", "threeds2_request_data", "threeds2_result", "threeds_additional_data"],
338
+ "models": ["address", "amount", "applepay", "authentication", "authorize_request", "authorize_request_3d", "authorize_request_3ds2", "authorize_response", "bank_account", "browser_info_3ds1", "browser_info_3ds2", "cancel_request", "cancel_response", "card", "challenge_shopper_additional_data", "chargeback_notification_additional_data", "error", "identify_shopper_additional_data", "inner_notification_request_item", "modification_request", "modification_response", "notification_request", "notification_response", "origin_keys_request", "origin_keys_response", "outer_notification_request_item", "payment_details", "payment_details_v66_3ds2_challenge", "payment_details_v66_3ds2_fingerprint", "payment_request", "payment_response", "payment_response_additional_data", "recurring", "redirect", "redirect_data", "request_for_information_additional_data", "scheme", "sdk_v3_on_complete_data", "sdk_v3_on_complete_result", "three_d_secure_data", "threeds2_request_data", "threeds2_result", "threeds_additional_data"],
339
339
  "annotations": []
340
340
  }, {
341
341
  "uri": "https://app.apibuilder.io/flow/bitpay/latest/service.json",
@@ -616,7 +616,7 @@
616
616
  "application": {
617
617
  "key": "pricing-indicator-internal-event"
618
618
  },
619
- "version": "0.16.6",
619
+ "version": "0.16.9",
620
620
  "enums": ["pricing_indicator_status", "service_name"],
621
621
  "interfaces": [],
622
622
  "unions": ["pricing_indicator_event"],
@@ -4842,30 +4842,48 @@
4842
4842
  "values": [{
4843
4843
  "name": "accept",
4844
4844
  "attributes": [],
4845
- "description": "A product should always be acceptable under a rule."
4845
+ "description": "Restriction applies to this product"
4846
+ }, {
4847
+ "name": "escalate",
4848
+ "attributes": [],
4849
+ "description": "Escalate for an additional review, e.g. by a compliance lead"
4846
4850
  }, {
4847
4851
  "name": "reject",
4848
4852
  "attributes": [],
4849
- "description": "A product may be rejected due to a rule."
4853
+ "description": "Restriction applies to this product"
4854
+ }, {
4855
+ "name": "review",
4856
+ "attributes": [],
4857
+ "description": "Add to the manual review queue; used to undo an escalation or decision"
4850
4858
  }],
4851
- "attributes": []
4859
+ "attributes": [],
4860
+ "description": "A decision made to update the `restriction_status` for a product and a given restriction."
4852
4861
  }, {
4853
4862
  "name": "restriction_status",
4854
4863
  "plural": "restriction_statuses",
4855
4864
  "values": [{
4856
4865
  "name": "pending",
4857
- "attributes": []
4866
+ "attributes": [],
4867
+ "description": "Awaiting automated review"
4858
4868
  }, {
4859
4869
  "name": "in_review",
4860
- "attributes": []
4870
+ "attributes": [],
4871
+ "description": "Awaiting manual review for a given restriction"
4872
+ }, {
4873
+ "name": "escalated",
4874
+ "attributes": [],
4875
+ "description": "Eescalated for additional review, e.g. by a compliance lead"
4861
4876
  }, {
4862
4877
  "name": "accepted",
4863
- "attributes": []
4878
+ "attributes": [],
4879
+ "description": "The restriction does not apply to this product"
4864
4880
  }, {
4865
4881
  "name": "restricted",
4866
- "attributes": []
4882
+ "attributes": [],
4883
+ "description": "The restriction applies to this product and it will not be available for sale in the restriction's regions"
4867
4884
  }],
4868
- "attributes": []
4885
+ "attributes": [],
4886
+ "description": "The evaluation of a product against a given restriction."
4869
4887
  }, {
4870
4888
  "name": "risk_check",
4871
4889
  "plural": "risk_checks",
@@ -78337,8 +78355,7 @@
78337
78355
  "type": "[restriction_status]",
78338
78356
  "location": "Query",
78339
78357
  "required": false,
78340
- "description": "Using `none` will return only items that do not have any restriction decision, typically because they have not been automatically screened",
78341
- "maximum": 4
78358
+ "maximum": 5
78342
78359
  }, {
78343
78360
  "name": "rule_ids",
78344
78361
  "type": "[string]",
@@ -81877,8 +81894,15 @@
81877
81894
  "name": "status",
81878
81895
  "type": "restriction_status",
81879
81896
  "location": "Query",
81880
- "required": true,
81881
- "default": "in_review"
81897
+ "required": false,
81898
+ "description": "Overwrites `statuses` if both are present",
81899
+ "example": "in_review"
81900
+ }, {
81901
+ "name": "statuses",
81902
+ "type": "[restriction_status]",
81903
+ "location": "Query",
81904
+ "required": false,
81905
+ "maximum": 5
81882
81906
  }, {
81883
81907
  "name": "rule_ids",
81884
81908
  "type": "[string]",
@@ -82151,8 +82175,7 @@
82151
82175
  "type": "[restriction_status]",
82152
82176
  "location": "Query",
82153
82177
  "required": false,
82154
- "description": "Using `none` will return only items that do not have any restriction decision, typically because they have not been automatically screened",
82155
- "maximum": 4
82178
+ "maximum": 5
82156
82179
  }, {
82157
82180
  "name": "rule_ids",
82158
82181
  "type": "[string]",
@@ -86462,65 +86485,6 @@
86462
86485
  "ignore": ["versions", "get"]
86463
86486
  }
86464
86487
  }]
86465
- }, {
86466
- "method": "GET",
86467
- "path": "/:organization/billing/transactions/:id",
86468
- "parameters": [{
86469
- "name": "organization",
86470
- "type": "string",
86471
- "location": "Path",
86472
- "required": true,
86473
- "description": "Refers to your organization's account identifier"
86474
- }, {
86475
- "name": "id",
86476
- "type": "string",
86477
- "location": "Path",
86478
- "required": true,
86479
- "description": "Filter by one or more IDs of this resource"
86480
- }],
86481
- "responses": [{
86482
- "code": {
86483
- "integer": {
86484
- "value": 200
86485
- }
86486
- },
86487
- "type": "transaction",
86488
- "description": "Successful response",
86489
- "attributes": []
86490
- }, {
86491
- "code": {
86492
- "integer": {
86493
- "value": 401
86494
- }
86495
- },
86496
- "type": "unit",
86497
- "description": "Authorization failed",
86498
- "attributes": []
86499
- }, {
86500
- "code": {
86501
- "integer": {
86502
- "value": 404
86503
- }
86504
- },
86505
- "type": "unit",
86506
- "description": "Resource was not found",
86507
- "attributes": []
86508
- }, {
86509
- "code": {
86510
- "integer": {
86511
- "value": 422
86512
- }
86513
- },
86514
- "type": "io.flow.error.v0.models.generic_error",
86515
- "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.",
86516
- "attributes": []
86517
- }],
86518
- "attributes": [{
86519
- "name": "linter",
86520
- "value": {
86521
- "ignore": ["versions", "get"]
86522
- }
86523
- }]
86524
86488
  }],
86525
86489
  "attributes": [{
86526
86490
  "name": "docs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-mock-generator",
3
- "version": "5.31.15",
3
+ "version": "5.31.16",
4
4
  "description": "A mock data generator based on our internal API specifications for JavaScript",
5
5
  "keywords": [
6
6
  "flowcommerce",
@@ -29,5 +29,5 @@
29
29
  "apibuilder-js": "0.0.13",
30
30
  "apibuilder-mock-generator": "0.0.13"
31
31
  },
32
- "gitHead": "7b2e429840b21cd751e228d0cea9c2845fbedb25"
32
+ "gitHead": "e5ce9112ee3437fbd44a884f62f800a9922e6961"
33
33
  }
@@ -10,7 +10,7 @@
10
10
  "key" : "api-internal"
11
11
  },
12
12
  "namespace" : "io.flow.internal.v0",
13
- "version" : "0.16.6",
13
+ "version" : "0.16.9",
14
14
  "info" : {
15
15
  "license" : {
16
16
  "name" : "MIT",
@@ -332,10 +332,10 @@
332
332
  "key" : "adyen"
333
333
  },
334
334
  "version" : "0.2.80",
335
- "enums" : [ "channel", "contract", "device_channel", "event_code", "method", "operation", "payment_method", "recurring_processing_model", "result_code", "shopper_interaction", "threeds_completion_indicator" ],
335
+ "enums" : [ "channel", "contract", "device_channel", "event_code", "http_redirect_method", "operation", "payment_method", "recurring_processing_model", "result_code", "shopper_interaction", "threeds_completion_indicator" ],
336
336
  "interfaces" : [ ],
337
337
  "unions" : [ "browser_info", "payment_method_data" ],
338
- "models" : [ "address", "amount", "authentication", "authorize_request", "authorize_request_3d", "authorize_request_3ds2", "authorize_response", "bank_account", "browser_info_3ds1", "browser_info_3ds2", "cancel_request", "cancel_response", "card", "challenge_shopper_additional_data", "chargeback_notification_additional_data", "error", "identify_shopper_additional_data", "inner_notification_request_item", "modification_request", "modification_response", "notification_request", "notification_response", "origin_keys_request", "origin_keys_response", "outer_notification_request_item", "payment_details", "payment_request", "payment_response", "payment_response_additional_data", "recurring", "redirect", "redirect_data", "request_for_information_additional_data", "scheme", "three_d_secure_data", "threeds2_request_data", "threeds2_result", "threeds_additional_data" ],
338
+ "models" : [ "address", "amount", "applepay", "authentication", "authorize_request", "authorize_request_3d", "authorize_request_3ds2", "authorize_response", "bank_account", "browser_info_3ds1", "browser_info_3ds2", "cancel_request", "cancel_response", "card", "challenge_shopper_additional_data", "chargeback_notification_additional_data", "error", "identify_shopper_additional_data", "inner_notification_request_item", "modification_request", "modification_response", "notification_request", "notification_response", "origin_keys_request", "origin_keys_response", "outer_notification_request_item", "payment_details", "payment_details_v66_3ds2_challenge", "payment_details_v66_3ds2_fingerprint", "payment_request", "payment_response", "payment_response_additional_data", "recurring", "redirect", "redirect_data", "request_for_information_additional_data", "scheme", "sdk_v3_on_complete_data", "sdk_v3_on_complete_result", "three_d_secure_data", "threeds2_request_data", "threeds2_result", "threeds_additional_data" ],
339
339
  "annotations" : [ ]
340
340
  }, {
341
341
  "uri" : "https://app.apibuilder.io/flow/bitpay/latest/service.json",
@@ -616,7 +616,7 @@
616
616
  "application" : {
617
617
  "key" : "pricing-indicator-internal-event"
618
618
  },
619
- "version" : "0.16.6",
619
+ "version" : "0.16.9",
620
620
  "enums" : [ "pricing_indicator_status", "service_name" ],
621
621
  "interfaces" : [ ],
622
622
  "unions" : [ "pricing_indicator_event" ],
@@ -4842,30 +4842,48 @@
4842
4842
  "values" : [ {
4843
4843
  "name" : "accept",
4844
4844
  "attributes" : [ ],
4845
- "description" : "A product should always be acceptable under a rule."
4845
+ "description" : "Restriction applies to this product"
4846
+ }, {
4847
+ "name" : "escalate",
4848
+ "attributes" : [ ],
4849
+ "description" : "Escalate for an additional review, e.g. by a compliance lead"
4846
4850
  }, {
4847
4851
  "name" : "reject",
4848
4852
  "attributes" : [ ],
4849
- "description" : "A product may be rejected due to a rule."
4853
+ "description" : "Restriction applies to this product"
4854
+ }, {
4855
+ "name" : "review",
4856
+ "attributes" : [ ],
4857
+ "description" : "Add to the manual review queue; used to undo an escalation or decision"
4850
4858
  } ],
4851
- "attributes" : [ ]
4859
+ "attributes" : [ ],
4860
+ "description" : "A decision made to update the `restriction_status` for a product and a given restriction."
4852
4861
  }, {
4853
4862
  "name" : "restriction_status",
4854
4863
  "plural" : "restriction_statuses",
4855
4864
  "values" : [ {
4856
4865
  "name" : "pending",
4857
- "attributes" : [ ]
4866
+ "attributes" : [ ],
4867
+ "description" : "Awaiting automated review"
4858
4868
  }, {
4859
4869
  "name" : "in_review",
4860
- "attributes" : [ ]
4870
+ "attributes" : [ ],
4871
+ "description" : "Awaiting manual review for a given restriction"
4872
+ }, {
4873
+ "name" : "escalated",
4874
+ "attributes" : [ ],
4875
+ "description" : "Eescalated for additional review, e.g. by a compliance lead"
4861
4876
  }, {
4862
4877
  "name" : "accepted",
4863
- "attributes" : [ ]
4878
+ "attributes" : [ ],
4879
+ "description" : "The restriction does not apply to this product"
4864
4880
  }, {
4865
4881
  "name" : "restricted",
4866
- "attributes" : [ ]
4882
+ "attributes" : [ ],
4883
+ "description" : "The restriction applies to this product and it will not be available for sale in the restriction's regions"
4867
4884
  } ],
4868
- "attributes" : [ ]
4885
+ "attributes" : [ ],
4886
+ "description" : "The evaluation of a product against a given restriction."
4869
4887
  }, {
4870
4888
  "name" : "risk_check",
4871
4889
  "plural" : "risk_checks",
@@ -78337,8 +78355,7 @@
78337
78355
  "type" : "[restriction_status]",
78338
78356
  "location" : "Query",
78339
78357
  "required" : false,
78340
- "description" : "Using `none` will return only items that do not have any restriction decision, typically because they have not been automatically screened",
78341
- "maximum" : 4
78358
+ "maximum" : 5
78342
78359
  }, {
78343
78360
  "name" : "rule_ids",
78344
78361
  "type" : "[string]",
@@ -81877,8 +81894,15 @@
81877
81894
  "name" : "status",
81878
81895
  "type" : "restriction_status",
81879
81896
  "location" : "Query",
81880
- "required" : true,
81881
- "default" : "in_review"
81897
+ "required" : false,
81898
+ "description" : "Overwrites `statuses` if both are present",
81899
+ "example" : "in_review"
81900
+ }, {
81901
+ "name" : "statuses",
81902
+ "type" : "[restriction_status]",
81903
+ "location" : "Query",
81904
+ "required" : false,
81905
+ "maximum" : 5
81882
81906
  }, {
81883
81907
  "name" : "rule_ids",
81884
81908
  "type" : "[string]",
@@ -82151,8 +82175,7 @@
82151
82175
  "type" : "[restriction_status]",
82152
82176
  "location" : "Query",
82153
82177
  "required" : false,
82154
- "description" : "Using `none` will return only items that do not have any restriction decision, typically because they have not been automatically screened",
82155
- "maximum" : 4
82178
+ "maximum" : 5
82156
82179
  }, {
82157
82180
  "name" : "rule_ids",
82158
82181
  "type" : "[string]",
@@ -86462,65 +86485,6 @@
86462
86485
  "ignore" : [ "versions", "get" ]
86463
86486
  }
86464
86487
  } ]
86465
- }, {
86466
- "method" : "GET",
86467
- "path" : "/:organization/billing/transactions/:id",
86468
- "parameters" : [ {
86469
- "name" : "organization",
86470
- "type" : "string",
86471
- "location" : "Path",
86472
- "required" : true,
86473
- "description" : "Refers to your organization's account identifier"
86474
- }, {
86475
- "name" : "id",
86476
- "type" : "string",
86477
- "location" : "Path",
86478
- "required" : true,
86479
- "description" : "Filter by one or more IDs of this resource"
86480
- } ],
86481
- "responses" : [ {
86482
- "code" : {
86483
- "integer" : {
86484
- "value" : 200
86485
- }
86486
- },
86487
- "type" : "transaction",
86488
- "description" : "Successful response",
86489
- "attributes" : [ ]
86490
- }, {
86491
- "code" : {
86492
- "integer" : {
86493
- "value" : 401
86494
- }
86495
- },
86496
- "type" : "unit",
86497
- "description" : "Authorization failed",
86498
- "attributes" : [ ]
86499
- }, {
86500
- "code" : {
86501
- "integer" : {
86502
- "value" : 404
86503
- }
86504
- },
86505
- "type" : "unit",
86506
- "description" : "Resource was not found",
86507
- "attributes" : [ ]
86508
- }, {
86509
- "code" : {
86510
- "integer" : {
86511
- "value" : 422
86512
- }
86513
- },
86514
- "type" : "io.flow.error.v0.models.generic_error",
86515
- "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.",
86516
- "attributes" : [ ]
86517
- } ],
86518
- "attributes" : [ {
86519
- "name" : "linter",
86520
- "value" : {
86521
- "ignore" : [ "versions", "get" ]
86522
- }
86523
- } ]
86524
86488
  } ],
86525
86489
  "attributes" : [ {
86526
86490
  "name" : "docs",