@flowio/types 11.24.30 → 11.24.31
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 +109 -70
- package/dist/api.d.ts +37 -22
- package/package.json +2 -2
- package/src/api-internal.ts +119 -70
- package/src/api.ts +42 -23
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 {
|
|
@@ -3789,8 +3789,9 @@ declare namespace io.flow.v0.models {
|
|
|
3789
3789
|
readonly company?: string;
|
|
3790
3790
|
}
|
|
3791
3791
|
|
|
3792
|
-
interface
|
|
3792
|
+
interface BillingChannelOrderSummary {
|
|
3793
3793
|
readonly number: string;
|
|
3794
|
+
readonly identifiers?: Record<string, string>;
|
|
3794
3795
|
}
|
|
3795
3796
|
|
|
3796
3797
|
interface BillingChannelPaymentRequestReference {
|
|
@@ -4462,7 +4463,7 @@ declare namespace io.flow.v0.models {
|
|
|
4462
4463
|
|
|
4463
4464
|
interface ChannelTransaction {
|
|
4464
4465
|
readonly id: string;
|
|
4465
|
-
readonly order?: io.flow.v0.models.
|
|
4466
|
+
readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
4466
4467
|
readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
|
|
4467
4468
|
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
4468
4469
|
readonly currency: string;
|
|
@@ -5396,9 +5397,12 @@ declare namespace io.flow.v0.models {
|
|
|
5396
5397
|
|
|
5397
5398
|
interface DirectDebit {
|
|
5398
5399
|
readonly discriminator: 'direct_debit';
|
|
5399
|
-
readonly
|
|
5400
|
-
readonly
|
|
5401
|
-
readonly
|
|
5400
|
+
readonly bank_name?: string;
|
|
5401
|
+
readonly bic?: string;
|
|
5402
|
+
readonly iban?: string;
|
|
5403
|
+
readonly routing_number?: string;
|
|
5404
|
+
readonly last4?: string;
|
|
5405
|
+
readonly account_holder_name?: string;
|
|
5402
5406
|
}
|
|
5403
5407
|
|
|
5404
5408
|
interface Discount {
|
|
@@ -6669,6 +6673,13 @@ declare namespace io.flow.v0.models {
|
|
|
6669
6673
|
readonly limitations?: io.flow.v0.unions.InputSpecificationLimitation[];
|
|
6670
6674
|
}
|
|
6671
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
|
+
|
|
6672
6683
|
interface InventoryBackorder {
|
|
6673
6684
|
readonly discriminator: 'inventory_backorder';
|
|
6674
6685
|
readonly quantity: number;
|
|
@@ -7076,6 +7087,10 @@ declare namespace io.flow.v0.models {
|
|
|
7076
7087
|
readonly total: io.flow.v0.models.PriceWithBase;
|
|
7077
7088
|
}
|
|
7078
7089
|
|
|
7090
|
+
interface KubeHealthcheck {
|
|
7091
|
+
readonly status: string;
|
|
7092
|
+
}
|
|
7093
|
+
|
|
7079
7094
|
interface LabelDeletedV2 {
|
|
7080
7095
|
readonly discriminator: 'label_deleted_v2';
|
|
7081
7096
|
readonly event_id: string;
|
|
@@ -7698,6 +7713,7 @@ declare namespace io.flow.v0.models {
|
|
|
7698
7713
|
readonly expires_at?: string;
|
|
7699
7714
|
readonly base?: io.flow.v0.models.Money;
|
|
7700
7715
|
readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor;
|
|
7716
|
+
readonly confirmation_details?: io.flow.v0.unions.ConfirmationDetails;
|
|
7701
7717
|
}
|
|
7702
7718
|
|
|
7703
7719
|
interface OnlineAuthorizationDeletedV2 {
|
|
@@ -10155,7 +10171,6 @@ declare namespace io.flow.v0.models {
|
|
|
10155
10171
|
readonly discriminator: 'redirect_authorization_details';
|
|
10156
10172
|
readonly id: string;
|
|
10157
10173
|
readonly payment_redirect_url: string;
|
|
10158
|
-
readonly confirmation_details?: io.flow.v0.unions.ConfirmationDetails;
|
|
10159
10174
|
}
|
|
10160
10175
|
|
|
10161
10176
|
interface RedirectAuthorizationForm {
|
|
@@ -12101,7 +12116,7 @@ declare namespace io.flow.v0.models {
|
|
|
12101
12116
|
|
|
12102
12117
|
interface Transaction {
|
|
12103
12118
|
readonly id: string;
|
|
12104
|
-
readonly order?: io.flow.v0.models.
|
|
12119
|
+
readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
12105
12120
|
readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
|
|
12106
12121
|
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
12107
12122
|
readonly currency: string;
|
|
@@ -12433,7 +12448,9 @@ declare namespace io.flow.v0.unions {
|
|
|
12433
12448
|
type CheckoutTokenForm =
|
|
12434
12449
|
| io.flow.v0.models.CheckoutTokenOrderForm
|
|
12435
12450
|
| io.flow.v0.models.CheckoutTokenReferenceForm;
|
|
12436
|
-
type ConfirmationDetails =
|
|
12451
|
+
type ConfirmationDetails =
|
|
12452
|
+
| io.flow.v0.models.DirectDebit
|
|
12453
|
+
| io.flow.v0.models.Installment;
|
|
12437
12454
|
type ConsumerInvoiceLine =
|
|
12438
12455
|
| io.flow.v0.models.ConsumerInvoiceLineItem
|
|
12439
12456
|
| io.flow.v0.models.ConsumerInvoiceLineDiscount
|
|
@@ -13077,8 +13094,8 @@ export type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
|
|
|
13077
13094
|
export type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
|
|
13078
13095
|
export type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
|
|
13079
13096
|
export type BillingAddress = io.flow.v0.models.BillingAddress;
|
|
13080
|
-
export type
|
|
13081
|
-
io.flow.v0.models.
|
|
13097
|
+
export type BillingChannelOrderSummary =
|
|
13098
|
+
io.flow.v0.models.BillingChannelOrderSummary;
|
|
13082
13099
|
export type BillingChannelPaymentRequestReference =
|
|
13083
13100
|
io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
13084
13101
|
export type BillingChannelStatementReference =
|
|
@@ -13728,6 +13745,7 @@ export type InputSpecificationLimitationMax =
|
|
|
13728
13745
|
export type InputSpecificationLimitations =
|
|
13729
13746
|
io.flow.v0.models.InputSpecificationLimitations;
|
|
13730
13747
|
export type InputSpecificationType = io.flow.v0.enums.InputSpecificationType;
|
|
13748
|
+
export type Installment = io.flow.v0.models.Installment;
|
|
13731
13749
|
export type InventoryBackorder = io.flow.v0.models.InventoryBackorder;
|
|
13732
13750
|
export type InventoryCenterReference =
|
|
13733
13751
|
io.flow.v0.models.InventoryCenterReference;
|
|
@@ -13797,6 +13815,7 @@ export type KlarnaSdkAuthorizationResultActionDetails =
|
|
|
13797
13815
|
export type KlaviyoLineItem = io.flow.v0.models.KlaviyoLineItem;
|
|
13798
13816
|
export type KlaviyoOrderContent = io.flow.v0.models.KlaviyoOrderContent;
|
|
13799
13817
|
export type KlaviyoOrderPrices = io.flow.v0.models.KlaviyoOrderPrices;
|
|
13818
|
+
export type KubeHealthcheck = io.flow.v0.models.KubeHealthcheck;
|
|
13800
13819
|
export type LabelDeletedV2 = io.flow.v0.models.LabelDeletedV2;
|
|
13801
13820
|
export type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
|
|
13802
13821
|
export type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
|