@flowio/types 11.24.125 → 11.24.126

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.
@@ -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' | 'platform_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';
@@ -11849,6 +11849,7 @@ declare namespace io.flow.internal.v0.enums {
11849
11849
  type PaymentSummaryType = 'authorization' | 'capture' | 'refund' | 'reversal' | 'credit';
11850
11850
  type PaymentTerm = 'net7' | 'net15' | 'net30';
11851
11851
  type PendingRecordType = 'verification' | 'classification' | 'restriction';
11852
+ type PlatformFeeTransactionType = 'adjustment' | 'reversal' | 'fee';
11852
11853
  type PrateekItemType = 'physical' | 'digital';
11853
11854
  type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
11854
11855
  type PriceSelector = 'minimum' | 'maximum';
@@ -18630,6 +18631,18 @@ declare namespace io.flow.internal.v0.models {
18630
18631
  readonly minimum_amount_base: number;
18631
18632
  readonly rate: number;
18632
18633
  }
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
+ }
18633
18646
  interface PrateekItem {
18634
18647
  readonly id: string;
18635
18648
  readonly number: string;
@@ -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;
@@ -22239,7 +22253,7 @@ declare namespace io.flow.internal.v0.unions {
22239
22253
  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
22254
  type TaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount | io.flow.internal.v0.models.NoCalculatedTaxAmount;
22241
22255
  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;
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;
22243
22257
  type TransactionSummary = io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary;
22244
22258
  }
22245
22259
  export declare type Acceptance = io.flow.internal.v0.models.Acceptance;
@@ -23433,6 +23447,8 @@ export declare type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat
23433
23447
  export declare type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause;
23434
23448
  export declare type PlatformFeePercentage = io.flow.internal.v0.models.PlatformFeePercentage;
23435
23449
  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;
23436
23452
  export declare type PrateekItem = io.flow.internal.v0.models.PrateekItem;
23437
23453
  export declare type PrateekItemForm = io.flow.internal.v0.models.PrateekItemForm;
23438
23454
  export declare type PrateekItemType = io.flow.internal.v0.enums.PrateekItemType;
package/dist/api.d.ts CHANGED
@@ -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.125",
3
+ "version": "11.24.126",
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": "303d0c0519735bb00069173b130ffc2680e7f93b"
28
+ "gitHead": "5c6b5f5cb926cc945c9f4291efe22dedfde83355"
29
29
  }
@@ -16204,6 +16204,7 @@ declare namespace io.flow.internal.v0.enums {
16204
16204
  | 'tax_refund'
16205
16205
  | 'duty_refund'
16206
16206
  | 'ge_revenue_share'
16207
+ | 'platform_fee'
16207
16208
  | 'merchant_payout'
16208
16209
  | 'merchant_refund';
16209
16210
  type CalculatorEngine =
@@ -17003,6 +17004,7 @@ declare namespace io.flow.internal.v0.enums {
17003
17004
  | 'credit';
17004
17005
  type PaymentTerm = 'net7' | 'net15' | 'net30';
17005
17006
  type PendingRecordType = 'verification' | 'classification' | 'restriction';
17007
+ type PlatformFeeTransactionType = 'adjustment' | 'reversal' | 'fee';
17006
17008
  type PrateekItemType = 'physical' | 'digital';
17007
17009
  type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
17008
17010
  type PriceSelector = 'minimum' | 'maximum';
@@ -24920,6 +24922,19 @@ declare namespace io.flow.internal.v0.models {
24920
24922
  readonly rate: number;
24921
24923
  }
24922
24924
 
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
+
24923
24938
  interface PrateekItem {
24924
24939
  readonly id: string;
24925
24940
  readonly number: string;
@@ -26131,6 +26146,7 @@ declare namespace io.flow.internal.v0.models {
26131
26146
  readonly review: io.flow.internal.v0.models.RestrictionItemReview;
26132
26147
  readonly created_at: string;
26133
26148
  readonly updated_at: string;
26149
+ readonly channel?: string;
26134
26150
  }
26135
26151
 
26136
26152
  interface RestrictionItemRequestForm {
@@ -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.PlatformFeeTransaction;
29626
29643
  type TransactionSummary =
29627
29644
  | io.flow.internal.v0.models.PaymentSummaryV2
29628
29645
  | io.flow.internal.v0.models.FraudSummary;
@@ -31611,6 +31628,10 @@ export type PlatformFeePercentage =
31611
31628
  io.flow.internal.v0.models.PlatformFeePercentage;
31612
31629
  export type PlatformFeePercentageTier =
31613
31630
  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;
31614
31635
  export type PrateekItem = io.flow.internal.v0.models.PrateekItem;
31615
31636
  export type PrateekItemForm = io.flow.internal.v0.models.PrateekItemForm;
31616
31637
  export type PrateekItemType = io.flow.internal.v0.enums.PrateekItemType;
package/src/api.ts CHANGED
@@ -7202,6 +7202,18 @@ declare namespace io.flow.v0.models {
7202
7202
  readonly duty?: io.flow.v0.models.ConsumerInvoiceLevyForm;
7203
7203
  }
7204
7204
 
7205
+ interface ConsumerInvoiceLineTip {
7206
+ readonly discriminator: 'tip';
7207
+ readonly price: io.flow.v0.models.Price;
7208
+ readonly tax?: io.flow.v0.models.ConsumerInvoiceLevy;
7209
+ }
7210
+
7211
+ interface ConsumerInvoiceLineTipForm {
7212
+ readonly discriminator: 'tip';
7213
+ readonly price: number;
7214
+ readonly tax?: io.flow.v0.models.ConsumerInvoiceLevyForm;
7215
+ }
7216
+
7205
7217
  interface ConsumerInvoiceOrderSummary {
7206
7218
  readonly id: string;
7207
7219
  readonly number: string;
@@ -15372,11 +15384,13 @@ declare namespace io.flow.v0.unions {
15372
15384
  type ConsumerInvoiceLine =
15373
15385
  | io.flow.v0.models.ConsumerInvoiceLineItem
15374
15386
  | io.flow.v0.models.ConsumerInvoiceLineDiscount
15375
- | io.flow.v0.models.ConsumerInvoiceLineShipping;
15387
+ | io.flow.v0.models.ConsumerInvoiceLineShipping
15388
+ | io.flow.v0.models.ConsumerInvoiceLineTip;
15376
15389
  type ConsumerInvoiceLineForm =
15377
15390
  | io.flow.v0.models.ConsumerInvoiceLineItemForm
15378
15391
  | io.flow.v0.models.ConsumerInvoiceLineDiscountForm
15379
- | io.flow.v0.models.ConsumerInvoiceLineShippingForm;
15392
+ | io.flow.v0.models.ConsumerInvoiceLineShippingForm
15393
+ | io.flow.v0.models.ConsumerInvoiceLineTipForm;
15380
15394
  type Delivery =
15381
15395
  | io.flow.v0.models.DigitalDelivery
15382
15396
  | io.flow.v0.models.PhysicalDelivery;
@@ -16315,6 +16329,9 @@ export type ConsumerInvoiceLineShipping =
16315
16329
  io.flow.v0.models.ConsumerInvoiceLineShipping;
16316
16330
  export type ConsumerInvoiceLineShippingForm =
16317
16331
  io.flow.v0.models.ConsumerInvoiceLineShippingForm;
16332
+ export type ConsumerInvoiceLineTip = io.flow.v0.models.ConsumerInvoiceLineTip;
16333
+ export type ConsumerInvoiceLineTipForm =
16334
+ io.flow.v0.models.ConsumerInvoiceLineTipForm;
16318
16335
  export type ConsumerInvoiceOrderSummary =
16319
16336
  io.flow.v0.models.ConsumerInvoiceOrderSummary;
16320
16337
  export type ConsumerInvoicePayment = io.flow.v0.models.ConsumerInvoicePayment;