@flowio/api-mock-generator 6.17.38 → 6.17.39

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 +129 -11
  2. package/package.json +2 -2
  3. package/src/api.json +129 -11
package/dist/api.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "key": "api"
11
11
  },
12
12
  "namespace": "io.flow.v0",
13
- "version": "0.16.97",
13
+ "version": "0.16.98",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -7890,6 +7890,21 @@
7890
7890
  "attributes": [],
7891
7891
  "interfaces": [],
7892
7892
  "discriminator": "type"
7893
+ }, {
7894
+ "name": "payment_method_stored_details_card",
7895
+ "plural": "payment_method_stored_details_cards",
7896
+ "types": [{
7897
+ "type": "payment_method_stored_details_card_initial",
7898
+ "attributes": [],
7899
+ "discriminator_value": "initial"
7900
+ }, {
7901
+ "type": "payment_method_stored_details_card_subsequent",
7902
+ "attributes": [],
7903
+ "discriminator_value": "subsequent"
7904
+ }],
7905
+ "attributes": [],
7906
+ "interfaces": [],
7907
+ "discriminator": "type"
7893
7908
  }, {
7894
7909
  "name": "payment_method_summary",
7895
7910
  "plural": "payment_method_summaries",
@@ -8522,6 +8537,18 @@
8522
8537
  "attributes": [],
8523
8538
  "interfaces": [],
8524
8539
  "discriminator": "discriminator"
8540
+ }, {
8541
+ "name": "transaction_details",
8542
+ "plural": "transaction_detailses",
8543
+ "types": [{
8544
+ "type": "transaction_details_card",
8545
+ "attributes": [],
8546
+ "description": "Card specific transaction details",
8547
+ "discriminator_value": "card"
8548
+ }],
8549
+ "attributes": [],
8550
+ "interfaces": [],
8551
+ "discriminator": "type"
8525
8552
  }],
8526
8553
  "models": [{
8527
8554
  "name": "abandoned_order_email_settings",
@@ -33770,6 +33797,13 @@
33770
33797
  "required": true,
33771
33798
  "attributes": [],
33772
33799
  "annotations": []
33800
+ }, {
33801
+ "name": "organization",
33802
+ "type": "string",
33803
+ "required": true,
33804
+ "attributes": [],
33805
+ "annotations": [],
33806
+ "description": "Refers to your organization's account identifier"
33773
33807
  }, {
33774
33808
  "name": "organization_onboarding_state",
33775
33809
  "type": "organization_onboarding_state",
@@ -33794,6 +33828,13 @@
33794
33828
  "required": true,
33795
33829
  "attributes": [],
33796
33830
  "annotations": []
33831
+ }, {
33832
+ "name": "organization",
33833
+ "type": "string",
33834
+ "required": true,
33835
+ "attributes": [],
33836
+ "annotations": [],
33837
+ "description": "Refers to your organization's account identifier"
33797
33838
  }, {
33798
33839
  "name": "organization_onboarding_state",
33799
33840
  "type": "organization_onboarding_state",
@@ -35599,19 +35640,12 @@
35599
35640
  "annotations": [],
35600
35641
  "description": "Providing the card verification value significantly improves approval rate. Will not be stored."
35601
35642
  }, {
35602
- "name": "reference",
35603
- "type": "string",
35604
- "required": false,
35605
- "attributes": [],
35606
- "annotations": [],
35607
- "description": "A external reference corresponding to a single vaulted or stored card. Helps provide continuity to PSPs and fraud providers to improve acceptance for future transactions with that card."
35608
- }, {
35609
- "name": "previous_transaction_details",
35610
- "type": "transaction_network_details_card",
35643
+ "name": "stored_details_card",
35644
+ "type": "payment_method_stored_details_card",
35611
35645
  "required": false,
35612
35646
  "attributes": [],
35613
35647
  "annotations": [],
35614
- "description": "Indicates that this transaction is a subsequent transaction with a stored card. Contains information from a previous transaction with that card."
35648
+ "description": "Information for recurring or vaulted card integrations to support returning customer checkouts."
35615
35649
  }],
35616
35650
  "attributes": [],
35617
35651
  "interfaces": []
@@ -36014,6 +36048,41 @@
36014
36048
  }],
36015
36049
  "attributes": [],
36016
36050
  "interfaces": []
36051
+ }, {
36052
+ "name": "payment_method_stored_details_card_initial",
36053
+ "plural": "payment_method_stored_details_card_initials",
36054
+ "fields": [{
36055
+ "name": "reference",
36056
+ "type": "string",
36057
+ "required": false,
36058
+ "attributes": [],
36059
+ "annotations": [],
36060
+ "description": "An external reference to correspond with the vaulted or stored card. Helps provide continuity to PSPs and fraud providers to improve acceptance for future transactions with that card."
36061
+ }],
36062
+ "attributes": [],
36063
+ "interfaces": [],
36064
+ "description": "Indicates that this transaction is the first in a sequence."
36065
+ }, {
36066
+ "name": "payment_method_stored_details_card_subsequent",
36067
+ "plural": "payment_method_stored_details_card_subsequents",
36068
+ "fields": [{
36069
+ "name": "reference",
36070
+ "type": "string",
36071
+ "required": false,
36072
+ "attributes": [],
36073
+ "annotations": [],
36074
+ "description": "An external reference corresponding to a single vaulted or stored card. Helps provide continuity to PSPs and fraud providers to improve acceptance for future transactions with that card."
36075
+ }, {
36076
+ "name": "previous_transaction_details",
36077
+ "type": "transaction_network_details_card",
36078
+ "required": false,
36079
+ "attributes": [],
36080
+ "annotations": [],
36081
+ "description": "Contains network specific information from a previous transaction with that card."
36082
+ }],
36083
+ "attributes": [],
36084
+ "interfaces": [],
36085
+ "description": "Indicates that this is a transaction with a previously stored card. In those cases, CVV may not be required, but additional information can help ensure that the transaction is approved."
36017
36086
  }, {
36018
36087
  "name": "payment_method_summary_afterpay",
36019
36088
  "plural": "payment_method_summary_afterpays",
@@ -85648,6 +85717,55 @@
85648
85717
  "type": "merchant_application_form",
85649
85718
  "attributes": []
85650
85719
  }
85720
+ }, {
85721
+ "method": "GET",
85722
+ "path": "/:organization/merchant/applications/latest",
85723
+ "parameters": [{
85724
+ "name": "organization",
85725
+ "type": "string",
85726
+ "location": "Path",
85727
+ "required": true,
85728
+ "description": "Refers to your organization's account identifier"
85729
+ }],
85730
+ "responses": [{
85731
+ "code": {
85732
+ "integer": {
85733
+ "value": 200
85734
+ }
85735
+ },
85736
+ "type": "merchant_application",
85737
+ "description": "Successful response",
85738
+ "attributes": []
85739
+ }, {
85740
+ "code": {
85741
+ "integer": {
85742
+ "value": 401
85743
+ }
85744
+ },
85745
+ "type": "unit",
85746
+ "description": "Authorization failed",
85747
+ "attributes": []
85748
+ }, {
85749
+ "code": {
85750
+ "integer": {
85751
+ "value": 404
85752
+ }
85753
+ },
85754
+ "type": "unit",
85755
+ "description": "Resource was not found",
85756
+ "attributes": []
85757
+ }, {
85758
+ "code": {
85759
+ "integer": {
85760
+ "value": 422
85761
+ }
85762
+ },
85763
+ "type": "generic_error",
85764
+ "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.",
85765
+ "attributes": []
85766
+ }],
85767
+ "attributes": [],
85768
+ "description": "See most recent application for organization"
85651
85769
  }, {
85652
85770
  "method": "GET",
85653
85771
  "path": "/:organization/merchant/applications/summary",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-mock-generator",
3
- "version": "6.17.38",
3
+ "version": "6.17.39",
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": "f8f8ae1c2b9472a8a42afdf320e7baa8341a3533"
31
+ "gitHead": "67c63b1d0d73f3943c90b2a53df3408e2c92ab71"
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.16.97",
13
+ "version" : "0.16.98",
14
14
  "info" : {
15
15
  "license" : {
16
16
  "name" : "MIT",
@@ -7890,6 +7890,21 @@
7890
7890
  "attributes" : [ ],
7891
7891
  "interfaces" : [ ],
7892
7892
  "discriminator" : "type"
7893
+ }, {
7894
+ "name" : "payment_method_stored_details_card",
7895
+ "plural" : "payment_method_stored_details_cards",
7896
+ "types" : [ {
7897
+ "type" : "payment_method_stored_details_card_initial",
7898
+ "attributes" : [ ],
7899
+ "discriminator_value" : "initial"
7900
+ }, {
7901
+ "type" : "payment_method_stored_details_card_subsequent",
7902
+ "attributes" : [ ],
7903
+ "discriminator_value" : "subsequent"
7904
+ } ],
7905
+ "attributes" : [ ],
7906
+ "interfaces" : [ ],
7907
+ "discriminator" : "type"
7893
7908
  }, {
7894
7909
  "name" : "payment_method_summary",
7895
7910
  "plural" : "payment_method_summaries",
@@ -8522,6 +8537,18 @@
8522
8537
  "attributes" : [ ],
8523
8538
  "interfaces" : [ ],
8524
8539
  "discriminator" : "discriminator"
8540
+ }, {
8541
+ "name" : "transaction_details",
8542
+ "plural" : "transaction_detailses",
8543
+ "types" : [ {
8544
+ "type" : "transaction_details_card",
8545
+ "attributes" : [ ],
8546
+ "description" : "Card specific transaction details",
8547
+ "discriminator_value" : "card"
8548
+ } ],
8549
+ "attributes" : [ ],
8550
+ "interfaces" : [ ],
8551
+ "discriminator" : "type"
8525
8552
  } ],
8526
8553
  "models" : [ {
8527
8554
  "name" : "abandoned_order_email_settings",
@@ -33770,6 +33797,13 @@
33770
33797
  "required" : true,
33771
33798
  "attributes" : [ ],
33772
33799
  "annotations" : [ ]
33800
+ }, {
33801
+ "name" : "organization",
33802
+ "type" : "string",
33803
+ "required" : true,
33804
+ "attributes" : [ ],
33805
+ "annotations" : [ ],
33806
+ "description" : "Refers to your organization's account identifier"
33773
33807
  }, {
33774
33808
  "name" : "organization_onboarding_state",
33775
33809
  "type" : "organization_onboarding_state",
@@ -33794,6 +33828,13 @@
33794
33828
  "required" : true,
33795
33829
  "attributes" : [ ],
33796
33830
  "annotations" : [ ]
33831
+ }, {
33832
+ "name" : "organization",
33833
+ "type" : "string",
33834
+ "required" : true,
33835
+ "attributes" : [ ],
33836
+ "annotations" : [ ],
33837
+ "description" : "Refers to your organization's account identifier"
33797
33838
  }, {
33798
33839
  "name" : "organization_onboarding_state",
33799
33840
  "type" : "organization_onboarding_state",
@@ -35599,19 +35640,12 @@
35599
35640
  "annotations" : [ ],
35600
35641
  "description" : "Providing the card verification value significantly improves approval rate. Will not be stored."
35601
35642
  }, {
35602
- "name" : "reference",
35603
- "type" : "string",
35604
- "required" : false,
35605
- "attributes" : [ ],
35606
- "annotations" : [ ],
35607
- "description" : "A external reference corresponding to a single vaulted or stored card. Helps provide continuity to PSPs and fraud providers to improve acceptance for future transactions with that card."
35608
- }, {
35609
- "name" : "previous_transaction_details",
35610
- "type" : "transaction_network_details_card",
35643
+ "name" : "stored_details_card",
35644
+ "type" : "payment_method_stored_details_card",
35611
35645
  "required" : false,
35612
35646
  "attributes" : [ ],
35613
35647
  "annotations" : [ ],
35614
- "description" : "Indicates that this transaction is a subsequent transaction with a stored card. Contains information from a previous transaction with that card."
35648
+ "description" : "Information for recurring or vaulted card integrations to support returning customer checkouts."
35615
35649
  } ],
35616
35650
  "attributes" : [ ],
35617
35651
  "interfaces" : [ ]
@@ -36014,6 +36048,41 @@
36014
36048
  } ],
36015
36049
  "attributes" : [ ],
36016
36050
  "interfaces" : [ ]
36051
+ }, {
36052
+ "name" : "payment_method_stored_details_card_initial",
36053
+ "plural" : "payment_method_stored_details_card_initials",
36054
+ "fields" : [ {
36055
+ "name" : "reference",
36056
+ "type" : "string",
36057
+ "required" : false,
36058
+ "attributes" : [ ],
36059
+ "annotations" : [ ],
36060
+ "description" : "An external reference to correspond with the vaulted or stored card. Helps provide continuity to PSPs and fraud providers to improve acceptance for future transactions with that card."
36061
+ } ],
36062
+ "attributes" : [ ],
36063
+ "interfaces" : [ ],
36064
+ "description" : "Indicates that this transaction is the first in a sequence."
36065
+ }, {
36066
+ "name" : "payment_method_stored_details_card_subsequent",
36067
+ "plural" : "payment_method_stored_details_card_subsequents",
36068
+ "fields" : [ {
36069
+ "name" : "reference",
36070
+ "type" : "string",
36071
+ "required" : false,
36072
+ "attributes" : [ ],
36073
+ "annotations" : [ ],
36074
+ "description" : "An external reference corresponding to a single vaulted or stored card. Helps provide continuity to PSPs and fraud providers to improve acceptance for future transactions with that card."
36075
+ }, {
36076
+ "name" : "previous_transaction_details",
36077
+ "type" : "transaction_network_details_card",
36078
+ "required" : false,
36079
+ "attributes" : [ ],
36080
+ "annotations" : [ ],
36081
+ "description" : "Contains network specific information from a previous transaction with that card."
36082
+ } ],
36083
+ "attributes" : [ ],
36084
+ "interfaces" : [ ],
36085
+ "description" : "Indicates that this is a transaction with a previously stored card. In those cases, CVV may not be required, but additional information can help ensure that the transaction is approved."
36017
36086
  }, {
36018
36087
  "name" : "payment_method_summary_afterpay",
36019
36088
  "plural" : "payment_method_summary_afterpays",
@@ -85648,6 +85717,55 @@
85648
85717
  "type" : "merchant_application_form",
85649
85718
  "attributes" : [ ]
85650
85719
  }
85720
+ }, {
85721
+ "method" : "GET",
85722
+ "path" : "/:organization/merchant/applications/latest",
85723
+ "parameters" : [ {
85724
+ "name" : "organization",
85725
+ "type" : "string",
85726
+ "location" : "Path",
85727
+ "required" : true,
85728
+ "description" : "Refers to your organization's account identifier"
85729
+ } ],
85730
+ "responses" : [ {
85731
+ "code" : {
85732
+ "integer" : {
85733
+ "value" : 200
85734
+ }
85735
+ },
85736
+ "type" : "merchant_application",
85737
+ "description" : "Successful response",
85738
+ "attributes" : [ ]
85739
+ }, {
85740
+ "code" : {
85741
+ "integer" : {
85742
+ "value" : 401
85743
+ }
85744
+ },
85745
+ "type" : "unit",
85746
+ "description" : "Authorization failed",
85747
+ "attributes" : [ ]
85748
+ }, {
85749
+ "code" : {
85750
+ "integer" : {
85751
+ "value" : 404
85752
+ }
85753
+ },
85754
+ "type" : "unit",
85755
+ "description" : "Resource was not found",
85756
+ "attributes" : [ ]
85757
+ }, {
85758
+ "code" : {
85759
+ "integer" : {
85760
+ "value" : 422
85761
+ }
85762
+ },
85763
+ "type" : "generic_error",
85764
+ "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.",
85765
+ "attributes" : [ ]
85766
+ } ],
85767
+ "attributes" : [ ],
85768
+ "description" : "See most recent application for organization"
85651
85769
  }, {
85652
85770
  "method" : "GET",
85653
85771
  "path" : "/:organization/merchant/applications/summary",