@flowio/types 11.24.100 → 11.24.101

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.
Files changed (3) hide show
  1. package/dist/api.d.ts +374 -34
  2. package/package.json +2 -2
  3. package/src/api.ts +636 -45
package/dist/api.d.ts CHANGED
@@ -129,18 +129,28 @@ 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';
132
135
  type CancellationReason = 'abandoned' | 'automatic' | 'duplicate' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice';
133
136
  type CaptureMethod = 'automatic' | 'manual';
134
137
  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';
136
138
  type CardFundingType = 'credit' | 'debit' | 'prepaid' | 'unknown';
137
139
  type CardNetwork = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'interac' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
138
140
  type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
139
141
  type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
140
142
  type ConfirmationMethod = 'automatic' | 'manual';
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';
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';
142
150
  type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
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';
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';
144
154
  type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
145
155
  type KlarnaProduct = 'payment';
146
156
  type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
@@ -148,9 +158,10 @@ declare namespace io.flow.stripe.v0.enums {
148
158
  type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount';
149
159
  type PaymentIntentStatus = 'canceled' | 'processing' | 'requires_action' | 'requires_capture' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded';
150
160
  type PaymentMethodCategoryKlarna = 'pay_later' | 'pay_now' | 'pay_with_financing' | 'pay_in_installments';
151
- type PaymentMethodType = 'card' | 'card_present';
161
+ type PaymentMethodType = 'card' | 'card_present' | 'ideal' | 'klarna' | 'bancontact';
152
162
  type PaymentOutcomeType = 'authorized' | 'manual_review' | 'issuer_declined' | 'blocked' | 'invalid';
153
163
  type PaymentStatus = 'succeeded' | 'pending' | 'failed';
164
+ type PreferredLanguageBancontact = 'de' | 'en' | 'fr' | 'nl';
154
165
  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';
155
166
  type RefundFailureReason = 'lost_or_stolen_card' | 'expired_or_canceled_card' | 'unknown';
156
167
  type RefundReason = 'duplicate' | 'fraudulent' | 'requested_by_customer';
@@ -278,6 +289,7 @@ declare namespace io.flow.stripe.v0.models {
278
289
  readonly currency: string;
279
290
  readonly customer?: string;
280
291
  readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
292
+ readonly disputed?: boolean;
281
293
  readonly paid: boolean;
282
294
  readonly refunded: boolean;
283
295
  readonly refunds?: io.flow.stripe.v0.models.Refunds;
@@ -286,7 +298,7 @@ declare namespace io.flow.stripe.v0.models {
286
298
  readonly balance_transaction?: string;
287
299
  readonly destination?: string;
288
300
  readonly dispute?: string;
289
- readonly failure_code?: string;
301
+ readonly failure_code?: io.flow.stripe.v0.enums.ErrorCode;
290
302
  readonly failure_message?: string;
291
303
  readonly on_behalf_of?: string;
292
304
  readonly review?: string;
@@ -297,6 +309,7 @@ declare namespace io.flow.stripe.v0.models {
297
309
  readonly calculated_statement_descriptor?: string;
298
310
  readonly statement_descriptor?: string;
299
311
  readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
312
+ readonly payment_method?: string;
300
313
  }
301
314
  interface ChargeDestination {
302
315
  readonly account: string;
@@ -322,6 +335,7 @@ declare namespace io.flow.stripe.v0.models {
322
335
  readonly amount_refunded: number;
323
336
  readonly authorization_code?: string;
324
337
  readonly captured: boolean;
338
+ readonly disputed?: boolean;
325
339
  readonly created: number;
326
340
  readonly currency: string;
327
341
  readonly customer?: string;
@@ -334,7 +348,7 @@ declare namespace io.flow.stripe.v0.models {
334
348
  readonly balance_transaction?: string;
335
349
  readonly destination?: string;
336
350
  readonly dispute?: string;
337
- readonly failure_code?: string;
351
+ readonly failure_code?: io.flow.stripe.v0.enums.ErrorCode;
338
352
  readonly failure_message?: string;
339
353
  readonly on_behalf_of?: string;
340
354
  readonly review?: string;
@@ -345,6 +359,7 @@ declare namespace io.flow.stripe.v0.models {
345
359
  readonly calculated_statement_descriptor?: string;
346
360
  readonly statement_descriptor?: string;
347
361
  readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
362
+ readonly payment_method?: string;
348
363
  }
349
364
  interface CodeVerification {
350
365
  readonly attempts_remaining: number;
@@ -364,9 +379,111 @@ declare namespace io.flow.stripe.v0.models {
364
379
  readonly source: string;
365
380
  readonly description?: string;
366
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
+ }
367
478
  interface Error {
368
479
  readonly error: io.flow.stripe.v0.models.StripeError;
369
480
  }
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
+ }
370
487
  interface Keys {
371
488
  readonly secret?: string;
372
489
  readonly publishable?: string;
@@ -374,23 +491,23 @@ declare namespace io.flow.stripe.v0.models {
374
491
  interface KlarnaAttachment {
375
492
  readonly marketplace_seller_info?: io.flow.stripe.v0.models.KlarnaMarketplaceSellerInfo[];
376
493
  }
494
+ interface KlarnaDobForm {
495
+ readonly day: number;
496
+ readonly month: number;
497
+ readonly year: number;
498
+ }
377
499
  interface KlarnaMarketplaceSellerInfo {
378
500
  readonly sub_merchant_id?: string;
379
501
  readonly product_category?: string;
380
502
  }
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
- }
391
503
  interface LegalEntity {
392
504
  readonly additional_owners?: io.flow.stripe.v0.models.Owner[];
393
505
  }
506
+ interface MarketplaceSellerInfo {
507
+ readonly name: string;
508
+ readonly id?: string;
509
+ readonly product_category?: string;
510
+ }
394
511
  interface Masterpass {
395
512
  readonly type: 'masterpass';
396
513
  readonly masterpass: io.flow.stripe.v0.models.MasterpassInformation;
@@ -409,6 +526,9 @@ declare namespace io.flow.stripe.v0.models {
409
526
  readonly payment_request_id?: string;
410
527
  readonly payment_request_order_reference?: string;
411
528
  }
529
+ interface Multicapture {
530
+ readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
531
+ }
412
532
  interface NetworkTokenUsed {
413
533
  readonly used?: boolean;
414
534
  }
@@ -450,6 +570,10 @@ declare namespace io.flow.stripe.v0.models {
450
570
  readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
451
571
  readonly shipping?: io.flow.stripe.v0.models.Shipping;
452
572
  }
573
+ interface Overcapture {
574
+ readonly maximum_amount_capturable?: number;
575
+ readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
576
+ }
453
577
  interface Owner {
454
578
  readonly address?: io.flow.stripe.v0.models.Address;
455
579
  readonly email?: string;
@@ -460,6 +584,9 @@ declare namespace io.flow.stripe.v0.models {
460
584
  readonly verified_name?: string;
461
585
  readonly verified_phone?: string;
462
586
  }
587
+ interface PaymentDetails {
588
+ readonly marketplace_seller_info?: io.flow.stripe.v0.models.MarketplaceSellerInfo;
589
+ }
463
590
  interface PaymentIntent {
464
591
  readonly id: string;
465
592
  readonly object: string;
@@ -479,7 +606,7 @@ declare namespace io.flow.stripe.v0.models {
479
606
  readonly customer?: string;
480
607
  readonly description?: string;
481
608
  readonly invoice?: string;
482
- readonly last_payment_error?: io.flow.stripe.v0.models.LastPaymentError;
609
+ readonly last_payment_error?: io.flow.stripe.v0.models.StripeError;
483
610
  readonly livemode: boolean;
484
611
  readonly metadata?: io.flow.stripe.v0.models.Metadata;
485
612
  readonly next_action?: io.flow.stripe.v0.models.NextAction;
@@ -518,7 +645,7 @@ declare namespace io.flow.stripe.v0.models {
518
645
  readonly off_session?: boolean;
519
646
  readonly payment_method?: string;
520
647
  readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
521
- readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
648
+ readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
522
649
  readonly payment_method_types?: string[];
523
650
  readonly receipt_email?: string;
524
651
  readonly save_payment_method?: boolean;
@@ -538,7 +665,7 @@ declare namespace io.flow.stripe.v0.models {
538
665
  readonly on_behalf_of?: string;
539
666
  readonly payment_method?: string;
540
667
  readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
541
- readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
668
+ readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
542
669
  readonly payment_method_types?: string[];
543
670
  readonly receipt_email?: string;
544
671
  readonly return_url?: string;
@@ -574,8 +701,11 @@ declare namespace io.flow.stripe.v0.models {
574
701
  readonly id: string;
575
702
  readonly object: string;
576
703
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
704
+ readonly bancontact?: any;
577
705
  readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
578
706
  readonly card_present?: any;
707
+ readonly ideal?: any;
708
+ readonly klarna?: any;
579
709
  readonly created: number;
580
710
  readonly customer?: string;
581
711
  readonly livemode: boolean;
@@ -605,12 +735,43 @@ declare namespace io.flow.stripe.v0.models {
605
735
  readonly number: string;
606
736
  readonly cvc?: string;
607
737
  }
738
+ interface PaymentMethodDataBancontact {
739
+ readonly type: 'bancontact';
740
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
741
+ readonly metadata?: any;
742
+ }
608
743
  interface PaymentMethodDataCard {
609
744
  readonly type: 'card';
610
745
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
611
746
  readonly metadata?: any;
612
747
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
613
748
  }
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
+ }
614
775
  interface PaymentMethodDetailsCard {
615
776
  readonly type: 'card';
616
777
  readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
@@ -635,6 +796,22 @@ declare namespace io.flow.stripe.v0.models {
635
796
  readonly issuer?: string;
636
797
  readonly wallet?: io.flow.stripe.v0.unions.CardWallet;
637
798
  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;
638
815
  }
639
816
  interface PaymentMethodDetailsKlarna {
640
817
  readonly type: 'klarna';
@@ -644,25 +821,89 @@ declare namespace io.flow.stripe.v0.models {
644
821
  readonly payment_method_category?: io.flow.stripe.v0.enums.PaymentMethodCategoryKlarna;
645
822
  readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
646
823
  }
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
+ }
647
830
  interface PaymentMethodFormCard {
648
831
  readonly type: 'card';
649
832
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
650
833
  readonly metadata?: any;
651
834
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
652
835
  }
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
+ }
653
854
  interface PaymentMethodOptions {
654
855
  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;
655
865
  }
656
866
  interface PaymentMethodOptionsCard {
657
867
  readonly network?: string;
658
868
  readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
659
869
  readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
660
870
  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;
661
902
  }
662
903
  interface PaymentOutcome {
663
- readonly network_status: io.flow.stripe.v0.enums.NetworkStatus;
664
- readonly risk_level: string;
665
- readonly seller_message: string;
904
+ readonly network_status?: io.flow.stripe.v0.enums.NetworkStatus;
905
+ readonly risk_level?: string;
906
+ readonly seller_message?: string;
666
907
  readonly reason?: string;
667
908
  readonly type?: io.flow.stripe.v0.enums.PaymentOutcomeType;
668
909
  }
@@ -839,14 +1080,31 @@ declare namespace io.flow.stripe.v0.models {
839
1080
  readonly three_ds_optimizations?: string;
840
1081
  readonly directory_server_encryption?: any;
841
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
+ }
842
1099
  interface StripeError {
843
1100
  readonly type: io.flow.stripe.v0.enums.ErrorType;
844
1101
  readonly charge?: string;
845
1102
  readonly message?: string;
846
- readonly code?: io.flow.stripe.v0.enums.CardErrorCode;
847
- readonly decline_code?: string;
1103
+ readonly code?: io.flow.stripe.v0.enums.ErrorCode;
1104
+ readonly decline_code?: io.flow.stripe.v0.enums.DeclineCode;
848
1105
  readonly param?: string;
849
1106
  readonly payment_intent?: io.flow.stripe.v0.models.PaymentIntent;
1107
+ readonly payment_method?: io.flow.stripe.v0.models.PaymentMethod;
850
1108
  }
851
1109
  interface StripeEvent {
852
1110
  readonly id: string;
@@ -874,9 +1132,12 @@ declare namespace io.flow.stripe.v0.models {
874
1132
  interface ThreeDSecureCharge {
875
1133
  readonly authenticated?: boolean;
876
1134
  readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
1135
+ readonly electronic_commerce_indicator?: string;
1136
+ readonly exemption_indicator?: string;
877
1137
  readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
878
1138
  readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
879
1139
  readonly succeeded?: boolean;
1140
+ readonly transaction_id?: string;
880
1141
  readonly version?: string;
881
1142
  }
882
1143
  interface ThreeDSecureRedirect {
@@ -919,9 +1180,9 @@ declare namespace io.flow.stripe.v0.models {
919
1180
  }
920
1181
  declare namespace io.flow.stripe.v0.unions {
921
1182
  type CardWallet = io.flow.stripe.v0.models.Masterpass | io.flow.stripe.v0.models.ApplePay | io.flow.stripe.v0.models.VisaCheckout;
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;
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;
925
1186
  }
926
1187
  declare namespace io.flow.shopify.external.v0.enums {
927
1188
  type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
@@ -933,6 +1194,7 @@ declare namespace io.flow.shopify.external.v0.enums {
933
1194
  type Format = 'json' | 'xml';
934
1195
  type FulfillmentService = 'manual' | 'gift_card';
935
1196
  type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
1197
+ type GraphqlWeightUnit = 'GRAMS' | 'KILOGRAMS' | 'OUNCES' | 'POUNDS';
936
1198
  type InventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
937
1199
  type InventoryManagement = 'blank' | 'shopify';
938
1200
  type InventoryPolicy = 'deny' | 'continue';
@@ -949,10 +1211,11 @@ declare namespace io.flow.shopify.external.v0.enums {
949
1211
  type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled';
950
1212
  type ShopifyDiscountPaginationDirection = 'next' | 'prev';
951
1213
  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';
952
1215
  type ShopifyProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
953
1216
  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';
954
1217
  type ShopifyTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
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';
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';
956
1219
  type ValueType = 'string' | 'integer';
957
1220
  type WeightUnit = 'g' | 'kg' | 'oz' | 'lb';
958
1221
  }
@@ -976,6 +1239,66 @@ declare namespace io.flow.shopify.external.v0.models {
976
1239
  interface Count {
977
1240
  readonly count: number;
978
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
+ }
979
1302
  interface Metafield {
980
1303
  readonly id: number;
981
1304
  readonly key: string;
@@ -1069,10 +1392,11 @@ declare namespace io.flow.shopify.external.v0.models {
1069
1392
  readonly options: io.flow.shopify.external.v0.models.Option[];
1070
1393
  readonly tags?: string;
1071
1394
  readonly template_suffix?: string;
1072
- readonly published_scope: io.flow.shopify.external.v0.enums.PublishedScope;
1395
+ readonly published_scope?: io.flow.shopify.external.v0.enums.PublishedScope;
1073
1396
  readonly published_at?: string;
1074
1397
  readonly created_at: string;
1075
1398
  readonly updated_at: string;
1399
+ readonly has_variants_that_requires_components?: boolean;
1076
1400
  }
1077
1401
  interface ProductDelete {
1078
1402
  readonly id: number;
@@ -1081,10 +1405,10 @@ declare namespace io.flow.shopify.external.v0.models {
1081
1405
  readonly id: number;
1082
1406
  readonly product_id: number;
1083
1407
  readonly variant_ids: number[];
1084
- readonly src: string;
1085
- readonly position: number;
1086
- readonly created_at: string;
1087
- readonly updated_at: string;
1408
+ readonly src?: string;
1409
+ readonly position?: number;
1410
+ readonly created_at?: string;
1411
+ readonly updated_at?: string;
1088
1412
  readonly alt?: string;
1089
1413
  }
1090
1414
  interface ProductVariant {
@@ -1109,7 +1433,7 @@ declare namespace io.flow.shopify.external.v0.models {
1109
1433
  readonly option1?: string;
1110
1434
  readonly option2?: string;
1111
1435
  readonly option3?: string;
1112
- readonly requires_shipping: boolean;
1436
+ readonly requires_shipping?: boolean;
1113
1437
  readonly metafields?: io.flow.shopify.external.v0.models.Metafield[];
1114
1438
  }
1115
1439
  interface RequestMetafieldForm {
@@ -1222,6 +1546,10 @@ declare namespace io.flow.shopify.external.v0.models {
1222
1546
  readonly session_hash?: string;
1223
1547
  readonly user_agent?: string;
1224
1548
  }
1549
+ interface ShopifyCountryHarmonizedSystemCode {
1550
+ readonly country_code: string;
1551
+ readonly harmonized_system_code: string;
1552
+ }
1225
1553
  interface ShopifyCustomer {
1226
1554
  readonly id: number;
1227
1555
  readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
@@ -1422,6 +1750,13 @@ declare namespace io.flow.shopify.external.v0.models {
1422
1750
  interface ShopifyInventoryItemDelete {
1423
1751
  readonly id: number;
1424
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
+ }
1425
1760
  interface ShopifyInventoryLevel {
1426
1761
  readonly inventory_item_id: number;
1427
1762
  readonly location_id: number;
@@ -1624,6 +1959,11 @@ declare namespace io.flow.shopify.external.v0.models {
1624
1959
  readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
1625
1960
  readonly carrier_identifier?: string;
1626
1961
  }
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
+ }
1627
1967
  interface ShopifyTaxLine {
1628
1968
  readonly price: string;
1629
1969
  readonly rate: number;