@flowio/types 11.19.12 → 11.19.13

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.
@@ -6182,8 +6182,8 @@ declare namespace io.flow.shopify.markets.v0.models {
6182
6182
  interface ShopifyOrder {
6183
6183
  readonly id: number;
6184
6184
  readonly order_number: number;
6185
- readonly checkout_id: number;
6186
- readonly checkout_token: string;
6185
+ readonly checkout_id?: number;
6186
+ readonly checkout_token?: string;
6187
6187
  readonly billing_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
6188
6188
  readonly browser_ip?: string;
6189
6189
  readonly buyer_accepts_marketing: boolean;
@@ -9292,6 +9292,7 @@ declare namespace io.flow.internal.v0.enums {
9292
9292
  type DutyExemptItemTypes = 'gift_card' | 'service' | 'digital_item' | 'personalization';
9293
9293
  type DutyRateSource = 'tariff_code_rate' | 'compound_rate' | 'csv_fallback_rate' | 'hardcoded_rate';
9294
9294
  type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
9295
+ type DutySelectionRule = 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate';
9295
9296
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
9296
9297
  type EmptyAttribute = 'irrelevant';
9297
9298
  type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rates_published' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
@@ -14010,6 +14011,9 @@ declare namespace io.flow.internal.v0.models {
14010
14011
  readonly label: io.flow.internal.v0.models.ContentLabel;
14011
14012
  readonly url: string;
14012
14013
  }
14014
+ interface Hs6Metadata {
14015
+ readonly description: string;
14016
+ }
14013
14017
  interface HybrisCatalogItemsImportRequest {
14014
14018
  readonly discriminator: 'hybris_catalog_items_import_request';
14015
14019
  readonly event_id: string;
@@ -15775,6 +15779,31 @@ declare namespace io.flow.internal.v0.models {
15775
15779
  readonly countries?: io.flow.reference.v0.models.Country[];
15776
15780
  readonly reason?: string;
15777
15781
  }
15782
+ interface RateAndRuleItem {
15783
+ readonly item_reference: string;
15784
+ readonly hs_code: string;
15785
+ readonly origin: string;
15786
+ readonly ship_from_address: io.flow.common.v0.models.Address;
15787
+ readonly duty: io.flow.price.v0.models.Duty;
15788
+ readonly tax: io.flow.price.v0.models.Tax;
15789
+ readonly duty_selection_rule: io.flow.internal.v0.enums.DutySelectionRule;
15790
+ }
15791
+ interface RateAndRuleItemForm {
15792
+ readonly item_reference: string;
15793
+ readonly hs_code: string;
15794
+ readonly origin: string;
15795
+ readonly ship_from_address: io.flow.common.v0.models.Address;
15796
+ }
15797
+ interface RateAndRuleLookup {
15798
+ readonly address: io.flow.common.v0.models.Address;
15799
+ readonly effective_date: string;
15800
+ readonly items: io.flow.internal.v0.models.RateAndRuleItem[];
15801
+ }
15802
+ interface RateAndRuleLookupForm {
15803
+ readonly address: io.flow.common.v0.models.Address;
15804
+ readonly effective_date: string;
15805
+ readonly items: io.flow.internal.v0.models.RateAndRuleItemForm[];
15806
+ }
15778
15807
  interface RateData {
15779
15808
  readonly base: string;
15780
15809
  readonly target: string;
@@ -18161,6 +18190,7 @@ export declare type DutyRatesPublished = io.flow.internal.v0.models.DutyRatesPub
18161
18190
  export declare type DutyRaw = io.flow.internal.v0.models.DutyRaw;
18162
18191
  export declare type DutyRawBulkUpserted = io.flow.internal.v0.models.DutyRawBulkUpserted;
18163
18192
  export declare type DutyRawUpserted = io.flow.internal.v0.models.DutyRawUpserted;
18193
+ export declare type DutySelectionRule = io.flow.internal.v0.enums.DutySelectionRule;
18164
18194
  export declare type DutySimpleExpression = io.flow.internal.v0.models.DutySimpleExpression;
18165
18195
  export declare type DutySimpleExpressionType = io.flow.internal.v0.enums.DutySimpleExpressionType;
18166
18196
  export declare type EmailForm = io.flow.internal.v0.models.EmailForm;
@@ -18375,6 +18405,7 @@ export declare type HeapWebsocketRequest = io.flow.internal.v0.models.HeapWebsoc
18375
18405
  export declare type HeapWebsocketResponse = io.flow.internal.v0.models.HeapWebsocketResponse;
18376
18406
  export declare type HeapWebsocketRetry = io.flow.internal.v0.models.HeapWebsocketRetry;
18377
18407
  export declare type Href = io.flow.internal.v0.models.Href;
18408
+ export declare type Hs6Metadata = io.flow.internal.v0.models.Hs6Metadata;
18378
18409
  export declare type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
18379
18410
  export declare type HybrisCatalogItemsImportRequest = io.flow.internal.v0.models.HybrisCatalogItemsImportRequest;
18380
18411
  export declare type HybrisCatalogItemsImportRequestData = io.flow.internal.v0.models.HybrisCatalogItemsImportRequestData;
@@ -18715,6 +18746,10 @@ export declare type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
18715
18746
  export declare type PromptTarget = io.flow.internal.v0.enums.PromptTarget;
18716
18747
  export declare type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
18717
18748
  export declare type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
18749
+ export declare type RateAndRuleItem = io.flow.internal.v0.models.RateAndRuleItem;
18750
+ export declare type RateAndRuleItemForm = io.flow.internal.v0.models.RateAndRuleItemForm;
18751
+ export declare type RateAndRuleLookup = io.flow.internal.v0.models.RateAndRuleLookup;
18752
+ export declare type RateAndRuleLookupForm = io.flow.internal.v0.models.RateAndRuleLookupForm;
18718
18753
  export declare type RateData = io.flow.internal.v0.models.RateData;
18719
18754
  export declare type RateDataV3 = io.flow.internal.v0.models.RateDataV3;
18720
18755
  export declare type RateDeleted = io.flow.internal.v0.models.RateDeleted;
package/dist/api.d.ts CHANGED
@@ -2457,18 +2457,6 @@ declare namespace io.flow.v0.models {
2457
2457
  readonly organization: string;
2458
2458
  readonly browse_optin_responses: io.flow.v0.models.BrowseOptinResponses;
2459
2459
  }
2460
- interface BrowserDetails {
2461
- readonly type: 'browser';
2462
- readonly origin: string;
2463
- readonly language: string;
2464
- readonly java_enabled: boolean;
2465
- readonly color_depth: number;
2466
- readonly screen_height: number;
2467
- readonly screen_width: number;
2468
- readonly time_zone_offset: number;
2469
- readonly user_agent?: string;
2470
- readonly accept?: string;
2471
- }
2472
2460
  interface BrowserInfo {
2473
2461
  readonly origin?: string;
2474
2462
  readonly language?: string;
@@ -3632,6 +3620,22 @@ declare namespace io.flow.v0.models {
3632
3620
  readonly company_name_match_result: io.flow.v0.enums.TaxVerificationResult;
3633
3621
  readonly company_name_match_result_reason?: string;
3634
3622
  }
3623
+ interface DeviceDetailsBrowser {
3624
+ readonly type: 'browser';
3625
+ readonly user_agent: string;
3626
+ readonly origin: string;
3627
+ readonly accept_language: string;
3628
+ readonly ip?: string;
3629
+ }
3630
+ interface DeviceFingerprintDetailsBrowser {
3631
+ readonly type: 'browser';
3632
+ readonly accept?: string;
3633
+ readonly java_enabled: boolean;
3634
+ readonly color_depth: number;
3635
+ readonly screen_height: number;
3636
+ readonly screen_width: number;
3637
+ readonly time_zone_offset: number;
3638
+ }
3635
3639
  interface DigitalDelivery {
3636
3640
  readonly discriminator: 'digital_delivery';
3637
3641
  readonly id: string;
@@ -6426,7 +6430,7 @@ declare namespace io.flow.v0.models {
6426
6430
  interface PaymentMethodDataAuthorizeCard {
6427
6431
  readonly type: 'authorize_card';
6428
6432
  readonly card_data: io.flow.v0.unions.PaymentMethodCard;
6429
- readonly device_details: io.flow.v0.unions.DeviceDetails;
6433
+ readonly device_fingerprint_details: io.flow.v0.unions.DeviceFingerprintDetails;
6430
6434
  readonly cvv?: string;
6431
6435
  }
6432
6436
  interface PaymentMethodDataAuthorizeGooglepay {
@@ -6608,13 +6612,15 @@ declare namespace io.flow.v0.models {
6608
6612
  interface PaymentRequest {
6609
6613
  readonly id: string;
6610
6614
  readonly status: io.flow.v0.enums.PaymentStatus;
6615
+ readonly created_at: string;
6616
+ readonly updated_at: string;
6611
6617
  readonly available_payment_methods: io.flow.v0.models.PaymentPaymentMethod[];
6612
6618
  readonly last_payment_failure?: io.flow.v0.models.PaymentFailure;
6613
6619
  readonly next_action?: io.flow.v0.unions.Action;
6614
6620
  readonly amount: number;
6615
6621
  readonly currency: string;
6616
6622
  readonly order_information: io.flow.v0.unions.OrderInformation;
6617
- readonly ip?: string;
6623
+ readonly device_details: io.flow.v0.unions.DeviceDetails;
6618
6624
  readonly locale?: string;
6619
6625
  readonly return_url: string;
6620
6626
  readonly attributes?: Record<string, string>;
@@ -6626,7 +6632,7 @@ declare namespace io.flow.v0.models {
6626
6632
  readonly amount: number;
6627
6633
  readonly currency: string;
6628
6634
  readonly order_information: io.flow.v0.unions.OrderInformation;
6629
- readonly ip?: string;
6635
+ readonly device_details: io.flow.v0.unions.DeviceDetails;
6630
6636
  readonly locale?: string;
6631
6637
  readonly return_url: string;
6632
6638
  readonly attributes?: Record<string, string>;
@@ -9020,7 +9026,8 @@ declare namespace io.flow.v0.unions {
9020
9026
  type ConsumerInvoiceLineForm = io.flow.v0.models.ConsumerInvoiceLineItemForm | io.flow.v0.models.ConsumerInvoiceLineDiscountForm | io.flow.v0.models.ConsumerInvoiceLineShippingForm;
9021
9027
  type Delivery = io.flow.v0.models.DigitalDelivery | io.flow.v0.models.PhysicalDelivery;
9022
9028
  type Deminimis = io.flow.v0.models.DeminimisSimple | io.flow.v0.models.DeminimisPerItem;
9023
- type DeviceDetails = io.flow.v0.models.BrowserDetails;
9029
+ type DeviceDetails = io.flow.v0.models.DeviceDetailsBrowser;
9030
+ type DeviceFingerprintDetails = io.flow.v0.models.DeviceFingerprintDetailsBrowser;
9024
9031
  type DiscountOffer = io.flow.v0.models.DiscountOfferFixed | io.flow.v0.models.DiscountOfferPercent;
9025
9032
  type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
9026
9033
  type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
@@ -9216,7 +9223,6 @@ export declare type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponse
9216
9223
  export declare type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
9217
9224
  export declare type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
9218
9225
  export declare type BrowserActionConfiguration = io.flow.v0.unions.BrowserActionConfiguration;
9219
- export declare type BrowserDetails = io.flow.v0.models.BrowserDetails;
9220
9226
  export declare type BrowserInfo = io.flow.v0.models.BrowserInfo;
9221
9227
  export declare type BrowserInlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
9222
9228
  export declare type Calendar = io.flow.v0.enums.Calendar;
@@ -9436,6 +9442,9 @@ export declare type DetailedShippingLabelForm = io.flow.v0.models.DetailedShippi
9436
9442
  export declare type DetailedShippingNotificationForm = io.flow.v0.models.DetailedShippingNotificationForm;
9437
9443
  export declare type DetailedTaxRegistration = io.flow.v0.models.DetailedTaxRegistration;
9438
9444
  export declare type DeviceDetails = io.flow.v0.unions.DeviceDetails;
9445
+ export declare type DeviceDetailsBrowser = io.flow.v0.models.DeviceDetailsBrowser;
9446
+ export declare type DeviceFingerprintDetails = io.flow.v0.unions.DeviceFingerprintDetails;
9447
+ export declare type DeviceFingerprintDetailsBrowser = io.flow.v0.models.DeviceFingerprintDetailsBrowser;
9439
9448
  export declare type DigitalDelivery = io.flow.v0.models.DigitalDelivery;
9440
9449
  export declare type Dimension = io.flow.v0.models.Dimension;
9441
9450
  export declare type DimensionEstimate = io.flow.v0.models.DimensionEstimate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.19.12",
3
+ "version": "11.19.13",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "70762c04888d1c819ea2fadc9a10eb8b3f399ac8"
28
+ "gitHead": "e9abc4c9ddb492fb2b7c9d93076e4a839cca67e7"
29
29
  }
@@ -8209,8 +8209,8 @@ declare namespace io.flow.shopify.markets.v0.models {
8209
8209
  interface ShopifyOrder {
8210
8210
  readonly id: number;
8211
8211
  readonly order_number: number;
8212
- readonly checkout_id: number;
8213
- readonly checkout_token: string;
8212
+ readonly checkout_id?: number;
8213
+ readonly checkout_token?: string;
8214
8214
  readonly billing_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
8215
8215
  readonly browser_ip?: string;
8216
8216
  readonly buyer_accepts_marketing: boolean;
@@ -12332,6 +12332,15 @@ declare namespace io.flow.internal.v0.enums {
12332
12332
  | 'csv_fallback_rate'
12333
12333
  | 'hardcoded_rate';
12334
12334
  type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
12335
+ type DutySelectionRule =
12336
+ | 'lookup_by_tariff_code'
12337
+ | 'lookup_by_hs6_code'
12338
+ | 'fallback_for_jurisdiction'
12339
+ | 'domestic_sale'
12340
+ | 'intra_community_sale'
12341
+ | 'reimport'
12342
+ | 'override'
12343
+ | 'preferential_rate';
12335
12344
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
12336
12345
  type EmptyAttribute = 'irrelevant';
12337
12346
  type EventType =
@@ -18189,6 +18198,10 @@ declare namespace io.flow.internal.v0.models {
18189
18198
  readonly url: string;
18190
18199
  }
18191
18200
 
18201
+ interface Hs6Metadata {
18202
+ readonly description: string;
18203
+ }
18204
+
18192
18205
  interface HybrisCatalogItemsImportRequest {
18193
18206
  readonly discriminator: 'hybris_catalog_items_import_request';
18194
18207
  readonly event_id: string;
@@ -20236,6 +20249,35 @@ declare namespace io.flow.internal.v0.models {
20236
20249
  readonly reason?: string;
20237
20250
  }
20238
20251
 
20252
+ interface RateAndRuleItem {
20253
+ readonly item_reference: string;
20254
+ readonly hs_code: string;
20255
+ readonly origin: string;
20256
+ readonly ship_from_address: io.flow.common.v0.models.Address;
20257
+ readonly duty: io.flow.price.v0.models.Duty;
20258
+ readonly tax: io.flow.price.v0.models.Tax;
20259
+ readonly duty_selection_rule: io.flow.internal.v0.enums.DutySelectionRule;
20260
+ }
20261
+
20262
+ interface RateAndRuleItemForm {
20263
+ readonly item_reference: string;
20264
+ readonly hs_code: string;
20265
+ readonly origin: string;
20266
+ readonly ship_from_address: io.flow.common.v0.models.Address;
20267
+ }
20268
+
20269
+ interface RateAndRuleLookup {
20270
+ readonly address: io.flow.common.v0.models.Address;
20271
+ readonly effective_date: string;
20272
+ readonly items: io.flow.internal.v0.models.RateAndRuleItem[];
20273
+ }
20274
+
20275
+ interface RateAndRuleLookupForm {
20276
+ readonly address: io.flow.common.v0.models.Address;
20277
+ readonly effective_date: string;
20278
+ readonly items: io.flow.internal.v0.models.RateAndRuleItemForm[];
20279
+ }
20280
+
20239
20281
  interface RateData {
20240
20282
  readonly base: string;
20241
20283
  readonly target: string;
@@ -23477,6 +23519,7 @@ export type DutyRatesPublished = io.flow.internal.v0.models.DutyRatesPublished;
23477
23519
  export type DutyRaw = io.flow.internal.v0.models.DutyRaw;
23478
23520
  export type DutyRawBulkUpserted = io.flow.internal.v0.models.DutyRawBulkUpserted;
23479
23521
  export type DutyRawUpserted = io.flow.internal.v0.models.DutyRawUpserted;
23522
+ export type DutySelectionRule = io.flow.internal.v0.enums.DutySelectionRule;
23480
23523
  export type DutySimpleExpression = io.flow.internal.v0.models.DutySimpleExpression;
23481
23524
  export type DutySimpleExpressionType = io.flow.internal.v0.enums.DutySimpleExpressionType;
23482
23525
  export type EmailForm = io.flow.internal.v0.models.EmailForm;
@@ -23691,6 +23734,7 @@ export type HeapWebsocketRequest = io.flow.internal.v0.models.HeapWebsocketReque
23691
23734
  export type HeapWebsocketResponse = io.flow.internal.v0.models.HeapWebsocketResponse;
23692
23735
  export type HeapWebsocketRetry = io.flow.internal.v0.models.HeapWebsocketRetry;
23693
23736
  export type Href = io.flow.internal.v0.models.Href;
23737
+ export type Hs6Metadata = io.flow.internal.v0.models.Hs6Metadata;
23694
23738
  export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
23695
23739
  export type HybrisCatalogItemsImportRequest = io.flow.internal.v0.models.HybrisCatalogItemsImportRequest;
23696
23740
  export type HybrisCatalogItemsImportRequestData = io.flow.internal.v0.models.HybrisCatalogItemsImportRequestData;
@@ -24031,6 +24075,10 @@ export type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
24031
24075
  export type PromptTarget = io.flow.internal.v0.enums.PromptTarget;
24032
24076
  export type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
24033
24077
  export type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
24078
+ export type RateAndRuleItem = io.flow.internal.v0.models.RateAndRuleItem;
24079
+ export type RateAndRuleItemForm = io.flow.internal.v0.models.RateAndRuleItemForm;
24080
+ export type RateAndRuleLookup = io.flow.internal.v0.models.RateAndRuleLookup;
24081
+ export type RateAndRuleLookupForm = io.flow.internal.v0.models.RateAndRuleLookupForm;
24034
24082
  export type RateData = io.flow.internal.v0.models.RateData;
24035
24083
  export type RateDataV3 = io.flow.internal.v0.models.RateDataV3;
24036
24084
  export type RateDeleted = io.flow.internal.v0.models.RateDeleted;
package/src/api.ts CHANGED
@@ -3592,19 +3592,6 @@ declare namespace io.flow.v0.models {
3592
3592
  readonly browse_optin_responses: io.flow.v0.models.BrowseOptinResponses;
3593
3593
  }
3594
3594
 
3595
- interface BrowserDetails {
3596
- readonly type: 'browser';
3597
- readonly origin: string;
3598
- readonly language: string;
3599
- readonly java_enabled: boolean;
3600
- readonly color_depth: number;
3601
- readonly screen_height: number;
3602
- readonly screen_width: number;
3603
- readonly time_zone_offset: number;
3604
- readonly user_agent?: string;
3605
- readonly accept?: string;
3606
- }
3607
-
3608
3595
  interface BrowserInfo {
3609
3596
  readonly origin?: string;
3610
3597
  readonly language?: string;
@@ -4953,6 +4940,24 @@ declare namespace io.flow.v0.models {
4953
4940
  readonly company_name_match_result_reason?: string;
4954
4941
  }
4955
4942
 
4943
+ interface DeviceDetailsBrowser {
4944
+ readonly type: 'browser';
4945
+ readonly user_agent: string;
4946
+ readonly origin: string;
4947
+ readonly accept_language: string;
4948
+ readonly ip?: string;
4949
+ }
4950
+
4951
+ interface DeviceFingerprintDetailsBrowser {
4952
+ readonly type: 'browser';
4953
+ readonly accept?: string;
4954
+ readonly java_enabled: boolean;
4955
+ readonly color_depth: number;
4956
+ readonly screen_height: number;
4957
+ readonly screen_width: number;
4958
+ readonly time_zone_offset: number;
4959
+ }
4960
+
4956
4961
  interface DigitalDelivery {
4957
4962
  readonly discriminator: 'digital_delivery';
4958
4963
  readonly id: string;
@@ -8208,7 +8213,7 @@ declare namespace io.flow.v0.models {
8208
8213
  interface PaymentMethodDataAuthorizeCard {
8209
8214
  readonly type: 'authorize_card';
8210
8215
  readonly card_data: io.flow.v0.unions.PaymentMethodCard;
8211
- readonly device_details: io.flow.v0.unions.DeviceDetails;
8216
+ readonly device_fingerprint_details: io.flow.v0.unions.DeviceFingerprintDetails;
8212
8217
  readonly cvv?: string;
8213
8218
  }
8214
8219
 
@@ -8426,13 +8431,15 @@ declare namespace io.flow.v0.models {
8426
8431
  interface PaymentRequest {
8427
8432
  readonly id: string;
8428
8433
  readonly status: io.flow.v0.enums.PaymentStatus;
8434
+ readonly created_at: string;
8435
+ readonly updated_at: string;
8429
8436
  readonly available_payment_methods: io.flow.v0.models.PaymentPaymentMethod[];
8430
8437
  readonly last_payment_failure?: io.flow.v0.models.PaymentFailure;
8431
8438
  readonly next_action?: io.flow.v0.unions.Action;
8432
8439
  readonly amount: number;
8433
8440
  readonly currency: string;
8434
8441
  readonly order_information: io.flow.v0.unions.OrderInformation;
8435
- readonly ip?: string;
8442
+ readonly device_details: io.flow.v0.unions.DeviceDetails;
8436
8443
  readonly locale?: string;
8437
8444
  readonly return_url: string;
8438
8445
  readonly attributes?: Record<string, string>;
@@ -8445,7 +8452,7 @@ declare namespace io.flow.v0.models {
8445
8452
  readonly amount: number;
8446
8453
  readonly currency: string;
8447
8454
  readonly order_information: io.flow.v0.unions.OrderInformation;
8448
- readonly ip?: string;
8455
+ readonly device_details: io.flow.v0.unions.DeviceDetails;
8449
8456
  readonly locale?: string;
8450
8457
  readonly return_url: string;
8451
8458
  readonly attributes?: Record<string, string>;
@@ -11278,7 +11285,8 @@ declare namespace io.flow.v0.unions {
11278
11285
  type Deminimis =
11279
11286
  | io.flow.v0.models.DeminimisSimple
11280
11287
  | io.flow.v0.models.DeminimisPerItem;
11281
- type DeviceDetails = io.flow.v0.models.BrowserDetails;
11288
+ type DeviceDetails = io.flow.v0.models.DeviceDetailsBrowser;
11289
+ type DeviceFingerprintDetails = io.flow.v0.models.DeviceFingerprintDetailsBrowser;
11282
11290
  type DiscountOffer =
11283
11291
  | io.flow.v0.models.DiscountOfferFixed
11284
11292
  | io.flow.v0.models.DiscountOfferPercent;
@@ -11806,7 +11814,6 @@ export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
11806
11814
  export type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
11807
11815
  export type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
11808
11816
  export type BrowserActionConfiguration = io.flow.v0.unions.BrowserActionConfiguration;
11809
- export type BrowserDetails = io.flow.v0.models.BrowserDetails;
11810
11817
  export type BrowserInfo = io.flow.v0.models.BrowserInfo;
11811
11818
  export type BrowserInlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
11812
11819
  export type Calendar = io.flow.v0.enums.Calendar;
@@ -12026,6 +12033,9 @@ export type DetailedShippingLabelForm = io.flow.v0.models.DetailedShippingLabelF
12026
12033
  export type DetailedShippingNotificationForm = io.flow.v0.models.DetailedShippingNotificationForm;
12027
12034
  export type DetailedTaxRegistration = io.flow.v0.models.DetailedTaxRegistration;
12028
12035
  export type DeviceDetails = io.flow.v0.unions.DeviceDetails;
12036
+ export type DeviceDetailsBrowser = io.flow.v0.models.DeviceDetailsBrowser;
12037
+ export type DeviceFingerprintDetails = io.flow.v0.unions.DeviceFingerprintDetails;
12038
+ export type DeviceFingerprintDetailsBrowser = io.flow.v0.models.DeviceFingerprintDetailsBrowser;
12029
12039
  export type DigitalDelivery = io.flow.v0.models.DigitalDelivery;
12030
12040
  export type Dimension = io.flow.v0.models.Dimension;
12031
12041
  export type DimensionEstimate = io.flow.v0.models.DimensionEstimate;