@flowio/api-factories 0.0.68 → 0.0.69
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/cjs/api.js +8 -0
- package/dist/esm/api.js +8 -0
- package/package.json +2 -2
- package/src/api.ts +9 -0
package/dist/cjs/api.js
CHANGED
|
@@ -1757,6 +1757,7 @@ var factories = {
|
|
|
1757
1757
|
status: factories['io.flow.stripe.v0.enums.payment_intent_status'](),
|
|
1758
1758
|
transfer_data: factories['io.flow.stripe.v0.models.transfer_data'](),
|
|
1759
1759
|
transfer_group: factories.string(),
|
|
1760
|
+
shipping: factories['io.flow.stripe.v0.models.payment_intent_shipping'](),
|
|
1760
1761
|
}); },
|
|
1761
1762
|
'io.flow.stripe.v0.models.payment_intent_cancellation_form': function () { return ({
|
|
1762
1763
|
cancellation_reason: factories['io.flow.stripe.v0.enums.cancellation_reason'](),
|
|
@@ -1808,6 +1809,12 @@ var factories = {
|
|
|
1808
1809
|
statement_descriptor_suffix: factories.string(),
|
|
1809
1810
|
transfer_data: factories['io.flow.stripe.v0.models.transfer_data'](),
|
|
1810
1811
|
transfer_group: factories.string(),
|
|
1812
|
+
shipping: factories['io.flow.stripe.v0.models.payment_intent_shipping'](),
|
|
1813
|
+
}); },
|
|
1814
|
+
'io.flow.stripe.v0.models.payment_intent_shipping': function () { return ({
|
|
1815
|
+
address: factories['io.flow.stripe.v0.models.address'](),
|
|
1816
|
+
name: factories.string(),
|
|
1817
|
+
phone: factories.string(),
|
|
1811
1818
|
}); },
|
|
1812
1819
|
'io.flow.stripe.v0.models.payment_intent_update_form': function () { return ({
|
|
1813
1820
|
amount: factories.integer(),
|
|
@@ -11659,6 +11666,7 @@ var factories = {
|
|
|
11659
11666
|
'io.flow.v0.models.transaction_metadata_manual': function () { return ({
|
|
11660
11667
|
discriminator: 'manual',
|
|
11661
11668
|
original: factories['io.flow.v0.models.transaction_metadata_original_transaction'](),
|
|
11669
|
+
url: factories.string(),
|
|
11662
11670
|
}); },
|
|
11663
11671
|
'io.flow.v0.models.transaction_metadata_original_transaction': function () { return ({
|
|
11664
11672
|
id: factories.string(),
|
package/dist/esm/api.js
CHANGED
|
@@ -1717,6 +1717,7 @@ var factories = {
|
|
|
1717
1717
|
status: factories['io.flow.stripe.v0.enums.payment_intent_status'](),
|
|
1718
1718
|
transfer_data: factories['io.flow.stripe.v0.models.transfer_data'](),
|
|
1719
1719
|
transfer_group: factories.string(),
|
|
1720
|
+
shipping: factories['io.flow.stripe.v0.models.payment_intent_shipping'](),
|
|
1720
1721
|
}); },
|
|
1721
1722
|
'io.flow.stripe.v0.models.payment_intent_cancellation_form': function () { return ({
|
|
1722
1723
|
cancellation_reason: factories['io.flow.stripe.v0.enums.cancellation_reason'](),
|
|
@@ -1768,6 +1769,12 @@ var factories = {
|
|
|
1768
1769
|
statement_descriptor_suffix: factories.string(),
|
|
1769
1770
|
transfer_data: factories['io.flow.stripe.v0.models.transfer_data'](),
|
|
1770
1771
|
transfer_group: factories.string(),
|
|
1772
|
+
shipping: factories['io.flow.stripe.v0.models.payment_intent_shipping'](),
|
|
1773
|
+
}); },
|
|
1774
|
+
'io.flow.stripe.v0.models.payment_intent_shipping': function () { return ({
|
|
1775
|
+
address: factories['io.flow.stripe.v0.models.address'](),
|
|
1776
|
+
name: factories.string(),
|
|
1777
|
+
phone: factories.string(),
|
|
1771
1778
|
}); },
|
|
1772
1779
|
'io.flow.stripe.v0.models.payment_intent_update_form': function () { return ({
|
|
1773
1780
|
amount: factories.integer(),
|
|
@@ -11619,6 +11626,7 @@ var factories = {
|
|
|
11619
11626
|
'io.flow.v0.models.transaction_metadata_manual': function () { return ({
|
|
11620
11627
|
discriminator: 'manual',
|
|
11621
11628
|
original: factories['io.flow.v0.models.transaction_metadata_original_transaction'](),
|
|
11629
|
+
url: factories.string(),
|
|
11622
11630
|
}); },
|
|
11623
11631
|
'io.flow.v0.models.transaction_metadata_original_transaction': function () { return ({
|
|
11624
11632
|
id: factories.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.69",
|
|
4
4
|
"description": "Flow API mock data factories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"@faker-js/faker": "^6.2.0",
|
|
37
37
|
"@flowio/api-types": "*"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "8ec8b535c64db79aa4a49bf6bd6eb53f46deee7d"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -2001,6 +2001,7 @@ const factories = {
|
|
|
2001
2001
|
status: factories['io.flow.stripe.v0.enums.payment_intent_status'](),
|
|
2002
2002
|
transfer_data: factories['io.flow.stripe.v0.models.transfer_data'](),
|
|
2003
2003
|
transfer_group: factories.string(),
|
|
2004
|
+
shipping: factories['io.flow.stripe.v0.models.payment_intent_shipping'](),
|
|
2004
2005
|
}),
|
|
2005
2006
|
|
|
2006
2007
|
'io.flow.stripe.v0.models.payment_intent_cancellation_form': (): io.flow.stripe.v0.models.PaymentIntentCancellationForm => ({
|
|
@@ -2057,6 +2058,13 @@ const factories = {
|
|
|
2057
2058
|
statement_descriptor_suffix: factories.string(),
|
|
2058
2059
|
transfer_data: factories['io.flow.stripe.v0.models.transfer_data'](),
|
|
2059
2060
|
transfer_group: factories.string(),
|
|
2061
|
+
shipping: factories['io.flow.stripe.v0.models.payment_intent_shipping'](),
|
|
2062
|
+
}),
|
|
2063
|
+
|
|
2064
|
+
'io.flow.stripe.v0.models.payment_intent_shipping': (): io.flow.stripe.v0.models.PaymentIntentShipping => ({
|
|
2065
|
+
address: factories['io.flow.stripe.v0.models.address'](),
|
|
2066
|
+
name: factories.string(),
|
|
2067
|
+
phone: factories.string(),
|
|
2060
2068
|
}),
|
|
2061
2069
|
|
|
2062
2070
|
'io.flow.stripe.v0.models.payment_intent_update_form': (): io.flow.stripe.v0.models.PaymentIntentUpdateForm => ({
|
|
@@ -13426,6 +13434,7 @@ const factories = {
|
|
|
13426
13434
|
'io.flow.v0.models.transaction_metadata_manual': (): io.flow.v0.models.TransactionMetadataManual => ({
|
|
13427
13435
|
discriminator: 'manual',
|
|
13428
13436
|
original: factories['io.flow.v0.models.transaction_metadata_original_transaction'](),
|
|
13437
|
+
url: factories.string(),
|
|
13429
13438
|
}),
|
|
13430
13439
|
|
|
13431
13440
|
'io.flow.v0.models.transaction_metadata_original_transaction': (): io.flow.v0.models.TransactionMetadataOriginalTransaction => ({
|