@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/dist/api.d.ts CHANGED
@@ -475,7 +475,7 @@ declare namespace io.flow.stripe.v0.models {
475
475
  readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
476
476
  readonly payment_method_types?: string[];
477
477
  readonly receipt_email?: string;
478
- readonly save_payment_method: boolean;
478
+ readonly save_payment_method?: boolean;
479
479
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
480
480
  }
481
481
  interface PaymentIntentForm {
@@ -495,7 +495,7 @@ declare namespace io.flow.stripe.v0.models {
495
495
  readonly payment_method_types?: string[];
496
496
  readonly receipt_email?: string;
497
497
  readonly return_url?: string;
498
- readonly save_payment_method: boolean;
498
+ readonly save_payment_method?: boolean;
499
499
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
500
500
  readonly statement_descriptor?: string;
501
501
  readonly statement_descriptor_suffix?: string;
@@ -511,7 +511,7 @@ declare namespace io.flow.stripe.v0.models {
511
511
  readonly payment_method?: string;
512
512
  readonly payment_method_types?: string[];
513
513
  readonly receipt_email?: string;
514
- readonly save_payment_method: boolean;
514
+ readonly save_payment_method?: boolean;
515
515
  readonly statement_descriptor?: string;
516
516
  readonly statement_descriptor_suffix?: string;
517
517
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
@@ -912,7 +912,7 @@ declare namespace io.flow.shopify.external.v0.models {
912
912
  interface Product {
913
913
  readonly id: number;
914
914
  readonly handle: string;
915
- readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
915
+ readonly variants?: io.flow.shopify.external.v0.models.ProductVariant[];
916
916
  readonly images: io.flow.shopify.external.v0.models.ProductImage[];
917
917
  readonly title: string;
918
918
  readonly vendor?: string;
@@ -1067,7 +1067,7 @@ declare namespace io.flow.shopify.external.v0.models {
1067
1067
  readonly title: string;
1068
1068
  }
1069
1069
  interface ShopifyClientDetail {
1070
- readonly accept_language: boolean;
1070
+ readonly accept_language?: boolean;
1071
1071
  readonly browser_height?: number;
1072
1072
  readonly browser_ip?: string;
1073
1073
  readonly browser_width?: number;
@@ -1082,7 +1082,7 @@ declare namespace io.flow.shopify.external.v0.models {
1082
1082
  readonly tax_exempt: boolean;
1083
1083
  readonly verified_email: boolean;
1084
1084
  readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
1085
- readonly accepts_marketing: boolean;
1085
+ readonly accepts_marketing?: boolean;
1086
1086
  readonly default_address?: any;
1087
1087
  readonly email?: string;
1088
1088
  readonly first_name?: string;
@@ -1154,7 +1154,7 @@ declare namespace io.flow.shopify.external.v0.models {
1154
1154
  readonly requires_shipping: boolean;
1155
1155
  readonly currency?: string;
1156
1156
  readonly items: io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
1157
- readonly cart_level_discount_applications: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
1157
+ readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
1158
1158
  }
1159
1159
  interface ShopifyExternalCartItem {
1160
1160
  readonly id: number;
@@ -1168,7 +1168,7 @@ declare namespace io.flow.shopify.external.v0.models {
1168
1168
  readonly original_line_price: number;
1169
1169
  readonly total_discount: number;
1170
1170
  readonly discounted_price: number;
1171
- readonly discounts: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
1171
+ readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
1172
1172
  readonly taxable: boolean;
1173
1173
  readonly quantity: number;
1174
1174
  readonly sku?: string;
@@ -1186,8 +1186,8 @@ declare namespace io.flow.shopify.external.v0.models {
1186
1186
  readonly product_description?: string;
1187
1187
  readonly product_type: string;
1188
1188
  readonly variant_title?: string;
1189
- readonly variant_options: string[];
1190
- readonly line_level_discount_allocations: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
1189
+ readonly variant_options?: string[];
1190
+ readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
1191
1191
  }
1192
1192
  interface ShopifyFulfillment {
1193
1193
  readonly location_id: number;
@@ -1407,11 +1407,11 @@ declare namespace io.flow.shopify.external.v0.models {
1407
1407
  readonly updated_at?: string;
1408
1408
  readonly user_id?: number;
1409
1409
  readonly order_status_url?: string;
1410
- readonly inventory_behaviour: io.flow.shopify.external.v0.enums.InventoryBehaviour;
1410
+ readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
1411
1411
  readonly gateway?: string;
1412
1412
  readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
1413
1413
  readonly send_receipt?: boolean;
1414
- readonly metafields: io.flow.shopify.external.v0.models.MetafieldForm[];
1414
+ readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
1415
1415
  }
1416
1416
  interface ShopifyOrderCount {
1417
1417
  readonly count: number;
@@ -1532,7 +1532,7 @@ declare namespace io.flow.shopify.external.v0.models {
1532
1532
  }
1533
1533
  interface ShopifyWebhookOrder {
1534
1534
  readonly id?: number;
1535
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
1535
+ readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
1536
1536
  }
1537
1537
  interface ShopifyWebhookOrderCancelled {
1538
1538
  readonly id: number;
@@ -1665,7 +1665,7 @@ declare namespace io.flow.v0.enums {
1665
1665
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
1666
1666
  type Capability = 'crossdock';
1667
1667
  type CaptureDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
1668
- type CaptureStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
1668
+ type CaptureStatus = 'initiated' | 'pending' | 'succeeded' | 'failed' | 'canceled';
1669
1669
  type CardErrorCode = 'invalid_address' | 'invalid_currency' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_token_type' | 'avs' | 'cvv' | 'fraud' | 'unknown';
1670
1670
  type CardType = 'american_express' | 'cartes_bancaires' | 'china_union_pay' | 'dankort' | 'diners_club' | 'discover' | 'jcb' | 'maestro' | 'mastercard' | 'visa';
1671
1671
  type CenterCapability = 'international' | 'domestic' | 'crossdock' | 'commercial_invoice';
@@ -1760,6 +1760,7 @@ declare namespace io.flow.v0.enums {
1760
1760
  type OrderType = 'standard' | 'replacement';
1761
1761
  type OrganizationPaymentMethodTag = 'deny';
1762
1762
  type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
1763
+ type OrganizationType = 'standalone' | 'channel';
1763
1764
  type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
1764
1765
  type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
1765
1766
  type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
@@ -2490,6 +2491,15 @@ declare namespace io.flow.v0.models {
2490
2491
  readonly organization: string;
2491
2492
  readonly b2b_invoice: io.flow.v0.models.B2BInvoice;
2492
2493
  }
2494
+ interface BankAccountForm {
2495
+ readonly last4: string;
2496
+ readonly info: io.flow.v0.unions.BankAccountInfo;
2497
+ }
2498
+ interface BankAccountInfoUsa {
2499
+ readonly discriminator: 'usa';
2500
+ readonly routing_number: string;
2501
+ readonly account_number: string;
2502
+ }
2493
2503
  interface BehaviorAudit {
2494
2504
  readonly behavior: io.flow.v0.enums.FlowBehavior;
2495
2505
  readonly authentication_techniques: io.flow.v0.enums.AuthenticationTechnique[];
@@ -2505,9 +2515,13 @@ declare namespace io.flow.v0.models {
2505
2515
  readonly company?: string;
2506
2516
  }
2507
2517
  interface BillingChannelOrderSummary {
2518
+ readonly organization: io.flow.v0.models.BillingChannelOrganizationSummary;
2508
2519
  readonly number: string;
2509
2520
  readonly identifiers?: Record<string, string>;
2510
2521
  }
2522
+ interface BillingChannelOrganizationSummary {
2523
+ readonly id: string;
2524
+ }
2511
2525
  interface BillingChannelPaymentRequestReference {
2512
2526
  readonly id: string;
2513
2527
  readonly reference?: string;
@@ -4976,12 +4990,6 @@ declare namespace io.flow.v0.models {
4976
4990
  interface InputSpecificationLimitations {
4977
4991
  readonly limitations?: io.flow.v0.unions.InputSpecificationLimitation[];
4978
4992
  }
4979
- interface Installment {
4980
- readonly discriminator: 'installment';
4981
- readonly first_name?: string;
4982
- readonly last_name?: string;
4983
- readonly response_code?: string;
4984
- }
4985
4993
  interface InventoryBackorder {
4986
4994
  readonly discriminator: 'inventory_backorder';
4987
4995
  readonly quantity: number;
@@ -5598,6 +5606,21 @@ declare namespace io.flow.v0.models {
5598
5606
  interface LogisticsSettings {
5599
5607
  readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference;
5600
5608
  }
5609
+ interface LogoImageSetStatic {
5610
+ readonly discriminator: 'static';
5611
+ readonly small?: io.flow.v0.models.LogoImageStatic;
5612
+ readonly medium: io.flow.v0.models.LogoImageStatic;
5613
+ readonly large?: io.flow.v0.models.LogoImageStatic;
5614
+ }
5615
+ interface LogoImageStatic {
5616
+ readonly url: string;
5617
+ readonly width: number;
5618
+ readonly height: number;
5619
+ }
5620
+ interface LogoImageSvg {
5621
+ readonly discriminator: 'svg';
5622
+ readonly url: string;
5623
+ }
5601
5624
  interface Manifest {
5602
5625
  readonly id: string;
5603
5626
  readonly timestamp: string;
@@ -6571,6 +6594,7 @@ declare namespace io.flow.v0.models {
6571
6594
  readonly defaults?: io.flow.v0.models.OrganizationDefaults;
6572
6595
  readonly created_at?: string;
6573
6596
  readonly status?: io.flow.v0.enums.OrganizationStatus;
6597
+ readonly type?: io.flow.v0.enums.OrganizationType;
6574
6598
  }
6575
6599
  interface OrganizationAuthorization {
6576
6600
  readonly role?: io.flow.v0.enums.Role;
@@ -6580,6 +6604,10 @@ declare namespace io.flow.v0.models {
6580
6604
  readonly organization: string;
6581
6605
  readonly environment: io.flow.v0.enums.Environment;
6582
6606
  }
6607
+ interface OrganizationBankAccount {
6608
+ readonly id: string;
6609
+ readonly last4: string;
6610
+ }
6583
6611
  interface OrganizationConfigurationReference {
6584
6612
  readonly id: string;
6585
6613
  }
@@ -6852,6 +6880,7 @@ declare namespace io.flow.v0.models {
6852
6880
  interface PaymentCaptureForm {
6853
6881
  readonly amount?: number;
6854
6882
  readonly currency?: string;
6883
+ readonly attributes?: Record<string, string>;
6855
6884
  }
6856
6885
  interface PaymentCaptureOptionAutomaticImmediate {
6857
6886
  readonly type: 'automatic_immediate';
@@ -7051,6 +7080,7 @@ declare namespace io.flow.v0.models {
7051
7080
  interface PaymentMethodIssuer {
7052
7081
  readonly id: string;
7053
7082
  readonly name: string;
7083
+ readonly logo?: io.flow.v0.unions.LogoImage;
7054
7084
  }
7055
7085
  interface PaymentMethodRule {
7056
7086
  readonly tags: io.flow.v0.unions.PaymentMethodTag[];
@@ -8897,7 +8927,6 @@ declare namespace io.flow.v0.models {
8897
8927
  readonly organization_reference: io.flow.v0.models.OnboardingOrganizationReference;
8898
8928
  readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
8899
8929
  readonly company?: io.flow.v0.models.MerchantInfo;
8900
- readonly indirect_tax_number?: string;
8901
8930
  readonly indirect_tax?: io.flow.v0.models.IndirectTax;
8902
8931
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
8903
8932
  readonly beneficiary?: string;
@@ -8926,7 +8955,6 @@ declare namespace io.flow.v0.models {
8926
8955
  interface ShopifyMerchantApplicationForm {
8927
8956
  readonly discriminator: 'shopify_merchant_application_form';
8928
8957
  readonly company?: io.flow.v0.models.MerchantInfo;
8929
- readonly indirect_tax_number?: string;
8930
8958
  readonly indirect_tax?: io.flow.v0.models.IndirectTax;
8931
8959
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
8932
8960
  readonly beneficiary?: string;
@@ -9900,11 +9928,12 @@ declare namespace io.flow.v0.unions {
9900
9928
  type AuthorizationResultAction = io.flow.v0.models.AuthorizationResultActionGet | io.flow.v0.models.AuthorizationResultActionPost | io.flow.v0.models.AuthorizationResultActionWait | io.flow.v0.models.AuthorizationResultActionNative;
9901
9929
  type AuthorizationResultActionDetails = io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails | io.flow.v0.models.ThreedsIdentifyActionDetails | io.flow.v0.models.ThreedsChallengeActionDetails | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails | io.flow.v0.models.SelectIssuerOptionActionDetails;
9902
9930
  type AvailableFilter = io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured;
9931
+ type BankAccountInfo = io.flow.v0.models.BankAccountInfoUsa;
9903
9932
  type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
9904
9933
  type CardAuthorizationActionResult = io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4;
9905
9934
  type CardNumber = io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher;
9906
9935
  type CheckoutTokenForm = io.flow.v0.models.CheckoutTokenOrderForm | io.flow.v0.models.CheckoutTokenReferenceForm;
9907
- type ConfirmationDetails = io.flow.v0.models.DirectDebit | io.flow.v0.models.Installment;
9936
+ type ConfirmationDetails = io.flow.v0.models.DirectDebit;
9908
9937
  type ConsumerInvoiceLine = io.flow.v0.models.ConsumerInvoiceLineItem | io.flow.v0.models.ConsumerInvoiceLineDiscount | io.flow.v0.models.ConsumerInvoiceLineShipping;
9909
9938
  type ConsumerInvoiceLineForm = io.flow.v0.models.ConsumerInvoiceLineItemForm | io.flow.v0.models.ConsumerInvoiceLineDiscountForm | io.flow.v0.models.ConsumerInvoiceLineShippingForm;
9910
9939
  type Delivery = io.flow.v0.models.DigitalDelivery | io.flow.v0.models.PhysicalDelivery;
@@ -9934,6 +9963,7 @@ declare namespace io.flow.v0.unions {
9934
9963
  type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
9935
9964
  type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited | io.flow.v0.models.InventoryFollowEcommercePlatform;
9936
9965
  type LocalizedPrice = io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal;
9966
+ type LogoImage = io.flow.v0.models.LogoImageSvg | io.flow.v0.models.LogoImageSetStatic;
9937
9967
  type MerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
9938
9968
  type MerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
9939
9969
  type MerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm;
@@ -10119,9 +10149,13 @@ export declare type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
10119
10149
  export declare type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
10120
10150
  export declare type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
10121
10151
  export declare type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
10152
+ export declare type BankAccountForm = io.flow.v0.models.BankAccountForm;
10153
+ export declare type BankAccountInfo = io.flow.v0.unions.BankAccountInfo;
10154
+ export declare type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
10122
10155
  export declare type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
10123
10156
  export declare type BillingAddress = io.flow.v0.models.BillingAddress;
10124
10157
  export declare type BillingChannelOrderSummary = io.flow.v0.models.BillingChannelOrderSummary;
10158
+ export declare type BillingChannelOrganizationSummary = io.flow.v0.models.BillingChannelOrganizationSummary;
10125
10159
  export declare type BillingChannelPaymentRequestReference = io.flow.v0.models.BillingChannelPaymentRequestReference;
10126
10160
  export declare type BillingChannelStatementReference = io.flow.v0.models.BillingChannelStatementReference;
10127
10161
  export declare type BridgeManifest = io.flow.v0.models.BridgeManifest;
@@ -10629,7 +10663,6 @@ export declare type InputSpecificationLimitation = io.flow.v0.unions.InputSpecif
10629
10663
  export declare type InputSpecificationLimitationMax = io.flow.v0.models.InputSpecificationLimitationMax;
10630
10664
  export declare type InputSpecificationLimitations = io.flow.v0.models.InputSpecificationLimitations;
10631
10665
  export declare type InputSpecificationType = io.flow.v0.enums.InputSpecificationType;
10632
- export declare type Installment = io.flow.v0.models.Installment;
10633
10666
  export declare type InventoryBackorder = io.flow.v0.models.InventoryBackorder;
10634
10667
  export declare type InventoryCenterReference = io.flow.v0.models.InventoryCenterReference;
10635
10668
  export declare type InventoryCheckResponse = io.flow.v0.models.InventoryCheckResponse;
@@ -10738,6 +10771,10 @@ export declare type LocalizedTranslation = io.flow.v0.models.LocalizedTranslatio
10738
10771
  export declare type LocationError = io.flow.v0.models.LocationError;
10739
10772
  export declare type LocationErrorCode = io.flow.v0.enums.LocationErrorCode;
10740
10773
  export declare type LogisticsSettings = io.flow.v0.models.LogisticsSettings;
10774
+ export declare type LogoImage = io.flow.v0.unions.LogoImage;
10775
+ export declare type LogoImageSetStatic = io.flow.v0.models.LogoImageSetStatic;
10776
+ export declare type LogoImageStatic = io.flow.v0.models.LogoImageStatic;
10777
+ export declare type LogoImageSvg = io.flow.v0.models.LogoImageSvg;
10741
10778
  export declare type Manifest = io.flow.v0.models.Manifest;
10742
10779
  export declare type ManifestForm = io.flow.v0.models.ManifestForm;
10743
10780
  export declare type ManifestedLabelDeleted = io.flow.v0.models.ManifestedLabelDeleted;
@@ -10930,6 +10967,7 @@ export declare type OrderWithDiscountsForm = io.flow.v0.models.OrderWithDiscount
10930
10967
  export declare type Organization = io.flow.v0.models.Organization;
10931
10968
  export declare type OrganizationAuthorization = io.flow.v0.models.OrganizationAuthorization;
10932
10969
  export declare type OrganizationAuthorizationForm = io.flow.v0.models.OrganizationAuthorizationForm;
10970
+ export declare type OrganizationBankAccount = io.flow.v0.models.OrganizationBankAccount;
10933
10971
  export declare type OrganizationConfigurationReference = io.flow.v0.models.OrganizationConfigurationReference;
10934
10972
  export declare type OrganizationDefaultConfigurations = io.flow.v0.models.OrganizationDefaultConfigurations;
10935
10973
  export declare type OrganizationDefaultConfigurationsDeleted = io.flow.v0.models.OrganizationDefaultConfigurationsDeleted;
@@ -10954,6 +10992,7 @@ export declare type OrganizationTokenFormV2 = io.flow.v0.models.OrganizationToke
10954
10992
  export declare type OrganizationTokenReference = io.flow.v0.models.OrganizationTokenReference;
10955
10993
  export declare type OrganizationTokenV2 = io.flow.v0.models.OrganizationTokenV2;
10956
10994
  export declare type OrganizationTokenV2Reference = io.flow.v0.models.OrganizationTokenV2Reference;
10995
+ export declare type OrganizationType = io.flow.v0.enums.OrganizationType;
10957
10996
  export declare type OrganizationUpserted = io.flow.v0.models.OrganizationUpserted;
10958
10997
  export declare type OrganizationUpsertedV2 = io.flow.v0.models.OrganizationUpsertedV2;
10959
10998
  export declare type OrganizationVersion = io.flow.v0.models.OrganizationVersion;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.32",
3
+ "version": "11.24.34",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "0b59892becdb40eec69421102a36d36af1e0533c"
28
+ "gitHead": "399cb840175d3c48f62099e1ade1464c2cdfe0c1"
29
29
  }