@flowio/api-prop-types 10.16.78 → 10.16.80
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 +245 -10
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +245 -10
- package/src/api.js +334 -6
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.80",
|
|
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": "54b0e72a2a2a004dbc68536fa4f47e566426a56a"
|
|
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';
|
|
@@ -164,9 +165,14 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
164
165
|
type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
|
|
165
166
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
166
167
|
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded' | 'previously_declined_do_not_retry' | 'highest_risk_level' | 'requested_block_on_incorrect_cvc';
|
|
168
|
+
type DisputeEventType = 'charge.dispute.closed' | 'charge.dispute.created' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.updated';
|
|
169
|
+
type DisputePaymentMethodDetailsCardCaseType = 'chargeback' | 'inquiry';
|
|
170
|
+
type DisputePaymentMethodDetailsType = 'card' | 'klarna' | 'paypal';
|
|
171
|
+
type DisputeReason = 'bank_cannot_process' | 'check_returned' | 'credit_not_processed' | 'customer_initiated' | 'debit_not_authorized' | 'duplicate' | 'fraudulent' | 'general' | 'incorrect_account_details' | 'insufficient_funds' | 'product_not_received' | 'product_unacceptable' | 'subscription_canceled' | 'unrecognized';
|
|
172
|
+
type DisputeStatus = 'warning_needs_response' | 'warning_under_review' | 'warning_closed' | 'needs_response' | 'under_review' | 'won' | 'lost';
|
|
167
173
|
type ErrorCode = 'invalid_number' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_cvc' | 'invalid_swipe_data' | 'country_code_invalid' | 'email_invalid' | 'postal_code_invalid' | 'invalid_characters' | 'url_invalid' | 'invalid_charge_amount' | 'incorrect_number' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_zip' | 'card_declined' | 'expired_card' | 'missing' | 'processing_error' | 'account_closed' | 'amount_too_small' | 'amount_too_large' | 'api_key_expired' | 'authentication_required' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'insufficient_funds' | 'intent_invalid_state' | 'livemode_mismatch' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_unexpected_state' | 'payment_intent_invalid_parameter' | 'payment_method_billing_details_address_missing' | 'payment_method_customer_decline' | 'payment_method_currency_mismatch' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'platform_api_key_expired' | 'refund_disputed_payment' | 'testmode_charges_only' | 'tls_version_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state';
|
|
168
174
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
169
|
-
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | 'payment_intent.created' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'payment_intent.requires_action' | 'payment_intent.canceled' | 'payment_intent.processing' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
175
|
+
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | 'charge.dispute.closed' | 'charge.dispute.created' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.updated' | 'payment_intent.created' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'payment_intent.requires_action' | 'payment_intent.canceled' | 'payment_intent.processing' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
170
176
|
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
171
177
|
type FeatureAvailability = 'available' | 'unavailable';
|
|
172
178
|
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
@@ -414,6 +420,111 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
414
420
|
readonly 'description'?: string;
|
|
415
421
|
}
|
|
416
422
|
|
|
423
|
+
interface Dispute {
|
|
424
|
+
readonly 'id': string;
|
|
425
|
+
readonly 'amount': number;
|
|
426
|
+
readonly 'charge': string;
|
|
427
|
+
readonly 'currency': string;
|
|
428
|
+
readonly 'evidence': io.flow.stripe.v0.models.DisputeEvidence;
|
|
429
|
+
readonly 'metadata': Record<string, string>;
|
|
430
|
+
readonly 'payment_intent'?: string;
|
|
431
|
+
readonly 'reason': io.flow.stripe.v0.enums.DisputeReason;
|
|
432
|
+
readonly 'status': io.flow.stripe.v0.enums.DisputeStatus;
|
|
433
|
+
readonly 'object': string;
|
|
434
|
+
readonly 'balance_transactions': io.flow.stripe.v0.models.DisputeBalanceTransaction[];
|
|
435
|
+
readonly 'created': number;
|
|
436
|
+
readonly 'evidence_details': io.flow.stripe.v0.models.DisputeEvidenceDetails;
|
|
437
|
+
readonly 'is_charge_refundable': boolean;
|
|
438
|
+
readonly 'livemode': boolean;
|
|
439
|
+
readonly 'payment_method_details'?: io.flow.stripe.v0.models.DisputePaymentMethodDetails;
|
|
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
|
+
|
|
499
|
+
interface DisputeEvidenceDetails {
|
|
500
|
+
readonly 'due_by'?: number;
|
|
501
|
+
readonly 'has_evidence': boolean;
|
|
502
|
+
readonly 'past_due': boolean;
|
|
503
|
+
readonly 'submission_count': number;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
interface DisputePaymentMethodDetails {
|
|
507
|
+
readonly 'card'?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsCard;
|
|
508
|
+
readonly 'klarna'?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsKlarna;
|
|
509
|
+
readonly 'paypal'?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsPaypal;
|
|
510
|
+
readonly 'type': io.flow.stripe.v0.enums.DisputePaymentMethodDetailsType;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
interface DisputePaymentMethodDetailsCard {
|
|
514
|
+
readonly 'brand': string;
|
|
515
|
+
readonly 'case_type'?: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsCardCaseType;
|
|
516
|
+
readonly 'network_reason_code'?: string;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
interface DisputePaymentMethodDetailsKlarna {
|
|
520
|
+
readonly 'reason_code'?: string;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
interface DisputePaymentMethodDetailsPaypal {
|
|
524
|
+
readonly 'case_id'?: string;
|
|
525
|
+
readonly 'reason_code'?: string;
|
|
526
|
+
}
|
|
527
|
+
|
|
417
528
|
interface Error {
|
|
418
529
|
readonly 'error': io.flow.stripe.v0.models.StripeError;
|
|
419
530
|
}
|
|
@@ -1099,6 +1210,24 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1099
1210
|
readonly 'directory_server_encryption'?: any/*object*/;
|
|
1100
1211
|
}
|
|
1101
1212
|
|
|
1213
|
+
interface StripeDisputeEvent {
|
|
1214
|
+
readonly 'id': string;
|
|
1215
|
+
readonly 'api_version'?: string;
|
|
1216
|
+
readonly 'data': io.flow.stripe.v0.models.StripeDisputeEventData;
|
|
1217
|
+
readonly 'request'?: any/*object*/;
|
|
1218
|
+
readonly 'type': io.flow.stripe.v0.enums.DisputeEventType;
|
|
1219
|
+
readonly 'object': string;
|
|
1220
|
+
readonly 'account'?: string;
|
|
1221
|
+
readonly 'created': number;
|
|
1222
|
+
readonly 'livemode': boolean;
|
|
1223
|
+
readonly 'pending_webhooks': number;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
interface StripeDisputeEventData {
|
|
1227
|
+
readonly 'object': io.flow.stripe.v0.models.Dispute;
|
|
1228
|
+
readonly 'previous_attributes'?: any/*object*/;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1102
1231
|
interface StripeError {
|
|
1103
1232
|
readonly 'type': io.flow.stripe.v0.enums.ErrorType;
|
|
1104
1233
|
readonly 'charge'?: string;
|
|
@@ -1211,6 +1340,7 @@ declare namespace io.flow.shopify.external.v0.enums {
|
|
|
1211
1340
|
type Format = 'json' | 'xml';
|
|
1212
1341
|
type FulfillmentService = 'manual' | 'gift_card';
|
|
1213
1342
|
type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
|
|
1343
|
+
type GraphqlWeightUnit = 'GRAMS' | 'KILOGRAMS' | 'OUNCES' | 'POUNDS';
|
|
1214
1344
|
type InventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
|
|
1215
1345
|
type InventoryManagement = 'blank' | 'shopify';
|
|
1216
1346
|
type InventoryPolicy = 'deny' | 'continue';
|
|
@@ -1259,6 +1389,74 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1259
1389
|
readonly 'count': number;
|
|
1260
1390
|
}
|
|
1261
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
|
+
|
|
1262
1460
|
interface Metafield {
|
|
1263
1461
|
readonly 'id': number;
|
|
1264
1462
|
readonly 'key': string;
|
|
@@ -1362,7 +1560,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1362
1560
|
readonly 'options': io.flow.shopify.external.v0.models.Option[];
|
|
1363
1561
|
readonly 'tags'?: string;
|
|
1364
1562
|
readonly 'template_suffix'?: string;
|
|
1365
|
-
readonly 'published_scope'
|
|
1563
|
+
readonly 'published_scope'?: io.flow.shopify.external.v0.enums.PublishedScope;
|
|
1366
1564
|
readonly 'published_at'?: string;
|
|
1367
1565
|
readonly 'created_at': string;
|
|
1368
1566
|
readonly 'updated_at': string;
|
|
@@ -1378,9 +1576,9 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1378
1576
|
readonly 'product_id': number;
|
|
1379
1577
|
readonly 'variant_ids': number[];
|
|
1380
1578
|
readonly 'src'?: string;
|
|
1381
|
-
readonly 'position'
|
|
1382
|
-
readonly 'created_at'
|
|
1383
|
-
readonly 'updated_at'
|
|
1579
|
+
readonly 'position'?: number;
|
|
1580
|
+
readonly 'created_at'?: string;
|
|
1581
|
+
readonly 'updated_at'?: string;
|
|
1384
1582
|
readonly 'alt'?: string;
|
|
1385
1583
|
}
|
|
1386
1584
|
|
|
@@ -1406,7 +1604,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1406
1604
|
readonly 'option1'?: string;
|
|
1407
1605
|
readonly 'option2'?: string;
|
|
1408
1606
|
readonly 'option3'?: string;
|
|
1409
|
-
readonly 'requires_shipping'
|
|
1607
|
+
readonly 'requires_shipping'?: boolean;
|
|
1410
1608
|
readonly 'metafields'?: io.flow.shopify.external.v0.models.Metafield[];
|
|
1411
1609
|
}
|
|
1412
1610
|
|
|
@@ -1547,6 +1745,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1547
1745
|
readonly 'user_agent'?: string;
|
|
1548
1746
|
}
|
|
1549
1747
|
|
|
1748
|
+
interface ShopifyCountryHarmonizedSystemCode {
|
|
1749
|
+
readonly 'country_code': string;
|
|
1750
|
+
readonly 'harmonized_system_code': string;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1550
1753
|
interface ShopifyCustomer {
|
|
1551
1754
|
readonly 'id': number;
|
|
1552
1755
|
readonly 'addresses': io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
|
|
@@ -1767,6 +1970,14 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1767
1970
|
readonly 'id': number;
|
|
1768
1971
|
}
|
|
1769
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
|
+
|
|
1770
1981
|
interface ShopifyInventoryLevel {
|
|
1771
1982
|
readonly 'inventory_item_id': number;
|
|
1772
1983
|
readonly 'location_id': number;
|
|
@@ -2331,7 +2542,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2331
2542
|
type MerchantRejectedReason = 'merchant_ubo_is_pep' | 'merchant_catalog_is_unsupportable' | 'merchant_failed_kyb_review';
|
|
2332
2543
|
type Method = 'post';
|
|
2333
2544
|
type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
|
|
2334
|
-
type OnboardingBlockedReason = 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box' | 'exception_merchant' | 'application_missing';
|
|
2545
|
+
type OnboardingBlockedReason = 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box' | 'exception_merchant' | 'application_missing' | 'missing_logistics_contact_info';
|
|
2335
2546
|
type OnboardingTradeSector = 'accessories' | 'animals_and_pet_supplies' | 'apparel' | 'apparel_and_accessories' | 'arts_and_entertainment' | 'baby_and_toddler' | 'business_and_industrial' | 'cameras_and_optics' | 'electronics' | 'food_beverages_and_tobacco' | 'furniture' | 'gift_cards' | 'hardware' | 'health_and_beauty' | 'home_and_garden' | 'jewelry' | 'luggage_and_bags' | 'mature' | 'media' | 'office_supplies' | 'paper_and_art' | 'religious_and_ceremonial' | 'software' | 'sporting_goods' | 'sports_and_fitness' | 'toys_and_games' | 'toys_hobbies_gifts' | 'vehicles_and_parts' | 'other';
|
|
2336
2547
|
type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
|
|
2337
2548
|
type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
|
|
@@ -2361,7 +2572,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2361
2572
|
type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
|
|
2362
2573
|
type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
|
|
2363
2574
|
type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
|
|
2364
|
-
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';
|
|
2365
2576
|
type PayoutAttachmentType = 'transactions';
|
|
2366
2577
|
type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
|
|
2367
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';
|
|
@@ -9009,11 +9220,21 @@ declare namespace io.flow.v0.models {
|
|
|
9009
9220
|
readonly 'reference'?: string;
|
|
9010
9221
|
}
|
|
9011
9222
|
|
|
9223
|
+
interface PaymentMethodDataInitPrzelewy24 {
|
|
9224
|
+
readonly 'type': 'init_przelewy24';
|
|
9225
|
+
readonly 'reference'?: string;
|
|
9226
|
+
}
|
|
9227
|
+
|
|
9012
9228
|
interface PaymentMethodDataInitSofort {
|
|
9013
9229
|
readonly 'type': 'init_sofort';
|
|
9014
9230
|
readonly 'reference'?: string;
|
|
9015
9231
|
}
|
|
9016
9232
|
|
|
9233
|
+
interface PaymentMethodDataInitTwint {
|
|
9234
|
+
readonly 'type': 'init_twint';
|
|
9235
|
+
readonly 'reference'?: string;
|
|
9236
|
+
}
|
|
9237
|
+
|
|
9017
9238
|
interface PaymentMethodDataOptionLogoSvg {
|
|
9018
9239
|
readonly 'type': 'svg';
|
|
9019
9240
|
readonly 'url': string;
|
|
@@ -9125,11 +9346,21 @@ declare namespace io.flow.v0.models {
|
|
|
9125
9346
|
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9126
9347
|
}
|
|
9127
9348
|
|
|
9349
|
+
interface PaymentMethodSummaryPrzelewy24 {
|
|
9350
|
+
readonly 'type': 'przelewy24';
|
|
9351
|
+
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9352
|
+
}
|
|
9353
|
+
|
|
9128
9354
|
interface PaymentMethodSummarySofort {
|
|
9129
9355
|
readonly 'type': 'sofort';
|
|
9130
9356
|
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9131
9357
|
}
|
|
9132
9358
|
|
|
9359
|
+
interface PaymentMethodSummaryTwint {
|
|
9360
|
+
readonly 'type': 'twint';
|
|
9361
|
+
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9362
|
+
}
|
|
9363
|
+
|
|
9133
9364
|
interface PaymentOrderDetailsLineItem {
|
|
9134
9365
|
readonly 'id'?: string;
|
|
9135
9366
|
readonly 'description': string;
|
|
@@ -12820,12 +13051,12 @@ declare namespace io.flow.v0.unions {
|
|
|
12820
13051
|
type PaymentCaptureOption = (io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual);
|
|
12821
13052
|
type PaymentForm = (io.flow.v0.models.MerchantOfRecordPaymentForm);
|
|
12822
13053
|
type PaymentMethodCard = (io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken);
|
|
12823
|
-
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);
|
|
13054
|
+
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.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);
|
|
12824
13055
|
type PaymentMethodDataAuthorizeApplepayResult = (io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure);
|
|
12825
13056
|
type PaymentMethodDataAuthorizeKlarnaResult = (io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure);
|
|
12826
13057
|
type PaymentMethodDataOptionLogo = (io.flow.v0.models.PaymentMethodDataOptionLogoSvg);
|
|
12827
13058
|
type PaymentMethodStoredDetailsCard = (io.flow.v0.models.PaymentMethodStoredDetailsCardInitial | io.flow.v0.models.PaymentMethodStoredDetailsCardSubsequent);
|
|
12828
|
-
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);
|
|
13059
|
+
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.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact);
|
|
12829
13060
|
|
|
12830
13061
|
type PaymentMethodTag = ({
|
|
12831
13062
|
discriminator: 'organization_payment_method_tag',
|
|
@@ -14011,7 +14242,9 @@ export const paymentMethodDataInitGooglepay: PropTypes.Requireable<io.flow.v0.mo
|
|
|
14011
14242
|
export const paymentMethodDataInitIdeal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitIdeal>;
|
|
14012
14243
|
export const paymentMethodDataInitKlarna: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitKlarna>;
|
|
14013
14244
|
export const paymentMethodDataInitPaypal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitPaypal>;
|
|
14245
|
+
export const paymentMethodDataInitPrzelewy24: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitPrzelewy24>;
|
|
14014
14246
|
export const paymentMethodDataInitSofort: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitSofort>;
|
|
14247
|
+
export const paymentMethodDataInitTwint: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitTwint>;
|
|
14015
14248
|
export const paymentMethodDataOptionLogoSvg: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataOptionLogoSvg>;
|
|
14016
14249
|
export const paymentMethodDataPaymentOption: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataPaymentOption>;
|
|
14017
14250
|
export const paymentMethodDataSelectedPaymentOption: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataSelectedPaymentOption>;
|
|
@@ -14031,7 +14264,9 @@ export const paymentMethodSummaryGooglepay: PropTypes.Requireable<io.flow.v0.mod
|
|
|
14031
14264
|
export const paymentMethodSummaryIdeal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryIdeal>;
|
|
14032
14265
|
export const paymentMethodSummaryKlarna: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryKlarna>;
|
|
14033
14266
|
export const paymentMethodSummaryPaypal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryPaypal>;
|
|
14267
|
+
export const paymentMethodSummaryPrzelewy24: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryPrzelewy24>;
|
|
14034
14268
|
export const paymentMethodSummarySofort: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummarySofort>;
|
|
14269
|
+
export const paymentMethodSummaryTwint: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryTwint>;
|
|
14035
14270
|
export const paymentOrderDetailsLineItem: PropTypes.Requireable<io.flow.v0.models.PaymentOrderDetailsLineItem>;
|
|
14036
14271
|
export const paymentPaymentMethod: PropTypes.Requireable<io.flow.v0.models.PaymentPaymentMethod>;
|
|
14037
14272
|
export const paymentPaymentRequestReference: PropTypes.Requireable<io.flow.v0.models.PaymentPaymentRequestReference>;
|