@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/dist/api-internal.d.ts
CHANGED
|
@@ -214,7 +214,7 @@ declare namespace io.flow.order.price.v0.models {
|
|
|
214
214
|
readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
215
215
|
readonly name?: string;
|
|
216
216
|
readonly rate?: number;
|
|
217
|
-
readonly accuracy
|
|
217
|
+
readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
|
|
218
218
|
readonly rate_label?: string;
|
|
219
219
|
}
|
|
220
220
|
interface OrderPriceDetailComponent {
|
|
@@ -327,7 +327,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
327
327
|
}
|
|
328
328
|
interface DiscountForm {
|
|
329
329
|
readonly offer: io.flow.common.v0.unions.DiscountOffer;
|
|
330
|
-
readonly target
|
|
330
|
+
readonly target: io.flow.common.v0.enums.DiscountTarget;
|
|
331
331
|
readonly label?: string;
|
|
332
332
|
}
|
|
333
333
|
interface DiscountOfferFixed {
|
|
@@ -479,7 +479,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
479
479
|
readonly parent?: io.flow.common.v0.models.OrganizationReference;
|
|
480
480
|
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
481
481
|
readonly created_at?: string;
|
|
482
|
-
readonly status
|
|
482
|
+
readonly status: io.flow.common.v0.enums.OrganizationStatus;
|
|
483
483
|
}
|
|
484
484
|
interface OrganizationDefaults {
|
|
485
485
|
readonly country: string;
|
|
@@ -651,7 +651,7 @@ declare namespace io.flow.price.v0.models {
|
|
|
651
651
|
readonly currency: string;
|
|
652
652
|
readonly name: string;
|
|
653
653
|
readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
|
|
654
|
-
readonly status
|
|
654
|
+
readonly status: io.flow.common.v0.enums.PriceBookStatus;
|
|
655
655
|
}
|
|
656
656
|
interface PriceBookItem {
|
|
657
657
|
readonly id: string;
|
|
@@ -1071,7 +1071,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
1071
1071
|
readonly item_numbers?: string[];
|
|
1072
1072
|
readonly start_date?: string;
|
|
1073
1073
|
readonly end_date?: string;
|
|
1074
|
-
readonly item_identifier
|
|
1074
|
+
readonly item_identifier: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
|
|
1075
1075
|
}
|
|
1076
1076
|
interface ScheduledExport {
|
|
1077
1077
|
readonly id: string;
|
|
@@ -1521,7 +1521,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1521
1521
|
readonly requested?: io.flow.common.v0.models.Money;
|
|
1522
1522
|
readonly created_at: string;
|
|
1523
1523
|
readonly attributes?: Record<string, string>;
|
|
1524
|
-
readonly status
|
|
1524
|
+
readonly status: io.flow.payment.v0.enums.CaptureStatus;
|
|
1525
1525
|
readonly base?: io.flow.common.v0.models.Money;
|
|
1526
1526
|
}
|
|
1527
1527
|
interface CaptureError {
|
|
@@ -1569,7 +1569,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1569
1569
|
readonly discriminator: 'card_authorization';
|
|
1570
1570
|
readonly id: string;
|
|
1571
1571
|
readonly key: string;
|
|
1572
|
-
readonly merchant_of_record
|
|
1572
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
1573
1573
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
1574
1574
|
readonly card: io.flow.payment.v0.unions.ExpandableCard;
|
|
1575
1575
|
readonly amount: number;
|
|
@@ -1696,9 +1696,12 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1696
1696
|
}
|
|
1697
1697
|
interface DirectDebit {
|
|
1698
1698
|
readonly discriminator: 'direct_debit';
|
|
1699
|
-
readonly
|
|
1700
|
-
readonly
|
|
1701
|
-
readonly
|
|
1699
|
+
readonly bank_name?: string;
|
|
1700
|
+
readonly bic?: string;
|
|
1701
|
+
readonly iban?: string;
|
|
1702
|
+
readonly routing_number?: string;
|
|
1703
|
+
readonly last4?: string;
|
|
1704
|
+
readonly account_holder_name?: string;
|
|
1702
1705
|
}
|
|
1703
1706
|
interface Expiration {
|
|
1704
1707
|
readonly month: number;
|
|
@@ -1731,6 +1734,12 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1731
1734
|
readonly ip?: string;
|
|
1732
1735
|
readonly payload?: io.flow.payment.v0.models.AuthorizationPayload;
|
|
1733
1736
|
}
|
|
1737
|
+
interface Installment {
|
|
1738
|
+
readonly discriminator: 'installment';
|
|
1739
|
+
readonly first_name?: string;
|
|
1740
|
+
readonly last_name?: string;
|
|
1741
|
+
readonly response_code?: string;
|
|
1742
|
+
}
|
|
1734
1743
|
interface IssuerReference {
|
|
1735
1744
|
readonly id: string;
|
|
1736
1745
|
}
|
|
@@ -1784,7 +1793,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1784
1793
|
readonly id: string;
|
|
1785
1794
|
readonly key: string;
|
|
1786
1795
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
1787
|
-
readonly merchant_of_record
|
|
1796
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
1788
1797
|
readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
|
|
1789
1798
|
readonly payment?: any;
|
|
1790
1799
|
readonly amount: number;
|
|
@@ -1802,6 +1811,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1802
1811
|
readonly expires_at?: string;
|
|
1803
1812
|
readonly base?: io.flow.common.v0.models.Money;
|
|
1804
1813
|
readonly processor?: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
|
|
1814
|
+
readonly confirmation_details?: io.flow.payment.v0.unions.ConfirmationDetails;
|
|
1805
1815
|
}
|
|
1806
1816
|
interface OnlinePaymentAuthorizationForm {
|
|
1807
1817
|
readonly discriminator: 'online_payment_authorization_form';
|
|
@@ -1900,7 +1910,6 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1900
1910
|
readonly discriminator: 'redirect_authorization_details';
|
|
1901
1911
|
readonly id: string;
|
|
1902
1912
|
readonly payment_redirect_url: string;
|
|
1903
|
-
readonly confirmation_details?: io.flow.payment.v0.unions.ConfirmationDetails;
|
|
1904
1913
|
}
|
|
1905
1914
|
interface RedirectAuthorizationForm {
|
|
1906
1915
|
readonly discriminator: 'redirect_authorization_form';
|
|
@@ -1924,7 +1933,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1924
1933
|
readonly captures: io.flow.payment.v0.models.RefundCaptureSummary[];
|
|
1925
1934
|
readonly created_at: string;
|
|
1926
1935
|
readonly attributes?: Record<string, string>;
|
|
1927
|
-
readonly status
|
|
1936
|
+
readonly status: io.flow.payment.v0.enums.RefundStatus;
|
|
1928
1937
|
readonly base?: io.flow.common.v0.models.Money;
|
|
1929
1938
|
}
|
|
1930
1939
|
interface RefundCapture {
|
|
@@ -1934,7 +1943,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1934
1943
|
readonly amount: number;
|
|
1935
1944
|
readonly currency: string;
|
|
1936
1945
|
readonly base: io.flow.common.v0.models.Money;
|
|
1937
|
-
readonly status
|
|
1946
|
+
readonly status: io.flow.payment.v0.enums.RefundStatus;
|
|
1938
1947
|
}
|
|
1939
1948
|
interface RefundCaptureSummary {
|
|
1940
1949
|
readonly capture: io.flow.payment.v0.models.Capture;
|
|
@@ -2132,7 +2141,7 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
2132
2141
|
type AuthorizationResultAction = io.flow.payment.v0.models.AuthorizationResultActionGet | io.flow.payment.v0.models.AuthorizationResultActionPost | io.flow.payment.v0.models.AuthorizationResultActionWait | io.flow.payment.v0.models.AuthorizationResultActionNative;
|
|
2133
2142
|
type AuthorizationResultActionDetails = io.flow.payment.v0.models.AdyenNativeActionDetails | io.flow.payment.v0.models.StripeAuthorizationResultActionDetails | io.flow.payment.v0.models.ThreedsIdentifyActionDetails | io.flow.payment.v0.models.ThreedsChallengeActionDetails | io.flow.payment.v0.models.KlarnaSdkAuthorizationResultActionDetails | io.flow.payment.v0.models.SelectIssuerOptionActionDetails;
|
|
2134
2143
|
type BrowserActionConfiguration = io.flow.payment.v0.models.CardBrowserActionConfiguration;
|
|
2135
|
-
type ConfirmationDetails = io.flow.payment.v0.models.DirectDebit;
|
|
2144
|
+
type ConfirmationDetails = io.flow.payment.v0.models.DirectDebit | io.flow.payment.v0.models.Installment;
|
|
2136
2145
|
type ExpandableCard = io.flow.payment.v0.models.Card | io.flow.payment.v0.models.CardReference | io.flow.payment.v0.models.CardSummary;
|
|
2137
2146
|
type ExpandablePaymentProcessor = io.flow.payment.v0.models.PaymentProcessor | io.flow.payment.v0.models.PaymentProcessorReference;
|
|
2138
2147
|
type GatewayAuthenticationData = io.flow.payment.v0.models.StripeAuthenticationData;
|
|
@@ -2521,7 +2530,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2521
2530
|
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
2522
2531
|
readonly payment_method_types?: string[];
|
|
2523
2532
|
readonly receipt_email?: string;
|
|
2524
|
-
readonly save_payment_method
|
|
2533
|
+
readonly save_payment_method: boolean;
|
|
2525
2534
|
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
2526
2535
|
}
|
|
2527
2536
|
interface PaymentIntentForm {
|
|
@@ -2541,7 +2550,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2541
2550
|
readonly payment_method_types?: string[];
|
|
2542
2551
|
readonly receipt_email?: string;
|
|
2543
2552
|
readonly return_url?: string;
|
|
2544
|
-
readonly save_payment_method
|
|
2553
|
+
readonly save_payment_method: boolean;
|
|
2545
2554
|
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
2546
2555
|
readonly statement_descriptor?: string;
|
|
2547
2556
|
readonly statement_descriptor_suffix?: string;
|
|
@@ -2557,7 +2566,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2557
2566
|
readonly payment_method?: string;
|
|
2558
2567
|
readonly payment_method_types?: string[];
|
|
2559
2568
|
readonly receipt_email?: string;
|
|
2560
|
-
readonly save_payment_method
|
|
2569
|
+
readonly save_payment_method: boolean;
|
|
2561
2570
|
readonly statement_descriptor?: string;
|
|
2562
2571
|
readonly statement_descriptor_suffix?: string;
|
|
2563
2572
|
readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
|
|
@@ -3541,14 +3550,14 @@ declare namespace io.flow.bitpay.v0.models {
|
|
|
3541
3550
|
readonly currency: string;
|
|
3542
3551
|
readonly posData?: string;
|
|
3543
3552
|
readonly notificationURL?: string;
|
|
3544
|
-
readonly transactionSpeed
|
|
3553
|
+
readonly transactionSpeed: io.flow.bitpay.v0.enums.TransactionSpeed;
|
|
3545
3554
|
readonly fullNotifications?: boolean;
|
|
3546
3555
|
readonly notificationEmail?: string;
|
|
3547
3556
|
readonly redirectURL?: string;
|
|
3548
3557
|
readonly orderId?: string;
|
|
3549
3558
|
readonly itemDesc?: string;
|
|
3550
3559
|
readonly itemCode?: string;
|
|
3551
|
-
readonly physical
|
|
3560
|
+
readonly physical: boolean;
|
|
3552
3561
|
readonly buyerName?: string;
|
|
3553
3562
|
readonly buyerAddress1?: string;
|
|
3554
3563
|
readonly buyerAddress2?: string;
|
|
@@ -3599,12 +3608,12 @@ declare namespace io.flow.bitpay.v0.models {
|
|
|
3599
3608
|
readonly currency: string;
|
|
3600
3609
|
readonly posData?: string;
|
|
3601
3610
|
readonly notificationURL?: string;
|
|
3602
|
-
readonly transactionSpeed
|
|
3611
|
+
readonly transactionSpeed: io.flow.bitpay.v0.enums.TransactionSpeed;
|
|
3603
3612
|
readonly fullNotifications?: boolean;
|
|
3604
3613
|
readonly extendedNotifications?: boolean;
|
|
3605
3614
|
readonly redirectURL?: string;
|
|
3606
3615
|
readonly orderId?: string;
|
|
3607
|
-
readonly physical
|
|
3616
|
+
readonly physical: boolean;
|
|
3608
3617
|
readonly buyerName?: string;
|
|
3609
3618
|
readonly buyerAddress1?: string;
|
|
3610
3619
|
readonly buyerAddress2?: string;
|
|
@@ -4018,6 +4027,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4018
4027
|
readonly avsResult?: string;
|
|
4019
4028
|
readonly cvcResultRaw?: string;
|
|
4020
4029
|
readonly cvcResult?: string;
|
|
4030
|
+
readonly refusalReasonRaw?: string;
|
|
4021
4031
|
readonly liabilityShift?: string;
|
|
4022
4032
|
readonly threeDAuthenticated?: string;
|
|
4023
4033
|
readonly threeDAuthenticatedResponse?: string;
|
|
@@ -4045,6 +4055,12 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4045
4055
|
readonly issuerCountry?: string;
|
|
4046
4056
|
readonly iban?: string;
|
|
4047
4057
|
readonly bic?: string;
|
|
4058
|
+
readonly iDealConsumerAccountNumber?: string;
|
|
4059
|
+
readonly iDealConsumerBIC?: string;
|
|
4060
|
+
readonly iDealConsumerCity?: string;
|
|
4061
|
+
readonly iDealConsumerIBAN?: string;
|
|
4062
|
+
readonly iDealConsumerName?: string;
|
|
4063
|
+
readonly iDealTransactionId?: string;
|
|
4048
4064
|
}
|
|
4049
4065
|
interface Recurring {
|
|
4050
4066
|
readonly contract: io.flow.adyen.v0.enums.Contract;
|
|
@@ -4285,7 +4301,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
4285
4301
|
interface Product {
|
|
4286
4302
|
readonly id: number;
|
|
4287
4303
|
readonly handle: string;
|
|
4288
|
-
readonly variants
|
|
4304
|
+
readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
|
|
4289
4305
|
readonly images: io.flow.shopify.external.v0.models.ProductImage[];
|
|
4290
4306
|
readonly title: string;
|
|
4291
4307
|
readonly vendor?: string;
|
|
@@ -4440,7 +4456,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
4440
4456
|
readonly title: string;
|
|
4441
4457
|
}
|
|
4442
4458
|
interface ShopifyClientDetail {
|
|
4443
|
-
readonly accept_language
|
|
4459
|
+
readonly accept_language: boolean;
|
|
4444
4460
|
readonly browser_height?: number;
|
|
4445
4461
|
readonly browser_ip?: string;
|
|
4446
4462
|
readonly browser_width?: number;
|
|
@@ -4455,7 +4471,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
4455
4471
|
readonly tax_exempt: boolean;
|
|
4456
4472
|
readonly verified_email: boolean;
|
|
4457
4473
|
readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
4458
|
-
readonly accepts_marketing
|
|
4474
|
+
readonly accepts_marketing: boolean;
|
|
4459
4475
|
readonly default_address?: any;
|
|
4460
4476
|
readonly email?: string;
|
|
4461
4477
|
readonly first_name?: string;
|
|
@@ -4527,7 +4543,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
4527
4543
|
readonly requires_shipping: boolean;
|
|
4528
4544
|
readonly currency?: string;
|
|
4529
4545
|
readonly items: io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
|
|
4530
|
-
readonly cart_level_discount_applications
|
|
4546
|
+
readonly cart_level_discount_applications: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
4531
4547
|
}
|
|
4532
4548
|
interface ShopifyExternalCartItem {
|
|
4533
4549
|
readonly id: number;
|
|
@@ -4541,7 +4557,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
4541
4557
|
readonly original_line_price: number;
|
|
4542
4558
|
readonly total_discount: number;
|
|
4543
4559
|
readonly discounted_price: number;
|
|
4544
|
-
readonly discounts
|
|
4560
|
+
readonly discounts: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
4545
4561
|
readonly taxable: boolean;
|
|
4546
4562
|
readonly quantity: number;
|
|
4547
4563
|
readonly sku?: string;
|
|
@@ -4559,8 +4575,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
4559
4575
|
readonly product_description?: string;
|
|
4560
4576
|
readonly product_type: string;
|
|
4561
4577
|
readonly variant_title?: string;
|
|
4562
|
-
readonly variant_options
|
|
4563
|
-
readonly line_level_discount_allocations
|
|
4578
|
+
readonly variant_options: string[];
|
|
4579
|
+
readonly line_level_discount_allocations: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
4564
4580
|
}
|
|
4565
4581
|
interface ShopifyFulfillment {
|
|
4566
4582
|
readonly location_id: number;
|
|
@@ -4780,11 +4796,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
4780
4796
|
readonly updated_at?: string;
|
|
4781
4797
|
readonly user_id?: number;
|
|
4782
4798
|
readonly order_status_url?: string;
|
|
4783
|
-
readonly inventory_behaviour
|
|
4799
|
+
readonly inventory_behaviour: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
4784
4800
|
readonly gateway?: string;
|
|
4785
4801
|
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
4786
4802
|
readonly send_receipt?: boolean;
|
|
4787
|
-
readonly metafields
|
|
4803
|
+
readonly metafields: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
4788
4804
|
}
|
|
4789
4805
|
interface ShopifyOrderCount {
|
|
4790
4806
|
readonly count: number;
|
|
@@ -4905,7 +4921,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
4905
4921
|
}
|
|
4906
4922
|
interface ShopifyWebhookOrder {
|
|
4907
4923
|
readonly id?: number;
|
|
4908
|
-
readonly line_items
|
|
4924
|
+
readonly line_items: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
4909
4925
|
}
|
|
4910
4926
|
interface ShopifyWebhookOrderCancelled {
|
|
4911
4927
|
readonly id: number;
|
|
@@ -4992,10 +5008,10 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
4992
5008
|
readonly shop_id: number;
|
|
4993
5009
|
readonly fulfillment_order_id: number;
|
|
4994
5010
|
readonly line_item_id: number;
|
|
4995
|
-
readonly inventory_item_id
|
|
5011
|
+
readonly inventory_item_id?: number;
|
|
4996
5012
|
readonly quantity: number;
|
|
4997
5013
|
readonly fulfillable_quantity: number;
|
|
4998
|
-
readonly variant_id
|
|
5014
|
+
readonly variant_id?: number;
|
|
4999
5015
|
}
|
|
5000
5016
|
interface ResponseShopifyTransactions {
|
|
5001
5017
|
readonly transactions: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
|
|
@@ -5174,7 +5190,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
5174
5190
|
readonly updated_at?: string;
|
|
5175
5191
|
readonly user_id?: number;
|
|
5176
5192
|
readonly order_status_url?: string;
|
|
5177
|
-
readonly inventory_behaviour
|
|
5193
|
+
readonly inventory_behaviour: io.flow.shopify.markets.v0.enums.ShopifyOrderInventoryBehaviour;
|
|
5178
5194
|
readonly gateway?: string;
|
|
5179
5195
|
readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
|
|
5180
5196
|
readonly send_receipt?: boolean;
|
|
@@ -5208,7 +5224,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
5208
5224
|
readonly refund: io.flow.shopify.markets.v0.models.ShopifyRefund;
|
|
5209
5225
|
}
|
|
5210
5226
|
interface ShopifyOrderClientDetail {
|
|
5211
|
-
readonly accept_language
|
|
5227
|
+
readonly accept_language: string;
|
|
5212
5228
|
readonly browser_height?: number;
|
|
5213
5229
|
readonly browser_ip?: string;
|
|
5214
5230
|
readonly browser_width?: number;
|
|
@@ -5917,12 +5933,12 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
5917
5933
|
}
|
|
5918
5934
|
interface PaymentDiscount {
|
|
5919
5935
|
readonly amount: number;
|
|
5920
|
-
readonly name
|
|
5936
|
+
readonly name: string;
|
|
5921
5937
|
readonly code?: string;
|
|
5922
5938
|
}
|
|
5923
5939
|
interface PaymentDuty {
|
|
5924
5940
|
readonly amount: number;
|
|
5925
|
-
readonly name
|
|
5941
|
+
readonly name: string;
|
|
5926
5942
|
}
|
|
5927
5943
|
interface PaymentFailure {
|
|
5928
5944
|
readonly authorization_id?: string;
|
|
@@ -6178,7 +6194,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6178
6194
|
}
|
|
6179
6195
|
interface PaymentTax {
|
|
6180
6196
|
readonly amount: number;
|
|
6181
|
-
readonly name
|
|
6197
|
+
readonly name: string;
|
|
6182
6198
|
}
|
|
6183
6199
|
interface Shipping {
|
|
6184
6200
|
readonly description: string;
|
|
@@ -6330,7 +6346,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
6330
6346
|
readonly country: string;
|
|
6331
6347
|
readonly field_validation: io.flow.experience.v0.models.AddressFieldValidation;
|
|
6332
6348
|
readonly provinces: io.flow.experience.v0.models.AddressConfigurationProvince[];
|
|
6333
|
-
readonly formats
|
|
6349
|
+
readonly formats: io.flow.experience.v0.models.AddressConfigurationFormat[];
|
|
6334
6350
|
readonly province_type?: io.flow.reference.v0.enums.ProvinceType;
|
|
6335
6351
|
readonly postal_type?: io.flow.reference.v0.enums.PostalType;
|
|
6336
6352
|
}
|
|
@@ -6382,7 +6398,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
6382
6398
|
readonly rate: number;
|
|
6383
6399
|
readonly name: string;
|
|
6384
6400
|
readonly price?: io.flow.common.v0.models.PriceWithBase;
|
|
6385
|
-
readonly accuracy
|
|
6401
|
+
readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
|
|
6386
6402
|
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
6387
6403
|
}
|
|
6388
6404
|
interface AllocationLineDetail {
|
|
@@ -6811,7 +6827,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
6811
6827
|
readonly discriminator: 'order';
|
|
6812
6828
|
readonly id: string;
|
|
6813
6829
|
readonly number: string;
|
|
6814
|
-
readonly order_type
|
|
6830
|
+
readonly order_type: io.flow.experience.v0.enums.OrderType;
|
|
6815
6831
|
readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
|
|
6816
6832
|
readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
|
|
6817
6833
|
readonly customer: io.flow.common.v0.models.OrderCustomer;
|
|
@@ -6965,7 +6981,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
6965
6981
|
}
|
|
6966
6982
|
interface OrderNumberGeneratorUuid {
|
|
6967
6983
|
readonly discriminator: 'uuid';
|
|
6968
|
-
readonly prefix
|
|
6984
|
+
readonly prefix: string;
|
|
6969
6985
|
}
|
|
6970
6986
|
interface OrderNumberReference {
|
|
6971
6987
|
readonly number: string;
|
|
@@ -6976,13 +6992,13 @@ declare namespace io.flow.experience.v0.models {
|
|
|
6976
6992
|
interface OrderPayment {
|
|
6977
6993
|
readonly id: string;
|
|
6978
6994
|
readonly type: io.flow.experience.v0.enums.OrderPaymentType;
|
|
6979
|
-
readonly merchant_of_record
|
|
6995
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
6980
6996
|
readonly reference: string;
|
|
6981
6997
|
readonly description: string;
|
|
6982
6998
|
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
6983
6999
|
readonly address?: io.flow.common.v0.models.BillingAddress;
|
|
6984
7000
|
readonly date?: string;
|
|
6985
|
-
readonly attributes
|
|
7001
|
+
readonly attributes: Record<string, string>;
|
|
6986
7002
|
readonly method?: string;
|
|
6987
7003
|
}
|
|
6988
7004
|
interface OrderPromotionTrigger {
|
|
@@ -6990,7 +7006,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
6990
7006
|
readonly min?: io.flow.common.v0.models.Price;
|
|
6991
7007
|
}
|
|
6992
7008
|
interface OrderPutForm {
|
|
6993
|
-
readonly order_type
|
|
7009
|
+
readonly order_type: io.flow.experience.v0.enums.OrderType;
|
|
6994
7010
|
readonly items: io.flow.common.v0.models.LineItemForm[];
|
|
6995
7011
|
readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
|
|
6996
7012
|
readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
|
|
@@ -7067,7 +7083,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
7067
7083
|
readonly filename?: string;
|
|
7068
7084
|
}
|
|
7069
7085
|
interface OrderSubmissionForm {
|
|
7070
|
-
readonly identifiers
|
|
7086
|
+
readonly identifiers: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
|
|
7071
7087
|
}
|
|
7072
7088
|
interface OrderSubmissionIdentifierForm {
|
|
7073
7089
|
readonly identifier: string;
|
|
@@ -7439,7 +7455,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
7439
7455
|
readonly origination_zones: io.flow.common.v0.models.Zone[];
|
|
7440
7456
|
readonly service: string;
|
|
7441
7457
|
readonly number?: string;
|
|
7442
|
-
readonly ratecard_owner
|
|
7458
|
+
readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
7443
7459
|
}
|
|
7444
7460
|
interface RatecardLane {
|
|
7445
7461
|
readonly id: string;
|
|
@@ -7715,7 +7731,7 @@ declare namespace io.flow.crypto.v0.enums {
|
|
|
7715
7731
|
type PaymentStatus = 'pending' | 'succeeded' | 'cancelled';
|
|
7716
7732
|
type ReasonType = 'duplicate' | 'fraudulent' | 'requested_by_customer';
|
|
7717
7733
|
type RefundStatus = 'pending' | 'succeeded';
|
|
7718
|
-
type WebhookEventName = 'payment.created' | 'payment.captured' | 'payment.refund_requested' | 'payment.refund_transferred';
|
|
7734
|
+
type WebhookEventName = 'payment.created' | 'payment.fulfilled' | 'payment.captured' | 'payment.refund_requested' | 'payment.refund_transferred';
|
|
7719
7735
|
type WebhookObjectType = 'event';
|
|
7720
7736
|
}
|
|
7721
7737
|
declare namespace io.flow.crypto.v0.models {
|
|
@@ -8207,7 +8223,7 @@ declare namespace io.flow.catalog.v0.models {
|
|
|
8207
8223
|
readonly base: io.flow.common.v0.models.Price;
|
|
8208
8224
|
readonly name: string;
|
|
8209
8225
|
readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
|
|
8210
|
-
readonly accuracy
|
|
8226
|
+
readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
|
|
8211
8227
|
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
8212
8228
|
}
|
|
8213
8229
|
interface LocalizedTotal {
|
|
@@ -8352,7 +8368,7 @@ declare namespace io.flow.inventory.v0.models {
|
|
|
8352
8368
|
}
|
|
8353
8369
|
interface InventoryUnlimited {
|
|
8354
8370
|
readonly discriminator: 'inventory_unlimited';
|
|
8355
|
-
readonly placeholder
|
|
8371
|
+
readonly placeholder: string;
|
|
8356
8372
|
}
|
|
8357
8373
|
interface InventoryUpdate {
|
|
8358
8374
|
readonly id: string;
|
|
@@ -9676,7 +9692,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
9676
9692
|
readonly organization: string;
|
|
9677
9693
|
readonly email: string;
|
|
9678
9694
|
readonly name?: io.flow.common.v0.models.Name;
|
|
9679
|
-
readonly role
|
|
9695
|
+
readonly role: io.flow.common.v0.enums.Role;
|
|
9680
9696
|
readonly roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
9681
9697
|
}
|
|
9682
9698
|
interface InvitationVersion {
|
|
@@ -9695,12 +9711,12 @@ declare namespace io.flow.organization.v0.models {
|
|
|
9695
9711
|
interface MembershipForm {
|
|
9696
9712
|
readonly organization: string;
|
|
9697
9713
|
readonly user: string;
|
|
9698
|
-
readonly role
|
|
9699
|
-
readonly roles
|
|
9714
|
+
readonly role: io.flow.common.v0.enums.Role;
|
|
9715
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
9700
9716
|
}
|
|
9701
9717
|
interface MembershipPutForm {
|
|
9702
|
-
readonly role
|
|
9703
|
-
readonly roles
|
|
9718
|
+
readonly role: io.flow.common.v0.enums.Role;
|
|
9719
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
9704
9720
|
}
|
|
9705
9721
|
interface MembershipVersion {
|
|
9706
9722
|
readonly id: string;
|
|
@@ -9732,14 +9748,14 @@ declare namespace io.flow.organization.v0.models {
|
|
|
9732
9748
|
readonly environment: io.flow.common.v0.enums.Environment;
|
|
9733
9749
|
readonly parent_id?: string;
|
|
9734
9750
|
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
9735
|
-
readonly status
|
|
9751
|
+
readonly status: io.flow.common.v0.enums.OrganizationStatus;
|
|
9736
9752
|
}
|
|
9737
9753
|
interface OrganizationPutForm {
|
|
9738
9754
|
readonly name?: string;
|
|
9739
9755
|
readonly environment?: io.flow.common.v0.enums.Environment;
|
|
9740
9756
|
readonly parent_id?: string;
|
|
9741
9757
|
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
9742
|
-
readonly status
|
|
9758
|
+
readonly status: io.flow.common.v0.enums.OrganizationStatus;
|
|
9743
9759
|
}
|
|
9744
9760
|
interface OrganizationVersion {
|
|
9745
9761
|
readonly id: string;
|
|
@@ -10032,6 +10048,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10032
10048
|
type OrderAttributeIntent = 'discount_code';
|
|
10033
10049
|
type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
|
|
10034
10050
|
type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
|
|
10051
|
+
type OrderTransactionType = 'adjustment' | 'order_service';
|
|
10035
10052
|
type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
|
|
10036
10053
|
type OrganizationPaymentStatus = 'active' | 'archived';
|
|
10037
10054
|
type OutputStyle = 'flow' | 'shopify_p1';
|
|
@@ -10085,7 +10102,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10085
10102
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
10086
10103
|
type SuggestionAction = 'accept' | 'validate' | 'review';
|
|
10087
10104
|
type TariffEligibilityType = 'rex';
|
|
10088
|
-
type TaskProcessorKey = 'billing_account';
|
|
10105
|
+
type TaskProcessorKey = 'billing_account' | 'carrier_account';
|
|
10089
10106
|
type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
|
|
10090
10107
|
type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
|
|
10091
10108
|
type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
@@ -10902,13 +10919,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10902
10919
|
readonly organization: string;
|
|
10903
10920
|
readonly settings: io.flow.internal.v0.models.BillingOrganizationSettings;
|
|
10904
10921
|
}
|
|
10905
|
-
interface BillingStatement {
|
|
10906
|
-
readonly id: string;
|
|
10907
|
-
readonly account: io.flow.internal.v0.models.AccountReference;
|
|
10908
|
-
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
10909
|
-
readonly totals: io.flow.internal.v0.models.BillingStatementTotals;
|
|
10910
|
-
readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[];
|
|
10911
|
-
}
|
|
10912
10922
|
interface BillingStatementAttachment {
|
|
10913
10923
|
readonly key: io.flow.internal.v0.enums.BillingStatementAttachmentKey;
|
|
10914
10924
|
readonly name: string;
|
|
@@ -10926,7 +10936,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10926
10936
|
}
|
|
10927
10937
|
interface BillingStatementPendingReview {
|
|
10928
10938
|
readonly source: io.flow.internal.v0.models.AccountSource;
|
|
10929
|
-
readonly statement: io.flow.internal.v0.models.
|
|
10939
|
+
readonly statement: io.flow.internal.v0.models.BillingStatementSummary;
|
|
10930
10940
|
}
|
|
10931
10941
|
interface BillingStatementReference {
|
|
10932
10942
|
readonly id: string;
|
|
@@ -10941,6 +10951,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10941
10951
|
readonly reviewed_by_id: string;
|
|
10942
10952
|
readonly reviewed_at: string;
|
|
10943
10953
|
}
|
|
10954
|
+
interface BillingStatementSummary {
|
|
10955
|
+
readonly id: string;
|
|
10956
|
+
readonly account: io.flow.internal.v0.models.AccountReference;
|
|
10957
|
+
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
10958
|
+
readonly totals: io.flow.internal.v0.models.BillingStatementTotals;
|
|
10959
|
+
readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[];
|
|
10960
|
+
}
|
|
10944
10961
|
interface BillingStatementTotals {
|
|
10945
10962
|
readonly starting_balance: io.flow.common.v0.models.Price;
|
|
10946
10963
|
readonly subscription: io.flow.common.v0.models.Price;
|
|
@@ -10965,7 +10982,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10965
10982
|
readonly discriminator: 'billing_statement_upserted';
|
|
10966
10983
|
readonly event_id: string;
|
|
10967
10984
|
readonly timestamp: string;
|
|
10968
|
-
readonly statement: io.flow.internal.v0.models.
|
|
10985
|
+
readonly statement: io.flow.internal.v0.models.BillingStatementSummary;
|
|
10969
10986
|
}
|
|
10970
10987
|
interface BillingTransaction {
|
|
10971
10988
|
readonly id: string;
|
|
@@ -11341,6 +11358,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11341
11358
|
readonly timestamp: string;
|
|
11342
11359
|
readonly channel_account: io.flow.internal.v0.models.ChannelAccount;
|
|
11343
11360
|
}
|
|
11361
|
+
interface ChannelBillingStatement {
|
|
11362
|
+
readonly id: string;
|
|
11363
|
+
readonly account: io.flow.internal.v0.models.AccountReference;
|
|
11364
|
+
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
11365
|
+
readonly totals: io.flow.internal.v0.models.BillingStatementTotals;
|
|
11366
|
+
readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[];
|
|
11367
|
+
}
|
|
11344
11368
|
interface ChannelCurrencyForm {
|
|
11345
11369
|
readonly currency: string;
|
|
11346
11370
|
readonly channel_id: string;
|
|
@@ -16641,6 +16665,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16641
16665
|
readonly result: io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
16642
16666
|
readonly messages: io.flow.internal.v0.models.OnboardingAuditMessage[];
|
|
16643
16667
|
}
|
|
16668
|
+
interface OnboardingAuditSnapshot {
|
|
16669
|
+
readonly id: string;
|
|
16670
|
+
readonly organization: io.flow.common.v0.models.Organization;
|
|
16671
|
+
readonly result: io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
16672
|
+
readonly theme_reports: io.flow.internal.v0.models.OnboardingAuditThemeReport[];
|
|
16673
|
+
readonly requested_by: io.flow.common.v0.models.User;
|
|
16674
|
+
readonly requested_at: string;
|
|
16675
|
+
}
|
|
16644
16676
|
interface OnboardingAuditThemeReport {
|
|
16645
16677
|
readonly name: string;
|
|
16646
16678
|
readonly key: io.flow.internal.v0.enums.OnboardingAuditThemeKey;
|
|
@@ -16883,7 +16915,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16883
16915
|
readonly organization_account: io.flow.internal.v0.models.OrganizationAccount;
|
|
16884
16916
|
}
|
|
16885
16917
|
interface OrganizationBillingStatement {
|
|
16886
|
-
readonly
|
|
16918
|
+
readonly id: string;
|
|
16919
|
+
readonly account: io.flow.internal.v0.models.AccountReference;
|
|
16920
|
+
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
16921
|
+
readonly totals: io.flow.internal.v0.models.BillingStatementTotals;
|
|
16922
|
+
readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[];
|
|
16887
16923
|
}
|
|
16888
16924
|
interface OrganizationBooleanValue {
|
|
16889
16925
|
readonly id: string;
|
|
@@ -19601,7 +19637,6 @@ export declare type BillingOrganizationProcessingRatesUpserted = io.flow.interna
|
|
|
19601
19637
|
export declare type BillingOrganizationSettings = io.flow.internal.v0.models.BillingOrganizationSettings;
|
|
19602
19638
|
export declare type BillingOrganizationSettingsDeleted = io.flow.internal.v0.models.BillingOrganizationSettingsDeleted;
|
|
19603
19639
|
export declare type BillingOrganizationSettingsUpserted = io.flow.internal.v0.models.BillingOrganizationSettingsUpserted;
|
|
19604
|
-
export declare type BillingStatement = io.flow.internal.v0.models.BillingStatement;
|
|
19605
19640
|
export declare type BillingStatementAttachment = io.flow.internal.v0.models.BillingStatementAttachment;
|
|
19606
19641
|
export declare type BillingStatementAttachmentKey = io.flow.internal.v0.enums.BillingStatementAttachmentKey;
|
|
19607
19642
|
export declare type BillingStatementBatch = io.flow.internal.v0.models.BillingStatementBatch;
|
|
@@ -19612,6 +19647,7 @@ export declare type BillingStatementReference = io.flow.internal.v0.models.Billi
|
|
|
19612
19647
|
export declare type BillingStatementReview = io.flow.internal.v0.models.BillingStatementReview;
|
|
19613
19648
|
export declare type BillingStatementReviewForm = io.flow.internal.v0.models.BillingStatementReviewForm;
|
|
19614
19649
|
export declare type BillingStatementReviewStatus = io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
19650
|
+
export declare type BillingStatementSummary = io.flow.internal.v0.models.BillingStatementSummary;
|
|
19615
19651
|
export declare type BillingStatementTotals = io.flow.internal.v0.models.BillingStatementTotals;
|
|
19616
19652
|
export declare type BillingStatementUpserted = io.flow.internal.v0.models.BillingStatementUpserted;
|
|
19617
19653
|
export declare type BillingTransaction = io.flow.internal.v0.models.BillingTransaction;
|
|
@@ -19695,6 +19731,7 @@ export declare type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeS
|
|
|
19695
19731
|
export declare type ChannelAccount = io.flow.internal.v0.models.ChannelAccount;
|
|
19696
19732
|
export declare type ChannelAccountDeleted = io.flow.internal.v0.models.ChannelAccountDeleted;
|
|
19697
19733
|
export declare type ChannelAccountUpserted = io.flow.internal.v0.models.ChannelAccountUpserted;
|
|
19734
|
+
export declare type ChannelBillingStatement = io.flow.internal.v0.models.ChannelBillingStatement;
|
|
19698
19735
|
export declare type ChannelCurrencyForm = io.flow.internal.v0.models.ChannelCurrencyForm;
|
|
19699
19736
|
export declare type ChannelCurrencySetting = io.flow.internal.v0.models.ChannelCurrencySetting;
|
|
19700
19737
|
export declare type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCurrencySettingDeleted;
|
|
@@ -20856,6 +20893,7 @@ export declare type OnboardingAuditMessageLevel = io.flow.internal.v0.enums.Onbo
|
|
|
20856
20893
|
export declare type OnboardingAuditReport = io.flow.internal.v0.models.OnboardingAuditReport;
|
|
20857
20894
|
export declare type OnboardingAuditReportLine = io.flow.internal.v0.models.OnboardingAuditReportLine;
|
|
20858
20895
|
export declare type OnboardingAuditResult = io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
20896
|
+
export declare type OnboardingAuditSnapshot = io.flow.internal.v0.models.OnboardingAuditSnapshot;
|
|
20859
20897
|
export declare type OnboardingAuditThemeKey = io.flow.internal.v0.enums.OnboardingAuditThemeKey;
|
|
20860
20898
|
export declare type OnboardingAuditThemeReport = io.flow.internal.v0.models.OnboardingAuditThemeReport;
|
|
20861
20899
|
export declare type OnboardingAutomationProcessState = io.flow.internal.v0.enums.OnboardingAutomationProcessState;
|
|
@@ -20899,6 +20937,7 @@ export declare type OrderServiceChangeCsvForm = io.flow.internal.v0.models.Order
|
|
|
20899
20937
|
export declare type OrderShipped = io.flow.internal.v0.models.OrderShipped;
|
|
20900
20938
|
export declare type OrderSubmissionForm = io.flow.internal.v0.models.OrderSubmissionForm;
|
|
20901
20939
|
export declare type OrderTransaction = io.flow.internal.v0.models.OrderTransaction;
|
|
20940
|
+
export declare type OrderTransactionType = io.flow.internal.v0.enums.OrderTransactionType;
|
|
20902
20941
|
export declare type OrganizationAccount = io.flow.internal.v0.models.OrganizationAccount;
|
|
20903
20942
|
export declare type OrganizationAccountDeleted = io.flow.internal.v0.models.OrganizationAccountDeleted;
|
|
20904
20943
|
export declare type OrganizationAccountUpserted = io.flow.internal.v0.models.OrganizationAccountUpserted;
|