@flowio/api-factories 0.0.87 → 0.0.89
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 +310 -14
- package/dist/esm/api.js +292 -0
- package/dist/types/api.d.ts +4 -0
- package/package.json +2 -2
- package/src/api.ts +337 -0
package/src/api.ts
CHANGED
|
@@ -336,6 +336,7 @@ const factories = {
|
|
|
336
336
|
'io.flow.shopify.external.v0.enums.format': (): io.flow.shopify.external.v0.enums.Format => faker.helpers.arrayElement(['json', 'xml']),
|
|
337
337
|
'io.flow.shopify.external.v0.enums.fulfillment_service': (): io.flow.shopify.external.v0.enums.FulfillmentService => faker.helpers.arrayElement(['manual', 'gift_card']),
|
|
338
338
|
'io.flow.shopify.external.v0.enums.fulfillment_status_type': (): io.flow.shopify.external.v0.enums.FulfillmentStatusType => faker.helpers.arrayElement(['fulfilled', 'null', 'partial']),
|
|
339
|
+
'io.flow.shopify.external.v0.enums.graphql_weight_unit': (): io.flow.shopify.external.v0.enums.GraphqlWeightUnit => faker.helpers.arrayElement(['GRAMS', 'KILOGRAMS', 'OUNCES', 'POUNDS']),
|
|
339
340
|
'io.flow.shopify.external.v0.enums.inventory_behaviour': (): io.flow.shopify.external.v0.enums.InventoryBehaviour => faker.helpers.arrayElement(['bypass', 'decrement_ignoring_policy', 'decrement_obeying_policy']),
|
|
340
341
|
'io.flow.shopify.external.v0.enums.inventory_management': (): io.flow.shopify.external.v0.enums.InventoryManagement => faker.helpers.arrayElement(['blank', 'shopify']),
|
|
341
342
|
'io.flow.shopify.external.v0.enums.inventory_policy': (): io.flow.shopify.external.v0.enums.InventoryPolicy => faker.helpers.arrayElement(['deny', 'continue']),
|
|
@@ -481,6 +482,81 @@ const factories = {
|
|
|
481
482
|
count: factories.long(),
|
|
482
483
|
}),
|
|
483
484
|
|
|
485
|
+
'io.flow.shopify.external.v0.models.graphql_inventory_item': (): io.flow.shopify.external.v0.models.GraphqlInventoryItem => ({
|
|
486
|
+
id: factories.string(),
|
|
487
|
+
tracked: factories.boolean(),
|
|
488
|
+
requiresShipping: factories.boolean(),
|
|
489
|
+
measurement: factories['io.flow.shopify.external.v0.models.graphql_measurement'](),
|
|
490
|
+
}),
|
|
491
|
+
|
|
492
|
+
'io.flow.shopify.external.v0.models.graphql_measurement': (): io.flow.shopify.external.v0.models.GraphqlMeasurement => ({
|
|
493
|
+
weight: factories['io.flow.shopify.external.v0.models.graphql_weight'](),
|
|
494
|
+
}),
|
|
495
|
+
|
|
496
|
+
'io.flow.shopify.external.v0.models.graphql_option': (): io.flow.shopify.external.v0.models.GraphqlOption => ({
|
|
497
|
+
id: factories.string(),
|
|
498
|
+
values: arrayOf(() => factories.string()),
|
|
499
|
+
name: factories.string(),
|
|
500
|
+
position: factories.integer(),
|
|
501
|
+
}),
|
|
502
|
+
|
|
503
|
+
'io.flow.shopify.external.v0.models.graphql_product': (): io.flow.shopify.external.v0.models.GraphqlProduct => ({
|
|
504
|
+
id: factories.string(),
|
|
505
|
+
legacyResourceId: factories.string(),
|
|
506
|
+
handle: factories.string(),
|
|
507
|
+
|
|
508
|
+
variants: arrayOf(
|
|
509
|
+
() => factories['io.flow.shopify.external.v0.models.graphql_product_variant'](),
|
|
510
|
+
),
|
|
511
|
+
|
|
512
|
+
images: arrayOf(
|
|
513
|
+
() => factories['io.flow.shopify.external.v0.models.graphql_product_image'](),
|
|
514
|
+
),
|
|
515
|
+
|
|
516
|
+
title: factories.string(),
|
|
517
|
+
vendor: factories.string(),
|
|
518
|
+
descriptionHtml: factories.string(),
|
|
519
|
+
productType: factories.string(),
|
|
520
|
+
status: factories.string(),
|
|
521
|
+
options: arrayOf(() => factories['io.flow.shopify.external.v0.models.graphql_option']()),
|
|
522
|
+
tags: arrayOf(() => factories.string()),
|
|
523
|
+
templateSuffix: factories.string(),
|
|
524
|
+
publishedAt: factories.date_time_iso_8601(),
|
|
525
|
+
createdAt: factories.date_time_iso_8601(),
|
|
526
|
+
updatedAt: factories.date_time_iso_8601(),
|
|
527
|
+
hasVariantsThatRequiresComponents: factories.boolean(),
|
|
528
|
+
}),
|
|
529
|
+
|
|
530
|
+
'io.flow.shopify.external.v0.models.graphql_product_image': (): io.flow.shopify.external.v0.models.GraphqlProductImage => ({
|
|
531
|
+
id: factories.string(),
|
|
532
|
+
url: factories.string(),
|
|
533
|
+
altText: factories.string(),
|
|
534
|
+
}),
|
|
535
|
+
|
|
536
|
+
'io.flow.shopify.external.v0.models.graphql_product_variant': (): io.flow.shopify.external.v0.models.GraphqlProductVariant => ({
|
|
537
|
+
id: factories.string(),
|
|
538
|
+
legacyResourceId: factories.string(),
|
|
539
|
+
sku: factories.string(),
|
|
540
|
+
price: factories.string(),
|
|
541
|
+
title: factories.string(),
|
|
542
|
+
taxable: factories.boolean(),
|
|
543
|
+
compareAtPrice: factories.string(),
|
|
544
|
+
barcode: factories.string(),
|
|
545
|
+
inventoryPolicy: factories['io.flow.shopify.external.v0.enums.inventory_policy'](),
|
|
546
|
+
inventoryQuantity: factories.long(),
|
|
547
|
+
image: factories['io.flow.shopify.external.v0.models.graphql_variant_image'](),
|
|
548
|
+
inventoryItem: factories['io.flow.shopify.external.v0.models.graphql_inventory_item'](),
|
|
549
|
+
}),
|
|
550
|
+
|
|
551
|
+
'io.flow.shopify.external.v0.models.graphql_variant_image': (): io.flow.shopify.external.v0.models.GraphqlVariantImage => ({
|
|
552
|
+
id: factories.string(),
|
|
553
|
+
}),
|
|
554
|
+
|
|
555
|
+
'io.flow.shopify.external.v0.models.graphql_weight': (): io.flow.shopify.external.v0.models.GraphqlWeight => ({
|
|
556
|
+
unit: factories['io.flow.shopify.external.v0.enums.graphql_weight_unit'](),
|
|
557
|
+
value: factories.double(),
|
|
558
|
+
}),
|
|
559
|
+
|
|
484
560
|
'io.flow.shopify.external.v0.models.metafield': (): io.flow.shopify.external.v0.models.Metafield => ({
|
|
485
561
|
id: factories.long(),
|
|
486
562
|
key: factories.string(),
|
|
@@ -773,6 +849,11 @@ const factories = {
|
|
|
773
849
|
user_agent: factories.string(),
|
|
774
850
|
}),
|
|
775
851
|
|
|
852
|
+
'io.flow.shopify.external.v0.models.shopify_country_harmonized_system_code': (): io.flow.shopify.external.v0.models.ShopifyCountryHarmonizedSystemCode => ({
|
|
853
|
+
country_code: factories.string(),
|
|
854
|
+
harmonized_system_code: factories.string(),
|
|
855
|
+
}),
|
|
856
|
+
|
|
776
857
|
'io.flow.shopify.external.v0.models.shopify_customer': (): io.flow.shopify.external.v0.models.ShopifyCustomer => ({
|
|
777
858
|
id: factories.long(),
|
|
778
859
|
|
|
@@ -1012,6 +1093,18 @@ const factories = {
|
|
|
1012
1093
|
id: factories.long(),
|
|
1013
1094
|
}),
|
|
1014
1095
|
|
|
1096
|
+
'io.flow.shopify.external.v0.models.shopify_inventory_item_summary': (): io.flow.shopify.external.v0.models.ShopifyInventoryItemSummary => ({
|
|
1097
|
+
country_code_of_origin: factories.string(),
|
|
1098
|
+
|
|
1099
|
+
country_harmonized_system_codes: arrayOf(
|
|
1100
|
+
() => factories['io.flow.shopify.external.v0.models.shopify_country_harmonized_system_code'](),
|
|
1101
|
+
),
|
|
1102
|
+
|
|
1103
|
+
harmonized_system_code: factories.string(),
|
|
1104
|
+
updated_at: factories.date_time_iso_8601(),
|
|
1105
|
+
requires_shipping: factories.boolean(),
|
|
1106
|
+
}),
|
|
1107
|
+
|
|
1015
1108
|
'io.flow.shopify.external.v0.models.shopify_inventory_level': (): io.flow.shopify.external.v0.models.ShopifyInventoryLevel => ({
|
|
1016
1109
|
inventory_item_id: factories.long(),
|
|
1017
1110
|
location_id: factories.long(),
|
|
@@ -1400,6 +1493,49 @@ const factories = {
|
|
|
1400
1493
|
'io.flow.stripe.v0.enums.account_type': (): io.flow.stripe.v0.enums.AccountType => faker.helpers.arrayElement(['platform', 'custom', 'standard', 'express']),
|
|
1401
1494
|
'io.flow.stripe.v0.enums.apple_pay_type': (): io.flow.stripe.v0.enums.ApplePayType => faker.helpers.arrayElement(['apple_pay', 'apple_pay_later']),
|
|
1402
1495
|
|
|
1496
|
+
'io.flow.stripe.v0.enums.balance_transaction_type': (): io.flow.stripe.v0.enums.BalanceTransactionType => faker.helpers.arrayElement([
|
|
1497
|
+
'adjustment',
|
|
1498
|
+
'advance',
|
|
1499
|
+
'advance_funding',
|
|
1500
|
+
'anticipation_repayment',
|
|
1501
|
+
'application_fee',
|
|
1502
|
+
'application_fee_refund',
|
|
1503
|
+
'charge',
|
|
1504
|
+
'climate_order_purchase',
|
|
1505
|
+
'climate_order_refund',
|
|
1506
|
+
'connect_collection_transfer',
|
|
1507
|
+
'contribution',
|
|
1508
|
+
'issuing_authorization_hold',
|
|
1509
|
+
'issuing_authorization_release',
|
|
1510
|
+
'issuing_dispute',
|
|
1511
|
+
'issuing_transaction',
|
|
1512
|
+
'obligation_outbound',
|
|
1513
|
+
'obligation_reversal_inbound',
|
|
1514
|
+
'payment',
|
|
1515
|
+
'payment_failure_refund',
|
|
1516
|
+
'payment_network_reserve_hold',
|
|
1517
|
+
'payment_network_reserve_release',
|
|
1518
|
+
'payment_refund',
|
|
1519
|
+
'payment_reversal',
|
|
1520
|
+
'payment_unreconciled',
|
|
1521
|
+
'payout',
|
|
1522
|
+
'payout_cancel',
|
|
1523
|
+
'payout_failure',
|
|
1524
|
+
'refund',
|
|
1525
|
+
'refund_failure',
|
|
1526
|
+
'reserve_transaction',
|
|
1527
|
+
'reserved_funds',
|
|
1528
|
+
'stripe_fee',
|
|
1529
|
+
'stripe_fx_fee',
|
|
1530
|
+
'tax_fee',
|
|
1531
|
+
'topup',
|
|
1532
|
+
'topup_reversal',
|
|
1533
|
+
'transfer',
|
|
1534
|
+
'transfer_cancel',
|
|
1535
|
+
'transfer_failure',
|
|
1536
|
+
'transfer_refund',
|
|
1537
|
+
]),
|
|
1538
|
+
|
|
1403
1539
|
'io.flow.stripe.v0.enums.bank_ideal': (): io.flow.stripe.v0.enums.BankIdeal => faker.helpers.arrayElement([
|
|
1404
1540
|
'abn_amro',
|
|
1405
1541
|
'asn_bank',
|
|
@@ -1529,6 +1665,44 @@ const factories = {
|
|
|
1529
1665
|
'requested_block_on_incorrect_cvc',
|
|
1530
1666
|
]),
|
|
1531
1667
|
|
|
1668
|
+
'io.flow.stripe.v0.enums.dispute_event_type': (): io.flow.stripe.v0.enums.DisputeEventType => faker.helpers.arrayElement([
|
|
1669
|
+
'charge.dispute.closed',
|
|
1670
|
+
'charge.dispute.created',
|
|
1671
|
+
'charge.dispute.funds_reinstated',
|
|
1672
|
+
'charge.dispute.funds_withdrawn',
|
|
1673
|
+
'charge.dispute.updated',
|
|
1674
|
+
]),
|
|
1675
|
+
|
|
1676
|
+
'io.flow.stripe.v0.enums.dispute_payment_method_details_card_case_type': (): io.flow.stripe.v0.enums.DisputePaymentMethodDetailsCardCaseType => faker.helpers.arrayElement(['chargeback', 'inquiry']),
|
|
1677
|
+
'io.flow.stripe.v0.enums.dispute_payment_method_details_type': (): io.flow.stripe.v0.enums.DisputePaymentMethodDetailsType => faker.helpers.arrayElement(['card', 'klarna', 'paypal']),
|
|
1678
|
+
|
|
1679
|
+
'io.flow.stripe.v0.enums.dispute_reason': (): io.flow.stripe.v0.enums.DisputeReason => faker.helpers.arrayElement([
|
|
1680
|
+
'bank_cannot_process',
|
|
1681
|
+
'check_returned',
|
|
1682
|
+
'credit_not_processed',
|
|
1683
|
+
'customer_initiated',
|
|
1684
|
+
'debit_not_authorized',
|
|
1685
|
+
'duplicate',
|
|
1686
|
+
'fraudulent',
|
|
1687
|
+
'general',
|
|
1688
|
+
'incorrect_account_details',
|
|
1689
|
+
'insufficient_funds',
|
|
1690
|
+
'product_not_received',
|
|
1691
|
+
'product_unacceptable',
|
|
1692
|
+
'subscription_canceled',
|
|
1693
|
+
'unrecognized',
|
|
1694
|
+
]),
|
|
1695
|
+
|
|
1696
|
+
'io.flow.stripe.v0.enums.dispute_status': (): io.flow.stripe.v0.enums.DisputeStatus => faker.helpers.arrayElement([
|
|
1697
|
+
'warning_needs_response',
|
|
1698
|
+
'warning_under_review',
|
|
1699
|
+
'warning_closed',
|
|
1700
|
+
'needs_response',
|
|
1701
|
+
'under_review',
|
|
1702
|
+
'won',
|
|
1703
|
+
'lost',
|
|
1704
|
+
]),
|
|
1705
|
+
|
|
1532
1706
|
'io.flow.stripe.v0.enums.error_code': (): io.flow.stripe.v0.enums.ErrorCode => faker.helpers.arrayElement([
|
|
1533
1707
|
'invalid_number',
|
|
1534
1708
|
'invalid_expiry_month',
|
|
@@ -1623,6 +1797,11 @@ const factories = {
|
|
|
1623
1797
|
'charge.succeeded',
|
|
1624
1798
|
'charge.updated',
|
|
1625
1799
|
'charge.refund.updated',
|
|
1800
|
+
'charge.dispute.closed',
|
|
1801
|
+
'charge.dispute.created',
|
|
1802
|
+
'charge.dispute.funds_reinstated',
|
|
1803
|
+
'charge.dispute.funds_withdrawn',
|
|
1804
|
+
'charge.dispute.updated',
|
|
1626
1805
|
'payment_intent.created',
|
|
1627
1806
|
'payment_intent.amount_capturable_updated',
|
|
1628
1807
|
'payment_intent.payment_failed',
|
|
@@ -1997,6 +2176,115 @@ const factories = {
|
|
|
1997
2176
|
description: factories.string(),
|
|
1998
2177
|
}),
|
|
1999
2178
|
|
|
2179
|
+
'io.flow.stripe.v0.models.dispute': (): io.flow.stripe.v0.models.Dispute => ({
|
|
2180
|
+
id: factories.string(),
|
|
2181
|
+
amount: factories.integer(),
|
|
2182
|
+
charge: factories.string(),
|
|
2183
|
+
currency: factories.string(),
|
|
2184
|
+
evidence: factories['io.flow.stripe.v0.models.dispute_evidence'](),
|
|
2185
|
+
metadata: objectOf(() => factories.string()),
|
|
2186
|
+
payment_intent: factories.string(),
|
|
2187
|
+
reason: factories['io.flow.stripe.v0.enums.dispute_reason'](),
|
|
2188
|
+
status: factories['io.flow.stripe.v0.enums.dispute_status'](),
|
|
2189
|
+
object: factories.string(),
|
|
2190
|
+
balance_transactions: arrayOf(() => factories['io.flow.stripe.v0.models.dispute_balance_transaction']()),
|
|
2191
|
+
created: factories.long(),
|
|
2192
|
+
evidence_details: factories['io.flow.stripe.v0.models.dispute_evidence_details'](),
|
|
2193
|
+
is_charge_refundable: factories.boolean(),
|
|
2194
|
+
livemode: factories.boolean(),
|
|
2195
|
+
payment_method_details: factories['io.flow.stripe.v0.models.dispute_payment_method_details'](),
|
|
2196
|
+
}),
|
|
2197
|
+
|
|
2198
|
+
'io.flow.stripe.v0.models.dispute_balance_transaction': (): io.flow.stripe.v0.models.DisputeBalanceTransaction => ({
|
|
2199
|
+
payment_intent: factories.string(),
|
|
2200
|
+
id: factories.string(),
|
|
2201
|
+
object: factories.string(),
|
|
2202
|
+
amount: factories.integer(),
|
|
2203
|
+
available_on: factories.long(),
|
|
2204
|
+
created: factories.long(),
|
|
2205
|
+
currency: factories.string(),
|
|
2206
|
+
description: factories.string(),
|
|
2207
|
+
exchange_rate: factories.decimal(),
|
|
2208
|
+
fee: factories.integer(),
|
|
2209
|
+
|
|
2210
|
+
fee_details: arrayOf(
|
|
2211
|
+
() => factories['io.flow.stripe.v0.models.dispute_balance_transaction_fee_details'](),
|
|
2212
|
+
),
|
|
2213
|
+
|
|
2214
|
+
net: factories.integer(),
|
|
2215
|
+
reporting_category: factories.string(),
|
|
2216
|
+
source: factories.string(),
|
|
2217
|
+
status: factories.string(),
|
|
2218
|
+
type: factories['io.flow.stripe.v0.enums.balance_transaction_type'](),
|
|
2219
|
+
}),
|
|
2220
|
+
|
|
2221
|
+
'io.flow.stripe.v0.models.dispute_balance_transaction_fee_details': (): io.flow.stripe.v0.models.DisputeBalanceTransactionFeeDetails => ({
|
|
2222
|
+
amount: factories.integer(),
|
|
2223
|
+
application: factories.string(),
|
|
2224
|
+
currency: factories.string(),
|
|
2225
|
+
description: factories.string(),
|
|
2226
|
+
type: factories.string(),
|
|
2227
|
+
}),
|
|
2228
|
+
|
|
2229
|
+
'io.flow.stripe.v0.models.dispute_evidence': (): io.flow.stripe.v0.models.DisputeEvidence => ({
|
|
2230
|
+
access_activity_log: factories.string(),
|
|
2231
|
+
billing_address: factories.string(),
|
|
2232
|
+
cancellation_policy: factories.string(),
|
|
2233
|
+
cancellation_policy_disclosure: factories.string(),
|
|
2234
|
+
cancellation_rebuttal: factories.string(),
|
|
2235
|
+
customer_communication: factories.string(),
|
|
2236
|
+
customer_email_address: factories.string(),
|
|
2237
|
+
customer_name: factories.string(),
|
|
2238
|
+
'evidence.customer_purchase_ip': factories.string(),
|
|
2239
|
+
customer_signature: factories.string(),
|
|
2240
|
+
duplicate_charge_documentation: factories.string(),
|
|
2241
|
+
duplicate_charge_explanation: factories.string(),
|
|
2242
|
+
duplicate_charge_id: factories.string(),
|
|
2243
|
+
product_description: factories.string(),
|
|
2244
|
+
receipt: factories.string(),
|
|
2245
|
+
refund_policy: factories.string(),
|
|
2246
|
+
refund_policy_disclosure: factories.string(),
|
|
2247
|
+
refund_refusal_explanation: factories.string(),
|
|
2248
|
+
service_date: factories.string(),
|
|
2249
|
+
service_documentation: factories.string(),
|
|
2250
|
+
shipping_address: factories.string(),
|
|
2251
|
+
shipping_carrier: factories.string(),
|
|
2252
|
+
shipping_date: factories.string(),
|
|
2253
|
+
shipping_documentation: factories.string(),
|
|
2254
|
+
shipping_tracking_number: factories.string(),
|
|
2255
|
+
uncategorized_file: factories.string(),
|
|
2256
|
+
uncategorized_text: factories.string(),
|
|
2257
|
+
}),
|
|
2258
|
+
|
|
2259
|
+
'io.flow.stripe.v0.models.dispute_evidence_details': (): io.flow.stripe.v0.models.DisputeEvidenceDetails => ({
|
|
2260
|
+
due_by: factories.long(),
|
|
2261
|
+
has_evidence: factories.boolean(),
|
|
2262
|
+
past_due: factories.boolean(),
|
|
2263
|
+
submission_count: factories.integer(),
|
|
2264
|
+
}),
|
|
2265
|
+
|
|
2266
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details': (): io.flow.stripe.v0.models.DisputePaymentMethodDetails => ({
|
|
2267
|
+
card: factories['io.flow.stripe.v0.models.dispute_payment_method_details_card'](),
|
|
2268
|
+
klarna: factories['io.flow.stripe.v0.models.dispute_payment_method_details_klarna'](),
|
|
2269
|
+
paypal: factories['io.flow.stripe.v0.models.dispute_payment_method_details_paypal'](),
|
|
2270
|
+
type: factories['io.flow.stripe.v0.enums.dispute_payment_method_details_type'](),
|
|
2271
|
+
}),
|
|
2272
|
+
|
|
2273
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_card': (): io.flow.stripe.v0.models.DisputePaymentMethodDetailsCard => ({
|
|
2274
|
+
brand: factories.string(),
|
|
2275
|
+
case_type: factories['io.flow.stripe.v0.enums.dispute_payment_method_details_card_case_type'](),
|
|
2276
|
+
network_reason_code: factories.string(),
|
|
2277
|
+
}),
|
|
2278
|
+
|
|
2279
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_klarna': (): io.flow.stripe.v0.models.DisputePaymentMethodDetailsKlarna => ({
|
|
2280
|
+
reason_code: factories.string(),
|
|
2281
|
+
}),
|
|
2282
|
+
|
|
2283
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_paypal': (): io.flow.stripe.v0.models.DisputePaymentMethodDetailsPaypal => ({
|
|
2284
|
+
case_id: factories.string(),
|
|
2285
|
+
reason_code: factories.string(),
|
|
2286
|
+
}),
|
|
2287
|
+
|
|
2000
2288
|
'io.flow.stripe.v0.models.error': (): io.flow.stripe.v0.models.Error => ({
|
|
2001
2289
|
error: factories['io.flow.stripe.v0.models.stripe_error'](),
|
|
2002
2290
|
}),
|
|
@@ -2684,6 +2972,24 @@ const factories = {
|
|
|
2684
2972
|
directory_server_encryption: factories.object(),
|
|
2685
2973
|
}),
|
|
2686
2974
|
|
|
2975
|
+
'io.flow.stripe.v0.models.stripe_dispute_event': (): io.flow.stripe.v0.models.StripeDisputeEvent => ({
|
|
2976
|
+
id: factories.string(),
|
|
2977
|
+
api_version: factories.string(),
|
|
2978
|
+
data: factories['io.flow.stripe.v0.models.stripe_dispute_event_data'](),
|
|
2979
|
+
request: factories.object(),
|
|
2980
|
+
type: factories['io.flow.stripe.v0.enums.dispute_event_type'](),
|
|
2981
|
+
object: factories.string(),
|
|
2982
|
+
account: factories.string(),
|
|
2983
|
+
created: factories.long(),
|
|
2984
|
+
livemode: factories.boolean(),
|
|
2985
|
+
pending_webhooks: factories.integer(),
|
|
2986
|
+
}),
|
|
2987
|
+
|
|
2988
|
+
'io.flow.stripe.v0.models.stripe_dispute_event_data': (): io.flow.stripe.v0.models.StripeDisputeEventData => ({
|
|
2989
|
+
object: factories['io.flow.stripe.v0.models.dispute'](),
|
|
2990
|
+
previous_attributes: factories.object(),
|
|
2991
|
+
}),
|
|
2992
|
+
|
|
2687
2993
|
'io.flow.stripe.v0.models.stripe_error': (): io.flow.stripe.v0.models.StripeError => ({
|
|
2688
2994
|
type: factories['io.flow.stripe.v0.enums.error_type'](),
|
|
2689
2995
|
charge: factories.string(),
|
|
@@ -3375,6 +3681,7 @@ const factories = {
|
|
|
3375
3681
|
'business_street_address_is_po_box',
|
|
3376
3682
|
'exception_merchant',
|
|
3377
3683
|
'application_missing',
|
|
3684
|
+
'missing_logistics_contact_info',
|
|
3378
3685
|
]),
|
|
3379
3686
|
|
|
3380
3687
|
'io.flow.v0.enums.onboarding_trade_sector': (): io.flow.v0.enums.OnboardingTradeSector => faker.helpers.arrayElement([
|
|
@@ -3587,6 +3894,8 @@ const factories = {
|
|
|
3587
3894
|
'sofort',
|
|
3588
3895
|
'afterpay',
|
|
3589
3896
|
'bancontact',
|
|
3897
|
+
'twint',
|
|
3898
|
+
'przelewy24',
|
|
3590
3899
|
]),
|
|
3591
3900
|
|
|
3592
3901
|
'io.flow.v0.enums.payout_attachment_type': (): io.flow.v0.enums.PayoutAttachmentType => faker.helpers.arrayElement(['transactions']),
|
|
@@ -10476,11 +10785,21 @@ const factories = {
|
|
|
10476
10785
|
reference: factories.string(),
|
|
10477
10786
|
}),
|
|
10478
10787
|
|
|
10788
|
+
'io.flow.v0.models.payment_method_data_init_przelewy24': (): io.flow.v0.models.PaymentMethodDataInitPrzelewy24 => ({
|
|
10789
|
+
type: 'init_przelewy24',
|
|
10790
|
+
reference: factories.string(),
|
|
10791
|
+
}),
|
|
10792
|
+
|
|
10479
10793
|
'io.flow.v0.models.payment_method_data_init_sofort': (): io.flow.v0.models.PaymentMethodDataInitSofort => ({
|
|
10480
10794
|
type: 'init_sofort',
|
|
10481
10795
|
reference: factories.string(),
|
|
10482
10796
|
}),
|
|
10483
10797
|
|
|
10798
|
+
'io.flow.v0.models.payment_method_data_init_twint': (): io.flow.v0.models.PaymentMethodDataInitTwint => ({
|
|
10799
|
+
type: 'init_twint',
|
|
10800
|
+
reference: factories.string(),
|
|
10801
|
+
}),
|
|
10802
|
+
|
|
10484
10803
|
'io.flow.v0.models.payment_method_data_option_logo_svg': (): io.flow.v0.models.PaymentMethodDataOptionLogoSvg => ({
|
|
10485
10804
|
type: 'svg',
|
|
10486
10805
|
url: factories.string(),
|
|
@@ -10592,11 +10911,21 @@ const factories = {
|
|
|
10592
10911
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
10593
10912
|
}),
|
|
10594
10913
|
|
|
10914
|
+
'io.flow.v0.models.payment_method_summary_przelewy24': (): io.flow.v0.models.PaymentMethodSummaryPrzelewy24 => ({
|
|
10915
|
+
type: 'przelewy24',
|
|
10916
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
10917
|
+
}),
|
|
10918
|
+
|
|
10595
10919
|
'io.flow.v0.models.payment_method_summary_sofort': (): io.flow.v0.models.PaymentMethodSummarySofort => ({
|
|
10596
10920
|
type: 'sofort',
|
|
10597
10921
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
10598
10922
|
}),
|
|
10599
10923
|
|
|
10924
|
+
'io.flow.v0.models.payment_method_summary_twint': (): io.flow.v0.models.PaymentMethodSummaryTwint => ({
|
|
10925
|
+
type: 'twint',
|
|
10926
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
10927
|
+
}),
|
|
10928
|
+
|
|
10600
10929
|
'io.flow.v0.models.payment_order_details_line_item': (): io.flow.v0.models.PaymentOrderDetailsLineItem => ({
|
|
10601
10930
|
id: factories.string(),
|
|
10602
10931
|
description: factories.string(),
|
|
@@ -15066,6 +15395,8 @@ const factories = {
|
|
|
15066
15395
|
() => factories['io.flow.v0.models.payment_method_data_init_paypal'](),
|
|
15067
15396
|
() => factories['io.flow.v0.models.payment_method_data_init_ideal'](),
|
|
15068
15397
|
() => factories['io.flow.v0.models.payment_method_data_init_sofort'](),
|
|
15398
|
+
() => factories['io.flow.v0.models.payment_method_data_init_twint'](),
|
|
15399
|
+
() => factories['io.flow.v0.models.payment_method_data_init_przelewy24'](),
|
|
15069
15400
|
() => factories['io.flow.v0.models.payment_method_data_init_bancontact'](),
|
|
15070
15401
|
() => factories['io.flow.v0.models.payment_method_data_validate_applepay'](),
|
|
15071
15402
|
() => factories['io.flow.v0.models.payment_method_data_authorize_card'](),
|
|
@@ -15124,6 +15455,8 @@ const factories = {
|
|
|
15124
15455
|
() => factories['io.flow.v0.models.payment_method_summary_googlepay'](),
|
|
15125
15456
|
() => factories['io.flow.v0.models.payment_method_summary_paypal'](),
|
|
15126
15457
|
() => factories['io.flow.v0.models.payment_method_summary_ideal'](),
|
|
15458
|
+
() => factories['io.flow.v0.models.payment_method_summary_twint'](),
|
|
15459
|
+
() => factories['io.flow.v0.models.payment_method_summary_przelewy24'](),
|
|
15127
15460
|
() => factories['io.flow.v0.models.payment_method_summary_sofort'](),
|
|
15128
15461
|
() => factories['io.flow.v0.models.payment_method_summary_bancontact'](),
|
|
15129
15462
|
]);
|
|
@@ -16602,7 +16935,9 @@ export const makePaymentMethodDataInitGooglepay = () => factories['io.flow.v0.mo
|
|
|
16602
16935
|
export const makePaymentMethodDataInitIdeal = () => factories['io.flow.v0.models.payment_method_data_init_ideal']();
|
|
16603
16936
|
export const makePaymentMethodDataInitKlarna = () => factories['io.flow.v0.models.payment_method_data_init_klarna']();
|
|
16604
16937
|
export const makePaymentMethodDataInitPaypal = () => factories['io.flow.v0.models.payment_method_data_init_paypal']();
|
|
16938
|
+
export const makePaymentMethodDataInitPrzelewy24 = () => factories['io.flow.v0.models.payment_method_data_init_przelewy24']();
|
|
16605
16939
|
export const makePaymentMethodDataInitSofort = () => factories['io.flow.v0.models.payment_method_data_init_sofort']();
|
|
16940
|
+
export const makePaymentMethodDataInitTwint = () => factories['io.flow.v0.models.payment_method_data_init_twint']();
|
|
16606
16941
|
export const makePaymentMethodDataOptionLogo = () => factories['io.flow.v0.unions.payment_method_data_option_logo']();
|
|
16607
16942
|
export const makePaymentMethodDataOptionLogoSvg = () => factories['io.flow.v0.models.payment_method_data_option_logo_svg']();
|
|
16608
16943
|
export const makePaymentMethodDataOptionType = () => factories['io.flow.v0.enums.payment_method_data_option_type']();
|
|
@@ -16627,7 +16962,9 @@ export const makePaymentMethodSummaryGooglepay = () => factories['io.flow.v0.mod
|
|
|
16627
16962
|
export const makePaymentMethodSummaryIdeal = () => factories['io.flow.v0.models.payment_method_summary_ideal']();
|
|
16628
16963
|
export const makePaymentMethodSummaryKlarna = () => factories['io.flow.v0.models.payment_method_summary_klarna']();
|
|
16629
16964
|
export const makePaymentMethodSummaryPaypal = () => factories['io.flow.v0.models.payment_method_summary_paypal']();
|
|
16965
|
+
export const makePaymentMethodSummaryPrzelewy24 = () => factories['io.flow.v0.models.payment_method_summary_przelewy24']();
|
|
16630
16966
|
export const makePaymentMethodSummarySofort = () => factories['io.flow.v0.models.payment_method_summary_sofort']();
|
|
16967
|
+
export const makePaymentMethodSummaryTwint = () => factories['io.flow.v0.models.payment_method_summary_twint']();
|
|
16631
16968
|
export const makePaymentMethodTag = () => factories['io.flow.v0.unions.payment_method_tag']();
|
|
16632
16969
|
export const makePaymentMethodType = () => factories['io.flow.v0.enums.payment_method_type']();
|
|
16633
16970
|
export const makePaymentOrderDetailsLineItem = () => factories['io.flow.v0.models.payment_order_details_line_item']();
|