@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-internal.ts
CHANGED
|
@@ -309,7 +309,7 @@ declare namespace io.flow.order.price.v0.models {
|
|
|
309
309
|
readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
310
310
|
readonly name?: string;
|
|
311
311
|
readonly rate?: number;
|
|
312
|
-
readonly accuracy
|
|
312
|
+
readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
|
|
313
313
|
readonly rate_label?: string;
|
|
314
314
|
}
|
|
315
315
|
|
|
@@ -482,7 +482,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
482
482
|
|
|
483
483
|
interface DiscountForm {
|
|
484
484
|
readonly offer: io.flow.common.v0.unions.DiscountOffer;
|
|
485
|
-
readonly target
|
|
485
|
+
readonly target: io.flow.common.v0.enums.DiscountTarget;
|
|
486
486
|
readonly label?: string;
|
|
487
487
|
}
|
|
488
488
|
|
|
@@ -663,7 +663,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
663
663
|
readonly parent?: io.flow.common.v0.models.OrganizationReference;
|
|
664
664
|
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
665
665
|
readonly created_at?: string;
|
|
666
|
-
readonly status
|
|
666
|
+
readonly status: io.flow.common.v0.enums.OrganizationStatus;
|
|
667
667
|
}
|
|
668
668
|
|
|
669
669
|
interface OrganizationDefaults {
|
|
@@ -909,7 +909,7 @@ declare namespace io.flow.price.v0.models {
|
|
|
909
909
|
readonly currency: string;
|
|
910
910
|
readonly name: string;
|
|
911
911
|
readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
|
|
912
|
-
readonly status
|
|
912
|
+
readonly status: io.flow.common.v0.enums.PriceBookStatus;
|
|
913
913
|
}
|
|
914
914
|
|
|
915
915
|
interface PriceBookItem {
|
|
@@ -1418,7 +1418,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
1418
1418
|
readonly item_numbers?: string[];
|
|
1419
1419
|
readonly start_date?: string;
|
|
1420
1420
|
readonly end_date?: string;
|
|
1421
|
-
readonly item_identifier
|
|
1421
|
+
readonly item_identifier: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
|
|
1422
1422
|
}
|
|
1423
1423
|
|
|
1424
1424
|
interface ScheduledExport {
|
|
@@ -2039,7 +2039,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2039
2039
|
readonly requested?: io.flow.common.v0.models.Money;
|
|
2040
2040
|
readonly created_at: string;
|
|
2041
2041
|
readonly attributes?: Record<string, string>;
|
|
2042
|
-
readonly status
|
|
2042
|
+
readonly status: io.flow.payment.v0.enums.CaptureStatus;
|
|
2043
2043
|
readonly base?: io.flow.common.v0.models.Money;
|
|
2044
2044
|
}
|
|
2045
2045
|
|
|
@@ -2094,7 +2094,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2094
2094
|
readonly discriminator: 'card_authorization';
|
|
2095
2095
|
readonly id: string;
|
|
2096
2096
|
readonly key: string;
|
|
2097
|
-
readonly merchant_of_record
|
|
2097
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
2098
2098
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
2099
2099
|
readonly card: io.flow.payment.v0.unions.ExpandableCard;
|
|
2100
2100
|
readonly amount: number;
|
|
@@ -2238,9 +2238,12 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2238
2238
|
|
|
2239
2239
|
interface DirectDebit {
|
|
2240
2240
|
readonly discriminator: 'direct_debit';
|
|
2241
|
-
readonly
|
|
2242
|
-
readonly
|
|
2243
|
-
readonly
|
|
2241
|
+
readonly bank_name?: string;
|
|
2242
|
+
readonly bic?: string;
|
|
2243
|
+
readonly iban?: string;
|
|
2244
|
+
readonly routing_number?: string;
|
|
2245
|
+
readonly last4?: string;
|
|
2246
|
+
readonly account_holder_name?: string;
|
|
2244
2247
|
}
|
|
2245
2248
|
|
|
2246
2249
|
interface Expiration {
|
|
@@ -2279,6 +2282,13 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2279
2282
|
readonly payload?: io.flow.payment.v0.models.AuthorizationPayload;
|
|
2280
2283
|
}
|
|
2281
2284
|
|
|
2285
|
+
interface Installment {
|
|
2286
|
+
readonly discriminator: 'installment';
|
|
2287
|
+
readonly first_name?: string;
|
|
2288
|
+
readonly last_name?: string;
|
|
2289
|
+
readonly response_code?: string;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2282
2292
|
interface IssuerReference {
|
|
2283
2293
|
readonly id: string;
|
|
2284
2294
|
}
|
|
@@ -2339,7 +2349,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2339
2349
|
readonly id: string;
|
|
2340
2350
|
readonly key: string;
|
|
2341
2351
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
2342
|
-
readonly merchant_of_record
|
|
2352
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
2343
2353
|
readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
|
|
2344
2354
|
readonly payment?: any /*object*/;
|
|
2345
2355
|
readonly amount: number;
|
|
@@ -2357,6 +2367,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2357
2367
|
readonly expires_at?: string;
|
|
2358
2368
|
readonly base?: io.flow.common.v0.models.Money;
|
|
2359
2369
|
readonly processor?: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
|
|
2370
|
+
readonly confirmation_details?: io.flow.payment.v0.unions.ConfirmationDetails;
|
|
2360
2371
|
}
|
|
2361
2372
|
|
|
2362
2373
|
interface OnlinePaymentAuthorizationForm {
|
|
@@ -2473,7 +2484,6 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2473
2484
|
readonly discriminator: 'redirect_authorization_details';
|
|
2474
2485
|
readonly id: string;
|
|
2475
2486
|
readonly payment_redirect_url: string;
|
|
2476
|
-
readonly confirmation_details?: io.flow.payment.v0.unions.ConfirmationDetails;
|
|
2477
2487
|
}
|
|
2478
2488
|
|
|
2479
2489
|
interface RedirectAuthorizationForm {
|
|
@@ -2499,7 +2509,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2499
2509
|
readonly captures: io.flow.payment.v0.models.RefundCaptureSummary[];
|
|
2500
2510
|
readonly created_at: string;
|
|
2501
2511
|
readonly attributes?: Record<string, string>;
|
|
2502
|
-
readonly status
|
|
2512
|
+
readonly status: io.flow.payment.v0.enums.RefundStatus;
|
|
2503
2513
|
readonly base?: io.flow.common.v0.models.Money;
|
|
2504
2514
|
}
|
|
2505
2515
|
|
|
@@ -2510,7 +2520,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2510
2520
|
readonly amount: number;
|
|
2511
2521
|
readonly currency: string;
|
|
2512
2522
|
readonly base: io.flow.common.v0.models.Money;
|
|
2513
|
-
readonly status
|
|
2523
|
+
readonly status: io.flow.payment.v0.enums.RefundStatus;
|
|
2514
2524
|
}
|
|
2515
2525
|
|
|
2516
2526
|
interface RefundCaptureSummary {
|
|
@@ -2765,7 +2775,9 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
2765
2775
|
| io.flow.payment.v0.models.SelectIssuerOptionActionDetails;
|
|
2766
2776
|
type BrowserActionConfiguration =
|
|
2767
2777
|
io.flow.payment.v0.models.CardBrowserActionConfiguration;
|
|
2768
|
-
type ConfirmationDetails =
|
|
2778
|
+
type ConfirmationDetails =
|
|
2779
|
+
| io.flow.payment.v0.models.DirectDebit
|
|
2780
|
+
| io.flow.payment.v0.models.Installment;
|
|
2769
2781
|
type ExpandableCard =
|
|
2770
2782
|
| io.flow.payment.v0.models.Card
|
|
2771
2783
|
| io.flow.payment.v0.models.CardReference
|
|
@@ -3352,7 +3364,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3352
3364
|
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
3353
3365
|
readonly payment_method_types?: string[];
|
|
3354
3366
|
readonly receipt_email?: string;
|
|
3355
|
-
readonly save_payment_method
|
|
3367
|
+
readonly save_payment_method: boolean;
|
|
3356
3368
|
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
3357
3369
|
}
|
|
3358
3370
|
|
|
@@ -3373,7 +3385,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3373
3385
|
readonly payment_method_types?: string[];
|
|
3374
3386
|
readonly receipt_email?: string;
|
|
3375
3387
|
readonly return_url?: string;
|
|
3376
|
-
readonly save_payment_method
|
|
3388
|
+
readonly save_payment_method: boolean;
|
|
3377
3389
|
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
3378
3390
|
readonly statement_descriptor?: string;
|
|
3379
3391
|
readonly statement_descriptor_suffix?: string;
|
|
@@ -3390,7 +3402,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3390
3402
|
readonly payment_method?: string;
|
|
3391
3403
|
readonly payment_method_types?: string[];
|
|
3392
3404
|
readonly receipt_email?: string;
|
|
3393
|
-
readonly save_payment_method
|
|
3405
|
+
readonly save_payment_method: boolean;
|
|
3394
3406
|
readonly statement_descriptor?: string;
|
|
3395
3407
|
readonly statement_descriptor_suffix?: string;
|
|
3396
3408
|
readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
|
|
@@ -4827,14 +4839,14 @@ declare namespace io.flow.bitpay.v0.models {
|
|
|
4827
4839
|
readonly currency: string;
|
|
4828
4840
|
readonly posData?: string;
|
|
4829
4841
|
readonly notificationURL?: string;
|
|
4830
|
-
readonly transactionSpeed
|
|
4842
|
+
readonly transactionSpeed: io.flow.bitpay.v0.enums.TransactionSpeed;
|
|
4831
4843
|
readonly fullNotifications?: boolean;
|
|
4832
4844
|
readonly notificationEmail?: string;
|
|
4833
4845
|
readonly redirectURL?: string;
|
|
4834
4846
|
readonly orderId?: string;
|
|
4835
4847
|
readonly itemDesc?: string;
|
|
4836
4848
|
readonly itemCode?: string;
|
|
4837
|
-
readonly physical
|
|
4849
|
+
readonly physical: boolean;
|
|
4838
4850
|
readonly buyerName?: string;
|
|
4839
4851
|
readonly buyerAddress1?: string;
|
|
4840
4852
|
readonly buyerAddress2?: string;
|
|
@@ -4891,12 +4903,12 @@ declare namespace io.flow.bitpay.v0.models {
|
|
|
4891
4903
|
readonly currency: string;
|
|
4892
4904
|
readonly posData?: string;
|
|
4893
4905
|
readonly notificationURL?: string;
|
|
4894
|
-
readonly transactionSpeed
|
|
4906
|
+
readonly transactionSpeed: io.flow.bitpay.v0.enums.TransactionSpeed;
|
|
4895
4907
|
readonly fullNotifications?: boolean;
|
|
4896
4908
|
readonly extendedNotifications?: boolean;
|
|
4897
4909
|
readonly redirectURL?: string;
|
|
4898
4910
|
readonly orderId?: string;
|
|
4899
|
-
readonly physical
|
|
4911
|
+
readonly physical: boolean;
|
|
4900
4912
|
readonly buyerName?: string;
|
|
4901
4913
|
readonly buyerAddress1?: string;
|
|
4902
4914
|
readonly buyerAddress2?: string;
|
|
@@ -5477,6 +5489,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5477
5489
|
readonly avsResult?: string;
|
|
5478
5490
|
readonly cvcResultRaw?: string;
|
|
5479
5491
|
readonly cvcResult?: string;
|
|
5492
|
+
readonly refusalReasonRaw?: string;
|
|
5480
5493
|
readonly liabilityShift?: string;
|
|
5481
5494
|
readonly threeDAuthenticated?: string;
|
|
5482
5495
|
readonly threeDAuthenticatedResponse?: string;
|
|
@@ -5504,6 +5517,12 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5504
5517
|
readonly issuerCountry?: string;
|
|
5505
5518
|
readonly iban?: string;
|
|
5506
5519
|
readonly bic?: string;
|
|
5520
|
+
readonly iDealConsumerAccountNumber?: string;
|
|
5521
|
+
readonly iDealConsumerBIC?: string;
|
|
5522
|
+
readonly iDealConsumerCity?: string;
|
|
5523
|
+
readonly iDealConsumerIBAN?: string;
|
|
5524
|
+
readonly iDealConsumerName?: string;
|
|
5525
|
+
readonly iDealTransactionId?: string;
|
|
5507
5526
|
}
|
|
5508
5527
|
|
|
5509
5528
|
interface Recurring {
|
|
@@ -5881,7 +5900,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
5881
5900
|
interface Product {
|
|
5882
5901
|
readonly id: number;
|
|
5883
5902
|
readonly handle: string;
|
|
5884
|
-
readonly variants
|
|
5903
|
+
readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
|
|
5885
5904
|
readonly images: io.flow.shopify.external.v0.models.ProductImage[];
|
|
5886
5905
|
readonly title: string;
|
|
5887
5906
|
readonly vendor?: string;
|
|
@@ -6066,7 +6085,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
6066
6085
|
}
|
|
6067
6086
|
|
|
6068
6087
|
interface ShopifyClientDetail {
|
|
6069
|
-
readonly accept_language
|
|
6088
|
+
readonly accept_language: boolean;
|
|
6070
6089
|
readonly browser_height?: number;
|
|
6071
6090
|
readonly browser_ip?: string;
|
|
6072
6091
|
readonly browser_width?: number;
|
|
@@ -6082,7 +6101,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
6082
6101
|
readonly tax_exempt: boolean;
|
|
6083
6102
|
readonly verified_email: boolean;
|
|
6084
6103
|
readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
6085
|
-
readonly accepts_marketing
|
|
6104
|
+
readonly accepts_marketing: boolean;
|
|
6086
6105
|
readonly default_address?: any /*object*/;
|
|
6087
6106
|
readonly email?: string;
|
|
6088
6107
|
readonly first_name?: string;
|
|
@@ -6161,7 +6180,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
6161
6180
|
readonly requires_shipping: boolean;
|
|
6162
6181
|
readonly currency?: string;
|
|
6163
6182
|
readonly items: io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
|
|
6164
|
-
readonly cart_level_discount_applications
|
|
6183
|
+
readonly cart_level_discount_applications: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
6165
6184
|
}
|
|
6166
6185
|
|
|
6167
6186
|
interface ShopifyExternalCartItem {
|
|
@@ -6176,7 +6195,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
6176
6195
|
readonly original_line_price: number;
|
|
6177
6196
|
readonly total_discount: number;
|
|
6178
6197
|
readonly discounted_price: number;
|
|
6179
|
-
readonly discounts
|
|
6198
|
+
readonly discounts: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
6180
6199
|
readonly taxable: boolean;
|
|
6181
6200
|
readonly quantity: number;
|
|
6182
6201
|
readonly sku?: string;
|
|
@@ -6194,8 +6213,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
6194
6213
|
readonly product_description?: string;
|
|
6195
6214
|
readonly product_type: string;
|
|
6196
6215
|
readonly variant_title?: string;
|
|
6197
|
-
readonly variant_options
|
|
6198
|
-
readonly line_level_discount_allocations
|
|
6216
|
+
readonly variant_options: string[];
|
|
6217
|
+
readonly line_level_discount_allocations: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
6199
6218
|
}
|
|
6200
6219
|
|
|
6201
6220
|
interface ShopifyFulfillment {
|
|
@@ -6436,11 +6455,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
6436
6455
|
readonly updated_at?: string;
|
|
6437
6456
|
readonly user_id?: number;
|
|
6438
6457
|
readonly order_status_url?: string;
|
|
6439
|
-
readonly inventory_behaviour
|
|
6458
|
+
readonly inventory_behaviour: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
6440
6459
|
readonly gateway?: string;
|
|
6441
6460
|
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
6442
6461
|
readonly send_receipt?: boolean;
|
|
6443
|
-
readonly metafields
|
|
6462
|
+
readonly metafields: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
6444
6463
|
}
|
|
6445
6464
|
|
|
6446
6465
|
interface ShopifyOrderCount {
|
|
@@ -6578,7 +6597,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
6578
6597
|
|
|
6579
6598
|
interface ShopifyWebhookOrder {
|
|
6580
6599
|
readonly id?: number;
|
|
6581
|
-
readonly line_items
|
|
6600
|
+
readonly line_items: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
6582
6601
|
}
|
|
6583
6602
|
|
|
6584
6603
|
interface ShopifyWebhookOrderCancelled {
|
|
@@ -6788,10 +6807,10 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
6788
6807
|
readonly shop_id: number;
|
|
6789
6808
|
readonly fulfillment_order_id: number;
|
|
6790
6809
|
readonly line_item_id: number;
|
|
6791
|
-
readonly inventory_item_id
|
|
6810
|
+
readonly inventory_item_id?: number;
|
|
6792
6811
|
readonly quantity: number;
|
|
6793
6812
|
readonly fulfillable_quantity: number;
|
|
6794
|
-
readonly variant_id
|
|
6813
|
+
readonly variant_id?: number;
|
|
6795
6814
|
}
|
|
6796
6815
|
|
|
6797
6816
|
interface ResponseShopifyTransactions {
|
|
@@ -6988,7 +7007,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
6988
7007
|
readonly updated_at?: string;
|
|
6989
7008
|
readonly user_id?: number;
|
|
6990
7009
|
readonly order_status_url?: string;
|
|
6991
|
-
readonly inventory_behaviour
|
|
7010
|
+
readonly inventory_behaviour: io.flow.shopify.markets.v0.enums.ShopifyOrderInventoryBehaviour;
|
|
6992
7011
|
readonly gateway?: string;
|
|
6993
7012
|
readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
|
|
6994
7013
|
readonly send_receipt?: boolean;
|
|
@@ -7026,7 +7045,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
7026
7045
|
}
|
|
7027
7046
|
|
|
7028
7047
|
interface ShopifyOrderClientDetail {
|
|
7029
|
-
readonly accept_language
|
|
7048
|
+
readonly accept_language: string;
|
|
7030
7049
|
readonly browser_height?: number;
|
|
7031
7050
|
readonly browser_ip?: string;
|
|
7032
7051
|
readonly browser_width?: number;
|
|
@@ -7896,13 +7915,13 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7896
7915
|
|
|
7897
7916
|
interface PaymentDiscount {
|
|
7898
7917
|
readonly amount: number;
|
|
7899
|
-
readonly name
|
|
7918
|
+
readonly name: string;
|
|
7900
7919
|
readonly code?: string;
|
|
7901
7920
|
}
|
|
7902
7921
|
|
|
7903
7922
|
interface PaymentDuty {
|
|
7904
7923
|
readonly amount: number;
|
|
7905
|
-
readonly name
|
|
7924
|
+
readonly name: string;
|
|
7906
7925
|
}
|
|
7907
7926
|
|
|
7908
7927
|
interface PaymentFailure {
|
|
@@ -8206,7 +8225,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8206
8225
|
|
|
8207
8226
|
interface PaymentTax {
|
|
8208
8227
|
readonly amount: number;
|
|
8209
|
-
readonly name
|
|
8228
|
+
readonly name: string;
|
|
8210
8229
|
}
|
|
8211
8230
|
|
|
8212
8231
|
interface Shipping {
|
|
@@ -8480,7 +8499,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
8480
8499
|
readonly country: string;
|
|
8481
8500
|
readonly field_validation: io.flow.experience.v0.models.AddressFieldValidation;
|
|
8482
8501
|
readonly provinces: io.flow.experience.v0.models.AddressConfigurationProvince[];
|
|
8483
|
-
readonly formats
|
|
8502
|
+
readonly formats: io.flow.experience.v0.models.AddressConfigurationFormat[];
|
|
8484
8503
|
readonly province_type?: io.flow.reference.v0.enums.ProvinceType;
|
|
8485
8504
|
readonly postal_type?: io.flow.reference.v0.enums.PostalType;
|
|
8486
8505
|
}
|
|
@@ -8541,7 +8560,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
8541
8560
|
readonly rate: number;
|
|
8542
8561
|
readonly name: string;
|
|
8543
8562
|
readonly price?: io.flow.common.v0.models.PriceWithBase;
|
|
8544
|
-
readonly accuracy
|
|
8563
|
+
readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
|
|
8545
8564
|
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
8546
8565
|
}
|
|
8547
8566
|
|
|
@@ -9041,7 +9060,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
9041
9060
|
readonly discriminator: 'order';
|
|
9042
9061
|
readonly id: string;
|
|
9043
9062
|
readonly number: string;
|
|
9044
|
-
readonly order_type
|
|
9063
|
+
readonly order_type: io.flow.experience.v0.enums.OrderType;
|
|
9045
9064
|
readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
|
|
9046
9065
|
readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
|
|
9047
9066
|
readonly customer: io.flow.common.v0.models.OrderCustomer;
|
|
@@ -9220,7 +9239,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
9220
9239
|
|
|
9221
9240
|
interface OrderNumberGeneratorUuid {
|
|
9222
9241
|
readonly discriminator: 'uuid';
|
|
9223
|
-
readonly prefix
|
|
9242
|
+
readonly prefix: string;
|
|
9224
9243
|
}
|
|
9225
9244
|
|
|
9226
9245
|
interface OrderNumberReference {
|
|
@@ -9234,13 +9253,13 @@ declare namespace io.flow.experience.v0.models {
|
|
|
9234
9253
|
interface OrderPayment {
|
|
9235
9254
|
readonly id: string;
|
|
9236
9255
|
readonly type: io.flow.experience.v0.enums.OrderPaymentType;
|
|
9237
|
-
readonly merchant_of_record
|
|
9256
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
9238
9257
|
readonly reference: string;
|
|
9239
9258
|
readonly description: string;
|
|
9240
9259
|
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
9241
9260
|
readonly address?: io.flow.common.v0.models.BillingAddress;
|
|
9242
9261
|
readonly date?: string;
|
|
9243
|
-
readonly attributes
|
|
9262
|
+
readonly attributes: Record<string, string>;
|
|
9244
9263
|
readonly method?: string;
|
|
9245
9264
|
}
|
|
9246
9265
|
|
|
@@ -9250,7 +9269,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
9250
9269
|
}
|
|
9251
9270
|
|
|
9252
9271
|
interface OrderPutForm {
|
|
9253
|
-
readonly order_type
|
|
9272
|
+
readonly order_type: io.flow.experience.v0.enums.OrderType;
|
|
9254
9273
|
readonly items: io.flow.common.v0.models.LineItemForm[];
|
|
9255
9274
|
readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
|
|
9256
9275
|
readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
|
|
@@ -9342,7 +9361,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
9342
9361
|
}
|
|
9343
9362
|
|
|
9344
9363
|
interface OrderSubmissionForm {
|
|
9345
|
-
readonly identifiers
|
|
9364
|
+
readonly identifiers: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
|
|
9346
9365
|
}
|
|
9347
9366
|
|
|
9348
9367
|
interface OrderSubmissionIdentifierForm {
|
|
@@ -9792,7 +9811,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
9792
9811
|
readonly origination_zones: io.flow.common.v0.models.Zone[];
|
|
9793
9812
|
readonly service: string;
|
|
9794
9813
|
readonly number?: string;
|
|
9795
|
-
readonly ratecard_owner
|
|
9814
|
+
readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
9796
9815
|
}
|
|
9797
9816
|
|
|
9798
9817
|
interface RatecardLane {
|
|
@@ -10149,6 +10168,7 @@ declare namespace io.flow.crypto.v0.enums {
|
|
|
10149
10168
|
type RefundStatus = 'pending' | 'succeeded';
|
|
10150
10169
|
type WebhookEventName =
|
|
10151
10170
|
| 'payment.created'
|
|
10171
|
+
| 'payment.fulfilled'
|
|
10152
10172
|
| 'payment.captured'
|
|
10153
10173
|
| 'payment.refund_requested'
|
|
10154
10174
|
| 'payment.refund_transferred';
|
|
@@ -10784,7 +10804,7 @@ declare namespace io.flow.catalog.v0.models {
|
|
|
10784
10804
|
readonly base: io.flow.common.v0.models.Price;
|
|
10785
10805
|
readonly name: string;
|
|
10786
10806
|
readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
|
|
10787
|
-
readonly accuracy
|
|
10807
|
+
readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
|
|
10788
10808
|
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
10789
10809
|
}
|
|
10790
10810
|
|
|
@@ -10966,7 +10986,7 @@ declare namespace io.flow.inventory.v0.models {
|
|
|
10966
10986
|
|
|
10967
10987
|
interface InventoryUnlimited {
|
|
10968
10988
|
readonly discriminator: 'inventory_unlimited';
|
|
10969
|
-
readonly placeholder
|
|
10989
|
+
readonly placeholder: string;
|
|
10970
10990
|
}
|
|
10971
10991
|
|
|
10972
10992
|
interface InventoryUpdate {
|
|
@@ -12633,7 +12653,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
12633
12653
|
readonly organization: string;
|
|
12634
12654
|
readonly email: string;
|
|
12635
12655
|
readonly name?: io.flow.common.v0.models.Name;
|
|
12636
|
-
readonly role
|
|
12656
|
+
readonly role: io.flow.common.v0.enums.Role;
|
|
12637
12657
|
readonly roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
12638
12658
|
}
|
|
12639
12659
|
|
|
@@ -12655,13 +12675,13 @@ declare namespace io.flow.organization.v0.models {
|
|
|
12655
12675
|
interface MembershipForm {
|
|
12656
12676
|
readonly organization: string;
|
|
12657
12677
|
readonly user: string;
|
|
12658
|
-
readonly role
|
|
12659
|
-
readonly roles
|
|
12678
|
+
readonly role: io.flow.common.v0.enums.Role;
|
|
12679
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
12660
12680
|
}
|
|
12661
12681
|
|
|
12662
12682
|
interface MembershipPutForm {
|
|
12663
|
-
readonly role
|
|
12664
|
-
readonly roles
|
|
12683
|
+
readonly role: io.flow.common.v0.enums.Role;
|
|
12684
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
12665
12685
|
}
|
|
12666
12686
|
|
|
12667
12687
|
interface MembershipVersion {
|
|
@@ -12700,7 +12720,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
12700
12720
|
readonly environment: io.flow.common.v0.enums.Environment;
|
|
12701
12721
|
readonly parent_id?: string;
|
|
12702
12722
|
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
12703
|
-
readonly status
|
|
12723
|
+
readonly status: io.flow.common.v0.enums.OrganizationStatus;
|
|
12704
12724
|
}
|
|
12705
12725
|
|
|
12706
12726
|
interface OrganizationPutForm {
|
|
@@ -12708,7 +12728,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
12708
12728
|
readonly environment?: io.flow.common.v0.enums.Environment;
|
|
12709
12729
|
readonly parent_id?: string;
|
|
12710
12730
|
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
12711
|
-
readonly status
|
|
12731
|
+
readonly status: io.flow.common.v0.enums.OrganizationStatus;
|
|
12712
12732
|
}
|
|
12713
12733
|
|
|
12714
12734
|
interface OrganizationVersion {
|
|
@@ -13699,6 +13719,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13699
13719
|
| 'last_shipment'
|
|
13700
13720
|
| 'shipment_exhausted';
|
|
13701
13721
|
type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
|
|
13722
|
+
type OrderTransactionType = 'adjustment' | 'order_service';
|
|
13702
13723
|
type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
|
|
13703
13724
|
type OrganizationPaymentStatus = 'active' | 'archived';
|
|
13704
13725
|
type OutputStyle = 'flow' | 'shopify_p1';
|
|
@@ -13854,7 +13875,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13854
13875
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
13855
13876
|
type SuggestionAction = 'accept' | 'validate' | 'review';
|
|
13856
13877
|
type TariffEligibilityType = 'rex';
|
|
13857
|
-
type TaskProcessorKey = 'billing_account';
|
|
13878
|
+
type TaskProcessorKey = 'billing_account' | 'carrier_account';
|
|
13858
13879
|
type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
|
|
13859
13880
|
type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
|
|
13860
13881
|
type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
@@ -14799,14 +14820,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14799
14820
|
readonly settings: io.flow.internal.v0.models.BillingOrganizationSettings;
|
|
14800
14821
|
}
|
|
14801
14822
|
|
|
14802
|
-
interface BillingStatement {
|
|
14803
|
-
readonly id: string;
|
|
14804
|
-
readonly account: io.flow.internal.v0.models.AccountReference;
|
|
14805
|
-
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
14806
|
-
readonly totals: io.flow.internal.v0.models.BillingStatementTotals;
|
|
14807
|
-
readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[];
|
|
14808
|
-
}
|
|
14809
|
-
|
|
14810
14823
|
interface BillingStatementAttachment {
|
|
14811
14824
|
readonly key: io.flow.internal.v0.enums.BillingStatementAttachmentKey;
|
|
14812
14825
|
readonly name: string;
|
|
@@ -14827,7 +14840,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14827
14840
|
|
|
14828
14841
|
interface BillingStatementPendingReview {
|
|
14829
14842
|
readonly source: io.flow.internal.v0.models.AccountSource;
|
|
14830
|
-
readonly statement: io.flow.internal.v0.models.
|
|
14843
|
+
readonly statement: io.flow.internal.v0.models.BillingStatementSummary;
|
|
14831
14844
|
}
|
|
14832
14845
|
|
|
14833
14846
|
interface BillingStatementReference {
|
|
@@ -14846,6 +14859,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14846
14859
|
readonly reviewed_at: string;
|
|
14847
14860
|
}
|
|
14848
14861
|
|
|
14862
|
+
interface BillingStatementSummary {
|
|
14863
|
+
readonly id: string;
|
|
14864
|
+
readonly account: io.flow.internal.v0.models.AccountReference;
|
|
14865
|
+
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
14866
|
+
readonly totals: io.flow.internal.v0.models.BillingStatementTotals;
|
|
14867
|
+
readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[];
|
|
14868
|
+
}
|
|
14869
|
+
|
|
14849
14870
|
interface BillingStatementTotals {
|
|
14850
14871
|
readonly starting_balance: io.flow.common.v0.models.Price;
|
|
14851
14872
|
readonly subscription: io.flow.common.v0.models.Price;
|
|
@@ -14871,7 +14892,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14871
14892
|
readonly discriminator: 'billing_statement_upserted';
|
|
14872
14893
|
readonly event_id: string;
|
|
14873
14894
|
readonly timestamp: string;
|
|
14874
|
-
readonly statement: io.flow.internal.v0.models.
|
|
14895
|
+
readonly statement: io.flow.internal.v0.models.BillingStatementSummary;
|
|
14875
14896
|
}
|
|
14876
14897
|
|
|
14877
14898
|
interface BillingTransaction {
|
|
@@ -15318,6 +15339,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15318
15339
|
readonly channel_account: io.flow.internal.v0.models.ChannelAccount;
|
|
15319
15340
|
}
|
|
15320
15341
|
|
|
15342
|
+
interface ChannelBillingStatement {
|
|
15343
|
+
readonly id: string;
|
|
15344
|
+
readonly account: io.flow.internal.v0.models.AccountReference;
|
|
15345
|
+
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
15346
|
+
readonly totals: io.flow.internal.v0.models.BillingStatementTotals;
|
|
15347
|
+
readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[];
|
|
15348
|
+
}
|
|
15349
|
+
|
|
15321
15350
|
interface ChannelCurrencyForm {
|
|
15322
15351
|
readonly currency: string;
|
|
15323
15352
|
readonly channel_id: string;
|
|
@@ -21537,6 +21566,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21537
21566
|
readonly messages: io.flow.internal.v0.models.OnboardingAuditMessage[];
|
|
21538
21567
|
}
|
|
21539
21568
|
|
|
21569
|
+
interface OnboardingAuditSnapshot {
|
|
21570
|
+
readonly id: string;
|
|
21571
|
+
readonly organization: io.flow.common.v0.models.Organization;
|
|
21572
|
+
readonly result: io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
21573
|
+
readonly theme_reports: io.flow.internal.v0.models.OnboardingAuditThemeReport[];
|
|
21574
|
+
readonly requested_by: io.flow.common.v0.models.User;
|
|
21575
|
+
readonly requested_at: string;
|
|
21576
|
+
}
|
|
21577
|
+
|
|
21540
21578
|
interface OnboardingAuditThemeReport {
|
|
21541
21579
|
readonly name: string;
|
|
21542
21580
|
readonly key: io.flow.internal.v0.enums.OnboardingAuditThemeKey;
|
|
@@ -21816,7 +21854,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21816
21854
|
}
|
|
21817
21855
|
|
|
21818
21856
|
interface OrganizationBillingStatement {
|
|
21819
|
-
readonly
|
|
21857
|
+
readonly id: string;
|
|
21858
|
+
readonly account: io.flow.internal.v0.models.AccountReference;
|
|
21859
|
+
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
21860
|
+
readonly totals: io.flow.internal.v0.models.BillingStatementTotals;
|
|
21861
|
+
readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[];
|
|
21820
21862
|
}
|
|
21821
21863
|
|
|
21822
21864
|
interface OrganizationBooleanValue {
|
|
@@ -25780,7 +25822,6 @@ export type BillingOrganizationSettingsDeleted =
|
|
|
25780
25822
|
io.flow.internal.v0.models.BillingOrganizationSettingsDeleted;
|
|
25781
25823
|
export type BillingOrganizationSettingsUpserted =
|
|
25782
25824
|
io.flow.internal.v0.models.BillingOrganizationSettingsUpserted;
|
|
25783
|
-
export type BillingStatement = io.flow.internal.v0.models.BillingStatement;
|
|
25784
25825
|
export type BillingStatementAttachment =
|
|
25785
25826
|
io.flow.internal.v0.models.BillingStatementAttachment;
|
|
25786
25827
|
export type BillingStatementAttachmentKey =
|
|
@@ -25801,6 +25842,8 @@ export type BillingStatementReviewForm =
|
|
|
25801
25842
|
io.flow.internal.v0.models.BillingStatementReviewForm;
|
|
25802
25843
|
export type BillingStatementReviewStatus =
|
|
25803
25844
|
io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
25845
|
+
export type BillingStatementSummary =
|
|
25846
|
+
io.flow.internal.v0.models.BillingStatementSummary;
|
|
25804
25847
|
export type BillingStatementTotals =
|
|
25805
25848
|
io.flow.internal.v0.models.BillingStatementTotals;
|
|
25806
25849
|
export type BillingStatementUpserted =
|
|
@@ -25946,6 +25989,8 @@ export type ChannelAccountDeleted =
|
|
|
25946
25989
|
io.flow.internal.v0.models.ChannelAccountDeleted;
|
|
25947
25990
|
export type ChannelAccountUpserted =
|
|
25948
25991
|
io.flow.internal.v0.models.ChannelAccountUpserted;
|
|
25992
|
+
export type ChannelBillingStatement =
|
|
25993
|
+
io.flow.internal.v0.models.ChannelBillingStatement;
|
|
25949
25994
|
export type ChannelCurrencyForm =
|
|
25950
25995
|
io.flow.internal.v0.models.ChannelCurrencyForm;
|
|
25951
25996
|
export type ChannelCurrencySetting =
|
|
@@ -27991,6 +28036,8 @@ export type OnboardingAuditReportLine =
|
|
|
27991
28036
|
io.flow.internal.v0.models.OnboardingAuditReportLine;
|
|
27992
28037
|
export type OnboardingAuditResult =
|
|
27993
28038
|
io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
28039
|
+
export type OnboardingAuditSnapshot =
|
|
28040
|
+
io.flow.internal.v0.models.OnboardingAuditSnapshot;
|
|
27994
28041
|
export type OnboardingAuditThemeKey =
|
|
27995
28042
|
io.flow.internal.v0.enums.OnboardingAuditThemeKey;
|
|
27996
28043
|
export type OnboardingAuditThemeReport =
|
|
@@ -28056,6 +28103,8 @@ export type OrderShipped = io.flow.internal.v0.models.OrderShipped;
|
|
|
28056
28103
|
export type OrderSubmissionForm =
|
|
28057
28104
|
io.flow.internal.v0.models.OrderSubmissionForm;
|
|
28058
28105
|
export type OrderTransaction = io.flow.internal.v0.models.OrderTransaction;
|
|
28106
|
+
export type OrderTransactionType =
|
|
28107
|
+
io.flow.internal.v0.enums.OrderTransactionType;
|
|
28059
28108
|
export type OrganizationAccount =
|
|
28060
28109
|
io.flow.internal.v0.models.OrganizationAccount;
|
|
28061
28110
|
export type OrganizationAccountDeleted =
|