@flowio/api-types 0.0.241 → 0.0.243
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 +1 -1
- package/generated/io.flow.experience.v0.experience.d.ts +4 -0
- package/generated/io.flow.external.paypal.v1.paypal.d.ts +1 -1
- package/generated/io.flow.internal.v0.api-internal.d.ts +83 -678
- package/generated/io.flow.label.v0.label.d.ts +11 -0
- package/generated/io.flow.payment.v0.payment.d.ts +13 -0
- package/generated/io.flow.sellability.v0.sellability.d.ts +11 -5
- package/generated/io.flow.shopify.external.v0.shopify-external.d.ts +25 -0
- package/generated/io.flow.stripe.v0.stripe.d.ts +80 -1
- package/generated/io.flow.tech.onboarding.playground.v0.tech-onboarding-playground.d.ts +0 -7
- package/generated/io.flow.tracking.v0.tracking.d.ts +1 -1
- package/generated/io.flow.v0.api.d.ts +102 -180
- package/index.d.ts +0 -1
- package/package.json +2 -2
- package/generated/io.flow.checkout.v0.checkout.d.ts +0 -46
|
@@ -4,7 +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 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' | '
|
|
7
|
+
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' | 'non_l4l_tax_duty_fx' | 'ge_revenue_share' | 'tax_duty_delta';
|
|
8
8
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
|
|
9
9
|
type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
|
|
10
10
|
}
|
|
@@ -10,6 +10,7 @@ declare namespace io.flow.experience.v0.enums {
|
|
|
10
10
|
type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
|
|
11
11
|
type IncotermConfiguration = 'DDP' | 'DAP' | 'DDU' | 'UNSUPPORTED';
|
|
12
12
|
type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
|
|
13
|
+
type OrderPaymentSourceType = 'globale' | 'third_party';
|
|
13
14
|
type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
|
|
14
15
|
type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
|
|
15
16
|
type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
|
|
@@ -631,6 +632,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
631
632
|
readonly 'device_details'?: io.flow.payment.v0.unions.DeviceDetails;
|
|
632
633
|
readonly 'destination_contact_details'?: io.flow.experience.v0.models.DestinationContactDetail[];
|
|
633
634
|
readonly 'incoterm_summary'?: io.flow.experience.v0.models.IncotermSummary;
|
|
635
|
+
readonly 'payment_source'?: io.flow.experience.v0.enums.OrderPaymentSourceType;
|
|
634
636
|
}
|
|
635
637
|
|
|
636
638
|
interface OrderAddress {
|
|
@@ -720,6 +722,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
720
722
|
readonly 'authorization_keys'?: string[];
|
|
721
723
|
readonly 'options'?: io.flow.experience.v0.models.OrderOptions;
|
|
722
724
|
readonly 'device_details'?: io.flow.payment.v0.unions.DeviceDetails;
|
|
725
|
+
readonly 'payment_source'?: io.flow.experience.v0.enums.OrderPaymentSourceType;
|
|
723
726
|
}
|
|
724
727
|
|
|
725
728
|
interface OrderGeo {
|
|
@@ -831,6 +834,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
831
834
|
readonly 'authorization_keys'?: string[];
|
|
832
835
|
readonly 'options'?: io.flow.experience.v0.models.OrderOptions;
|
|
833
836
|
readonly 'device_details'?: io.flow.payment.v0.unions.DeviceDetails;
|
|
837
|
+
readonly 'payment_source'?: io.flow.experience.v0.enums.OrderPaymentSourceType;
|
|
834
838
|
}
|
|
835
839
|
|
|
836
840
|
interface OrderReference {
|
|
@@ -446,7 +446,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
446
446
|
readonly 'transaction_updated_date': string;
|
|
447
447
|
readonly 'transaction_status': io.flow.external.paypal.v1.enums.ReportingTransactionStatus;
|
|
448
448
|
readonly 'transaction_subject'?: string;
|
|
449
|
-
readonly 'invoice_id'
|
|
449
|
+
readonly 'invoice_id'?: string;
|
|
450
450
|
readonly 'custom_field'?: string;
|
|
451
451
|
readonly 'protection_eligibility'?: string;
|
|
452
452
|
readonly 'instrument_type'?: string;
|