@flowio/api-mock-generator 6.17.38 → 6.17.40

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 +144 -12
  2. package/package.json +2 -2
  3. package/src/api.json +144 -12
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.17.1",
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",
@@ -26782,7 +26809,15 @@
26782
26809
  "type": "date-time-iso8601",
26783
26810
  "required": true,
26784
26811
  "attributes": [],
26785
- "annotations": []
26812
+ "annotations": [],
26813
+ "description": "Date a tracking milestone occurred, according to the carrier. Note that if a carrier has a miscalibrated clock, that will impact these data."
26814
+ }, {
26815
+ "name": "created_at",
26816
+ "type": "date-time-iso8601",
26817
+ "required": false,
26818
+ "attributes": [],
26819
+ "annotations": [],
26820
+ "description": "Date the tracking milestone was created in our systems. This may be a later date than the timestamp was received due to delays."
26786
26821
  }],
26787
26822
  "attributes": [],
26788
26823
  "interfaces": []
@@ -33770,6 +33805,13 @@
33770
33805
  "required": true,
33771
33806
  "attributes": [],
33772
33807
  "annotations": []
33808
+ }, {
33809
+ "name": "organization",
33810
+ "type": "string",
33811
+ "required": true,
33812
+ "attributes": [],
33813
+ "annotations": [],
33814
+ "description": "Refers to your organization's account identifier"
33773
33815
  }, {
33774
33816
  "name": "organization_onboarding_state",
33775
33817
  "type": "organization_onboarding_state",
@@ -33794,6 +33836,13 @@
33794
33836
  "required": true,
33795
33837
  "attributes": [],
33796
33838
  "annotations": []
33839
+ }, {
33840
+ "name": "organization",
33841
+ "type": "string",
33842
+ "required": true,
33843
+ "attributes": [],
33844
+ "annotations": [],
33845
+ "description": "Refers to your organization's account identifier"
33797
33846
  }, {
33798
33847
  "name": "organization_onboarding_state",
33799
33848
  "type": "organization_onboarding_state",
@@ -35599,19 +35648,12 @@
35599
35648
  "annotations": [],
35600
35649
  "description": "Providing the card verification value significantly improves approval rate. Will not be stored."
35601
35650
  }, {
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",
35651
+ "name": "stored_details_card",
35652
+ "type": "payment_method_stored_details_card",
35611
35653
  "required": false,
35612
35654
  "attributes": [],
35613
35655
  "annotations": [],
35614
- "description": "Indicates that this transaction is a subsequent transaction with a stored card. Contains information from a previous transaction with that card."
35656
+ "description": "Information for recurring or vaulted card integrations to support returning customer checkouts."
35615
35657
  }],
35616
35658
  "attributes": [],
35617
35659
  "interfaces": []
@@ -36014,6 +36056,41 @@
36014
36056
  }],
36015
36057
  "attributes": [],
36016
36058
  "interfaces": []
36059
+ }, {
36060
+ "name": "payment_method_stored_details_card_initial",
36061
+ "plural": "payment_method_stored_details_card_initials",
36062
+ "fields": [{
36063
+ "name": "reference",
36064
+ "type": "string",
36065
+ "required": false,
36066
+ "attributes": [],
36067
+ "annotations": [],
36068
+ "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."
36069
+ }],
36070
+ "attributes": [],
36071
+ "interfaces": [],
36072
+ "description": "Indicates that this transaction is the first in a sequence."
36073
+ }, {
36074
+ "name": "payment_method_stored_details_card_subsequent",
36075
+ "plural": "payment_method_stored_details_card_subsequents",
36076
+ "fields": [{
36077
+ "name": "reference",
36078
+ "type": "string",
36079
+ "required": false,
36080
+ "attributes": [],
36081
+ "annotations": [],
36082
+ "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."
36083
+ }, {
36084
+ "name": "previous_transaction_details",
36085
+ "type": "transaction_network_details_card",
36086
+ "required": false,
36087
+ "attributes": [],
36088
+ "annotations": [],
36089
+ "description": "Contains network specific information from a previous transaction with that card."
36090
+ }],
36091
+ "attributes": [],
36092
+ "interfaces": [],
36093
+ "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
36094
  }, {
36018
36095
  "name": "payment_method_summary_afterpay",
36019
36096
  "plural": "payment_method_summary_afterpays",
@@ -44834,6 +44911,12 @@
44834
44911
  "attributes": [],
44835
44912
  "annotations": [],
44836
44913
  "description": "Tells us who the recipient of the package is. This will determine information passed on to carriers to make sure the correct label and accounts are used"
44914
+ }, {
44915
+ "name": "updated_at",
44916
+ "type": "date-time-iso8601",
44917
+ "required": true,
44918
+ "attributes": [],
44919
+ "annotations": []
44837
44920
  }],
44838
44921
  "attributes": [],
44839
44922
  "interfaces": [],
@@ -85648,6 +85731,55 @@
85648
85731
  "type": "merchant_application_form",
85649
85732
  "attributes": []
85650
85733
  }
85734
+ }, {
85735
+ "method": "GET",
85736
+ "path": "/:organization/merchant/applications/latest",
85737
+ "parameters": [{
85738
+ "name": "organization",
85739
+ "type": "string",
85740
+ "location": "Path",
85741
+ "required": true,
85742
+ "description": "Refers to your organization's account identifier"
85743
+ }],
85744
+ "responses": [{
85745
+ "code": {
85746
+ "integer": {
85747
+ "value": 200
85748
+ }
85749
+ },
85750
+ "type": "merchant_application",
85751
+ "description": "Successful response",
85752
+ "attributes": []
85753
+ }, {
85754
+ "code": {
85755
+ "integer": {
85756
+ "value": 401
85757
+ }
85758
+ },
85759
+ "type": "unit",
85760
+ "description": "Authorization failed",
85761
+ "attributes": []
85762
+ }, {
85763
+ "code": {
85764
+ "integer": {
85765
+ "value": 404
85766
+ }
85767
+ },
85768
+ "type": "unit",
85769
+ "description": "Resource was not found",
85770
+ "attributes": []
85771
+ }, {
85772
+ "code": {
85773
+ "integer": {
85774
+ "value": 422
85775
+ }
85776
+ },
85777
+ "type": "generic_error",
85778
+ "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.",
85779
+ "attributes": []
85780
+ }],
85781
+ "attributes": [],
85782
+ "description": "See most recent application for organization"
85651
85783
  }, {
85652
85784
  "method": "GET",
85653
85785
  "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.40",
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": "63fffa9137d71ba4d2ba733b317fa1ddb1906352"
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.17.1",
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",
@@ -26782,7 +26809,15 @@
26782
26809
  "type" : "date-time-iso8601",
26783
26810
  "required" : true,
26784
26811
  "attributes" : [ ],
26785
- "annotations" : [ ]
26812
+ "annotations" : [ ],
26813
+ "description" : "Date a tracking milestone occurred, according to the carrier. Note that if a carrier has a miscalibrated clock, that will impact these data."
26814
+ }, {
26815
+ "name" : "created_at",
26816
+ "type" : "date-time-iso8601",
26817
+ "required" : false,
26818
+ "attributes" : [ ],
26819
+ "annotations" : [ ],
26820
+ "description" : "Date the tracking milestone was created in our systems. This may be a later date than the timestamp was received due to delays."
26786
26821
  } ],
26787
26822
  "attributes" : [ ],
26788
26823
  "interfaces" : [ ]
@@ -33770,6 +33805,13 @@
33770
33805
  "required" : true,
33771
33806
  "attributes" : [ ],
33772
33807
  "annotations" : [ ]
33808
+ }, {
33809
+ "name" : "organization",
33810
+ "type" : "string",
33811
+ "required" : true,
33812
+ "attributes" : [ ],
33813
+ "annotations" : [ ],
33814
+ "description" : "Refers to your organization's account identifier"
33773
33815
  }, {
33774
33816
  "name" : "organization_onboarding_state",
33775
33817
  "type" : "organization_onboarding_state",
@@ -33794,6 +33836,13 @@
33794
33836
  "required" : true,
33795
33837
  "attributes" : [ ],
33796
33838
  "annotations" : [ ]
33839
+ }, {
33840
+ "name" : "organization",
33841
+ "type" : "string",
33842
+ "required" : true,
33843
+ "attributes" : [ ],
33844
+ "annotations" : [ ],
33845
+ "description" : "Refers to your organization's account identifier"
33797
33846
  }, {
33798
33847
  "name" : "organization_onboarding_state",
33799
33848
  "type" : "organization_onboarding_state",
@@ -35599,19 +35648,12 @@
35599
35648
  "annotations" : [ ],
35600
35649
  "description" : "Providing the card verification value significantly improves approval rate. Will not be stored."
35601
35650
  }, {
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",
35651
+ "name" : "stored_details_card",
35652
+ "type" : "payment_method_stored_details_card",
35611
35653
  "required" : false,
35612
35654
  "attributes" : [ ],
35613
35655
  "annotations" : [ ],
35614
- "description" : "Indicates that this transaction is a subsequent transaction with a stored card. Contains information from a previous transaction with that card."
35656
+ "description" : "Information for recurring or vaulted card integrations to support returning customer checkouts."
35615
35657
  } ],
35616
35658
  "attributes" : [ ],
35617
35659
  "interfaces" : [ ]
@@ -36014,6 +36056,41 @@
36014
36056
  } ],
36015
36057
  "attributes" : [ ],
36016
36058
  "interfaces" : [ ]
36059
+ }, {
36060
+ "name" : "payment_method_stored_details_card_initial",
36061
+ "plural" : "payment_method_stored_details_card_initials",
36062
+ "fields" : [ {
36063
+ "name" : "reference",
36064
+ "type" : "string",
36065
+ "required" : false,
36066
+ "attributes" : [ ],
36067
+ "annotations" : [ ],
36068
+ "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."
36069
+ } ],
36070
+ "attributes" : [ ],
36071
+ "interfaces" : [ ],
36072
+ "description" : "Indicates that this transaction is the first in a sequence."
36073
+ }, {
36074
+ "name" : "payment_method_stored_details_card_subsequent",
36075
+ "plural" : "payment_method_stored_details_card_subsequents",
36076
+ "fields" : [ {
36077
+ "name" : "reference",
36078
+ "type" : "string",
36079
+ "required" : false,
36080
+ "attributes" : [ ],
36081
+ "annotations" : [ ],
36082
+ "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."
36083
+ }, {
36084
+ "name" : "previous_transaction_details",
36085
+ "type" : "transaction_network_details_card",
36086
+ "required" : false,
36087
+ "attributes" : [ ],
36088
+ "annotations" : [ ],
36089
+ "description" : "Contains network specific information from a previous transaction with that card."
36090
+ } ],
36091
+ "attributes" : [ ],
36092
+ "interfaces" : [ ],
36093
+ "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
36094
  }, {
36018
36095
  "name" : "payment_method_summary_afterpay",
36019
36096
  "plural" : "payment_method_summary_afterpays",
@@ -44834,6 +44911,12 @@
44834
44911
  "attributes" : [ ],
44835
44912
  "annotations" : [ ],
44836
44913
  "description" : "Tells us who the recipient of the package is. This will determine information passed on to carriers to make sure the correct label and accounts are used"
44914
+ }, {
44915
+ "name" : "updated_at",
44916
+ "type" : "date-time-iso8601",
44917
+ "required" : true,
44918
+ "attributes" : [ ],
44919
+ "annotations" : [ ]
44837
44920
  } ],
44838
44921
  "attributes" : [ ],
44839
44922
  "interfaces" : [ ],
@@ -85648,6 +85731,55 @@
85648
85731
  "type" : "merchant_application_form",
85649
85732
  "attributes" : [ ]
85650
85733
  }
85734
+ }, {
85735
+ "method" : "GET",
85736
+ "path" : "/:organization/merchant/applications/latest",
85737
+ "parameters" : [ {
85738
+ "name" : "organization",
85739
+ "type" : "string",
85740
+ "location" : "Path",
85741
+ "required" : true,
85742
+ "description" : "Refers to your organization's account identifier"
85743
+ } ],
85744
+ "responses" : [ {
85745
+ "code" : {
85746
+ "integer" : {
85747
+ "value" : 200
85748
+ }
85749
+ },
85750
+ "type" : "merchant_application",
85751
+ "description" : "Successful response",
85752
+ "attributes" : [ ]
85753
+ }, {
85754
+ "code" : {
85755
+ "integer" : {
85756
+ "value" : 401
85757
+ }
85758
+ },
85759
+ "type" : "unit",
85760
+ "description" : "Authorization failed",
85761
+ "attributes" : [ ]
85762
+ }, {
85763
+ "code" : {
85764
+ "integer" : {
85765
+ "value" : 404
85766
+ }
85767
+ },
85768
+ "type" : "unit",
85769
+ "description" : "Resource was not found",
85770
+ "attributes" : [ ]
85771
+ }, {
85772
+ "code" : {
85773
+ "integer" : {
85774
+ "value" : 422
85775
+ }
85776
+ },
85777
+ "type" : "generic_error",
85778
+ "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.",
85779
+ "attributes" : [ ]
85780
+ } ],
85781
+ "attributes" : [ ],
85782
+ "description" : "See most recent application for organization"
85651
85783
  }, {
85652
85784
  "method" : "GET",
85653
85785
  "path" : "/:organization/merchant/applications/summary",