@flowio/api-factories 0.0.88 → 0.0.91
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 +234 -17
- package/dist/esm/api.js +214 -3
- package/dist/types/api.d.ts +6 -0
- package/package.json +2 -2
- package/src/api.ts +249 -3
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',
|
|
@@ -2045,13 +2181,13 @@ const factories = {
|
|
|
2045
2181
|
amount: factories.integer(),
|
|
2046
2182
|
charge: factories.string(),
|
|
2047
2183
|
currency: factories.string(),
|
|
2048
|
-
evidence: factories.
|
|
2184
|
+
evidence: factories['io.flow.stripe.v0.models.dispute_evidence'](),
|
|
2049
2185
|
metadata: objectOf(() => factories.string()),
|
|
2050
2186
|
payment_intent: factories.string(),
|
|
2051
2187
|
reason: factories['io.flow.stripe.v0.enums.dispute_reason'](),
|
|
2052
2188
|
status: factories['io.flow.stripe.v0.enums.dispute_status'](),
|
|
2053
2189
|
object: factories.string(),
|
|
2054
|
-
balance_transactions: arrayOf(() => factories.
|
|
2190
|
+
balance_transactions: arrayOf(() => factories['io.flow.stripe.v0.models.dispute_balance_transaction']()),
|
|
2055
2191
|
created: factories.long(),
|
|
2056
2192
|
evidence_details: factories['io.flow.stripe.v0.models.dispute_evidence_details'](),
|
|
2057
2193
|
is_charge_refundable: factories.boolean(),
|
|
@@ -2059,6 +2195,67 @@ const factories = {
|
|
|
2059
2195
|
payment_method_details: factories['io.flow.stripe.v0.models.dispute_payment_method_details'](),
|
|
2060
2196
|
}),
|
|
2061
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
|
+
|
|
2062
2259
|
'io.flow.stripe.v0.models.dispute_evidence_details': (): io.flow.stripe.v0.models.DisputeEvidenceDetails => ({
|
|
2063
2260
|
due_by: factories.long(),
|
|
2064
2261
|
has_evidence: factories.boolean(),
|
|
@@ -3363,7 +3560,7 @@ const factories = {
|
|
|
3363
3560
|
]),
|
|
3364
3561
|
|
|
3365
3562
|
'io.flow.v0.enums.flow_behavior': (): io.flow.v0.enums.FlowBehavior => faker.helpers.arrayElement(['view_consumer_data']),
|
|
3366
|
-
'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can']),
|
|
3563
|
+
'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can', 'ge-usa']),
|
|
3367
3564
|
|
|
3368
3565
|
'io.flow.v0.enums.flow_role': (): io.flow.v0.enums.FlowRole => faker.helpers.arrayElement([
|
|
3369
3566
|
'organization_admin',
|
|
@@ -3697,6 +3894,9 @@ const factories = {
|
|
|
3697
3894
|
'sofort',
|
|
3698
3895
|
'afterpay',
|
|
3699
3896
|
'bancontact',
|
|
3897
|
+
'twint',
|
|
3898
|
+
'przelewy24',
|
|
3899
|
+
'mobilepay',
|
|
3700
3900
|
]),
|
|
3701
3901
|
|
|
3702
3902
|
'io.flow.v0.enums.payout_attachment_type': (): io.flow.v0.enums.PayoutAttachmentType => faker.helpers.arrayElement(['transactions']),
|
|
@@ -3971,6 +4171,7 @@ const factories = {
|
|
|
3971
4171
|
'direct_delivery',
|
|
3972
4172
|
'saturday_stop',
|
|
3973
4173
|
'residential_extended_area_pickup',
|
|
4174
|
+
'package_level_detail',
|
|
3974
4175
|
]),
|
|
3975
4176
|
|
|
3976
4177
|
'io.flow.v0.enums.unit_of_length': (): io.flow.v0.enums.UnitOfLength => faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']),
|
|
@@ -4916,6 +5117,7 @@ const factories = {
|
|
|
4916
5117
|
items: arrayOf(() => factories['io.flow.v0.models.line_item_form']()),
|
|
4917
5118
|
'package': factories['io.flow.v0.models.shipping_label_package'](),
|
|
4918
5119
|
origin: factories['io.flow.v0.models.shipping_address'](),
|
|
5120
|
+
direction: factories['io.flow.v0.enums.direction'](),
|
|
4919
5121
|
}),
|
|
4920
5122
|
|
|
4921
5123
|
'io.flow.v0.models.browse_optin_responses': (): io.flow.v0.models.BrowseOptinResponses => ({
|
|
@@ -10581,16 +10783,31 @@ const factories = {
|
|
|
10581
10783
|
reference: factories.string(),
|
|
10582
10784
|
}),
|
|
10583
10785
|
|
|
10786
|
+
'io.flow.v0.models.payment_method_data_init_mobilepay': (): io.flow.v0.models.PaymentMethodDataInitMobilepay => ({
|
|
10787
|
+
type: 'init_mobilepay',
|
|
10788
|
+
reference: factories.string(),
|
|
10789
|
+
}),
|
|
10790
|
+
|
|
10584
10791
|
'io.flow.v0.models.payment_method_data_init_paypal': (): io.flow.v0.models.PaymentMethodDataInitPaypal => ({
|
|
10585
10792
|
type: 'init_paypal',
|
|
10586
10793
|
reference: factories.string(),
|
|
10587
10794
|
}),
|
|
10588
10795
|
|
|
10796
|
+
'io.flow.v0.models.payment_method_data_init_przelewy24': (): io.flow.v0.models.PaymentMethodDataInitPrzelewy24 => ({
|
|
10797
|
+
type: 'init_przelewy24',
|
|
10798
|
+
reference: factories.string(),
|
|
10799
|
+
}),
|
|
10800
|
+
|
|
10589
10801
|
'io.flow.v0.models.payment_method_data_init_sofort': (): io.flow.v0.models.PaymentMethodDataInitSofort => ({
|
|
10590
10802
|
type: 'init_sofort',
|
|
10591
10803
|
reference: factories.string(),
|
|
10592
10804
|
}),
|
|
10593
10805
|
|
|
10806
|
+
'io.flow.v0.models.payment_method_data_init_twint': (): io.flow.v0.models.PaymentMethodDataInitTwint => ({
|
|
10807
|
+
type: 'init_twint',
|
|
10808
|
+
reference: factories.string(),
|
|
10809
|
+
}),
|
|
10810
|
+
|
|
10594
10811
|
'io.flow.v0.models.payment_method_data_option_logo_svg': (): io.flow.v0.models.PaymentMethodDataOptionLogoSvg => ({
|
|
10595
10812
|
type: 'svg',
|
|
10596
10813
|
url: factories.string(),
|
|
@@ -10697,16 +10914,31 @@ const factories = {
|
|
|
10697
10914
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
10698
10915
|
}),
|
|
10699
10916
|
|
|
10917
|
+
'io.flow.v0.models.payment_method_summary_mobilepay': (): io.flow.v0.models.PaymentMethodSummaryMobilepay => ({
|
|
10918
|
+
type: 'mobilepay',
|
|
10919
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
10920
|
+
}),
|
|
10921
|
+
|
|
10700
10922
|
'io.flow.v0.models.payment_method_summary_paypal': (): io.flow.v0.models.PaymentMethodSummaryPaypal => ({
|
|
10701
10923
|
type: 'paypal',
|
|
10702
10924
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
10703
10925
|
}),
|
|
10704
10926
|
|
|
10927
|
+
'io.flow.v0.models.payment_method_summary_przelewy24': (): io.flow.v0.models.PaymentMethodSummaryPrzelewy24 => ({
|
|
10928
|
+
type: 'przelewy24',
|
|
10929
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
10930
|
+
}),
|
|
10931
|
+
|
|
10705
10932
|
'io.flow.v0.models.payment_method_summary_sofort': (): io.flow.v0.models.PaymentMethodSummarySofort => ({
|
|
10706
10933
|
type: 'sofort',
|
|
10707
10934
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
10708
10935
|
}),
|
|
10709
10936
|
|
|
10937
|
+
'io.flow.v0.models.payment_method_summary_twint': (): io.flow.v0.models.PaymentMethodSummaryTwint => ({
|
|
10938
|
+
type: 'twint',
|
|
10939
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
10940
|
+
}),
|
|
10941
|
+
|
|
10710
10942
|
'io.flow.v0.models.payment_order_details_line_item': (): io.flow.v0.models.PaymentOrderDetailsLineItem => ({
|
|
10711
10943
|
id: factories.string(),
|
|
10712
10944
|
description: factories.string(),
|
|
@@ -12666,6 +12898,7 @@ const factories = {
|
|
|
12666
12898
|
additional_services_requested: arrayOf(() => factories['io.flow.v0.models.additional_services_requested']()),
|
|
12667
12899
|
created_at: factories.date_time_iso_8601(),
|
|
12668
12900
|
updated_at: factories.date_time_iso_8601(),
|
|
12901
|
+
direction: factories['io.flow.v0.enums.direction'](),
|
|
12669
12902
|
}),
|
|
12670
12903
|
|
|
12671
12904
|
'io.flow.v0.models.shipping_label_document': (): io.flow.v0.models.ShippingLabelDocument => ({
|
|
@@ -13352,6 +13585,7 @@ const factories = {
|
|
|
13352
13585
|
order_number: factories.string(),
|
|
13353
13586
|
items: arrayOf(() => factories['io.flow.v0.models.line_item_form']()),
|
|
13354
13587
|
center_key: factories.string(),
|
|
13588
|
+
direction: factories['io.flow.v0.enums.direction'](),
|
|
13355
13589
|
}),
|
|
13356
13590
|
|
|
13357
13591
|
'io.flow.v0.models.summary_shipping_notification_form': (): io.flow.v0.models.SummaryShippingNotificationForm => ({
|
|
@@ -15176,6 +15410,9 @@ const factories = {
|
|
|
15176
15410
|
() => factories['io.flow.v0.models.payment_method_data_init_paypal'](),
|
|
15177
15411
|
() => factories['io.flow.v0.models.payment_method_data_init_ideal'](),
|
|
15178
15412
|
() => factories['io.flow.v0.models.payment_method_data_init_sofort'](),
|
|
15413
|
+
() => factories['io.flow.v0.models.payment_method_data_init_twint'](),
|
|
15414
|
+
() => factories['io.flow.v0.models.payment_method_data_init_przelewy24'](),
|
|
15415
|
+
() => factories['io.flow.v0.models.payment_method_data_init_mobilepay'](),
|
|
15179
15416
|
() => factories['io.flow.v0.models.payment_method_data_init_bancontact'](),
|
|
15180
15417
|
() => factories['io.flow.v0.models.payment_method_data_validate_applepay'](),
|
|
15181
15418
|
() => factories['io.flow.v0.models.payment_method_data_authorize_card'](),
|
|
@@ -15234,6 +15471,9 @@ const factories = {
|
|
|
15234
15471
|
() => factories['io.flow.v0.models.payment_method_summary_googlepay'](),
|
|
15235
15472
|
() => factories['io.flow.v0.models.payment_method_summary_paypal'](),
|
|
15236
15473
|
() => factories['io.flow.v0.models.payment_method_summary_ideal'](),
|
|
15474
|
+
() => factories['io.flow.v0.models.payment_method_summary_twint'](),
|
|
15475
|
+
() => factories['io.flow.v0.models.payment_method_summary_przelewy24'](),
|
|
15476
|
+
() => factories['io.flow.v0.models.payment_method_summary_mobilepay'](),
|
|
15237
15477
|
() => factories['io.flow.v0.models.payment_method_summary_sofort'](),
|
|
15238
15478
|
() => factories['io.flow.v0.models.payment_method_summary_bancontact'](),
|
|
15239
15479
|
]);
|
|
@@ -16711,8 +16951,11 @@ export const makePaymentMethodDataInitBancontact = () => factories['io.flow.v0.m
|
|
|
16711
16951
|
export const makePaymentMethodDataInitGooglepay = () => factories['io.flow.v0.models.payment_method_data_init_googlepay']();
|
|
16712
16952
|
export const makePaymentMethodDataInitIdeal = () => factories['io.flow.v0.models.payment_method_data_init_ideal']();
|
|
16713
16953
|
export const makePaymentMethodDataInitKlarna = () => factories['io.flow.v0.models.payment_method_data_init_klarna']();
|
|
16954
|
+
export const makePaymentMethodDataInitMobilepay = () => factories['io.flow.v0.models.payment_method_data_init_mobilepay']();
|
|
16714
16955
|
export const makePaymentMethodDataInitPaypal = () => factories['io.flow.v0.models.payment_method_data_init_paypal']();
|
|
16956
|
+
export const makePaymentMethodDataInitPrzelewy24 = () => factories['io.flow.v0.models.payment_method_data_init_przelewy24']();
|
|
16715
16957
|
export const makePaymentMethodDataInitSofort = () => factories['io.flow.v0.models.payment_method_data_init_sofort']();
|
|
16958
|
+
export const makePaymentMethodDataInitTwint = () => factories['io.flow.v0.models.payment_method_data_init_twint']();
|
|
16716
16959
|
export const makePaymentMethodDataOptionLogo = () => factories['io.flow.v0.unions.payment_method_data_option_logo']();
|
|
16717
16960
|
export const makePaymentMethodDataOptionLogoSvg = () => factories['io.flow.v0.models.payment_method_data_option_logo_svg']();
|
|
16718
16961
|
export const makePaymentMethodDataOptionType = () => factories['io.flow.v0.enums.payment_method_data_option_type']();
|
|
@@ -16736,8 +16979,11 @@ export const makePaymentMethodSummaryCard = () => factories['io.flow.v0.models.p
|
|
|
16736
16979
|
export const makePaymentMethodSummaryGooglepay = () => factories['io.flow.v0.models.payment_method_summary_googlepay']();
|
|
16737
16980
|
export const makePaymentMethodSummaryIdeal = () => factories['io.flow.v0.models.payment_method_summary_ideal']();
|
|
16738
16981
|
export const makePaymentMethodSummaryKlarna = () => factories['io.flow.v0.models.payment_method_summary_klarna']();
|
|
16982
|
+
export const makePaymentMethodSummaryMobilepay = () => factories['io.flow.v0.models.payment_method_summary_mobilepay']();
|
|
16739
16983
|
export const makePaymentMethodSummaryPaypal = () => factories['io.flow.v0.models.payment_method_summary_paypal']();
|
|
16984
|
+
export const makePaymentMethodSummaryPrzelewy24 = () => factories['io.flow.v0.models.payment_method_summary_przelewy24']();
|
|
16740
16985
|
export const makePaymentMethodSummarySofort = () => factories['io.flow.v0.models.payment_method_summary_sofort']();
|
|
16986
|
+
export const makePaymentMethodSummaryTwint = () => factories['io.flow.v0.models.payment_method_summary_twint']();
|
|
16741
16987
|
export const makePaymentMethodTag = () => factories['io.flow.v0.unions.payment_method_tag']();
|
|
16742
16988
|
export const makePaymentMethodType = () => factories['io.flow.v0.enums.payment_method_type']();
|
|
16743
16989
|
export const makePaymentOrderDetailsLineItem = () => factories['io.flow.v0.models.payment_order_details_line_item']();
|