@flowio/types 11.24.96 → 11.24.98
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/api-internal.d.ts +2799 -4731
- package/dist/api.d.ts +220 -10
- package/package.json +2 -2
- package/src/api-internal.ts +3297 -5626
- package/src/api.ts +324 -7
package/dist/api.d.ts
CHANGED
|
@@ -129,6 +129,7 @@ declare namespace io.flow.google.pay.v0.unions {
|
|
|
129
129
|
declare namespace io.flow.stripe.v0.enums {
|
|
130
130
|
type AccountType = 'platform' | 'custom' | 'standard' | 'express';
|
|
131
131
|
type ApplePayType = 'apple_pay' | 'apple_pay_later';
|
|
132
|
+
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';
|
|
132
133
|
type BankIdeal = 'abn_amro' | 'asn_bank' | 'bunq' | 'handelsbanken' | 'ing' | 'knab' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
|
|
133
134
|
type BicIdeal = 'ABNANL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
|
|
134
135
|
type CancellationReason = 'abandoned' | 'automatic' | 'duplicate' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice';
|
|
@@ -140,9 +141,14 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
140
141
|
type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
|
|
141
142
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
142
143
|
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';
|
|
144
|
+
type DisputeEventType = 'charge.dispute.closed' | 'charge.dispute.created' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.updated';
|
|
145
|
+
type DisputePaymentMethodDetailsCardCaseType = 'chargeback' | 'inquiry';
|
|
146
|
+
type DisputePaymentMethodDetailsType = 'card' | 'klarna' | 'paypal';
|
|
147
|
+
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';
|
|
148
|
+
type DisputeStatus = 'warning_needs_response' | 'warning_under_review' | 'warning_closed' | 'needs_response' | 'under_review' | 'won' | 'lost';
|
|
143
149
|
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';
|
|
144
150
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
145
|
-
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';
|
|
151
|
+
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';
|
|
146
152
|
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
147
153
|
type FeatureAvailability = 'available' | 'unavailable';
|
|
148
154
|
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
@@ -373,6 +379,102 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
373
379
|
readonly source: string;
|
|
374
380
|
readonly description?: string;
|
|
375
381
|
}
|
|
382
|
+
interface Dispute {
|
|
383
|
+
readonly id: string;
|
|
384
|
+
readonly amount: number;
|
|
385
|
+
readonly charge: string;
|
|
386
|
+
readonly currency: string;
|
|
387
|
+
readonly evidence: io.flow.stripe.v0.models.DisputeEvidence;
|
|
388
|
+
readonly metadata: Record<string, string>;
|
|
389
|
+
readonly payment_intent?: string;
|
|
390
|
+
readonly reason: io.flow.stripe.v0.enums.DisputeReason;
|
|
391
|
+
readonly status: io.flow.stripe.v0.enums.DisputeStatus;
|
|
392
|
+
readonly object: string;
|
|
393
|
+
readonly balance_transactions: io.flow.stripe.v0.models.DisputeBalanceTransaction[];
|
|
394
|
+
readonly created: number;
|
|
395
|
+
readonly evidence_details: io.flow.stripe.v0.models.DisputeEvidenceDetails;
|
|
396
|
+
readonly is_charge_refundable: boolean;
|
|
397
|
+
readonly livemode: boolean;
|
|
398
|
+
readonly payment_method_details?: io.flow.stripe.v0.models.DisputePaymentMethodDetails;
|
|
399
|
+
}
|
|
400
|
+
interface DisputeBalanceTransaction {
|
|
401
|
+
readonly payment_intent?: string;
|
|
402
|
+
readonly id: string;
|
|
403
|
+
readonly object: string;
|
|
404
|
+
readonly amount: number;
|
|
405
|
+
readonly available_on: number;
|
|
406
|
+
readonly created: number;
|
|
407
|
+
readonly currency: string;
|
|
408
|
+
readonly description?: string;
|
|
409
|
+
readonly exchange_rate?: number;
|
|
410
|
+
readonly fee?: number;
|
|
411
|
+
readonly fee_details: io.flow.stripe.v0.models.DisputeBalanceTransactionFeeDetails[];
|
|
412
|
+
readonly net: number;
|
|
413
|
+
readonly reporting_category: string;
|
|
414
|
+
readonly source?: string;
|
|
415
|
+
readonly status: string;
|
|
416
|
+
readonly type: io.flow.stripe.v0.enums.BalanceTransactionType;
|
|
417
|
+
}
|
|
418
|
+
interface DisputeBalanceTransactionFeeDetails {
|
|
419
|
+
readonly amount: number;
|
|
420
|
+
readonly application?: string;
|
|
421
|
+
readonly currency: string;
|
|
422
|
+
readonly description?: string;
|
|
423
|
+
readonly type: string;
|
|
424
|
+
}
|
|
425
|
+
interface DisputeEvidence {
|
|
426
|
+
readonly access_activity_log?: string;
|
|
427
|
+
readonly billing_address?: string;
|
|
428
|
+
readonly cancellation_policy?: string;
|
|
429
|
+
readonly cancellation_policy_disclosure?: string;
|
|
430
|
+
readonly cancellation_rebuttal?: string;
|
|
431
|
+
readonly customer_communication?: string;
|
|
432
|
+
readonly customer_email_address?: string;
|
|
433
|
+
readonly customer_name?: string;
|
|
434
|
+
readonly 'evidence.customer_purchase_ip'?: string;
|
|
435
|
+
readonly customer_signature?: string;
|
|
436
|
+
readonly duplicate_charge_documentation?: string;
|
|
437
|
+
readonly duplicate_charge_explanation?: string;
|
|
438
|
+
readonly duplicate_charge_id?: string;
|
|
439
|
+
readonly product_description?: string;
|
|
440
|
+
readonly receipt?: string;
|
|
441
|
+
readonly refund_policy?: string;
|
|
442
|
+
readonly refund_policy_disclosure?: string;
|
|
443
|
+
readonly refund_refusal_explanation?: string;
|
|
444
|
+
readonly service_date?: string;
|
|
445
|
+
readonly service_documentation?: string;
|
|
446
|
+
readonly shipping_address?: string;
|
|
447
|
+
readonly shipping_carrier?: string;
|
|
448
|
+
readonly shipping_date?: string;
|
|
449
|
+
readonly shipping_documentation?: string;
|
|
450
|
+
readonly shipping_tracking_number?: string;
|
|
451
|
+
readonly uncategorized_file?: string;
|
|
452
|
+
readonly uncategorized_text?: string;
|
|
453
|
+
}
|
|
454
|
+
interface DisputeEvidenceDetails {
|
|
455
|
+
readonly due_by?: number;
|
|
456
|
+
readonly has_evidence: boolean;
|
|
457
|
+
readonly past_due: boolean;
|
|
458
|
+
readonly submission_count: number;
|
|
459
|
+
}
|
|
460
|
+
interface DisputePaymentMethodDetails {
|
|
461
|
+
readonly card?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsCard;
|
|
462
|
+
readonly klarna?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsKlarna;
|
|
463
|
+
readonly paypal?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsPaypal;
|
|
464
|
+
readonly type: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsType;
|
|
465
|
+
}
|
|
466
|
+
interface DisputePaymentMethodDetailsCard {
|
|
467
|
+
readonly brand: string;
|
|
468
|
+
readonly case_type?: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsCardCaseType;
|
|
469
|
+
readonly network_reason_code?: string;
|
|
470
|
+
}
|
|
471
|
+
interface DisputePaymentMethodDetailsKlarna {
|
|
472
|
+
readonly reason_code?: string;
|
|
473
|
+
}
|
|
474
|
+
interface DisputePaymentMethodDetailsPaypal {
|
|
475
|
+
readonly case_id?: string;
|
|
476
|
+
readonly reason_code?: string;
|
|
477
|
+
}
|
|
376
478
|
interface Error {
|
|
377
479
|
readonly error: io.flow.stripe.v0.models.StripeError;
|
|
378
480
|
}
|
|
@@ -978,6 +1080,22 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
978
1080
|
readonly three_ds_optimizations?: string;
|
|
979
1081
|
readonly directory_server_encryption?: any;
|
|
980
1082
|
}
|
|
1083
|
+
interface StripeDisputeEvent {
|
|
1084
|
+
readonly id: string;
|
|
1085
|
+
readonly api_version?: string;
|
|
1086
|
+
readonly data: io.flow.stripe.v0.models.StripeDisputeEventData;
|
|
1087
|
+
readonly request?: any;
|
|
1088
|
+
readonly type: io.flow.stripe.v0.enums.DisputeEventType;
|
|
1089
|
+
readonly object: string;
|
|
1090
|
+
readonly account?: string;
|
|
1091
|
+
readonly created: number;
|
|
1092
|
+
readonly livemode: boolean;
|
|
1093
|
+
readonly pending_webhooks: number;
|
|
1094
|
+
}
|
|
1095
|
+
interface StripeDisputeEventData {
|
|
1096
|
+
readonly object: io.flow.stripe.v0.models.Dispute;
|
|
1097
|
+
readonly previous_attributes?: any;
|
|
1098
|
+
}
|
|
981
1099
|
interface StripeError {
|
|
982
1100
|
readonly type: io.flow.stripe.v0.enums.ErrorType;
|
|
983
1101
|
readonly charge?: string;
|
|
@@ -1076,6 +1194,7 @@ declare namespace io.flow.shopify.external.v0.enums {
|
|
|
1076
1194
|
type Format = 'json' | 'xml';
|
|
1077
1195
|
type FulfillmentService = 'manual' | 'gift_card';
|
|
1078
1196
|
type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
|
|
1197
|
+
type GraphqlWeightUnit = 'GRAMS' | 'KILOGRAMS' | 'OUNCES' | 'POUNDS';
|
|
1079
1198
|
type InventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
|
|
1080
1199
|
type InventoryManagement = 'blank' | 'shopify';
|
|
1081
1200
|
type InventoryPolicy = 'deny' | 'continue';
|
|
@@ -1120,6 +1239,66 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1120
1239
|
interface Count {
|
|
1121
1240
|
readonly count: number;
|
|
1122
1241
|
}
|
|
1242
|
+
interface GraphqlInventoryItem {
|
|
1243
|
+
readonly id: string;
|
|
1244
|
+
readonly tracked: boolean;
|
|
1245
|
+
readonly requiresShipping?: boolean;
|
|
1246
|
+
readonly measurement: io.flow.shopify.external.v0.models.GraphqlMeasurement;
|
|
1247
|
+
}
|
|
1248
|
+
interface GraphqlMeasurement {
|
|
1249
|
+
readonly weight: io.flow.shopify.external.v0.models.GraphqlWeight;
|
|
1250
|
+
}
|
|
1251
|
+
interface GraphqlOption {
|
|
1252
|
+
readonly id: string;
|
|
1253
|
+
readonly values: string[];
|
|
1254
|
+
readonly name: string;
|
|
1255
|
+
readonly position: number;
|
|
1256
|
+
}
|
|
1257
|
+
interface GraphqlProduct {
|
|
1258
|
+
readonly id: string;
|
|
1259
|
+
readonly legacyResourceId: string;
|
|
1260
|
+
readonly handle: string;
|
|
1261
|
+
readonly variants?: io.flow.shopify.external.v0.models.GraphqlProductVariant[];
|
|
1262
|
+
readonly images: io.flow.shopify.external.v0.models.GraphqlProductImage[];
|
|
1263
|
+
readonly title: string;
|
|
1264
|
+
readonly vendor?: string;
|
|
1265
|
+
readonly descriptionHtml?: string;
|
|
1266
|
+
readonly productType?: string;
|
|
1267
|
+
readonly status?: string;
|
|
1268
|
+
readonly options: io.flow.shopify.external.v0.models.GraphqlOption[];
|
|
1269
|
+
readonly tags?: string[];
|
|
1270
|
+
readonly templateSuffix?: string;
|
|
1271
|
+
readonly publishedAt?: string;
|
|
1272
|
+
readonly createdAt: string;
|
|
1273
|
+
readonly updatedAt: string;
|
|
1274
|
+
readonly hasVariantsThatRequiresComponents?: boolean;
|
|
1275
|
+
}
|
|
1276
|
+
interface GraphqlProductImage {
|
|
1277
|
+
readonly id: string;
|
|
1278
|
+
readonly url: string;
|
|
1279
|
+
readonly altText?: string;
|
|
1280
|
+
}
|
|
1281
|
+
interface GraphqlProductVariant {
|
|
1282
|
+
readonly id: string;
|
|
1283
|
+
readonly legacyResourceId: string;
|
|
1284
|
+
readonly sku?: string;
|
|
1285
|
+
readonly price: string;
|
|
1286
|
+
readonly title: string;
|
|
1287
|
+
readonly taxable: boolean;
|
|
1288
|
+
readonly compareAtPrice?: string;
|
|
1289
|
+
readonly barcode?: string;
|
|
1290
|
+
readonly inventoryPolicy: io.flow.shopify.external.v0.enums.InventoryPolicy;
|
|
1291
|
+
readonly inventoryQuantity?: number;
|
|
1292
|
+
readonly image?: io.flow.shopify.external.v0.models.GraphqlVariantImage;
|
|
1293
|
+
readonly inventoryItem: io.flow.shopify.external.v0.models.GraphqlInventoryItem;
|
|
1294
|
+
}
|
|
1295
|
+
interface GraphqlVariantImage {
|
|
1296
|
+
readonly id: string;
|
|
1297
|
+
}
|
|
1298
|
+
interface GraphqlWeight {
|
|
1299
|
+
readonly unit: io.flow.shopify.external.v0.enums.GraphqlWeightUnit;
|
|
1300
|
+
readonly value: number;
|
|
1301
|
+
}
|
|
1123
1302
|
interface Metafield {
|
|
1124
1303
|
readonly id: number;
|
|
1125
1304
|
readonly key: string;
|
|
@@ -1213,7 +1392,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1213
1392
|
readonly options: io.flow.shopify.external.v0.models.Option[];
|
|
1214
1393
|
readonly tags?: string;
|
|
1215
1394
|
readonly template_suffix?: string;
|
|
1216
|
-
readonly published_scope
|
|
1395
|
+
readonly published_scope?: io.flow.shopify.external.v0.enums.PublishedScope;
|
|
1217
1396
|
readonly published_at?: string;
|
|
1218
1397
|
readonly created_at: string;
|
|
1219
1398
|
readonly updated_at: string;
|
|
@@ -1227,9 +1406,9 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1227
1406
|
readonly product_id: number;
|
|
1228
1407
|
readonly variant_ids: number[];
|
|
1229
1408
|
readonly src?: string;
|
|
1230
|
-
readonly position
|
|
1231
|
-
readonly created_at
|
|
1232
|
-
readonly updated_at
|
|
1409
|
+
readonly position?: number;
|
|
1410
|
+
readonly created_at?: string;
|
|
1411
|
+
readonly updated_at?: string;
|
|
1233
1412
|
readonly alt?: string;
|
|
1234
1413
|
}
|
|
1235
1414
|
interface ProductVariant {
|
|
@@ -1254,7 +1433,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1254
1433
|
readonly option1?: string;
|
|
1255
1434
|
readonly option2?: string;
|
|
1256
1435
|
readonly option3?: string;
|
|
1257
|
-
readonly requires_shipping
|
|
1436
|
+
readonly requires_shipping?: boolean;
|
|
1258
1437
|
readonly metafields?: io.flow.shopify.external.v0.models.Metafield[];
|
|
1259
1438
|
}
|
|
1260
1439
|
interface RequestMetafieldForm {
|
|
@@ -1367,6 +1546,10 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1367
1546
|
readonly session_hash?: string;
|
|
1368
1547
|
readonly user_agent?: string;
|
|
1369
1548
|
}
|
|
1549
|
+
interface ShopifyCountryHarmonizedSystemCode {
|
|
1550
|
+
readonly country_code: string;
|
|
1551
|
+
readonly harmonized_system_code: string;
|
|
1552
|
+
}
|
|
1370
1553
|
interface ShopifyCustomer {
|
|
1371
1554
|
readonly id: number;
|
|
1372
1555
|
readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
|
|
@@ -1567,6 +1750,13 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1567
1750
|
interface ShopifyInventoryItemDelete {
|
|
1568
1751
|
readonly id: number;
|
|
1569
1752
|
}
|
|
1753
|
+
interface ShopifyInventoryItemSummary {
|
|
1754
|
+
readonly country_code_of_origin?: string;
|
|
1755
|
+
readonly country_harmonized_system_codes?: io.flow.shopify.external.v0.models.ShopifyCountryHarmonizedSystemCode[];
|
|
1756
|
+
readonly harmonized_system_code?: string;
|
|
1757
|
+
readonly updated_at: string;
|
|
1758
|
+
readonly requires_shipping: boolean;
|
|
1759
|
+
}
|
|
1570
1760
|
interface ShopifyInventoryLevel {
|
|
1571
1761
|
readonly inventory_item_id: number;
|
|
1572
1762
|
readonly location_id: number;
|
|
@@ -2080,7 +2270,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2080
2270
|
type MerchantRejectedReason = 'merchant_ubo_is_pep' | 'merchant_catalog_is_unsupportable' | 'merchant_failed_kyb_review';
|
|
2081
2271
|
type Method = 'post';
|
|
2082
2272
|
type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
|
|
2083
|
-
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';
|
|
2273
|
+
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';
|
|
2084
2274
|
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';
|
|
2085
2275
|
type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
|
|
2086
2276
|
type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
|
|
@@ -2110,7 +2300,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2110
2300
|
type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
|
|
2111
2301
|
type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
|
|
2112
2302
|
type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
|
|
2113
|
-
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
|
|
2303
|
+
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24';
|
|
2114
2304
|
type PayoutAttachmentType = 'transactions';
|
|
2115
2305
|
type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
|
|
2116
2306
|
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';
|
|
@@ -7838,10 +8028,18 @@ declare namespace io.flow.v0.models {
|
|
|
7838
8028
|
readonly type: 'init_paypal';
|
|
7839
8029
|
readonly reference?: string;
|
|
7840
8030
|
}
|
|
8031
|
+
interface PaymentMethodDataInitPrzelewy24 {
|
|
8032
|
+
readonly type: 'init_przelewy24';
|
|
8033
|
+
readonly reference?: string;
|
|
8034
|
+
}
|
|
7841
8035
|
interface PaymentMethodDataInitSofort {
|
|
7842
8036
|
readonly type: 'init_sofort';
|
|
7843
8037
|
readonly reference?: string;
|
|
7844
8038
|
}
|
|
8039
|
+
interface PaymentMethodDataInitTwint {
|
|
8040
|
+
readonly type: 'init_twint';
|
|
8041
|
+
readonly reference?: string;
|
|
8042
|
+
}
|
|
7845
8043
|
interface PaymentMethodDataOptionLogoSvg {
|
|
7846
8044
|
readonly type: 'svg';
|
|
7847
8045
|
readonly url: string;
|
|
@@ -7934,10 +8132,18 @@ declare namespace io.flow.v0.models {
|
|
|
7934
8132
|
readonly type: 'paypal';
|
|
7935
8133
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
7936
8134
|
}
|
|
8135
|
+
interface PaymentMethodSummaryPrzelewy24 {
|
|
8136
|
+
readonly type: 'przelewy24';
|
|
8137
|
+
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
8138
|
+
}
|
|
7937
8139
|
interface PaymentMethodSummarySofort {
|
|
7938
8140
|
readonly type: 'sofort';
|
|
7939
8141
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
7940
8142
|
}
|
|
8143
|
+
interface PaymentMethodSummaryTwint {
|
|
8144
|
+
readonly type: 'twint';
|
|
8145
|
+
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
8146
|
+
}
|
|
7941
8147
|
interface PaymentOrderDetailsLineItem {
|
|
7942
8148
|
readonly id?: string;
|
|
7943
8149
|
readonly description: string;
|
|
@@ -11139,12 +11345,12 @@ declare namespace io.flow.v0.unions {
|
|
|
11139
11345
|
type PaymentCaptureOption = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual;
|
|
11140
11346
|
type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
|
|
11141
11347
|
type PaymentMethodCard = io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken;
|
|
11142
|
-
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;
|
|
11348
|
+
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;
|
|
11143
11349
|
type PaymentMethodDataAuthorizeApplepayResult = io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
|
|
11144
11350
|
type PaymentMethodDataAuthorizeKlarnaResult = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
|
|
11145
11351
|
type PaymentMethodDataOptionLogo = io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
11146
11352
|
type PaymentMethodStoredDetailsCard = io.flow.v0.models.PaymentMethodStoredDetailsCardInitial | io.flow.v0.models.PaymentMethodStoredDetailsCardSubsequent;
|
|
11147
|
-
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;
|
|
11353
|
+
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;
|
|
11148
11354
|
type PaymentMethodTag = {
|
|
11149
11355
|
discriminator: 'organization_payment_method_tag';
|
|
11150
11356
|
value: io.flow.v0.enums.OrganizationPaymentMethodTag;
|
|
@@ -12309,7 +12515,9 @@ export declare type PaymentMethodDataInitGooglepay = io.flow.v0.models.PaymentMe
|
|
|
12309
12515
|
export declare type PaymentMethodDataInitIdeal = io.flow.v0.models.PaymentMethodDataInitIdeal;
|
|
12310
12516
|
export declare type PaymentMethodDataInitKlarna = io.flow.v0.models.PaymentMethodDataInitKlarna;
|
|
12311
12517
|
export declare type PaymentMethodDataInitPaypal = io.flow.v0.models.PaymentMethodDataInitPaypal;
|
|
12518
|
+
export declare type PaymentMethodDataInitPrzelewy24 = io.flow.v0.models.PaymentMethodDataInitPrzelewy24;
|
|
12312
12519
|
export declare type PaymentMethodDataInitSofort = io.flow.v0.models.PaymentMethodDataInitSofort;
|
|
12520
|
+
export declare type PaymentMethodDataInitTwint = io.flow.v0.models.PaymentMethodDataInitTwint;
|
|
12313
12521
|
export declare type PaymentMethodDataOptionLogo = io.flow.v0.unions.PaymentMethodDataOptionLogo;
|
|
12314
12522
|
export declare type PaymentMethodDataOptionLogoSvg = io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
12315
12523
|
export declare type PaymentMethodDataOptionType = io.flow.v0.enums.PaymentMethodDataOptionType;
|
|
@@ -12334,7 +12542,9 @@ export declare type PaymentMethodSummaryGooglepay = io.flow.v0.models.PaymentMet
|
|
|
12334
12542
|
export declare type PaymentMethodSummaryIdeal = io.flow.v0.models.PaymentMethodSummaryIdeal;
|
|
12335
12543
|
export declare type PaymentMethodSummaryKlarna = io.flow.v0.models.PaymentMethodSummaryKlarna;
|
|
12336
12544
|
export declare type PaymentMethodSummaryPaypal = io.flow.v0.models.PaymentMethodSummaryPaypal;
|
|
12545
|
+
export declare type PaymentMethodSummaryPrzelewy24 = io.flow.v0.models.PaymentMethodSummaryPrzelewy24;
|
|
12337
12546
|
export declare type PaymentMethodSummarySofort = io.flow.v0.models.PaymentMethodSummarySofort;
|
|
12547
|
+
export declare type PaymentMethodSummaryTwint = io.flow.v0.models.PaymentMethodSummaryTwint;
|
|
12338
12548
|
export declare type PaymentMethodTag = io.flow.v0.unions.PaymentMethodTag;
|
|
12339
12549
|
export declare type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
|
|
12340
12550
|
export declare type PaymentOrderDetailsLineItem = io.flow.v0.models.PaymentOrderDetailsLineItem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.98",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "54b0e72a2a2a004dbc68536fa4f47e566426a56a"
|
|
29
29
|
}
|