@flowio/types 11.24.126 → 11.24.127

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.
@@ -10770,7 +10770,7 @@ declare namespace io.flow.billing.v0.enums {
10770
10770
  type PendingPayoutTransactionReasonCode = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'waiting_for_tracking_info' | 'waiting_for_positive_account_balance' | 'unfulfilled_amount_greater_than_negative_balance' | 'account_payment_hold';
10771
10771
  type StatementAttachmentType = 'csv';
10772
10772
  type TaxDutyTransactionReasonCode = 'post_capture' | 'post_fulfilment' | 'manual_payment_or_gift_card' | 'order_edit' | 'mixed_fulfilment_non_lvg' | 'lvg_refund' | 'order_cancellation_above_de_min' | 'wyol_shipment_above_de_min' | 'full_refund_without_shipment' | 'unfulfilled_order_above_de_min';
10773
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout' | 'tax_refund' | 'duty_refund' | 'non_l4l_tax_duty_fx' | 'merchant_payout' | 'merchant_refund' | 'ge_revenue_share';
10773
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout' | 'tax_refund' | 'duty_refund' | 'non_l4l_tax_duty_fx' | 'merchant_payout' | 'merchant_refund' | 'ge_revenue_share' | 'merchant_fee';
10774
10774
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
10775
10775
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
10776
10776
  }
@@ -11703,7 +11703,7 @@ declare namespace io.flow.internal.v0.enums {
11703
11703
  type BillingMetricKey = 'adjustment_transactions_count' | 'adjustment_transactions_total' | 'capture_transactions_count' | 'capture_transactions_reconcile_payments_count' | 'capture_transactions_ignored_fraud_count' | 'capture_transactions_ignored_fully_refunded_count' | 'capture_transactions_ignored_other_count' | 'capture_transactions_ignored_previously_processed_count' | 'capture_transactions_succeeded_then_failed_count' | 'capture_transactions_succeeded_then_failed_total' | 'capture_transactions_succeeded_then_failed_same_day_count' | 'capture_transactions_succeeded_then_failed_same_day_total' | 'capture_queued_count' | 'capture_transactions_total' | 'carrier_charge_transactions_count' | 'carrier_charge_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_to_labels_ratio' | '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_count_with_revenue_share' | 'billable_label_transactions_count_without_revenue_share' | '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_reconcile_payments_count' | 'refund_transactions_ignored_fraud_count' | 'refund_transactions_ignored_fully_refunded_count' | 'refund_transactions_ignored_other_count' | 'refund_transactions_ignored_previously_processed_count' | 'refund_queued_count' | 'refund_transactions_total' | 'refund_transactions_succeeded_then_failed_count' | 'refund_transactions_succeeded_then_failed_total' | 'refund_transactions_succeeded_then_failed_same_day_count' | 'refund_transactions_succeeded_then_failed_same_day_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_to_labels_ratio' | 'tax_transactions_count' | 'tax_transactions_total' | 'transfer_transactions_count' | 'transfer_transactions_total' | 'trueup_transactions_count' | 'trueup_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_label_invoice_request_unprocessed_count' | 'queued_other_unprocessed_count' | 'task_snooze_count' | 'task_snooze_ending_in_48_hours_count' | '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' | 'percentage_billable_label_transactions_with_carrier_charge_10_days' | 'percentage_billable_label_transactions_with_carrier_charge_20_days' | 'percentage_billable_label_transactions_with_carrier_charge_30_days' | 'percentage_billable_label_transactions_with_carrier_charge_60_days' | 'percentage_billable_label_transactions_with_carrier_charge_90_days' | 'percentage_bank_account_inserts' | 'percentage_bank_account_updates' | 'percentage_bank_account_unique_updates' | 'percentage_bank_account_deletes' | 'negative_balance_number_accounts' | 'negative_balance_number_accounts_with_order_in_past_30_days' | 'negative_balance_number_accounts_without_order_in_past_30_days' | 'negative_balance_number_offboarded_accounts' | 'negative_balance_number_active_accounts_with_balance_over_1000' | 'negative_balance_total' | 'negative_balance_total_with_order_in_past_30_days' | 'negative_balance_total_without_order_in_past_30_days' | 'negative_balance_total_offboarded_accounts' | 'negative_balance_single_account_max' | 'negative_balance_single_active_account_max' | 'negative_balance_fee_total' | 'accounts_with_payment_holds_count' | 'accounts_with_payment_holds_pending_payment_promise_count' | 'accounts_with_payment_holds_pending_payment_promise_total' | 'edited_order_tax_amount_exceeding_transaction' | 'edited_order_duty_amount_exceeding_transaction' | 'negative_balance_scheduled_count' | 'negative_balance_scheduled_total' | 'negative_balance_sent_count' | 'negative_balance_sent_total' | 'negative_balance_failed_count' | 'negative_balance_failed_total' | 'negative_debit_success_rate' | 'current_attempt_merchant_count' | 'current_attempt_amount_total' | 'current_attempt_failed_merchant_count' | 'current_attempt_failed_amount_total' | 'current_attempt_success_ratio' | 'first_attempt_merchant_count' | 'first_attempt_amount_total' | 'first_attempt_failed_merchant_count' | 'first_attempt_failed_amount_total' | 'first_attempt_success_ratio' | 'second_attempt_merchant_count' | 'second_attempt_amount_total' | 'second_attempt_failed_merchant_count' | 'second_attempt_failed_amount_total' | 'second_attempt_success_ratio' | 'third_attempt_merchant_count' | 'third_attempt_amount_total' | 'third_attempt_failed_merchant_count' | 'third_attempt_failed_amount_total' | 'third_attempt_success_ratio' | 'fourth_plus_attempt_merchant_count' | 'fourth_plus_attempt_amount_total' | 'fourth_plus_attempt_failed_merchant_count' | 'fourth_plus_attempt_failed_amount_total' | 'fourth_plus_attempt_success_ratio' | 'ge_revenue_share_standard_transactions_count' | 'ge_revenue_share_standard_transactions_total' | 'ge_revenue_share_standard_transactions_percentage' | 'ge_revenue_share_shopify_plus_transactions_count' | 'ge_revenue_share_shopify_plus_transactions_total' | 'ge_revenue_share_shopify_plus_transactions_percentage' | 'non_l4l_tax_duty_fx_transactions_count' | 'non_l4l_tax_duty_fx_transactions_total' | 'non_l4l_tax_duty_fx_transactions_percentage' | 'sp_adjustment_transactions_count' | 'sp_adjustment_transactions_total' | 'sp_billable_label_transactions_count' | 'sp_billable_label_transactions_count_for_unique_orders' | 'sp_billable_label_transactions_total' | 'capture_transactions_standard_count' | 'capture_transactions_standard_total' | 'capture_transactions_shopify_plus_count' | 'capture_transactions_shopify_plus_total' | 'sp_capture_transactions_count' | 'sp_capture_transactions_total' | 'sp_carrier_charge_transactions_count' | 'sp_carrier_charge_transactions_total' | 'sp_channel_transactions_count' | 'sp_channel_transactions_total' | 'sp_duty_transactions_count' | 'sp_duty_transactions_total' | 'sp_manual_transactions_count' | 'sp_manual_transactions_total' | 'sp_refund_transactions_count' | 'sp_refund_transactions_total' | 'sp_reversal_transactions_count' | 'sp_reversal_transactions_total' | 'sp_revenue_share_label_transactions_count' | 'sp_revenue_share_label_transactions_count_for_unique_orders' | 'sp_revenue_share_label_transactions_total' | 'sp_tax_transactions_count' | 'sp_tax_transactions_total' | 'sp_transfer_transactions_count' | 'sp_transfer_transactions_total' | 'sp_trueup_transactions_count' | 'sp_trueup_transactions_total';
11704
11704
  type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'channel_billed' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'label' | 'order_service' | 'tax' | 'duty' | 'trueup' | 'carrier_charge' | 'all';
11705
11705
  type BillingTransactionStatus = 'pending_proof' | 'posted';
11706
- type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'reversal' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute' | 'channel' | 'label' | 'order' | 'channel_billed' | 'tax' | 'duty' | 'trueup' | 'carrier_charge' | 'non_l4l_tax_duty_fx' | 'tax_refund' | 'duty_refund' | 'ge_revenue_share' | 'platform_fee' | 'merchant_payout' | 'merchant_refund';
11706
+ type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'reversal' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute' | 'channel' | 'label' | 'order' | 'channel_billed' | 'tax' | 'duty' | 'trueup' | 'carrier_charge' | 'non_l4l_tax_duty_fx' | 'tax_refund' | 'duty_refund' | 'ge_revenue_share' | 'merchant_fee' | 'merchant_payout' | 'merchant_refund';
11707
11707
  type CalculatorEngine = 'dtce_with_deminimis' | 'dtce_with_inclusive_pricing' | 'dtce_and_us_tax';
11708
11708
  type CarrierChargeTransactionType = 'adjustment' | 'reversal' | 'charge' | 'revenue_share';
11709
11709
  type CarrierChargeType = 'label' | 'tax' | 'other';
@@ -11811,6 +11811,7 @@ declare namespace io.flow.internal.v0.enums {
11811
11811
  type LogisticsPayoutResolutionMethod = 'order_combined_shipment' | 'intransit_label_event' | 'shipping_notification';
11812
11812
  type ManualReviewRuleStatus = 'active' | 'archived';
11813
11813
  type ManualTransactionCategory = 'cancelled_order_refund' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit' | 'negative_balance_guarantee' | 'bank_payment_failure' | 'non_fraud_chargeback';
11814
+ type MerchantFeeTransactionType = 'adjustment' | 'reversal' | 'fee';
11814
11815
  type MerchantOfRecord = 'global_e_united_states' | 'global_e_united_kingdom' | 'global_e_canada' | 'global_e_netherlands';
11815
11816
  type MerchantOverrideStatus = 'pending' | 'in_review' | 'accepted' | 'rejected';
11816
11817
  type MixedBagWeight = '0' | '1' | '2';
@@ -11849,7 +11850,6 @@ declare namespace io.flow.internal.v0.enums {
11849
11850
  type PaymentSummaryType = 'authorization' | 'capture' | 'refund' | 'reversal' | 'credit';
11850
11851
  type PaymentTerm = 'net7' | 'net15' | 'net30';
11851
11852
  type PendingRecordType = 'verification' | 'classification' | 'restriction';
11852
- type PlatformFeeTransactionType = 'adjustment' | 'reversal' | 'fee';
11853
11853
  type PrateekItemType = 'physical' | 'digital';
11854
11854
  type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
11855
11855
  type PriceSelector = 'minimum' | 'maximum';
@@ -17082,6 +17082,18 @@ declare namespace io.flow.internal.v0.models {
17082
17082
  interface MerchantDetails {
17083
17083
  readonly name: string;
17084
17084
  }
17085
+ interface MerchantFeeTransaction {
17086
+ readonly discriminator: 'merchant_fee_transaction';
17087
+ readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
17088
+ readonly id: string;
17089
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
17090
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
17091
+ readonly posted_at?: string;
17092
+ readonly value: io.flow.common.v0.models.Price;
17093
+ readonly description: string;
17094
+ readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
17095
+ readonly created_at: string;
17096
+ }
17085
17097
  interface MerchantFees {
17086
17098
  readonly duty_guarantee: number;
17087
17099
  readonly mor: number;
@@ -18631,18 +18643,6 @@ declare namespace io.flow.internal.v0.models {
18631
18643
  readonly minimum_amount_base: number;
18632
18644
  readonly rate: number;
18633
18645
  }
18634
- interface PlatformFeeTransaction {
18635
- readonly discriminator: 'platform_fee_transaction';
18636
- readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
18637
- readonly id: string;
18638
- readonly type: io.flow.internal.v0.enums.BillingTransactionType;
18639
- readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
18640
- readonly posted_at?: string;
18641
- readonly value: io.flow.common.v0.models.Price;
18642
- readonly description: string;
18643
- readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
18644
- readonly created_at: string;
18645
- }
18646
18646
  interface PrateekItem {
18647
18647
  readonly id: string;
18648
18648
  readonly number: string;
@@ -19749,7 +19749,6 @@ declare namespace io.flow.internal.v0.models {
19749
19749
  interface RestrictionOrganizationDecisionSummary {
19750
19750
  readonly organization: io.flow.internal.v0.models.RestrictionOrganization;
19751
19751
  readonly earliest_pending_date: string;
19752
- readonly priority_score: number;
19753
19752
  readonly date: string;
19754
19753
  readonly counts: io.flow.internal.v0.models.RestrictionSummaryCounts;
19755
19754
  }
@@ -22253,7 +22252,7 @@ declare namespace io.flow.internal.v0.unions {
22253
22252
  type TaskMetadata = io.flow.internal.v0.models.StatementCreationMetadata | io.flow.internal.v0.models.AccountingPendingOrderMetadata | io.flow.internal.v0.models.TaxDutyReasonCodeMetadata | io.flow.internal.v0.models.AccountingReturnMetadata | io.flow.internal.v0.models.NonL4LTaxDutyFxFeeMetadata;
22254
22253
  type TaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount | io.flow.internal.v0.models.NoCalculatedTaxAmount;
22255
22254
  type Tracker = io.flow.internal.v0.models.GoogleAnalytics | io.flow.internal.v0.models.GoogleGlobalSiteTag | io.flow.internal.v0.models.GoogleTagManager | io.flow.internal.v0.models.FacebookPixel | io.flow.internal.v0.models.SnapchatPixel;
22256
- type Transaction = io.flow.internal.v0.models.InvoiceTransaction | io.flow.internal.v0.models.ManualTransaction | io.flow.internal.v0.models.ProcessingTransaction | io.flow.internal.v0.models.SubscriptionTransaction | io.flow.internal.v0.models.TaxRemittanceTransaction | io.flow.internal.v0.models.TransferTransaction | io.flow.internal.v0.models.VirtualCardTransaction | io.flow.internal.v0.models.DisputeTransaction | io.flow.internal.v0.models.ChannelTransaction | io.flow.internal.v0.models.LabelTransaction | io.flow.internal.v0.models.OrderTransaction | io.flow.internal.v0.models.ChannelBilledTransaction | io.flow.internal.v0.models.TaxTransaction | io.flow.internal.v0.models.DutyTransaction | io.flow.internal.v0.models.TrueupTransaction | io.flow.internal.v0.models.CarrierChargeTransaction | io.flow.internal.v0.models.NonL4LTaxDutyFxTransaction | io.flow.internal.v0.models.GeRevenueShareTransaction | io.flow.internal.v0.models.PlatformFeeTransaction;
22255
+ type Transaction = io.flow.internal.v0.models.InvoiceTransaction | io.flow.internal.v0.models.ManualTransaction | io.flow.internal.v0.models.ProcessingTransaction | io.flow.internal.v0.models.SubscriptionTransaction | io.flow.internal.v0.models.TaxRemittanceTransaction | io.flow.internal.v0.models.TransferTransaction | io.flow.internal.v0.models.VirtualCardTransaction | io.flow.internal.v0.models.DisputeTransaction | io.flow.internal.v0.models.ChannelTransaction | io.flow.internal.v0.models.LabelTransaction | io.flow.internal.v0.models.OrderTransaction | io.flow.internal.v0.models.ChannelBilledTransaction | io.flow.internal.v0.models.TaxTransaction | io.flow.internal.v0.models.DutyTransaction | io.flow.internal.v0.models.TrueupTransaction | io.flow.internal.v0.models.CarrierChargeTransaction | io.flow.internal.v0.models.NonL4LTaxDutyFxTransaction | io.flow.internal.v0.models.GeRevenueShareTransaction | io.flow.internal.v0.models.MerchantFeeTransaction;
22257
22256
  type TransactionSummary = io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary;
22258
22257
  }
22259
22258
  export declare type Acceptance = io.flow.internal.v0.models.Acceptance;
@@ -23178,6 +23177,8 @@ export declare type MerchantApplicationSummaries = io.flow.internal.v0.models.Me
23178
23177
  export declare type MerchantApplicationSummary = io.flow.internal.v0.models.MerchantApplicationSummary;
23179
23178
  export declare type MerchantDeleted = io.flow.internal.v0.models.MerchantDeleted;
23180
23179
  export declare type MerchantDetails = io.flow.internal.v0.models.MerchantDetails;
23180
+ export declare type MerchantFeeTransaction = io.flow.internal.v0.models.MerchantFeeTransaction;
23181
+ export declare type MerchantFeeTransactionType = io.flow.internal.v0.enums.MerchantFeeTransactionType;
23181
23182
  export declare type MerchantFees = io.flow.internal.v0.models.MerchantFees;
23182
23183
  export declare type MerchantGuidAssignment = io.flow.internal.v0.models.MerchantGuidAssignment;
23183
23184
  export declare type MerchantGuidAssignmentDeleted = io.flow.internal.v0.models.MerchantGuidAssignmentDeleted;
@@ -23447,8 +23448,6 @@ export declare type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat
23447
23448
  export declare type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause;
23448
23449
  export declare type PlatformFeePercentage = io.flow.internal.v0.models.PlatformFeePercentage;
23449
23450
  export declare type PlatformFeePercentageTier = io.flow.internal.v0.models.PlatformFeePercentageTier;
23450
- export declare type PlatformFeeTransaction = io.flow.internal.v0.models.PlatformFeeTransaction;
23451
- export declare type PlatformFeeTransactionType = io.flow.internal.v0.enums.PlatformFeeTransactionType;
23452
23451
  export declare type PrateekItem = io.flow.internal.v0.models.PrateekItem;
23453
23452
  export declare type PrateekItemForm = io.flow.internal.v0.models.PrateekItemForm;
23454
23453
  export declare type PrateekItemType = io.flow.internal.v0.enums.PrateekItemType;
package/dist/api.d.ts CHANGED
@@ -3188,7 +3188,7 @@ declare namespace io.flow.v0.enums {
3188
3188
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired' | 'unknown' | 'unmapped';
3189
3189
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
3190
3190
  type TradeAgreementStatus = 'supported' | 'not_supported';
3191
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout' | 'tax_refund' | 'duty_refund' | 'non_l4l_tax_duty_fx' | 'merchant_payout' | 'merchant_refund' | 'ge_revenue_share';
3191
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout' | 'tax_refund' | 'duty_refund' | 'non_l4l_tax_duty_fx' | 'merchant_payout' | 'merchant_refund' | 'ge_revenue_share' | 'merchant_fee';
3192
3192
  type TransferStatus = 'succeeded' | 'canceled';
3193
3193
  type TransferType = 'payout_to_merchant' | 'disputed_amount_to_merchant' | 'duties_and_taxes_adjustment_to_merchant' | 'disputed_amount_from_merchant' | 'duties_and_taxes_adjustment_from_merchant' | 'refund_from_merchant';
3194
3194
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.126",
3
+ "version": "11.24.127",
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": "5c6b5f5cb926cc945c9f4291efe22dedfde83355"
28
+ "gitHead": "3006280bce074215dc46ad9c937db245d67d2783"
29
29
  }
@@ -14755,7 +14755,8 @@ declare namespace io.flow.billing.v0.enums {
14755
14755
  | 'non_l4l_tax_duty_fx'
14756
14756
  | 'merchant_payout'
14757
14757
  | 'merchant_refund'
14758
- | 'ge_revenue_share';
14758
+ | 'ge_revenue_share'
14759
+ | 'merchant_fee';
14759
14760
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
14760
14761
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
14761
14762
  }
@@ -16204,7 +16205,7 @@ declare namespace io.flow.internal.v0.enums {
16204
16205
  | 'tax_refund'
16205
16206
  | 'duty_refund'
16206
16207
  | 'ge_revenue_share'
16207
- | 'platform_fee'
16208
+ | 'merchant_fee'
16208
16209
  | 'merchant_payout'
16209
16210
  | 'merchant_refund';
16210
16211
  type CalculatorEngine =
@@ -16868,6 +16869,7 @@ declare namespace io.flow.internal.v0.enums {
16868
16869
  | 'negative_balance_guarantee'
16869
16870
  | 'bank_payment_failure'
16870
16871
  | 'non_fraud_chargeback';
16872
+ type MerchantFeeTransactionType = 'adjustment' | 'reversal' | 'fee';
16871
16873
  type MerchantOfRecord =
16872
16874
  | 'global_e_united_states'
16873
16875
  | 'global_e_united_kingdom'
@@ -17004,7 +17006,6 @@ declare namespace io.flow.internal.v0.enums {
17004
17006
  | 'credit';
17005
17007
  type PaymentTerm = 'net7' | 'net15' | 'net30';
17006
17008
  type PendingRecordType = 'verification' | 'classification' | 'restriction';
17007
- type PlatformFeeTransactionType = 'adjustment' | 'reversal' | 'fee';
17008
17009
  type PrateekItemType = 'physical' | 'digital';
17009
17010
  type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
17010
17011
  type PriceSelector = 'minimum' | 'maximum';
@@ -23147,6 +23148,19 @@ declare namespace io.flow.internal.v0.models {
23147
23148
  readonly name: string;
23148
23149
  }
23149
23150
 
23151
+ interface MerchantFeeTransaction {
23152
+ readonly discriminator: 'merchant_fee_transaction';
23153
+ readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
23154
+ readonly id: string;
23155
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
23156
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
23157
+ readonly posted_at?: string;
23158
+ readonly value: io.flow.common.v0.models.Price;
23159
+ readonly description: string;
23160
+ readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
23161
+ readonly created_at: string;
23162
+ }
23163
+
23150
23164
  interface MerchantFees {
23151
23165
  readonly duty_guarantee: number;
23152
23166
  readonly mor: number;
@@ -24922,19 +24936,6 @@ declare namespace io.flow.internal.v0.models {
24922
24936
  readonly rate: number;
24923
24937
  }
24924
24938
 
24925
- interface PlatformFeeTransaction {
24926
- readonly discriminator: 'platform_fee_transaction';
24927
- readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
24928
- readonly id: string;
24929
- readonly type: io.flow.internal.v0.enums.BillingTransactionType;
24930
- readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
24931
- readonly posted_at?: string;
24932
- readonly value: io.flow.common.v0.models.Price;
24933
- readonly description: string;
24934
- readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
24935
- readonly created_at: string;
24936
- }
24937
-
24938
24939
  interface PrateekItem {
24939
24940
  readonly id: string;
24940
24941
  readonly number: string;
@@ -26210,7 +26211,6 @@ declare namespace io.flow.internal.v0.models {
26210
26211
  interface RestrictionOrganizationDecisionSummary {
26211
26212
  readonly organization: io.flow.internal.v0.models.RestrictionOrganization;
26212
26213
  readonly earliest_pending_date: string;
26213
- readonly priority_score: number;
26214
26214
  readonly date: string;
26215
26215
  readonly counts: io.flow.internal.v0.models.RestrictionSummaryCounts;
26216
26216
  }
@@ -29639,7 +29639,7 @@ declare namespace io.flow.internal.v0.unions {
29639
29639
  | io.flow.internal.v0.models.CarrierChargeTransaction
29640
29640
  | io.flow.internal.v0.models.NonL4LTaxDutyFxTransaction
29641
29641
  | io.flow.internal.v0.models.GeRevenueShareTransaction
29642
- | io.flow.internal.v0.models.PlatformFeeTransaction;
29642
+ | io.flow.internal.v0.models.MerchantFeeTransaction;
29643
29643
  type TransactionSummary =
29644
29644
  | io.flow.internal.v0.models.PaymentSummaryV2
29645
29645
  | io.flow.internal.v0.models.FraudSummary;
@@ -31153,6 +31153,10 @@ export type MerchantApplicationSummary =
31153
31153
  io.flow.internal.v0.models.MerchantApplicationSummary;
31154
31154
  export type MerchantDeleted = io.flow.internal.v0.models.MerchantDeleted;
31155
31155
  export type MerchantDetails = io.flow.internal.v0.models.MerchantDetails;
31156
+ export type MerchantFeeTransaction =
31157
+ io.flow.internal.v0.models.MerchantFeeTransaction;
31158
+ export type MerchantFeeTransactionType =
31159
+ io.flow.internal.v0.enums.MerchantFeeTransactionType;
31156
31160
  export type MerchantFees = io.flow.internal.v0.models.MerchantFees;
31157
31161
  export type MerchantGuidAssignment =
31158
31162
  io.flow.internal.v0.models.MerchantGuidAssignment;
@@ -31628,10 +31632,6 @@ export type PlatformFeePercentage =
31628
31632
  io.flow.internal.v0.models.PlatformFeePercentage;
31629
31633
  export type PlatformFeePercentageTier =
31630
31634
  io.flow.internal.v0.models.PlatformFeePercentageTier;
31631
- export type PlatformFeeTransaction =
31632
- io.flow.internal.v0.models.PlatformFeeTransaction;
31633
- export type PlatformFeeTransactionType =
31634
- io.flow.internal.v0.enums.PlatformFeeTransactionType;
31635
31635
  export type PrateekItem = io.flow.internal.v0.models.PrateekItem;
31636
31636
  export type PrateekItemForm = io.flow.internal.v0.models.PrateekItemForm;
31637
31637
  export type PrateekItemType = io.flow.internal.v0.enums.PrateekItemType;
package/src/api.ts CHANGED
@@ -5191,7 +5191,8 @@ declare namespace io.flow.v0.enums {
5191
5191
  | 'non_l4l_tax_duty_fx'
5192
5192
  | 'merchant_payout'
5193
5193
  | 'merchant_refund'
5194
- | 'ge_revenue_share';
5194
+ | 'ge_revenue_share'
5195
+ | 'merchant_fee';
5195
5196
  type TransferStatus = 'succeeded' | 'canceled';
5196
5197
  type TransferType =
5197
5198
  | 'payout_to_merchant'