@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/dist/esm/api.js
CHANGED
|
@@ -281,6 +281,7 @@ var factories = {
|
|
|
281
281
|
'io.flow.shopify.external.v0.enums.format': function () { return faker.helpers.arrayElement(['json', 'xml']); },
|
|
282
282
|
'io.flow.shopify.external.v0.enums.fulfillment_service': function () { return faker.helpers.arrayElement(['manual', 'gift_card']); },
|
|
283
283
|
'io.flow.shopify.external.v0.enums.fulfillment_status_type': function () { return faker.helpers.arrayElement(['fulfilled', 'null', 'partial']); },
|
|
284
|
+
'io.flow.shopify.external.v0.enums.graphql_weight_unit': function () { return faker.helpers.arrayElement(['GRAMS', 'KILOGRAMS', 'OUNCES', 'POUNDS']); },
|
|
284
285
|
'io.flow.shopify.external.v0.enums.inventory_behaviour': function () { return faker.helpers.arrayElement(['bypass', 'decrement_ignoring_policy', 'decrement_obeying_policy']); },
|
|
285
286
|
'io.flow.shopify.external.v0.enums.inventory_management': function () { return faker.helpers.arrayElement(['blank', 'shopify']); },
|
|
286
287
|
'io.flow.shopify.external.v0.enums.inventory_policy': function () { return faker.helpers.arrayElement(['deny', 'continue']); },
|
|
@@ -414,6 +415,66 @@ var factories = {
|
|
|
414
415
|
'io.flow.shopify.external.v0.models.count': function () { return ({
|
|
415
416
|
count: factories.long(),
|
|
416
417
|
}); },
|
|
418
|
+
'io.flow.shopify.external.v0.models.graphql_inventory_item': function () { return ({
|
|
419
|
+
id: factories.string(),
|
|
420
|
+
tracked: factories.boolean(),
|
|
421
|
+
requiresShipping: factories.boolean(),
|
|
422
|
+
measurement: factories['io.flow.shopify.external.v0.models.graphql_measurement'](),
|
|
423
|
+
}); },
|
|
424
|
+
'io.flow.shopify.external.v0.models.graphql_measurement': function () { return ({
|
|
425
|
+
weight: factories['io.flow.shopify.external.v0.models.graphql_weight'](),
|
|
426
|
+
}); },
|
|
427
|
+
'io.flow.shopify.external.v0.models.graphql_option': function () { return ({
|
|
428
|
+
id: factories.string(),
|
|
429
|
+
values: arrayOf(function () { return factories.string(); }),
|
|
430
|
+
name: factories.string(),
|
|
431
|
+
position: factories.integer(),
|
|
432
|
+
}); },
|
|
433
|
+
'io.flow.shopify.external.v0.models.graphql_product': function () { return ({
|
|
434
|
+
id: factories.string(),
|
|
435
|
+
legacyResourceId: factories.string(),
|
|
436
|
+
handle: factories.string(),
|
|
437
|
+
variants: arrayOf(function () { return factories['io.flow.shopify.external.v0.models.graphql_product_variant'](); }),
|
|
438
|
+
images: arrayOf(function () { return factories['io.flow.shopify.external.v0.models.graphql_product_image'](); }),
|
|
439
|
+
title: factories.string(),
|
|
440
|
+
vendor: factories.string(),
|
|
441
|
+
descriptionHtml: factories.string(),
|
|
442
|
+
productType: factories.string(),
|
|
443
|
+
status: factories.string(),
|
|
444
|
+
options: arrayOf(function () { return factories['io.flow.shopify.external.v0.models.graphql_option'](); }),
|
|
445
|
+
tags: arrayOf(function () { return factories.string(); }),
|
|
446
|
+
templateSuffix: factories.string(),
|
|
447
|
+
publishedAt: factories.date_time_iso_8601(),
|
|
448
|
+
createdAt: factories.date_time_iso_8601(),
|
|
449
|
+
updatedAt: factories.date_time_iso_8601(),
|
|
450
|
+
hasVariantsThatRequiresComponents: factories.boolean(),
|
|
451
|
+
}); },
|
|
452
|
+
'io.flow.shopify.external.v0.models.graphql_product_image': function () { return ({
|
|
453
|
+
id: factories.string(),
|
|
454
|
+
url: factories.string(),
|
|
455
|
+
altText: factories.string(),
|
|
456
|
+
}); },
|
|
457
|
+
'io.flow.shopify.external.v0.models.graphql_product_variant': function () { return ({
|
|
458
|
+
id: factories.string(),
|
|
459
|
+
legacyResourceId: factories.string(),
|
|
460
|
+
sku: factories.string(),
|
|
461
|
+
price: factories.string(),
|
|
462
|
+
title: factories.string(),
|
|
463
|
+
taxable: factories.boolean(),
|
|
464
|
+
compareAtPrice: factories.string(),
|
|
465
|
+
barcode: factories.string(),
|
|
466
|
+
inventoryPolicy: factories['io.flow.shopify.external.v0.enums.inventory_policy'](),
|
|
467
|
+
inventoryQuantity: factories.long(),
|
|
468
|
+
image: factories['io.flow.shopify.external.v0.models.graphql_variant_image'](),
|
|
469
|
+
inventoryItem: factories['io.flow.shopify.external.v0.models.graphql_inventory_item'](),
|
|
470
|
+
}); },
|
|
471
|
+
'io.flow.shopify.external.v0.models.graphql_variant_image': function () { return ({
|
|
472
|
+
id: factories.string(),
|
|
473
|
+
}); },
|
|
474
|
+
'io.flow.shopify.external.v0.models.graphql_weight': function () { return ({
|
|
475
|
+
unit: factories['io.flow.shopify.external.v0.enums.graphql_weight_unit'](),
|
|
476
|
+
value: factories.double(),
|
|
477
|
+
}); },
|
|
417
478
|
'io.flow.shopify.external.v0.models.metafield': function () { return ({
|
|
418
479
|
id: factories.long(),
|
|
419
480
|
key: factories.string(),
|
|
@@ -661,6 +722,10 @@ var factories = {
|
|
|
661
722
|
session_hash: factories.string(),
|
|
662
723
|
user_agent: factories.string(),
|
|
663
724
|
}); },
|
|
725
|
+
'io.flow.shopify.external.v0.models.shopify_country_harmonized_system_code': function () { return ({
|
|
726
|
+
country_code: factories.string(),
|
|
727
|
+
harmonized_system_code: factories.string(),
|
|
728
|
+
}); },
|
|
664
729
|
'io.flow.shopify.external.v0.models.shopify_customer': function () { return ({
|
|
665
730
|
id: factories.long(),
|
|
666
731
|
addresses: arrayOf(function () { return factories['io.flow.shopify.external.v0.models.shopify_customer_address'](); }),
|
|
@@ -861,6 +926,13 @@ var factories = {
|
|
|
861
926
|
'io.flow.shopify.external.v0.models.shopify_inventory_item_delete': function () { return ({
|
|
862
927
|
id: factories.long(),
|
|
863
928
|
}); },
|
|
929
|
+
'io.flow.shopify.external.v0.models.shopify_inventory_item_summary': function () { return ({
|
|
930
|
+
country_code_of_origin: factories.string(),
|
|
931
|
+
country_harmonized_system_codes: arrayOf(function () { return factories['io.flow.shopify.external.v0.models.shopify_country_harmonized_system_code'](); }),
|
|
932
|
+
harmonized_system_code: factories.string(),
|
|
933
|
+
updated_at: factories.date_time_iso_8601(),
|
|
934
|
+
requires_shipping: factories.boolean(),
|
|
935
|
+
}); },
|
|
864
936
|
'io.flow.shopify.external.v0.models.shopify_inventory_level': function () { return ({
|
|
865
937
|
inventory_item_id: factories.long(),
|
|
866
938
|
location_id: factories.long(),
|
|
@@ -1171,6 +1243,48 @@ var factories = {
|
|
|
1171
1243
|
}); },
|
|
1172
1244
|
'io.flow.stripe.v0.enums.account_type': function () { return faker.helpers.arrayElement(['platform', 'custom', 'standard', 'express']); },
|
|
1173
1245
|
'io.flow.stripe.v0.enums.apple_pay_type': function () { return faker.helpers.arrayElement(['apple_pay', 'apple_pay_later']); },
|
|
1246
|
+
'io.flow.stripe.v0.enums.balance_transaction_type': function () { return faker.helpers.arrayElement([
|
|
1247
|
+
'adjustment',
|
|
1248
|
+
'advance',
|
|
1249
|
+
'advance_funding',
|
|
1250
|
+
'anticipation_repayment',
|
|
1251
|
+
'application_fee',
|
|
1252
|
+
'application_fee_refund',
|
|
1253
|
+
'charge',
|
|
1254
|
+
'climate_order_purchase',
|
|
1255
|
+
'climate_order_refund',
|
|
1256
|
+
'connect_collection_transfer',
|
|
1257
|
+
'contribution',
|
|
1258
|
+
'issuing_authorization_hold',
|
|
1259
|
+
'issuing_authorization_release',
|
|
1260
|
+
'issuing_dispute',
|
|
1261
|
+
'issuing_transaction',
|
|
1262
|
+
'obligation_outbound',
|
|
1263
|
+
'obligation_reversal_inbound',
|
|
1264
|
+
'payment',
|
|
1265
|
+
'payment_failure_refund',
|
|
1266
|
+
'payment_network_reserve_hold',
|
|
1267
|
+
'payment_network_reserve_release',
|
|
1268
|
+
'payment_refund',
|
|
1269
|
+
'payment_reversal',
|
|
1270
|
+
'payment_unreconciled',
|
|
1271
|
+
'payout',
|
|
1272
|
+
'payout_cancel',
|
|
1273
|
+
'payout_failure',
|
|
1274
|
+
'refund',
|
|
1275
|
+
'refund_failure',
|
|
1276
|
+
'reserve_transaction',
|
|
1277
|
+
'reserved_funds',
|
|
1278
|
+
'stripe_fee',
|
|
1279
|
+
'stripe_fx_fee',
|
|
1280
|
+
'tax_fee',
|
|
1281
|
+
'topup',
|
|
1282
|
+
'topup_reversal',
|
|
1283
|
+
'transfer',
|
|
1284
|
+
'transfer_cancel',
|
|
1285
|
+
'transfer_failure',
|
|
1286
|
+
'transfer_refund',
|
|
1287
|
+
]); },
|
|
1174
1288
|
'io.flow.stripe.v0.enums.bank_ideal': function () { return faker.helpers.arrayElement([
|
|
1175
1289
|
'abn_amro',
|
|
1176
1290
|
'asn_bank',
|
|
@@ -1768,19 +1882,73 @@ var factories = {
|
|
|
1768
1882
|
amount: factories.integer(),
|
|
1769
1883
|
charge: factories.string(),
|
|
1770
1884
|
currency: factories.string(),
|
|
1771
|
-
evidence: factories.
|
|
1885
|
+
evidence: factories['io.flow.stripe.v0.models.dispute_evidence'](),
|
|
1772
1886
|
metadata: objectOf(function () { return factories.string(); }),
|
|
1773
1887
|
payment_intent: factories.string(),
|
|
1774
1888
|
reason: factories['io.flow.stripe.v0.enums.dispute_reason'](),
|
|
1775
1889
|
status: factories['io.flow.stripe.v0.enums.dispute_status'](),
|
|
1776
1890
|
object: factories.string(),
|
|
1777
|
-
balance_transactions: arrayOf(function () { return factories.
|
|
1891
|
+
balance_transactions: arrayOf(function () { return factories['io.flow.stripe.v0.models.dispute_balance_transaction'](); }),
|
|
1778
1892
|
created: factories.long(),
|
|
1779
1893
|
evidence_details: factories['io.flow.stripe.v0.models.dispute_evidence_details'](),
|
|
1780
1894
|
is_charge_refundable: factories.boolean(),
|
|
1781
1895
|
livemode: factories.boolean(),
|
|
1782
1896
|
payment_method_details: factories['io.flow.stripe.v0.models.dispute_payment_method_details'](),
|
|
1783
1897
|
}); },
|
|
1898
|
+
'io.flow.stripe.v0.models.dispute_balance_transaction': function () { return ({
|
|
1899
|
+
payment_intent: factories.string(),
|
|
1900
|
+
id: factories.string(),
|
|
1901
|
+
object: factories.string(),
|
|
1902
|
+
amount: factories.integer(),
|
|
1903
|
+
available_on: factories.long(),
|
|
1904
|
+
created: factories.long(),
|
|
1905
|
+
currency: factories.string(),
|
|
1906
|
+
description: factories.string(),
|
|
1907
|
+
exchange_rate: factories.decimal(),
|
|
1908
|
+
fee: factories.integer(),
|
|
1909
|
+
fee_details: arrayOf(function () { return factories['io.flow.stripe.v0.models.dispute_balance_transaction_fee_details'](); }),
|
|
1910
|
+
net: factories.integer(),
|
|
1911
|
+
reporting_category: factories.string(),
|
|
1912
|
+
source: factories.string(),
|
|
1913
|
+
status: factories.string(),
|
|
1914
|
+
type: factories['io.flow.stripe.v0.enums.balance_transaction_type'](),
|
|
1915
|
+
}); },
|
|
1916
|
+
'io.flow.stripe.v0.models.dispute_balance_transaction_fee_details': function () { return ({
|
|
1917
|
+
amount: factories.integer(),
|
|
1918
|
+
application: factories.string(),
|
|
1919
|
+
currency: factories.string(),
|
|
1920
|
+
description: factories.string(),
|
|
1921
|
+
type: factories.string(),
|
|
1922
|
+
}); },
|
|
1923
|
+
'io.flow.stripe.v0.models.dispute_evidence': function () { return ({
|
|
1924
|
+
access_activity_log: factories.string(),
|
|
1925
|
+
billing_address: factories.string(),
|
|
1926
|
+
cancellation_policy: factories.string(),
|
|
1927
|
+
cancellation_policy_disclosure: factories.string(),
|
|
1928
|
+
cancellation_rebuttal: factories.string(),
|
|
1929
|
+
customer_communication: factories.string(),
|
|
1930
|
+
customer_email_address: factories.string(),
|
|
1931
|
+
customer_name: factories.string(),
|
|
1932
|
+
'evidence.customer_purchase_ip': factories.string(),
|
|
1933
|
+
customer_signature: factories.string(),
|
|
1934
|
+
duplicate_charge_documentation: factories.string(),
|
|
1935
|
+
duplicate_charge_explanation: factories.string(),
|
|
1936
|
+
duplicate_charge_id: factories.string(),
|
|
1937
|
+
product_description: factories.string(),
|
|
1938
|
+
receipt: factories.string(),
|
|
1939
|
+
refund_policy: factories.string(),
|
|
1940
|
+
refund_policy_disclosure: factories.string(),
|
|
1941
|
+
refund_refusal_explanation: factories.string(),
|
|
1942
|
+
service_date: factories.string(),
|
|
1943
|
+
service_documentation: factories.string(),
|
|
1944
|
+
shipping_address: factories.string(),
|
|
1945
|
+
shipping_carrier: factories.string(),
|
|
1946
|
+
shipping_date: factories.string(),
|
|
1947
|
+
shipping_documentation: factories.string(),
|
|
1948
|
+
shipping_tracking_number: factories.string(),
|
|
1949
|
+
uncategorized_file: factories.string(),
|
|
1950
|
+
uncategorized_text: factories.string(),
|
|
1951
|
+
}); },
|
|
1784
1952
|
'io.flow.stripe.v0.models.dispute_evidence_details': function () { return ({
|
|
1785
1953
|
due_by: factories.long(),
|
|
1786
1954
|
has_evidence: factories.boolean(),
|
|
@@ -2950,7 +3118,7 @@ var factories = {
|
|
|
2950
3118
|
'negative_balance_guarantee',
|
|
2951
3119
|
]); },
|
|
2952
3120
|
'io.flow.v0.enums.flow_behavior': function () { return faker.helpers.arrayElement(['view_consumer_data']); },
|
|
2953
|
-
'io.flow.v0.enums.flow_entity': function () { return faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can']); },
|
|
3121
|
+
'io.flow.v0.enums.flow_entity': function () { return faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can', 'ge-usa']); },
|
|
2954
3122
|
'io.flow.v0.enums.flow_role': function () { return faker.helpers.arrayElement([
|
|
2955
3123
|
'organization_admin',
|
|
2956
3124
|
'organization_merchant',
|
|
@@ -3254,6 +3422,9 @@ var factories = {
|
|
|
3254
3422
|
'sofort',
|
|
3255
3423
|
'afterpay',
|
|
3256
3424
|
'bancontact',
|
|
3425
|
+
'twint',
|
|
3426
|
+
'przelewy24',
|
|
3427
|
+
'mobilepay',
|
|
3257
3428
|
]); },
|
|
3258
3429
|
'io.flow.v0.enums.payout_attachment_type': function () { return faker.helpers.arrayElement(['transactions']); },
|
|
3259
3430
|
'io.flow.v0.enums.payout_status_failure_code': function () { return faker.helpers.arrayElement(['invalid_account_number', 'account_closed', 'could_not_process']); },
|
|
@@ -3509,6 +3680,7 @@ var factories = {
|
|
|
3509
3680
|
'direct_delivery',
|
|
3510
3681
|
'saturday_stop',
|
|
3511
3682
|
'residential_extended_area_pickup',
|
|
3683
|
+
'package_level_detail',
|
|
3512
3684
|
]); },
|
|
3513
3685
|
'io.flow.v0.enums.unit_of_length': function () { return faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']); },
|
|
3514
3686
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker.helpers.arrayElement([
|
|
@@ -4320,6 +4492,7 @@ var factories = {
|
|
|
4320
4492
|
items: arrayOf(function () { return factories['io.flow.v0.models.line_item_form'](); }),
|
|
4321
4493
|
'package': factories['io.flow.v0.models.shipping_label_package'](),
|
|
4322
4494
|
origin: factories['io.flow.v0.models.shipping_address'](),
|
|
4495
|
+
direction: factories['io.flow.v0.enums.direction'](),
|
|
4323
4496
|
}); },
|
|
4324
4497
|
'io.flow.v0.models.browse_optin_responses': function () { return ({
|
|
4325
4498
|
id: factories.string(),
|
|
@@ -9187,14 +9360,26 @@ var factories = {
|
|
|
9187
9360
|
type: 'init_klarna',
|
|
9188
9361
|
reference: factories.string(),
|
|
9189
9362
|
}); },
|
|
9363
|
+
'io.flow.v0.models.payment_method_data_init_mobilepay': function () { return ({
|
|
9364
|
+
type: 'init_mobilepay',
|
|
9365
|
+
reference: factories.string(),
|
|
9366
|
+
}); },
|
|
9190
9367
|
'io.flow.v0.models.payment_method_data_init_paypal': function () { return ({
|
|
9191
9368
|
type: 'init_paypal',
|
|
9192
9369
|
reference: factories.string(),
|
|
9193
9370
|
}); },
|
|
9371
|
+
'io.flow.v0.models.payment_method_data_init_przelewy24': function () { return ({
|
|
9372
|
+
type: 'init_przelewy24',
|
|
9373
|
+
reference: factories.string(),
|
|
9374
|
+
}); },
|
|
9194
9375
|
'io.flow.v0.models.payment_method_data_init_sofort': function () { return ({
|
|
9195
9376
|
type: 'init_sofort',
|
|
9196
9377
|
reference: factories.string(),
|
|
9197
9378
|
}); },
|
|
9379
|
+
'io.flow.v0.models.payment_method_data_init_twint': function () { return ({
|
|
9380
|
+
type: 'init_twint',
|
|
9381
|
+
reference: factories.string(),
|
|
9382
|
+
}); },
|
|
9198
9383
|
'io.flow.v0.models.payment_method_data_option_logo_svg': function () { return ({
|
|
9199
9384
|
type: 'svg',
|
|
9200
9385
|
url: factories.string(),
|
|
@@ -9283,14 +9468,26 @@ var factories = {
|
|
|
9283
9468
|
type: 'klarna',
|
|
9284
9469
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9285
9470
|
}); },
|
|
9471
|
+
'io.flow.v0.models.payment_method_summary_mobilepay': function () { return ({
|
|
9472
|
+
type: 'mobilepay',
|
|
9473
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9474
|
+
}); },
|
|
9286
9475
|
'io.flow.v0.models.payment_method_summary_paypal': function () { return ({
|
|
9287
9476
|
type: 'paypal',
|
|
9288
9477
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9289
9478
|
}); },
|
|
9479
|
+
'io.flow.v0.models.payment_method_summary_przelewy24': function () { return ({
|
|
9480
|
+
type: 'przelewy24',
|
|
9481
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9482
|
+
}); },
|
|
9290
9483
|
'io.flow.v0.models.payment_method_summary_sofort': function () { return ({
|
|
9291
9484
|
type: 'sofort',
|
|
9292
9485
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9293
9486
|
}); },
|
|
9487
|
+
'io.flow.v0.models.payment_method_summary_twint': function () { return ({
|
|
9488
|
+
type: 'twint',
|
|
9489
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9490
|
+
}); },
|
|
9294
9491
|
'io.flow.v0.models.payment_order_details_line_item': function () { return ({
|
|
9295
9492
|
id: factories.string(),
|
|
9296
9493
|
description: factories.string(),
|
|
@@ -10984,6 +11181,7 @@ var factories = {
|
|
|
10984
11181
|
additional_services_requested: arrayOf(function () { return factories['io.flow.v0.models.additional_services_requested'](); }),
|
|
10985
11182
|
created_at: factories.date_time_iso_8601(),
|
|
10986
11183
|
updated_at: factories.date_time_iso_8601(),
|
|
11184
|
+
direction: factories['io.flow.v0.enums.direction'](),
|
|
10987
11185
|
}); },
|
|
10988
11186
|
'io.flow.v0.models.shipping_label_document': function () { return ({
|
|
10989
11187
|
zpl: factories.string(),
|
|
@@ -11579,6 +11777,7 @@ var factories = {
|
|
|
11579
11777
|
order_number: factories.string(),
|
|
11580
11778
|
items: arrayOf(function () { return factories['io.flow.v0.models.line_item_form'](); }),
|
|
11581
11779
|
center_key: factories.string(),
|
|
11780
|
+
direction: factories['io.flow.v0.enums.direction'](),
|
|
11582
11781
|
}); },
|
|
11583
11782
|
'io.flow.v0.models.summary_shipping_notification_form': function () { return ({
|
|
11584
11783
|
discriminator: 'summary_shipping_notification_form',
|
|
@@ -13129,6 +13328,9 @@ var factories = {
|
|
|
13129
13328
|
function () { return factories['io.flow.v0.models.payment_method_data_init_paypal'](); },
|
|
13130
13329
|
function () { return factories['io.flow.v0.models.payment_method_data_init_ideal'](); },
|
|
13131
13330
|
function () { return factories['io.flow.v0.models.payment_method_data_init_sofort'](); },
|
|
13331
|
+
function () { return factories['io.flow.v0.models.payment_method_data_init_twint'](); },
|
|
13332
|
+
function () { return factories['io.flow.v0.models.payment_method_data_init_przelewy24'](); },
|
|
13333
|
+
function () { return factories['io.flow.v0.models.payment_method_data_init_mobilepay'](); },
|
|
13132
13334
|
function () { return factories['io.flow.v0.models.payment_method_data_init_bancontact'](); },
|
|
13133
13335
|
function () { return factories['io.flow.v0.models.payment_method_data_validate_applepay'](); },
|
|
13134
13336
|
function () { return factories['io.flow.v0.models.payment_method_data_authorize_card'](); },
|
|
@@ -13175,6 +13377,9 @@ var factories = {
|
|
|
13175
13377
|
function () { return factories['io.flow.v0.models.payment_method_summary_googlepay'](); },
|
|
13176
13378
|
function () { return factories['io.flow.v0.models.payment_method_summary_paypal'](); },
|
|
13177
13379
|
function () { return factories['io.flow.v0.models.payment_method_summary_ideal'](); },
|
|
13380
|
+
function () { return factories['io.flow.v0.models.payment_method_summary_twint'](); },
|
|
13381
|
+
function () { return factories['io.flow.v0.models.payment_method_summary_przelewy24'](); },
|
|
13382
|
+
function () { return factories['io.flow.v0.models.payment_method_summary_mobilepay'](); },
|
|
13178
13383
|
function () { return factories['io.flow.v0.models.payment_method_summary_sofort'](); },
|
|
13179
13384
|
function () { return factories['io.flow.v0.models.payment_method_summary_bancontact'](); },
|
|
13180
13385
|
]);
|
|
@@ -14582,8 +14787,11 @@ export var makePaymentMethodDataInitBancontact = function () { return factories[
|
|
|
14582
14787
|
export var makePaymentMethodDataInitGooglepay = function () { return factories['io.flow.v0.models.payment_method_data_init_googlepay'](); };
|
|
14583
14788
|
export var makePaymentMethodDataInitIdeal = function () { return factories['io.flow.v0.models.payment_method_data_init_ideal'](); };
|
|
14584
14789
|
export var makePaymentMethodDataInitKlarna = function () { return factories['io.flow.v0.models.payment_method_data_init_klarna'](); };
|
|
14790
|
+
export var makePaymentMethodDataInitMobilepay = function () { return factories['io.flow.v0.models.payment_method_data_init_mobilepay'](); };
|
|
14585
14791
|
export var makePaymentMethodDataInitPaypal = function () { return factories['io.flow.v0.models.payment_method_data_init_paypal'](); };
|
|
14792
|
+
export var makePaymentMethodDataInitPrzelewy24 = function () { return factories['io.flow.v0.models.payment_method_data_init_przelewy24'](); };
|
|
14586
14793
|
export var makePaymentMethodDataInitSofort = function () { return factories['io.flow.v0.models.payment_method_data_init_sofort'](); };
|
|
14794
|
+
export var makePaymentMethodDataInitTwint = function () { return factories['io.flow.v0.models.payment_method_data_init_twint'](); };
|
|
14587
14795
|
export var makePaymentMethodDataOptionLogo = function () { return factories['io.flow.v0.unions.payment_method_data_option_logo'](); };
|
|
14588
14796
|
export var makePaymentMethodDataOptionLogoSvg = function () { return factories['io.flow.v0.models.payment_method_data_option_logo_svg'](); };
|
|
14589
14797
|
export var makePaymentMethodDataOptionType = function () { return factories['io.flow.v0.enums.payment_method_data_option_type'](); };
|
|
@@ -14607,8 +14815,11 @@ export var makePaymentMethodSummaryCard = function () { return factories['io.flo
|
|
|
14607
14815
|
export var makePaymentMethodSummaryGooglepay = function () { return factories['io.flow.v0.models.payment_method_summary_googlepay'](); };
|
|
14608
14816
|
export var makePaymentMethodSummaryIdeal = function () { return factories['io.flow.v0.models.payment_method_summary_ideal'](); };
|
|
14609
14817
|
export var makePaymentMethodSummaryKlarna = function () { return factories['io.flow.v0.models.payment_method_summary_klarna'](); };
|
|
14818
|
+
export var makePaymentMethodSummaryMobilepay = function () { return factories['io.flow.v0.models.payment_method_summary_mobilepay'](); };
|
|
14610
14819
|
export var makePaymentMethodSummaryPaypal = function () { return factories['io.flow.v0.models.payment_method_summary_paypal'](); };
|
|
14820
|
+
export var makePaymentMethodSummaryPrzelewy24 = function () { return factories['io.flow.v0.models.payment_method_summary_przelewy24'](); };
|
|
14611
14821
|
export var makePaymentMethodSummarySofort = function () { return factories['io.flow.v0.models.payment_method_summary_sofort'](); };
|
|
14822
|
+
export var makePaymentMethodSummaryTwint = function () { return factories['io.flow.v0.models.payment_method_summary_twint'](); };
|
|
14612
14823
|
export var makePaymentMethodTag = function () { return factories['io.flow.v0.unions.payment_method_tag'](); };
|
|
14613
14824
|
export var makePaymentMethodType = function () { return factories['io.flow.v0.enums.payment_method_type'](); };
|
|
14614
14825
|
export var makePaymentOrderDetailsLineItem = function () { return factories['io.flow.v0.models.payment_order_details_line_item'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -1118,8 +1118,11 @@ export declare const makePaymentMethodDataInitBancontact: () => io.flow.v0.model
|
|
|
1118
1118
|
export declare const makePaymentMethodDataInitGooglepay: () => io.flow.v0.models.PaymentMethodDataInitGooglepay;
|
|
1119
1119
|
export declare const makePaymentMethodDataInitIdeal: () => io.flow.v0.models.PaymentMethodDataInitIdeal;
|
|
1120
1120
|
export declare const makePaymentMethodDataInitKlarna: () => io.flow.v0.models.PaymentMethodDataInitKlarna;
|
|
1121
|
+
export declare const makePaymentMethodDataInitMobilepay: () => io.flow.v0.models.PaymentMethodDataInitMobilepay;
|
|
1121
1122
|
export declare const makePaymentMethodDataInitPaypal: () => io.flow.v0.models.PaymentMethodDataInitPaypal;
|
|
1123
|
+
export declare const makePaymentMethodDataInitPrzelewy24: () => io.flow.v0.models.PaymentMethodDataInitPrzelewy24;
|
|
1122
1124
|
export declare const makePaymentMethodDataInitSofort: () => io.flow.v0.models.PaymentMethodDataInitSofort;
|
|
1125
|
+
export declare const makePaymentMethodDataInitTwint: () => io.flow.v0.models.PaymentMethodDataInitTwint;
|
|
1123
1126
|
export declare const makePaymentMethodDataOptionLogo: () => io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
1124
1127
|
export declare const makePaymentMethodDataOptionLogoSvg: () => io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
1125
1128
|
export declare const makePaymentMethodDataOptionType: () => "ideal_issuer_option";
|
|
@@ -1143,8 +1146,11 @@ export declare const makePaymentMethodSummaryCard: () => io.flow.v0.models.Payme
|
|
|
1143
1146
|
export declare const makePaymentMethodSummaryGooglepay: () => io.flow.v0.models.PaymentMethodSummaryGooglepay;
|
|
1144
1147
|
export declare const makePaymentMethodSummaryIdeal: () => io.flow.v0.models.PaymentMethodSummaryIdeal;
|
|
1145
1148
|
export declare const makePaymentMethodSummaryKlarna: () => io.flow.v0.models.PaymentMethodSummaryKlarna;
|
|
1149
|
+
export declare const makePaymentMethodSummaryMobilepay: () => io.flow.v0.models.PaymentMethodSummaryMobilepay;
|
|
1146
1150
|
export declare const makePaymentMethodSummaryPaypal: () => io.flow.v0.models.PaymentMethodSummaryPaypal;
|
|
1151
|
+
export declare const makePaymentMethodSummaryPrzelewy24: () => io.flow.v0.models.PaymentMethodSummaryPrzelewy24;
|
|
1147
1152
|
export declare const makePaymentMethodSummarySofort: () => io.flow.v0.models.PaymentMethodSummarySofort;
|
|
1153
|
+
export declare const makePaymentMethodSummaryTwint: () => io.flow.v0.models.PaymentMethodSummaryTwint;
|
|
1148
1154
|
export declare const makePaymentMethodTag: () => io.flow.v0.unions.PaymentMethodTag;
|
|
1149
1155
|
export declare const makePaymentMethodType: () => io.flow.v0.enums.PaymentMethodType;
|
|
1150
1156
|
export declare const makePaymentOrderDetailsLineItem: () => io.flow.v0.models.PaymentOrderDetailsLineItem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.91",
|
|
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": "6f3d155eabc51fc1da757af5889d9066f4c03efe"
|
|
40
40
|
}
|