@flowio/types 11.24.29 → 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 +118 -69
- package/dist/api.d.ts +37 -22
- package/package.json +2 -2
- package/src/api-internal.ts +129 -69
- package/src/api.ts +42 -23
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;
|
|
@@ -2504,8 +2504,9 @@ declare namespace io.flow.v0.models {
|
|
|
2504
2504
|
readonly country?: string;
|
|
2505
2505
|
readonly company?: string;
|
|
2506
2506
|
}
|
|
2507
|
-
interface
|
|
2507
|
+
interface BillingChannelOrderSummary {
|
|
2508
2508
|
readonly number: string;
|
|
2509
|
+
readonly identifiers?: Record<string, string>;
|
|
2509
2510
|
}
|
|
2510
2511
|
interface BillingChannelPaymentRequestReference {
|
|
2511
2512
|
readonly id: string;
|
|
@@ -3086,7 +3087,7 @@ declare namespace io.flow.v0.models {
|
|
|
3086
3087
|
}
|
|
3087
3088
|
interface ChannelTransaction {
|
|
3088
3089
|
readonly id: string;
|
|
3089
|
-
readonly order?: io.flow.v0.models.
|
|
3090
|
+
readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
3090
3091
|
readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
|
|
3091
3092
|
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
3092
3093
|
readonly currency: string;
|
|
@@ -3892,9 +3893,12 @@ declare namespace io.flow.v0.models {
|
|
|
3892
3893
|
}
|
|
3893
3894
|
interface DirectDebit {
|
|
3894
3895
|
readonly discriminator: 'direct_debit';
|
|
3895
|
-
readonly
|
|
3896
|
-
readonly
|
|
3897
|
-
readonly
|
|
3896
|
+
readonly bank_name?: string;
|
|
3897
|
+
readonly bic?: string;
|
|
3898
|
+
readonly iban?: string;
|
|
3899
|
+
readonly routing_number?: string;
|
|
3900
|
+
readonly last4?: string;
|
|
3901
|
+
readonly account_holder_name?: string;
|
|
3898
3902
|
}
|
|
3899
3903
|
interface Discount {
|
|
3900
3904
|
readonly discriminator: 'discount';
|
|
@@ -4972,6 +4976,12 @@ declare namespace io.flow.v0.models {
|
|
|
4972
4976
|
interface InputSpecificationLimitations {
|
|
4973
4977
|
readonly limitations?: io.flow.v0.unions.InputSpecificationLimitation[];
|
|
4974
4978
|
}
|
|
4979
|
+
interface Installment {
|
|
4980
|
+
readonly discriminator: 'installment';
|
|
4981
|
+
readonly first_name?: string;
|
|
4982
|
+
readonly last_name?: string;
|
|
4983
|
+
readonly response_code?: string;
|
|
4984
|
+
}
|
|
4975
4985
|
interface InventoryBackorder {
|
|
4976
4986
|
readonly discriminator: 'inventory_backorder';
|
|
4977
4987
|
readonly quantity: number;
|
|
@@ -5322,6 +5332,9 @@ declare namespace io.flow.v0.models {
|
|
|
5322
5332
|
readonly insurance?: io.flow.v0.models.PriceWithBase;
|
|
5323
5333
|
readonly total: io.flow.v0.models.PriceWithBase;
|
|
5324
5334
|
}
|
|
5335
|
+
interface KubeHealthcheck {
|
|
5336
|
+
readonly status: string;
|
|
5337
|
+
}
|
|
5325
5338
|
interface LabelDeletedV2 {
|
|
5326
5339
|
readonly discriminator: 'label_deleted_v2';
|
|
5327
5340
|
readonly event_id: string;
|
|
@@ -5859,6 +5872,7 @@ declare namespace io.flow.v0.models {
|
|
|
5859
5872
|
readonly expires_at?: string;
|
|
5860
5873
|
readonly base?: io.flow.v0.models.Money;
|
|
5861
5874
|
readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor;
|
|
5875
|
+
readonly confirmation_details?: io.flow.v0.unions.ConfirmationDetails;
|
|
5862
5876
|
}
|
|
5863
5877
|
interface OnlineAuthorizationDeletedV2 {
|
|
5864
5878
|
readonly discriminator: 'online_authorization_deleted_v2';
|
|
@@ -7965,7 +7979,6 @@ declare namespace io.flow.v0.models {
|
|
|
7965
7979
|
readonly discriminator: 'redirect_authorization_details';
|
|
7966
7980
|
readonly id: string;
|
|
7967
7981
|
readonly payment_redirect_url: string;
|
|
7968
|
-
readonly confirmation_details?: io.flow.v0.unions.ConfirmationDetails;
|
|
7969
7982
|
}
|
|
7970
7983
|
interface RedirectAuthorizationForm {
|
|
7971
7984
|
readonly discriminator: 'redirect_authorization_form';
|
|
@@ -9647,7 +9660,7 @@ declare namespace io.flow.v0.models {
|
|
|
9647
9660
|
}
|
|
9648
9661
|
interface Transaction {
|
|
9649
9662
|
readonly id: string;
|
|
9650
|
-
readonly order?: io.flow.v0.models.
|
|
9663
|
+
readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
9651
9664
|
readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
|
|
9652
9665
|
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
9653
9666
|
readonly currency: string;
|
|
@@ -9891,7 +9904,7 @@ declare namespace io.flow.v0.unions {
|
|
|
9891
9904
|
type CardAuthorizationActionResult = io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4;
|
|
9892
9905
|
type CardNumber = io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher;
|
|
9893
9906
|
type CheckoutTokenForm = io.flow.v0.models.CheckoutTokenOrderForm | io.flow.v0.models.CheckoutTokenReferenceForm;
|
|
9894
|
-
type ConfirmationDetails = io.flow.v0.models.DirectDebit;
|
|
9907
|
+
type ConfirmationDetails = io.flow.v0.models.DirectDebit | io.flow.v0.models.Installment;
|
|
9895
9908
|
type ConsumerInvoiceLine = io.flow.v0.models.ConsumerInvoiceLineItem | io.flow.v0.models.ConsumerInvoiceLineDiscount | io.flow.v0.models.ConsumerInvoiceLineShipping;
|
|
9896
9909
|
type ConsumerInvoiceLineForm = io.flow.v0.models.ConsumerInvoiceLineItemForm | io.flow.v0.models.ConsumerInvoiceLineDiscountForm | io.flow.v0.models.ConsumerInvoiceLineShippingForm;
|
|
9897
9910
|
type Delivery = io.flow.v0.models.DigitalDelivery | io.flow.v0.models.PhysicalDelivery;
|
|
@@ -10108,7 +10121,7 @@ export declare type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
|
|
|
10108
10121
|
export declare type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
|
|
10109
10122
|
export declare type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
|
|
10110
10123
|
export declare type BillingAddress = io.flow.v0.models.BillingAddress;
|
|
10111
|
-
export declare type
|
|
10124
|
+
export declare type BillingChannelOrderSummary = io.flow.v0.models.BillingChannelOrderSummary;
|
|
10112
10125
|
export declare type BillingChannelPaymentRequestReference = io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
10113
10126
|
export declare type BillingChannelStatementReference = io.flow.v0.models.BillingChannelStatementReference;
|
|
10114
10127
|
export declare type BridgeManifest = io.flow.v0.models.BridgeManifest;
|
|
@@ -10616,6 +10629,7 @@ export declare type InputSpecificationLimitation = io.flow.v0.unions.InputSpecif
|
|
|
10616
10629
|
export declare type InputSpecificationLimitationMax = io.flow.v0.models.InputSpecificationLimitationMax;
|
|
10617
10630
|
export declare type InputSpecificationLimitations = io.flow.v0.models.InputSpecificationLimitations;
|
|
10618
10631
|
export declare type InputSpecificationType = io.flow.v0.enums.InputSpecificationType;
|
|
10632
|
+
export declare type Installment = io.flow.v0.models.Installment;
|
|
10619
10633
|
export declare type InventoryBackorder = io.flow.v0.models.InventoryBackorder;
|
|
10620
10634
|
export declare type InventoryCenterReference = io.flow.v0.models.InventoryCenterReference;
|
|
10621
10635
|
export declare type InventoryCheckResponse = io.flow.v0.models.InventoryCheckResponse;
|
|
@@ -10678,6 +10692,7 @@ export declare type KlarnaSdkAuthorizationResultActionDetails = io.flow.v0.model
|
|
|
10678
10692
|
export declare type KlaviyoLineItem = io.flow.v0.models.KlaviyoLineItem;
|
|
10679
10693
|
export declare type KlaviyoOrderContent = io.flow.v0.models.KlaviyoOrderContent;
|
|
10680
10694
|
export declare type KlaviyoOrderPrices = io.flow.v0.models.KlaviyoOrderPrices;
|
|
10695
|
+
export declare type KubeHealthcheck = io.flow.v0.models.KubeHealthcheck;
|
|
10681
10696
|
export declare type LabelDeletedV2 = io.flow.v0.models.LabelDeletedV2;
|
|
10682
10697
|
export declare type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
|
|
10683
10698
|
export declare type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.31",
|
|
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": "ab9703dfff5de997c564e3f69a34087f346bb702"
|
|
29
29
|
}
|