@flowio/api-types 0.0.239 → 0.0.241
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.external.paypal.v1.paypal.d.ts +28 -0
- package/generated/io.flow.internal.v0.api-internal.d.ts +290 -19
- package/generated/io.flow.product.v0.product.d.ts +21 -0
- package/generated/io.flow.ratecard.v0.ratecard.d.ts +2 -0
- package/generated/io.flow.sellability.v0.sellability.d.ts +33 -0
- package/generated/io.flow.shopify.external.v0.shopify-external.d.ts +13 -0
- package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +1 -1
- package/generated/io.flow.tech.onboarding.playground.v0.tech-onboarding-playground.d.ts +56 -0
- package/generated/io.flow.tracking.v0.tracking.d.ts +1 -0
- package/generated/io.flow.v0.api.d.ts +132 -44
- package/index.d.ts +3 -1
- package/package.json +2 -2
- package/generated/io.flow.flexe.v0.flexe.d.ts +0 -297
|
@@ -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' | 'order_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
|
}
|
|
@@ -28,6 +28,9 @@ declare namespace io.flow.external.paypal.v1.enums {
|
|
|
28
28
|
type PaymentPattern = 'CUSTOMER_PRESENT_ONETIME_PURCHASE' | 'CUSTOMER_NOT_PRESENT_RECURRING' | 'CUSTOMER_PRESENT_RECURRING_FIRST' | 'CUSTOMER_PRESENT_ONETIME_PURCHASE_VAULTED' | 'CUSTOMER_NOT_PRESENT_ONETIME_PURCHASE_VAULTED';
|
|
29
29
|
type ProductReceived = 'YES' | 'NO' | 'RETURNED';
|
|
30
30
|
type RefundState = 'pending' | 'completed' | 'cancelled' | 'failed';
|
|
31
|
+
type ReportingBalanceAffectingRecordsOnly = 'Y' | 'N';
|
|
32
|
+
type ReportingTransactionField = 'transaction_info' | 'payer_info' | 'shipping_info' | 'auction_info' | 'cart_info' | 'incentive_info' | 'store_info';
|
|
33
|
+
type ReportingTransactionStatus = 'D' | 'P' | 'S' | 'V';
|
|
31
34
|
type ReturnAcknowledgementType = 'ITEM_RECEIVED' | 'ITEM_NOT_RECEIVED' | 'DAMAGED' | 'EMPTY_PACKAGE_OR_DIFFERENT' | 'MISSING_ITEMS';
|
|
32
35
|
type ReturnMode = 'SHIPPED' | 'IN_PERSON';
|
|
33
36
|
type SaleState = 'pending' | 'completed' | 'denied' | 'partially_refunded' | 'refunded';
|
|
@@ -424,6 +427,31 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
424
427
|
readonly 'invoice_number': string;
|
|
425
428
|
}
|
|
426
429
|
|
|
430
|
+
interface ReportingTransaction {
|
|
431
|
+
readonly 'transaction_details': io.flow.external.paypal.v1.models.ReportingTransactionDetails[];
|
|
432
|
+
readonly 'links': io.flow.external.paypal.v1.models.Link[];
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
interface ReportingTransactionDetails {
|
|
436
|
+
readonly 'transaction_info': io.flow.external.paypal.v1.models.ReportingTransactionInfo;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
interface ReportingTransactionInfo {
|
|
440
|
+
readonly 'paypal_account_id'?: string;
|
|
441
|
+
readonly 'transaction_id'?: string;
|
|
442
|
+
readonly 'paypal_reference_id'?: string;
|
|
443
|
+
readonly 'paypal_reference_id_type'?: string;
|
|
444
|
+
readonly 'transaction_event_code': string;
|
|
445
|
+
readonly 'transaction_initiation_date': string;
|
|
446
|
+
readonly 'transaction_updated_date': string;
|
|
447
|
+
readonly 'transaction_status': io.flow.external.paypal.v1.enums.ReportingTransactionStatus;
|
|
448
|
+
readonly 'transaction_subject'?: string;
|
|
449
|
+
readonly 'invoice_id': string;
|
|
450
|
+
readonly 'custom_field'?: string;
|
|
451
|
+
readonly 'protection_eligibility'?: string;
|
|
452
|
+
readonly 'instrument_type'?: string;
|
|
453
|
+
}
|
|
454
|
+
|
|
427
455
|
interface ReturnDetails {
|
|
428
456
|
readonly 'return_time'?: string;
|
|
429
457
|
readonly 'mode'?: io.flow.external.paypal.v1.enums.ReturnMode;
|