@flowio/api-factories 0.0.6 → 0.0.8
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 +153 -180
- package/dist/esm/api.js +113 -137
- package/dist/types/api.d.ts +12 -15
- package/package.json +2 -2
- package/src/api.ts +126 -151
package/src/api.ts
CHANGED
|
@@ -3619,7 +3619,7 @@ const factories = {
|
|
|
3619
3619
|
'redirect',
|
|
3620
3620
|
'redirect_get',
|
|
3621
3621
|
'redirect_post',
|
|
3622
|
-
'
|
|
3622
|
+
'select_payment_option',
|
|
3623
3623
|
'use_sdk_klarna_v1',
|
|
3624
3624
|
'use_sdk_applepay_js',
|
|
3625
3625
|
'use_sdk_googlepay',
|
|
@@ -3654,6 +3654,7 @@ const factories = {
|
|
|
3654
3654
|
]),
|
|
3655
3655
|
|
|
3656
3656
|
'io.flow.v0.enums.payment_method_capability': (): io.flow.v0.enums.PaymentMethodCapability => faker.random.arrayElement(['credit', 'debit']),
|
|
3657
|
+
'io.flow.v0.enums.payment_method_data_option_type': (): io.flow.v0.enums.PaymentMethodDataOptionType => faker.random.arrayElement(['ideal_issuer_option']),
|
|
3657
3658
|
'io.flow.v0.enums.payment_method_rule_content_key': (): io.flow.v0.enums.PaymentMethodRuleContentKey => faker.random.arrayElement(['description']),
|
|
3658
3659
|
'io.flow.v0.enums.payment_method_type': (): io.flow.v0.enums.PaymentMethodType => faker.random.arrayElement(['card', 'online', 'offline']),
|
|
3659
3660
|
'io.flow.v0.enums.payment_source_confirmation_action_type': (): io.flow.v0.enums.PaymentSourceConfirmationActionType => faker.random.arrayElement(['cvv', 'billing_address', 'number']),
|
|
@@ -3681,6 +3682,7 @@ const factories = {
|
|
|
3681
3682
|
'ideal',
|
|
3682
3683
|
'sofort',
|
|
3683
3684
|
'afterpay',
|
|
3685
|
+
'bancontact',
|
|
3684
3686
|
]),
|
|
3685
3687
|
|
|
3686
3688
|
'io.flow.v0.enums.permitted_http_method': (): io.flow.v0.enums.PermittedHttpMethod => faker.random.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']),
|
|
@@ -3745,6 +3747,7 @@ const factories = {
|
|
|
3745
3747
|
'io.flow.v0.enums.ratecard_owner': (): io.flow.v0.enums.RatecardOwner => faker.random.arrayElement(['flow', 'organization']),
|
|
3746
3748
|
'io.flow.v0.enums.refund_decline_code': (): io.flow.v0.enums.RefundDeclineCode => faker.random.arrayElement(['expired', 'insufficient_funds', 'unknown']),
|
|
3747
3749
|
'io.flow.v0.enums.refund_status': (): io.flow.v0.enums.RefundStatus => faker.random.arrayElement(['pending', 'succeeded', 'failed', 'canceled']),
|
|
3750
|
+
'io.flow.v0.enums.region_type': (): io.flow.v0.enums.RegionType => faker.random.arrayElement(['state', 'province', 'jurisdiction']),
|
|
3748
3751
|
'io.flow.v0.enums.return_item_status': (): io.flow.v0.enums.ReturnItemStatus => faker.random.arrayElement(['returnable', 'non-returnable']),
|
|
3749
3752
|
'io.flow.v0.enums.return_policy_state': (): io.flow.v0.enums.ReturnPolicyState => faker.random.arrayElement(['current', 'deleting', 'updating']),
|
|
3750
3753
|
'io.flow.v0.enums.return_status': (): io.flow.v0.enums.ReturnStatus => faker.random.arrayElement(['open', 'refunded']),
|
|
@@ -3855,7 +3858,6 @@ const factories = {
|
|
|
3855
3858
|
|
|
3856
3859
|
'io.flow.v0.enums.trade_agreement_name': (): io.flow.v0.enums.TradeAgreementName => faker.random.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']),
|
|
3857
3860
|
'io.flow.v0.enums.trade_agreement_status': (): io.flow.v0.enums.TradeAgreementStatus => faker.random.arrayElement(['supported', 'not_supported']),
|
|
3858
|
-
'io.flow.v0.enums.uncertain_boolean': (): io.flow.v0.enums.UncertainBoolean => faker.random.arrayElement(['yes', 'no', 'i_dont_know']),
|
|
3859
3861
|
|
|
3860
3862
|
'io.flow.v0.enums.unit_of_measurement': (): io.flow.v0.enums.UnitOfMeasurement => faker.random.arrayElement([
|
|
3861
3863
|
'millimeter',
|
|
@@ -3991,11 +3993,6 @@ const factories = {
|
|
|
3991
3993
|
script: factories.string(),
|
|
3992
3994
|
}),
|
|
3993
3995
|
|
|
3994
|
-
'io.flow.v0.models.action_ideal_select_issuer': (): io.flow.v0.models.ActionIdealSelectIssuer => ({
|
|
3995
|
-
type: 'select_ideal_issuer',
|
|
3996
|
-
issuers: arrayOf(() => factories['io.flow.v0.models.ideal_issuer']()),
|
|
3997
|
-
}),
|
|
3998
|
-
|
|
3999
3996
|
'io.flow.v0.models.action_redirect': (): io.flow.v0.models.ActionRedirect => ({
|
|
4000
3997
|
type: 'redirect',
|
|
4001
3998
|
expires_at: factories.date_time_iso_8601(),
|
|
@@ -4004,6 +4001,13 @@ const factories = {
|
|
|
4004
4001
|
data: factories.object(),
|
|
4005
4002
|
}),
|
|
4006
4003
|
|
|
4004
|
+
'io.flow.v0.models.action_select_payment_option': (): io.flow.v0.models.ActionSelectPaymentOption => ({
|
|
4005
|
+
type: 'select_payment_option',
|
|
4006
|
+
expires_at: factories.date_time_iso_8601(),
|
|
4007
|
+
options: arrayOf(() => factories['io.flow.v0.models.payment_method_data_payment_option']()),
|
|
4008
|
+
option_type: factories['io.flow.v0.enums.payment_method_data_option_type'](),
|
|
4009
|
+
}),
|
|
4010
|
+
|
|
4007
4011
|
'io.flow.v0.models.action_use_sdk_adyen_v3': (): io.flow.v0.models.ActionUseSdkAdyenV3 => ({
|
|
4008
4012
|
type: 'use_sdk_adyen_v3',
|
|
4009
4013
|
expires_at: factories.date_time_iso_8601(),
|
|
@@ -5184,6 +5188,58 @@ const factories = {
|
|
|
5184
5188
|
attributes: objectOf(() => factories.string()),
|
|
5185
5189
|
}),
|
|
5186
5190
|
|
|
5191
|
+
'io.flow.v0.models.channel_organization_application': (): io.flow.v0.models.ChannelOrganizationApplication => ({
|
|
5192
|
+
id: factories.string(),
|
|
5193
|
+
organization: factories['io.flow.v0.models.organization_summary'](),
|
|
5194
|
+
company: factories['io.flow.v0.models.merchant_info'](),
|
|
5195
|
+
indirect_tax_number: factories.long(),
|
|
5196
|
+
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
5197
|
+
beneficiary: factories.string(),
|
|
5198
|
+
business_url: factories.string(),
|
|
5199
|
+
business_description: factories.string(),
|
|
5200
|
+
business_address: factories['io.flow.v0.models.address'](),
|
|
5201
|
+
refund_percentage: factories.decimal(),
|
|
5202
|
+
chargeback_percentage: factories.decimal(),
|
|
5203
|
+
bank_account_number: factories.string(),
|
|
5204
|
+
aba_routing_transit_number: factories.string(),
|
|
5205
|
+
trade_sector: arrayOf(() => factories['io.flow.v0.enums.onboarding_trade_sector']()),
|
|
5206
|
+
other_trade_sector: factories.string(),
|
|
5207
|
+
third_party_logistics_partner: arrayOf(() => factories['io.flow.v0.models.third_party_logistics_partner']()),
|
|
5208
|
+
average_order_weight: factories.decimal(),
|
|
5209
|
+
package_dimensions: arrayOf(() => factories['io.flow.v0.models.dimension']()),
|
|
5210
|
+
monthly_average_volume: factories.decimal(),
|
|
5211
|
+
monthly_average_transactions: factories.long(),
|
|
5212
|
+
dangerous_goods: arrayOf(() => factories['io.flow.v0.enums.onboarding_dangerous_goods']()),
|
|
5213
|
+
default_country_of_origin: factories.boolean(),
|
|
5214
|
+
ratecard_id: factories.string(),
|
|
5215
|
+
created_at: factories.date_time_iso_8601(),
|
|
5216
|
+
}),
|
|
5217
|
+
|
|
5218
|
+
'io.flow.v0.models.channel_organization_application_form': (): io.flow.v0.models.ChannelOrganizationApplicationForm => ({
|
|
5219
|
+
organization_id: factories.string(),
|
|
5220
|
+
company: factories['io.flow.v0.models.merchant_info'](),
|
|
5221
|
+
indirect_tax_number: factories.long(),
|
|
5222
|
+
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
5223
|
+
beneficiary: factories.string(),
|
|
5224
|
+
business_url: factories.string(),
|
|
5225
|
+
business_description: factories.string(),
|
|
5226
|
+
business_address: factories['io.flow.v0.models.address'](),
|
|
5227
|
+
refund_percentage: factories.decimal(),
|
|
5228
|
+
chargeback_percentage: factories.decimal(),
|
|
5229
|
+
bank_account_number: factories.string(),
|
|
5230
|
+
aba_routing_transit_number: factories.string(),
|
|
5231
|
+
trade_sector: arrayOf(() => factories['io.flow.v0.enums.onboarding_trade_sector']()),
|
|
5232
|
+
other_trade_sector: factories.string(),
|
|
5233
|
+
third_party_logistics_partner: arrayOf(() => factories['io.flow.v0.models.third_party_logistics_partner']()),
|
|
5234
|
+
average_order_weight: factories.decimal(),
|
|
5235
|
+
package_dimensions: arrayOf(() => factories['io.flow.v0.models.dimension']()),
|
|
5236
|
+
monthly_average_volume: factories.decimal(),
|
|
5237
|
+
monthly_average_transactions: factories.long(),
|
|
5238
|
+
dangerous_goods: arrayOf(() => factories['io.flow.v0.enums.onboarding_dangerous_goods']()),
|
|
5239
|
+
default_country_of_origin: factories.boolean(),
|
|
5240
|
+
ratecard_id: factories.string(),
|
|
5241
|
+
}),
|
|
5242
|
+
|
|
5187
5243
|
'io.flow.v0.models.channel_organization_authorization': (): io.flow.v0.models.ChannelOrganizationAuthorization => ({
|
|
5188
5244
|
placeholder: factories.string(),
|
|
5189
5245
|
}),
|
|
@@ -7260,12 +7316,6 @@ const factories = {
|
|
|
7260
7316
|
code: factories.string(),
|
|
7261
7317
|
}),
|
|
7262
7318
|
|
|
7263
|
-
'io.flow.v0.models.ideal_issuer': (): io.flow.v0.models.IdealIssuer => ({
|
|
7264
|
-
id: factories.string(),
|
|
7265
|
-
name: factories.string(),
|
|
7266
|
-
images: factories['io.flow.v0.models.payment_method_images'](),
|
|
7267
|
-
}),
|
|
7268
|
-
|
|
7269
7319
|
'io.flow.v0.models.identifier_form': (): io.flow.v0.models.IdentifierForm => ({
|
|
7270
7320
|
primary: factories.boolean(),
|
|
7271
7321
|
name: factories.string(),
|
|
@@ -8216,6 +8266,13 @@ const factories = {
|
|
|
8216
8266
|
currency: factories.string(),
|
|
8217
8267
|
}),
|
|
8218
8268
|
|
|
8269
|
+
'io.flow.v0.models.merchant_info': (): io.flow.v0.models.MerchantInfo => ({
|
|
8270
|
+
legal_name: factories.string(),
|
|
8271
|
+
country: factories.string(),
|
|
8272
|
+
region: factories['io.flow.v0.enums.region_type'](),
|
|
8273
|
+
region_value: factories.string(),
|
|
8274
|
+
}),
|
|
8275
|
+
|
|
8219
8276
|
'io.flow.v0.models.merchant_of_record_authorization_form': (): io.flow.v0.models.MerchantOfRecordAuthorizationForm => ({
|
|
8220
8277
|
discriminator: 'merchant_of_record_authorization_form',
|
|
8221
8278
|
token: factories.string(),
|
|
@@ -8319,128 +8376,6 @@ const factories = {
|
|
|
8319
8376
|
max: factories.long(),
|
|
8320
8377
|
}),
|
|
8321
8378
|
|
|
8322
|
-
'io.flow.v0.models.onboarding_bank_account': (): io.flow.v0.models.OnboardingBankAccount => ({
|
|
8323
|
-
id: factories.string(),
|
|
8324
|
-
name: factories.string(),
|
|
8325
|
-
address: factories['io.flow.v0.models.address'](),
|
|
8326
|
-
contact: factories['io.flow.v0.models.contact'](),
|
|
8327
|
-
account_number: factories.string(),
|
|
8328
|
-
aba_routing_transit_number: factories.string(),
|
|
8329
|
-
created_at: factories.date_time_iso_8601(),
|
|
8330
|
-
}),
|
|
8331
|
-
|
|
8332
|
-
'io.flow.v0.models.onboarding_bank_account_form': (): io.flow.v0.models.OnboardingBankAccountForm => ({
|
|
8333
|
-
name: factories.string(),
|
|
8334
|
-
address: factories['io.flow.v0.models.address'](),
|
|
8335
|
-
contact: factories['io.flow.v0.models.contact'](),
|
|
8336
|
-
account_number: factories.string(),
|
|
8337
|
-
aba_routing_transit_number: factories.string(),
|
|
8338
|
-
}),
|
|
8339
|
-
|
|
8340
|
-
'io.flow.v0.models.onboarding_classification': (): io.flow.v0.models.OnboardingClassification => ({
|
|
8341
|
-
id: factories.string(),
|
|
8342
|
-
country_of_origin_populated: factories.boolean(),
|
|
8343
|
-
created_at: factories.date_time_iso_8601(),
|
|
8344
|
-
}),
|
|
8345
|
-
|
|
8346
|
-
'io.flow.v0.models.onboarding_classification_form': (): io.flow.v0.models.OnboardingClassificationForm => ({
|
|
8347
|
-
country_of_origin_populated: factories.boolean(),
|
|
8348
|
-
}),
|
|
8349
|
-
|
|
8350
|
-
'io.flow.v0.models.onboarding_incorporation': (): io.flow.v0.models.OnboardingIncorporation => ({
|
|
8351
|
-
country: factories.string(),
|
|
8352
|
-
state: factories.string(),
|
|
8353
|
-
province: factories.string(),
|
|
8354
|
-
jurisdiction: factories.string(),
|
|
8355
|
-
}),
|
|
8356
|
-
|
|
8357
|
-
'io.flow.v0.models.onboarding_payment': (): io.flow.v0.models.OnboardingPayment => ({
|
|
8358
|
-
id: factories.string(),
|
|
8359
|
-
legal_name: factories.string(),
|
|
8360
|
-
incorporation: factories['io.flow.v0.models.onboarding_incorporation'](),
|
|
8361
|
-
indirect_tax_number: factories.long(),
|
|
8362
|
-
subsidiary_company: factories['io.flow.v0.models.onboarding_subsidiary_company'](),
|
|
8363
|
-
beneficiary: factories.string(),
|
|
8364
|
-
business_url: factories.string(),
|
|
8365
|
-
business_description: factories.string(),
|
|
8366
|
-
business_address: factories['io.flow.v0.models.address'](),
|
|
8367
|
-
refund_percentage: factories.decimal(),
|
|
8368
|
-
chargeback_percentage: factories.decimal(),
|
|
8369
|
-
created_at: factories.date_time_iso_8601(),
|
|
8370
|
-
}),
|
|
8371
|
-
|
|
8372
|
-
'io.flow.v0.models.onboarding_payment_form': (): io.flow.v0.models.OnboardingPaymentForm => ({
|
|
8373
|
-
legal_name: factories.string(),
|
|
8374
|
-
incorporation: factories['io.flow.v0.models.onboarding_incorporation'](),
|
|
8375
|
-
indirect_tax_number: factories.long(),
|
|
8376
|
-
subsidiary_company: factories['io.flow.v0.models.onboarding_subsidiary_company'](),
|
|
8377
|
-
beneficiary: factories.string(),
|
|
8378
|
-
business_url: factories.string(),
|
|
8379
|
-
business_description: factories.string(),
|
|
8380
|
-
business_address: factories['io.flow.v0.models.address'](),
|
|
8381
|
-
refund_percentage: factories.decimal(),
|
|
8382
|
-
chargeback_percentage: factories.decimal(),
|
|
8383
|
-
}),
|
|
8384
|
-
|
|
8385
|
-
'io.flow.v0.models.onboarding_preparer_details': (): io.flow.v0.models.OnboardingPreparerDetails => ({
|
|
8386
|
-
id: factories.string(),
|
|
8387
|
-
name: factories.string(),
|
|
8388
|
-
title: factories.string(),
|
|
8389
|
-
company: factories.string(),
|
|
8390
|
-
created_at: factories.date_time_iso_8601(),
|
|
8391
|
-
}),
|
|
8392
|
-
|
|
8393
|
-
'io.flow.v0.models.onboarding_preparer_details_form': (): io.flow.v0.models.OnboardingPreparerDetailsForm => ({
|
|
8394
|
-
name: factories.string(),
|
|
8395
|
-
title: factories.string(),
|
|
8396
|
-
company: factories.string(),
|
|
8397
|
-
}),
|
|
8398
|
-
|
|
8399
|
-
'io.flow.v0.models.onboarding_product_logistics': (): io.flow.v0.models.OnboardingProductLogistics => ({
|
|
8400
|
-
id: factories.string(),
|
|
8401
|
-
trade_sector: arrayOf(() => factories['io.flow.v0.enums.onboarding_trade_sector']()),
|
|
8402
|
-
other_trade_sector: factories.string(),
|
|
8403
|
-
shipped_prohibited_products_before: factories.boolean(),
|
|
8404
|
-
third_party_logistics_partner: factories['io.flow.v0.models.third_party_logistics_partner'](),
|
|
8405
|
-
third_party_logistics_pick_up_time_window: factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](),
|
|
8406
|
-
pickup_location: factories['io.flow.v0.models.billing_address'](),
|
|
8407
|
-
pickup_instructions: factories.string(),
|
|
8408
|
-
operations_contact: factories['io.flow.v0.models.contact'](),
|
|
8409
|
-
average_order_weight: factories.decimal(),
|
|
8410
|
-
package_dimensions: factories['io.flow.v0.models.dimensions'](),
|
|
8411
|
-
average_order_value: factories.decimal(),
|
|
8412
|
-
maximum_order_value: factories.decimal(),
|
|
8413
|
-
monthly_average_volume: factories.decimal(),
|
|
8414
|
-
monthly_average_transactions: factories.long(),
|
|
8415
|
-
sells_dangerous_goods: factories['io.flow.v0.enums.uncertain_boolean'](),
|
|
8416
|
-
dangerous_goods: arrayOf(() => factories['io.flow.v0.enums.onboarding_dangerous_goods']()),
|
|
8417
|
-
created_at: factories.date_time_iso_8601(),
|
|
8418
|
-
}),
|
|
8419
|
-
|
|
8420
|
-
'io.flow.v0.models.onboarding_product_logistics_form': (): io.flow.v0.models.OnboardingProductLogisticsForm => ({
|
|
8421
|
-
trade_sector: arrayOf(() => factories['io.flow.v0.enums.onboarding_trade_sector']()),
|
|
8422
|
-
other_trade_sector: factories.string(),
|
|
8423
|
-
shipped_prohibited_products_before: factories.boolean(),
|
|
8424
|
-
third_party_logistics_partner: factories['io.flow.v0.models.third_party_logistics_partner'](),
|
|
8425
|
-
third_party_logistics_pick_up_time_window: factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](),
|
|
8426
|
-
pickup_location: factories['io.flow.v0.models.billing_address'](),
|
|
8427
|
-
pickup_instructions: factories.string(),
|
|
8428
|
-
operations_contact: factories['io.flow.v0.models.contact'](),
|
|
8429
|
-
average_order_weight: factories.decimal(),
|
|
8430
|
-
package_dimensions: factories['io.flow.v0.models.dimensions'](),
|
|
8431
|
-
average_order_value: factories.decimal(),
|
|
8432
|
-
maximum_order_value: factories.decimal(),
|
|
8433
|
-
monthly_average_volume: factories.decimal(),
|
|
8434
|
-
monthly_average_transactions: factories.long(),
|
|
8435
|
-
sells_dangerous_goods: factories['io.flow.v0.enums.uncertain_boolean'](),
|
|
8436
|
-
dangerous_goods: arrayOf(() => factories['io.flow.v0.enums.onboarding_dangerous_goods']()),
|
|
8437
|
-
}),
|
|
8438
|
-
|
|
8439
|
-
'io.flow.v0.models.onboarding_subsidiary_company': (): io.flow.v0.models.OnboardingSubsidiaryCompany => ({
|
|
8440
|
-
legal_name: factories.string(),
|
|
8441
|
-
incorporation_country: factories['io.flow.v0.models.onboarding_incorporation'](),
|
|
8442
|
-
}),
|
|
8443
|
-
|
|
8444
8379
|
'io.flow.v0.models.online_authorization': (): io.flow.v0.models.OnlineAuthorization => ({
|
|
8445
8380
|
discriminator: 'online_authorization',
|
|
8446
8381
|
id: factories.string(),
|
|
@@ -9636,6 +9571,7 @@ const factories = {
|
|
|
9636
9571
|
order: factories['io.flow.v0.models.authorization_order_reference'](),
|
|
9637
9572
|
amount: factories.decimal(),
|
|
9638
9573
|
currency: factories.string(),
|
|
9574
|
+
created_at: factories.date_time_iso_8601(),
|
|
9639
9575
|
cryptopay: factories['io.flow.v0.unions.online_authorization_details'](),
|
|
9640
9576
|
}),
|
|
9641
9577
|
|
|
@@ -9771,6 +9707,11 @@ const factories = {
|
|
|
9771
9707
|
placeholder: factories.string(),
|
|
9772
9708
|
}),
|
|
9773
9709
|
|
|
9710
|
+
'io.flow.v0.models.payment_method_data_init_bancontact': (): io.flow.v0.models.PaymentMethodDataInitBancontact => ({
|
|
9711
|
+
type: 'init_bancontact',
|
|
9712
|
+
placeholder: factories.string(),
|
|
9713
|
+
}),
|
|
9714
|
+
|
|
9774
9715
|
'io.flow.v0.models.payment_method_data_init_googlepay': (): io.flow.v0.models.PaymentMethodDataInitGooglepay => ({
|
|
9775
9716
|
type: 'init_googlepay',
|
|
9776
9717
|
placeholder: factories.string(),
|
|
@@ -9796,6 +9737,22 @@ const factories = {
|
|
|
9796
9737
|
placeholder: factories.string(),
|
|
9797
9738
|
}),
|
|
9798
9739
|
|
|
9740
|
+
'io.flow.v0.models.payment_method_data_option_logo_svg': (): io.flow.v0.models.PaymentMethodDataOptionLogoSvg => ({
|
|
9741
|
+
type: 'svg',
|
|
9742
|
+
url: factories.string(),
|
|
9743
|
+
}),
|
|
9744
|
+
|
|
9745
|
+
'io.flow.v0.models.payment_method_data_payment_option': (): io.flow.v0.models.PaymentMethodDataPaymentOption => ({
|
|
9746
|
+
id: factories.string(),
|
|
9747
|
+
name: factories.string(),
|
|
9748
|
+
logo: arrayOf(() => factories['io.flow.v0.unions.payment_method_data_option_logo']()),
|
|
9749
|
+
}),
|
|
9750
|
+
|
|
9751
|
+
'io.flow.v0.models.payment_method_data_selected_payment_option': (): io.flow.v0.models.PaymentMethodDataSelectedPaymentOption => ({
|
|
9752
|
+
type: 'select_option',
|
|
9753
|
+
option_id: factories.string(),
|
|
9754
|
+
}),
|
|
9755
|
+
|
|
9799
9756
|
'io.flow.v0.models.payment_method_data_validate_applepay': (): io.flow.v0.models.PaymentMethodDataValidateApplepay => ({
|
|
9800
9757
|
type: 'validate_applepay',
|
|
9801
9758
|
validation_url: factories.string(),
|
|
@@ -9843,6 +9800,11 @@ const factories = {
|
|
|
9843
9800
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9844
9801
|
}),
|
|
9845
9802
|
|
|
9803
|
+
'io.flow.v0.models.payment_method_summary_bancontact': (): io.flow.v0.models.PaymentMethodSummaryBancontact => ({
|
|
9804
|
+
type: 'bancontact',
|
|
9805
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9806
|
+
}),
|
|
9807
|
+
|
|
9846
9808
|
'io.flow.v0.models.payment_method_summary_card': (): io.flow.v0.models.PaymentMethodSummaryCard => ({
|
|
9847
9809
|
type: 'card',
|
|
9848
9810
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
@@ -9911,6 +9873,7 @@ const factories = {
|
|
|
9911
9873
|
order: factories['io.flow.v0.models.authorization_order_reference'](),
|
|
9912
9874
|
amount: factories.decimal(),
|
|
9913
9875
|
currency: factories.string(),
|
|
9876
|
+
created_at: factories.date_time_iso_8601(),
|
|
9914
9877
|
paypal: factories['io.flow.v0.unions.online_authorization_details'](),
|
|
9915
9878
|
}),
|
|
9916
9879
|
|
|
@@ -12363,6 +12326,10 @@ const factories = {
|
|
|
12363
12326
|
'io.flow.v0.models.third_party_logistics_partner': (): io.flow.v0.models.ThirdPartyLogisticsPartner => ({
|
|
12364
12327
|
warehouse_address: factories['io.flow.v0.models.billing_address'](),
|
|
12365
12328
|
warehouse_url: factories.string(),
|
|
12329
|
+
third_party_logistics_pick_up_time_window: factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](),
|
|
12330
|
+
pickup_location: factories['io.flow.v0.models.billing_address'](),
|
|
12331
|
+
pickup_instructions: factories.string(),
|
|
12332
|
+
operations_contact: factories['io.flow.v0.models.contact'](),
|
|
12366
12333
|
}),
|
|
12367
12334
|
|
|
12368
12335
|
'io.flow.v0.models.third_party_logistics_pick_up_time_window': (): io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow => ({
|
|
@@ -12915,7 +12882,7 @@ const factories = {
|
|
|
12915
12882
|
() => factories['io.flow.v0.models.action_use_sdk_stripe_v3'](),
|
|
12916
12883
|
() => factories['io.flow.v0.models.action_use_sdk_adyen_v3'](),
|
|
12917
12884
|
() => factories['io.flow.v0.models.action_use_sdk_adyen_v4'](),
|
|
12918
|
-
() => factories['io.flow.v0.models.
|
|
12885
|
+
() => factories['io.flow.v0.models.action_select_payment_option'](),
|
|
12919
12886
|
() => factories['io.flow.v0.models.action_execute_script'](),
|
|
12920
12887
|
() => factories['io.flow.v0.models.action_display_inline_window'](),
|
|
12921
12888
|
() => factories['io.flow.v0.models.action_wait'](),
|
|
@@ -13601,12 +13568,14 @@ const factories = {
|
|
|
13601
13568
|
() => factories['io.flow.v0.models.payment_method_data_init_paypal'](),
|
|
13602
13569
|
() => factories['io.flow.v0.models.payment_method_data_init_ideal'](),
|
|
13603
13570
|
() => factories['io.flow.v0.models.payment_method_data_init_sofort'](),
|
|
13571
|
+
() => factories['io.flow.v0.models.payment_method_data_init_bancontact'](),
|
|
13604
13572
|
() => factories['io.flow.v0.models.payment_method_data_validate_applepay'](),
|
|
13605
13573
|
() => factories['io.flow.v0.models.payment_method_data_authorize_card'](),
|
|
13606
13574
|
() => factories['io.flow.v0.models.payment_method_data_authorize_googlepay'](),
|
|
13607
13575
|
() => factories['io.flow.v0.models.payment_method_data_authorize_applepay'](),
|
|
13608
13576
|
() => factories['io.flow.v0.models.payment_method_data_authorize_paypal'](),
|
|
13609
13577
|
() => factories['io.flow.v0.models.payment_method_data_authorize_klarna'](),
|
|
13578
|
+
() => factories['io.flow.v0.models.payment_method_data_selected_payment_option'](),
|
|
13610
13579
|
() => factories['io.flow.v0.models.payment_method_data_complete_authorization_card'](),
|
|
13611
13580
|
]);
|
|
13612
13581
|
|
|
@@ -13622,6 +13591,14 @@ const factories = {
|
|
|
13622
13591
|
return f();
|
|
13623
13592
|
},
|
|
13624
13593
|
|
|
13594
|
+
'io.flow.v0.unions.payment_method_data_option_logo': (): io.flow.v0.unions.PaymentMethodDataOptionLogo => {
|
|
13595
|
+
const f = faker.random.arrayElement(
|
|
13596
|
+
[() => factories['io.flow.v0.models.payment_method_data_option_logo_svg']()],
|
|
13597
|
+
);
|
|
13598
|
+
|
|
13599
|
+
return f();
|
|
13600
|
+
},
|
|
13601
|
+
|
|
13625
13602
|
'io.flow.v0.unions.payment_method_summary': (): io.flow.v0.unions.PaymentMethodSummary => {
|
|
13626
13603
|
const f = faker.random.arrayElement([
|
|
13627
13604
|
() => factories['io.flow.v0.models.payment_method_summary_card'](),
|
|
@@ -13632,6 +13609,7 @@ const factories = {
|
|
|
13632
13609
|
() => factories['io.flow.v0.models.payment_method_summary_paypal'](),
|
|
13633
13610
|
() => factories['io.flow.v0.models.payment_method_summary_ideal'](),
|
|
13634
13611
|
() => factories['io.flow.v0.models.payment_method_summary_sofort'](),
|
|
13612
|
+
() => factories['io.flow.v0.models.payment_method_summary_bancontact'](),
|
|
13635
13613
|
]);
|
|
13636
13614
|
|
|
13637
13615
|
return f();
|
|
@@ -13922,8 +13900,8 @@ export const makeAchAuthorizationForm = () => factories['io.flow.v0.models.ach_a
|
|
|
13922
13900
|
export const makeAction = () => factories['io.flow.v0.unions.action']();
|
|
13923
13901
|
export const makeActionDisplayInlineWindow = () => factories['io.flow.v0.models.action_display_inline_window']();
|
|
13924
13902
|
export const makeActionExecuteScript = () => factories['io.flow.v0.models.action_execute_script']();
|
|
13925
|
-
export const makeActionIdealSelectIssuer = () => factories['io.flow.v0.models.action_ideal_select_issuer']();
|
|
13926
13903
|
export const makeActionRedirect = () => factories['io.flow.v0.models.action_redirect']();
|
|
13904
|
+
export const makeActionSelectPaymentOption = () => factories['io.flow.v0.models.action_select_payment_option']();
|
|
13927
13905
|
export const makeActionUseSdkAdyenV3 = () => factories['io.flow.v0.models.action_use_sdk_adyen_v3']();
|
|
13928
13906
|
export const makeActionUseSdkAdyenV4 = () => factories['io.flow.v0.models.action_use_sdk_adyen_v4']();
|
|
13929
13907
|
export const makeActionUseSdkApplepayJsCompleteValidation = () => factories['io.flow.v0.models.action_use_sdk_applepay_js_complete_validation']();
|
|
@@ -14115,6 +14093,8 @@ export const makeChannelCurrencyDeleted = () => factories['io.flow.v0.models.cha
|
|
|
14115
14093
|
export const makeChannelCurrencyUpserted = () => factories['io.flow.v0.models.channel_currency_upserted']();
|
|
14116
14094
|
export const makeChannelDeleted = () => factories['io.flow.v0.models.channel_deleted']();
|
|
14117
14095
|
export const makeChannelOrganization = () => factories['io.flow.v0.models.channel_organization']();
|
|
14096
|
+
export const makeChannelOrganizationApplication = () => factories['io.flow.v0.models.channel_organization_application']();
|
|
14097
|
+
export const makeChannelOrganizationApplicationForm = () => factories['io.flow.v0.models.channel_organization_application_form']();
|
|
14118
14098
|
export const makeChannelOrganizationAuthorization = () => factories['io.flow.v0.models.channel_organization_authorization']();
|
|
14119
14099
|
export const makeChannelOrganizationAuthorizationForm = () => factories['io.flow.v0.models.channel_organization_authorization_form']();
|
|
14120
14100
|
export const makeChannelOrganizationDeleted = () => factories['io.flow.v0.models.channel_organization_deleted']();
|
|
@@ -14492,7 +14472,6 @@ export const makeHs10Version = () => factories['io.flow.v0.models.hs10_version']
|
|
|
14492
14472
|
export const makeHs6 = () => factories['io.flow.v0.models.hs6']();
|
|
14493
14473
|
export const makeHs6CodeDeleted = () => factories['io.flow.v0.models.hs6_code_deleted']();
|
|
14494
14474
|
export const makeHs6CodeUpserted = () => factories['io.flow.v0.models.hs6_code_upserted']();
|
|
14495
|
-
export const makeIdealIssuer = () => factories['io.flow.v0.models.ideal_issuer']();
|
|
14496
14475
|
export const makeIdentifierForm = () => factories['io.flow.v0.models.identifier_form']();
|
|
14497
14476
|
export const makeImage = () => factories['io.flow.v0.models.image']();
|
|
14498
14477
|
export const makeImageForm = () => factories['io.flow.v0.models.image_form']();
|
|
@@ -14650,6 +14629,7 @@ export const makeMerchantGiftCardRedemption = () => factories['io.flow.v0.models
|
|
|
14650
14629
|
export const makeMerchantGiftCardRedemptionForm = () => factories['io.flow.v0.models.merchant_gift_card_redemption_form']();
|
|
14651
14630
|
export const makeMerchantGiftCardReversal = () => factories['io.flow.v0.models.merchant_gift_card_reversal']();
|
|
14652
14631
|
export const makeMerchantGiftCardReversalForm = () => factories['io.flow.v0.models.merchant_gift_card_reversal_form']();
|
|
14632
|
+
export const makeMerchantInfo = () => factories['io.flow.v0.models.merchant_info']();
|
|
14653
14633
|
export const makeMerchantOfRecord = () => factories['io.flow.v0.enums.merchant_of_record']();
|
|
14654
14634
|
export const makeMerchantOfRecordAuthorizationForm = () => factories['io.flow.v0.models.merchant_of_record_authorization_form']();
|
|
14655
14635
|
export const makeMerchantOfRecordEntity = () => factories['io.flow.v0.models.merchant_of_record_entity']();
|
|
@@ -14666,19 +14646,7 @@ export const makeNoInventoryReservationErrorItem = () => factories['io.flow.v0.m
|
|
|
14666
14646
|
export const makeNotificationDeletedV2 = () => factories['io.flow.v0.models.notification_deleted_v2']();
|
|
14667
14647
|
export const makeNotificationUpsertedV2 = () => factories['io.flow.v0.models.notification_upserted_v2']();
|
|
14668
14648
|
export const makeNumberRange = () => factories['io.flow.v0.models.number_range']();
|
|
14669
|
-
export const makeOnboardingBankAccount = () => factories['io.flow.v0.models.onboarding_bank_account']();
|
|
14670
|
-
export const makeOnboardingBankAccountForm = () => factories['io.flow.v0.models.onboarding_bank_account_form']();
|
|
14671
|
-
export const makeOnboardingClassification = () => factories['io.flow.v0.models.onboarding_classification']();
|
|
14672
|
-
export const makeOnboardingClassificationForm = () => factories['io.flow.v0.models.onboarding_classification_form']();
|
|
14673
14649
|
export const makeOnboardingDangerousGoods = () => factories['io.flow.v0.enums.onboarding_dangerous_goods']();
|
|
14674
|
-
export const makeOnboardingIncorporation = () => factories['io.flow.v0.models.onboarding_incorporation']();
|
|
14675
|
-
export const makeOnboardingPayment = () => factories['io.flow.v0.models.onboarding_payment']();
|
|
14676
|
-
export const makeOnboardingPaymentForm = () => factories['io.flow.v0.models.onboarding_payment_form']();
|
|
14677
|
-
export const makeOnboardingPreparerDetails = () => factories['io.flow.v0.models.onboarding_preparer_details']();
|
|
14678
|
-
export const makeOnboardingPreparerDetailsForm = () => factories['io.flow.v0.models.onboarding_preparer_details_form']();
|
|
14679
|
-
export const makeOnboardingProductLogistics = () => factories['io.flow.v0.models.onboarding_product_logistics']();
|
|
14680
|
-
export const makeOnboardingProductLogisticsForm = () => factories['io.flow.v0.models.onboarding_product_logistics_form']();
|
|
14681
|
-
export const makeOnboardingSubsidiaryCompany = () => factories['io.flow.v0.models.onboarding_subsidiary_company']();
|
|
14682
14650
|
export const makeOnboardingTradeSector = () => factories['io.flow.v0.enums.onboarding_trade_sector']();
|
|
14683
14651
|
export const makeOnlineAuthorization = () => factories['io.flow.v0.models.online_authorization']();
|
|
14684
14652
|
export const makeOnlineAuthorizationDeletedV2 = () => factories['io.flow.v0.models.online_authorization_deleted_v2']();
|
|
@@ -14901,11 +14869,17 @@ export const makePaymentMethodDataAuthorizePaypal = () => factories['io.flow.v0.
|
|
|
14901
14869
|
export const makePaymentMethodDataCompleteAuthorizationCard = () => factories['io.flow.v0.models.payment_method_data_complete_authorization_card']();
|
|
14902
14870
|
export const makePaymentMethodDataInitAfterpay = () => factories['io.flow.v0.models.payment_method_data_init_afterpay']();
|
|
14903
14871
|
export const makePaymentMethodDataInitApplepay = () => factories['io.flow.v0.models.payment_method_data_init_applepay']();
|
|
14872
|
+
export const makePaymentMethodDataInitBancontact = () => factories['io.flow.v0.models.payment_method_data_init_bancontact']();
|
|
14904
14873
|
export const makePaymentMethodDataInitGooglepay = () => factories['io.flow.v0.models.payment_method_data_init_googlepay']();
|
|
14905
14874
|
export const makePaymentMethodDataInitIdeal = () => factories['io.flow.v0.models.payment_method_data_init_ideal']();
|
|
14906
14875
|
export const makePaymentMethodDataInitKlarna = () => factories['io.flow.v0.models.payment_method_data_init_klarna']();
|
|
14907
14876
|
export const makePaymentMethodDataInitPaypal = () => factories['io.flow.v0.models.payment_method_data_init_paypal']();
|
|
14908
14877
|
export const makePaymentMethodDataInitSofort = () => factories['io.flow.v0.models.payment_method_data_init_sofort']();
|
|
14878
|
+
export const makePaymentMethodDataOptionLogo = () => factories['io.flow.v0.unions.payment_method_data_option_logo']();
|
|
14879
|
+
export const makePaymentMethodDataOptionLogoSvg = () => factories['io.flow.v0.models.payment_method_data_option_logo_svg']();
|
|
14880
|
+
export const makePaymentMethodDataOptionType = () => factories['io.flow.v0.enums.payment_method_data_option_type']();
|
|
14881
|
+
export const makePaymentMethodDataPaymentOption = () => factories['io.flow.v0.models.payment_method_data_payment_option']();
|
|
14882
|
+
export const makePaymentMethodDataSelectedPaymentOption = () => factories['io.flow.v0.models.payment_method_data_selected_payment_option']();
|
|
14909
14883
|
export const makePaymentMethodDataValidateApplepay = () => factories['io.flow.v0.models.payment_method_data_validate_applepay']();
|
|
14910
14884
|
export const makePaymentMethodImage = () => factories['io.flow.v0.models.payment_method_image']();
|
|
14911
14885
|
export const makePaymentMethodImages = () => factories['io.flow.v0.models.payment_method_images']();
|
|
@@ -14916,6 +14890,7 @@ export const makePaymentMethodRuleContentKey = () => factories['io.flow.v0.enums
|
|
|
14916
14890
|
export const makePaymentMethodSummary = () => factories['io.flow.v0.unions.payment_method_summary']();
|
|
14917
14891
|
export const makePaymentMethodSummaryAfterpay = () => factories['io.flow.v0.models.payment_method_summary_afterpay']();
|
|
14918
14892
|
export const makePaymentMethodSummaryApplepay = () => factories['io.flow.v0.models.payment_method_summary_applepay']();
|
|
14893
|
+
export const makePaymentMethodSummaryBancontact = () => factories['io.flow.v0.models.payment_method_summary_bancontact']();
|
|
14919
14894
|
export const makePaymentMethodSummaryCard = () => factories['io.flow.v0.models.payment_method_summary_card']();
|
|
14920
14895
|
export const makePaymentMethodSummaryGooglepay = () => factories['io.flow.v0.models.payment_method_summary_googlepay']();
|
|
14921
14896
|
export const makePaymentMethodSummaryIdeal = () => factories['io.flow.v0.models.payment_method_summary_ideal']();
|
|
@@ -15099,6 +15074,7 @@ export const makeRegion = () => factories['io.flow.v0.models.region']();
|
|
|
15099
15074
|
export const makeRegionReference = () => factories['io.flow.v0.models.region_reference']();
|
|
15100
15075
|
export const makeRegionSetting = () => factories['io.flow.v0.models.region_setting']();
|
|
15101
15076
|
export const makeRegionSettingForm = () => factories['io.flow.v0.models.region_setting_form']();
|
|
15077
|
+
export const makeRegionType = () => factories['io.flow.v0.enums.region_type']();
|
|
15102
15078
|
export const makeRemoteAreaRatecardFee = () => factories['io.flow.v0.models.remote_area_ratecard_fee']();
|
|
15103
15079
|
export const makeRemoteAreaServiceFee = () => factories['io.flow.v0.models.remote_area_service_fee']();
|
|
15104
15080
|
export const makeRepeatDaily = () => factories['io.flow.v0.models.repeat_daily']();
|
|
@@ -15394,7 +15370,6 @@ export const makeTradeAgreementName = () => factories['io.flow.v0.enums.trade_ag
|
|
|
15394
15370
|
export const makeTradeAgreementStatus = () => factories['io.flow.v0.enums.trade_agreement_status']();
|
|
15395
15371
|
export const makeTransitEstimate = () => factories['io.flow.v0.models.transit_estimate']();
|
|
15396
15372
|
export const makeTransitWindow = () => factories['io.flow.v0.models.transit_window']();
|
|
15397
|
-
export const makeUncertainBoolean = () => factories['io.flow.v0.enums.uncertain_boolean']();
|
|
15398
15373
|
export const makeUnharmonizedItemExportType = () => factories['io.flow.v0.models.unharmonized_item_export_type']();
|
|
15399
15374
|
export const makeUnitOfMeasurement = () => factories['io.flow.v0.enums.unit_of_measurement']();
|
|
15400
15375
|
export const makeUnitOfTime = () => factories['io.flow.v0.enums.unit_of_time']();
|