@flowio/types 11.24.110 → 11.24.112

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/src/api.ts CHANGED
@@ -551,12 +551,58 @@ declare namespace io.flow.stripe.v0.enums {
551
551
  | 'unknown';
552
552
  type RefundReason = 'duplicate' | 'fraudulent' | 'requested_by_customer';
553
553
  type RefundStatus = 'succeeded' | 'failed' | 'pending' | 'canceled';
554
+ type ReportingReportRunStatus = 'pending' | 'succeeded' | 'failed';
555
+ type ReportingReportType =
556
+ | 'ending_balance_reconciliation.itemized.1'
557
+ | 'ending_balance_reconciliation.itemized.2'
558
+ | 'ending_balance_reconciliation.itemized.3'
559
+ | 'ending_balance_reconciliation.itemized.4'
560
+ | 'payout_reconciliation.itemized.5'
561
+ | 'payout_reconciliation.by_id.itemized.1'
562
+ | 'payout_reconciliation.by_id.itemized.2'
563
+ | 'payout_reconciliation.by_id.itemized.3'
564
+ | 'payout_reconciliation.by_id.itemized.4'
565
+ | 'payout_reconciliation.by_id.summary.1'
566
+ | 'ending_balance_reconciliation.summary.1'
567
+ | 'payout_reconciliation.itemized.1'
568
+ | 'payout_reconciliation.itemized.2'
569
+ | 'payout_reconciliation.itemized.3'
570
+ | 'payout_reconciliation.itemized.4'
571
+ | 'payout_reconciliation.summary.1';
554
572
  type RequestThreeDSecureType = 'automatic' | 'any';
555
573
  type RequestedCapabilities =
556
574
  | 'card_payments'
557
575
  | 'legacy_payments'
558
576
  | 'transfers';
559
577
  type SetupFutureUsage = 'on_session' | 'off_session';
578
+ type ShopifyPaymentStripeEventType =
579
+ | 'charge.captured'
580
+ | 'charge.dispute.created'
581
+ | 'charge.dispute.closed'
582
+ | 'charge.dispute.funds_reinstated'
583
+ | 'charge.dispute.funds_withdrawn'
584
+ | 'charge.dispute.updated'
585
+ | 'charge.expired'
586
+ | 'charge.failed'
587
+ | 'charge.pending'
588
+ | 'charge.refund.updated'
589
+ | 'charge.refunded'
590
+ | 'charge.succeeded'
591
+ | 'charge.updated'
592
+ | 'payment_intent.amount_capturable_updated'
593
+ | 'payment_intent.canceled'
594
+ | 'payment_intent.created'
595
+ | 'payment_intent.partially_funded'
596
+ | 'payment_intent.payment_failed'
597
+ | 'payment_intent.processing'
598
+ | 'payment_intent.requires_action'
599
+ | 'payment_intent.succeeded'
600
+ | 'transfer.created'
601
+ | 'transfer.reversed'
602
+ | 'transfer.updated'
603
+ | 'reporting.report_run.succeeded'
604
+ | 'reporting.report_type.updated'
605
+ | 'reporting.report_type.failed';
560
606
  type SourceFlow = 'redirect' | 'receiver' | 'code_verification' | 'none';
561
607
  type SourceStatus =
562
608
  | 'canceled'
@@ -1493,12 +1539,76 @@ declare namespace io.flow.stripe.v0.models {
1493
1539
  readonly url: string;
1494
1540
  }
1495
1541
 
1542
+ interface ReportRunParameters {
1543
+ readonly interval_start: number;
1544
+ readonly interval_end: number;
1545
+ readonly columns?: string[];
1546
+ readonly payout?: string;
1547
+ readonly connected_account?: string;
1548
+ readonly reporting_category?: string;
1549
+ }
1550
+
1551
+ interface ReportingReportRun {
1552
+ readonly id: string;
1553
+ readonly object: string;
1554
+ readonly created: number;
1555
+ readonly error?: string;
1556
+ readonly livemode: boolean;
1557
+ readonly status: io.flow.stripe.v0.enums.ReportingReportRunStatus;
1558
+ readonly result?: io.flow.stripe.v0.models.ReportingReportRunResult;
1559
+ readonly succeeded_at?: number;
1560
+ }
1561
+
1562
+ interface ReportingReportRunForm {
1563
+ readonly report_type: io.flow.stripe.v0.enums.ReportingReportType;
1564
+ readonly parameters: io.flow.stripe.v0.models.ReportRunParameters;
1565
+ }
1566
+
1567
+ interface ReportingReportRunResult {
1568
+ readonly id: string;
1569
+ readonly object: string;
1570
+ readonly created: number;
1571
+ readonly expires_at: number;
1572
+ readonly filename: string;
1573
+ readonly links: any /*object*/;
1574
+ readonly purpose: string;
1575
+ readonly size: number;
1576
+ readonly title: string;
1577
+ readonly type: string;
1578
+ readonly url: string;
1579
+ }
1580
+
1581
+ interface ReportingReportRuns {
1582
+ readonly object: string;
1583
+ readonly data: io.flow.stripe.v0.models.ReportingReportRun[];
1584
+ readonly has_more: boolean;
1585
+ readonly url?: string;
1586
+ }
1587
+
1496
1588
  interface Shipping {
1497
1589
  readonly address: io.flow.stripe.v0.models.Address;
1498
1590
  readonly name?: string;
1499
1591
  readonly phone?: string;
1500
1592
  }
1501
1593
 
1594
+ interface ShopifyPaymentStripeEvent {
1595
+ readonly id: string;
1596
+ readonly api_version?: string;
1597
+ readonly data: io.flow.stripe.v0.models.ShopifyPaymentStripeEventData;
1598
+ readonly request?: any /*object*/;
1599
+ readonly type: io.flow.stripe.v0.enums.ShopifyPaymentStripeEventType;
1600
+ readonly object: string;
1601
+ readonly account?: string;
1602
+ readonly created: number;
1603
+ readonly livemode: boolean;
1604
+ readonly pending_webhooks: number;
1605
+ }
1606
+
1607
+ interface ShopifyPaymentStripeEventData {
1608
+ readonly object?: any /*object*/;
1609
+ readonly previous_attributes?: any /*object*/;
1610
+ }
1611
+
1502
1612
  interface Source {
1503
1613
  readonly id: string;
1504
1614
  readonly object: string;
@@ -1955,8 +2065,21 @@ declare namespace io.flow.shopify.external.v0.models {
1955
2065
  }
1956
2066
 
1957
2067
  interface GraphqlMetafield {
2068
+ readonly id: string;
1958
2069
  readonly key: string;
1959
2070
  readonly value: string;
2071
+ readonly type?: string;
2072
+ }
2073
+
2074
+ interface GraphqlMetaobject {
2075
+ readonly id: string;
2076
+ readonly displayName: string;
2077
+ readonly fields: io.flow.shopify.external.v0.models.GraphqlMetaobjectField[];
2078
+ }
2079
+
2080
+ interface GraphqlMetaobjectField {
2081
+ readonly key: string;
2082
+ readonly value?: string;
1960
2083
  }
1961
2084
 
1962
2085
  interface GraphqlOption {
@@ -2132,6 +2255,7 @@ declare namespace io.flow.shopify.external.v0.models {
2132
2255
  readonly updated_at: string;
2133
2256
  readonly has_variants_that_requires_components?: boolean;
2134
2257
  readonly category?: io.flow.product.v0.models.ProductTaxonomyCategory;
2258
+ readonly metafields?: io.flow.shopify.external.v0.models.ProductMetafield[];
2135
2259
  }
2136
2260
 
2137
2261
  interface ProductDelete {
@@ -2149,6 +2273,17 @@ declare namespace io.flow.shopify.external.v0.models {
2149
2273
  readonly alt?: string;
2150
2274
  }
2151
2275
 
2276
+ interface ProductMetafield {
2277
+ readonly id: number;
2278
+ readonly namespace: string;
2279
+ readonly key: string;
2280
+ readonly value: string;
2281
+ readonly created_at: string;
2282
+ readonly updated_at: string;
2283
+ readonly type: string;
2284
+ readonly admin_graphql_api_id: string;
2285
+ }
2286
+
2152
2287
  interface ProductVariant {
2153
2288
  readonly id: number;
2154
2289
  readonly sku?: string;
@@ -4774,13 +4909,6 @@ declare namespace io.flow.tech.onboarding.playground.v0.models {
4774
4909
  readonly name: string;
4775
4910
  }
4776
4911
 
4777
- interface ShawnRoundtableWorkshopRate {
4778
- readonly origin_country: string;
4779
- readonly destination_country: string;
4780
- readonly weight: number;
4781
- readonly amount: number;
4782
- }
4783
-
4784
4912
  interface TechOnboardingDescription {
4785
4913
  readonly description: string;
4786
4914
  }
@@ -6081,11 +6209,15 @@ declare namespace io.flow.v0.enums {
6081
6209
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
6082
6210
  type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
6083
6211
  type Environment = 'sandbox' | 'production';
6212
+ type EstimateOrigin = 'Shopify' | 'GlobalE' | 'Aftership' | 'Carrier';
6213
+ type EstimateType = 'Estimated' | 'Final';
6084
6214
  type EventType =
6085
6215
  | 'test_upserted'
6086
6216
  | 'generate_load'
6087
6217
  | 'aldo_item_upserted'
6088
6218
  | 'aldo_item_deleted'
6219
+ | 'ansh_item_upserted'
6220
+ | 'ansh_item_deleted'
6089
6221
  | 'transaction_upserted'
6090
6222
  | 'organization_transaction_upserted'
6091
6223
  | 'organization_transaction_deleted'
@@ -6195,6 +6327,11 @@ declare namespace io.flow.v0.enums {
6195
6327
  | 'shipping_configuration_item_availability_deleted'
6196
6328
  | 'shipping_configuration_item_shipping_pricing_upserted'
6197
6329
  | 'shipping_configuration_item_shipping_pricing_deleted'
6330
+ | 'ge_item_inserted'
6331
+ | 'ge_item_updated'
6332
+ | 'ge_item_deleted'
6333
+ | 'ge_product_restriction_result_upserted'
6334
+ | 'ge_product_restriction_result_deleted'
6198
6335
  | 'hs6_code_upserted'
6199
6336
  | 'hs6_code_deleted'
6200
6337
  | 'hs10_code_upserted'
@@ -6214,14 +6351,8 @@ declare namespace io.flow.v0.enums {
6214
6351
  | 'manifested_label_deleted'
6215
6352
  | 'label_processing_modification_upserted'
6216
6353
  | 'label_processing_modification_deleted'
6217
- | 'local_item_upserted'
6218
- | 'local_item_deleted'
6219
6354
  | 'merchant_application_upserted'
6220
6355
  | 'merchant_application_deleted'
6221
- | 'checkout_optin_responses_upserted'
6222
- | 'checkout_optin_responses_deleted'
6223
- | 'browse_optin_responses_upserted'
6224
- | 'browse_optin_responses_deleted'
6225
6356
  | 'order_placed'
6226
6357
  | 'order_placed_v2'
6227
6358
  | 'ready_to_fulfill'
@@ -6263,6 +6394,8 @@ declare namespace io.flow.v0.enums {
6263
6394
  | 'virtual_card_capture_deleted'
6264
6395
  | 'virtual_card_refund_upserted'
6265
6396
  | 'virtual_card_refund_deleted'
6397
+ | 'authorization_retry_upserted'
6398
+ | 'authorization_retry_deleted'
6266
6399
  | 'payment_request_upserted'
6267
6400
  | 'payment_request_deleted'
6268
6401
  | 'price_book_upserted'
@@ -6454,7 +6587,6 @@ declare namespace io.flow.v0.enums {
6454
6587
  | 'toys_hobbies_gifts'
6455
6588
  | 'vehicles_and_parts'
6456
6589
  | 'other';
6457
- type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
6458
6590
  type OrderChangeSource =
6459
6591
  | 'consumer'
6460
6592
  | 'retailer'
@@ -6477,6 +6609,7 @@ declare namespace io.flow.v0.enums {
6477
6609
  | 'gift_card_not_accepted'
6478
6610
  | 'total_changed';
6479
6611
  type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
6612
+ type OrderPaymentSourceType = 'globale' | 'third_party';
6480
6613
  type OrderPaymentType =
6481
6614
  | 'card'
6482
6615
  | 'online'
@@ -6804,7 +6937,6 @@ declare namespace io.flow.v0.enums {
6804
6937
  type Role = 'admin' | 'member';
6805
6938
  type RoundingMethod = 'up' | 'down' | 'nearest';
6806
6939
  type RoundingType = 'pattern' | 'multiple';
6807
- type RuleEffectType = 'market' | 'dhl' | 'dhl_ecommerce' | 'ups';
6808
6940
  type ScheduleExceptionStatus = 'Open' | 'Closed';
6809
6941
  type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
6810
6942
  type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
@@ -6878,13 +7010,6 @@ declare namespace io.flow.v0.enums {
6878
7010
  | 'Pending_006'
6879
7011
  | 'Expired_001';
6880
7012
  type SurchargeResponsibleParty = 'organization' | 'customer';
6881
- type SyncRecordFailureReason =
6882
- | 'inventory'
6883
- | 'address'
6884
- | 'promotion'
6885
- | 'other';
6886
- type SyncStreamType = 'submitted_order' | 'placed_order';
6887
- type SyncUnitOfTime = 'day' | 'hour' | 'minute' | 'second';
6888
7013
  type TaxApplicability = 'none' | 'all';
6889
7014
  type TaxReportType = 'consumer' | 'b2b';
6890
7015
  type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
@@ -6913,7 +7038,9 @@ declare namespace io.flow.v0.enums {
6913
7038
  | 'delivered'
6914
7039
  | 'exception'
6915
7040
  | 'returned'
6916
- | 'expired';
7041
+ | 'expired'
7042
+ | 'unknown'
7043
+ | 'unmapped';
6917
7044
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
6918
7045
  type TradeAgreementStatus = 'supported' | 'not_supported';
6919
7046
  type TransactionSource =
@@ -6943,7 +7070,7 @@ declare namespace io.flow.v0.enums {
6943
7070
  | 'virtual_card_refund'
6944
7071
  | 'failed_payout'
6945
7072
  | 'tax_refund'
6946
- | 'order_fx'
7073
+ | 'non_l4l_tax_duty_fx'
6947
7074
  | 'ge_revenue_share'
6948
7075
  | 'tax_duty_delta';
6949
7076
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
@@ -7441,6 +7568,20 @@ declare namespace io.flow.v0.models {
7441
7568
  readonly interval?: io.flow.v0.enums.UnitOfTime;
7442
7569
  }
7443
7570
 
7571
+ interface AnshItemDeleted {
7572
+ readonly discriminator: 'ansh_item_deleted';
7573
+ readonly event_id: string;
7574
+ readonly timestamp: string;
7575
+ readonly id: string;
7576
+ }
7577
+
7578
+ interface AnshItemUpserted {
7579
+ readonly discriminator: 'ansh_item_upserted';
7580
+ readonly event_id: string;
7581
+ readonly timestamp: string;
7582
+ readonly item: io.flow.tech.onboarding.playground.v0.models.AnshItem;
7583
+ }
7584
+
7444
7585
  interface ApplePayMerchantValidationPayload {
7445
7586
  readonly discriminator: 'apple_pay_merchant_validation_payload';
7446
7587
  readonly validation_url: string;
@@ -7628,6 +7769,33 @@ declare namespace io.flow.v0.models {
7628
7769
  readonly display: string;
7629
7770
  }
7630
7771
 
7772
+ interface AuthorizationRetry {
7773
+ readonly id: string;
7774
+ readonly authorization_request_id: string;
7775
+ readonly authorization_id: string;
7776
+ readonly organization_id: string;
7777
+ readonly attempt: number;
7778
+ readonly last_failure_code: string;
7779
+ readonly created_at: string;
7780
+ readonly updated_at: string;
7781
+ }
7782
+
7783
+ interface AuthorizationRetryDeleted {
7784
+ readonly discriminator: 'authorization_retry_deleted';
7785
+ readonly event_id: string;
7786
+ readonly timestamp: string;
7787
+ readonly organization: string;
7788
+ readonly id: string;
7789
+ }
7790
+
7791
+ interface AuthorizationRetryUpserted {
7792
+ readonly discriminator: 'authorization_retry_upserted';
7793
+ readonly event_id: string;
7794
+ readonly timestamp: string;
7795
+ readonly organization: string;
7796
+ readonly authorization_retry: io.flow.v0.models.AuthorizationRetry;
7797
+ }
7798
+
7631
7799
  interface AuthorizationStatusChanged {
7632
7800
  readonly discriminator: 'authorization_status_changed';
7633
7801
  readonly event_id: string;
@@ -7909,28 +8077,6 @@ declare namespace io.flow.v0.models {
7909
8077
  readonly hub_code?: string;
7910
8078
  }
7911
8079
 
7912
- interface BrowseOptinResponses {
7913
- readonly id: string;
7914
- readonly session_id: string;
7915
- readonly optin_responses: io.flow.v0.models.OptinResponse[];
7916
- }
7917
-
7918
- interface BrowseOptinResponsesDeleted {
7919
- readonly discriminator: 'browse_optin_responses_deleted';
7920
- readonly event_id: string;
7921
- readonly timestamp: string;
7922
- readonly organization: string;
7923
- readonly id: string;
7924
- }
7925
-
7926
- interface BrowseOptinResponsesUpserted {
7927
- readonly discriminator: 'browse_optin_responses_upserted';
7928
- readonly event_id: string;
7929
- readonly timestamp: string;
7930
- readonly organization: string;
7931
- readonly browse_optin_responses: io.flow.v0.models.BrowseOptinResponses;
7932
- }
7933
-
7934
8080
  interface BrowserInfo {
7935
8081
  readonly origin?: string;
7936
8082
  readonly language?: string;
@@ -8066,6 +8212,7 @@ declare namespace io.flow.v0.models {
8066
8212
  readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor;
8067
8213
  readonly stored_method_usage_step?: io.flow.v0.enums.StoredMethodUsageStep;
8068
8214
  readonly authorized_at?: string;
8215
+ readonly authorization_request_id?: string;
8069
8216
  }
8070
8217
 
8071
8218
  interface CardAuthorizationDeletedV2 {
@@ -8756,29 +8903,6 @@ declare namespace io.flow.v0.models {
8756
8903
  readonly value: string;
8757
8904
  }
8758
8905
 
8759
- interface CheckoutOptinResponses {
8760
- readonly id: string;
8761
- readonly order_number: string;
8762
- readonly session_id: string;
8763
- readonly optin_responses: io.flow.v0.models.OptinResponse[];
8764
- }
8765
-
8766
- interface CheckoutOptinResponsesDeleted {
8767
- readonly discriminator: 'checkout_optin_responses_deleted';
8768
- readonly event_id: string;
8769
- readonly timestamp: string;
8770
- readonly organization: string;
8771
- readonly id: string;
8772
- }
8773
-
8774
- interface CheckoutOptinResponsesUpserted {
8775
- readonly discriminator: 'checkout_optin_responses_upserted';
8776
- readonly event_id: string;
8777
- readonly timestamp: string;
8778
- readonly organization: string;
8779
- readonly checkout_optin_responses: io.flow.v0.models.CheckoutOptinResponses;
8780
- }
8781
-
8782
8906
  interface CheckoutReference {
8783
8907
  readonly id: string;
8784
8908
  }
@@ -9898,6 +10022,15 @@ declare namespace io.flow.v0.models {
9898
10022
  readonly issuing_country?: string;
9899
10023
  }
9900
10024
 
10025
+ interface Estimate {
10026
+ readonly id: string;
10027
+ readonly organization_id: string;
10028
+ readonly label_id: string;
10029
+ readonly estimate: io.flow.v0.models.ShippingLabelHopSummary;
10030
+ readonly type: io.flow.v0.enums.EstimateType;
10031
+ readonly origin?: io.flow.v0.enums.EstimateOrigin;
10032
+ }
10033
+
9901
10034
  interface EstimatedDimensions {
9902
10035
  readonly depth: io.flow.v0.models.Measurement;
9903
10036
  readonly length: io.flow.v0.models.Measurement;
@@ -10589,6 +10722,46 @@ declare namespace io.flow.v0.models {
10589
10722
  readonly landed_costs: io.flow.v0.models.LaneLandedCost[];
10590
10723
  }
10591
10724
 
10725
+ interface GeItemDeleted {
10726
+ readonly discriminator: 'ge_item_deleted';
10727
+ readonly event_id: string;
10728
+ readonly timestamp: string;
10729
+ readonly organization: string;
10730
+ readonly item: io.flow.v0.models.Item;
10731
+ }
10732
+
10733
+ interface GeItemInserted {
10734
+ readonly discriminator: 'ge_item_inserted';
10735
+ readonly event_id: string;
10736
+ readonly timestamp: string;
10737
+ readonly organization: string;
10738
+ readonly item: io.flow.v0.models.Item;
10739
+ }
10740
+
10741
+ interface GeItemUpdated {
10742
+ readonly discriminator: 'ge_item_updated';
10743
+ readonly event_id: string;
10744
+ readonly timestamp: string;
10745
+ readonly organization: string;
10746
+ readonly item: io.flow.v0.models.Item;
10747
+ }
10748
+
10749
+ interface GeProductRestrictionResultDeleted {
10750
+ readonly discriminator: 'ge_product_restriction_result_deleted';
10751
+ readonly event_id: string;
10752
+ readonly timestamp: string;
10753
+ readonly organization: string;
10754
+ readonly id: string;
10755
+ }
10756
+
10757
+ interface GeProductRestrictionResultUpserted {
10758
+ readonly discriminator: 'ge_product_restriction_result_upserted';
10759
+ readonly event_id: string;
10760
+ readonly timestamp: string;
10761
+ readonly organization: string;
10762
+ readonly ge_product_restriction_result: io.flow.v0.models.ProductRestrictionResult;
10763
+ }
10764
+
10592
10765
  interface GenerateLoad {
10593
10766
  readonly discriminator: 'generate_load';
10594
10767
  readonly event_id: string;
@@ -11601,14 +11774,6 @@ declare namespace io.flow.v0.models {
11601
11774
  readonly price: io.flow.v0.models.LocalizedItemPrice;
11602
11775
  }
11603
11776
 
11604
- interface LocalItemDeleted {
11605
- readonly discriminator: 'local_item_deleted';
11606
- readonly event_id: string;
11607
- readonly timestamp: string;
11608
- readonly organization: string;
11609
- readonly local_item: io.flow.v0.models.LocalItem;
11610
- }
11611
-
11612
11777
  interface LocalItemPricing {
11613
11778
  readonly price: io.flow.v0.models.LocalizedItemPrice;
11614
11779
  readonly vat?: io.flow.v0.models.LocalizedItemVat;
@@ -11621,14 +11786,6 @@ declare namespace io.flow.v0.models {
11621
11786
  >;
11622
11787
  }
11623
11788
 
11624
- interface LocalItemUpserted {
11625
- readonly discriminator: 'local_item_upserted';
11626
- readonly event_id: string;
11627
- readonly timestamp: string;
11628
- readonly organization: string;
11629
- readonly local_item: io.flow.v0.models.LocalItem;
11630
- }
11631
-
11632
11789
  interface LocalPriceDetails {
11633
11790
  readonly base: io.flow.v0.models.PriceDetails;
11634
11791
  readonly local: io.flow.v0.models.PriceDetails;
@@ -12104,6 +12261,7 @@ declare namespace io.flow.v0.models {
12104
12261
  readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor;
12105
12262
  readonly confirmation_details?: io.flow.v0.unions.ConfirmationDetails;
12106
12263
  readonly authorized_at?: string;
12264
+ readonly authorization_request_id?: string;
12107
12265
  }
12108
12266
 
12109
12267
  interface OnlineAuthorizationDeletedV2 {
@@ -12135,11 +12293,6 @@ declare namespace io.flow.v0.models {
12135
12293
  readonly phone?: string;
12136
12294
  }
12137
12295
 
12138
- interface OptinResponse {
12139
- readonly key: string;
12140
- readonly value: io.flow.v0.enums.OptinResponseType;
12141
- }
12142
-
12143
12296
  interface OptionWeightEstimates {
12144
12297
  readonly gravitational: io.flow.v0.models.Measurement;
12145
12298
  readonly dimensional: io.flow.v0.models.Measurement;
@@ -12180,6 +12333,7 @@ declare namespace io.flow.v0.models {
12180
12333
  readonly device_details?: io.flow.v0.unions.DeviceDetails;
12181
12334
  readonly destination_contact_details?: io.flow.v0.models.DestinationContactDetail[];
12182
12335
  readonly incoterm_summary?: io.flow.v0.models.IncotermSummary;
12336
+ readonly payment_source?: io.flow.v0.enums.OrderPaymentSourceType;
12183
12337
  }
12184
12338
 
12185
12339
  interface OrderAddress {
@@ -12323,6 +12477,7 @@ declare namespace io.flow.v0.models {
12323
12477
  readonly authorization_keys?: string[];
12324
12478
  readonly options?: io.flow.v0.models.OrderOptions;
12325
12479
  readonly device_details?: io.flow.v0.unions.DeviceDetails;
12480
+ readonly payment_source?: io.flow.v0.enums.OrderPaymentSourceType;
12326
12481
  }
12327
12482
 
12328
12483
  interface OrderFraudStatus {
@@ -12542,6 +12697,7 @@ declare namespace io.flow.v0.models {
12542
12697
  readonly authorization_keys?: string[];
12543
12698
  readonly options?: io.flow.v0.models.OrderOptions;
12544
12699
  readonly device_details?: io.flow.v0.unions.DeviceDetails;
12700
+ readonly payment_source?: io.flow.v0.enums.OrderPaymentSourceType;
12545
12701
  }
12546
12702
 
12547
12703
  interface OrderReference {
@@ -14096,10 +14252,6 @@ declare namespace io.flow.v0.models {
14096
14252
  readonly id: string;
14097
14253
  }
14098
14254
 
14099
- interface PriceBookItemExportOptions {
14100
- readonly available_identifiers: io.flow.v0.enums.ItemIdentifier[];
14101
- }
14102
-
14103
14255
  interface PriceBookItemExportType {
14104
14256
  readonly discriminator: 'price_book_item_export_type';
14105
14257
  readonly price_book_key?: string;
@@ -14343,29 +14495,6 @@ declare namespace io.flow.v0.models {
14343
14495
  readonly product_restriction_result: io.flow.v0.models.ProductRestrictionResult;
14344
14496
  }
14345
14497
 
14346
- interface ProductSellability {
14347
- readonly organization_id: string;
14348
- readonly product_id?: string;
14349
- readonly product_correlation_id: string;
14350
- readonly restricted_regions: io.flow.v0.models.SellablilityRegionResult[];
14351
- readonly in_review_regions: io.flow.v0.models.SellablilityRegionResult[];
14352
- }
14353
-
14354
- interface ProductSellabilityForm {
14355
- readonly organization_id: string;
14356
- readonly product_id?: string;
14357
- readonly product_correlation_id: string;
14358
- readonly name: string;
14359
- readonly price: io.flow.v0.models.ProductSellabilityPrice;
14360
- readonly description: string;
14361
- readonly taxonomy_category: io.flow.v0.models.ProductTaxonomyCategory;
14362
- }
14363
-
14364
- interface ProductSellabilityPrice {
14365
- readonly currency: string;
14366
- readonly amount: number;
14367
- }
14368
-
14369
14498
  interface ProductTaxonomyCategory {
14370
14499
  readonly name: string;
14371
14500
  readonly full_name: string;
@@ -15329,11 +15458,6 @@ declare namespace io.flow.v0.models {
15329
15458
  readonly issuer_options: io.flow.v0.models.IssuerReference[];
15330
15459
  }
15331
15460
 
15332
- interface SellablilityRegionResult {
15333
- readonly type: io.flow.v0.enums.RuleEffectType;
15334
- readonly regions: string[];
15335
- }
15336
-
15337
15461
  interface ServiceReference {
15338
15462
  readonly id: string;
15339
15463
  }
@@ -16282,79 +16406,6 @@ declare namespace io.flow.v0.models {
16282
16406
  readonly available: io.flow.v0.models.SurchargeResponsiblePartyDisplay[];
16283
16407
  }
16284
16408
 
16285
- interface SyncDuration {
16286
- readonly unit: io.flow.v0.enums.SyncUnitOfTime;
16287
- readonly value: number;
16288
- }
16289
-
16290
- interface SyncPendingRecord {
16291
- readonly id: string;
16292
- readonly stream: io.flow.v0.models.SyncStreamReference;
16293
- readonly value: string;
16294
- readonly system: string;
16295
- }
16296
-
16297
- interface SyncRecord {
16298
- readonly id: string;
16299
- readonly system: string;
16300
- readonly value: string;
16301
- readonly stream: io.flow.v0.models.SyncStreamReference;
16302
- }
16303
-
16304
- interface SyncRecordFailure {
16305
- readonly id: string;
16306
- readonly stream: io.flow.v0.models.SyncStreamReference;
16307
- readonly value: string;
16308
- readonly system: string;
16309
- readonly reason: io.flow.v0.enums.SyncRecordFailureReason;
16310
- readonly attributes?: Record<string, string>;
16311
- }
16312
-
16313
- interface SyncRecordFailureForm {
16314
- readonly stream_key: string;
16315
- readonly value: string;
16316
- readonly system: string;
16317
- readonly reason: io.flow.v0.enums.SyncRecordFailureReason;
16318
- readonly attributes?: Record<string, string>;
16319
- }
16320
-
16321
- interface SyncRecordForm {
16322
- readonly stream_key: string;
16323
- readonly system: string;
16324
- readonly value: string;
16325
- }
16326
-
16327
- interface SyncStream {
16328
- readonly id: string;
16329
- readonly key: string;
16330
- readonly type: io.flow.v0.enums.SyncStreamType;
16331
- readonly systems: string[];
16332
- readonly settings: io.flow.v0.models.SyncStreamSettings;
16333
- }
16334
-
16335
- interface SyncStreamForm {
16336
- readonly type: io.flow.v0.enums.SyncStreamType;
16337
- readonly systems: string[];
16338
- readonly settings?: io.flow.v0.models.SyncStreamSettingsForm;
16339
- }
16340
-
16341
- interface SyncStreamReference {
16342
- readonly id: string;
16343
- readonly key: string;
16344
- }
16345
-
16346
- interface SyncStreamSettings {
16347
- readonly pending_record_after: io.flow.v0.models.SyncDuration;
16348
- readonly warn_after: io.flow.v0.models.SyncDuration;
16349
- readonly error_after: io.flow.v0.models.SyncDuration;
16350
- }
16351
-
16352
- interface SyncStreamSettingsForm {
16353
- readonly pending_record_after: io.flow.v0.models.SyncDuration;
16354
- readonly warn_after: io.flow.v0.models.SyncDuration;
16355
- readonly error_after: io.flow.v0.models.SyncDuration;
16356
- }
16357
-
16358
16409
  interface Tax {
16359
16410
  readonly name: string;
16360
16411
  readonly rate: number;
@@ -17269,6 +17320,8 @@ declare namespace io.flow.v0.unions {
17269
17320
  | io.flow.v0.models.GenerateLoad
17270
17321
  | io.flow.v0.models.AldoItemUpserted
17271
17322
  | io.flow.v0.models.AldoItemDeleted
17323
+ | io.flow.v0.models.AnshItemUpserted
17324
+ | io.flow.v0.models.AnshItemDeleted
17272
17325
  | io.flow.v0.models.TransactionUpserted
17273
17326
  | io.flow.v0.models.OrganizationTransactionUpserted
17274
17327
  | io.flow.v0.models.OrganizationTransactionDeleted
@@ -17378,6 +17431,11 @@ declare namespace io.flow.v0.unions {
17378
17431
  | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted
17379
17432
  | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted
17380
17433
  | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted
17434
+ | io.flow.v0.models.GeItemInserted
17435
+ | io.flow.v0.models.GeItemUpdated
17436
+ | io.flow.v0.models.GeItemDeleted
17437
+ | io.flow.v0.models.GeProductRestrictionResultUpserted
17438
+ | io.flow.v0.models.GeProductRestrictionResultDeleted
17381
17439
  | io.flow.v0.models.Hs6CodeUpserted
17382
17440
  | io.flow.v0.models.Hs6CodeDeleted
17383
17441
  | io.flow.v0.models.Hs10CodeUpserted
@@ -17397,14 +17455,8 @@ declare namespace io.flow.v0.unions {
17397
17455
  | io.flow.v0.models.ManifestedLabelDeleted
17398
17456
  | io.flow.v0.models.LabelProcessingModificationUpserted
17399
17457
  | io.flow.v0.models.LabelProcessingModificationDeleted
17400
- | io.flow.v0.models.LocalItemUpserted
17401
- | io.flow.v0.models.LocalItemDeleted
17402
17458
  | io.flow.v0.models.MerchantApplicationUpserted
17403
17459
  | io.flow.v0.models.MerchantApplicationDeleted
17404
- | io.flow.v0.models.CheckoutOptinResponsesUpserted
17405
- | io.flow.v0.models.CheckoutOptinResponsesDeleted
17406
- | io.flow.v0.models.BrowseOptinResponsesUpserted
17407
- | io.flow.v0.models.BrowseOptinResponsesDeleted
17408
17460
  | io.flow.v0.models.OrderPlaced
17409
17461
  | io.flow.v0.models.OrderPlacedV2
17410
17462
  | io.flow.v0.models.ReadyToFulfill
@@ -17446,6 +17498,8 @@ declare namespace io.flow.v0.unions {
17446
17498
  | io.flow.v0.models.VirtualCardCaptureDeleted
17447
17499
  | io.flow.v0.models.VirtualCardRefundUpserted
17448
17500
  | io.flow.v0.models.VirtualCardRefundDeleted
17501
+ | io.flow.v0.models.AuthorizationRetryUpserted
17502
+ | io.flow.v0.models.AuthorizationRetryDeleted
17449
17503
  | io.flow.v0.models.PaymentRequestUpserted
17450
17504
  | io.flow.v0.models.PaymentRequestDeleted
17451
17505
  | io.flow.v0.models.PriceBookUpserted
@@ -17883,6 +17937,8 @@ export type AllocationV2 = io.flow.v0.models.AllocationV2;
17883
17937
  export type AmountMargin = io.flow.v0.models.AmountMargin;
17884
17938
  export type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
17885
17939
  export type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
17940
+ export type AnshItemDeleted = io.flow.v0.models.AnshItemDeleted;
17941
+ export type AnshItemUpserted = io.flow.v0.models.AnshItemUpserted;
17886
17942
  export type ApplePayMerchantValidationPayload =
17887
17943
  io.flow.v0.models.ApplePayMerchantValidationPayload;
17888
17944
  export type ApplepaySdkCreateResultActionDetails =
@@ -17938,6 +17994,11 @@ export type AuthorizationResultActionWait =
17938
17994
  io.flow.v0.models.AuthorizationResultActionWait;
17939
17995
  export type AuthorizationResultDescription =
17940
17996
  io.flow.v0.models.AuthorizationResultDescription;
17997
+ export type AuthorizationRetry = io.flow.v0.models.AuthorizationRetry;
17998
+ export type AuthorizationRetryDeleted =
17999
+ io.flow.v0.models.AuthorizationRetryDeleted;
18000
+ export type AuthorizationRetryUpserted =
18001
+ io.flow.v0.models.AuthorizationRetryUpserted;
17941
18002
  export type AuthorizationStatus = io.flow.v0.enums.AuthorizationStatus;
17942
18003
  export type AuthorizationStatusChanged =
17943
18004
  io.flow.v0.models.AuthorizationStatusChanged;
@@ -17996,11 +18057,6 @@ export type BillingDiscount = io.flow.v0.models.BillingDiscount;
17996
18057
  export type BridgeManifest = io.flow.v0.models.BridgeManifest;
17997
18058
  export type BridgeManifestForm = io.flow.v0.models.BridgeManifestForm;
17998
18059
  export type BridgeShippingLabelForm = io.flow.v0.models.BridgeShippingLabelForm;
17999
- export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
18000
- export type BrowseOptinResponsesDeleted =
18001
- io.flow.v0.models.BrowseOptinResponsesDeleted;
18002
- export type BrowseOptinResponsesUpserted =
18003
- io.flow.v0.models.BrowseOptinResponsesUpserted;
18004
18060
  export type BrowserActionConfiguration =
18005
18061
  io.flow.v0.unions.BrowserActionConfiguration;
18006
18062
  export type BrowserInfo = io.flow.v0.models.BrowserInfo;
@@ -18162,11 +18218,6 @@ export type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
18162
18218
  export type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
18163
18219
  export type CheckoutItemContentAttribute =
18164
18220
  io.flow.v0.models.CheckoutItemContentAttribute;
18165
- export type CheckoutOptinResponses = io.flow.v0.models.CheckoutOptinResponses;
18166
- export type CheckoutOptinResponsesDeleted =
18167
- io.flow.v0.models.CheckoutOptinResponsesDeleted;
18168
- export type CheckoutOptinResponsesUpserted =
18169
- io.flow.v0.models.CheckoutOptinResponsesUpserted;
18170
18221
  export type CheckoutReference = io.flow.v0.models.CheckoutReference;
18171
18222
  export type CheckoutToken = io.flow.v0.models.CheckoutToken;
18172
18223
  export type CheckoutTokenForm = io.flow.v0.unions.CheckoutTokenForm;
@@ -18414,6 +18465,9 @@ export type Entity = io.flow.v0.unions.Entity;
18414
18465
  export type EntityIdentifier = io.flow.v0.models.EntityIdentifier;
18415
18466
  export type EntityIdentifierType = io.flow.v0.enums.EntityIdentifierType;
18416
18467
  export type Environment = io.flow.v0.enums.Environment;
18468
+ export type Estimate = io.flow.v0.models.Estimate;
18469
+ export type EstimateOrigin = io.flow.v0.enums.EstimateOrigin;
18470
+ export type EstimateType = io.flow.v0.enums.EstimateType;
18417
18471
  export type EstimatedDimensions = io.flow.v0.models.EstimatedDimensions;
18418
18472
  export type EstimatedWindow = io.flow.v0.models.EstimatedWindow;
18419
18473
  export type Event = io.flow.v0.unions.Event;
@@ -18606,6 +18660,13 @@ export type GatewayAuthenticationData =
18606
18660
  io.flow.v0.unions.GatewayAuthenticationData;
18607
18661
  export type GatewayAuthenticationDataForm =
18608
18662
  io.flow.v0.unions.GatewayAuthenticationDataForm;
18663
+ export type GeItemDeleted = io.flow.v0.models.GeItemDeleted;
18664
+ export type GeItemInserted = io.flow.v0.models.GeItemInserted;
18665
+ export type GeItemUpdated = io.flow.v0.models.GeItemUpdated;
18666
+ export type GeProductRestrictionResultDeleted =
18667
+ io.flow.v0.models.GeProductRestrictionResultDeleted;
18668
+ export type GeProductRestrictionResultUpserted =
18669
+ io.flow.v0.models.GeProductRestrictionResultUpserted;
18609
18670
  export type GenerateLoad = io.flow.v0.models.GenerateLoad;
18610
18671
  export type GenericError = io.flow.v0.models.GenericError;
18611
18672
  export type GenericErrorCode = io.flow.v0.enums.GenericErrorCode;
@@ -18793,9 +18854,7 @@ export type Local = io.flow.v0.models.Local;
18793
18854
  export type LocalItem = io.flow.v0.models.LocalItem;
18794
18855
  export type LocalItemAttributePricing =
18795
18856
  io.flow.v0.models.LocalItemAttributePricing;
18796
- export type LocalItemDeleted = io.flow.v0.models.LocalItemDeleted;
18797
18857
  export type LocalItemPricing = io.flow.v0.models.LocalItemPricing;
18798
- export type LocalItemUpserted = io.flow.v0.models.LocalItemUpserted;
18799
18858
  export type LocalPriceDetails = io.flow.v0.models.LocalPriceDetails;
18800
18859
  export type LocalSession = io.flow.v0.models.LocalSession;
18801
18860
  export type Locale = io.flow.v0.models.Locale;
@@ -18914,8 +18973,6 @@ export type OnlineAuthorizationUpsertedV2 =
18914
18973
  export type OnlinePaymentAuthorizationForm =
18915
18974
  io.flow.v0.models.OnlinePaymentAuthorizationForm;
18916
18975
  export type OperationsContact = io.flow.v0.models.OperationsContact;
18917
- export type OptinResponse = io.flow.v0.models.OptinResponse;
18918
- export type OptinResponseType = io.flow.v0.enums.OptinResponseType;
18919
18976
  export type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates;
18920
18977
  export type Options = io.flow.v0.models.Options;
18921
18978
  export type Order = io.flow.v0.models.Order;
@@ -18982,6 +19039,7 @@ export type OrderNumberGeneratorUuid =
18982
19039
  export type OrderNumberReference = io.flow.v0.models.OrderNumberReference;
18983
19040
  export type OrderOptions = io.flow.v0.models.OrderOptions;
18984
19041
  export type OrderPayment = io.flow.v0.models.OrderPayment;
19042
+ export type OrderPaymentSourceType = io.flow.v0.enums.OrderPaymentSourceType;
18985
19043
  export type OrderPaymentType = io.flow.v0.enums.OrderPaymentType;
18986
19044
  export type OrderPlaced = io.flow.v0.models.OrderPlaced;
18987
19045
  export type OrderPlacedDetails = io.flow.v0.models.OrderPlacedDetails;
@@ -19394,8 +19452,6 @@ export type PriceBookDeleted = io.flow.v0.models.PriceBookDeleted;
19394
19452
  export type PriceBookForm = io.flow.v0.models.PriceBookForm;
19395
19453
  export type PriceBookItem = io.flow.v0.models.PriceBookItem;
19396
19454
  export type PriceBookItemDeleted = io.flow.v0.models.PriceBookItemDeleted;
19397
- export type PriceBookItemExportOptions =
19398
- io.flow.v0.models.PriceBookItemExportOptions;
19399
19455
  export type PriceBookItemExportType = io.flow.v0.models.PriceBookItemExportType;
19400
19456
  export type PriceBookItemForm = io.flow.v0.models.PriceBookItemForm;
19401
19457
  export type PriceBookItemQueryForm = io.flow.v0.models.PriceBookItemQueryForm;
@@ -19438,9 +19494,6 @@ export type ProductRestrictionResultDeleted =
19438
19494
  export type ProductRestrictionResultUpserted =
19439
19495
  io.flow.v0.models.ProductRestrictionResultUpserted;
19440
19496
  export type ProductRestrictionRule = io.flow.v0.enums.ProductRestrictionRule;
19441
- export type ProductSellability = io.flow.v0.models.ProductSellability;
19442
- export type ProductSellabilityForm = io.flow.v0.models.ProductSellabilityForm;
19443
- export type ProductSellabilityPrice = io.flow.v0.models.ProductSellabilityPrice;
19444
19497
  export type ProductTaxonomyCategory = io.flow.v0.models.ProductTaxonomyCategory;
19445
19498
  export type ProductTaxonomyData = io.flow.v0.models.ProductTaxonomyData;
19446
19499
  export type ProductUpdated = io.flow.v0.models.ProductUpdated;
@@ -19599,7 +19652,6 @@ export type Rounding = io.flow.v0.models.Rounding;
19599
19652
  export type RoundingMethod = io.flow.v0.enums.RoundingMethod;
19600
19653
  export type RoundingType = io.flow.v0.enums.RoundingType;
19601
19654
  export type RouteAudit = io.flow.v0.models.RouteAudit;
19602
- export type RuleEffectType = io.flow.v0.enums.RuleEffectType;
19603
19655
  export type Schedule = io.flow.v0.models.Schedule;
19604
19656
  export type ScheduleExceptionStatus = io.flow.v0.enums.ScheduleExceptionStatus;
19605
19657
  export type ScheduledExport = io.flow.v0.models.ScheduledExport;
@@ -19611,8 +19663,6 @@ export type SecurityRatecardFee = io.flow.v0.models.SecurityRatecardFee;
19611
19663
  export type SecurityServiceFee = io.flow.v0.models.SecurityServiceFee;
19612
19664
  export type SelectIssuerOptionActionDetails =
19613
19665
  io.flow.v0.models.SelectIssuerOptionActionDetails;
19614
- export type SellablilityRegionResult =
19615
- io.flow.v0.models.SellablilityRegionResult;
19616
19666
  export type ServiceDescription = io.flow.v0.unions.ServiceDescription;
19617
19667
  export type ServiceFee = io.flow.v0.unions.ServiceFee;
19618
19668
  export type ServiceReference = io.flow.v0.models.ServiceReference;
@@ -19822,20 +19872,6 @@ export type SurchargeResponsiblePartyDisplay =
19822
19872
  io.flow.v0.models.SurchargeResponsiblePartyDisplay;
19823
19873
  export type SurchargeSetting = io.flow.v0.models.SurchargeSetting;
19824
19874
  export type SurchargeSettingDisplay = io.flow.v0.models.SurchargeSettingDisplay;
19825
- export type SyncDuration = io.flow.v0.models.SyncDuration;
19826
- export type SyncPendingRecord = io.flow.v0.models.SyncPendingRecord;
19827
- export type SyncRecord = io.flow.v0.models.SyncRecord;
19828
- export type SyncRecordFailure = io.flow.v0.models.SyncRecordFailure;
19829
- export type SyncRecordFailureForm = io.flow.v0.models.SyncRecordFailureForm;
19830
- export type SyncRecordFailureReason = io.flow.v0.enums.SyncRecordFailureReason;
19831
- export type SyncRecordForm = io.flow.v0.models.SyncRecordForm;
19832
- export type SyncStream = io.flow.v0.models.SyncStream;
19833
- export type SyncStreamForm = io.flow.v0.models.SyncStreamForm;
19834
- export type SyncStreamReference = io.flow.v0.models.SyncStreamReference;
19835
- export type SyncStreamSettings = io.flow.v0.models.SyncStreamSettings;
19836
- export type SyncStreamSettingsForm = io.flow.v0.models.SyncStreamSettingsForm;
19837
- export type SyncStreamType = io.flow.v0.enums.SyncStreamType;
19838
- export type SyncUnitOfTime = io.flow.v0.enums.SyncUnitOfTime;
19839
19875
  export type Tax = io.flow.v0.models.Tax;
19840
19876
  export type TaxApplicability = io.flow.v0.enums.TaxApplicability;
19841
19877
  export type TaxRegistration = io.flow.v0.models.TaxRegistration;