@flowio/types 11.9.1 → 11.9.2
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 +55 -5
- package/dist/api.d.ts +25 -3
- package/package.json +2 -2
- package/src/api-internal.ts +72 -2
- package/src/api.ts +29 -1
package/dist/api-internal.d.ts
CHANGED
|
@@ -108,7 +108,7 @@ declare namespace io.flow.order.price.v0.models {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
declare namespace io.flow.experience.v0.enums {
|
|
111
|
-
type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company';
|
|
111
|
+
type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company' | 'vat_registration_number';
|
|
112
112
|
type CreditPaymentErrorCode = 'generic_error' | 'invalid_order_number' | 'invalid_currency' | 'invalid_description' | 'duplicate' | 'amount_must_be_positive' | 'amount_exceeds_balance' | 'insufficient_amount';
|
|
113
113
|
type DeliveredDutyDisplayType = 'all' | 'single';
|
|
114
114
|
type DiscountRuleStatus = 'active' | 'scheduled' | 'expired';
|
|
@@ -2080,6 +2080,11 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
2080
2080
|
readonly item_attributes?: Record<string, string>;
|
|
2081
2081
|
readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2082
2082
|
}
|
|
2083
|
+
interface ExclusionRulesExportType {
|
|
2084
|
+
readonly discriminator: 'exclusion_rules_export_type';
|
|
2085
|
+
readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[];
|
|
2086
|
+
readonly sort?: string;
|
|
2087
|
+
}
|
|
2083
2088
|
interface ExperienceExportType {
|
|
2084
2089
|
readonly discriminator: 'experience_export_type';
|
|
2085
2090
|
readonly organization_id: string;
|
|
@@ -2218,7 +2223,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
2218
2223
|
}
|
|
2219
2224
|
declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
2220
2225
|
type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail;
|
|
2221
|
-
type ExportType = io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType;
|
|
2226
|
+
type ExportType = io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType | io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
|
|
2222
2227
|
}
|
|
2223
2228
|
declare namespace io.flow.RESERVED_WORD_return.v0.enums {
|
|
2224
2229
|
type ReturnStatus = 'open' | 'refunded';
|
|
@@ -9065,11 +9070,19 @@ declare namespace io.flow.item.v0.models {
|
|
|
9065
9070
|
declare namespace io.flow.billing.internal.v0.enums {
|
|
9066
9071
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
9067
9072
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
9073
|
+
type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
|
|
9068
9074
|
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
|
|
9069
9075
|
type ResponsibleParty = 'flow' | 'organization';
|
|
9070
9076
|
type TransferMethod = 'ach';
|
|
9071
9077
|
}
|
|
9072
9078
|
declare namespace io.flow.billing.internal.v0.models {
|
|
9079
|
+
interface AccountPostForm {
|
|
9080
|
+
readonly timezone: string;
|
|
9081
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
9082
|
+
readonly payment_conditions: string;
|
|
9083
|
+
readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRuleForm;
|
|
9084
|
+
readonly center_key?: string;
|
|
9085
|
+
}
|
|
9073
9086
|
interface AccountPutForm {
|
|
9074
9087
|
readonly timezone: string;
|
|
9075
9088
|
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
@@ -12152,6 +12165,7 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
12152
12165
|
}
|
|
12153
12166
|
declare namespace io.flow.checkout.backend.v0.enums {
|
|
12154
12167
|
type CheckoutAddressType = 'shipping' | 'invoicing';
|
|
12168
|
+
type CheckoutLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
|
|
12155
12169
|
type CheckoutPaymentGroupType = 'credit' | 'debit' | 'all_cards';
|
|
12156
12170
|
type CheckoutPaymentRedirectMethod = 'get' | 'post';
|
|
12157
12171
|
type InitialInputDataSource = 'session_persistence';
|
|
@@ -12244,6 +12258,7 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
12244
12258
|
readonly id: string;
|
|
12245
12259
|
readonly checkout: io.flow.checkout.backend.v0.models.V2CheckoutReference;
|
|
12246
12260
|
readonly item: io.flow.experience.v0.models.OrderSummaryItem;
|
|
12261
|
+
readonly errors?: io.flow.checkout.backend.v0.models.CheckoutLineError[];
|
|
12247
12262
|
readonly quantity: number;
|
|
12248
12263
|
readonly discount?: io.flow.checkout.backend.v0.models.CheckoutPriceStandard;
|
|
12249
12264
|
readonly tax?: io.flow.checkout.backend.v0.models.CheckoutOrderSummaryTax;
|
|
@@ -12253,6 +12268,9 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
12253
12268
|
readonly price_attributes: Record<string, io.flow.checkout.backend.v0.models.CheckoutPriceStandard>;
|
|
12254
12269
|
readonly attributes: Record<string, string>;
|
|
12255
12270
|
}
|
|
12271
|
+
interface CheckoutLineError {
|
|
12272
|
+
readonly error_code: io.flow.checkout.backend.v0.enums.CheckoutLineErrorCode;
|
|
12273
|
+
}
|
|
12256
12274
|
interface CheckoutLineForm {
|
|
12257
12275
|
readonly item_number: string;
|
|
12258
12276
|
readonly quantity: number;
|
|
@@ -12519,7 +12537,7 @@ declare namespace io.flow.checkout.backend.v0.unions {
|
|
|
12519
12537
|
}
|
|
12520
12538
|
declare namespace io.flow.organization.v0.enums {
|
|
12521
12539
|
type CountryPickerSource = 'experience' | 'destination';
|
|
12522
|
-
type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
|
|
12540
|
+
type EcommercePlatformType = 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
|
|
12523
12541
|
type InvitationErrorCode = 'expired' | 'invalid_email';
|
|
12524
12542
|
}
|
|
12525
12543
|
declare namespace io.flow.organization.v0.models {
|
|
@@ -13107,6 +13125,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13107
13125
|
type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency' | 'shipping_country';
|
|
13108
13126
|
type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
|
|
13109
13127
|
type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
13128
|
+
type CheckoutLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
|
|
13110
13129
|
type CheckoutPaymentGroupType = 'credit' | 'debit' | 'all_cards';
|
|
13111
13130
|
type CheckoutPaymentRedirectMethod = 'get' | 'post';
|
|
13112
13131
|
type CheckoutPromptBehavior = 'always' | 'incomplete';
|
|
@@ -13148,7 +13167,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13148
13167
|
type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
|
|
13149
13168
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
13150
13169
|
type EmptyAttribute = 'irrelevant';
|
|
13151
|
-
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' | 'main_transaction_upserted' | 'main_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' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customer_purge_upserted' | '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' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_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_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | '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_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | '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' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_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';
|
|
13170
|
+
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' | 'main_transaction_upserted' | 'main_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' | 'exclusion_rule_export_request' | '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' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customer_purge_upserted' | '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' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_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_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | '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_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | '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' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_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';
|
|
13152
13171
|
type ExperienceImportType = 'experience_with_settings';
|
|
13153
13172
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
13154
13173
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
@@ -13194,6 +13213,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13194
13213
|
type PaymentSummaryStatus = 'authorized' | 'canceled' | 'declined' | 'expired' | 'failed' | 'pending' | 'processed' | 'reversed' | 'review' | 'succeeded';
|
|
13195
13214
|
type PaymentSummaryType = 'authorization' | 'capture' | 'refund' | 'reversal' | 'credit';
|
|
13196
13215
|
type PaymentTerm = 'net7' | 'net15' | 'net30';
|
|
13216
|
+
type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
|
|
13197
13217
|
type PregenDataKeyField = 'shipping_country' | 'shipping_province' | 'invoicing_country' | 'delivery_option_id';
|
|
13198
13218
|
type PriceSelector = 'minimum' | 'maximum';
|
|
13199
13219
|
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
|
|
@@ -13297,6 +13317,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13297
13317
|
readonly transaction_created_on_or_before?: string;
|
|
13298
13318
|
readonly transaction_created_before?: string;
|
|
13299
13319
|
}
|
|
13320
|
+
interface AccountPostForm {
|
|
13321
|
+
readonly timezone: string;
|
|
13322
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
13323
|
+
readonly payment_conditions: string;
|
|
13324
|
+
readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRuleForm;
|
|
13325
|
+
readonly center_key?: string;
|
|
13326
|
+
}
|
|
13300
13327
|
interface AccountPutForm {
|
|
13301
13328
|
readonly timezone: string;
|
|
13302
13329
|
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
@@ -14807,6 +14834,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14807
14834
|
readonly id: string;
|
|
14808
14835
|
readonly checkout: io.flow.internal.v0.models.V2CheckoutReference;
|
|
14809
14836
|
readonly item: io.flow.experience.v0.models.OrderSummaryItem;
|
|
14837
|
+
readonly errors?: io.flow.internal.v0.models.CheckoutLineError[];
|
|
14810
14838
|
readonly quantity: number;
|
|
14811
14839
|
readonly discount?: io.flow.internal.v0.models.CheckoutPriceStandard;
|
|
14812
14840
|
readonly tax?: io.flow.internal.v0.models.CheckoutOrderSummaryTax;
|
|
@@ -14816,6 +14844,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14816
14844
|
readonly price_attributes: Record<string, io.flow.internal.v0.models.CheckoutPriceStandard>;
|
|
14817
14845
|
readonly attributes: Record<string, string>;
|
|
14818
14846
|
}
|
|
14847
|
+
interface CheckoutLineError {
|
|
14848
|
+
readonly error_code: io.flow.internal.v0.enums.CheckoutLineErrorCode;
|
|
14849
|
+
}
|
|
14819
14850
|
interface CheckoutLineForm {
|
|
14820
14851
|
readonly item_number: string;
|
|
14821
14852
|
readonly quantity: number;
|
|
@@ -16081,6 +16112,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16081
16112
|
readonly organization: string;
|
|
16082
16113
|
readonly exclusion_rule: io.flow.catalog.exclusion.v0.models.ExclusionRule;
|
|
16083
16114
|
}
|
|
16115
|
+
interface ExclusionRuleExportRequest {
|
|
16116
|
+
readonly discriminator: 'exclusion_rule_export_request';
|
|
16117
|
+
readonly event_id: string;
|
|
16118
|
+
readonly timestamp: string;
|
|
16119
|
+
readonly organization: string;
|
|
16120
|
+
readonly internal_exclusion_rule_form: io.flow.internal.v0.models.InternalExclusionRuleForm;
|
|
16121
|
+
}
|
|
16084
16122
|
interface ExclusionRuleUpserted {
|
|
16085
16123
|
readonly discriminator: 'exclusion_rule_upserted';
|
|
16086
16124
|
readonly event_id: string;
|
|
@@ -17444,6 +17482,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17444
17482
|
readonly result: io.flow.payment.v0.models.AuthorizationResult;
|
|
17445
17483
|
readonly internal?: io.flow.internal.v0.unions.InternalAuthorizationDetails;
|
|
17446
17484
|
}
|
|
17485
|
+
interface InternalExclusionRuleForm {
|
|
17486
|
+
readonly id: string;
|
|
17487
|
+
readonly export_id: string;
|
|
17488
|
+
readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[];
|
|
17489
|
+
readonly sort?: string;
|
|
17490
|
+
}
|
|
17447
17491
|
interface InternalFiservAuthorizationDetails {
|
|
17448
17492
|
readonly discriminator: 'internal_fiserv_authorization_details';
|
|
17449
17493
|
readonly fiserv_authentication_data: io.flow.internal.v0.models.FiservAuthenticationDataReference;
|
|
@@ -20426,7 +20470,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20426
20470
|
type ContentItem = io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.ContentLabel | io.flow.internal.v0.models.Load;
|
|
20427
20471
|
type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
20428
20472
|
type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
|
|
20429
|
-
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.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | 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.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomerPurgeUpserted | 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.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | 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.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | 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.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | 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.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | 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.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | 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.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.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | 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;
|
|
20473
|
+
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.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | 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.ExclusionRuleExportRequest | 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.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomerPurgeUpserted | 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.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | 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.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | 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.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | 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.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | 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.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | 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.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.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | 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;
|
|
20430
20474
|
type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
|
|
20431
20475
|
type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
20432
20476
|
type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
@@ -20483,6 +20527,7 @@ export declare type AccountContactForm = io.flow.internal.v0.models.AccountConta
|
|
|
20483
20527
|
export declare type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
|
|
20484
20528
|
export declare type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
20485
20529
|
export declare type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest;
|
|
20530
|
+
export declare type AccountPostForm = io.flow.internal.v0.models.AccountPostForm;
|
|
20486
20531
|
export declare type AccountPutForm = io.flow.internal.v0.models.AccountPutForm;
|
|
20487
20532
|
export declare type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
20488
20533
|
export declare type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
|
|
@@ -20827,6 +20872,8 @@ export declare type CheckoutInputSetLocale = io.flow.internal.v0.models.Checkout
|
|
|
20827
20872
|
export declare type CheckoutInputSetNationalIdNumber = io.flow.internal.v0.models.CheckoutInputSetNationalIdNumber;
|
|
20828
20873
|
export declare type CheckoutInputSetOptinPrompt = io.flow.internal.v0.models.CheckoutInputSetOptinPrompt;
|
|
20829
20874
|
export declare type CheckoutLine = io.flow.internal.v0.models.CheckoutLine;
|
|
20875
|
+
export declare type CheckoutLineError = io.flow.internal.v0.models.CheckoutLineError;
|
|
20876
|
+
export declare type CheckoutLineErrorCode = io.flow.internal.v0.enums.CheckoutLineErrorCode;
|
|
20830
20877
|
export declare type CheckoutLineForm = io.flow.internal.v0.models.CheckoutLineForm;
|
|
20831
20878
|
export declare type CheckoutMarketingContent = io.flow.internal.v0.models.CheckoutMarketingContent;
|
|
20832
20879
|
export declare type CheckoutNationalIdNumberValidation = io.flow.internal.v0.models.CheckoutNationalIdNumberValidation;
|
|
@@ -21166,6 +21213,7 @@ export declare type Encryption = io.flow.internal.v0.models.Encryption;
|
|
|
21166
21213
|
export declare type Event = io.flow.internal.v0.unions.Event;
|
|
21167
21214
|
export declare type EventType = io.flow.internal.v0.enums.EventType;
|
|
21168
21215
|
export declare type ExclusionRuleDeleted = io.flow.internal.v0.models.ExclusionRuleDeleted;
|
|
21216
|
+
export declare type ExclusionRuleExportRequest = io.flow.internal.v0.models.ExclusionRuleExportRequest;
|
|
21169
21217
|
export declare type ExclusionRuleUpserted = io.flow.internal.v0.models.ExclusionRuleUpserted;
|
|
21170
21218
|
export declare type ExpectedOrderSummary = io.flow.internal.v0.models.ExpectedOrderSummary;
|
|
21171
21219
|
export declare type ExperienceExperiment = io.flow.internal.v0.models.ExperienceExperiment;
|
|
@@ -21369,6 +21417,7 @@ export declare type InternalAuthorizationUpserted = io.flow.internal.v0.models.I
|
|
|
21369
21417
|
export declare type InternalAvailableDelivery = io.flow.internal.v0.models.InternalAvailableDelivery;
|
|
21370
21418
|
export declare type InternalBitpayAuthorizationDetails = io.flow.internal.v0.models.InternalBitpayAuthorizationDetails;
|
|
21371
21419
|
export declare type InternalCardAuthorizationDetails = io.flow.internal.v0.models.InternalCardAuthorizationDetails;
|
|
21420
|
+
export declare type InternalExclusionRuleForm = io.flow.internal.v0.models.InternalExclusionRuleForm;
|
|
21372
21421
|
export declare type InternalFiservAuthorizationDetails = io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
|
|
21373
21422
|
export declare type InternalHarmonizationStatistic = io.flow.internal.v0.unions.InternalHarmonizationStatistic;
|
|
21374
21423
|
export declare type InternalItemForm = io.flow.internal.v0.models.InternalItemForm;
|
|
@@ -21638,6 +21687,7 @@ export declare type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePau
|
|
|
21638
21687
|
export declare type PlatformFeePercentage = io.flow.internal.v0.models.PlatformFeePercentage;
|
|
21639
21688
|
export declare type PlatformFeePercentageTier = io.flow.internal.v0.models.PlatformFeePercentageTier;
|
|
21640
21689
|
export declare type Prediction = io.flow.internal.v0.models.Prediction;
|
|
21690
|
+
export declare type PreferredBillingSchedule = io.flow.internal.v0.enums.PreferredBillingSchedule;
|
|
21641
21691
|
export declare type PregenDataKeyField = io.flow.internal.v0.enums.PregenDataKeyField;
|
|
21642
21692
|
export declare type PregeneratedQuote = io.flow.internal.v0.models.PregeneratedQuote;
|
|
21643
21693
|
export declare type PregeneratedRequestEvent = io.flow.internal.v0.models.PregeneratedRequestEvent;
|
package/dist/api.d.ts
CHANGED
|
@@ -853,7 +853,7 @@ declare namespace io.flow.v0.enums {
|
|
|
853
853
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
854
854
|
type EntityIdentifierType = 'ioss';
|
|
855
855
|
type Environment = 'sandbox' | 'production';
|
|
856
|
-
type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
856
|
+
type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
857
857
|
type ExceptionType = 'open' | 'closed';
|
|
858
858
|
type ExclusionRuleState = 'current' | 'deleting' | 'updating';
|
|
859
859
|
type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
|
|
@@ -2840,6 +2840,11 @@ declare namespace io.flow.v0.models {
|
|
|
2840
2840
|
readonly type: io.flow.v0.enums.ChangeType;
|
|
2841
2841
|
readonly exclusion_rule: io.flow.v0.models.ExclusionRule;
|
|
2842
2842
|
}
|
|
2843
|
+
interface ExclusionRulesExportType {
|
|
2844
|
+
readonly discriminator: 'exclusion_rules_export_type';
|
|
2845
|
+
readonly states?: io.flow.v0.enums.ExclusionRuleState[];
|
|
2846
|
+
readonly sort?: string;
|
|
2847
|
+
}
|
|
2843
2848
|
interface Experience {
|
|
2844
2849
|
readonly discriminator: 'experience';
|
|
2845
2850
|
readonly id: string;
|
|
@@ -5890,6 +5895,20 @@ declare namespace io.flow.v0.models {
|
|
|
5890
5895
|
readonly fulfillments?: io.flow.v0.models.Fulfillment[];
|
|
5891
5896
|
readonly fulfillment_item_allocation_details?: io.flow.v0.models.FulfillmentItemAllocationDetails[];
|
|
5892
5897
|
}
|
|
5898
|
+
interface ReadyToFulfillDetails {
|
|
5899
|
+
readonly id: string;
|
|
5900
|
+
readonly order_number: string;
|
|
5901
|
+
readonly order: io.flow.v0.models.Order;
|
|
5902
|
+
readonly fulfillments?: io.flow.v0.models.Fulfillment[];
|
|
5903
|
+
readonly fulfillment_item_allocation_details?: io.flow.v0.models.FulfillmentItemAllocationDetails[];
|
|
5904
|
+
}
|
|
5905
|
+
interface ReadyToFulfillV2 {
|
|
5906
|
+
readonly discriminator: 'ready_to_fulfill_v2';
|
|
5907
|
+
readonly event_id: string;
|
|
5908
|
+
readonly timestamp: string;
|
|
5909
|
+
readonly organization: string;
|
|
5910
|
+
readonly ready_to_fulfill: io.flow.v0.models.ReadyToFulfillDetails;
|
|
5911
|
+
}
|
|
5893
5912
|
interface RedirectAuthorizationDetails {
|
|
5894
5913
|
readonly discriminator: 'redirect_authorization_details';
|
|
5895
5914
|
readonly id: string;
|
|
@@ -7515,7 +7534,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7515
7534
|
type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
|
|
7516
7535
|
type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
|
|
7517
7536
|
type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
|
|
7518
|
-
type Event = io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
|
|
7537
|
+
type Event = io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
|
|
7519
7538
|
type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
|
|
7520
7539
|
type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
|
|
7521
7540
|
type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
|
|
@@ -7525,7 +7544,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7525
7544
|
type ExpandableSubcatalog = io.flow.v0.models.Subcatalog | io.flow.v0.models.SubcatalogReference;
|
|
7526
7545
|
type ExpandableUser = io.flow.v0.models.User | io.flow.v0.models.UserReference;
|
|
7527
7546
|
type ExportDelivery = io.flow.v0.models.ExportDeliveryEmail;
|
|
7528
|
-
type ExportType = io.flow.v0.models.AccountTransactionsExportType | io.flow.v0.models.AccountOrdersExportType | io.flow.v0.models.AnalyticsExportType | io.flow.v0.models.CatalogItemExportType | io.flow.v0.models.ExperienceExportType | io.flow.v0.models.HarmonizationOverviewExportType | io.flow.v0.models.HarmonizationHs6ExportType | io.flow.v0.models.HarmonizationHs10ExportType | io.flow.v0.models.HarmonizationTariffCodesExportType | io.flow.v0.models.UnharmonizedItemExportType | io.flow.v0.models.OrderExportType | io.flow.v0.models.PriceBookItemExportType | io.flow.v0.models.SolidusProductExportType | io.flow.v0.models.SolidusVariantExportType | io.flow.v0.models.LocalizedItemPricesExportType | io.flow.v0.models.MarketingFeedsExportType;
|
|
7547
|
+
type ExportType = io.flow.v0.models.AccountTransactionsExportType | io.flow.v0.models.AccountOrdersExportType | io.flow.v0.models.AnalyticsExportType | io.flow.v0.models.CatalogItemExportType | io.flow.v0.models.ExperienceExportType | io.flow.v0.models.HarmonizationOverviewExportType | io.flow.v0.models.HarmonizationHs6ExportType | io.flow.v0.models.HarmonizationHs10ExportType | io.flow.v0.models.HarmonizationTariffCodesExportType | io.flow.v0.models.UnharmonizedItemExportType | io.flow.v0.models.OrderExportType | io.flow.v0.models.PriceBookItemExportType | io.flow.v0.models.SolidusProductExportType | io.flow.v0.models.SolidusVariantExportType | io.flow.v0.models.LocalizedItemPricesExportType | io.flow.v0.models.MarketingFeedsExportType | io.flow.v0.models.ExclusionRulesExportType;
|
|
7529
7548
|
type FieldValidationRule = io.flow.v0.models.FieldValidationRequired | io.flow.v0.models.FieldValidationRequiredIfPresent | io.flow.v0.models.FieldValidationMin | io.flow.v0.models.FieldValidationMax | io.flow.v0.models.FieldValidationPattern;
|
|
7530
7549
|
type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
|
|
7531
7550
|
type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
|
|
@@ -7943,6 +7962,7 @@ export declare type ExclusionRuleForm = io.flow.v0.models.ExclusionRuleForm;
|
|
|
7943
7962
|
export declare type ExclusionRuleState = io.flow.v0.enums.ExclusionRuleState;
|
|
7944
7963
|
export declare type ExclusionRuleStatistic = io.flow.v0.models.ExclusionRuleStatistic;
|
|
7945
7964
|
export declare type ExclusionRuleVersion = io.flow.v0.models.ExclusionRuleVersion;
|
|
7965
|
+
export declare type ExclusionRulesExportType = io.flow.v0.models.ExclusionRulesExportType;
|
|
7946
7966
|
export declare type ExpandableCard = io.flow.v0.unions.ExpandableCard;
|
|
7947
7967
|
export declare type ExpandableCenter = io.flow.v0.unions.ExpandableCenter;
|
|
7948
7968
|
export declare type ExpandableExperience = io.flow.v0.unions.ExpandableExperience;
|
|
@@ -8530,6 +8550,8 @@ export declare type RatecardSummary = io.flow.v0.models.RatecardSummary;
|
|
|
8530
8550
|
export declare type RatecardUpserted = io.flow.v0.models.RatecardUpserted;
|
|
8531
8551
|
export declare type RatecardVersion = io.flow.v0.models.RatecardVersion;
|
|
8532
8552
|
export declare type ReadyToFulfill = io.flow.v0.models.ReadyToFulfill;
|
|
8553
|
+
export declare type ReadyToFulfillDetails = io.flow.v0.models.ReadyToFulfillDetails;
|
|
8554
|
+
export declare type ReadyToFulfillV2 = io.flow.v0.models.ReadyToFulfillV2;
|
|
8533
8555
|
export declare type RedirectAuthorizationDetails = io.flow.v0.models.RedirectAuthorizationDetails;
|
|
8534
8556
|
export declare type RedirectAuthorizationForm = io.flow.v0.models.RedirectAuthorizationForm;
|
|
8535
8557
|
export declare type Refund = io.flow.v0.models.Refund;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.9.
|
|
3
|
+
"version": "11.9.2",
|
|
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",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "5d87529986adb4699894e7d7e72c31b7e624a877"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -175,7 +175,8 @@ declare namespace io.flow.experience.v0.enums {
|
|
|
175
175
|
| 'postal'
|
|
176
176
|
| 'country'
|
|
177
177
|
| 'phone'
|
|
178
|
-
| 'company'
|
|
178
|
+
| 'company'
|
|
179
|
+
| 'vat_registration_number';
|
|
179
180
|
type CreditPaymentErrorCode =
|
|
180
181
|
| 'generic_error'
|
|
181
182
|
| 'invalid_order_number'
|
|
@@ -2877,6 +2878,12 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
2877
2878
|
readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2878
2879
|
}
|
|
2879
2880
|
|
|
2881
|
+
interface ExclusionRulesExportType {
|
|
2882
|
+
readonly discriminator: 'exclusion_rules_export_type';
|
|
2883
|
+
readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[];
|
|
2884
|
+
readonly sort?: string;
|
|
2885
|
+
}
|
|
2886
|
+
|
|
2880
2887
|
interface ExperienceExportType {
|
|
2881
2888
|
readonly discriminator: 'experience_export_type';
|
|
2882
2889
|
readonly organization_id: string;
|
|
@@ -3055,7 +3062,8 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
|
3055
3062
|
| io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
|
|
3056
3063
|
| io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType
|
|
3057
3064
|
| io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType
|
|
3058
|
-
| io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType
|
|
3065
|
+
| io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType
|
|
3066
|
+
| io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
|
|
3059
3067
|
}
|
|
3060
3068
|
|
|
3061
3069
|
declare namespace io.flow.RESERVED_WORD_return.v0.enums {
|
|
@@ -12020,12 +12028,21 @@ declare namespace io.flow.billing.internal.v0.enums {
|
|
|
12020
12028
|
| 'fuel_surcharge'
|
|
12021
12029
|
| 'remote_area_surcharge';
|
|
12022
12030
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
12031
|
+
type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
|
|
12023
12032
|
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
|
|
12024
12033
|
type ResponsibleParty = 'flow' | 'organization';
|
|
12025
12034
|
type TransferMethod = 'ach';
|
|
12026
12035
|
}
|
|
12027
12036
|
|
|
12028
12037
|
declare namespace io.flow.billing.internal.v0.models {
|
|
12038
|
+
interface AccountPostForm {
|
|
12039
|
+
readonly timezone: string;
|
|
12040
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
12041
|
+
readonly payment_conditions: string;
|
|
12042
|
+
readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRuleForm;
|
|
12043
|
+
readonly center_key?: string;
|
|
12044
|
+
}
|
|
12045
|
+
|
|
12029
12046
|
interface AccountPutForm {
|
|
12030
12047
|
readonly timezone: string;
|
|
12031
12048
|
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
@@ -15852,6 +15869,11 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
15852
15869
|
|
|
15853
15870
|
declare namespace io.flow.checkout.backend.v0.enums {
|
|
15854
15871
|
type CheckoutAddressType = 'shipping' | 'invoicing';
|
|
15872
|
+
type CheckoutLineErrorCode =
|
|
15873
|
+
| 'line_quantity_invalid'
|
|
15874
|
+
| 'line_item_number_invalid'
|
|
15875
|
+
| 'line_item_number_not_available'
|
|
15876
|
+
| 'line_value_threshold_exceeded';
|
|
15855
15877
|
type CheckoutPaymentGroupType = 'credit' | 'debit' | 'all_cards';
|
|
15856
15878
|
type CheckoutPaymentRedirectMethod = 'get' | 'post';
|
|
15857
15879
|
type InitialInputDataSource = 'session_persistence';
|
|
@@ -15967,6 +15989,7 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
15967
15989
|
readonly id: string;
|
|
15968
15990
|
readonly checkout: io.flow.checkout.backend.v0.models.V2CheckoutReference;
|
|
15969
15991
|
readonly item: io.flow.experience.v0.models.OrderSummaryItem;
|
|
15992
|
+
readonly errors?: io.flow.checkout.backend.v0.models.CheckoutLineError[];
|
|
15970
15993
|
readonly quantity: number;
|
|
15971
15994
|
readonly discount?: io.flow.checkout.backend.v0.models.CheckoutPriceStandard;
|
|
15972
15995
|
readonly tax?: io.flow.checkout.backend.v0.models.CheckoutOrderSummaryTax;
|
|
@@ -15980,6 +16003,10 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
15980
16003
|
readonly attributes: Record<string, string>;
|
|
15981
16004
|
}
|
|
15982
16005
|
|
|
16006
|
+
interface CheckoutLineError {
|
|
16007
|
+
readonly error_code: io.flow.checkout.backend.v0.enums.CheckoutLineErrorCode;
|
|
16008
|
+
}
|
|
16009
|
+
|
|
15983
16010
|
interface CheckoutLineForm {
|
|
15984
16011
|
readonly item_number: string;
|
|
15985
16012
|
readonly quantity: number;
|
|
@@ -16323,6 +16350,7 @@ declare namespace io.flow.organization.v0.enums {
|
|
|
16323
16350
|
type EcommercePlatformType =
|
|
16324
16351
|
| 'commercetools'
|
|
16325
16352
|
| 'custom'
|
|
16353
|
+
| 'hybris'
|
|
16326
16354
|
| 'magento'
|
|
16327
16355
|
| 'shopify'
|
|
16328
16356
|
| 'sfcc'
|
|
@@ -17151,6 +17179,11 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17151
17179
|
| 'authorization_invalid_currency'
|
|
17152
17180
|
| 'authorization_amount_exceeds_balance'
|
|
17153
17181
|
| 'address_street1_required';
|
|
17182
|
+
type CheckoutLineErrorCode =
|
|
17183
|
+
| 'line_quantity_invalid'
|
|
17184
|
+
| 'line_item_number_invalid'
|
|
17185
|
+
| 'line_item_number_not_available'
|
|
17186
|
+
| 'line_value_threshold_exceeded';
|
|
17154
17187
|
type CheckoutPaymentGroupType = 'credit' | 'debit' | 'all_cards';
|
|
17155
17188
|
type CheckoutPaymentRedirectMethod = 'get' | 'post';
|
|
17156
17189
|
type CheckoutPromptBehavior = 'always' | 'incomplete';
|
|
@@ -17328,6 +17361,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17328
17361
|
| 'catalog_import_request'
|
|
17329
17362
|
| 'exclusion_rule_upserted'
|
|
17330
17363
|
| 'exclusion_rule_deleted'
|
|
17364
|
+
| 'exclusion_rule_export_request'
|
|
17331
17365
|
| 'catalog_item_region_availabilities_published'
|
|
17332
17366
|
| 'checkout_configuration_upserted'
|
|
17333
17367
|
| 'checkout_configuration_deleted'
|
|
@@ -17622,6 +17656,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17622
17656
|
| 'reversal'
|
|
17623
17657
|
| 'credit';
|
|
17624
17658
|
type PaymentTerm = 'net7' | 'net15' | 'net30';
|
|
17659
|
+
type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
|
|
17625
17660
|
type PregenDataKeyField =
|
|
17626
17661
|
| 'shipping_country'
|
|
17627
17662
|
| 'shipping_province'
|
|
@@ -17771,6 +17806,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17771
17806
|
readonly transaction_created_before?: string;
|
|
17772
17807
|
}
|
|
17773
17808
|
|
|
17809
|
+
interface AccountPostForm {
|
|
17810
|
+
readonly timezone: string;
|
|
17811
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
17812
|
+
readonly payment_conditions: string;
|
|
17813
|
+
readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRuleForm;
|
|
17814
|
+
readonly center_key?: string;
|
|
17815
|
+
}
|
|
17816
|
+
|
|
17774
17817
|
interface AccountPutForm {
|
|
17775
17818
|
readonly timezone: string;
|
|
17776
17819
|
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
@@ -19565,6 +19608,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19565
19608
|
readonly id: string;
|
|
19566
19609
|
readonly checkout: io.flow.internal.v0.models.V2CheckoutReference;
|
|
19567
19610
|
readonly item: io.flow.experience.v0.models.OrderSummaryItem;
|
|
19611
|
+
readonly errors?: io.flow.internal.v0.models.CheckoutLineError[];
|
|
19568
19612
|
readonly quantity: number;
|
|
19569
19613
|
readonly discount?: io.flow.internal.v0.models.CheckoutPriceStandard;
|
|
19570
19614
|
readonly tax?: io.flow.internal.v0.models.CheckoutOrderSummaryTax;
|
|
@@ -19578,6 +19622,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19578
19622
|
readonly attributes: Record<string, string>;
|
|
19579
19623
|
}
|
|
19580
19624
|
|
|
19625
|
+
interface CheckoutLineError {
|
|
19626
|
+
readonly error_code: io.flow.internal.v0.enums.CheckoutLineErrorCode;
|
|
19627
|
+
}
|
|
19628
|
+
|
|
19581
19629
|
interface CheckoutLineForm {
|
|
19582
19630
|
readonly item_number: string;
|
|
19583
19631
|
readonly quantity: number;
|
|
@@ -21097,6 +21145,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21097
21145
|
readonly exclusion_rule: io.flow.catalog.exclusion.v0.models.ExclusionRule;
|
|
21098
21146
|
}
|
|
21099
21147
|
|
|
21148
|
+
interface ExclusionRuleExportRequest {
|
|
21149
|
+
readonly discriminator: 'exclusion_rule_export_request';
|
|
21150
|
+
readonly event_id: string;
|
|
21151
|
+
readonly timestamp: string;
|
|
21152
|
+
readonly organization: string;
|
|
21153
|
+
readonly internal_exclusion_rule_form: io.flow.internal.v0.models.InternalExclusionRuleForm;
|
|
21154
|
+
}
|
|
21155
|
+
|
|
21100
21156
|
interface ExclusionRuleUpserted {
|
|
21101
21157
|
readonly discriminator: 'exclusion_rule_upserted';
|
|
21102
21158
|
readonly event_id: string;
|
|
@@ -22635,6 +22691,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22635
22691
|
readonly internal?: io.flow.internal.v0.unions.InternalAuthorizationDetails;
|
|
22636
22692
|
}
|
|
22637
22693
|
|
|
22694
|
+
interface InternalExclusionRuleForm {
|
|
22695
|
+
readonly id: string;
|
|
22696
|
+
readonly export_id: string;
|
|
22697
|
+
readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[];
|
|
22698
|
+
readonly sort?: string;
|
|
22699
|
+
}
|
|
22700
|
+
|
|
22638
22701
|
interface InternalFiservAuthorizationDetails {
|
|
22639
22702
|
readonly discriminator: 'internal_fiserv_authorization_details';
|
|
22640
22703
|
readonly fiserv_authentication_data: io.flow.internal.v0.models.FiservAuthenticationDataReference;
|
|
@@ -26318,6 +26381,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
26318
26381
|
| io.flow.internal.v0.models.CatalogImportRequest
|
|
26319
26382
|
| io.flow.internal.v0.models.ExclusionRuleUpserted
|
|
26320
26383
|
| io.flow.internal.v0.models.ExclusionRuleDeleted
|
|
26384
|
+
| io.flow.internal.v0.models.ExclusionRuleExportRequest
|
|
26321
26385
|
| io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished
|
|
26322
26386
|
| io.flow.internal.v0.models.CheckoutConfigurationUpserted
|
|
26323
26387
|
| io.flow.internal.v0.models.CheckoutConfigurationDeleted
|
|
@@ -26689,6 +26753,7 @@ export type AccountContactForm = io.flow.internal.v0.models.AccountContactForm;
|
|
|
26689
26753
|
export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
|
|
26690
26754
|
export type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
26691
26755
|
export type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest;
|
|
26756
|
+
export type AccountPostForm = io.flow.internal.v0.models.AccountPostForm;
|
|
26692
26757
|
export type AccountPutForm = io.flow.internal.v0.models.AccountPutForm;
|
|
26693
26758
|
export type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
26694
26759
|
export type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
|
|
@@ -27033,6 +27098,8 @@ export type CheckoutInputSetLocale = io.flow.internal.v0.models.CheckoutInputSet
|
|
|
27033
27098
|
export type CheckoutInputSetNationalIdNumber = io.flow.internal.v0.models.CheckoutInputSetNationalIdNumber;
|
|
27034
27099
|
export type CheckoutInputSetOptinPrompt = io.flow.internal.v0.models.CheckoutInputSetOptinPrompt;
|
|
27035
27100
|
export type CheckoutLine = io.flow.internal.v0.models.CheckoutLine;
|
|
27101
|
+
export type CheckoutLineError = io.flow.internal.v0.models.CheckoutLineError;
|
|
27102
|
+
export type CheckoutLineErrorCode = io.flow.internal.v0.enums.CheckoutLineErrorCode;
|
|
27036
27103
|
export type CheckoutLineForm = io.flow.internal.v0.models.CheckoutLineForm;
|
|
27037
27104
|
export type CheckoutMarketingContent = io.flow.internal.v0.models.CheckoutMarketingContent;
|
|
27038
27105
|
export type CheckoutNationalIdNumberValidation = io.flow.internal.v0.models.CheckoutNationalIdNumberValidation;
|
|
@@ -27372,6 +27439,7 @@ export type Encryption = io.flow.internal.v0.models.Encryption;
|
|
|
27372
27439
|
export type Event = io.flow.internal.v0.unions.Event;
|
|
27373
27440
|
export type EventType = io.flow.internal.v0.enums.EventType;
|
|
27374
27441
|
export type ExclusionRuleDeleted = io.flow.internal.v0.models.ExclusionRuleDeleted;
|
|
27442
|
+
export type ExclusionRuleExportRequest = io.flow.internal.v0.models.ExclusionRuleExportRequest;
|
|
27375
27443
|
export type ExclusionRuleUpserted = io.flow.internal.v0.models.ExclusionRuleUpserted;
|
|
27376
27444
|
export type ExpectedOrderSummary = io.flow.internal.v0.models.ExpectedOrderSummary;
|
|
27377
27445
|
export type ExperienceExperiment = io.flow.internal.v0.models.ExperienceExperiment;
|
|
@@ -27575,6 +27643,7 @@ export type InternalAuthorizationUpserted = io.flow.internal.v0.models.InternalA
|
|
|
27575
27643
|
export type InternalAvailableDelivery = io.flow.internal.v0.models.InternalAvailableDelivery;
|
|
27576
27644
|
export type InternalBitpayAuthorizationDetails = io.flow.internal.v0.models.InternalBitpayAuthorizationDetails;
|
|
27577
27645
|
export type InternalCardAuthorizationDetails = io.flow.internal.v0.models.InternalCardAuthorizationDetails;
|
|
27646
|
+
export type InternalExclusionRuleForm = io.flow.internal.v0.models.InternalExclusionRuleForm;
|
|
27578
27647
|
export type InternalFiservAuthorizationDetails = io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
|
|
27579
27648
|
export type InternalHarmonizationStatistic = io.flow.internal.v0.unions.InternalHarmonizationStatistic;
|
|
27580
27649
|
export type InternalItemForm = io.flow.internal.v0.models.InternalItemForm;
|
|
@@ -27844,6 +27913,7 @@ export type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause;
|
|
|
27844
27913
|
export type PlatformFeePercentage = io.flow.internal.v0.models.PlatformFeePercentage;
|
|
27845
27914
|
export type PlatformFeePercentageTier = io.flow.internal.v0.models.PlatformFeePercentageTier;
|
|
27846
27915
|
export type Prediction = io.flow.internal.v0.models.Prediction;
|
|
27916
|
+
export type PreferredBillingSchedule = io.flow.internal.v0.enums.PreferredBillingSchedule;
|
|
27847
27917
|
export type PregenDataKeyField = io.flow.internal.v0.enums.PregenDataKeyField;
|
|
27848
27918
|
export type PregeneratedQuote = io.flow.internal.v0.models.PregeneratedQuote;
|
|
27849
27919
|
export type PregeneratedRequestEvent = io.flow.internal.v0.models.PregeneratedRequestEvent;
|
package/src/api.ts
CHANGED
|
@@ -1289,6 +1289,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1289
1289
|
| 'order_placed'
|
|
1290
1290
|
| 'order_placed_v2'
|
|
1291
1291
|
| 'ready_to_fulfill'
|
|
1292
|
+
| 'ready_to_fulfill_v2'
|
|
1292
1293
|
| 'membership_upserted_v2'
|
|
1293
1294
|
| 'membership_deleted_v2'
|
|
1294
1295
|
| 'organization_upserted'
|
|
@@ -3846,6 +3847,12 @@ declare namespace io.flow.v0.models {
|
|
|
3846
3847
|
readonly exclusion_rule: io.flow.v0.models.ExclusionRule;
|
|
3847
3848
|
}
|
|
3848
3849
|
|
|
3850
|
+
interface ExclusionRulesExportType {
|
|
3851
|
+
readonly discriminator: 'exclusion_rules_export_type';
|
|
3852
|
+
readonly states?: io.flow.v0.enums.ExclusionRuleState[];
|
|
3853
|
+
readonly sort?: string;
|
|
3854
|
+
}
|
|
3855
|
+
|
|
3849
3856
|
interface Experience {
|
|
3850
3857
|
readonly discriminator: 'experience';
|
|
3851
3858
|
readonly id: string;
|
|
@@ -7388,6 +7395,22 @@ declare namespace io.flow.v0.models {
|
|
|
7388
7395
|
readonly fulfillment_item_allocation_details?: io.flow.v0.models.FulfillmentItemAllocationDetails[];
|
|
7389
7396
|
}
|
|
7390
7397
|
|
|
7398
|
+
interface ReadyToFulfillDetails {
|
|
7399
|
+
readonly id: string;
|
|
7400
|
+
readonly order_number: string;
|
|
7401
|
+
readonly order: io.flow.v0.models.Order;
|
|
7402
|
+
readonly fulfillments?: io.flow.v0.models.Fulfillment[];
|
|
7403
|
+
readonly fulfillment_item_allocation_details?: io.flow.v0.models.FulfillmentItemAllocationDetails[];
|
|
7404
|
+
}
|
|
7405
|
+
|
|
7406
|
+
interface ReadyToFulfillV2 {
|
|
7407
|
+
readonly discriminator: 'ready_to_fulfill_v2';
|
|
7408
|
+
readonly event_id: string;
|
|
7409
|
+
readonly timestamp: string;
|
|
7410
|
+
readonly organization: string;
|
|
7411
|
+
readonly ready_to_fulfill: io.flow.v0.models.ReadyToFulfillDetails;
|
|
7412
|
+
}
|
|
7413
|
+
|
|
7391
7414
|
interface RedirectAuthorizationDetails {
|
|
7392
7415
|
readonly discriminator: 'redirect_authorization_details';
|
|
7393
7416
|
readonly id: string;
|
|
@@ -9432,6 +9455,7 @@ declare namespace io.flow.v0.unions {
|
|
|
9432
9455
|
| io.flow.v0.models.OrderPlaced
|
|
9433
9456
|
| io.flow.v0.models.OrderPlacedV2
|
|
9434
9457
|
| io.flow.v0.models.ReadyToFulfill
|
|
9458
|
+
| io.flow.v0.models.ReadyToFulfillV2
|
|
9435
9459
|
| io.flow.v0.models.MembershipUpsertedV2
|
|
9436
9460
|
| io.flow.v0.models.MembershipDeletedV2
|
|
9437
9461
|
| io.flow.v0.models.OrganizationUpserted
|
|
@@ -9527,7 +9551,8 @@ declare namespace io.flow.v0.unions {
|
|
|
9527
9551
|
| io.flow.v0.models.SolidusProductExportType
|
|
9528
9552
|
| io.flow.v0.models.SolidusVariantExportType
|
|
9529
9553
|
| io.flow.v0.models.LocalizedItemPricesExportType
|
|
9530
|
-
| io.flow.v0.models.MarketingFeedsExportType
|
|
9554
|
+
| io.flow.v0.models.MarketingFeedsExportType
|
|
9555
|
+
| io.flow.v0.models.ExclusionRulesExportType;
|
|
9531
9556
|
type FieldValidationRule =
|
|
9532
9557
|
| io.flow.v0.models.FieldValidationRequired
|
|
9533
9558
|
| io.flow.v0.models.FieldValidationRequiredIfPresent
|
|
@@ -10026,6 +10051,7 @@ export type ExclusionRuleForm = io.flow.v0.models.ExclusionRuleForm;
|
|
|
10026
10051
|
export type ExclusionRuleState = io.flow.v0.enums.ExclusionRuleState;
|
|
10027
10052
|
export type ExclusionRuleStatistic = io.flow.v0.models.ExclusionRuleStatistic;
|
|
10028
10053
|
export type ExclusionRuleVersion = io.flow.v0.models.ExclusionRuleVersion;
|
|
10054
|
+
export type ExclusionRulesExportType = io.flow.v0.models.ExclusionRulesExportType;
|
|
10029
10055
|
export type ExpandableCard = io.flow.v0.unions.ExpandableCard;
|
|
10030
10056
|
export type ExpandableCenter = io.flow.v0.unions.ExpandableCenter;
|
|
10031
10057
|
export type ExpandableExperience = io.flow.v0.unions.ExpandableExperience;
|
|
@@ -10613,6 +10639,8 @@ export type RatecardSummary = io.flow.v0.models.RatecardSummary;
|
|
|
10613
10639
|
export type RatecardUpserted = io.flow.v0.models.RatecardUpserted;
|
|
10614
10640
|
export type RatecardVersion = io.flow.v0.models.RatecardVersion;
|
|
10615
10641
|
export type ReadyToFulfill = io.flow.v0.models.ReadyToFulfill;
|
|
10642
|
+
export type ReadyToFulfillDetails = io.flow.v0.models.ReadyToFulfillDetails;
|
|
10643
|
+
export type ReadyToFulfillV2 = io.flow.v0.models.ReadyToFulfillV2;
|
|
10616
10644
|
export type RedirectAuthorizationDetails = io.flow.v0.models.RedirectAuthorizationDetails;
|
|
10617
10645
|
export type RedirectAuthorizationForm = io.flow.v0.models.RedirectAuthorizationForm;
|
|
10618
10646
|
export type Refund = io.flow.v0.models.Refund;
|