@flowio/api-factories 0.0.63 → 0.0.64
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 +4 -0
- package/dist/esm/api.js +4 -0
- package/package.json +2 -2
- package/src/api.ts +4 -0
package/dist/cjs/api.js
CHANGED
|
@@ -2160,9 +2160,11 @@ var factories = {
|
|
|
2160
2160
|
customer: factories.string(),
|
|
2161
2161
|
}); },
|
|
2162
2162
|
'io.flow.stripe.v0.models.three_d_secure_charge': function () { return ({
|
|
2163
|
+
authenticated: factories.boolean(),
|
|
2163
2164
|
authentication_flow: factories['io.flow.stripe.v0.enums.three_ds_authentication_flow'](),
|
|
2164
2165
|
result: factories['io.flow.stripe.v0.enums.three_ds_result'](),
|
|
2165
2166
|
result_reason: factories['io.flow.stripe.v0.enums.three_ds_result_reason'](),
|
|
2167
|
+
succeeded: factories.boolean(),
|
|
2166
2168
|
version: factories.string(),
|
|
2167
2169
|
}); },
|
|
2168
2170
|
'io.flow.stripe.v0.models.three_d_secure_redirect': function () { return ({
|
|
@@ -2910,6 +2912,7 @@ var factories = {
|
|
|
2910
2912
|
'order_unsupported_destination',
|
|
2911
2913
|
'order_missing_information',
|
|
2912
2914
|
'order_domestic',
|
|
2915
|
+
'order_mismatched_currencies',
|
|
2913
2916
|
]); },
|
|
2914
2917
|
'io.flow.v0.enums.payment_request_review_status': function () { return faker_1.default.helpers.arrayElement(['pending', 'approved', 'rejected']); },
|
|
2915
2918
|
'io.flow.v0.enums.payment_source_confirmation_action_type': function () { return faker_1.default.helpers.arrayElement(['cvv', 'billing_address', 'number']); },
|
|
@@ -6860,6 +6863,7 @@ var factories = {
|
|
|
6860
6863
|
discriminator: 'know_your_business_usa',
|
|
6861
6864
|
id: factories.string(),
|
|
6862
6865
|
organization_id: factories.string(),
|
|
6866
|
+
shop: factories['io.flow.v0.models.shop'](),
|
|
6863
6867
|
primary_entity: factories['io.flow.v0.unions.entity'](),
|
|
6864
6868
|
parent_company: factories['io.flow.v0.models.company'](),
|
|
6865
6869
|
ultimate_parent_company: factories['io.flow.v0.models.company'](),
|
package/dist/esm/api.js
CHANGED
|
@@ -2120,9 +2120,11 @@ var factories = {
|
|
|
2120
2120
|
customer: factories.string(),
|
|
2121
2121
|
}); },
|
|
2122
2122
|
'io.flow.stripe.v0.models.three_d_secure_charge': function () { return ({
|
|
2123
|
+
authenticated: factories.boolean(),
|
|
2123
2124
|
authentication_flow: factories['io.flow.stripe.v0.enums.three_ds_authentication_flow'](),
|
|
2124
2125
|
result: factories['io.flow.stripe.v0.enums.three_ds_result'](),
|
|
2125
2126
|
result_reason: factories['io.flow.stripe.v0.enums.three_ds_result_reason'](),
|
|
2127
|
+
succeeded: factories.boolean(),
|
|
2126
2128
|
version: factories.string(),
|
|
2127
2129
|
}); },
|
|
2128
2130
|
'io.flow.stripe.v0.models.three_d_secure_redirect': function () { return ({
|
|
@@ -2870,6 +2872,7 @@ var factories = {
|
|
|
2870
2872
|
'order_unsupported_destination',
|
|
2871
2873
|
'order_missing_information',
|
|
2872
2874
|
'order_domestic',
|
|
2875
|
+
'order_mismatched_currencies',
|
|
2873
2876
|
]); },
|
|
2874
2877
|
'io.flow.v0.enums.payment_request_review_status': function () { return faker.helpers.arrayElement(['pending', 'approved', 'rejected']); },
|
|
2875
2878
|
'io.flow.v0.enums.payment_source_confirmation_action_type': function () { return faker.helpers.arrayElement(['cvv', 'billing_address', 'number']); },
|
|
@@ -6820,6 +6823,7 @@ var factories = {
|
|
|
6820
6823
|
discriminator: 'know_your_business_usa',
|
|
6821
6824
|
id: factories.string(),
|
|
6822
6825
|
organization_id: factories.string(),
|
|
6826
|
+
shop: factories['io.flow.v0.models.shop'](),
|
|
6823
6827
|
primary_entity: factories['io.flow.v0.unions.entity'](),
|
|
6824
6828
|
parent_company: factories['io.flow.v0.models.company'](),
|
|
6825
6829
|
ultimate_parent_company: factories['io.flow.v0.models.company'](),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.64",
|
|
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": "8fbab724c6c2213e0635284f23a62cd0996693eb"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -2459,9 +2459,11 @@ const factories = {
|
|
|
2459
2459
|
}),
|
|
2460
2460
|
|
|
2461
2461
|
'io.flow.stripe.v0.models.three_d_secure_charge': (): io.flow.stripe.v0.models.ThreeDSecureCharge => ({
|
|
2462
|
+
authenticated: factories.boolean(),
|
|
2462
2463
|
authentication_flow: factories['io.flow.stripe.v0.enums.three_ds_authentication_flow'](),
|
|
2463
2464
|
result: factories['io.flow.stripe.v0.enums.three_ds_result'](),
|
|
2464
2465
|
result_reason: factories['io.flow.stripe.v0.enums.three_ds_result_reason'](),
|
|
2466
|
+
succeeded: factories.boolean(),
|
|
2465
2467
|
version: factories.string(),
|
|
2466
2468
|
}),
|
|
2467
2469
|
|
|
@@ -3274,6 +3276,7 @@ const factories = {
|
|
|
3274
3276
|
'order_unsupported_destination',
|
|
3275
3277
|
'order_missing_information',
|
|
3276
3278
|
'order_domestic',
|
|
3279
|
+
'order_mismatched_currencies',
|
|
3277
3280
|
]),
|
|
3278
3281
|
|
|
3279
3282
|
'io.flow.v0.enums.payment_request_review_status': (): io.flow.v0.enums.PaymentRequestReviewStatus => faker.helpers.arrayElement(['pending', 'approved', 'rejected']),
|
|
@@ -7856,6 +7859,7 @@ const factories = {
|
|
|
7856
7859
|
discriminator: 'know_your_business_usa',
|
|
7857
7860
|
id: factories.string(),
|
|
7858
7861
|
organization_id: factories.string(),
|
|
7862
|
+
shop: factories['io.flow.v0.models.shop'](),
|
|
7859
7863
|
primary_entity: factories['io.flow.v0.unions.entity'](),
|
|
7860
7864
|
parent_company: factories['io.flow.v0.models.company'](),
|
|
7861
7865
|
ultimate_parent_company: factories['io.flow.v0.models.company'](),
|