@flowio/api-prop-types 10.16.79 → 10.16.82
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/lib/api.d.ts +191 -12
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +191 -12
- package/src/api.js +293 -55
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-prop-types",
|
|
3
|
-
"version": "10.16.
|
|
3
|
+
"version": "10.16.82",
|
|
4
4
|
"description": "PropType validators that work with Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"prop-types": "^15.7.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "e3d3fbfffe0108db636d2d051ab48c20d6726685"
|
|
33
33
|
}
|
package/src/api.d.ts
CHANGED
|
@@ -153,6 +153,7 @@ declare namespace io.flow.google.pay.v0.unions {
|
|
|
153
153
|
declare namespace io.flow.stripe.v0.enums {
|
|
154
154
|
type AccountType = 'platform' | 'custom' | 'standard' | 'express';
|
|
155
155
|
type ApplePayType = 'apple_pay' | 'apple_pay_later';
|
|
156
|
+
type BalanceTransactionType = 'adjustment' | 'advance' | 'advance_funding' | 'anticipation_repayment' | 'application_fee' | 'application_fee_refund' | 'charge' | 'climate_order_purchase' | 'climate_order_refund' | 'connect_collection_transfer' | 'contribution' | 'issuing_authorization_hold' | 'issuing_authorization_release' | 'issuing_dispute' | 'issuing_transaction' | 'obligation_outbound' | 'obligation_reversal_inbound' | 'payment' | 'payment_failure_refund' | 'payment_network_reserve_hold' | 'payment_network_reserve_release' | 'payment_refund' | 'payment_reversal' | 'payment_unreconciled' | 'payout' | 'payout_cancel' | 'payout_failure' | 'refund' | 'refund_failure' | 'reserve_transaction' | 'reserved_funds' | 'stripe_fee' | 'stripe_fx_fee' | 'tax_fee' | 'topup' | 'topup_reversal' | 'transfer' | 'transfer_cancel' | 'transfer_failure' | 'transfer_refund';
|
|
156
157
|
type BankIdeal = 'abn_amro' | 'asn_bank' | 'bunq' | 'handelsbanken' | 'ing' | 'knab' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
|
|
157
158
|
type BicIdeal = 'ABNANL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
|
|
158
159
|
type CancellationReason = 'abandoned' | 'automatic' | 'duplicate' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice';
|
|
@@ -424,13 +425,13 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
424
425
|
readonly 'amount': number;
|
|
425
426
|
readonly 'charge': string;
|
|
426
427
|
readonly 'currency': string;
|
|
427
|
-
readonly 'evidence':
|
|
428
|
+
readonly 'evidence': io.flow.stripe.v0.models.DisputeEvidence;
|
|
428
429
|
readonly 'metadata': Record<string, string>;
|
|
429
430
|
readonly 'payment_intent'?: string;
|
|
430
431
|
readonly 'reason': io.flow.stripe.v0.enums.DisputeReason;
|
|
431
432
|
readonly 'status': io.flow.stripe.v0.enums.DisputeStatus;
|
|
432
433
|
readonly 'object': string;
|
|
433
|
-
readonly 'balance_transactions':
|
|
434
|
+
readonly 'balance_transactions': io.flow.stripe.v0.models.DisputeBalanceTransaction[];
|
|
434
435
|
readonly 'created': number;
|
|
435
436
|
readonly 'evidence_details': io.flow.stripe.v0.models.DisputeEvidenceDetails;
|
|
436
437
|
readonly 'is_charge_refundable': boolean;
|
|
@@ -438,6 +439,63 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
438
439
|
readonly 'payment_method_details'?: io.flow.stripe.v0.models.DisputePaymentMethodDetails;
|
|
439
440
|
}
|
|
440
441
|
|
|
442
|
+
interface DisputeBalanceTransaction {
|
|
443
|
+
readonly 'payment_intent'?: string;
|
|
444
|
+
readonly 'id': string;
|
|
445
|
+
readonly 'object': string;
|
|
446
|
+
readonly 'amount': number;
|
|
447
|
+
readonly 'available_on': number;
|
|
448
|
+
readonly 'created': number;
|
|
449
|
+
readonly 'currency': string;
|
|
450
|
+
readonly 'description'?: string;
|
|
451
|
+
readonly 'exchange_rate'?: number;
|
|
452
|
+
readonly 'fee'?: number;
|
|
453
|
+
readonly 'fee_details': io.flow.stripe.v0.models.DisputeBalanceTransactionFeeDetails[];
|
|
454
|
+
readonly 'net': number;
|
|
455
|
+
readonly 'reporting_category': string;
|
|
456
|
+
readonly 'source'?: string;
|
|
457
|
+
readonly 'status': string;
|
|
458
|
+
readonly 'type': io.flow.stripe.v0.enums.BalanceTransactionType;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
interface DisputeBalanceTransactionFeeDetails {
|
|
462
|
+
readonly 'amount': number;
|
|
463
|
+
readonly 'application'?: string;
|
|
464
|
+
readonly 'currency': string;
|
|
465
|
+
readonly 'description'?: string;
|
|
466
|
+
readonly 'type': string;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
interface DisputeEvidence {
|
|
470
|
+
readonly 'access_activity_log'?: string;
|
|
471
|
+
readonly 'billing_address'?: string;
|
|
472
|
+
readonly 'cancellation_policy'?: string;
|
|
473
|
+
readonly 'cancellation_policy_disclosure'?: string;
|
|
474
|
+
readonly 'cancellation_rebuttal'?: string;
|
|
475
|
+
readonly 'customer_communication'?: string;
|
|
476
|
+
readonly 'customer_email_address'?: string;
|
|
477
|
+
readonly 'customer_name'?: string;
|
|
478
|
+
readonly 'evidence.customer_purchase_ip'?: string;
|
|
479
|
+
readonly 'customer_signature'?: string;
|
|
480
|
+
readonly 'duplicate_charge_documentation'?: string;
|
|
481
|
+
readonly 'duplicate_charge_explanation'?: string;
|
|
482
|
+
readonly 'duplicate_charge_id'?: string;
|
|
483
|
+
readonly 'product_description'?: string;
|
|
484
|
+
readonly 'receipt'?: string;
|
|
485
|
+
readonly 'refund_policy'?: string;
|
|
486
|
+
readonly 'refund_policy_disclosure'?: string;
|
|
487
|
+
readonly 'refund_refusal_explanation'?: string;
|
|
488
|
+
readonly 'service_date'?: string;
|
|
489
|
+
readonly 'service_documentation'?: string;
|
|
490
|
+
readonly 'shipping_address'?: string;
|
|
491
|
+
readonly 'shipping_carrier'?: string;
|
|
492
|
+
readonly 'shipping_date'?: string;
|
|
493
|
+
readonly 'shipping_documentation'?: string;
|
|
494
|
+
readonly 'shipping_tracking_number'?: string;
|
|
495
|
+
readonly 'uncategorized_file'?: string;
|
|
496
|
+
readonly 'uncategorized_text'?: string;
|
|
497
|
+
}
|
|
498
|
+
|
|
441
499
|
interface DisputeEvidenceDetails {
|
|
442
500
|
readonly 'due_by'?: number;
|
|
443
501
|
readonly 'has_evidence': boolean;
|
|
@@ -1282,6 +1340,7 @@ declare namespace io.flow.shopify.external.v0.enums {
|
|
|
1282
1340
|
type Format = 'json' | 'xml';
|
|
1283
1341
|
type FulfillmentService = 'manual' | 'gift_card';
|
|
1284
1342
|
type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
|
|
1343
|
+
type GraphqlWeightUnit = 'GRAMS' | 'KILOGRAMS' | 'OUNCES' | 'POUNDS';
|
|
1285
1344
|
type InventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
|
|
1286
1345
|
type InventoryManagement = 'blank' | 'shopify';
|
|
1287
1346
|
type InventoryPolicy = 'deny' | 'continue';
|
|
@@ -1330,6 +1389,74 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1330
1389
|
readonly 'count': number;
|
|
1331
1390
|
}
|
|
1332
1391
|
|
|
1392
|
+
interface GraphqlInventoryItem {
|
|
1393
|
+
readonly 'id': string;
|
|
1394
|
+
readonly 'tracked': boolean;
|
|
1395
|
+
readonly 'requiresShipping'?: boolean;
|
|
1396
|
+
readonly 'measurement': io.flow.shopify.external.v0.models.GraphqlMeasurement;
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
interface GraphqlMeasurement {
|
|
1400
|
+
readonly 'weight': io.flow.shopify.external.v0.models.GraphqlWeight;
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
interface GraphqlOption {
|
|
1404
|
+
readonly 'id': string;
|
|
1405
|
+
readonly 'values': string[];
|
|
1406
|
+
readonly 'name': string;
|
|
1407
|
+
readonly 'position': number;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
interface GraphqlProduct {
|
|
1411
|
+
readonly 'id': string;
|
|
1412
|
+
readonly 'legacyResourceId': string;
|
|
1413
|
+
readonly 'handle': string;
|
|
1414
|
+
readonly 'variants'?: io.flow.shopify.external.v0.models.GraphqlProductVariant[];
|
|
1415
|
+
readonly 'images': io.flow.shopify.external.v0.models.GraphqlProductImage[];
|
|
1416
|
+
readonly 'title': string;
|
|
1417
|
+
readonly 'vendor'?: string;
|
|
1418
|
+
readonly 'descriptionHtml'?: string;
|
|
1419
|
+
readonly 'productType'?: string;
|
|
1420
|
+
readonly 'status'?: string;
|
|
1421
|
+
readonly 'options': io.flow.shopify.external.v0.models.GraphqlOption[];
|
|
1422
|
+
readonly 'tags'?: string[];
|
|
1423
|
+
readonly 'templateSuffix'?: string;
|
|
1424
|
+
readonly 'publishedAt'?: string;
|
|
1425
|
+
readonly 'createdAt': string;
|
|
1426
|
+
readonly 'updatedAt': string;
|
|
1427
|
+
readonly 'hasVariantsThatRequiresComponents'?: boolean;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
interface GraphqlProductImage {
|
|
1431
|
+
readonly 'id': string;
|
|
1432
|
+
readonly 'url': string;
|
|
1433
|
+
readonly 'altText'?: string;
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
interface GraphqlProductVariant {
|
|
1437
|
+
readonly 'id': string;
|
|
1438
|
+
readonly 'legacyResourceId': string;
|
|
1439
|
+
readonly 'sku'?: string;
|
|
1440
|
+
readonly 'price': string;
|
|
1441
|
+
readonly 'title': string;
|
|
1442
|
+
readonly 'taxable': boolean;
|
|
1443
|
+
readonly 'compareAtPrice'?: string;
|
|
1444
|
+
readonly 'barcode'?: string;
|
|
1445
|
+
readonly 'inventoryPolicy': io.flow.shopify.external.v0.enums.InventoryPolicy;
|
|
1446
|
+
readonly 'inventoryQuantity'?: number;
|
|
1447
|
+
readonly 'image'?: io.flow.shopify.external.v0.models.GraphqlVariantImage;
|
|
1448
|
+
readonly 'inventoryItem': io.flow.shopify.external.v0.models.GraphqlInventoryItem;
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
interface GraphqlVariantImage {
|
|
1452
|
+
readonly 'id': string;
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
interface GraphqlWeight {
|
|
1456
|
+
readonly 'unit': io.flow.shopify.external.v0.enums.GraphqlWeightUnit;
|
|
1457
|
+
readonly 'value': number;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1333
1460
|
interface Metafield {
|
|
1334
1461
|
readonly 'id': number;
|
|
1335
1462
|
readonly 'key': string;
|
|
@@ -1433,7 +1560,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1433
1560
|
readonly 'options': io.flow.shopify.external.v0.models.Option[];
|
|
1434
1561
|
readonly 'tags'?: string;
|
|
1435
1562
|
readonly 'template_suffix'?: string;
|
|
1436
|
-
readonly 'published_scope'
|
|
1563
|
+
readonly 'published_scope'?: io.flow.shopify.external.v0.enums.PublishedScope;
|
|
1437
1564
|
readonly 'published_at'?: string;
|
|
1438
1565
|
readonly 'created_at': string;
|
|
1439
1566
|
readonly 'updated_at': string;
|
|
@@ -1449,9 +1576,9 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1449
1576
|
readonly 'product_id': number;
|
|
1450
1577
|
readonly 'variant_ids': number[];
|
|
1451
1578
|
readonly 'src'?: string;
|
|
1452
|
-
readonly 'position'
|
|
1453
|
-
readonly 'created_at'
|
|
1454
|
-
readonly 'updated_at'
|
|
1579
|
+
readonly 'position'?: number;
|
|
1580
|
+
readonly 'created_at'?: string;
|
|
1581
|
+
readonly 'updated_at'?: string;
|
|
1455
1582
|
readonly 'alt'?: string;
|
|
1456
1583
|
}
|
|
1457
1584
|
|
|
@@ -1477,7 +1604,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1477
1604
|
readonly 'option1'?: string;
|
|
1478
1605
|
readonly 'option2'?: string;
|
|
1479
1606
|
readonly 'option3'?: string;
|
|
1480
|
-
readonly 'requires_shipping'
|
|
1607
|
+
readonly 'requires_shipping'?: boolean;
|
|
1481
1608
|
readonly 'metafields'?: io.flow.shopify.external.v0.models.Metafield[];
|
|
1482
1609
|
}
|
|
1483
1610
|
|
|
@@ -1618,6 +1745,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1618
1745
|
readonly 'user_agent'?: string;
|
|
1619
1746
|
}
|
|
1620
1747
|
|
|
1748
|
+
interface ShopifyCountryHarmonizedSystemCode {
|
|
1749
|
+
readonly 'country_code': string;
|
|
1750
|
+
readonly 'harmonized_system_code': string;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1621
1753
|
interface ShopifyCustomer {
|
|
1622
1754
|
readonly 'id': number;
|
|
1623
1755
|
readonly 'addresses': io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
|
|
@@ -1838,6 +1970,14 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1838
1970
|
readonly 'id': number;
|
|
1839
1971
|
}
|
|
1840
1972
|
|
|
1973
|
+
interface ShopifyInventoryItemSummary {
|
|
1974
|
+
readonly 'country_code_of_origin'?: string;
|
|
1975
|
+
readonly 'country_harmonized_system_codes'?: io.flow.shopify.external.v0.models.ShopifyCountryHarmonizedSystemCode[];
|
|
1976
|
+
readonly 'harmonized_system_code'?: string;
|
|
1977
|
+
readonly 'updated_at': string;
|
|
1978
|
+
readonly 'requires_shipping': boolean;
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1841
1981
|
interface ShopifyInventoryLevel {
|
|
1842
1982
|
readonly 'inventory_item_id': number;
|
|
1843
1983
|
readonly 'location_id': number;
|
|
@@ -2361,7 +2501,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2361
2501
|
type ExporterOfRecord = 'flow' | 'organization';
|
|
2362
2502
|
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee';
|
|
2363
2503
|
type FlowBehavior = 'view_consumer_data';
|
|
2364
|
-
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
|
|
2504
|
+
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
|
|
2365
2505
|
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'organization_classification' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
|
|
2366
2506
|
type FraudEmailRuleDecision = 'approved' | 'declined';
|
|
2367
2507
|
type FraudLiability = 'flow' | 'organization';
|
|
@@ -2432,7 +2572,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2432
2572
|
type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
|
|
2433
2573
|
type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
|
|
2434
2574
|
type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
|
|
2435
|
-
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
|
|
2575
|
+
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24' | 'mobilepay';
|
|
2436
2576
|
type PayoutAttachmentType = 'transactions';
|
|
2437
2577
|
type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
|
|
2438
2578
|
type PendingPayoutTransactionReasonCode = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'waiting_for_tracking_info' | 'waiting_for_positive_account_balance';
|
|
@@ -2499,7 +2639,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2499
2639
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2500
2640
|
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout';
|
|
2501
2641
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
|
|
2502
|
-
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup';
|
|
2642
|
+
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup' | 'package_level_detail';
|
|
2503
2643
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
2504
2644
|
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
2505
2645
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
@@ -3414,6 +3554,7 @@ declare namespace io.flow.v0.models {
|
|
|
3414
3554
|
readonly 'items'?: io.flow.v0.models.LineItemForm[];
|
|
3415
3555
|
readonly 'package'?: io.flow.v0.models.ShippingLabelPackage;
|
|
3416
3556
|
readonly 'origin'?: io.flow.v0.models.ShippingAddress;
|
|
3557
|
+
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
3417
3558
|
}
|
|
3418
3559
|
|
|
3419
3560
|
interface BrowseOptinResponses {
|
|
@@ -9075,16 +9216,31 @@ declare namespace io.flow.v0.models {
|
|
|
9075
9216
|
readonly 'reference'?: string;
|
|
9076
9217
|
}
|
|
9077
9218
|
|
|
9219
|
+
interface PaymentMethodDataInitMobilepay {
|
|
9220
|
+
readonly 'type': 'init_mobilepay';
|
|
9221
|
+
readonly 'reference'?: string;
|
|
9222
|
+
}
|
|
9223
|
+
|
|
9078
9224
|
interface PaymentMethodDataInitPaypal {
|
|
9079
9225
|
readonly 'type': 'init_paypal';
|
|
9080
9226
|
readonly 'reference'?: string;
|
|
9081
9227
|
}
|
|
9082
9228
|
|
|
9229
|
+
interface PaymentMethodDataInitPrzelewy24 {
|
|
9230
|
+
readonly 'type': 'init_przelewy24';
|
|
9231
|
+
readonly 'reference'?: string;
|
|
9232
|
+
}
|
|
9233
|
+
|
|
9083
9234
|
interface PaymentMethodDataInitSofort {
|
|
9084
9235
|
readonly 'type': 'init_sofort';
|
|
9085
9236
|
readonly 'reference'?: string;
|
|
9086
9237
|
}
|
|
9087
9238
|
|
|
9239
|
+
interface PaymentMethodDataInitTwint {
|
|
9240
|
+
readonly 'type': 'init_twint';
|
|
9241
|
+
readonly 'reference'?: string;
|
|
9242
|
+
}
|
|
9243
|
+
|
|
9088
9244
|
interface PaymentMethodDataOptionLogoSvg {
|
|
9089
9245
|
readonly 'type': 'svg';
|
|
9090
9246
|
readonly 'url': string;
|
|
@@ -9191,16 +9347,31 @@ declare namespace io.flow.v0.models {
|
|
|
9191
9347
|
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9192
9348
|
}
|
|
9193
9349
|
|
|
9350
|
+
interface PaymentMethodSummaryMobilepay {
|
|
9351
|
+
readonly 'type': 'mobilepay';
|
|
9352
|
+
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9353
|
+
}
|
|
9354
|
+
|
|
9194
9355
|
interface PaymentMethodSummaryPaypal {
|
|
9195
9356
|
readonly 'type': 'paypal';
|
|
9196
9357
|
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9197
9358
|
}
|
|
9198
9359
|
|
|
9360
|
+
interface PaymentMethodSummaryPrzelewy24 {
|
|
9361
|
+
readonly 'type': 'przelewy24';
|
|
9362
|
+
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9363
|
+
}
|
|
9364
|
+
|
|
9199
9365
|
interface PaymentMethodSummarySofort {
|
|
9200
9366
|
readonly 'type': 'sofort';
|
|
9201
9367
|
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9202
9368
|
}
|
|
9203
9369
|
|
|
9370
|
+
interface PaymentMethodSummaryTwint {
|
|
9371
|
+
readonly 'type': 'twint';
|
|
9372
|
+
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9373
|
+
}
|
|
9374
|
+
|
|
9204
9375
|
interface PaymentOrderDetailsLineItem {
|
|
9205
9376
|
readonly 'id'?: string;
|
|
9206
9377
|
readonly 'description': string;
|
|
@@ -11160,6 +11331,7 @@ declare namespace io.flow.v0.models {
|
|
|
11160
11331
|
readonly 'additional_services_requested'?: io.flow.v0.models.AdditionalServicesRequested[];
|
|
11161
11332
|
readonly 'created_at'?: string;
|
|
11162
11333
|
readonly 'updated_at'?: string;
|
|
11334
|
+
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
11163
11335
|
}
|
|
11164
11336
|
|
|
11165
11337
|
interface ShippingLabelDocument {
|
|
@@ -11842,6 +12014,7 @@ declare namespace io.flow.v0.models {
|
|
|
11842
12014
|
readonly 'order_number': string;
|
|
11843
12015
|
readonly 'items': io.flow.v0.models.LineItemForm[];
|
|
11844
12016
|
readonly 'center_key'?: string;
|
|
12017
|
+
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
11845
12018
|
}
|
|
11846
12019
|
|
|
11847
12020
|
interface SummaryShippingNotificationForm {
|
|
@@ -12891,12 +13064,12 @@ declare namespace io.flow.v0.unions {
|
|
|
12891
13064
|
type PaymentCaptureOption = (io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual);
|
|
12892
13065
|
type PaymentForm = (io.flow.v0.models.MerchantOfRecordPaymentForm);
|
|
12893
13066
|
type PaymentMethodCard = (io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken);
|
|
12894
|
-
type PaymentMethodData = (io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataInitBancontact | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard);
|
|
13067
|
+
type PaymentMethodData = (io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataInitTwint | io.flow.v0.models.PaymentMethodDataInitPrzelewy24 | io.flow.v0.models.PaymentMethodDataInitMobilepay | io.flow.v0.models.PaymentMethodDataInitBancontact | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard);
|
|
12895
13068
|
type PaymentMethodDataAuthorizeApplepayResult = (io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure);
|
|
12896
13069
|
type PaymentMethodDataAuthorizeKlarnaResult = (io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure);
|
|
12897
13070
|
type PaymentMethodDataOptionLogo = (io.flow.v0.models.PaymentMethodDataOptionLogoSvg);
|
|
12898
13071
|
type PaymentMethodStoredDetailsCard = (io.flow.v0.models.PaymentMethodStoredDetailsCardInitial | io.flow.v0.models.PaymentMethodStoredDetailsCardSubsequent);
|
|
12899
|
-
type PaymentMethodSummary = (io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact);
|
|
13072
|
+
type PaymentMethodSummary = (io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummaryTwint | io.flow.v0.models.PaymentMethodSummaryPrzelewy24 | io.flow.v0.models.PaymentMethodSummaryMobilepay | io.flow.v0.models.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact);
|
|
12900
13073
|
|
|
12901
13074
|
type PaymentMethodTag = ({
|
|
12902
13075
|
discriminator: 'organization_payment_method_tag',
|
|
@@ -14081,8 +14254,11 @@ export const paymentMethodDataInitBancontact: PropTypes.Requireable<io.flow.v0.m
|
|
|
14081
14254
|
export const paymentMethodDataInitGooglepay: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitGooglepay>;
|
|
14082
14255
|
export const paymentMethodDataInitIdeal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitIdeal>;
|
|
14083
14256
|
export const paymentMethodDataInitKlarna: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitKlarna>;
|
|
14257
|
+
export const paymentMethodDataInitMobilepay: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitMobilepay>;
|
|
14084
14258
|
export const paymentMethodDataInitPaypal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitPaypal>;
|
|
14259
|
+
export const paymentMethodDataInitPrzelewy24: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitPrzelewy24>;
|
|
14085
14260
|
export const paymentMethodDataInitSofort: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitSofort>;
|
|
14261
|
+
export const paymentMethodDataInitTwint: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitTwint>;
|
|
14086
14262
|
export const paymentMethodDataOptionLogoSvg: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataOptionLogoSvg>;
|
|
14087
14263
|
export const paymentMethodDataPaymentOption: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataPaymentOption>;
|
|
14088
14264
|
export const paymentMethodDataSelectedPaymentOption: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataSelectedPaymentOption>;
|
|
@@ -14101,8 +14277,11 @@ export const paymentMethodSummaryCard: PropTypes.Requireable<io.flow.v0.models.P
|
|
|
14101
14277
|
export const paymentMethodSummaryGooglepay: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryGooglepay>;
|
|
14102
14278
|
export const paymentMethodSummaryIdeal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryIdeal>;
|
|
14103
14279
|
export const paymentMethodSummaryKlarna: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryKlarna>;
|
|
14280
|
+
export const paymentMethodSummaryMobilepay: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryMobilepay>;
|
|
14104
14281
|
export const paymentMethodSummaryPaypal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryPaypal>;
|
|
14282
|
+
export const paymentMethodSummaryPrzelewy24: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryPrzelewy24>;
|
|
14105
14283
|
export const paymentMethodSummarySofort: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummarySofort>;
|
|
14284
|
+
export const paymentMethodSummaryTwint: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryTwint>;
|
|
14106
14285
|
export const paymentOrderDetailsLineItem: PropTypes.Requireable<io.flow.v0.models.PaymentOrderDetailsLineItem>;
|
|
14107
14286
|
export const paymentPaymentMethod: PropTypes.Requireable<io.flow.v0.models.PaymentPaymentMethod>;
|
|
14108
14287
|
export const paymentPaymentRequestReference: PropTypes.Requireable<io.flow.v0.models.PaymentPaymentRequestReference>;
|