@flowio/types 11.24.32 → 11.24.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.ts CHANGED
@@ -668,7 +668,7 @@ declare namespace io.flow.stripe.v0.models {
668
668
  readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
669
669
  readonly payment_method_types?: string[];
670
670
  readonly receipt_email?: string;
671
- readonly save_payment_method: boolean;
671
+ readonly save_payment_method?: boolean;
672
672
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
673
673
  }
674
674
 
@@ -689,7 +689,7 @@ declare namespace io.flow.stripe.v0.models {
689
689
  readonly payment_method_types?: string[];
690
690
  readonly receipt_email?: string;
691
691
  readonly return_url?: string;
692
- readonly save_payment_method: boolean;
692
+ readonly save_payment_method?: boolean;
693
693
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
694
694
  readonly statement_descriptor?: string;
695
695
  readonly statement_descriptor_suffix?: string;
@@ -706,7 +706,7 @@ declare namespace io.flow.stripe.v0.models {
706
706
  readonly payment_method?: string;
707
707
  readonly payment_method_types?: string[];
708
708
  readonly receipt_email?: string;
709
- readonly save_payment_method: boolean;
709
+ readonly save_payment_method?: boolean;
710
710
  readonly statement_descriptor?: string;
711
711
  readonly statement_descriptor_suffix?: string;
712
712
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
@@ -1246,7 +1246,7 @@ declare namespace io.flow.shopify.external.v0.models {
1246
1246
  interface Product {
1247
1247
  readonly id: number;
1248
1248
  readonly handle: string;
1249
- readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
1249
+ readonly variants?: io.flow.shopify.external.v0.models.ProductVariant[];
1250
1250
  readonly images: io.flow.shopify.external.v0.models.ProductImage[];
1251
1251
  readonly title: string;
1252
1252
  readonly vendor?: string;
@@ -1431,7 +1431,7 @@ declare namespace io.flow.shopify.external.v0.models {
1431
1431
  }
1432
1432
 
1433
1433
  interface ShopifyClientDetail {
1434
- readonly accept_language: boolean;
1434
+ readonly accept_language?: boolean;
1435
1435
  readonly browser_height?: number;
1436
1436
  readonly browser_ip?: string;
1437
1437
  readonly browser_width?: number;
@@ -1447,7 +1447,7 @@ declare namespace io.flow.shopify.external.v0.models {
1447
1447
  readonly tax_exempt: boolean;
1448
1448
  readonly verified_email: boolean;
1449
1449
  readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
1450
- readonly accepts_marketing: boolean;
1450
+ readonly accepts_marketing?: boolean;
1451
1451
  readonly default_address?: any /*object*/;
1452
1452
  readonly email?: string;
1453
1453
  readonly first_name?: string;
@@ -1526,7 +1526,7 @@ declare namespace io.flow.shopify.external.v0.models {
1526
1526
  readonly requires_shipping: boolean;
1527
1527
  readonly currency?: string;
1528
1528
  readonly items: io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
1529
- readonly cart_level_discount_applications: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
1529
+ readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
1530
1530
  }
1531
1531
 
1532
1532
  interface ShopifyExternalCartItem {
@@ -1541,7 +1541,7 @@ declare namespace io.flow.shopify.external.v0.models {
1541
1541
  readonly original_line_price: number;
1542
1542
  readonly total_discount: number;
1543
1543
  readonly discounted_price: number;
1544
- readonly discounts: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
1544
+ readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
1545
1545
  readonly taxable: boolean;
1546
1546
  readonly quantity: number;
1547
1547
  readonly sku?: string;
@@ -1559,8 +1559,8 @@ declare namespace io.flow.shopify.external.v0.models {
1559
1559
  readonly product_description?: string;
1560
1560
  readonly product_type: string;
1561
1561
  readonly variant_title?: string;
1562
- readonly variant_options: string[];
1563
- readonly line_level_discount_allocations: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
1562
+ readonly variant_options?: string[];
1563
+ readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
1564
1564
  }
1565
1565
 
1566
1566
  interface ShopifyFulfillment {
@@ -1801,11 +1801,11 @@ declare namespace io.flow.shopify.external.v0.models {
1801
1801
  readonly updated_at?: string;
1802
1802
  readonly user_id?: number;
1803
1803
  readonly order_status_url?: string;
1804
- readonly inventory_behaviour: io.flow.shopify.external.v0.enums.InventoryBehaviour;
1804
+ readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
1805
1805
  readonly gateway?: string;
1806
1806
  readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
1807
1807
  readonly send_receipt?: boolean;
1808
- readonly metafields: io.flow.shopify.external.v0.models.MetafieldForm[];
1808
+ readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
1809
1809
  }
1810
1810
 
1811
1811
  interface ShopifyOrderCount {
@@ -1943,7 +1943,7 @@ declare namespace io.flow.shopify.external.v0.models {
1943
1943
 
1944
1944
  interface ShopifyWebhookOrder {
1945
1945
  readonly id?: number;
1946
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
1946
+ readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
1947
1947
  }
1948
1948
 
1949
1949
  interface ShopifyWebhookOrderCancelled {
@@ -2184,7 +2184,12 @@ declare namespace io.flow.v0.enums {
2184
2184
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
2185
2185
  type Capability = 'crossdock';
2186
2186
  type CaptureDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
2187
- type CaptureStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
2187
+ type CaptureStatus =
2188
+ | 'initiated'
2189
+ | 'pending'
2190
+ | 'succeeded'
2191
+ | 'failed'
2192
+ | 'canceled';
2188
2193
  type CardErrorCode =
2189
2194
  | 'invalid_address'
2190
2195
  | 'invalid_currency'
@@ -2724,6 +2729,7 @@ declare namespace io.flow.v0.enums {
2724
2729
  | 'inactive'
2725
2730
  | 'deactivated'
2726
2731
  | 'provisioned';
2732
+ type OrganizationType = 'standalone' | 'channel';
2727
2733
  type PaymentActionType =
2728
2734
  | 'redirect'
2729
2735
  | 'redirect_get'
@@ -3773,6 +3779,17 @@ declare namespace io.flow.v0.models {
3773
3779
  readonly b2b_invoice: io.flow.v0.models.B2BInvoice;
3774
3780
  }
3775
3781
 
3782
+ interface BankAccountForm {
3783
+ readonly last4: string;
3784
+ readonly info: io.flow.v0.unions.BankAccountInfo;
3785
+ }
3786
+
3787
+ interface BankAccountInfoUsa {
3788
+ readonly discriminator: 'usa';
3789
+ readonly routing_number: string;
3790
+ readonly account_number: string;
3791
+ }
3792
+
3776
3793
  interface BehaviorAudit {
3777
3794
  readonly behavior: io.flow.v0.enums.FlowBehavior;
3778
3795
  readonly authentication_techniques: io.flow.v0.enums.AuthenticationTechnique[];
@@ -3790,10 +3807,15 @@ declare namespace io.flow.v0.models {
3790
3807
  }
3791
3808
 
3792
3809
  interface BillingChannelOrderSummary {
3810
+ readonly organization: io.flow.v0.models.BillingChannelOrganizationSummary;
3793
3811
  readonly number: string;
3794
3812
  readonly identifiers?: Record<string, string>;
3795
3813
  }
3796
3814
 
3815
+ interface BillingChannelOrganizationSummary {
3816
+ readonly id: string;
3817
+ }
3818
+
3797
3819
  interface BillingChannelPaymentRequestReference {
3798
3820
  readonly id: string;
3799
3821
  readonly reference?: string;
@@ -6673,13 +6695,6 @@ declare namespace io.flow.v0.models {
6673
6695
  readonly limitations?: io.flow.v0.unions.InputSpecificationLimitation[];
6674
6696
  }
6675
6697
 
6676
- interface Installment {
6677
- readonly discriminator: 'installment';
6678
- readonly first_name?: string;
6679
- readonly last_name?: string;
6680
- readonly response_code?: string;
6681
- }
6682
-
6683
6698
  interface InventoryBackorder {
6684
6699
  readonly discriminator: 'inventory_backorder';
6685
6700
  readonly quantity: number;
@@ -7394,6 +7409,24 @@ declare namespace io.flow.v0.models {
7394
7409
  readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference;
7395
7410
  }
7396
7411
 
7412
+ interface LogoImageSetStatic {
7413
+ readonly discriminator: 'static';
7414
+ readonly small?: io.flow.v0.models.LogoImageStatic;
7415
+ readonly medium: io.flow.v0.models.LogoImageStatic;
7416
+ readonly large?: io.flow.v0.models.LogoImageStatic;
7417
+ }
7418
+
7419
+ interface LogoImageStatic {
7420
+ readonly url: string;
7421
+ readonly width: number;
7422
+ readonly height: number;
7423
+ }
7424
+
7425
+ interface LogoImageSvg {
7426
+ readonly discriminator: 'svg';
7427
+ readonly url: string;
7428
+ }
7429
+
7397
7430
  interface Manifest {
7398
7431
  readonly id: string;
7399
7432
  readonly timestamp: string;
@@ -8526,6 +8559,7 @@ declare namespace io.flow.v0.models {
8526
8559
  readonly defaults?: io.flow.v0.models.OrganizationDefaults;
8527
8560
  readonly created_at?: string;
8528
8561
  readonly status?: io.flow.v0.enums.OrganizationStatus;
8562
+ readonly type?: io.flow.v0.enums.OrganizationType;
8529
8563
  }
8530
8564
 
8531
8565
  interface OrganizationAuthorization {
@@ -8538,6 +8572,11 @@ declare namespace io.flow.v0.models {
8538
8572
  readonly environment: io.flow.v0.enums.Environment;
8539
8573
  }
8540
8574
 
8575
+ interface OrganizationBankAccount {
8576
+ readonly id: string;
8577
+ readonly last4: string;
8578
+ }
8579
+
8541
8580
  interface OrganizationConfigurationReference {
8542
8581
  readonly id: string;
8543
8582
  }
@@ -8854,6 +8893,7 @@ declare namespace io.flow.v0.models {
8854
8893
  interface PaymentCaptureForm {
8855
8894
  readonly amount?: number;
8856
8895
  readonly currency?: string;
8896
+ readonly attributes?: Record<string, string>;
8857
8897
  }
8858
8898
 
8859
8899
  interface PaymentCaptureOptionAutomaticImmediate {
@@ -9094,6 +9134,7 @@ declare namespace io.flow.v0.models {
9094
9134
  interface PaymentMethodIssuer {
9095
9135
  readonly id: string;
9096
9136
  readonly name: string;
9137
+ readonly logo?: io.flow.v0.unions.LogoImage;
9097
9138
  }
9098
9139
 
9099
9140
  interface PaymentMethodRule {
@@ -11239,7 +11280,6 @@ declare namespace io.flow.v0.models {
11239
11280
  readonly organization_reference: io.flow.v0.models.OnboardingOrganizationReference;
11240
11281
  readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
11241
11282
  readonly company?: io.flow.v0.models.MerchantInfo;
11242
- readonly indirect_tax_number?: string;
11243
11283
  readonly indirect_tax?: io.flow.v0.models.IndirectTax;
11244
11284
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
11245
11285
  readonly beneficiary?: string;
@@ -11269,7 +11309,6 @@ declare namespace io.flow.v0.models {
11269
11309
  interface ShopifyMerchantApplicationForm {
11270
11310
  readonly discriminator: 'shopify_merchant_application_form';
11271
11311
  readonly company?: io.flow.v0.models.MerchantInfo;
11272
- readonly indirect_tax_number?: string;
11273
11312
  readonly indirect_tax?: io.flow.v0.models.IndirectTax;
11274
11313
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
11275
11314
  readonly beneficiary?: string;
@@ -12437,6 +12476,7 @@ declare namespace io.flow.v0.unions {
12437
12476
  type AvailableFilter =
12438
12477
  | io.flow.v0.models.AvailableFilterStructured
12439
12478
  | io.flow.v0.models.AvailableFilterUnstructured;
12479
+ type BankAccountInfo = io.flow.v0.models.BankAccountInfoUsa;
12440
12480
  type BrowserActionConfiguration =
12441
12481
  io.flow.v0.models.CardBrowserActionConfiguration;
12442
12482
  type CardAuthorizationActionResult =
@@ -12448,9 +12488,7 @@ declare namespace io.flow.v0.unions {
12448
12488
  type CheckoutTokenForm =
12449
12489
  | io.flow.v0.models.CheckoutTokenOrderForm
12450
12490
  | io.flow.v0.models.CheckoutTokenReferenceForm;
12451
- type ConfirmationDetails =
12452
- | io.flow.v0.models.DirectDebit
12453
- | io.flow.v0.models.Installment;
12491
+ type ConfirmationDetails = io.flow.v0.models.DirectDebit;
12454
12492
  type ConsumerInvoiceLine =
12455
12493
  | io.flow.v0.models.ConsumerInvoiceLineItem
12456
12494
  | io.flow.v0.models.ConsumerInvoiceLineDiscount
@@ -12735,6 +12773,9 @@ declare namespace io.flow.v0.unions {
12735
12773
  | io.flow.v0.models.LocalizedItemVat
12736
12774
  | io.flow.v0.models.LocalizedItemDuty
12737
12775
  | io.flow.v0.models.LocalizedTotal;
12776
+ type LogoImage =
12777
+ | io.flow.v0.models.LogoImageSvg
12778
+ | io.flow.v0.models.LogoImageSetStatic;
12738
12779
  type MerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
12739
12780
  type MerchantApplicationForm =
12740
12781
  io.flow.v0.models.ShopifyMerchantApplicationForm;
@@ -13092,10 +13133,15 @@ export type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
13092
13133
  export type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
13093
13134
  export type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
13094
13135
  export type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
13136
+ export type BankAccountForm = io.flow.v0.models.BankAccountForm;
13137
+ export type BankAccountInfo = io.flow.v0.unions.BankAccountInfo;
13138
+ export type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
13095
13139
  export type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
13096
13140
  export type BillingAddress = io.flow.v0.models.BillingAddress;
13097
13141
  export type BillingChannelOrderSummary =
13098
13142
  io.flow.v0.models.BillingChannelOrderSummary;
13143
+ export type BillingChannelOrganizationSummary =
13144
+ io.flow.v0.models.BillingChannelOrganizationSummary;
13099
13145
  export type BillingChannelPaymentRequestReference =
13100
13146
  io.flow.v0.models.BillingChannelPaymentRequestReference;
13101
13147
  export type BillingChannelStatementReference =
@@ -13745,7 +13791,6 @@ export type InputSpecificationLimitationMax =
13745
13791
  export type InputSpecificationLimitations =
13746
13792
  io.flow.v0.models.InputSpecificationLimitations;
13747
13793
  export type InputSpecificationType = io.flow.v0.enums.InputSpecificationType;
13748
- export type Installment = io.flow.v0.models.Installment;
13749
13794
  export type InventoryBackorder = io.flow.v0.models.InventoryBackorder;
13750
13795
  export type InventoryCenterReference =
13751
13796
  io.flow.v0.models.InventoryCenterReference;
@@ -13864,6 +13909,10 @@ export type LocalizedTranslation = io.flow.v0.models.LocalizedTranslation;
13864
13909
  export type LocationError = io.flow.v0.models.LocationError;
13865
13910
  export type LocationErrorCode = io.flow.v0.enums.LocationErrorCode;
13866
13911
  export type LogisticsSettings = io.flow.v0.models.LogisticsSettings;
13912
+ export type LogoImage = io.flow.v0.unions.LogoImage;
13913
+ export type LogoImageSetStatic = io.flow.v0.models.LogoImageSetStatic;
13914
+ export type LogoImageStatic = io.flow.v0.models.LogoImageStatic;
13915
+ export type LogoImageSvg = io.flow.v0.models.LogoImageSvg;
13867
13916
  export type Manifest = io.flow.v0.models.Manifest;
13868
13917
  export type ManifestForm = io.flow.v0.models.ManifestForm;
13869
13918
  export type ManifestedLabelDeleted = io.flow.v0.models.ManifestedLabelDeleted;
@@ -14116,6 +14165,7 @@ export type OrganizationAuthorization =
14116
14165
  io.flow.v0.models.OrganizationAuthorization;
14117
14166
  export type OrganizationAuthorizationForm =
14118
14167
  io.flow.v0.models.OrganizationAuthorizationForm;
14168
+ export type OrganizationBankAccount = io.flow.v0.models.OrganizationBankAccount;
14119
14169
  export type OrganizationConfigurationReference =
14120
14170
  io.flow.v0.models.OrganizationConfigurationReference;
14121
14171
  export type OrganizationDefaultConfigurations =
@@ -14150,6 +14200,7 @@ export type OrganizationTokenReference =
14150
14200
  export type OrganizationTokenV2 = io.flow.v0.models.OrganizationTokenV2;
14151
14201
  export type OrganizationTokenV2Reference =
14152
14202
  io.flow.v0.models.OrganizationTokenV2Reference;
14203
+ export type OrganizationType = io.flow.v0.enums.OrganizationType;
14153
14204
  export type OrganizationUpserted = io.flow.v0.models.OrganizationUpserted;
14154
14205
  export type OrganizationUpsertedV2 = io.flow.v0.models.OrganizationUpsertedV2;
14155
14206
  export type OrganizationVersion = io.flow.v0.models.OrganizationVersion;