@flowio/api-mock-generator 6.17.37 → 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 +171 -12
  2. package/package.json +2 -2
  3. package/src/api.json +171 -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.96",
13
+ "version": "0.16.98",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -7849,6 +7849,21 @@
7849
7849
  "attributes": [],
7850
7850
  "interfaces": [],
7851
7851
  "discriminator": "type"
7852
+ }, {
7853
+ "name": "payment_method_data_authorize_applepay_result",
7854
+ "plural": "payment_method_data_authorize_applepay_results",
7855
+ "types": [{
7856
+ "type": "payment_method_data_authorize_applepay_result_success",
7857
+ "attributes": [],
7858
+ "discriminator_value": "success"
7859
+ }, {
7860
+ "type": "payment_method_data_authorize_applepay_result_failure",
7861
+ "attributes": [],
7862
+ "discriminator_value": "failure"
7863
+ }],
7864
+ "attributes": [],
7865
+ "interfaces": [],
7866
+ "discriminator": "type"
7852
7867
  }, {
7853
7868
  "name": "payment_method_data_authorize_klarna_result",
7854
7869
  "plural": "payment_method_data_authorize_klarna_results",
@@ -7875,6 +7890,21 @@
7875
7890
  "attributes": [],
7876
7891
  "interfaces": [],
7877
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"
7878
7908
  }, {
7879
7909
  "name": "payment_method_summary",
7880
7910
  "plural": "payment_method_summaries",
@@ -8507,6 +8537,18 @@
8507
8537
  "attributes": [],
8508
8538
  "interfaces": [],
8509
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"
8510
8552
  }],
8511
8553
  "models": [{
8512
8554
  "name": "abandoned_order_email_settings",
@@ -33755,6 +33797,13 @@
33755
33797
  "required": true,
33756
33798
  "attributes": [],
33757
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"
33758
33807
  }, {
33759
33808
  "name": "organization_onboarding_state",
33760
33809
  "type": "organization_onboarding_state",
@@ -33779,6 +33828,13 @@
33779
33828
  "required": true,
33780
33829
  "attributes": [],
33781
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"
33782
33838
  }, {
33783
33839
  "name": "organization_onboarding_state",
33784
33840
  "type": "organization_onboarding_state",
@@ -35526,12 +35582,38 @@
35526
35582
  }, {
35527
35583
  "name": "payment_method_data_authorize_applepay",
35528
35584
  "plural": "payment_method_data_authorize_applepays",
35585
+ "fields": [{
35586
+ "name": "result",
35587
+ "type": "payment_method_data_authorize_applepay_result",
35588
+ "required": true,
35589
+ "attributes": [],
35590
+ "annotations": []
35591
+ }],
35592
+ "attributes": [],
35593
+ "interfaces": []
35594
+ }, {
35595
+ "name": "payment_method_data_authorize_applepay_result_failure",
35596
+ "plural": "payment_method_data_authorize_applepay_result_failures",
35597
+ "fields": [{
35598
+ "name": "placeholder",
35599
+ "type": "string",
35600
+ "required": false,
35601
+ "attributes": [],
35602
+ "annotations": [],
35603
+ "description": "Unused placeholder"
35604
+ }],
35605
+ "attributes": [],
35606
+ "interfaces": []
35607
+ }, {
35608
+ "name": "payment_method_data_authorize_applepay_result_success",
35609
+ "plural": "payment_method_data_authorize_applepay_result_successes",
35529
35610
  "fields": [{
35530
35611
  "name": "token",
35531
35612
  "type": "string",
35532
35613
  "required": true,
35533
35614
  "attributes": [],
35534
- "annotations": []
35615
+ "annotations": [],
35616
+ "description": "The authorized token from Apple Pay"
35535
35617
  }],
35536
35618
  "attributes": [],
35537
35619
  "interfaces": []
@@ -35558,19 +35640,12 @@
35558
35640
  "annotations": [],
35559
35641
  "description": "Providing the card verification value significantly improves approval rate. Will not be stored."
35560
35642
  }, {
35561
- "name": "reference",
35562
- "type": "string",
35563
- "required": false,
35564
- "attributes": [],
35565
- "annotations": [],
35566
- "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."
35567
- }, {
35568
- "name": "previous_transaction_details",
35569
- "type": "transaction_network_details_card",
35643
+ "name": "stored_details_card",
35644
+ "type": "payment_method_stored_details_card",
35570
35645
  "required": false,
35571
35646
  "attributes": [],
35572
35647
  "annotations": [],
35573
- "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."
35574
35649
  }],
35575
35650
  "attributes": [],
35576
35651
  "interfaces": []
@@ -35973,6 +36048,41 @@
35973
36048
  }],
35974
36049
  "attributes": [],
35975
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."
35976
36086
  }, {
35977
36087
  "name": "payment_method_summary_afterpay",
35978
36088
  "plural": "payment_method_summary_afterpays",
@@ -85607,6 +85717,55 @@
85607
85717
  "type": "merchant_application_form",
85608
85718
  "attributes": []
85609
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"
85610
85769
  }, {
85611
85770
  "method": "GET",
85612
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.37",
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": "b751c3c9b00a0488e9efcb77d8677c9711711a87"
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.96",
13
+ "version" : "0.16.98",
14
14
  "info" : {
15
15
  "license" : {
16
16
  "name" : "MIT",
@@ -7849,6 +7849,21 @@
7849
7849
  "attributes" : [ ],
7850
7850
  "interfaces" : [ ],
7851
7851
  "discriminator" : "type"
7852
+ }, {
7853
+ "name" : "payment_method_data_authorize_applepay_result",
7854
+ "plural" : "payment_method_data_authorize_applepay_results",
7855
+ "types" : [ {
7856
+ "type" : "payment_method_data_authorize_applepay_result_success",
7857
+ "attributes" : [ ],
7858
+ "discriminator_value" : "success"
7859
+ }, {
7860
+ "type" : "payment_method_data_authorize_applepay_result_failure",
7861
+ "attributes" : [ ],
7862
+ "discriminator_value" : "failure"
7863
+ } ],
7864
+ "attributes" : [ ],
7865
+ "interfaces" : [ ],
7866
+ "discriminator" : "type"
7852
7867
  }, {
7853
7868
  "name" : "payment_method_data_authorize_klarna_result",
7854
7869
  "plural" : "payment_method_data_authorize_klarna_results",
@@ -7875,6 +7890,21 @@
7875
7890
  "attributes" : [ ],
7876
7891
  "interfaces" : [ ],
7877
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"
7878
7908
  }, {
7879
7909
  "name" : "payment_method_summary",
7880
7910
  "plural" : "payment_method_summaries",
@@ -8507,6 +8537,18 @@
8507
8537
  "attributes" : [ ],
8508
8538
  "interfaces" : [ ],
8509
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"
8510
8552
  } ],
8511
8553
  "models" : [ {
8512
8554
  "name" : "abandoned_order_email_settings",
@@ -33755,6 +33797,13 @@
33755
33797
  "required" : true,
33756
33798
  "attributes" : [ ],
33757
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"
33758
33807
  }, {
33759
33808
  "name" : "organization_onboarding_state",
33760
33809
  "type" : "organization_onboarding_state",
@@ -33779,6 +33828,13 @@
33779
33828
  "required" : true,
33780
33829
  "attributes" : [ ],
33781
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"
33782
33838
  }, {
33783
33839
  "name" : "organization_onboarding_state",
33784
33840
  "type" : "organization_onboarding_state",
@@ -35526,12 +35582,38 @@
35526
35582
  }, {
35527
35583
  "name" : "payment_method_data_authorize_applepay",
35528
35584
  "plural" : "payment_method_data_authorize_applepays",
35585
+ "fields" : [ {
35586
+ "name" : "result",
35587
+ "type" : "payment_method_data_authorize_applepay_result",
35588
+ "required" : true,
35589
+ "attributes" : [ ],
35590
+ "annotations" : [ ]
35591
+ } ],
35592
+ "attributes" : [ ],
35593
+ "interfaces" : [ ]
35594
+ }, {
35595
+ "name" : "payment_method_data_authorize_applepay_result_failure",
35596
+ "plural" : "payment_method_data_authorize_applepay_result_failures",
35597
+ "fields" : [ {
35598
+ "name" : "placeholder",
35599
+ "type" : "string",
35600
+ "required" : false,
35601
+ "attributes" : [ ],
35602
+ "annotations" : [ ],
35603
+ "description" : "Unused placeholder"
35604
+ } ],
35605
+ "attributes" : [ ],
35606
+ "interfaces" : [ ]
35607
+ }, {
35608
+ "name" : "payment_method_data_authorize_applepay_result_success",
35609
+ "plural" : "payment_method_data_authorize_applepay_result_successes",
35529
35610
  "fields" : [ {
35530
35611
  "name" : "token",
35531
35612
  "type" : "string",
35532
35613
  "required" : true,
35533
35614
  "attributes" : [ ],
35534
- "annotations" : [ ]
35615
+ "annotations" : [ ],
35616
+ "description" : "The authorized token from Apple Pay"
35535
35617
  } ],
35536
35618
  "attributes" : [ ],
35537
35619
  "interfaces" : [ ]
@@ -35558,19 +35640,12 @@
35558
35640
  "annotations" : [ ],
35559
35641
  "description" : "Providing the card verification value significantly improves approval rate. Will not be stored."
35560
35642
  }, {
35561
- "name" : "reference",
35562
- "type" : "string",
35563
- "required" : false,
35564
- "attributes" : [ ],
35565
- "annotations" : [ ],
35566
- "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."
35567
- }, {
35568
- "name" : "previous_transaction_details",
35569
- "type" : "transaction_network_details_card",
35643
+ "name" : "stored_details_card",
35644
+ "type" : "payment_method_stored_details_card",
35570
35645
  "required" : false,
35571
35646
  "attributes" : [ ],
35572
35647
  "annotations" : [ ],
35573
- "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."
35574
35649
  } ],
35575
35650
  "attributes" : [ ],
35576
35651
  "interfaces" : [ ]
@@ -35973,6 +36048,41 @@
35973
36048
  } ],
35974
36049
  "attributes" : [ ],
35975
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."
35976
36086
  }, {
35977
36087
  "name" : "payment_method_summary_afterpay",
35978
36088
  "plural" : "payment_method_summary_afterpays",
@@ -85607,6 +85717,55 @@
85607
85717
  "type" : "merchant_application_form",
85608
85718
  "attributes" : [ ]
85609
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"
85610
85769
  }, {
85611
85770
  "method" : "GET",
85612
85771
  "path" : "/:organization/merchant/applications/summary",