@flowio/api-types 0.0.246 → 0.0.248
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/generated/io.flow.billing.v0.billing.d.ts +8 -1
- package/generated/io.flow.channel.internal.v0.channel-internal.d.ts +1 -0
- package/generated/io.flow.internal.v0.api-internal.d.ts +335 -62
- package/generated/io.flow.payment.v0.payment.d.ts +2 -3
- package/generated/io.flow.sellability.v0.sellability.d.ts +4 -2
- package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts +17 -1
- package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +6 -0
- package/generated/io.flow.tech.onboarding.playground.v0.tech-onboarding-playground.d.ts +54 -0
- package/generated/io.flow.v0.api.d.ts +47 -108
- package/package.json +2 -2
|
@@ -4,6 +4,7 @@ declare namespace io.flow.billing.v0.enums {
|
|
|
4
4
|
type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
|
|
5
5
|
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';
|
|
6
6
|
type StatementAttachmentType = 'csv';
|
|
7
|
+
type TaxDutyTransactionReasonCode = 'order_edit' | 'order_acceptance' | 'mixed_fulfilment_non_lvg' | 'lvg_refund' | 'order_cancellation_above_de_min' | 'wyol_shipment_above_de_min' | 'full_refund_without_shipment';
|
|
7
8
|
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' | 'ge_revenue_share';
|
|
8
9
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
|
|
9
10
|
type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
|
|
@@ -358,9 +359,15 @@ declare namespace io.flow.billing.v0.models {
|
|
|
358
359
|
|
|
359
360
|
interface TransactionMetadataShippingLabelCarrier {
|
|
360
361
|
readonly 'id': string;
|
|
362
|
+
readonly 'service_id'?: string;
|
|
361
363
|
readonly 'tracking_number': string;
|
|
362
364
|
}
|
|
363
365
|
|
|
366
|
+
interface TransactionMetadataTaxDuty {
|
|
367
|
+
readonly 'discriminator': 'transaction_tax_duty';
|
|
368
|
+
readonly 'reason_code': io.flow.billing.v0.enums.TaxDutyTransactionReasonCode;
|
|
369
|
+
}
|
|
370
|
+
|
|
364
371
|
interface TransactionMetadataTrueup {
|
|
365
372
|
readonly 'discriminator': 'trueup';
|
|
366
373
|
readonly 'original': io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
|
|
@@ -458,5 +465,5 @@ declare namespace io.flow.billing.v0.unions {
|
|
|
458
465
|
type BankAccountForm = (io.flow.billing.v0.models.BankAccountFormInfo | io.flow.billing.v0.models.BankAccountFormSimple);
|
|
459
466
|
type PayoutStatus = (io.flow.billing.v0.models.PayoutStatusScheduled | io.flow.billing.v0.models.PayoutStatusSent | io.flow.billing.v0.models.PayoutStatusFailed);
|
|
460
467
|
type Settlement = (io.flow.billing.v0.models.SettlementNoPayout | io.flow.billing.v0.models.SettlementPayout);
|
|
461
|
-
type TransactionMetadata = (io.flow.billing.v0.models.TransactionMetadataShippingLabel | io.flow.billing.v0.models.TransactionMetadataChannel | io.flow.billing.v0.models.TransactionMetadataTrueup | io.flow.billing.v0.models.TransactionMetadataTrueupBase | io.flow.billing.v0.models.TransactionMetadataTrueupSurcharge | io.flow.billing.v0.models.TransactionMetadataCarrierCharge | io.flow.billing.v0.models.TransactionMetadataManual | io.flow.billing.v0.models.TransactionMetadataFailedPayout | io.flow.billing.v0.models.TransactionMetadataPaymentTransaction);
|
|
468
|
+
type TransactionMetadata = (io.flow.billing.v0.models.TransactionMetadataShippingLabel | io.flow.billing.v0.models.TransactionMetadataChannel | io.flow.billing.v0.models.TransactionMetadataTrueup | io.flow.billing.v0.models.TransactionMetadataTrueupBase | io.flow.billing.v0.models.TransactionMetadataTrueupSurcharge | io.flow.billing.v0.models.TransactionMetadataCarrierCharge | io.flow.billing.v0.models.TransactionMetadataManual | io.flow.billing.v0.models.TransactionMetadataFailedPayout | io.flow.billing.v0.models.TransactionMetadataPaymentTransaction | io.flow.billing.v0.models.TransactionMetadataTaxDuty);
|
|
462
469
|
}
|
|
@@ -50,6 +50,7 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
50
50
|
readonly 'order_created_at'?: string;
|
|
51
51
|
readonly 'order_updated_at'?: string;
|
|
52
52
|
readonly 'order_edit_summary'?: io.flow.channel.internal.v0.models.OrderEditSummary;
|
|
53
|
+
readonly 'payment_source'?: io.flow.experience.v0.enums.OrderPaymentSourceType;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
interface ChannelOrderAcceptanceDetails {
|