@flowio/types 11.24.125 → 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.
- package/dist/api-internal.d.ts +19 -4
- package/dist/api.d.ts +15 -3
- package/package.json +2 -2
- package/src/api-internal.ts +24 -3
- package/src/api.ts +21 -3
package/dist/api-internal.d.ts
CHANGED
|
@@ -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' | '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';
|
|
@@ -17081,6 +17082,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17081
17082
|
interface MerchantDetails {
|
|
17082
17083
|
readonly name: string;
|
|
17083
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
|
+
}
|
|
17084
17097
|
interface MerchantFees {
|
|
17085
17098
|
readonly duty_guarantee: number;
|
|
17086
17099
|
readonly mor: number;
|
|
@@ -19679,6 +19692,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19679
19692
|
readonly review: io.flow.internal.v0.models.RestrictionItemReview;
|
|
19680
19693
|
readonly created_at: string;
|
|
19681
19694
|
readonly updated_at: string;
|
|
19695
|
+
readonly channel?: string;
|
|
19682
19696
|
}
|
|
19683
19697
|
interface RestrictionItemRequestForm {
|
|
19684
19698
|
readonly status?: io.flow.internal.v0.enums.RestrictionStatus;
|
|
@@ -19735,7 +19749,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19735
19749
|
interface RestrictionOrganizationDecisionSummary {
|
|
19736
19750
|
readonly organization: io.flow.internal.v0.models.RestrictionOrganization;
|
|
19737
19751
|
readonly earliest_pending_date: string;
|
|
19738
|
-
readonly priority_score: number;
|
|
19739
19752
|
readonly date: string;
|
|
19740
19753
|
readonly counts: io.flow.internal.v0.models.RestrictionSummaryCounts;
|
|
19741
19754
|
}
|
|
@@ -22239,7 +22252,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22239
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;
|
|
22240
22253
|
type TaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount | io.flow.internal.v0.models.NoCalculatedTaxAmount;
|
|
22241
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;
|
|
22242
|
-
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;
|
|
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;
|
|
22243
22256
|
type TransactionSummary = io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary;
|
|
22244
22257
|
}
|
|
22245
22258
|
export declare type Acceptance = io.flow.internal.v0.models.Acceptance;
|
|
@@ -23164,6 +23177,8 @@ export declare type MerchantApplicationSummaries = io.flow.internal.v0.models.Me
|
|
|
23164
23177
|
export declare type MerchantApplicationSummary = io.flow.internal.v0.models.MerchantApplicationSummary;
|
|
23165
23178
|
export declare type MerchantDeleted = io.flow.internal.v0.models.MerchantDeleted;
|
|
23166
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;
|
|
23167
23182
|
export declare type MerchantFees = io.flow.internal.v0.models.MerchantFees;
|
|
23168
23183
|
export declare type MerchantGuidAssignment = io.flow.internal.v0.models.MerchantGuidAssignment;
|
|
23169
23184
|
export declare type MerchantGuidAssignmentDeleted = io.flow.internal.v0.models.MerchantGuidAssignmentDeleted;
|
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';
|
|
@@ -4882,6 +4882,16 @@ declare namespace io.flow.v0.models {
|
|
|
4882
4882
|
readonly tax?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
4883
4883
|
readonly duty?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
4884
4884
|
}
|
|
4885
|
+
interface ConsumerInvoiceLineTip {
|
|
4886
|
+
readonly discriminator: 'tip';
|
|
4887
|
+
readonly price: io.flow.v0.models.Price;
|
|
4888
|
+
readonly tax?: io.flow.v0.models.ConsumerInvoiceLevy;
|
|
4889
|
+
}
|
|
4890
|
+
interface ConsumerInvoiceLineTipForm {
|
|
4891
|
+
readonly discriminator: 'tip';
|
|
4892
|
+
readonly price: number;
|
|
4893
|
+
readonly tax?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
4894
|
+
}
|
|
4885
4895
|
interface ConsumerInvoiceOrderSummary {
|
|
4886
4896
|
readonly id: string;
|
|
4887
4897
|
readonly number: string;
|
|
@@ -11857,8 +11867,8 @@ declare namespace io.flow.v0.unions {
|
|
|
11857
11867
|
type CardNumber = io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher;
|
|
11858
11868
|
type CheckoutTokenForm = io.flow.v0.models.CheckoutTokenOrderForm | io.flow.v0.models.CheckoutTokenReferenceForm;
|
|
11859
11869
|
type ConfirmationDetails = io.flow.v0.models.DirectDebit | io.flow.v0.models.CardConfirmationSummary;
|
|
11860
|
-
type ConsumerInvoiceLine = io.flow.v0.models.ConsumerInvoiceLineItem | io.flow.v0.models.ConsumerInvoiceLineDiscount | io.flow.v0.models.ConsumerInvoiceLineShipping;
|
|
11861
|
-
type ConsumerInvoiceLineForm = io.flow.v0.models.ConsumerInvoiceLineItemForm | io.flow.v0.models.ConsumerInvoiceLineDiscountForm | io.flow.v0.models.ConsumerInvoiceLineShippingForm;
|
|
11870
|
+
type ConsumerInvoiceLine = io.flow.v0.models.ConsumerInvoiceLineItem | io.flow.v0.models.ConsumerInvoiceLineDiscount | io.flow.v0.models.ConsumerInvoiceLineShipping | io.flow.v0.models.ConsumerInvoiceLineTip;
|
|
11871
|
+
type ConsumerInvoiceLineForm = io.flow.v0.models.ConsumerInvoiceLineItemForm | io.flow.v0.models.ConsumerInvoiceLineDiscountForm | io.flow.v0.models.ConsumerInvoiceLineShippingForm | io.flow.v0.models.ConsumerInvoiceLineTipForm;
|
|
11862
11872
|
type Delivery = io.flow.v0.models.DigitalDelivery | io.flow.v0.models.PhysicalDelivery;
|
|
11863
11873
|
type Deminimis = io.flow.v0.models.DeminimisSimple | io.flow.v0.models.DeminimisPerItem;
|
|
11864
11874
|
type DeviceDetails = io.flow.v0.models.DeviceDetailsBrowser;
|
|
@@ -12271,6 +12281,8 @@ export declare type ConsumerInvoiceLineItem = io.flow.v0.models.ConsumerInvoiceL
|
|
|
12271
12281
|
export declare type ConsumerInvoiceLineItemForm = io.flow.v0.models.ConsumerInvoiceLineItemForm;
|
|
12272
12282
|
export declare type ConsumerInvoiceLineShipping = io.flow.v0.models.ConsumerInvoiceLineShipping;
|
|
12273
12283
|
export declare type ConsumerInvoiceLineShippingForm = io.flow.v0.models.ConsumerInvoiceLineShippingForm;
|
|
12284
|
+
export declare type ConsumerInvoiceLineTip = io.flow.v0.models.ConsumerInvoiceLineTip;
|
|
12285
|
+
export declare type ConsumerInvoiceLineTipForm = io.flow.v0.models.ConsumerInvoiceLineTipForm;
|
|
12274
12286
|
export declare type ConsumerInvoiceOrderSummary = io.flow.v0.models.ConsumerInvoiceOrderSummary;
|
|
12275
12287
|
export declare type ConsumerInvoicePayment = io.flow.v0.models.ConsumerInvoicePayment;
|
|
12276
12288
|
export declare type ConsumerInvoiceReference = io.flow.v0.models.ConsumerInvoiceReference;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
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": "
|
|
28
|
+
"gitHead": "3006280bce074215dc46ad9c937db245d67d2783"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -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,6 +16205,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16204
16205
|
| 'tax_refund'
|
|
16205
16206
|
| 'duty_refund'
|
|
16206
16207
|
| 'ge_revenue_share'
|
|
16208
|
+
| 'merchant_fee'
|
|
16207
16209
|
| 'merchant_payout'
|
|
16208
16210
|
| 'merchant_refund';
|
|
16209
16211
|
type CalculatorEngine =
|
|
@@ -16867,6 +16869,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16867
16869
|
| 'negative_balance_guarantee'
|
|
16868
16870
|
| 'bank_payment_failure'
|
|
16869
16871
|
| 'non_fraud_chargeback';
|
|
16872
|
+
type MerchantFeeTransactionType = 'adjustment' | 'reversal' | 'fee';
|
|
16870
16873
|
type MerchantOfRecord =
|
|
16871
16874
|
| 'global_e_united_states'
|
|
16872
16875
|
| 'global_e_united_kingdom'
|
|
@@ -23145,6 +23148,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23145
23148
|
readonly name: string;
|
|
23146
23149
|
}
|
|
23147
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
|
+
|
|
23148
23164
|
interface MerchantFees {
|
|
23149
23165
|
readonly duty_guarantee: number;
|
|
23150
23166
|
readonly mor: number;
|
|
@@ -26131,6 +26147,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26131
26147
|
readonly review: io.flow.internal.v0.models.RestrictionItemReview;
|
|
26132
26148
|
readonly created_at: string;
|
|
26133
26149
|
readonly updated_at: string;
|
|
26150
|
+
readonly channel?: string;
|
|
26134
26151
|
}
|
|
26135
26152
|
|
|
26136
26153
|
interface RestrictionItemRequestForm {
|
|
@@ -26194,7 +26211,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26194
26211
|
interface RestrictionOrganizationDecisionSummary {
|
|
26195
26212
|
readonly organization: io.flow.internal.v0.models.RestrictionOrganization;
|
|
26196
26213
|
readonly earliest_pending_date: string;
|
|
26197
|
-
readonly priority_score: number;
|
|
26198
26214
|
readonly date: string;
|
|
26199
26215
|
readonly counts: io.flow.internal.v0.models.RestrictionSummaryCounts;
|
|
26200
26216
|
}
|
|
@@ -29622,7 +29638,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
29622
29638
|
| io.flow.internal.v0.models.TrueupTransaction
|
|
29623
29639
|
| io.flow.internal.v0.models.CarrierChargeTransaction
|
|
29624
29640
|
| io.flow.internal.v0.models.NonL4LTaxDutyFxTransaction
|
|
29625
|
-
| io.flow.internal.v0.models.GeRevenueShareTransaction
|
|
29641
|
+
| io.flow.internal.v0.models.GeRevenueShareTransaction
|
|
29642
|
+
| io.flow.internal.v0.models.MerchantFeeTransaction;
|
|
29626
29643
|
type TransactionSummary =
|
|
29627
29644
|
| io.flow.internal.v0.models.PaymentSummaryV2
|
|
29628
29645
|
| io.flow.internal.v0.models.FraudSummary;
|
|
@@ -31136,6 +31153,10 @@ export type MerchantApplicationSummary =
|
|
|
31136
31153
|
io.flow.internal.v0.models.MerchantApplicationSummary;
|
|
31137
31154
|
export type MerchantDeleted = io.flow.internal.v0.models.MerchantDeleted;
|
|
31138
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;
|
|
31139
31160
|
export type MerchantFees = io.flow.internal.v0.models.MerchantFees;
|
|
31140
31161
|
export type MerchantGuidAssignment =
|
|
31141
31162
|
io.flow.internal.v0.models.MerchantGuidAssignment;
|
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'
|
|
@@ -7202,6 +7203,18 @@ declare namespace io.flow.v0.models {
|
|
|
7202
7203
|
readonly duty?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
7203
7204
|
}
|
|
7204
7205
|
|
|
7206
|
+
interface ConsumerInvoiceLineTip {
|
|
7207
|
+
readonly discriminator: 'tip';
|
|
7208
|
+
readonly price: io.flow.v0.models.Price;
|
|
7209
|
+
readonly tax?: io.flow.v0.models.ConsumerInvoiceLevy;
|
|
7210
|
+
}
|
|
7211
|
+
|
|
7212
|
+
interface ConsumerInvoiceLineTipForm {
|
|
7213
|
+
readonly discriminator: 'tip';
|
|
7214
|
+
readonly price: number;
|
|
7215
|
+
readonly tax?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
7216
|
+
}
|
|
7217
|
+
|
|
7205
7218
|
interface ConsumerInvoiceOrderSummary {
|
|
7206
7219
|
readonly id: string;
|
|
7207
7220
|
readonly number: string;
|
|
@@ -15372,11 +15385,13 @@ declare namespace io.flow.v0.unions {
|
|
|
15372
15385
|
type ConsumerInvoiceLine =
|
|
15373
15386
|
| io.flow.v0.models.ConsumerInvoiceLineItem
|
|
15374
15387
|
| io.flow.v0.models.ConsumerInvoiceLineDiscount
|
|
15375
|
-
| io.flow.v0.models.ConsumerInvoiceLineShipping
|
|
15388
|
+
| io.flow.v0.models.ConsumerInvoiceLineShipping
|
|
15389
|
+
| io.flow.v0.models.ConsumerInvoiceLineTip;
|
|
15376
15390
|
type ConsumerInvoiceLineForm =
|
|
15377
15391
|
| io.flow.v0.models.ConsumerInvoiceLineItemForm
|
|
15378
15392
|
| io.flow.v0.models.ConsumerInvoiceLineDiscountForm
|
|
15379
|
-
| io.flow.v0.models.ConsumerInvoiceLineShippingForm
|
|
15393
|
+
| io.flow.v0.models.ConsumerInvoiceLineShippingForm
|
|
15394
|
+
| io.flow.v0.models.ConsumerInvoiceLineTipForm;
|
|
15380
15395
|
type Delivery =
|
|
15381
15396
|
| io.flow.v0.models.DigitalDelivery
|
|
15382
15397
|
| io.flow.v0.models.PhysicalDelivery;
|
|
@@ -16315,6 +16330,9 @@ export type ConsumerInvoiceLineShipping =
|
|
|
16315
16330
|
io.flow.v0.models.ConsumerInvoiceLineShipping;
|
|
16316
16331
|
export type ConsumerInvoiceLineShippingForm =
|
|
16317
16332
|
io.flow.v0.models.ConsumerInvoiceLineShippingForm;
|
|
16333
|
+
export type ConsumerInvoiceLineTip = io.flow.v0.models.ConsumerInvoiceLineTip;
|
|
16334
|
+
export type ConsumerInvoiceLineTipForm =
|
|
16335
|
+
io.flow.v0.models.ConsumerInvoiceLineTipForm;
|
|
16318
16336
|
export type ConsumerInvoiceOrderSummary =
|
|
16319
16337
|
io.flow.v0.models.ConsumerInvoiceOrderSummary;
|
|
16320
16338
|
export type ConsumerInvoicePayment = io.flow.v0.models.ConsumerInvoicePayment;
|