@flowio/types 11.24.68 → 11.24.69

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.
@@ -2425,9 +2425,11 @@ declare namespace io.flow.stripe.v0.models {
2425
2425
  readonly customer?: string;
2426
2426
  }
2427
2427
  interface ThreeDSecureCharge {
2428
+ readonly authenticated?: boolean;
2428
2429
  readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
2429
2430
  readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
2430
2431
  readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
2432
+ readonly succeeded?: boolean;
2431
2433
  readonly version?: string;
2432
2434
  }
2433
2435
  interface ThreeDSecureRedirect {
@@ -5488,7 +5490,7 @@ declare namespace io.flow.payment.gateway.v0.enums {
5488
5490
  type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
5489
5491
  type PaymentMethodDataOptionType = 'ideal_issuer_option';
5490
5492
  type PaymentRequestReviewCheckStatus = 'passed' | 'failed';
5491
- type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic';
5493
+ type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic' | 'order_mismatched_currencies';
5492
5494
  type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
5493
5495
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
5494
5496
  type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
@@ -8246,6 +8248,7 @@ declare namespace io.flow.shopify.merchant.config.v0.models {
8246
8248
  readonly discriminator: 'know_your_business_usa';
8247
8249
  readonly id: string;
8248
8250
  readonly organization_id: string;
8251
+ readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
8249
8252
  readonly primary_entity: io.flow.shopify.merchant.config.v0.unions.Entity;
8250
8253
  readonly parent_company?: io.flow.shopify.merchant.config.v0.models.Company;
8251
8254
  readonly ultimate_parent_company?: io.flow.shopify.merchant.config.v0.models.Company;
@@ -10862,7 +10865,7 @@ declare namespace io.flow.internal.v0.enums {
10862
10865
  type AutoRestrictRule = 'prr-3ce7d556f2464314ab0a3e8eee33e0ce' | 'prr-599c6246a1a24752aeb85e8f79030781' | 'prr-79e41878ea564f9c81cc432a0e84703f' | 'prr-f29c26dc09e04536bc77f9c32786ed70' | 'prr-0522d426a5b741c791ba05496c35297a';
10863
10866
  type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed';
10864
10867
  type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
10865
- type BillingMetricKey = 'adjustment_transactions_count' | 'adjustment_transactions_total' | 'capture_transactions_count' | 'capture_transactions_ignored_fraud_count' | 'capture_transactions_ignored_fully_refunded_count' | 'capture_transactions_ignored_other_count' | 'capture_transactions_total' | 'channel_transactions_capture_count' | 'channel_transactions_capture_total' | 'channel_transactions_adjustment_count' | 'channel_transactions_adjustment_total' | 'channel_transactions_reversal_count' | 'channel_transactions_reversal_total' | 'channel_transactions_other_count' | 'channel_transactions_other_total' | 'channel_billed_transactions_count' | 'channel_billed_transactions_total' | 'credit_payment_transactions_count' | 'credit_payment_transactions_total' | 'duty_transactions_count' | 'duty_transactions_total' | 'fully_subsidized_order_transactions_count' | 'fully_subsidized_order_transactions_total' | 'billable_label_transactions_count' | 'billable_label_transactions_count_for_unique_orders' | 'billable_label_transactions_total' | 'revenue_share_label_transactions_count' | 'revenue_share_label_transactions_count_for_unique_orders' | 'revenue_share_label_transactions_total' | 'manual_transactions_count' | 'manual_transactions_total' | 'order_transactions_count' | 'order_transactions_total' | 'refund_transactions_count' | 'refund_transactions_ignored_fraud_count' | 'refund_transactions_ignored_fully_refunded_count' | 'refund_transactions_ignored_other_count' | 'refund_transactions_total' | 'reversal_order_cancellations_transactions_count' | 'reversal_order_cancellations_transactions_total' | 'reversal_external_fulfillment_transactions_count' | 'reversal_external_fulfillment_transactions_total' | 'tax_transactions_count' | 'tax_transactions_total' | 'transfer_transactions_count' | 'transfer_transactions_total' | 'fulfillments_count' | 'fulfilled_via_replacement_order_count' | 'percentage_orders_with_fulfillment_proof_2_weeks' | 'percentage_orders_with_fulfillment_proof_4_weeks' | 'percentage_orders_with_fulfillment_proof_6_weeks' | 'percentage_orders_with_fulfillment_proof_all' | 'shipping_notifications_count' | 'queued_capture_unprocessed_count' | 'queued_capture_deletion_unprocessed_count' | 'queued_channel_transaction_unprocessed_count' | 'queued_channel_organization_unprocessed_count' | 'queued_consumer_invoice_unprocessed_count' | 'queued_fulfillment_external_unprocessed_count' | 'queued_fulfillment_in_transit_unprocessed_count' | 'queued_fulfillment_shipping_notification_unprocessed_count' | 'queued_label_invoice_request_unprocessed_count' | 'queued_label_tracking_summary_unprocessed_count' | 'queued_label_origin_unprocessed_count' | 'queued_order_unprocessed_count' | 'queued_order_identifier_unprocessed_count' | 'queued_refund_unprocessed_count' | 'queued_refund_deletion_unprocessed_count' | 'queued_refund_over_capture_unprocessed_count' | 'queued_sales_record_unprocessed_count' | 'queued_statement_batch_unprocessed_count' | 'queued_statement_email_unprocessed_count' | 'queued_statement_summary_email_unprocessed_count' | 'queued_record_snooze_count' | 'queued_record_snooze_ending_in_48_hours_count' | 'statements_no_payout_count' | 'statements_no_payout_total' | 'statements_pending_payout_count' | 'statements_pending_payout_total' | 'payouts_scheduled_count' | 'payouts_scheduled_total' | 'payouts_sent_count' | 'payouts_sent_total' | 'payouts_failed_count' | 'payouts_failed_total' | 'pending_payouts_max_age' | 'average_payout_amount' | 'orders_with_payments_count' | 'orders_without_payments_count' | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count';
10868
+ type BillingMetricKey = 'adjustment_transactions_count' | 'adjustment_transactions_total' | 'capture_transactions_count' | 'capture_transactions_ignored_fraud_count' | 'capture_transactions_ignored_fully_refunded_count' | 'capture_transactions_ignored_other_count' | 'capture_transactions_total' | 'channel_transactions_processing_count' | 'channel_transactions_processing_total' | 'channel_transactions_adjustment_count' | 'channel_transactions_adjustment_total' | 'channel_transactions_reversal_count' | 'channel_transactions_reversal_total' | 'channel_billed_transactions_count' | 'channel_billed_transactions_total' | 'credit_payment_transactions_count' | 'credit_payment_transactions_total' | 'duty_transactions_count' | 'duty_transactions_total' | 'fully_subsidized_order_transactions_count' | 'fully_subsidized_order_transactions_total' | 'billable_label_transactions_count' | 'billable_label_transactions_count_for_unique_orders' | 'billable_label_transactions_total' | 'revenue_share_label_transactions_count' | 'revenue_share_label_transactions_count_for_unique_orders' | 'revenue_share_label_transactions_total' | 'manual_transactions_count' | 'manual_transactions_total' | 'order_transactions_count' | 'order_transactions_total' | 'refund_transactions_count' | 'refund_transactions_ignored_fraud_count' | 'refund_transactions_ignored_fully_refunded_count' | 'refund_transactions_ignored_other_count' | 'refund_transactions_total' | 'reversal_order_cancellations_transactions_count' | 'reversal_order_cancellations_transactions_total' | 'reversal_external_fulfillment_transactions_count' | 'reversal_external_fulfillment_transactions_total' | 'reversal_other_transactions_count' | 'reversal_other_transactions_total' | 'reversal_all_transactions_count' | 'reversal_all_transactions_total' | 'tax_transactions_count' | 'tax_transactions_total' | 'transfer_transactions_count' | 'transfer_transactions_total' | 'fulfillments_count' | 'fulfilled_via_replacement_order_count' | 'percentage_orders_with_fulfillment_proof_2_weeks' | 'percentage_orders_with_fulfillment_proof_4_weeks' | 'percentage_orders_with_fulfillment_proof_6_weeks' | 'percentage_orders_with_fulfillment_proof_all' | 'pending_payouts_max_age_in_millis' | 'shipping_notifications_count' | 'queued_capture_unprocessed_count' | 'queued_refund_unprocessed_count' | 'queued_record_snooze_count' | 'queued_record_snooze_ending_in_48_hours_count' | 'statements_no_payout_count' | 'statements_no_payout_total' | 'statements_pending_payout_count' | 'statements_pending_payout_total' | 'payouts_scheduled_count' | 'payouts_scheduled_total' | 'payouts_sent_count' | 'payouts_sent_total' | 'payouts_failed_count' | 'payouts_failed_total' | 'average_payout_amount' | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count';
10866
10869
  type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'channel_billed' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'label' | 'order_service' | 'tax' | 'all';
10867
10870
  type BillingStatementBatchFileKey = 'summary';
10868
10871
  type BillingTransactionStatus = 'pending' | 'pending_proof' | 'posted';
@@ -10876,7 +10879,7 @@ declare namespace io.flow.internal.v0.enums {
10876
10879
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
10877
10880
  type ChannelBilledTransactionType = 'adjustment' | 'reversal' | 'channel_initiated';
10878
10881
  type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
10879
- type ChannelOrderAcceptanceNextActionFrom = 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tlc_team';
10882
+ type ChannelOrderAcceptanceNextActionFrom = 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team';
10880
10883
  type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies';
10881
10884
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
10882
10885
  type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
@@ -11129,7 +11132,6 @@ declare namespace io.flow.internal.v0.enums {
11129
11132
  type TrueUpSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak';
11130
11133
  type UnclassifiedProductStatus = 'ignored' | 'escalated' | 'requeued' | 'unverified' | 'queued' | 'unconfident';
11131
11134
  type WashCarrierActualFileStatus = 'pending' | 'processing' | 'processed' | 'failed';
11132
- type WeightSelection = 'dead' | 'dimensional';
11133
11135
  }
11134
11136
  declare namespace io.flow.internal.v0.models {
11135
11137
  interface Acceptance {
@@ -17916,6 +17918,14 @@ declare namespace io.flow.internal.v0.models {
17916
17918
  readonly organization: string;
17917
17919
  readonly label_invoice_request: io.flow.internal.v0.models.LabelInvoiceRequest;
17918
17920
  }
17921
+ interface LabelInvoiceResponseForm {
17922
+ readonly id: string;
17923
+ readonly label_invoice_request_id: string;
17924
+ readonly units: io.flow.internal.v0.models.LabelResponseUnits;
17925
+ readonly base: io.flow.internal.v0.models.LabelBase;
17926
+ readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
17927
+ readonly total: number;
17928
+ }
17919
17929
  interface LabelMetadata {
17920
17930
  readonly ratecard: io.flow.internal.v0.models.MetadataRatecard;
17921
17931
  readonly weights: io.flow.internal.v0.models.MetadataWeights;
@@ -17947,6 +17957,11 @@ declare namespace io.flow.internal.v0.models {
17947
17957
  readonly organization: string;
17948
17958
  readonly label_request_error: io.flow.internal.v0.models.LabelRequestError;
17949
17959
  }
17960
+ interface LabelResponseUnits {
17961
+ readonly currency: string;
17962
+ readonly weight: io.flow.units.v0.enums.UnitOfWeight;
17963
+ readonly length?: io.flow.units.v0.enums.UnitOfLength;
17964
+ }
17950
17965
  interface LabelSummary {
17951
17966
  readonly id: string;
17952
17967
  readonly commercial_invoice?: string;
@@ -17977,6 +17992,19 @@ declare namespace io.flow.internal.v0.models {
17977
17992
  readonly discriminator: 'percentage';
17978
17993
  readonly percentage: number;
17979
17994
  }
17995
+ interface LabelSurchargeForm {
17996
+ readonly fuel?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
17997
+ readonly remote_area?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
17998
+ readonly oversize?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
17999
+ readonly duties_paid?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
18000
+ readonly emergency?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
18001
+ readonly peak?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
18002
+ }
18003
+ interface LabelSurchargeSingleForm {
18004
+ readonly amount: number;
18005
+ readonly percentage?: number;
18006
+ readonly fee_per_weight_unit?: number;
18007
+ }
17980
18008
  interface LabelTaxonomy {
17981
18009
  readonly discriminator: 'item';
17982
18010
  readonly item_type: string;
@@ -18693,7 +18721,6 @@ declare namespace io.flow.internal.v0.models {
18693
18721
  }
18694
18722
  interface MerchantSubsidies {
18695
18723
  readonly fees: io.flow.internal.v0.models.ShopperFees;
18696
- readonly shipping: number;
18697
18724
  readonly tax: number;
18698
18725
  readonly duty: number;
18699
18726
  readonly total: number;
@@ -18713,7 +18740,6 @@ declare namespace io.flow.internal.v0.models {
18713
18740
  readonly proposition: io.flow.internal.v0.models.MetadataProposition;
18714
18741
  }
18715
18742
  interface MetadataWeights {
18716
- readonly selected: io.flow.internal.v0.enums.WeightSelection;
18717
18743
  readonly dead?: io.flow.internal.v0.models.WeightsDead;
18718
18744
  readonly dimensional?: io.flow.internal.v0.models.WeightsDimensional;
18719
18745
  }
@@ -20471,6 +20497,7 @@ declare namespace io.flow.internal.v0.models {
20471
20497
  interface RestrictionOrganizationDecisionSummary {
20472
20498
  readonly organization: io.flow.internal.v0.models.RestrictionOrganization;
20473
20499
  readonly earliest_pending_date: string;
20500
+ readonly priority_score: number;
20474
20501
  readonly date: string;
20475
20502
  readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
20476
20503
  readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
@@ -23825,17 +23852,21 @@ export declare type LabelInputSource = io.flow.internal.v0.enums.LabelInputSourc
23825
23852
  export declare type LabelInvoiceRequest = io.flow.internal.v0.models.LabelInvoiceRequest;
23826
23853
  export declare type LabelInvoiceRequestDeleted = io.flow.internal.v0.models.LabelInvoiceRequestDeleted;
23827
23854
  export declare type LabelInvoiceRequestUpserted = io.flow.internal.v0.models.LabelInvoiceRequestUpserted;
23855
+ export declare type LabelInvoiceResponseForm = io.flow.internal.v0.models.LabelInvoiceResponseForm;
23828
23856
  export declare type LabelMetadata = io.flow.internal.v0.models.LabelMetadata;
23829
23857
  export declare type LabelRequestError = io.flow.internal.v0.models.LabelRequestError;
23830
23858
  export declare type LabelRequestErrorDeleted = io.flow.internal.v0.models.LabelRequestErrorDeleted;
23831
23859
  export declare type LabelRequestErrorHandlingResponsibility = io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility;
23832
23860
  export declare type LabelRequestErrorUpserted = io.flow.internal.v0.models.LabelRequestErrorUpserted;
23861
+ export declare type LabelResponseUnits = io.flow.internal.v0.models.LabelResponseUnits;
23833
23862
  export declare type LabelSummary = io.flow.internal.v0.models.LabelSummary;
23834
23863
  export declare type LabelSurcharge = io.flow.internal.v0.models.LabelSurcharge;
23835
23864
  export declare type LabelSurchargeDetail = io.flow.internal.v0.unions.LabelSurchargeDetail;
23836
23865
  export declare type LabelSurchargeDetailFlat = io.flow.internal.v0.models.LabelSurchargeDetailFlat;
23837
23866
  export declare type LabelSurchargeDetailPerWeightUnit = io.flow.internal.v0.models.LabelSurchargeDetailPerWeightUnit;
23838
23867
  export declare type LabelSurchargeDetailPercentage = io.flow.internal.v0.models.LabelSurchargeDetailPercentage;
23868
+ export declare type LabelSurchargeForm = io.flow.internal.v0.models.LabelSurchargeForm;
23869
+ export declare type LabelSurchargeSingleForm = io.flow.internal.v0.models.LabelSurchargeSingleForm;
23839
23870
  export declare type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
23840
23871
  export declare type LabelTrackingSummaryDeleted = io.flow.internal.v0.models.LabelTrackingSummaryDeleted;
23841
23872
  export declare type LabelTrackingSummaryUpserted = io.flow.internal.v0.models.LabelTrackingSummaryUpserted;
@@ -24660,7 +24691,6 @@ export declare type WashExportRequest = io.flow.internal.v0.models.WashExportReq
24660
24691
  export declare type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
24661
24692
  export declare type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
24662
24693
  export declare type Webhook = io.flow.internal.v0.models.Webhook;
24663
- export declare type WeightSelection = io.flow.internal.v0.enums.WeightSelection;
24664
24694
  export declare type WeightsDead = io.flow.internal.v0.models.WeightsDead;
24665
24695
  export declare type WeightsDimensional = io.flow.internal.v0.models.WeightsDimensional;
24666
24696
  export declare type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
package/dist/api.d.ts CHANGED
@@ -826,9 +826,11 @@ declare namespace io.flow.stripe.v0.models {
826
826
  readonly customer?: string;
827
827
  }
828
828
  interface ThreeDSecureCharge {
829
+ readonly authenticated?: boolean;
829
830
  readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
830
831
  readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
831
832
  readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
833
+ readonly succeeded?: boolean;
832
834
  readonly version?: string;
833
835
  }
834
836
  interface ThreeDSecureRedirect {
@@ -1990,7 +1992,7 @@ declare namespace io.flow.v0.enums {
1990
1992
  type PaymentMethodRuleContentKey = 'description';
1991
1993
  type PaymentMethodType = 'card' | 'online' | 'offline';
1992
1994
  type PaymentRequestReviewCheckStatus = 'passed' | 'failed';
1993
- type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic';
1995
+ type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic' | 'order_mismatched_currencies';
1994
1996
  type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
1995
1997
  type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
1996
1998
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
@@ -5763,6 +5765,7 @@ declare namespace io.flow.v0.models {
5763
5765
  readonly discriminator: 'know_your_business_usa';
5764
5766
  readonly id: string;
5765
5767
  readonly organization_id: string;
5768
+ readonly shop?: io.flow.v0.models.Shop;
5766
5769
  readonly primary_entity: io.flow.v0.unions.Entity;
5767
5770
  readonly parent_company?: io.flow.v0.models.Company;
5768
5771
  readonly ultimate_parent_company?: io.flow.v0.models.Company;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.68",
3
+ "version": "11.24.69",
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": "2ec4e55423f8c68d0d75db7df7825e96a4433e9b"
28
+ "gitHead": "8fbab724c6c2213e0635284f23a62cd0996693eb"
29
29
  }
@@ -3218,9 +3218,11 @@ declare namespace io.flow.stripe.v0.models {
3218
3218
  }
3219
3219
 
3220
3220
  interface ThreeDSecureCharge {
3221
+ readonly authenticated?: boolean;
3221
3222
  readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
3222
3223
  readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
3223
3224
  readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
3225
+ readonly succeeded?: boolean;
3224
3226
  readonly version?: string;
3225
3227
  }
3226
3228
 
@@ -7422,7 +7424,8 @@ declare namespace io.flow.payment.gateway.v0.enums {
7422
7424
  | 'order_restricted_goods'
7423
7425
  | 'order_unsupported_destination'
7424
7426
  | 'order_missing_information'
7425
- | 'order_domestic';
7427
+ | 'order_domestic'
7428
+ | 'order_mismatched_currencies';
7426
7429
  type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
7427
7430
  type PaymentStatus =
7428
7431
  | 'requires_payment_method'
@@ -10902,6 +10905,7 @@ declare namespace io.flow.shopify.merchant.config.v0.models {
10902
10905
  readonly discriminator: 'know_your_business_usa';
10903
10906
  readonly id: string;
10904
10907
  readonly organization_id: string;
10908
+ readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
10905
10909
  readonly primary_entity: io.flow.shopify.merchant.config.v0.unions.Entity;
10906
10910
  readonly parent_company?: io.flow.shopify.merchant.config.v0.models.Company;
10907
10911
  readonly ultimate_parent_company?: io.flow.shopify.merchant.config.v0.models.Company;
@@ -14303,14 +14307,12 @@ declare namespace io.flow.internal.v0.enums {
14303
14307
  | 'capture_transactions_ignored_fully_refunded_count'
14304
14308
  | 'capture_transactions_ignored_other_count'
14305
14309
  | 'capture_transactions_total'
14306
- | 'channel_transactions_capture_count'
14307
- | 'channel_transactions_capture_total'
14310
+ | 'channel_transactions_processing_count'
14311
+ | 'channel_transactions_processing_total'
14308
14312
  | 'channel_transactions_adjustment_count'
14309
14313
  | 'channel_transactions_adjustment_total'
14310
14314
  | 'channel_transactions_reversal_count'
14311
14315
  | 'channel_transactions_reversal_total'
14312
- | 'channel_transactions_other_count'
14313
- | 'channel_transactions_other_total'
14314
14316
  | 'channel_billed_transactions_count'
14315
14317
  | 'channel_billed_transactions_total'
14316
14318
  | 'credit_payment_transactions_count'
@@ -14338,6 +14340,10 @@ declare namespace io.flow.internal.v0.enums {
14338
14340
  | 'reversal_order_cancellations_transactions_total'
14339
14341
  | 'reversal_external_fulfillment_transactions_count'
14340
14342
  | 'reversal_external_fulfillment_transactions_total'
14343
+ | 'reversal_other_transactions_count'
14344
+ | 'reversal_other_transactions_total'
14345
+ | 'reversal_all_transactions_count'
14346
+ | 'reversal_all_transactions_total'
14341
14347
  | 'tax_transactions_count'
14342
14348
  | 'tax_transactions_total'
14343
14349
  | 'transfer_transactions_count'
@@ -14348,27 +14354,10 @@ declare namespace io.flow.internal.v0.enums {
14348
14354
  | 'percentage_orders_with_fulfillment_proof_4_weeks'
14349
14355
  | 'percentage_orders_with_fulfillment_proof_6_weeks'
14350
14356
  | 'percentage_orders_with_fulfillment_proof_all'
14357
+ | 'pending_payouts_max_age_in_millis'
14351
14358
  | 'shipping_notifications_count'
14352
14359
  | 'queued_capture_unprocessed_count'
14353
- | 'queued_capture_deletion_unprocessed_count'
14354
- | 'queued_channel_transaction_unprocessed_count'
14355
- | 'queued_channel_organization_unprocessed_count'
14356
- | 'queued_consumer_invoice_unprocessed_count'
14357
- | 'queued_fulfillment_external_unprocessed_count'
14358
- | 'queued_fulfillment_in_transit_unprocessed_count'
14359
- | 'queued_fulfillment_shipping_notification_unprocessed_count'
14360
- | 'queued_label_invoice_request_unprocessed_count'
14361
- | 'queued_label_tracking_summary_unprocessed_count'
14362
- | 'queued_label_origin_unprocessed_count'
14363
- | 'queued_order_unprocessed_count'
14364
- | 'queued_order_identifier_unprocessed_count'
14365
14360
  | 'queued_refund_unprocessed_count'
14366
- | 'queued_refund_deletion_unprocessed_count'
14367
- | 'queued_refund_over_capture_unprocessed_count'
14368
- | 'queued_sales_record_unprocessed_count'
14369
- | 'queued_statement_batch_unprocessed_count'
14370
- | 'queued_statement_email_unprocessed_count'
14371
- | 'queued_statement_summary_email_unprocessed_count'
14372
14361
  | 'queued_record_snooze_count'
14373
14362
  | 'queued_record_snooze_ending_in_48_hours_count'
14374
14363
  | 'statements_no_payout_count'
@@ -14381,10 +14370,7 @@ declare namespace io.flow.internal.v0.enums {
14381
14370
  | 'payouts_sent_total'
14382
14371
  | 'payouts_failed_count'
14383
14372
  | 'payouts_failed_total'
14384
- | 'pending_payouts_max_age'
14385
14373
  | 'average_payout_amount'
14386
- | 'orders_with_payments_count'
14387
- | 'orders_without_payments_count'
14388
14374
  | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count';
14389
14375
  type BillingStatementAttachmentKey =
14390
14376
  | 'invoice'
@@ -14457,7 +14443,8 @@ declare namespace io.flow.internal.v0.enums {
14457
14443
  | 'core_team_investigate'
14458
14444
  | 'mex_team'
14459
14445
  | 'payments_team'
14460
- | 'tlc_team';
14446
+ | 'tc_team'
14447
+ | 'logistics_team';
14461
14448
  type ChannelOrderAcceptanceRejectionReason =
14462
14449
  | 'unsupported_origin_country'
14463
14450
  | 'unsupported_destination_country'
@@ -15601,7 +15588,6 @@ declare namespace io.flow.internal.v0.enums {
15601
15588
  | 'processing'
15602
15589
  | 'processed'
15603
15590
  | 'failed';
15604
- type WeightSelection = 'dead' | 'dimensional';
15605
15591
  }
15606
15592
 
15607
15593
  declare namespace io.flow.internal.v0.models {
@@ -23528,6 +23514,15 @@ declare namespace io.flow.internal.v0.models {
23528
23514
  readonly label_invoice_request: io.flow.internal.v0.models.LabelInvoiceRequest;
23529
23515
  }
23530
23516
 
23517
+ interface LabelInvoiceResponseForm {
23518
+ readonly id: string;
23519
+ readonly label_invoice_request_id: string;
23520
+ readonly units: io.flow.internal.v0.models.LabelResponseUnits;
23521
+ readonly base: io.flow.internal.v0.models.LabelBase;
23522
+ readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
23523
+ readonly total: number;
23524
+ }
23525
+
23531
23526
  interface LabelMetadata {
23532
23527
  readonly ratecard: io.flow.internal.v0.models.MetadataRatecard;
23533
23528
  readonly weights: io.flow.internal.v0.models.MetadataWeights;
@@ -23563,6 +23558,12 @@ declare namespace io.flow.internal.v0.models {
23563
23558
  readonly label_request_error: io.flow.internal.v0.models.LabelRequestError;
23564
23559
  }
23565
23560
 
23561
+ interface LabelResponseUnits {
23562
+ readonly currency: string;
23563
+ readonly weight: io.flow.units.v0.enums.UnitOfWeight;
23564
+ readonly length?: io.flow.units.v0.enums.UnitOfLength;
23565
+ }
23566
+
23566
23567
  interface LabelSummary {
23567
23568
  readonly id: string;
23568
23569
  readonly commercial_invoice?: string;
@@ -23598,6 +23599,21 @@ declare namespace io.flow.internal.v0.models {
23598
23599
  readonly percentage: number;
23599
23600
  }
23600
23601
 
23602
+ interface LabelSurchargeForm {
23603
+ readonly fuel?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
23604
+ readonly remote_area?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
23605
+ readonly oversize?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
23606
+ readonly duties_paid?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
23607
+ readonly emergency?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
23608
+ readonly peak?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
23609
+ }
23610
+
23611
+ interface LabelSurchargeSingleForm {
23612
+ readonly amount: number;
23613
+ readonly percentage?: number;
23614
+ readonly fee_per_weight_unit?: number;
23615
+ }
23616
+
23601
23617
  interface LabelTaxonomy {
23602
23618
  readonly discriminator: 'item';
23603
23619
  readonly item_type: string;
@@ -24430,7 +24446,6 @@ declare namespace io.flow.internal.v0.models {
24430
24446
 
24431
24447
  interface MerchantSubsidies {
24432
24448
  readonly fees: io.flow.internal.v0.models.ShopperFees;
24433
- readonly shipping: number;
24434
24449
  readonly tax: number;
24435
24450
  readonly duty: number;
24436
24451
  readonly total: number;
@@ -24454,7 +24469,6 @@ declare namespace io.flow.internal.v0.models {
24454
24469
  }
24455
24470
 
24456
24471
  interface MetadataWeights {
24457
- readonly selected: io.flow.internal.v0.enums.WeightSelection;
24458
24472
  readonly dead?: io.flow.internal.v0.models.WeightsDead;
24459
24473
  readonly dimensional?: io.flow.internal.v0.models.WeightsDimensional;
24460
24474
  }
@@ -26479,6 +26493,7 @@ declare namespace io.flow.internal.v0.models {
26479
26493
  interface RestrictionOrganizationDecisionSummary {
26480
26494
  readonly organization: io.flow.internal.v0.models.RestrictionOrganization;
26481
26495
  readonly earliest_pending_date: string;
26496
+ readonly priority_score: number;
26482
26497
  readonly date: string;
26483
26498
  readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
26484
26499
  readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
@@ -32054,6 +32069,8 @@ export type LabelInvoiceRequestDeleted =
32054
32069
  io.flow.internal.v0.models.LabelInvoiceRequestDeleted;
32055
32070
  export type LabelInvoiceRequestUpserted =
32056
32071
  io.flow.internal.v0.models.LabelInvoiceRequestUpserted;
32072
+ export type LabelInvoiceResponseForm =
32073
+ io.flow.internal.v0.models.LabelInvoiceResponseForm;
32057
32074
  export type LabelMetadata = io.flow.internal.v0.models.LabelMetadata;
32058
32075
  export type LabelRequestError = io.flow.internal.v0.models.LabelRequestError;
32059
32076
  export type LabelRequestErrorDeleted =
@@ -32062,6 +32079,7 @@ export type LabelRequestErrorHandlingResponsibility =
32062
32079
  io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility;
32063
32080
  export type LabelRequestErrorUpserted =
32064
32081
  io.flow.internal.v0.models.LabelRequestErrorUpserted;
32082
+ export type LabelResponseUnits = io.flow.internal.v0.models.LabelResponseUnits;
32065
32083
  export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
32066
32084
  export type LabelSurcharge = io.flow.internal.v0.models.LabelSurcharge;
32067
32085
  export type LabelSurchargeDetail =
@@ -32072,6 +32090,9 @@ export type LabelSurchargeDetailPerWeightUnit =
32072
32090
  io.flow.internal.v0.models.LabelSurchargeDetailPerWeightUnit;
32073
32091
  export type LabelSurchargeDetailPercentage =
32074
32092
  io.flow.internal.v0.models.LabelSurchargeDetailPercentage;
32093
+ export type LabelSurchargeForm = io.flow.internal.v0.models.LabelSurchargeForm;
32094
+ export type LabelSurchargeSingleForm =
32095
+ io.flow.internal.v0.models.LabelSurchargeSingleForm;
32075
32096
  export type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
32076
32097
  export type LabelTrackingSummaryDeleted =
32077
32098
  io.flow.internal.v0.models.LabelTrackingSummaryDeleted;
@@ -33451,7 +33472,6 @@ export type WasteElectricalAndElectronicEquipmentComplianceData =
33451
33472
  export type WasteElectricalAndElectronicEquipmentComplianceForm =
33452
33473
  io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
33453
33474
  export type Webhook = io.flow.internal.v0.models.Webhook;
33454
- export type WeightSelection = io.flow.internal.v0.enums.WeightSelection;
33455
33475
  export type WeightsDead = io.flow.internal.v0.models.WeightsDead;
33456
33476
  export type WeightsDimensional = io.flow.internal.v0.models.WeightsDimensional;
33457
33477
  export type WholeOrderActionForm =
package/src/api.ts CHANGED
@@ -1132,9 +1132,11 @@ declare namespace io.flow.stripe.v0.models {
1132
1132
  }
1133
1133
 
1134
1134
  interface ThreeDSecureCharge {
1135
+ readonly authenticated?: boolean;
1135
1136
  readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
1136
1137
  readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
1137
1138
  readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
1139
+ readonly succeeded?: boolean;
1138
1140
  readonly version?: string;
1139
1141
  }
1140
1142
 
@@ -3165,7 +3167,8 @@ declare namespace io.flow.v0.enums {
3165
3167
  | 'order_restricted_goods'
3166
3168
  | 'order_unsupported_destination'
3167
3169
  | 'order_missing_information'
3168
- | 'order_domestic';
3170
+ | 'order_domestic'
3171
+ | 'order_mismatched_currencies';
3169
3172
  type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
3170
3173
  type PaymentSourceConfirmationActionType =
3171
3174
  | 'cvv'
@@ -7746,6 +7749,7 @@ declare namespace io.flow.v0.models {
7746
7749
  readonly discriminator: 'know_your_business_usa';
7747
7750
  readonly id: string;
7748
7751
  readonly organization_id: string;
7752
+ readonly shop?: io.flow.v0.models.Shop;
7749
7753
  readonly primary_entity: io.flow.v0.unions.Entity;
7750
7754
  readonly parent_company?: io.flow.v0.models.Company;
7751
7755
  readonly ultimate_parent_company?: io.flow.v0.models.Company;