@flowio/types 9.1.1 → 9.1.3
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/dist/api-internal.d.ts +7 -21
- package/package.json +2 -2
- package/src/api-internal.ts +5 -24
package/dist/api-internal.d.ts
CHANGED
|
@@ -10185,7 +10185,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10185
10185
|
type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
|
|
10186
10186
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
10187
10187
|
type EmptyAttribute = 'irrelevant';
|
|
10188
|
-
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'master_transaction_upserted' | 'master_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_quote_upserted' | 'pregenerated_quote_deleted' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | '
|
|
10188
|
+
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'master_transaction_upserted' | 'master_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_quote_upserted' | 'pregenerated_quote_deleted' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'import_completed' | 'import_failed' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'batch_rate_refill_request' | 'rate_refill_request' | 'resync_by_hs6_destinations' | 'resync_by_destinations' | 'resync_fallback_rates' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
|
|
10189
10189
|
type ExperienceImportType = 'experience_with_settings';
|
|
10190
10190
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
10191
10191
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
@@ -10205,7 +10205,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10205
10205
|
type IncomingFeedFormat = 'google-xml' | 'google-sheet';
|
|
10206
10206
|
type IncomingFieldName = 'id' | 'mpn';
|
|
10207
10207
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
10208
|
-
type ItemClassificationStatus = '
|
|
10208
|
+
type ItemClassificationStatus = 'ignored' | 'escalated';
|
|
10209
10209
|
type ItemQuantityAction = 'fulfillment_ship' | 'fulfillment_cancel' | 'fulfillment_generate_label';
|
|
10210
10210
|
type ItemType = 'standard' | 'multi_product';
|
|
10211
10211
|
type LabelBillingStrategy = 'quote' | 'carrier';
|
|
@@ -10231,7 +10231,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10231
10231
|
type PriceSelector = 'minimum' | 'maximum';
|
|
10232
10232
|
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
|
|
10233
10233
|
type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
|
|
10234
|
-
type ProductClassificationAction = 'ACCEPT' | 'MANUAL';
|
|
10235
10234
|
type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
|
|
10236
10235
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
10237
10236
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
@@ -10259,7 +10258,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10259
10258
|
type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
10260
10259
|
type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
|
|
10261
10260
|
type TransferMethod = 'ach';
|
|
10262
|
-
type UnclassifiedProductStatus = 'ignored' | 'escalated';
|
|
10263
10261
|
}
|
|
10264
10262
|
declare namespace io.flow.internal.v0.models {
|
|
10265
10263
|
interface Account {
|
|
@@ -11282,7 +11280,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11282
11280
|
readonly number: string;
|
|
11283
11281
|
readonly name: string;
|
|
11284
11282
|
readonly description: string;
|
|
11285
|
-
readonly status
|
|
11283
|
+
readonly status?: io.flow.internal.v0.enums.ItemClassificationStatus;
|
|
11286
11284
|
readonly customs_description_suggestions: io.flow.internal.v0.models.CustomsDescriptionSuggestion[];
|
|
11287
11285
|
}
|
|
11288
11286
|
interface ClassificationProduct {
|
|
@@ -11303,7 +11301,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11303
11301
|
readonly product_id: string;
|
|
11304
11302
|
readonly organization_id: string;
|
|
11305
11303
|
readonly description: string;
|
|
11306
|
-
readonly status
|
|
11304
|
+
readonly status?: io.flow.internal.v0.enums.ItemClassificationStatus;
|
|
11307
11305
|
readonly suggestion_count: number;
|
|
11308
11306
|
}
|
|
11309
11307
|
interface ClassificationProductSummaryPage {
|
|
@@ -11511,7 +11509,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11511
11509
|
readonly order_entitlement_forms: io.flow.internal.v0.models.DiscountRequestOrderEntitlementForm[];
|
|
11512
11510
|
}
|
|
11513
11511
|
interface DutiedItemsExport {
|
|
11514
|
-
readonly discriminator: 'dutied_items_export';
|
|
11515
11512
|
readonly event_id: string;
|
|
11516
11513
|
readonly timestamp: string;
|
|
11517
11514
|
readonly organization: string;
|
|
@@ -12611,14 +12608,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12611
12608
|
readonly construction: Record<string, number>;
|
|
12612
12609
|
readonly product_type: Record<string, number>;
|
|
12613
12610
|
}
|
|
12614
|
-
interface LandedCostExport {
|
|
12615
|
-
readonly discriminator: 'landed_cost_export';
|
|
12616
|
-
readonly event_id: string;
|
|
12617
|
-
readonly timestamp: string;
|
|
12618
|
-
readonly organization: string;
|
|
12619
|
-
readonly export_id: string;
|
|
12620
|
-
readonly items: io.flow.internal.v0.models.LandedCostItem[];
|
|
12621
|
-
}
|
|
12622
12611
|
interface LandedCostItem {
|
|
12623
12612
|
readonly number: string;
|
|
12624
12613
|
readonly origin: string;
|
|
@@ -13809,9 +13798,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13809
13798
|
readonly next_id?: io.flow.internal.v0.models.ClassificationProductId;
|
|
13810
13799
|
}
|
|
13811
13800
|
interface ProductClassificationForm {
|
|
13801
|
+
readonly initial_customs_description?: string;
|
|
13812
13802
|
readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonization;
|
|
13813
13803
|
readonly model_version: string;
|
|
13814
|
-
readonly action: io.flow.internal.v0.enums.ProductClassificationAction;
|
|
13815
13804
|
}
|
|
13816
13805
|
interface ProductClassificationJudgementForm {
|
|
13817
13806
|
readonly organization_id: string;
|
|
@@ -14806,7 +14795,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14806
14795
|
interface UnclassifiedProductsForm {
|
|
14807
14796
|
readonly organization_id: string;
|
|
14808
14797
|
readonly product_id: string;
|
|
14809
|
-
readonly status?: io.flow.internal.v0.enums.
|
|
14798
|
+
readonly status?: io.flow.internal.v0.enums.ItemClassificationStatus;
|
|
14810
14799
|
}
|
|
14811
14800
|
interface UnharmonizedItemsExport {
|
|
14812
14801
|
readonly discriminator: 'unharmonized_items_export';
|
|
@@ -14891,7 +14880,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
14891
14880
|
type ContentItem = io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.Label | io.flow.internal.v0.models.Load;
|
|
14892
14881
|
type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
14893
14882
|
type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
|
|
14894
|
-
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MasterTransactionUpserted | io.flow.internal.v0.models.MasterTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedQuoteUpserted | io.flow.internal.v0.models.PregeneratedQuoteDeleted | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.BlacklistedItemCreated | io.flow.internal.v0.models.BlacklistedItemUpdated | io.flow.internal.v0.models.BlacklistedItemDeleted | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.
|
|
14883
|
+
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MasterTransactionUpserted | io.flow.internal.v0.models.MasterTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedQuoteUpserted | io.flow.internal.v0.models.PregeneratedQuoteDeleted | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.BlacklistedItemCreated | io.flow.internal.v0.models.BlacklistedItemUpdated | io.flow.internal.v0.models.BlacklistedItemDeleted | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.CustomsDescriptionSugestionCreated | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.BatchRateRefillRequest | io.flow.internal.v0.models.RateRefillRequest | io.flow.internal.v0.models.ResyncByHs6Destinations | io.flow.internal.v0.models.ResyncByDestinations | io.flow.internal.v0.models.ResyncFallbackRates | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
|
|
14895
14884
|
type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
|
|
14896
14885
|
type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
14897
14886
|
type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
@@ -15389,7 +15378,6 @@ export declare type LabelSummary = io.flow.internal.v0.models.LabelSummary;
|
|
|
15389
15378
|
export declare type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
|
|
15390
15379
|
export declare type LabeledContent = io.flow.internal.v0.models.LabeledContent;
|
|
15391
15380
|
export declare type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
|
|
15392
|
-
export declare type LandedCostExport = io.flow.internal.v0.models.LandedCostExport;
|
|
15393
15381
|
export declare type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
|
|
15394
15382
|
export declare type Landmark = io.flow.internal.v0.models.Landmark;
|
|
15395
15383
|
export declare type Levies = io.flow.internal.v0.models.Levies;
|
|
@@ -15612,7 +15600,6 @@ export declare type ProcessingTransactionType = io.flow.internal.v0.enums.Proces
|
|
|
15612
15600
|
export declare type ProcessingTransactionUpserted = io.flow.internal.v0.models.ProcessingTransactionUpserted;
|
|
15613
15601
|
export declare type Processor = io.flow.internal.v0.enums.Processor;
|
|
15614
15602
|
export declare type ProductClassification = io.flow.internal.v0.models.ProductClassification;
|
|
15615
|
-
export declare type ProductClassificationAction = io.flow.internal.v0.enums.ProductClassificationAction;
|
|
15616
15603
|
export declare type ProductClassificationForm = io.flow.internal.v0.models.ProductClassificationForm;
|
|
15617
15604
|
export declare type ProductClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationJudgementForm;
|
|
15618
15605
|
export declare type ProductClassificationResult = io.flow.internal.v0.models.ProductClassificationResult;
|
|
@@ -15810,7 +15797,6 @@ export declare type TransferTransaction = io.flow.internal.v0.models.TransferTra
|
|
|
15810
15797
|
export declare type TransferTransactionDeleted = io.flow.internal.v0.models.TransferTransactionDeleted;
|
|
15811
15798
|
export declare type TransferTransactionUpserted = io.flow.internal.v0.models.TransferTransactionUpserted;
|
|
15812
15799
|
export declare type Tribe = io.flow.internal.v0.models.Tribe;
|
|
15813
|
-
export declare type UnclassifiedProductStatus = io.flow.internal.v0.enums.UnclassifiedProductStatus;
|
|
15814
15800
|
export declare type UnclassifiedProductsForm = io.flow.internal.v0.models.UnclassifiedProductsForm;
|
|
15815
15801
|
export declare type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport;
|
|
15816
15802
|
export declare type UnphrasedProductsExport = io.flow.internal.v0.models.UnphrasedProductsExport;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.3",
|
|
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",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"prettier": "^1.18.2",
|
|
28
28
|
"typescript": "^3.6.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "30131101753d93459ca9ba8c259c95a06aa11698"
|
|
31
31
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -12926,8 +12926,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12926
12926
|
| 'all_items_export'
|
|
12927
12927
|
| 'harmonized_items_hs6_export'
|
|
12928
12928
|
| 'unharmonized_items_export'
|
|
12929
|
-
| 'dutied_items_export'
|
|
12930
|
-
| 'landed_cost_export'
|
|
12931
12929
|
| 'harmonization_phrase_suggestion_request_import'
|
|
12932
12930
|
| 'harmonization_codes_import'
|
|
12933
12931
|
| 'customs_description_sugestion_created'
|
|
@@ -13029,7 +13027,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13029
13027
|
type IncomingFeedFormat = 'google-xml' | 'google-sheet';
|
|
13030
13028
|
type IncomingFieldName = 'id' | 'mpn';
|
|
13031
13029
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
13032
|
-
type ItemClassificationStatus = '
|
|
13030
|
+
type ItemClassificationStatus = 'ignored' | 'escalated';
|
|
13033
13031
|
type ItemQuantityAction =
|
|
13034
13032
|
| 'fulfillment_ship'
|
|
13035
13033
|
| 'fulfillment_cancel'
|
|
@@ -13124,7 +13122,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13124
13122
|
| 'flow_sandbox'
|
|
13125
13123
|
| 'fiserv'
|
|
13126
13124
|
| 'crypto';
|
|
13127
|
-
type ProductClassificationAction = 'ACCEPT' | 'MANUAL';
|
|
13128
13125
|
type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
|
|
13129
13126
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
13130
13127
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
@@ -13163,7 +13160,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13163
13160
|
type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
13164
13161
|
type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
|
|
13165
13162
|
type TransferMethod = 'ach';
|
|
13166
|
-
type UnclassifiedProductStatus = 'ignored' | 'escalated';
|
|
13167
13163
|
}
|
|
13168
13164
|
|
|
13169
13165
|
declare namespace io.flow.internal.v0.models {
|
|
@@ -14351,7 +14347,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14351
14347
|
readonly number: string;
|
|
14352
14348
|
readonly name: string;
|
|
14353
14349
|
readonly description: string;
|
|
14354
|
-
readonly status
|
|
14350
|
+
readonly status?: io.flow.internal.v0.enums.ItemClassificationStatus;
|
|
14355
14351
|
readonly customs_description_suggestions: io.flow.internal.v0.models.CustomsDescriptionSuggestion[];
|
|
14356
14352
|
}
|
|
14357
14353
|
|
|
@@ -14375,7 +14371,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14375
14371
|
readonly product_id: string;
|
|
14376
14372
|
readonly organization_id: string;
|
|
14377
14373
|
readonly description: string;
|
|
14378
|
-
readonly status
|
|
14374
|
+
readonly status?: io.flow.internal.v0.enums.ItemClassificationStatus;
|
|
14379
14375
|
readonly suggestion_count: number;
|
|
14380
14376
|
}
|
|
14381
14377
|
|
|
@@ -14632,7 +14628,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14632
14628
|
}
|
|
14633
14629
|
|
|
14634
14630
|
interface DutiedItemsExport {
|
|
14635
|
-
readonly discriminator: 'dutied_items_export';
|
|
14636
14631
|
readonly event_id: string;
|
|
14637
14632
|
readonly timestamp: string;
|
|
14638
14633
|
readonly organization: string;
|
|
@@ -15913,15 +15908,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15913
15908
|
readonly product_type: Record<string, number>;
|
|
15914
15909
|
}
|
|
15915
15910
|
|
|
15916
|
-
interface LandedCostExport {
|
|
15917
|
-
readonly discriminator: 'landed_cost_export';
|
|
15918
|
-
readonly event_id: string;
|
|
15919
|
-
readonly timestamp: string;
|
|
15920
|
-
readonly organization: string;
|
|
15921
|
-
readonly export_id: string;
|
|
15922
|
-
readonly items: io.flow.internal.v0.models.LandedCostItem[];
|
|
15923
|
-
}
|
|
15924
|
-
|
|
15925
15911
|
interface LandedCostItem {
|
|
15926
15912
|
readonly number: string;
|
|
15927
15913
|
readonly origin: string;
|
|
@@ -17301,9 +17287,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17301
17287
|
}
|
|
17302
17288
|
|
|
17303
17289
|
interface ProductClassificationForm {
|
|
17290
|
+
readonly initial_customs_description?: string;
|
|
17304
17291
|
readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonization;
|
|
17305
17292
|
readonly model_version: string;
|
|
17306
|
-
readonly action: io.flow.internal.v0.enums.ProductClassificationAction;
|
|
17307
17293
|
}
|
|
17308
17294
|
|
|
17309
17295
|
interface ProductClassificationJudgementForm {
|
|
@@ -18459,7 +18445,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18459
18445
|
interface UnclassifiedProductsForm {
|
|
18460
18446
|
readonly organization_id: string;
|
|
18461
18447
|
readonly product_id: string;
|
|
18462
|
-
readonly status?: io.flow.internal.v0.enums.
|
|
18448
|
+
readonly status?: io.flow.internal.v0.enums.ItemClassificationStatus;
|
|
18463
18449
|
}
|
|
18464
18450
|
|
|
18465
18451
|
interface UnharmonizedItemsExport {
|
|
@@ -18662,8 +18648,6 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
18662
18648
|
| io.flow.internal.v0.models.AllItemsExport
|
|
18663
18649
|
| io.flow.internal.v0.models.HarmonizedItemsHs6Export
|
|
18664
18650
|
| io.flow.internal.v0.models.UnharmonizedItemsExport
|
|
18665
|
-
| io.flow.internal.v0.models.DutiedItemsExport
|
|
18666
|
-
| io.flow.internal.v0.models.LandedCostExport
|
|
18667
18651
|
| io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport
|
|
18668
18652
|
| io.flow.internal.v0.models.HarmonizationCodesImport
|
|
18669
18653
|
| io.flow.internal.v0.models.CustomsDescriptionSugestionCreated
|
|
@@ -19321,7 +19305,6 @@ export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
|
|
|
19321
19305
|
export type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
|
|
19322
19306
|
export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
|
|
19323
19307
|
export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
|
|
19324
|
-
export type LandedCostExport = io.flow.internal.v0.models.LandedCostExport;
|
|
19325
19308
|
export type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
|
|
19326
19309
|
export type Landmark = io.flow.internal.v0.models.Landmark;
|
|
19327
19310
|
export type Levies = io.flow.internal.v0.models.Levies;
|
|
@@ -19544,7 +19527,6 @@ export type ProcessingTransactionType = io.flow.internal.v0.enums.ProcessingTran
|
|
|
19544
19527
|
export type ProcessingTransactionUpserted = io.flow.internal.v0.models.ProcessingTransactionUpserted;
|
|
19545
19528
|
export type Processor = io.flow.internal.v0.enums.Processor;
|
|
19546
19529
|
export type ProductClassification = io.flow.internal.v0.models.ProductClassification;
|
|
19547
|
-
export type ProductClassificationAction = io.flow.internal.v0.enums.ProductClassificationAction;
|
|
19548
19530
|
export type ProductClassificationForm = io.flow.internal.v0.models.ProductClassificationForm;
|
|
19549
19531
|
export type ProductClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationJudgementForm;
|
|
19550
19532
|
export type ProductClassificationResult = io.flow.internal.v0.models.ProductClassificationResult;
|
|
@@ -19742,7 +19724,6 @@ export type TransferTransaction = io.flow.internal.v0.models.TransferTransaction
|
|
|
19742
19724
|
export type TransferTransactionDeleted = io.flow.internal.v0.models.TransferTransactionDeleted;
|
|
19743
19725
|
export type TransferTransactionUpserted = io.flow.internal.v0.models.TransferTransactionUpserted;
|
|
19744
19726
|
export type Tribe = io.flow.internal.v0.models.Tribe;
|
|
19745
|
-
export type UnclassifiedProductStatus = io.flow.internal.v0.enums.UnclassifiedProductStatus;
|
|
19746
19727
|
export type UnclassifiedProductsForm = io.flow.internal.v0.models.UnclassifiedProductsForm;
|
|
19747
19728
|
export type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport;
|
|
19748
19729
|
export type UnphrasedProductsExport = io.flow.internal.v0.models.UnphrasedProductsExport;
|