@flowio/api-types 0.0.263 → 0.0.266
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.ben.test.internal.v0.ben-test-internal.d.ts +6 -0
- package/generated/io.flow.billing.bank.account.v0.billing-bank-account.d.ts +3 -7
- package/generated/io.flow.billing.v0.billing.d.ts +18 -5
- package/generated/io.flow.common.v0.common.d.ts +3 -2
- package/generated/io.flow.consumer.invoice.v0.consumer-invoice.d.ts +1 -0
- package/generated/io.flow.harmonization.v0.harmonization.d.ts +12 -0
- package/generated/io.flow.internal.v0.api-internal.d.ts +339 -289
- package/generated/io.flow.inventory.v0.inventory.d.ts +1 -1
- package/generated/io.flow.label.v0.label.d.ts +1 -1
- package/generated/io.flow.merchant.onboarding.v0.merchant-onboarding.d.ts +1 -2
- package/generated/io.flow.order.price.v0.order-price.d.ts +1 -1
- package/generated/io.flow.ratecard.v0.ratecard.d.ts +7 -1
- package/generated/io.flow.restrictions.v0.restrictions.d.ts +4 -0
- package/generated/io.flow.sellability.v0.sellability.d.ts +4 -1
- package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +1 -0
- package/generated/io.flow.tech.onboarding.playground.v0.tech-onboarding-playground.d.ts +62 -0
- package/generated/io.flow.v0.api.d.ts +136 -14
- package/index.d.ts +1 -0
- package/package.json +2 -3
|
@@ -5,6 +5,12 @@ declare namespace io.flow.ben.test.internal.v0.models {
|
|
|
5
5
|
readonly 'num_events': number;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
interface GenerateLoadRate {
|
|
9
|
+
readonly 'organization_ids': string[];
|
|
10
|
+
readonly 'events_per_second': number;
|
|
11
|
+
readonly 'duration_seconds': number;
|
|
12
|
+
}
|
|
13
|
+
|
|
8
14
|
interface GenerateLoadSingleOrg {
|
|
9
15
|
readonly 'discriminator': 'generate_load_single_org';
|
|
10
16
|
readonly 'organization_id': string;
|
|
@@ -25,14 +25,10 @@ declare namespace io.flow.billing.bank.account.v0.models {
|
|
|
25
25
|
|
|
26
26
|
interface BankAccountInfoKor {
|
|
27
27
|
readonly 'discriminator': 'kor';
|
|
28
|
-
readonly 'name'
|
|
29
|
-
readonly 'address'?: io.flow.common.v0.models.Address;
|
|
30
|
-
readonly 'phone'?: string;
|
|
31
|
-
readonly 'email'?: string;
|
|
28
|
+
readonly 'name': string;
|
|
32
29
|
readonly 'bank_account_number': string;
|
|
33
|
-
readonly 'bank_routing_number'
|
|
34
|
-
readonly 'bank_name'
|
|
35
|
-
readonly 'bank_address'?: io.flow.common.v0.models.Address;
|
|
30
|
+
readonly 'bank_routing_number': string;
|
|
31
|
+
readonly 'bank_name': string;
|
|
36
32
|
}
|
|
37
33
|
|
|
38
34
|
interface BankAccountInfoUsa {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
declare namespace io.flow.billing.v0.enums {
|
|
2
|
-
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'tax' | 'duty' | 'tax_and_duty' | 'product' | 'tax_and_duty_fx_diff' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee' | 'sp';
|
|
2
|
+
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'tax' | 'duty' | 'tax_and_duty' | 'product' | 'tax_and_duty_fx_diff' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee' | 'sp' | 'rev_share';
|
|
3
3
|
type PayoutAttachmentType = 'transactions';
|
|
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' | 'pdf';
|
|
7
7
|
type StatementStatusCode = 'scheduled' | 'sent' | 'failed';
|
|
8
|
-
type TaxDutyTransactionReasonCode = 'post_capture' | 'post_fulfilment' | 'manual_payment_or_gift_card' | 'order_edit' | 'mixed_fulfilment_non_lvg' | 'lvg_refund' | 'us_inbound_tax_refund' | 'order_cancellation_above_de_min' | 'wyol_shipment_above_de_min' | 'full_refund_without_shipment' | 'unfulfilled_order_above_de_min';
|
|
9
|
-
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' | 'b2b_tax' | 'b2b_tax_refund';
|
|
8
|
+
type TaxDutyTransactionReasonCode = 'post_capture' | 'post_fulfilment' | 'manual_payment_or_gift_card' | 'order_edit' | 'mixed_fulfilment_non_lvg' | 'lvg_refund' | 'us_inbound_tax_refund' | 'order_cancellation_above_de_min' | 'wyol_shipment_above_de_min' | 'full_refund_without_shipment' | 'unfulfilled_order_above_de_min' | 'order_cancellation_without_capture';
|
|
9
|
+
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' | 'b2b_tax' | 'b2b_tax_refund' | 'b2b_fee_mor_tax' | 'b2b_fee_shipping_tax';
|
|
10
10
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups' | 'fedex';
|
|
11
11
|
type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
|
|
12
12
|
}
|
|
@@ -300,7 +300,7 @@ declare namespace io.flow.billing.v0.models {
|
|
|
300
300
|
readonly 'label_created_at': string;
|
|
301
301
|
readonly 'carrier_id': string;
|
|
302
302
|
readonly 'carrier_tracking_number': string;
|
|
303
|
-
readonly 'revenue_share_percentage'
|
|
303
|
+
readonly 'revenue_share_percentage'?: number;
|
|
304
304
|
readonly 'outbound'?: io.flow.billing.v0.models.TransactionMetadataOutboundTransaction;
|
|
305
305
|
}
|
|
306
306
|
|
|
@@ -340,6 +340,19 @@ declare namespace io.flow.billing.v0.models {
|
|
|
340
340
|
readonly 'description': string;
|
|
341
341
|
readonly 'original'?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
|
|
342
342
|
readonly 'url'?: string;
|
|
343
|
+
readonly 'recoup'?: boolean;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
interface TransactionMetadataMerchantFee {
|
|
347
|
+
readonly 'discriminator': 'merchant_fee';
|
|
348
|
+
readonly 'items': io.flow.billing.v0.models.TransactionMetadataMerchantFeeItem[];
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
interface TransactionMetadataMerchantFeeItem {
|
|
352
|
+
readonly 'type': string;
|
|
353
|
+
readonly 'amount': number;
|
|
354
|
+
readonly 'local_amount'?: number;
|
|
355
|
+
readonly 'description'?: string;
|
|
343
356
|
}
|
|
344
357
|
|
|
345
358
|
interface TransactionMetadataOriginalTransaction {
|
|
@@ -490,5 +503,5 @@ declare namespace io.flow.billing.v0.unions {
|
|
|
490
503
|
type BankAccountForm = (io.flow.billing.v0.models.BankAccountFormInfo | io.flow.billing.v0.models.BankAccountFormSimple);
|
|
491
504
|
type PayoutStatus = (io.flow.billing.v0.models.PayoutStatusScheduled | io.flow.billing.v0.models.PayoutStatusSent | io.flow.billing.v0.models.PayoutStatusFailed);
|
|
492
505
|
type Settlement = (io.flow.billing.v0.models.SettlementNoPayout | io.flow.billing.v0.models.SettlementPayout);
|
|
493
|
-
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);
|
|
506
|
+
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 | io.flow.billing.v0.models.TransactionMetadataMerchantFee);
|
|
494
507
|
}
|
|
@@ -113,7 +113,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
113
113
|
|
|
114
114
|
interface DiscountForm {
|
|
115
115
|
readonly 'offer': io.flow.common.v0.unions.DiscountOffer;
|
|
116
|
-
readonly 'target'
|
|
116
|
+
readonly 'target': io.flow.common.v0.enums.DiscountTarget;
|
|
117
117
|
readonly 'label'?: string;
|
|
118
118
|
}
|
|
119
119
|
|
|
@@ -205,6 +205,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
205
205
|
interface LineItemForm {
|
|
206
206
|
readonly 'number': string;
|
|
207
207
|
readonly 'quantity': number;
|
|
208
|
+
readonly 'line_item_identifier'?: string;
|
|
208
209
|
readonly 'shipment_estimate'?: io.flow.common.v0.models.DatetimeRange;
|
|
209
210
|
readonly 'price'?: io.flow.common.v0.models.Money;
|
|
210
211
|
readonly 'attributes'?: Record<string, string>;
|
|
@@ -314,7 +315,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
314
315
|
readonly 'parent'?: io.flow.common.v0.models.OrganizationReference;
|
|
315
316
|
readonly 'defaults'?: io.flow.common.v0.models.OrganizationDefaults;
|
|
316
317
|
readonly 'created_at'?: string;
|
|
317
|
-
readonly 'status'
|
|
318
|
+
readonly 'status': io.flow.common.v0.enums.OrganizationStatus;
|
|
318
319
|
readonly 'type'?: io.flow.common.v0.enums.OrganizationType;
|
|
319
320
|
}
|
|
320
321
|
|
|
@@ -25,6 +25,7 @@ declare namespace io.flow.consumer.invoice.v0.models {
|
|
|
25
25
|
readonly 'b2b_invoice_type': io.flow.consumer.invoice.v0.enums.B2BInvoiceType;
|
|
26
26
|
readonly 'center'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference;
|
|
27
27
|
readonly 'order'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary;
|
|
28
|
+
readonly 'voids_b2b_invoice'?: boolean;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
interface B2BInvoice {
|
|
@@ -20,6 +20,11 @@ declare namespace io.flow.harmonization.v0.models {
|
|
|
20
20
|
readonly 'company_name_match_result_reason'?: string;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
interface HarmonizationTariffCode {
|
|
24
|
+
readonly 'tariff_code': string;
|
|
25
|
+
readonly 'destination': string;
|
|
26
|
+
}
|
|
27
|
+
|
|
23
28
|
interface HarmonizedCategoryReference {
|
|
24
29
|
readonly 'id': string;
|
|
25
30
|
}
|
|
@@ -115,6 +120,13 @@ declare namespace io.flow.harmonization.v0.models {
|
|
|
115
120
|
readonly 'tax': io.flow.price.v0.models.Tax;
|
|
116
121
|
}
|
|
117
122
|
|
|
123
|
+
interface TariffCodes {
|
|
124
|
+
readonly 'item_number': string;
|
|
125
|
+
readonly 'product_id': string;
|
|
126
|
+
readonly 'hs6_code': string;
|
|
127
|
+
readonly 'codes': io.flow.harmonization.v0.models.HarmonizationTariffCode[];
|
|
128
|
+
}
|
|
129
|
+
|
|
118
130
|
interface TaxRegistration {
|
|
119
131
|
readonly 'id': string;
|
|
120
132
|
readonly 'key': string;
|