@flowio/types 9.4.1 → 9.4.3

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.
@@ -269,9 +269,7 @@ declare namespace io.flow.experience.v0.models {
269
269
  interface DiscountRuleSettings {
270
270
  readonly 'id': string;
271
271
  readonly 'name': string;
272
- readonly 'from': string;
273
- readonly 'from_with_tz'?: io.flow.experience.v0.models.DatetimeWithTimezone;
274
- readonly 'to'?: string;
272
+ readonly 'from_with_tz': io.flow.experience.v0.models.DatetimeWithTimezone;
275
273
  readonly 'to_with_tz'?: io.flow.experience.v0.models.DatetimeWithTimezone;
276
274
  readonly 'status': io.flow.experience.v0.enums.DiscountRuleStatus;
277
275
  readonly 'experience_keys': string[];
@@ -279,9 +277,7 @@ declare namespace io.flow.experience.v0.models {
279
277
  }
280
278
  interface DiscountRuleSettingsForm {
281
279
  readonly 'name': string;
282
- readonly 'from': string;
283
- readonly 'from_with_tz'?: io.flow.experience.v0.models.DatetimeWithTimezone;
284
- readonly 'to'?: string;
280
+ readonly 'from_with_tz': io.flow.experience.v0.models.DatetimeWithTimezone;
285
281
  readonly 'to_with_tz'?: io.flow.experience.v0.models.DatetimeWithTimezone;
286
282
  readonly 'experience_keys': string[];
287
283
  readonly 'rule': io.flow.experience.v0.models.DiscountRule;
@@ -3356,6 +3352,7 @@ declare namespace io.flow.label.v0.models {
3356
3352
  readonly 'discriminator': 'summary_shipping_label_form';
3357
3353
  readonly 'order_number': string;
3358
3354
  readonly 'items': io.flow.common.v0.models.LineItemForm[];
3355
+ readonly 'center_key'?: string;
3359
3356
  }
3360
3357
  }
3361
3358
  declare namespace io.flow.label.v0.unions {
@@ -5104,6 +5101,13 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
5104
5101
  readonly 'origin': io.flow.reference.v0.models.Country;
5105
5102
  readonly 'organization_id'?: string;
5106
5103
  }
5104
+ interface RatesChanged {
5105
+ readonly 'event_id': string;
5106
+ readonly 'timestamp': string;
5107
+ readonly 'hs6': string;
5108
+ readonly 'origin': io.flow.reference.v0.models.Country;
5109
+ readonly 'destination': io.flow.reference.v0.models.Country;
5110
+ }
5107
5111
  interface ResyncByDestinations {
5108
5112
  readonly 'discriminator': 'resync_by_destinations';
5109
5113
  readonly 'destinations': io.flow.reference.v0.models.Country[];
@@ -5386,15 +5390,56 @@ declare namespace io.flow.payment.internal.v0.enums {
5386
5390
  type ChargebackPaymentStatus = 'captured' | 'refunded';
5387
5391
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
5388
5392
  type HttpMethod = 'get' | 'post';
5393
+ type Owner = 'flow' | 'organization';
5389
5394
  type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
5390
5395
  type RedirectReason = 'three_d_secure';
5391
5396
  type RiskCheck = 'three_d_secure';
5392
5397
  }
5393
5398
  declare namespace io.flow.payment.internal.v0.models {
5399
+ interface AdyenAccount {
5400
+ readonly 'discriminator': 'adyen_account';
5401
+ readonly 'id': string;
5402
+ readonly 'organization_id': string;
5403
+ readonly 'key': string;
5404
+ readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
5405
+ readonly 'name': string;
5406
+ readonly 'ui_reference': string;
5407
+ readonly 'authentication': io.flow.payment.internal.v0.models.AdyenAuthentication;
5408
+ }
5409
+ interface AdyenAccountPutForm {
5410
+ readonly 'discriminator': 'adyen_account_put_form';
5411
+ readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
5412
+ readonly 'name': string;
5413
+ readonly 'ui_reference': string;
5414
+ readonly 'authentication': io.flow.payment.internal.v0.models.AdyenAuthenticationForm;
5415
+ }
5416
+ interface AdyenAuthentication {
5417
+ readonly 'username': string;
5418
+ readonly 'password_reference': string;
5419
+ readonly 'signature_secret_reference': string;
5420
+ }
5394
5421
  interface AdyenAuthenticationDataReference {
5395
5422
  readonly 'account_id': string;
5396
5423
  readonly 'merchant_account': string;
5397
5424
  }
5425
+ interface AdyenAuthenticationForm {
5426
+ readonly 'username': string;
5427
+ readonly 'password': string;
5428
+ readonly 'signature_secret': string;
5429
+ }
5430
+ interface AdyenMerchant {
5431
+ readonly 'discriminator': 'adyen_merchant';
5432
+ readonly 'id': string;
5433
+ readonly 'key': string;
5434
+ readonly 'organization_id': string;
5435
+ readonly 'external_id': string;
5436
+ readonly 'processor_account_reference': io.flow.payment.internal.v0.models.ProcessorAccountReference;
5437
+ }
5438
+ interface AdyenMerchantPutForm {
5439
+ readonly 'discriminator': 'adyen_merchant_put_form';
5440
+ readonly 'organization_id': string;
5441
+ readonly 'external_id': string;
5442
+ }
5398
5443
  interface AdyenPaymentDetailsForm {
5399
5444
  readonly 'fingerprint'?: string;
5400
5445
  readonly 'challenge_result'?: string;
@@ -5408,9 +5453,32 @@ declare namespace io.flow.payment.internal.v0.models {
5408
5453
  readonly 'psp_reference': string;
5409
5454
  readonly 'key'?: string;
5410
5455
  }
5456
+ interface AfterpayAccount {
5457
+ readonly 'discriminator': 'afterpay_account';
5458
+ readonly 'id': string;
5459
+ readonly 'organization_id': string;
5460
+ readonly 'key': string;
5461
+ readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
5462
+ readonly 'region': string;
5463
+ readonly 'authentication': io.flow.payment.internal.v0.models.AfterpayAuthentication;
5464
+ }
5465
+ interface AfterpayAccountPutForm {
5466
+ readonly 'discriminator': 'afterpay_account_put_form';
5467
+ readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
5468
+ readonly 'region': string;
5469
+ readonly 'authentication': io.flow.payment.internal.v0.models.AfterpayAuthenticationForm;
5470
+ }
5471
+ interface AfterpayAuthentication {
5472
+ readonly 'username': string;
5473
+ readonly 'password_reference': string;
5474
+ }
5411
5475
  interface AfterpayAuthenticationDataReference {
5412
5476
  readonly 'account_id': string;
5413
5477
  }
5478
+ interface AfterpayAuthenticationForm {
5479
+ readonly 'username': string;
5480
+ readonly 'password': string;
5481
+ }
5414
5482
  interface ApplePaymentToken {
5415
5483
  readonly 'discriminator': 'apple_payment_token';
5416
5484
  readonly 'data': string;
@@ -5442,9 +5510,32 @@ declare namespace io.flow.payment.internal.v0.models {
5442
5510
  readonly 'billing_address'?: io.flow.common.v0.models.BillingAddress;
5443
5511
  readonly 'ip'?: string;
5444
5512
  }
5513
+ interface BitpayAccount {
5514
+ readonly 'discriminator': 'bitpay_account';
5515
+ readonly 'id': string;
5516
+ readonly 'organization_id': string;
5517
+ readonly 'key': string;
5518
+ readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
5519
+ readonly 'authentication': io.flow.payment.internal.v0.models.BitpayAuthentication;
5520
+ }
5521
+ interface BitpayAccountPutForm {
5522
+ readonly 'discriminator': 'bitpay_account_put_form';
5523
+ readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
5524
+ readonly 'authentication': io.flow.payment.internal.v0.models.BitpayAuthenticationForm;
5525
+ }
5526
+ interface BitpayAuthentication {
5527
+ readonly 'api_token': string;
5528
+ readonly 'public_key': string;
5529
+ readonly 'secret_key_reference': string;
5530
+ }
5445
5531
  interface BitpayAuthenticationDataReference {
5446
5532
  readonly 'id': string;
5447
5533
  }
5534
+ interface BitpayAuthenticationForm {
5535
+ readonly 'api_token': string;
5536
+ readonly 'public_key': string;
5537
+ readonly 'secret_key': string;
5538
+ }
5448
5539
  interface Chargeback {
5449
5540
  readonly 'id': string;
5450
5541
  readonly 'key': string;
@@ -5484,6 +5575,29 @@ declare namespace io.flow.payment.internal.v0.models {
5484
5575
  readonly 'MD': string;
5485
5576
  readonly 'PaRes': string;
5486
5577
  }
5578
+ interface CryptoAccount {
5579
+ readonly 'discriminator': 'crypto_account';
5580
+ readonly 'id': string;
5581
+ readonly 'organization_id': string;
5582
+ readonly 'key': string;
5583
+ readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
5584
+ readonly 'authentication': io.flow.payment.internal.v0.models.CryptoAuthentication;
5585
+ }
5586
+ interface CryptoAccountPutForm {
5587
+ readonly 'discriminator': 'crypto_account_put_form';
5588
+ readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
5589
+ readonly 'authentication': io.flow.payment.internal.v0.models.CryptoAuthenticationForm;
5590
+ }
5591
+ interface CryptoAuthentication {
5592
+ readonly 'public_key': string;
5593
+ readonly 'secret_key_reference': string;
5594
+ readonly 'signature_secret_reference': string;
5595
+ }
5596
+ interface CryptoAuthenticationForm {
5597
+ readonly 'public_key': string;
5598
+ readonly 'secret_key': string;
5599
+ readonly 'signature_secret': string;
5600
+ }
5487
5601
  interface Encryption {
5488
5602
  readonly 'id': string;
5489
5603
  readonly 'key': io.flow.payment.internal.v0.models.KeyReference;
@@ -5491,10 +5605,50 @@ declare namespace io.flow.payment.internal.v0.models {
5491
5605
  readonly 'cipher': string;
5492
5606
  readonly 'passphrase_ids': string[];
5493
5607
  }
5608
+ interface FiservAccount {
5609
+ readonly 'discriminator': 'fiserv_account';
5610
+ readonly 'id': string;
5611
+ readonly 'organization_id': string;
5612
+ readonly 'key': string;
5613
+ readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
5614
+ readonly 'region': string;
5615
+ readonly 'authentication': io.flow.payment.internal.v0.models.FiservAuthentication;
5616
+ }
5617
+ interface FiservAccountPutForm {
5618
+ readonly 'discriminator': 'fiserv_account_put_form';
5619
+ readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
5620
+ readonly 'region': string;
5621
+ readonly 'authentication': io.flow.payment.internal.v0.models.FiservAuthenticationForm;
5622
+ }
5623
+ interface FiservAuthentication {
5624
+ readonly 'public_key': string;
5625
+ readonly 'secret_key_reference': string;
5626
+ }
5494
5627
  interface FiservAuthenticationDataReference {
5495
5628
  readonly 'account_id': string;
5496
5629
  readonly 'store_id': string;
5497
5630
  }
5631
+ interface FiservAuthenticationForm {
5632
+ readonly 'public_key': string;
5633
+ readonly 'secret_key': string;
5634
+ }
5635
+ interface FiservMerchant {
5636
+ readonly 'discriminator': 'fiserv_merchant';
5637
+ readonly 'id': string;
5638
+ readonly 'key': string;
5639
+ readonly 'organization_id': string;
5640
+ readonly 'external_id': string;
5641
+ readonly 'processor_account_reference': io.flow.payment.internal.v0.models.ProcessorAccountReference;
5642
+ readonly 'base_currency': string;
5643
+ readonly 'country': string;
5644
+ }
5645
+ interface FiservMerchantPutForm {
5646
+ readonly 'discriminator': 'fiserv_merchant_put_form';
5647
+ readonly 'organization_id': string;
5648
+ readonly 'external_id': string;
5649
+ readonly 'base_currency': string;
5650
+ readonly 'country': string;
5651
+ }
5498
5652
  interface InternalAdyenAuthorizationDetails {
5499
5653
  readonly 'discriminator': 'internal_adyen_authorization_details';
5500
5654
  readonly 'adyen_authentication_data': io.flow.payment.internal.v0.models.AdyenAuthenticationDataReference;
@@ -5558,6 +5712,23 @@ declare namespace io.flow.payment.internal.v0.models {
5558
5712
  readonly 'id': string;
5559
5713
  readonly 'tribe': io.flow.payment.internal.v0.models.Tribe;
5560
5714
  }
5715
+ interface PaypalAccount {
5716
+ readonly 'discriminator': 'paypal_account';
5717
+ readonly 'id': string;
5718
+ readonly 'organization_id': string;
5719
+ readonly 'key': string;
5720
+ readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
5721
+ readonly 'authentication': io.flow.payment.internal.v0.models.PaypalAuthentication;
5722
+ }
5723
+ interface PaypalAccountPutForm {
5724
+ readonly 'discriminator': 'paypal_account_put_form';
5725
+ readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
5726
+ readonly 'authentication': io.flow.payment.internal.v0.models.PaypalAuthenticationForm;
5727
+ }
5728
+ interface PaypalAuthentication {
5729
+ readonly 'username_reference': string;
5730
+ readonly 'password_reference': string;
5731
+ }
5561
5732
  interface PaypalAuthenticationData {
5562
5733
  readonly 'id': string;
5563
5734
  readonly 'organization': string;
@@ -5569,11 +5740,20 @@ declare namespace io.flow.payment.internal.v0.models {
5569
5740
  interface PaypalAuthenticationDataReference {
5570
5741
  readonly 'id': string;
5571
5742
  }
5743
+ interface PaypalAuthenticationForm {
5744
+ readonly 'username': string;
5745
+ readonly 'password': string;
5746
+ }
5572
5747
  interface PaypalAuthorizationPayload {
5573
5748
  readonly 'discriminator': 'paypal_authorization_payload';
5574
5749
  readonly 'payment_id': string;
5575
5750
  readonly 'payer_id': string;
5576
5751
  }
5752
+ interface ProcessorAccountReference {
5753
+ readonly 'id': string;
5754
+ readonly 'organization_id': string;
5755
+ readonly 'key': string;
5756
+ }
5577
5757
  interface Redirect {
5578
5758
  readonly 'id': string;
5579
5759
  readonly 'post_payment_redirect_urls': io.flow.payment.v0.models.PostPaymentRedirectUrls;
@@ -5581,21 +5761,60 @@ declare namespace io.flow.payment.internal.v0.models {
5581
5761
  }
5582
5762
  interface StripeAccount {
5583
5763
  readonly 'discriminator': 'stripe_account';
5584
- readonly 'account_id': string;
5585
- }
5586
- interface StripeAccountForm {
5587
- readonly 'discriminator': 'stripe_account_form';
5588
- readonly 'account_name': string;
5589
- readonly 'account_type': io.flow.stripe.v0.enums.AccountType;
5590
- readonly 'country': string;
5591
- readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
5764
+ readonly 'id': string;
5592
5765
  readonly 'organization_id': string;
5593
- readonly 'payout_statement_descriptor': string;
5594
- readonly 'key'?: string;
5766
+ readonly 'key': string;
5767
+ readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
5768
+ readonly 'name': string;
5769
+ readonly 'external_id': string;
5770
+ readonly 'authentication': io.flow.payment.internal.v0.models.StripeAuthentication;
5771
+ }
5772
+ interface StripeAccountPutForm {
5773
+ readonly 'discriminator': 'stripe_account_put_form';
5774
+ readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
5775
+ readonly 'name': string;
5776
+ readonly 'external_id': string;
5777
+ readonly 'authentication': io.flow.payment.internal.v0.models.StripeAuthenticationForm;
5778
+ }
5779
+ interface StripeAuthentication {
5780
+ readonly 'public_key': string;
5781
+ readonly 'secret_key_reference': string;
5595
5782
  }
5596
5783
  interface StripeAuthenticationDataReference {
5597
5784
  readonly 'id': string;
5598
5785
  }
5786
+ interface StripeAuthenticationForm {
5787
+ readonly 'public_key': string;
5788
+ readonly 'secret_key': string;
5789
+ }
5790
+ interface StripeMerchant {
5791
+ readonly 'discriminator': 'stripe_merchant';
5792
+ readonly 'id': string;
5793
+ readonly 'key': string;
5794
+ readonly 'organization_id': string;
5795
+ readonly 'external_id': string;
5796
+ readonly 'processor_account_reference': io.flow.payment.internal.v0.models.ProcessorAccountReference;
5797
+ readonly 'name': string;
5798
+ readonly 'account_type': io.flow.stripe.v0.enums.AccountType;
5799
+ readonly 'authentication': io.flow.payment.internal.v0.models.StripeAuthentication;
5800
+ }
5801
+ interface StripeMerchantForm {
5802
+ readonly 'discriminator': 'stripe_merchant_form';
5803
+ readonly 'key'?: string;
5804
+ readonly 'organization_id': string;
5805
+ readonly 'name': string;
5806
+ readonly 'account_type': io.flow.stripe.v0.enums.AccountType;
5807
+ readonly 'country': string;
5808
+ readonly 'payment_statement': string;
5809
+ }
5810
+ interface StripeMerchantPutForm {
5811
+ readonly 'discriminator': 'stripe_merchant_put_form';
5812
+ readonly 'organization_id': string;
5813
+ readonly 'external_id': string;
5814
+ readonly 'name': string;
5815
+ readonly 'account_type': io.flow.stripe.v0.enums.AccountType;
5816
+ readonly 'authentication': io.flow.payment.internal.v0.models.StripeAuthenticationForm;
5817
+ }
5599
5818
  interface Tribe {
5600
5819
  readonly 'id': string;
5601
5820
  readonly 'description': string;
@@ -5605,9 +5824,12 @@ declare namespace io.flow.payment.internal.v0.unions {
5605
5824
  type AuthorizationPayload = (io.flow.payment.internal.v0.models.ApplePaymentToken | io.flow.payment.internal.v0.models.PaypalAuthorizationPayload);
5606
5825
  type InternalAuthorizationDetails = (io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalFiservAuthorizationDetails);
5607
5826
  type InternalRefundForm = (io.flow.payment.internal.v0.models.AdyenRefundForm);
5608
- type PaymentAccount = (io.flow.payment.internal.v0.models.StripeAccount);
5609
- type PaymentAccountForm = (io.flow.payment.internal.v0.models.StripeAccountForm);
5610
5827
  type PaymentRedirect = (io.flow.payment.internal.v0.models.OnlineAuthorizationCompleted);
5828
+ type ProcessorAccount = (io.flow.payment.internal.v0.models.StripeAccount | io.flow.payment.internal.v0.models.AdyenAccount | io.flow.payment.internal.v0.models.PaypalAccount | io.flow.payment.internal.v0.models.AfterpayAccount | io.flow.payment.internal.v0.models.BitpayAccount | io.flow.payment.internal.v0.models.FiservAccount | io.flow.payment.internal.v0.models.CryptoAccount);
5829
+ type ProcessorAccountPutForm = (io.flow.payment.internal.v0.models.StripeAccountPutForm | io.flow.payment.internal.v0.models.AdyenAccountPutForm | io.flow.payment.internal.v0.models.PaypalAccountPutForm | io.flow.payment.internal.v0.models.AfterpayAccountPutForm | io.flow.payment.internal.v0.models.BitpayAccountPutForm | io.flow.payment.internal.v0.models.FiservAccountPutForm | io.flow.payment.internal.v0.models.CryptoAccountPutForm);
5830
+ type ProcessorMerchant = (io.flow.payment.internal.v0.models.StripeMerchant | io.flow.payment.internal.v0.models.AdyenMerchant | io.flow.payment.internal.v0.models.FiservMerchant);
5831
+ type ProcessorMerchantForm = (io.flow.payment.internal.v0.models.StripeMerchantForm);
5832
+ type ProcessorMerchantPutForm = (io.flow.payment.internal.v0.models.StripeMerchantPutForm | io.flow.payment.internal.v0.models.AdyenMerchantPutForm | io.flow.payment.internal.v0.models.FiservMerchantPutForm);
5611
5833
  }
5612
5834
  declare namespace io.flow.fraud.internal.v0.enums {
5613
5835
  type FraudProvider = 'flow' | 'riskified' | 'rps' | 'other' | 'none';
@@ -6354,7 +6576,7 @@ declare namespace io.flow.ratecard.v0.models {
6354
6576
  }
6355
6577
  interface RatecardLane {
6356
6578
  readonly 'id': string;
6357
- readonly 'ratecard': io.flow.ratecard.v0.models.RatecardReference;
6579
+ readonly 'ratecard': io.flow.ratecard.v0.models.RatecardSummary;
6358
6580
  readonly 'currency': string;
6359
6581
  readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
6360
6582
  readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
@@ -6432,6 +6654,11 @@ declare namespace io.flow.ratecard.v0.models {
6432
6654
  readonly 'name': string;
6433
6655
  readonly 'carrier': io.flow.ratecard.v0.models.RatecardCarrierSummary;
6434
6656
  }
6657
+ interface RatecardSummary {
6658
+ readonly 'id': string;
6659
+ readonly 'number': string;
6660
+ readonly 'ratecard_owner': io.flow.fulfillment.v0.enums.RatecardOwner;
6661
+ }
6435
6662
  interface RatecardVersion {
6436
6663
  readonly 'id': string;
6437
6664
  readonly 'timestamp': string;
@@ -7482,32 +7709,423 @@ declare namespace io.flow.invoice.v0.models {
7482
7709
  readonly 'value': io.flow.common.v0.models.Price;
7483
7710
  }
7484
7711
  }
7485
- declare namespace io.flow.country.picker.v0.models {
7486
- interface CountryPickerCountry {
7487
- readonly 'iso_3166_2': string;
7488
- readonly 'iso_3166_3': string;
7489
- readonly 'name': string;
7490
- readonly 'default_currency'?: string;
7712
+ declare namespace io.flow.marketing.gateway.v0.enums {
7713
+ type MarketingGatewayFeedDownloadFormat = 'tsv';
7714
+ type MarketingGatewayFeedState = 'initialized' | 'generated' | 'in_review' | 'rejected' | 'active';
7715
+ type MarketingGatewayGoogleConnectionStatus = 'not_connected' | 'connecting' | 'connected';
7716
+ type MarketingGatewayGoogleFeedProcessingStatus = 'success' | 'in_progress' | 'failure' | 'none';
7717
+ type MarketingGatewayGoogleProductDestinationApprovalStatus = 'approved' | 'disapproved' | 'pending';
7718
+ type MarketingGatewayGoogleProductItemLevelIssueSeverity = 'critical' | 'error' | 'suggestion';
7719
+ type MarketingGatewayPlatform = 'google' | 'facebook';
7720
+ type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
7721
+ type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_master' | 'facebook_country_override';
7722
+ }
7723
+ declare namespace io.flow.marketing.gateway.v0.models {
7724
+ interface MarketingGatewayAccountConnection {
7725
+ readonly 'apibuilder': string;
7491
7726
  }
7492
- interface CountryPickerCountryData {
7493
- readonly 'country': string;
7494
- readonly 'delivery_window': io.flow.country.picker.v0.models.CountryPickerDeliveryWindow[];
7727
+ interface MarketingGatewayChannelForm {
7728
+ readonly 'platform': io.flow.marketing.gateway.v0.enums.MarketingGatewayPlatform;
7729
+ readonly 'account_id': number;
7495
7730
  }
7496
- interface CountryPickerCurrency {
7497
- readonly 'iso_4217_3': string;
7498
- readonly 'name': string;
7731
+ interface MarketingGatewayChannelSourceSummary {
7732
+ readonly 'channel': io.flow.marketing.gateway.v0.enums.MarketingGatewayPlatform;
7733
+ readonly 'platform': io.flow.marketing.gateway.v0.enums.MarketingGatewayPlatform;
7734
+ readonly 'source': io.flow.marketing.gateway.v0.unions.MarketingGatewaySourceSummary;
7499
7735
  }
7500
- interface CountryPickerData {
7501
- readonly 'countries': io.flow.country.picker.v0.models.CountryPickerCountry[];
7502
- readonly 'currencies': io.flow.country.picker.v0.models.CountryPickerCurrency[];
7503
- readonly 'experience_data'?: io.flow.country.picker.v0.models.CountryPickerExperienceData[];
7504
- readonly 'country_data'?: io.flow.country.picker.v0.models.CountryPickerCountryData[];
7736
+ interface MarketingGatewayConfiguredMarket {
7737
+ readonly 'apibuilder': string;
7505
7738
  }
7506
- interface CountryPickerDeliveryWindow {
7507
- readonly 'name'?: string;
7508
- readonly 'from': string;
7509
- readonly 'to': string;
7510
- readonly 'timezone'?: string;
7739
+ interface MarketingGatewayDistributionChannelGoogle {
7740
+ readonly 'discriminator': 'marketing_gateway_distribution_channel_google';
7741
+ readonly 'account_id': number;
7742
+ }
7743
+ interface MarketingGatewayExperience {
7744
+ readonly 'id': string;
7745
+ readonly 'name': string;
7746
+ readonly 'key': string;
7747
+ readonly 'subcatalog_id': string;
7748
+ }
7749
+ interface MarketingGatewayFeed {
7750
+ readonly 'id': string;
7751
+ readonly 'organization': io.flow.common.v0.models.OrganizationSummary;
7752
+ readonly 'experience': io.flow.common.v0.models.ExperienceSummary;
7753
+ readonly 'schema': io.flow.marketing.gateway.v0.models.MarketingGatewaySchemaSummary;
7754
+ readonly 'filter': io.flow.marketing.gateway.v0.models.MarketingGatewayFilterSummary;
7755
+ readonly 'country': string;
7756
+ readonly 'currency': string;
7757
+ readonly 'language': string;
7758
+ readonly 'feed_source': io.flow.marketing.gateway.v0.unions.MarketingGatewayFeedSource;
7759
+ readonly 'tsv_download_url': string;
7760
+ }
7761
+ interface MarketingGatewayFeedExportForm {
7762
+ readonly 'feed_ids': string[];
7763
+ readonly 'emails': string[];
7764
+ }
7765
+ interface MarketingGatewayFeedForm {
7766
+ readonly 'schema_id': string;
7767
+ readonly 'filter_id': string;
7768
+ readonly 'country': string;
7769
+ readonly 'currency': string;
7770
+ readonly 'language': string;
7771
+ readonly 'feed_source': io.flow.marketing.gateway.v0.unions.MarketingGatewayFeedSource;
7772
+ readonly 'distribution_channel'?: io.flow.marketing.gateway.v0.unions.MarketingGatewayDistributionChannel;
7773
+ }
7774
+ interface MarketingGatewayFeedFormRequest {
7775
+ readonly 'feed_source': io.flow.marketing.gateway.v0.unions.MarketingGatewayFeedSource;
7776
+ readonly 'schema_compatibility': io.flow.marketing.gateway.v0.enums.MarketingGatewaySchemaCompatibility;
7777
+ }
7778
+ interface MarketingGatewayFeedSourceFlow {
7779
+ readonly 'discriminator': 'marketing_gateway_feed_source_flow';
7780
+ readonly 'apibuilder'?: string;
7781
+ }
7782
+ interface MarketingGatewayFeedSourceGoogle {
7783
+ readonly 'discriminator': 'marketing_gateway_feed_source_google';
7784
+ readonly 'account_id': number;
7785
+ readonly 'country': string;
7786
+ readonly 'currency': string;
7787
+ readonly 'language': string;
7788
+ }
7789
+ interface MarketingGatewayFeedSourceRequestFlow {
7790
+ readonly 'discriminator': 'marketing_gateway_feed_source_request_flow';
7791
+ readonly 'apibuilder'?: string;
7792
+ }
7793
+ interface MarketingGatewayFeedSourceRequestGoogle {
7794
+ readonly 'discriminator': 'marketing_gateway_feed_source_request_google';
7795
+ readonly 'account_id': number;
7796
+ }
7797
+ interface MarketingGatewayFilterSummary {
7798
+ readonly 'id': string;
7799
+ readonly 'name': string;
7800
+ }
7801
+ interface MarketingGatewayFlowSourceSummary {
7802
+ readonly 'discriminator': 'marketing_gateway_flow_source_summary';
7803
+ readonly 'item_count': number;
7804
+ }
7805
+ interface MarketingGatewayGoogleAccount {
7806
+ readonly 'account_id': number;
7807
+ readonly 'id'?: string;
7808
+ readonly 'name': string;
7809
+ readonly 'website_url': string;
7810
+ readonly 'account_issues': io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleAccountIssue[];
7811
+ readonly 'product_issues': io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleAccountProductIssue[];
7812
+ readonly 'feeds': io.flow.marketing.gateway.v0.unions.MarketingGatewayGoogleFeed[];
7813
+ readonly 'product_statistics': io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleAccountProductStatistics;
7814
+ }
7815
+ interface MarketingGatewayGoogleAccountIssue {
7816
+ readonly 'scopes': io.flow.marketing.gateway.v0.unions.MarketingGatewayGoogleIssueScope[];
7817
+ readonly 'description': string;
7818
+ readonly 'detail'?: string;
7819
+ readonly 'documentation_url': string;
7820
+ readonly 'severity': io.flow.marketing.gateway.v0.unions.MarketingGatewayGoogleSeverity;
7821
+ }
7822
+ interface MarketingGatewayGoogleAccountProductIssue {
7823
+ readonly 'countries': string[];
7824
+ readonly 'description': string;
7825
+ readonly 'detail'?: string;
7826
+ readonly 'documentation_url': string;
7827
+ readonly 'affected_count': number;
7828
+ readonly 'servability_penalty': io.flow.marketing.gateway.v0.unions.MarketingGatewayGoogleServabilityPenalty;
7829
+ }
7830
+ interface MarketingGatewayGoogleAccountProductStatistics {
7831
+ readonly 'active_count': number;
7832
+ readonly 'expiring_count': number;
7833
+ readonly 'pending_count': number;
7834
+ readonly 'disapproved_count': number;
7835
+ }
7836
+ interface MarketingGatewayGoogleAccountSummary {
7837
+ readonly 'account_id': number;
7838
+ readonly 'id'?: string;
7839
+ readonly 'name': string;
7840
+ readonly 'website_url': string;
7841
+ readonly 'account_issues_count': number;
7842
+ readonly 'product_issues_count': number;
7843
+ readonly 'feeds_count': number;
7844
+ readonly 'domestic_feeds_count': number;
7845
+ readonly 'localized_feeds_count': number;
7846
+ }
7847
+ interface MarketingGatewayGoogleConnection {
7848
+ readonly 'status': io.flow.marketing.gateway.v0.enums.MarketingGatewayGoogleConnectionStatus;
7849
+ readonly 'accounts'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleAccountSummary[];
7850
+ }
7851
+ interface MarketingGatewayGoogleConnectionForm {
7852
+ readonly 'access_token': string;
7853
+ readonly 'refresh_token': string;
7854
+ }
7855
+ interface MarketingGatewayGoogleCustomLabels {
7856
+ readonly 'custom_label_0'?: string;
7857
+ readonly 'custom_label_1'?: string;
7858
+ readonly 'custom_label_2'?: string;
7859
+ readonly 'custom_label_3'?: string;
7860
+ readonly 'custom_label_4'?: string;
7861
+ }
7862
+ interface MarketingGatewayGoogleCustomProductShippingLocation {
7863
+ readonly 'country'?: string;
7864
+ readonly 'location_group_name'?: string;
7865
+ readonly 'location_id'?: number;
7866
+ readonly 'post_code'?: string;
7867
+ readonly 'price': io.flow.marketing.gateway.v0.models.MarketingGatewayGooglePrice;
7868
+ readonly 'region'?: string;
7869
+ readonly 'service'?: string;
7870
+ }
7871
+ interface MarketingGatewayGoogleFeedChild {
7872
+ readonly 'discriminator': 'marketing_gateway_google_feed_child';
7873
+ readonly 'id': string;
7874
+ readonly 'country': string;
7875
+ readonly 'currency': string;
7876
+ readonly 'language': string;
7877
+ readonly 'experience'?: io.flow.common.v0.models.ExperienceSummary;
7878
+ readonly 'parent': io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleFeedParent;
7879
+ readonly 'feed_state': io.flow.marketing.gateway.v0.enums.MarketingGatewayFeedState;
7880
+ readonly 'processing_status'?: io.flow.marketing.gateway.v0.enums.MarketingGatewayGoogleFeedProcessingStatus;
7881
+ readonly 'last_uploaded'?: string;
7882
+ readonly 'statistics'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleFeedStatistics;
7883
+ }
7884
+ interface MarketingGatewayGoogleFeedParent {
7885
+ readonly 'discriminator': 'marketing_gateway_google_feed_parent';
7886
+ readonly 'id': string;
7887
+ readonly 'country': string;
7888
+ readonly 'currency': string;
7889
+ readonly 'language': string;
7890
+ readonly 'feed_state': io.flow.marketing.gateway.v0.enums.MarketingGatewayFeedState;
7891
+ readonly 'processing_status'?: io.flow.marketing.gateway.v0.enums.MarketingGatewayGoogleFeedProcessingStatus;
7892
+ readonly 'last_uploaded'?: string;
7893
+ readonly 'statistics'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleFeedStatistics;
7894
+ }
7895
+ interface MarketingGatewayGoogleFeedStatistics {
7896
+ readonly 'active_count': number;
7897
+ readonly 'expiring_count': number;
7898
+ readonly 'pending_count': number;
7899
+ readonly 'disapproved_count': number;
7900
+ readonly 'total_count': number;
7901
+ }
7902
+ interface MarketingGatewayGoogleIssueScopeAccount {
7903
+ readonly 'discriminator': 'marketing_gateway_google_issue_scope_account';
7904
+ readonly 'apibuilder'?: string;
7905
+ }
7906
+ interface MarketingGatewayGoogleIssueScopeCountry {
7907
+ readonly 'discriminator': 'marketing_gateway_google_issue_scope_country';
7908
+ readonly 'country': string;
7909
+ }
7910
+ interface MarketingGatewayGoogleItem {
7911
+ readonly 'discriminator': 'marketing_gateway_google_item';
7912
+ readonly 'id': string;
7913
+ readonly 'title'?: string;
7914
+ readonly 'image_link'?: string;
7915
+ readonly 'brand'?: string;
7916
+ readonly 'google_product_category'?: string;
7917
+ readonly 'link'?: string;
7918
+ readonly 'price'?: string;
7919
+ readonly 'sale_price'?: string;
7920
+ readonly 'shipping_price'?: string;
7921
+ }
7922
+ interface MarketingGatewayGoogleMarket {
7923
+ readonly 'discriminator': 'marketing_gateway_google_market';
7924
+ readonly 'id': string;
7925
+ readonly 'country': string;
7926
+ readonly 'language': string;
7927
+ readonly 'currency': string;
7928
+ }
7929
+ interface MarketingGatewayGooglePrice {
7930
+ readonly 'value': string;
7931
+ readonly 'currency': string;
7932
+ readonly 'label': string;
7933
+ }
7934
+ interface MarketingGatewayGoogleProduct {
7935
+ readonly 'discriminator': 'marketing_gateway_google_product';
7936
+ readonly 'id': string;
7937
+ readonly 'title': string;
7938
+ readonly 'images'?: io.flow.marketing.gateway.v0.models.MarketingGatewayImageLinks;
7939
+ readonly 'description': string;
7940
+ readonly 'attributes': io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductAttributes;
7941
+ readonly 'link': string;
7942
+ readonly 'market': io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleMarket;
7943
+ readonly 'availability': string;
7944
+ readonly 'item_group_id'?: string;
7945
+ readonly 'availability_date'?: string;
7946
+ readonly 'expiration_date'?: string;
7947
+ readonly 'pricing_details': io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductPricingDetails;
7948
+ readonly 'gtn'?: string;
7949
+ readonly 'mpn'?: string;
7950
+ readonly 'ads_redirect'?: string;
7951
+ readonly 'promotion_ids'?: string[];
7952
+ readonly 'size_details': io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductSizeDetails;
7953
+ readonly 'shipping_details': io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductShippingDetails;
7954
+ readonly 'taxes'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductTax[];
7955
+ readonly 'custom_labels': io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleCustomLabels;
7956
+ readonly 'status_details'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductStatusDetails;
7957
+ readonly 'status': io.flow.marketing.gateway.v0.enums.MarketingGatewayProductStatus;
7958
+ readonly 'item_catalog_summary'?: io.flow.common.v0.models.CatalogItemSummary;
7959
+ }
7960
+ interface MarketingGatewayGoogleProductAttributes {
7961
+ readonly 'brand'?: string;
7962
+ readonly 'color'?: string;
7963
+ readonly 'age_group'?: string;
7964
+ readonly 'product_type'?: string;
7965
+ readonly 'product_types'?: string[];
7966
+ readonly 'condition'?: string;
7967
+ readonly 'material'?: string;
7968
+ readonly 'gender'?: string;
7969
+ readonly 'pattern'?: string;
7970
+ readonly 'google_product_category': string;
7971
+ readonly 'identifier_exists': boolean;
7972
+ readonly 'is_adult': boolean;
7973
+ readonly 'is_bundle': boolean;
7974
+ readonly 'multipack'?: number;
7975
+ readonly 'energy_efficiency_class'?: string;
7976
+ readonly 'min_energy_efficiency_class'?: string;
7977
+ readonly 'max_energy_efficiency_class'?: string;
7978
+ }
7979
+ interface MarketingGatewayGoogleProductDestinationStatus {
7980
+ readonly 'destination': string;
7981
+ readonly 'approval_status': io.flow.marketing.gateway.v0.enums.MarketingGatewayGoogleProductDestinationApprovalStatus;
7982
+ }
7983
+ interface MarketingGatewayGoogleProductInstallment {
7984
+ readonly 'amount': io.flow.marketing.gateway.v0.models.MarketingGatewayGooglePrice;
7985
+ readonly 'months': number;
7986
+ }
7987
+ interface MarketingGatewayGoogleProductItemLevelIssue {
7988
+ readonly 'code': string;
7989
+ readonly 'servability': string;
7990
+ readonly 'resolution': string;
7991
+ readonly 'attribute_name'?: string;
7992
+ readonly 'destination': string;
7993
+ readonly 'description': string;
7994
+ readonly 'detail'?: string;
7995
+ readonly 'documentation': string;
7996
+ }
7997
+ interface MarketingGatewayGoogleProductPricingDetails {
7998
+ readonly 'price': io.flow.marketing.gateway.v0.models.MarketingGatewayGooglePrice;
7999
+ readonly 'sale_price'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGooglePrice;
8000
+ readonly 'sale_price_effective_date'?: string;
8001
+ readonly 'cost_of_goods_sold'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGooglePrice;
8002
+ readonly 'unit_price_measure'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductUnitPricingMeasure;
8003
+ readonly 'base_unit_price_measure'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductUnitPricingMeasure;
8004
+ readonly 'installment'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductInstallment;
8005
+ }
8006
+ interface MarketingGatewayGoogleProductShippingDetails {
8007
+ readonly 'shipping_locations': io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleCustomProductShippingLocation[];
8008
+ readonly 'shipping_weight'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductShippingUnit;
8009
+ readonly 'shipping_length'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductShippingUnit;
8010
+ readonly 'shipping_width'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductShippingUnit;
8011
+ readonly 'shipping_height'?: io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductShippingUnit;
8012
+ readonly 'min_handling_time'?: number;
8013
+ readonly 'max_handling_time'?: number;
8014
+ }
8015
+ interface MarketingGatewayGoogleProductShippingUnit {
8016
+ readonly 'unit': string;
8017
+ readonly 'value': number;
8018
+ }
8019
+ interface MarketingGatewayGoogleProductSizeDetails {
8020
+ readonly 'sizes'?: string[];
8021
+ readonly 'size_type'?: string;
8022
+ readonly 'size_system'?: string;
8023
+ }
8024
+ interface MarketingGatewayGoogleProductStatusDetails {
8025
+ readonly 'item_level_issues': io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductItemLevelIssue[];
8026
+ readonly 'destination_statuses': io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProductDestinationStatus[];
8027
+ }
8028
+ interface MarketingGatewayGoogleProductTax {
8029
+ readonly 'country'?: string;
8030
+ readonly 'location_id'?: number;
8031
+ readonly 'post_code'?: string;
8032
+ readonly 'rate': number;
8033
+ readonly 'region'?: string;
8034
+ readonly 'tax_ship': boolean;
8035
+ }
8036
+ interface MarketingGatewayGoogleProductUnitPricingMeasure {
8037
+ readonly 'unit': string;
8038
+ readonly 'value': number;
8039
+ }
8040
+ interface MarketingGatewayGoogleServabilityPenaltyDemoted {
8041
+ readonly 'discriminator': 'marketing_gateway_google_servability_penalty_demoted';
8042
+ readonly 'weight': number;
8043
+ }
8044
+ interface MarketingGatewayGoogleServabilityPenaltyDisapproved {
8045
+ readonly 'discriminator': 'marketing_gateway_google_servability_penalty_disapproved';
8046
+ readonly 'weight': number;
8047
+ }
8048
+ interface MarketingGatewayGoogleServabilityPenaltyUnaffected {
8049
+ readonly 'discriminator': 'marketing_gateway_google_servability_penalty_unaffected';
8050
+ readonly 'weight': number;
8051
+ }
8052
+ interface MarketingGatewayGoogleSeverityCritical {
8053
+ readonly 'discriminator': 'marketing_gateway_google_severity_critical';
8054
+ readonly 'weight': number;
8055
+ }
8056
+ interface MarketingGatewayGoogleSeverityError {
8057
+ readonly 'discriminator': 'marketing_gateway_google_severity_error';
8058
+ readonly 'code'?: string;
8059
+ readonly 'messages'?: string[];
8060
+ readonly 'weight': number;
8061
+ }
8062
+ interface MarketingGatewayGoogleSeveritySuggestion {
8063
+ readonly 'discriminator': 'marketing_gateway_google_severity_suggestion';
8064
+ readonly 'weight': number;
8065
+ }
8066
+ interface MarketingGatewayGoogleSourceSummary {
8067
+ readonly 'discriminator': 'marketing_gateway_google_source_summary';
8068
+ readonly 'account_id': number;
8069
+ readonly 'countries': string[];
8070
+ readonly 'product_count': number;
8071
+ }
8072
+ interface MarketingGatewayImageLinks {
8073
+ readonly 'primary_image_url': string;
8074
+ readonly 'additional_image_urls'?: string[];
8075
+ }
8076
+ interface MarketingGatewayLocalizedItem {
8077
+ readonly 'source': io.flow.marketing.gateway.v0.unions.MarketingGatewayItem;
8078
+ readonly 'localized': io.flow.marketing.gateway.v0.unions.MarketingGatewayItem;
8079
+ }
8080
+ interface MarketingGatewayProductsStatusCount {
8081
+ readonly 'status': io.flow.marketing.gateway.v0.enums.MarketingGatewayProductStatus;
8082
+ readonly 'count': number;
8083
+ }
8084
+ interface MarketingGatewaySchemaSummary {
8085
+ readonly 'id': string;
8086
+ readonly 'name': string;
8087
+ readonly 'schema_compatibility': io.flow.marketing.gateway.v0.enums.MarketingGatewaySchemaCompatibility;
8088
+ }
8089
+ }
8090
+ declare namespace io.flow.marketing.gateway.v0.unions {
8091
+ type MarketingGatewayDistributionChannel = (io.flow.marketing.gateway.v0.models.MarketingGatewayDistributionChannelGoogle);
8092
+ type MarketingGatewayFeedSource = (io.flow.marketing.gateway.v0.models.MarketingGatewayFeedSourceFlow | io.flow.marketing.gateway.v0.models.MarketingGatewayFeedSourceGoogle);
8093
+ type MarketingGatewayFeedSourceRequest = (io.flow.marketing.gateway.v0.models.MarketingGatewayFeedSourceRequestFlow | io.flow.marketing.gateway.v0.models.MarketingGatewayFeedSourceRequestGoogle);
8094
+ type MarketingGatewayGoogleFeed = (io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleFeedParent | io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleFeedChild);
8095
+ type MarketingGatewayGoogleIssueScope = (io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleIssueScopeAccount | io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleIssueScopeCountry);
8096
+ type MarketingGatewayGoogleServabilityPenalty = (io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleServabilityPenaltyUnaffected | io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleServabilityPenaltyDisapproved | io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleServabilityPenaltyDemoted);
8097
+ type MarketingGatewayGoogleSeverity = (io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleSeveritySuggestion | io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleSeverityError | io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleSeverityCritical);
8098
+ type MarketingGatewayItem = (io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleItem);
8099
+ type MarketingGatewayPlatformMarket = (io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleMarket);
8100
+ type MarketingGatewayProduct = (io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleProduct);
8101
+ type MarketingGatewaySourceSummary = (io.flow.marketing.gateway.v0.models.MarketingGatewayGoogleSourceSummary | io.flow.marketing.gateway.v0.models.MarketingGatewayFlowSourceSummary);
8102
+ }
8103
+ declare namespace io.flow.country.picker.v0.models {
8104
+ interface CountryPickerCountry {
8105
+ readonly 'iso_3166_2': string;
8106
+ readonly 'iso_3166_3': string;
8107
+ readonly 'name': string;
8108
+ readonly 'default_currency'?: string;
8109
+ }
8110
+ interface CountryPickerCountryData {
8111
+ readonly 'country': string;
8112
+ readonly 'delivery_window': io.flow.country.picker.v0.models.CountryPickerDeliveryWindow[];
8113
+ }
8114
+ interface CountryPickerCurrency {
8115
+ readonly 'iso_4217_3': string;
8116
+ readonly 'name': string;
8117
+ }
8118
+ interface CountryPickerData {
8119
+ readonly 'countries': io.flow.country.picker.v0.models.CountryPickerCountry[];
8120
+ readonly 'currencies': io.flow.country.picker.v0.models.CountryPickerCurrency[];
8121
+ readonly 'experience_data'?: io.flow.country.picker.v0.models.CountryPickerExperienceData[];
8122
+ readonly 'country_data'?: io.flow.country.picker.v0.models.CountryPickerCountryData[];
8123
+ }
8124
+ interface CountryPickerDeliveryWindow {
8125
+ readonly 'name'?: string;
8126
+ readonly 'from': string;
8127
+ readonly 'to': string;
8128
+ readonly 'timezone'?: string;
7511
8129
  }
7512
8130
  interface CountryPickerExperienceData {
7513
8131
  readonly 'experience_key': string;
@@ -7942,16 +8560,15 @@ declare namespace io.flow.inventory.v0.unions {
7942
8560
  }
7943
8561
  declare namespace io.flow.permission.v0.enums {
7944
8562
  type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
7945
- type FlowAddonRole = 'consumer_data_viewer' | 'membership_manager';
7946
8563
  type FlowBehavior = 'view_consumer_data';
7947
- type FlowUserRole = 'organization_admin' | 'organization_merchant' | 'organization_operations' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations';
8564
+ type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations';
7948
8565
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
7949
8566
  }
7950
8567
  declare namespace io.flow.permission.v0.models {
7951
8568
  interface BehaviorAudit {
7952
8569
  readonly 'behavior': io.flow.permission.v0.enums.FlowBehavior;
7953
8570
  readonly 'authentication_techniques': io.flow.permission.v0.enums.AuthenticationTechnique[];
7954
- readonly 'roles': io.flow.permission.v0.unions.FlowRole[];
8571
+ readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
7955
8572
  }
7956
8573
  interface PermissionAudit {
7957
8574
  readonly 'routes': io.flow.permission.v0.models.RouteAudit[];
@@ -7960,14 +8577,14 @@ declare namespace io.flow.permission.v0.models {
7960
8577
  interface PermissionCheck {
7961
8578
  readonly 'authentication_technique': io.flow.permission.v0.enums.AuthenticationTechnique;
7962
8579
  readonly 'user'?: io.flow.common.v0.unions.ExpandableUser;
7963
- readonly 'roles': io.flow.permission.v0.unions.FlowRole[];
8580
+ readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
7964
8581
  readonly 'behaviors': io.flow.permission.v0.enums.FlowBehavior[];
7965
8582
  readonly 'routes': io.flow.permission.v0.models.PermittedRoute[];
7966
8583
  }
7967
8584
  interface PermissionError {
7968
8585
  readonly 'code': io.flow.error.v0.enums.GenericErrorCode;
7969
8586
  readonly 'messages': string[];
7970
- readonly 'granting_roles'?: io.flow.permission.v0.unions.FlowRole[];
8587
+ readonly 'granting_roles'?: io.flow.permission.v0.enums.FlowRole[];
7971
8588
  readonly 'admin_users'?: io.flow.common.v0.models.User[];
7972
8589
  }
7973
8590
  interface PermittedRoute {
@@ -7978,21 +8595,12 @@ declare namespace io.flow.permission.v0.models {
7978
8595
  readonly 'method': io.flow.permission.v0.enums.PermittedHttpMethod;
7979
8596
  readonly 'path': string;
7980
8597
  readonly 'authentication_techniques': io.flow.permission.v0.enums.AuthenticationTechnique[];
7981
- readonly 'roles': io.flow.permission.v0.unions.FlowRole[];
8598
+ readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
7982
8599
  }
7983
8600
  interface SimplePermissionCheck {
7984
8601
  readonly 'behaviors': io.flow.permission.v0.enums.FlowBehavior[];
7985
8602
  }
7986
8603
  }
7987
- declare namespace io.flow.permission.v0.unions {
7988
- type FlowRole = ({
7989
- discriminator: 'flow_user_role';
7990
- value: io.flow.permission.v0.enums.FlowUserRole;
7991
- } | {
7992
- discriminator: 'flow_addon_role';
7993
- value: io.flow.permission.v0.enums.FlowAddonRole;
7994
- });
7995
- }
7996
8604
  declare namespace io.flow.query.builder.v0.enums {
7997
8605
  type AvailableFilterFormat = 'boolean' | 'date' | 'money' | 'decimal' | 'string' | 'unit_of_length' | 'unit_of_mass';
7998
8606
  }
@@ -8304,10 +8912,11 @@ declare namespace io.flow.billing.internal.v0.unions {
8304
8912
  type Transaction = (io.flow.billing.internal.v0.models.InvoiceTransaction | io.flow.billing.internal.v0.models.ManualTransaction | io.flow.billing.internal.v0.models.ProcessingTransaction | io.flow.billing.internal.v0.models.SubscriptionTransaction | io.flow.billing.internal.v0.models.TaxRemittanceTransaction | io.flow.billing.internal.v0.models.TransferTransaction | io.flow.billing.internal.v0.models.VirtualCardTransaction);
8305
8913
  }
8306
8914
  declare namespace io.flow.harmonization.internal.v0.enums {
8915
+ type DutyExemptItemTypes = 'gift_card' | 'service' | 'digital_item';
8307
8916
  type EmptyAttribute = 'irrelevant';
8308
8917
  type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
8309
8918
  type ItemClassificationStatus = 'unknown' | 'manual' | 'manually_accepted' | 'manually_overridden' | 'automatically_accepted';
8310
- type ItemHarmonizationStatus = 'waiting_for_classification' | 'classified' | 'non_classifiable_not_enough_information' | 'non_classifiable_other' | 'exempt_digital_product' | 'exempt_service' | 'exempt_other';
8919
+ type ItemHarmonizationStatus = 'waiting_for_classification' | 'classified' | 'non_classifiable_not_enough_information' | 'non_classifiable_other' | 'exempt';
8311
8920
  type ItemType = 'standard' | 'multi_product';
8312
8921
  type TariffEligibilityType = 'rex';
8313
8922
  type UnclassifiedProductStatus = 'ignored' | 'escalated' | 'requeued';
@@ -8398,6 +9007,15 @@ declare namespace io.flow.harmonization.internal.v0.models {
8398
9007
  readonly 'harmonization_code'?: string;
8399
9008
  readonly 'tariff_codes'?: Record<string, io.flow.harmonization.internal.v0.models.TariffCodeDuty>;
8400
9009
  }
9010
+ interface CustomsDetails {
9011
+ readonly 'tariff_eligibility_data': io.flow.harmonization.internal.v0.unions.TariffEligibilityData[];
9012
+ readonly 'item_customs_details': io.flow.harmonization.internal.v0.models.ItemCustomsDetails[];
9013
+ }
9014
+ interface CustomsDetailsForm {
9015
+ readonly 'destination': io.flow.common.v0.models.Address;
9016
+ readonly 'item_numbers': string[];
9017
+ readonly 'ship_from': io.flow.common.v0.models.Address;
9018
+ }
8401
9019
  interface Duties {
8402
9020
  readonly 'duty_rate': io.flow.price.v0.models.Duty;
8403
9021
  readonly 'duty_rate_v2'?: io.flow.duty.internal.v0.models.DutyRate;
@@ -8421,6 +9039,16 @@ declare namespace io.flow.harmonization.internal.v0.models {
8421
9039
  readonly 'items': number;
8422
9040
  readonly 'codes': io.flow.harmonization.internal.v0.models.HarmonizationStatisticsBreakout;
8423
9041
  }
9042
+ interface ItemCustomsDetails {
9043
+ readonly 'item_number': string;
9044
+ readonly 'customs_description'?: string;
9045
+ readonly 'origin': string;
9046
+ readonly 'hs6'?: string;
9047
+ readonly 'tariff_code'?: string;
9048
+ readonly 'duty': io.flow.price.v0.models.Duty;
9049
+ readonly 'price_composition_rate': number;
9050
+ readonly 'duty_composition_rate': number;
9051
+ }
8424
9052
  interface ItemHarmonization {
8425
9053
  readonly 'organization_id': string;
8426
9054
  readonly 'item_number': string;
@@ -9699,6 +10327,7 @@ declare namespace io.flow.fraud.v0.enums {
9699
10327
  }
9700
10328
  declare namespace io.flow.fraud.v0.models {
9701
10329
  interface FraudEmailRule {
10330
+ readonly 'id'?: string;
9702
10331
  readonly 'email': string;
9703
10332
  readonly 'decision': io.flow.fraud.v0.enums.FraudEmailRuleDecision;
9704
10333
  }
@@ -9921,7 +10550,7 @@ declare namespace io.flow.organization.v0.models {
9921
10550
  readonly 'email': string;
9922
10551
  readonly 'name': io.flow.common.v0.models.Name;
9923
10552
  readonly 'role'?: io.flow.common.v0.enums.Role;
9924
- readonly 'roles'?: io.flow.permission.v0.unions.FlowRole[];
10553
+ readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
9925
10554
  readonly 'expiration': string;
9926
10555
  }
9927
10556
  interface InvitationError {
@@ -9933,7 +10562,7 @@ declare namespace io.flow.organization.v0.models {
9933
10562
  readonly 'email': string;
9934
10563
  readonly 'name'?: io.flow.common.v0.models.Name;
9935
10564
  readonly 'role'?: io.flow.common.v0.enums.Role;
9936
- readonly 'roles'?: io.flow.permission.v0.unions.FlowRole[];
10565
+ readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
9937
10566
  }
9938
10567
  interface InvitationVersion {
9939
10568
  readonly 'id': string;
@@ -9946,17 +10575,17 @@ declare namespace io.flow.organization.v0.models {
9946
10575
  readonly 'organization': io.flow.common.v0.unions.ExpandableOrganization;
9947
10576
  readonly 'user': io.flow.common.v0.unions.ExpandableUser;
9948
10577
  readonly 'role'?: io.flow.common.v0.enums.Role;
9949
- readonly 'roles': io.flow.permission.v0.unions.FlowRole[];
10578
+ readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
9950
10579
  }
9951
10580
  interface MembershipForm {
9952
10581
  readonly 'organization': string;
9953
10582
  readonly 'user': string;
9954
10583
  readonly 'role'?: io.flow.common.v0.enums.Role;
9955
- readonly 'roles'?: io.flow.permission.v0.unions.FlowRole[];
10584
+ readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
9956
10585
  }
9957
10586
  interface MembershipPutForm {
9958
10587
  readonly 'role'?: io.flow.common.v0.enums.Role;
9959
- readonly 'roles'?: io.flow.permission.v0.unions.FlowRole[];
10588
+ readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
9960
10589
  }
9961
10590
  interface MembershipVersion {
9962
10591
  readonly 'id': string;
@@ -10404,7 +11033,7 @@ declare namespace io.flow.internal.v0.enums {
10404
11033
  type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
10405
11034
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
10406
11035
  type EmptyAttribute = 'irrelevant';
10407
- type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'master_transaction_upserted' | 'master_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_quote_upserted' | 'pregenerated_quote_deleted' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'import_completed' | 'import_failed' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'batch_rate_refill_request' | 'rate_refill_request' | 'resync_by_hs6_destinations' | 'resync_by_destinations' | 'resync_fallback_rates' | 'resync_by_hs6_origin' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
11036
+ type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'master_transaction_upserted' | 'master_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_quote_upserted' | 'pregenerated_quote_deleted' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'import_completed' | 'import_failed' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'batch_rate_refill_request' | 'rate_refill_request' | 'resync_by_hs6_destinations' | 'resync_by_destinations' | 'resync_fallback_rates' | 'resync_by_hs6_origin' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
10408
11037
  type ExperienceImportType = 'experience_with_settings';
10409
11038
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
10410
11039
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -12308,6 +12937,20 @@ declare namespace io.flow.internal.v0.models {
12308
12937
  readonly 'value': io.flow.common.v0.models.Price;
12309
12938
  readonly 'description'?: string;
12310
12939
  }
12940
+ interface FeedDeleted {
12941
+ readonly 'discriminator': 'feed_deleted';
12942
+ readonly 'event_id': string;
12943
+ readonly 'timestamp': string;
12944
+ readonly 'organization_id': string;
12945
+ readonly 'feed': io.flow.marketing.gateway.v0.models.MarketingGatewayFeed;
12946
+ }
12947
+ interface FeedUpserted {
12948
+ readonly 'discriminator': 'feed_upserted';
12949
+ readonly 'event_id': string;
12950
+ readonly 'timestamp': string;
12951
+ readonly 'organization_id': string;
12952
+ readonly 'feed': io.flow.marketing.gateway.v0.models.MarketingGatewayFeed;
12953
+ }
12311
12954
  interface FeedsExport {
12312
12955
  readonly 'discriminator': 'feeds_export';
12313
12956
  readonly 'event_id': string;
@@ -13286,7 +13929,9 @@ declare namespace io.flow.internal.v0.models {
13286
13929
  readonly 'currency': string;
13287
13930
  readonly 'language': string;
13288
13931
  readonly 'feed_source': io.flow.internal.v0.unions.MarketingGatewayFeedSource;
13932
+ readonly 'feed_state': io.flow.internal.v0.enums.MarketingGatewayFeedState;
13289
13933
  readonly 'tsv_download_url': string;
13934
+ readonly 'created_at': string;
13290
13935
  }
13291
13936
  interface MarketingGatewayFeedExportForm {
13292
13937
  readonly 'feed_ids': string[];
@@ -15395,7 +16040,7 @@ declare namespace io.flow.internal.v0.unions {
15395
16040
  type ContentItem = (io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.Label | io.flow.internal.v0.models.Load);
15396
16041
  type DiscountRequestOfferForm = (io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm);
15397
16042
  type DutyExpression = (io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression);
15398
- type Event = (io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MasterTransactionUpserted | io.flow.internal.v0.models.MasterTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedQuoteUpserted | io.flow.internal.v0.models.PregeneratedQuoteDeleted | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.BlacklistedItemCreated | io.flow.internal.v0.models.BlacklistedItemUpdated | io.flow.internal.v0.models.BlacklistedItemDeleted | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.CustomsDescriptionSugestionCreated | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.BatchRateRefillRequest | io.flow.internal.v0.models.RateRefillRequest | io.flow.internal.v0.models.ResyncByHs6Destinations | io.flow.internal.v0.models.ResyncByDestinations | io.flow.internal.v0.models.ResyncFallbackRates | io.flow.internal.v0.models.ResyncByHs6Origin | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2);
16043
+ type Event = (io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MasterTransactionUpserted | io.flow.internal.v0.models.MasterTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedQuoteUpserted | io.flow.internal.v0.models.PregeneratedQuoteDeleted | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.BlacklistedItemCreated | io.flow.internal.v0.models.BlacklistedItemUpdated | io.flow.internal.v0.models.BlacklistedItemDeleted | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.CustomsDescriptionSugestionCreated | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.BatchRateRefillRequest | io.flow.internal.v0.models.RateRefillRequest | io.flow.internal.v0.models.ResyncByHs6Destinations | io.flow.internal.v0.models.ResyncByDestinations | io.flow.internal.v0.models.ResyncFallbackRates | io.flow.internal.v0.models.ResyncByHs6Origin | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2);
15399
16044
  type Experiment = (io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment);
15400
16045
  type ExportSchedule = (io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated);
15401
16046
  type FeatureDefaultValue = (io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue);
@@ -15798,6 +16443,8 @@ export declare type FeatureVariant = io.flow.internal.v0.models.FeatureVariant;
15798
16443
  export declare type FeatureVariantForm = io.flow.internal.v0.models.FeatureVariantForm;
15799
16444
  export declare type FedexCrossborder = io.flow.internal.v0.models.FedexCrossborder;
15800
16445
  export declare type Fee = io.flow.internal.v0.models.Fee;
16446
+ export declare type FeedDeleted = io.flow.internal.v0.models.FeedDeleted;
16447
+ export declare type FeedUpserted = io.flow.internal.v0.models.FeedUpserted;
15801
16448
  export declare type FeedsExport = io.flow.internal.v0.models.FeedsExport;
15802
16449
  export declare type Fees = io.flow.internal.v0.models.Fees;
15803
16450
  export declare type FiservAccount = io.flow.internal.v0.models.FiservAccount;