@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/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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1563
|
-
readonly line_level_discount_allocations
|
|
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
|
|
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
|
|
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
|
|
1946
|
+
readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
1947
1947
|
}
|
|
1948
1948
|
|
|
1949
1949
|
interface ShopifyWebhookOrderCancelled {
|
|
@@ -6673,13 +6673,6 @@ declare namespace io.flow.v0.models {
|
|
|
6673
6673
|
readonly limitations?: io.flow.v0.unions.InputSpecificationLimitation[];
|
|
6674
6674
|
}
|
|
6675
6675
|
|
|
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
6676
|
interface InventoryBackorder {
|
|
6684
6677
|
readonly discriminator: 'inventory_backorder';
|
|
6685
6678
|
readonly quantity: number;
|
|
@@ -7394,6 +7387,24 @@ declare namespace io.flow.v0.models {
|
|
|
7394
7387
|
readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference;
|
|
7395
7388
|
}
|
|
7396
7389
|
|
|
7390
|
+
interface LogoImageSetStatic {
|
|
7391
|
+
readonly discriminator: 'static';
|
|
7392
|
+
readonly small?: io.flow.v0.models.LogoImageStatic;
|
|
7393
|
+
readonly medium: io.flow.v0.models.LogoImageStatic;
|
|
7394
|
+
readonly large?: io.flow.v0.models.LogoImageStatic;
|
|
7395
|
+
}
|
|
7396
|
+
|
|
7397
|
+
interface LogoImageStatic {
|
|
7398
|
+
readonly url: string;
|
|
7399
|
+
readonly width: number;
|
|
7400
|
+
readonly height: number;
|
|
7401
|
+
}
|
|
7402
|
+
|
|
7403
|
+
interface LogoImageSvg {
|
|
7404
|
+
readonly discriminator: 'svg';
|
|
7405
|
+
readonly url: string;
|
|
7406
|
+
}
|
|
7407
|
+
|
|
7397
7408
|
interface Manifest {
|
|
7398
7409
|
readonly id: string;
|
|
7399
7410
|
readonly timestamp: string;
|
|
@@ -8854,6 +8865,7 @@ declare namespace io.flow.v0.models {
|
|
|
8854
8865
|
interface PaymentCaptureForm {
|
|
8855
8866
|
readonly amount?: number;
|
|
8856
8867
|
readonly currency?: string;
|
|
8868
|
+
readonly attributes?: Record<string, string>;
|
|
8857
8869
|
}
|
|
8858
8870
|
|
|
8859
8871
|
interface PaymentCaptureOptionAutomaticImmediate {
|
|
@@ -9094,6 +9106,7 @@ declare namespace io.flow.v0.models {
|
|
|
9094
9106
|
interface PaymentMethodIssuer {
|
|
9095
9107
|
readonly id: string;
|
|
9096
9108
|
readonly name: string;
|
|
9109
|
+
readonly logo?: io.flow.v0.unions.LogoImage;
|
|
9097
9110
|
}
|
|
9098
9111
|
|
|
9099
9112
|
interface PaymentMethodRule {
|
|
@@ -11239,7 +11252,6 @@ declare namespace io.flow.v0.models {
|
|
|
11239
11252
|
readonly organization_reference: io.flow.v0.models.OnboardingOrganizationReference;
|
|
11240
11253
|
readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
|
|
11241
11254
|
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
11242
|
-
readonly indirect_tax_number?: string;
|
|
11243
11255
|
readonly indirect_tax?: io.flow.v0.models.IndirectTax;
|
|
11244
11256
|
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
11245
11257
|
readonly beneficiary?: string;
|
|
@@ -11269,7 +11281,6 @@ declare namespace io.flow.v0.models {
|
|
|
11269
11281
|
interface ShopifyMerchantApplicationForm {
|
|
11270
11282
|
readonly discriminator: 'shopify_merchant_application_form';
|
|
11271
11283
|
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
11272
|
-
readonly indirect_tax_number?: string;
|
|
11273
11284
|
readonly indirect_tax?: io.flow.v0.models.IndirectTax;
|
|
11274
11285
|
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
11275
11286
|
readonly beneficiary?: string;
|
|
@@ -12448,9 +12459,7 @@ declare namespace io.flow.v0.unions {
|
|
|
12448
12459
|
type CheckoutTokenForm =
|
|
12449
12460
|
| io.flow.v0.models.CheckoutTokenOrderForm
|
|
12450
12461
|
| io.flow.v0.models.CheckoutTokenReferenceForm;
|
|
12451
|
-
type ConfirmationDetails =
|
|
12452
|
-
| io.flow.v0.models.DirectDebit
|
|
12453
|
-
| io.flow.v0.models.Installment;
|
|
12462
|
+
type ConfirmationDetails = io.flow.v0.models.DirectDebit;
|
|
12454
12463
|
type ConsumerInvoiceLine =
|
|
12455
12464
|
| io.flow.v0.models.ConsumerInvoiceLineItem
|
|
12456
12465
|
| io.flow.v0.models.ConsumerInvoiceLineDiscount
|
|
@@ -12735,6 +12744,9 @@ declare namespace io.flow.v0.unions {
|
|
|
12735
12744
|
| io.flow.v0.models.LocalizedItemVat
|
|
12736
12745
|
| io.flow.v0.models.LocalizedItemDuty
|
|
12737
12746
|
| io.flow.v0.models.LocalizedTotal;
|
|
12747
|
+
type LogoImage =
|
|
12748
|
+
| io.flow.v0.models.LogoImageSvg
|
|
12749
|
+
| io.flow.v0.models.LogoImageSetStatic;
|
|
12738
12750
|
type MerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
|
|
12739
12751
|
type MerchantApplicationForm =
|
|
12740
12752
|
io.flow.v0.models.ShopifyMerchantApplicationForm;
|
|
@@ -13745,7 +13757,6 @@ export type InputSpecificationLimitationMax =
|
|
|
13745
13757
|
export type InputSpecificationLimitations =
|
|
13746
13758
|
io.flow.v0.models.InputSpecificationLimitations;
|
|
13747
13759
|
export type InputSpecificationType = io.flow.v0.enums.InputSpecificationType;
|
|
13748
|
-
export type Installment = io.flow.v0.models.Installment;
|
|
13749
13760
|
export type InventoryBackorder = io.flow.v0.models.InventoryBackorder;
|
|
13750
13761
|
export type InventoryCenterReference =
|
|
13751
13762
|
io.flow.v0.models.InventoryCenterReference;
|
|
@@ -13864,6 +13875,10 @@ export type LocalizedTranslation = io.flow.v0.models.LocalizedTranslation;
|
|
|
13864
13875
|
export type LocationError = io.flow.v0.models.LocationError;
|
|
13865
13876
|
export type LocationErrorCode = io.flow.v0.enums.LocationErrorCode;
|
|
13866
13877
|
export type LogisticsSettings = io.flow.v0.models.LogisticsSettings;
|
|
13878
|
+
export type LogoImage = io.flow.v0.unions.LogoImage;
|
|
13879
|
+
export type LogoImageSetStatic = io.flow.v0.models.LogoImageSetStatic;
|
|
13880
|
+
export type LogoImageStatic = io.flow.v0.models.LogoImageStatic;
|
|
13881
|
+
export type LogoImageSvg = io.flow.v0.models.LogoImageSvg;
|
|
13867
13882
|
export type Manifest = io.flow.v0.models.Manifest;
|
|
13868
13883
|
export type ManifestForm = io.flow.v0.models.ManifestForm;
|
|
13869
13884
|
export type ManifestedLabelDeleted = io.flow.v0.models.ManifestedLabelDeleted;
|