@flowio/types 11.24.98 → 11.24.100

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.d.ts CHANGED
@@ -129,28 +129,18 @@ 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';
133
- type BankIdeal = 'abn_amro' | 'asn_bank' | 'bunq' | 'handelsbanken' | 'ing' | 'knab' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
134
- type BicIdeal = 'ABNANL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
135
132
  type CancellationReason = 'abandoned' | 'automatic' | 'duplicate' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice';
136
133
  type CaptureMethod = 'automatic' | 'manual';
137
134
  type CardBrand = 'American Express' | 'MasterCard' | 'Discover' | 'JCB' | 'Diners Club' | 'Unknown';
135
+ type CardErrorCode = 'invalid_number' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_cvc' | 'invalid_swipe_data' | 'incorrect_number' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'card_declined' | 'missing' | 'processing_error';
138
136
  type CardFundingType = 'credit' | 'debit' | 'prepaid' | 'unknown';
139
137
  type CardNetwork = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'interac' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
140
138
  type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
141
139
  type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
142
140
  type ConfirmationMethod = 'automatic' | 'manual';
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';
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';
141
+ 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_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';
150
142
  type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
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';
152
- type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
153
- type FeatureAvailability = 'available' | 'unavailable';
143
+ 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';
154
144
  type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
155
145
  type KlarnaProduct = 'payment';
156
146
  type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
@@ -158,10 +148,9 @@ declare namespace io.flow.stripe.v0.enums {
158
148
  type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount';
159
149
  type PaymentIntentStatus = 'canceled' | 'processing' | 'requires_action' | 'requires_capture' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded';
160
150
  type PaymentMethodCategoryKlarna = 'pay_later' | 'pay_now' | 'pay_with_financing' | 'pay_in_installments';
161
- type PaymentMethodType = 'card' | 'card_present' | 'ideal' | 'klarna' | 'bancontact';
151
+ type PaymentMethodType = 'card' | 'card_present';
162
152
  type PaymentOutcomeType = 'authorized' | 'manual_review' | 'issuer_declined' | 'blocked' | 'invalid';
163
153
  type PaymentStatus = 'succeeded' | 'pending' | 'failed';
164
- type PreferredLanguageBancontact = 'de' | 'en' | 'fr' | 'nl';
165
154
  type PreferredLocaleKlarna = 'de-AT' | 'en-AT' | 'nl-BE' | 'fr-BE' | 'en-BE' | 'de-DE' | 'en-DE' | 'da-DK' | 'en-DK' | 'es-ES' | 'en-ES' | 'fi-FI' | 'sv-FI' | 'en-FI' | 'en-GB' | 'en-IE' | 'it-IT' | 'en-IT' | 'nl-NL' | 'en-NL' | 'nb-NO' | 'en-NO' | 'sv-SE' | 'en-SE' | 'en-US' | 'es-US' | 'fr-FR' | 'en-FR' | 'cs-CZ' | 'en-CZ' | 'el-GR' | 'en-GR' | 'en-AU' | 'en-NZ' | 'en-CA' | 'fr-CA' | 'pl-PL' | 'en-PL' | 'pt-PT' | 'en-PT' | 'de-CH' | 'fr-CH' | 'it-CH' | 'en-CH';
166
155
  type RefundFailureReason = 'lost_or_stolen_card' | 'expired_or_canceled_card' | 'unknown';
167
156
  type RefundReason = 'duplicate' | 'fraudulent' | 'requested_by_customer';
@@ -289,7 +278,6 @@ declare namespace io.flow.stripe.v0.models {
289
278
  readonly currency: string;
290
279
  readonly customer?: string;
291
280
  readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
292
- readonly disputed?: boolean;
293
281
  readonly paid: boolean;
294
282
  readonly refunded: boolean;
295
283
  readonly refunds?: io.flow.stripe.v0.models.Refunds;
@@ -298,7 +286,7 @@ declare namespace io.flow.stripe.v0.models {
298
286
  readonly balance_transaction?: string;
299
287
  readonly destination?: string;
300
288
  readonly dispute?: string;
301
- readonly failure_code?: io.flow.stripe.v0.enums.ErrorCode;
289
+ readonly failure_code?: string;
302
290
  readonly failure_message?: string;
303
291
  readonly on_behalf_of?: string;
304
292
  readonly review?: string;
@@ -309,7 +297,6 @@ declare namespace io.flow.stripe.v0.models {
309
297
  readonly calculated_statement_descriptor?: string;
310
298
  readonly statement_descriptor?: string;
311
299
  readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
312
- readonly payment_method?: string;
313
300
  }
314
301
  interface ChargeDestination {
315
302
  readonly account: string;
@@ -335,7 +322,6 @@ declare namespace io.flow.stripe.v0.models {
335
322
  readonly amount_refunded: number;
336
323
  readonly authorization_code?: string;
337
324
  readonly captured: boolean;
338
- readonly disputed?: boolean;
339
325
  readonly created: number;
340
326
  readonly currency: string;
341
327
  readonly customer?: string;
@@ -348,7 +334,7 @@ declare namespace io.flow.stripe.v0.models {
348
334
  readonly balance_transaction?: string;
349
335
  readonly destination?: string;
350
336
  readonly dispute?: string;
351
- readonly failure_code?: io.flow.stripe.v0.enums.ErrorCode;
337
+ readonly failure_code?: string;
352
338
  readonly failure_message?: string;
353
339
  readonly on_behalf_of?: string;
354
340
  readonly review?: string;
@@ -359,7 +345,6 @@ declare namespace io.flow.stripe.v0.models {
359
345
  readonly calculated_statement_descriptor?: string;
360
346
  readonly statement_descriptor?: string;
361
347
  readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
362
- readonly payment_method?: string;
363
348
  }
364
349
  interface CodeVerification {
365
350
  readonly attempts_remaining: number;
@@ -379,111 +364,9 @@ declare namespace io.flow.stripe.v0.models {
379
364
  readonly source: string;
380
365
  readonly description?: string;
381
366
  }
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
- }
478
367
  interface Error {
479
368
  readonly error: io.flow.stripe.v0.models.StripeError;
480
369
  }
481
- interface ExtendedAuthorization {
482
- readonly status?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
483
- }
484
- interface IncrementalAuthorization {
485
- readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
486
- }
487
370
  interface Keys {
488
371
  readonly secret?: string;
489
372
  readonly publishable?: string;
@@ -491,23 +374,23 @@ declare namespace io.flow.stripe.v0.models {
491
374
  interface KlarnaAttachment {
492
375
  readonly marketplace_seller_info?: io.flow.stripe.v0.models.KlarnaMarketplaceSellerInfo[];
493
376
  }
494
- interface KlarnaDobForm {
495
- readonly day: number;
496
- readonly month: number;
497
- readonly year: number;
498
- }
499
377
  interface KlarnaMarketplaceSellerInfo {
500
378
  readonly sub_merchant_id?: string;
501
379
  readonly product_category?: string;
502
380
  }
381
+ interface LastPaymentError {
382
+ readonly charge?: string;
383
+ readonly code?: string;
384
+ readonly decline_code?: io.flow.stripe.v0.enums.DeclineCode;
385
+ readonly doc_url?: string;
386
+ readonly message?: string;
387
+ readonly param?: string;
388
+ readonly payment_method: io.flow.stripe.v0.models.PaymentMethod;
389
+ readonly type: io.flow.stripe.v0.enums.ErrorType;
390
+ }
503
391
  interface LegalEntity {
504
392
  readonly additional_owners?: io.flow.stripe.v0.models.Owner[];
505
393
  }
506
- interface MarketplaceSellerInfo {
507
- readonly name: string;
508
- readonly id?: string;
509
- readonly product_category?: string;
510
- }
511
394
  interface Masterpass {
512
395
  readonly type: 'masterpass';
513
396
  readonly masterpass: io.flow.stripe.v0.models.MasterpassInformation;
@@ -526,9 +409,6 @@ declare namespace io.flow.stripe.v0.models {
526
409
  readonly payment_request_id?: string;
527
410
  readonly payment_request_order_reference?: string;
528
411
  }
529
- interface Multicapture {
530
- readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
531
- }
532
412
  interface NetworkTokenUsed {
533
413
  readonly used?: boolean;
534
414
  }
@@ -570,10 +450,6 @@ declare namespace io.flow.stripe.v0.models {
570
450
  readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
571
451
  readonly shipping?: io.flow.stripe.v0.models.Shipping;
572
452
  }
573
- interface Overcapture {
574
- readonly maximum_amount_capturable?: number;
575
- readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
576
- }
577
453
  interface Owner {
578
454
  readonly address?: io.flow.stripe.v0.models.Address;
579
455
  readonly email?: string;
@@ -584,9 +460,6 @@ declare namespace io.flow.stripe.v0.models {
584
460
  readonly verified_name?: string;
585
461
  readonly verified_phone?: string;
586
462
  }
587
- interface PaymentDetails {
588
- readonly marketplace_seller_info?: io.flow.stripe.v0.models.MarketplaceSellerInfo;
589
- }
590
463
  interface PaymentIntent {
591
464
  readonly id: string;
592
465
  readonly object: string;
@@ -606,7 +479,7 @@ declare namespace io.flow.stripe.v0.models {
606
479
  readonly customer?: string;
607
480
  readonly description?: string;
608
481
  readonly invoice?: string;
609
- readonly last_payment_error?: io.flow.stripe.v0.models.StripeError;
482
+ readonly last_payment_error?: io.flow.stripe.v0.models.LastPaymentError;
610
483
  readonly livemode: boolean;
611
484
  readonly metadata?: io.flow.stripe.v0.models.Metadata;
612
485
  readonly next_action?: io.flow.stripe.v0.models.NextAction;
@@ -645,7 +518,7 @@ declare namespace io.flow.stripe.v0.models {
645
518
  readonly off_session?: boolean;
646
519
  readonly payment_method?: string;
647
520
  readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
648
- readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
521
+ readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
649
522
  readonly payment_method_types?: string[];
650
523
  readonly receipt_email?: string;
651
524
  readonly save_payment_method?: boolean;
@@ -665,7 +538,7 @@ declare namespace io.flow.stripe.v0.models {
665
538
  readonly on_behalf_of?: string;
666
539
  readonly payment_method?: string;
667
540
  readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
668
- readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
541
+ readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
669
542
  readonly payment_method_types?: string[];
670
543
  readonly receipt_email?: string;
671
544
  readonly return_url?: string;
@@ -701,11 +574,8 @@ declare namespace io.flow.stripe.v0.models {
701
574
  readonly id: string;
702
575
  readonly object: string;
703
576
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
704
- readonly bancontact?: any;
705
577
  readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
706
578
  readonly card_present?: any;
707
- readonly ideal?: any;
708
- readonly klarna?: any;
709
579
  readonly created: number;
710
580
  readonly customer?: string;
711
581
  readonly livemode: boolean;
@@ -735,43 +605,12 @@ declare namespace io.flow.stripe.v0.models {
735
605
  readonly number: string;
736
606
  readonly cvc?: string;
737
607
  }
738
- interface PaymentMethodDataBancontact {
739
- readonly type: 'bancontact';
740
- readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
741
- readonly metadata?: any;
742
- }
743
608
  interface PaymentMethodDataCard {
744
609
  readonly type: 'card';
745
610
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
746
611
  readonly metadata?: any;
747
612
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
748
613
  }
749
- interface PaymentMethodDataIdeal {
750
- readonly type: 'ideal';
751
- readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
752
- readonly metadata?: any;
753
- readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
754
- }
755
- interface PaymentMethodDataKlarna {
756
- readonly type: 'klarna';
757
- readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
758
- readonly metadata?: any;
759
- readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
760
- }
761
- interface PaymentMethodDetailsBancontact {
762
- readonly type: 'bancontact';
763
- readonly bancontact: io.flow.stripe.v0.models.PaymentMethodDetailsBancontactInformation;
764
- }
765
- interface PaymentMethodDetailsBancontactInformation {
766
- readonly bank_code?: string;
767
- readonly bank_name?: string;
768
- readonly bic?: string;
769
- readonly generated_sepa_debit?: string;
770
- readonly generated_sepa_debit_mandate?: string;
771
- readonly iban_last4?: string;
772
- readonly preferred_language?: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
773
- readonly verified_name?: string;
774
- }
775
614
  interface PaymentMethodDetailsCard {
776
615
  readonly type: 'card';
777
616
  readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
@@ -796,22 +635,6 @@ declare namespace io.flow.stripe.v0.models {
796
635
  readonly issuer?: string;
797
636
  readonly wallet?: io.flow.stripe.v0.unions.CardWallet;
798
637
  readonly network_transaction_id?: string;
799
- readonly extended_authorization?: io.flow.stripe.v0.models.ExtendedAuthorization;
800
- readonly incremental_authorization?: io.flow.stripe.v0.models.IncrementalAuthorization;
801
- readonly multicapture?: io.flow.stripe.v0.models.Multicapture;
802
- readonly overcapture?: io.flow.stripe.v0.models.Overcapture;
803
- }
804
- interface PaymentMethodDetailsIdeal {
805
- readonly type: 'ideal';
806
- readonly ideal: io.flow.stripe.v0.models.PaymentMethodDetailsIdealInformation;
807
- }
808
- interface PaymentMethodDetailsIdealInformation {
809
- readonly bank?: io.flow.stripe.v0.enums.BankIdeal;
810
- readonly bic?: io.flow.stripe.v0.enums.BicIdeal;
811
- readonly generated_sepa_debit?: string;
812
- readonly generated_sepa_debit_mandate?: string;
813
- readonly iban_last4?: string;
814
- readonly verified_name?: string;
815
638
  }
816
639
  interface PaymentMethodDetailsKlarna {
817
640
  readonly type: 'klarna';
@@ -821,89 +644,25 @@ declare namespace io.flow.stripe.v0.models {
821
644
  readonly payment_method_category?: io.flow.stripe.v0.enums.PaymentMethodCategoryKlarna;
822
645
  readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
823
646
  }
824
- interface PaymentMethodFormBancontact {
825
- readonly type: 'bancontact';
826
- readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
827
- readonly metadata?: any;
828
- readonly bancontact: any;
829
- }
830
647
  interface PaymentMethodFormCard {
831
648
  readonly type: 'card';
832
649
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
833
650
  readonly metadata?: any;
834
651
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
835
652
  }
836
- interface PaymentMethodFormIdeal {
837
- readonly type: 'ideal';
838
- readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
839
- readonly metadata?: any;
840
- readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
841
- }
842
- interface PaymentMethodFormKlarna {
843
- readonly type: 'klarna';
844
- readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
845
- readonly metadata?: any;
846
- readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
847
- }
848
- interface PaymentMethodIdealForm {
849
- readonly bank?: string;
850
- }
851
- interface PaymentMethodKlarnaForm {
852
- readonly dob?: io.flow.stripe.v0.models.KlarnaDobForm;
853
- }
854
653
  interface PaymentMethodOptions {
855
654
  readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
856
- readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdeal;
857
- readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarna;
858
- readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontact;
859
- }
860
- interface PaymentMethodOptionsBancontact {
861
- readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
862
- }
863
- interface PaymentMethodOptionsBancontactForm {
864
- readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
865
655
  }
866
656
  interface PaymentMethodOptionsCard {
867
657
  readonly network?: string;
868
658
  readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
869
659
  readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
870
660
  readonly mcc?: string;
871
- readonly capture_before?: number;
872
- }
873
- interface PaymentMethodOptionsCardForm {
874
- readonly network?: string;
875
- readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
876
- readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
877
- readonly mcc?: string;
878
- }
879
- interface PaymentMethodOptionsForm {
880
- readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
881
- readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdealForm;
882
- readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarnaForm;
883
- readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontactForm;
884
- }
885
- interface PaymentMethodOptionsIdeal {
886
- readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
887
- }
888
- interface PaymentMethodOptionsIdealForm {
889
- readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
890
- }
891
- interface PaymentMethodOptionsKlarna {
892
- readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod;
893
- readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
894
- readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
895
- readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails;
896
- }
897
- interface PaymentMethodOptionsKlarnaForm {
898
- readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod;
899
- readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
900
- readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
901
- readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails;
902
661
  }
903
662
  interface PaymentOutcome {
904
- readonly network_status?: io.flow.stripe.v0.enums.NetworkStatus;
905
- readonly risk_level?: string;
906
- readonly seller_message?: string;
663
+ readonly network_status: io.flow.stripe.v0.enums.NetworkStatus;
664
+ readonly risk_level: string;
665
+ readonly seller_message: string;
907
666
  readonly reason?: string;
908
667
  readonly type?: io.flow.stripe.v0.enums.PaymentOutcomeType;
909
668
  }
@@ -1080,31 +839,14 @@ declare namespace io.flow.stripe.v0.models {
1080
839
  readonly three_ds_optimizations?: string;
1081
840
  readonly directory_server_encryption?: any;
1082
841
  }
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
- }
1099
842
  interface StripeError {
1100
843
  readonly type: io.flow.stripe.v0.enums.ErrorType;
1101
844
  readonly charge?: string;
1102
845
  readonly message?: string;
1103
- readonly code?: io.flow.stripe.v0.enums.ErrorCode;
1104
- readonly decline_code?: io.flow.stripe.v0.enums.DeclineCode;
846
+ readonly code?: io.flow.stripe.v0.enums.CardErrorCode;
847
+ readonly decline_code?: string;
1105
848
  readonly param?: string;
1106
849
  readonly payment_intent?: io.flow.stripe.v0.models.PaymentIntent;
1107
- readonly payment_method?: io.flow.stripe.v0.models.PaymentMethod;
1108
850
  }
1109
851
  interface StripeEvent {
1110
852
  readonly id: string;
@@ -1132,12 +874,9 @@ declare namespace io.flow.stripe.v0.models {
1132
874
  interface ThreeDSecureCharge {
1133
875
  readonly authenticated?: boolean;
1134
876
  readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
1135
- readonly electronic_commerce_indicator?: string;
1136
- readonly exemption_indicator?: string;
1137
877
  readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
1138
878
  readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
1139
879
  readonly succeeded?: boolean;
1140
- readonly transaction_id?: string;
1141
880
  readonly version?: string;
1142
881
  }
1143
882
  interface ThreeDSecureRedirect {
@@ -1180,9 +919,9 @@ declare namespace io.flow.stripe.v0.models {
1180
919
  }
1181
920
  declare namespace io.flow.stripe.v0.unions {
1182
921
  type CardWallet = io.flow.stripe.v0.models.Masterpass | io.flow.stripe.v0.models.ApplePay | io.flow.stripe.v0.models.VisaCheckout;
1183
- type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard | io.flow.stripe.v0.models.PaymentMethodDataIdeal | io.flow.stripe.v0.models.PaymentMethodDataKlarna | io.flow.stripe.v0.models.PaymentMethodDataBancontact;
1184
- type PaymentMethodDetails = io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsIdeal | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna | io.flow.stripe.v0.models.PaymentMethodDetailsBancontact;
1185
- type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard | io.flow.stripe.v0.models.PaymentMethodFormIdeal | io.flow.stripe.v0.models.PaymentMethodFormKlarna | io.flow.stripe.v0.models.PaymentMethodFormBancontact;
922
+ type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard;
923
+ type PaymentMethodDetails = io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
924
+ type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard;
1186
925
  }
1187
926
  declare namespace io.flow.shopify.external.v0.enums {
1188
927
  type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
@@ -1194,7 +933,6 @@ declare namespace io.flow.shopify.external.v0.enums {
1194
933
  type Format = 'json' | 'xml';
1195
934
  type FulfillmentService = 'manual' | 'gift_card';
1196
935
  type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
1197
- type GraphqlWeightUnit = 'GRAMS' | 'KILOGRAMS' | 'OUNCES' | 'POUNDS';
1198
936
  type InventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
1199
937
  type InventoryManagement = 'blank' | 'shopify';
1200
938
  type InventoryPolicy = 'deny' | 'continue';
@@ -1211,11 +949,10 @@ declare namespace io.flow.shopify.external.v0.enums {
1211
949
  type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled';
1212
950
  type ShopifyDiscountPaginationDirection = 'next' | 'prev';
1213
951
  type ShopifyGiftCardStatus = 'any' | 'enabled' | 'disabled';
1214
- type ShopifyPlanName = 'basic' | 'business' | 'cancelled' | 'dormant' | 'enterprise' | 'fraudulent' | 'frozen' | 'npo_full' | 'npo_lite' | 'open_learning' | 'paid_trial' | 'professional' | 'retail' | 'shopify_alumni' | 'shopify_plus' | 'staff' | 'staff_business' | 'starter' | 'starter_2022' | 'unlimited';
1215
952
  type ShopifyProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
1216
953
  type ShopifyTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
1217
954
  type ShopifyTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
1218
- type Topic = 'carts/create' | 'carts/update' | 'checkouts/create' | 'checkouts/delete' | 'checkouts/update' | 'collections/create' | 'collections/delete' | 'collections/update' | 'customer_groups/create' | 'customer_groups/delete' | 'customer_groups/update' | 'customers/create' | 'customers/delete' | 'customers/disable' | 'customers/enable' | 'customers/update' | 'customers/redact' | 'disputes/create' | 'disputes/update' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'fulfillments/create' | 'fulfillments/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'inventory_levels/connect' | 'inventory_levels/update' | 'inventory_levels/disconnect' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/delete' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'shop/update' | 'shop/redact' | 'themes/create' | 'themes/delete' | 'themes/publish' | 'themes/update';
955
+ type Topic = 'carts/create' | 'carts/update' | 'checkouts/create' | 'checkouts/delete' | 'checkouts/update' | 'collections/create' | 'collections/delete' | 'collections/update' | 'customer_groups/create' | 'customer_groups/delete' | 'customer_groups/update' | 'customers/create' | 'customers/delete' | 'customers/disable' | 'customers/enable' | 'customers/update' | 'customers/redact' | 'disputes/create' | 'disputes/update' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'fulfillments/create' | 'fulfillments/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'inventory_levels/connect' | 'inventory_levels/update' | 'inventory_levels/disconnect' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/delete' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'shop/update' | 'shop/redact' | 'themes/create' | 'themes/delete' | 'themes/publish' | 'themes/update';
1219
956
  type ValueType = 'string' | 'integer';
1220
957
  type WeightUnit = 'g' | 'kg' | 'oz' | 'lb';
1221
958
  }
@@ -1239,66 +976,6 @@ declare namespace io.flow.shopify.external.v0.models {
1239
976
  interface Count {
1240
977
  readonly count: number;
1241
978
  }
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
- }
1302
979
  interface Metafield {
1303
980
  readonly id: number;
1304
981
  readonly key: string;
@@ -1392,11 +1069,10 @@ declare namespace io.flow.shopify.external.v0.models {
1392
1069
  readonly options: io.flow.shopify.external.v0.models.Option[];
1393
1070
  readonly tags?: string;
1394
1071
  readonly template_suffix?: string;
1395
- readonly published_scope?: io.flow.shopify.external.v0.enums.PublishedScope;
1072
+ readonly published_scope: io.flow.shopify.external.v0.enums.PublishedScope;
1396
1073
  readonly published_at?: string;
1397
1074
  readonly created_at: string;
1398
1075
  readonly updated_at: string;
1399
- readonly has_variants_that_requires_components?: boolean;
1400
1076
  }
1401
1077
  interface ProductDelete {
1402
1078
  readonly id: number;
@@ -1405,10 +1081,10 @@ declare namespace io.flow.shopify.external.v0.models {
1405
1081
  readonly id: number;
1406
1082
  readonly product_id: number;
1407
1083
  readonly variant_ids: number[];
1408
- readonly src?: string;
1409
- readonly position?: number;
1410
- readonly created_at?: string;
1411
- readonly updated_at?: string;
1084
+ readonly src: string;
1085
+ readonly position: number;
1086
+ readonly created_at: string;
1087
+ readonly updated_at: string;
1412
1088
  readonly alt?: string;
1413
1089
  }
1414
1090
  interface ProductVariant {
@@ -1433,7 +1109,7 @@ declare namespace io.flow.shopify.external.v0.models {
1433
1109
  readonly option1?: string;
1434
1110
  readonly option2?: string;
1435
1111
  readonly option3?: string;
1436
- readonly requires_shipping?: boolean;
1112
+ readonly requires_shipping: boolean;
1437
1113
  readonly metafields?: io.flow.shopify.external.v0.models.Metafield[];
1438
1114
  }
1439
1115
  interface RequestMetafieldForm {
@@ -1546,10 +1222,6 @@ declare namespace io.flow.shopify.external.v0.models {
1546
1222
  readonly session_hash?: string;
1547
1223
  readonly user_agent?: string;
1548
1224
  }
1549
- interface ShopifyCountryHarmonizedSystemCode {
1550
- readonly country_code: string;
1551
- readonly harmonized_system_code: string;
1552
- }
1553
1225
  interface ShopifyCustomer {
1554
1226
  readonly id: number;
1555
1227
  readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
@@ -1750,13 +1422,6 @@ declare namespace io.flow.shopify.external.v0.models {
1750
1422
  interface ShopifyInventoryItemDelete {
1751
1423
  readonly id: number;
1752
1424
  }
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
- }
1760
1425
  interface ShopifyInventoryLevel {
1761
1426
  readonly inventory_item_id: number;
1762
1427
  readonly location_id: number;
@@ -1959,11 +1624,6 @@ declare namespace io.flow.shopify.external.v0.models {
1959
1624
  readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
1960
1625
  readonly carrier_identifier?: string;
1961
1626
  }
1962
- interface ShopifyShopUpdate {
1963
- readonly id: number;
1964
- readonly plan_display_name: string;
1965
- readonly plan_name: io.flow.shopify.external.v0.enums.ShopifyPlanName;
1966
- }
1967
1627
  interface ShopifyTaxLine {
1968
1628
  readonly price: string;
1969
1629
  readonly rate: number;
@@ -2229,7 +1889,7 @@ declare namespace io.flow.v0.enums {
2229
1889
  type ExporterOfRecord = 'flow' | 'organization';
2230
1890
  type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee';
2231
1891
  type FlowBehavior = 'view_consumer_data';
2232
- type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
1892
+ type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
2233
1893
  type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'organization_classification' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
2234
1894
  type FraudEmailRuleDecision = 'approved' | 'declined';
2235
1895
  type FraudLiability = 'flow' | 'organization';
@@ -2300,7 +1960,7 @@ declare namespace io.flow.v0.enums {
2300
1960
  type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
2301
1961
  type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
2302
1962
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
2303
- type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24';
1963
+ type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24' | 'mobilepay';
2304
1964
  type PayoutAttachmentType = 'transactions';
2305
1965
  type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
2306
1966
  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';
@@ -2367,7 +2027,7 @@ declare namespace io.flow.v0.enums {
2367
2027
  type TradeAgreementStatus = 'supported' | 'not_supported';
2368
2028
  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';
2369
2029
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
2370
- 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';
2030
+ 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';
2371
2031
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
2372
2032
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
2373
2033
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
@@ -3157,6 +2817,7 @@ declare namespace io.flow.v0.models {
3157
2817
  readonly items?: io.flow.v0.models.LineItemForm[];
3158
2818
  readonly package?: io.flow.v0.models.ShippingLabelPackage;
3159
2819
  readonly origin?: io.flow.v0.models.ShippingAddress;
2820
+ readonly direction?: io.flow.v0.enums.Direction;
3160
2821
  }
3161
2822
  interface BrowseOptinResponses {
3162
2823
  readonly id: string;
@@ -8024,6 +7685,10 @@ declare namespace io.flow.v0.models {
8024
7685
  readonly type: 'init_klarna';
8025
7686
  readonly reference?: string;
8026
7687
  }
7688
+ interface PaymentMethodDataInitMobilepay {
7689
+ readonly type: 'init_mobilepay';
7690
+ readonly reference?: string;
7691
+ }
8027
7692
  interface PaymentMethodDataInitPaypal {
8028
7693
  readonly type: 'init_paypal';
8029
7694
  readonly reference?: string;
@@ -8128,6 +7793,10 @@ declare namespace io.flow.v0.models {
8128
7793
  readonly type: 'klarna';
8129
7794
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
8130
7795
  }
7796
+ interface PaymentMethodSummaryMobilepay {
7797
+ readonly type: 'mobilepay';
7798
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
7799
+ }
8131
7800
  interface PaymentMethodSummaryPaypal {
8132
7801
  readonly type: 'paypal';
8133
7802
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
@@ -9837,6 +9506,7 @@ declare namespace io.flow.v0.models {
9837
9506
  readonly additional_services_requested?: io.flow.v0.models.AdditionalServicesRequested[];
9838
9507
  readonly created_at?: string;
9839
9508
  readonly updated_at?: string;
9509
+ readonly direction?: io.flow.v0.enums.Direction;
9840
9510
  }
9841
9511
  interface ShippingLabelDocument {
9842
9512
  readonly zpl?: string;
@@ -10432,6 +10102,7 @@ declare namespace io.flow.v0.models {
10432
10102
  readonly order_number: string;
10433
10103
  readonly items: io.flow.v0.models.LineItemForm[];
10434
10104
  readonly center_key?: string;
10105
+ readonly direction?: io.flow.v0.enums.Direction;
10435
10106
  }
10436
10107
  interface SummaryShippingNotificationForm {
10437
10108
  readonly discriminator: 'summary_shipping_notification_form';
@@ -11345,12 +11016,12 @@ declare namespace io.flow.v0.unions {
11345
11016
  type PaymentCaptureOption = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual;
11346
11017
  type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
11347
11018
  type PaymentMethodCard = io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken;
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;
11019
+ 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;
11349
11020
  type PaymentMethodDataAuthorizeApplepayResult = io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
11350
11021
  type PaymentMethodDataAuthorizeKlarnaResult = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
11351
11022
  type PaymentMethodDataOptionLogo = io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
11352
11023
  type PaymentMethodStoredDetailsCard = io.flow.v0.models.PaymentMethodStoredDetailsCardInitial | io.flow.v0.models.PaymentMethodStoredDetailsCardSubsequent;
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;
11024
+ 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;
11354
11025
  type PaymentMethodTag = {
11355
11026
  discriminator: 'organization_payment_method_tag';
11356
11027
  value: io.flow.v0.enums.OrganizationPaymentMethodTag;
@@ -12514,6 +12185,7 @@ export declare type PaymentMethodDataInitBancontact = io.flow.v0.models.PaymentM
12514
12185
  export declare type PaymentMethodDataInitGooglepay = io.flow.v0.models.PaymentMethodDataInitGooglepay;
12515
12186
  export declare type PaymentMethodDataInitIdeal = io.flow.v0.models.PaymentMethodDataInitIdeal;
12516
12187
  export declare type PaymentMethodDataInitKlarna = io.flow.v0.models.PaymentMethodDataInitKlarna;
12188
+ export declare type PaymentMethodDataInitMobilepay = io.flow.v0.models.PaymentMethodDataInitMobilepay;
12517
12189
  export declare type PaymentMethodDataInitPaypal = io.flow.v0.models.PaymentMethodDataInitPaypal;
12518
12190
  export declare type PaymentMethodDataInitPrzelewy24 = io.flow.v0.models.PaymentMethodDataInitPrzelewy24;
12519
12191
  export declare type PaymentMethodDataInitSofort = io.flow.v0.models.PaymentMethodDataInitSofort;
@@ -12541,6 +12213,7 @@ export declare type PaymentMethodSummaryCard = io.flow.v0.models.PaymentMethodSu
12541
12213
  export declare type PaymentMethodSummaryGooglepay = io.flow.v0.models.PaymentMethodSummaryGooglepay;
12542
12214
  export declare type PaymentMethodSummaryIdeal = io.flow.v0.models.PaymentMethodSummaryIdeal;
12543
12215
  export declare type PaymentMethodSummaryKlarna = io.flow.v0.models.PaymentMethodSummaryKlarna;
12216
+ export declare type PaymentMethodSummaryMobilepay = io.flow.v0.models.PaymentMethodSummaryMobilepay;
12544
12217
  export declare type PaymentMethodSummaryPaypal = io.flow.v0.models.PaymentMethodSummaryPaypal;
12545
12218
  export declare type PaymentMethodSummaryPrzelewy24 = io.flow.v0.models.PaymentMethodSummaryPrzelewy24;
12546
12219
  export declare type PaymentMethodSummarySofort = io.flow.v0.models.PaymentMethodSummarySofort;