@flowio/types 11.24.31 → 11.24.33
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-internal.d.ts +338 -122
- package/dist/api.d.ts +36 -23
- package/package.json +2 -2
- package/src/api-internal.ts +443 -130
- package/src/api.ts +41 -26
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1190
|
-
readonly line_level_discount_allocations
|
|
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
|
|
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
|
|
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
|
|
1535
|
+
readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
1536
1536
|
}
|
|
1537
1537
|
interface ShopifyWebhookOrderCancelled {
|
|
1538
1538
|
readonly id: number;
|
|
@@ -4976,12 +4976,6 @@ declare namespace io.flow.v0.models {
|
|
|
4976
4976
|
interface InputSpecificationLimitations {
|
|
4977
4977
|
readonly limitations?: io.flow.v0.unions.InputSpecificationLimitation[];
|
|
4978
4978
|
}
|
|
4979
|
-
interface Installment {
|
|
4980
|
-
readonly discriminator: 'installment';
|
|
4981
|
-
readonly first_name?: string;
|
|
4982
|
-
readonly last_name?: string;
|
|
4983
|
-
readonly response_code?: string;
|
|
4984
|
-
}
|
|
4985
4979
|
interface InventoryBackorder {
|
|
4986
4980
|
readonly discriminator: 'inventory_backorder';
|
|
4987
4981
|
readonly quantity: number;
|
|
@@ -5598,6 +5592,21 @@ declare namespace io.flow.v0.models {
|
|
|
5598
5592
|
interface LogisticsSettings {
|
|
5599
5593
|
readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference;
|
|
5600
5594
|
}
|
|
5595
|
+
interface LogoImageSetStatic {
|
|
5596
|
+
readonly discriminator: 'static';
|
|
5597
|
+
readonly small?: io.flow.v0.models.LogoImageStatic;
|
|
5598
|
+
readonly medium: io.flow.v0.models.LogoImageStatic;
|
|
5599
|
+
readonly large?: io.flow.v0.models.LogoImageStatic;
|
|
5600
|
+
}
|
|
5601
|
+
interface LogoImageStatic {
|
|
5602
|
+
readonly url: string;
|
|
5603
|
+
readonly width: number;
|
|
5604
|
+
readonly height: number;
|
|
5605
|
+
}
|
|
5606
|
+
interface LogoImageSvg {
|
|
5607
|
+
readonly discriminator: 'svg';
|
|
5608
|
+
readonly url: string;
|
|
5609
|
+
}
|
|
5601
5610
|
interface Manifest {
|
|
5602
5611
|
readonly id: string;
|
|
5603
5612
|
readonly timestamp: string;
|
|
@@ -6852,6 +6861,7 @@ declare namespace io.flow.v0.models {
|
|
|
6852
6861
|
interface PaymentCaptureForm {
|
|
6853
6862
|
readonly amount?: number;
|
|
6854
6863
|
readonly currency?: string;
|
|
6864
|
+
readonly attributes?: Record<string, string>;
|
|
6855
6865
|
}
|
|
6856
6866
|
interface PaymentCaptureOptionAutomaticImmediate {
|
|
6857
6867
|
readonly type: 'automatic_immediate';
|
|
@@ -7051,6 +7061,7 @@ declare namespace io.flow.v0.models {
|
|
|
7051
7061
|
interface PaymentMethodIssuer {
|
|
7052
7062
|
readonly id: string;
|
|
7053
7063
|
readonly name: string;
|
|
7064
|
+
readonly logo?: io.flow.v0.unions.LogoImage;
|
|
7054
7065
|
}
|
|
7055
7066
|
interface PaymentMethodRule {
|
|
7056
7067
|
readonly tags: io.flow.v0.unions.PaymentMethodTag[];
|
|
@@ -8897,7 +8908,6 @@ declare namespace io.flow.v0.models {
|
|
|
8897
8908
|
readonly organization_reference: io.flow.v0.models.OnboardingOrganizationReference;
|
|
8898
8909
|
readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
|
|
8899
8910
|
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
8900
|
-
readonly indirect_tax_number?: string;
|
|
8901
8911
|
readonly indirect_tax?: io.flow.v0.models.IndirectTax;
|
|
8902
8912
|
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
8903
8913
|
readonly beneficiary?: string;
|
|
@@ -8926,7 +8936,6 @@ declare namespace io.flow.v0.models {
|
|
|
8926
8936
|
interface ShopifyMerchantApplicationForm {
|
|
8927
8937
|
readonly discriminator: 'shopify_merchant_application_form';
|
|
8928
8938
|
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
8929
|
-
readonly indirect_tax_number?: string;
|
|
8930
8939
|
readonly indirect_tax?: io.flow.v0.models.IndirectTax;
|
|
8931
8940
|
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
8932
8941
|
readonly beneficiary?: string;
|
|
@@ -9904,7 +9913,7 @@ declare namespace io.flow.v0.unions {
|
|
|
9904
9913
|
type CardAuthorizationActionResult = io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4;
|
|
9905
9914
|
type CardNumber = io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher;
|
|
9906
9915
|
type CheckoutTokenForm = io.flow.v0.models.CheckoutTokenOrderForm | io.flow.v0.models.CheckoutTokenReferenceForm;
|
|
9907
|
-
type ConfirmationDetails = io.flow.v0.models.DirectDebit
|
|
9916
|
+
type ConfirmationDetails = io.flow.v0.models.DirectDebit;
|
|
9908
9917
|
type ConsumerInvoiceLine = io.flow.v0.models.ConsumerInvoiceLineItem | io.flow.v0.models.ConsumerInvoiceLineDiscount | io.flow.v0.models.ConsumerInvoiceLineShipping;
|
|
9909
9918
|
type ConsumerInvoiceLineForm = io.flow.v0.models.ConsumerInvoiceLineItemForm | io.flow.v0.models.ConsumerInvoiceLineDiscountForm | io.flow.v0.models.ConsumerInvoiceLineShippingForm;
|
|
9910
9919
|
type Delivery = io.flow.v0.models.DigitalDelivery | io.flow.v0.models.PhysicalDelivery;
|
|
@@ -9934,6 +9943,7 @@ declare namespace io.flow.v0.unions {
|
|
|
9934
9943
|
type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
|
|
9935
9944
|
type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited | io.flow.v0.models.InventoryFollowEcommercePlatform;
|
|
9936
9945
|
type LocalizedPrice = io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal;
|
|
9946
|
+
type LogoImage = io.flow.v0.models.LogoImageSvg | io.flow.v0.models.LogoImageSetStatic;
|
|
9937
9947
|
type MerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
|
|
9938
9948
|
type MerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
|
|
9939
9949
|
type MerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm;
|
|
@@ -10629,7 +10639,6 @@ export declare type InputSpecificationLimitation = io.flow.v0.unions.InputSpecif
|
|
|
10629
10639
|
export declare type InputSpecificationLimitationMax = io.flow.v0.models.InputSpecificationLimitationMax;
|
|
10630
10640
|
export declare type InputSpecificationLimitations = io.flow.v0.models.InputSpecificationLimitations;
|
|
10631
10641
|
export declare type InputSpecificationType = io.flow.v0.enums.InputSpecificationType;
|
|
10632
|
-
export declare type Installment = io.flow.v0.models.Installment;
|
|
10633
10642
|
export declare type InventoryBackorder = io.flow.v0.models.InventoryBackorder;
|
|
10634
10643
|
export declare type InventoryCenterReference = io.flow.v0.models.InventoryCenterReference;
|
|
10635
10644
|
export declare type InventoryCheckResponse = io.flow.v0.models.InventoryCheckResponse;
|
|
@@ -10738,6 +10747,10 @@ export declare type LocalizedTranslation = io.flow.v0.models.LocalizedTranslatio
|
|
|
10738
10747
|
export declare type LocationError = io.flow.v0.models.LocationError;
|
|
10739
10748
|
export declare type LocationErrorCode = io.flow.v0.enums.LocationErrorCode;
|
|
10740
10749
|
export declare type LogisticsSettings = io.flow.v0.models.LogisticsSettings;
|
|
10750
|
+
export declare type LogoImage = io.flow.v0.unions.LogoImage;
|
|
10751
|
+
export declare type LogoImageSetStatic = io.flow.v0.models.LogoImageSetStatic;
|
|
10752
|
+
export declare type LogoImageStatic = io.flow.v0.models.LogoImageStatic;
|
|
10753
|
+
export declare type LogoImageSvg = io.flow.v0.models.LogoImageSvg;
|
|
10741
10754
|
export declare type Manifest = io.flow.v0.models.Manifest;
|
|
10742
10755
|
export declare type ManifestForm = io.flow.v0.models.ManifestForm;
|
|
10743
10756
|
export declare type ManifestedLabelDeleted = io.flow.v0.models.ManifestedLabelDeleted;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.33",
|
|
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": "
|
|
28
|
+
"gitHead": "80c4cc10518907f21fe3a93c25bd07b9e8b25429"
|
|
29
29
|
}
|