@flowio/api-constants 2.13.66 → 2.13.68

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.d.ts CHANGED
@@ -405,8 +405,6 @@ export declare enum EventType {
405
405
  CUSTOMER_DELETED = "customer_deleted",
406
406
  CUSTOMER_ADDRESS_BOOK_CONTACT_UPSERTED = "customer_address_book_contact_upserted",
407
407
  CUSTOMER_ADDRESS_BOOK_CONTACT_DELETED = "customer_address_book_contact_deleted",
408
- EMAIL_NOTIFICATION_UPSERTED = "email_notification_upserted",
409
- EMAIL_NOTIFICATION_DELETED = "email_notification_deleted",
410
408
  AVAILABLE_PROMOTIONS_UPSERTED = "available_promotions_upserted",
411
409
  AVAILABLE_PROMOTIONS_DELETED = "available_promotions_deleted",
412
410
  AVAILABLE_PROMOTIONS_UPSERTED_V_2 = "available_promotions_upserted_v2",
@@ -772,10 +770,6 @@ export declare enum LevyComponent {
772
770
  FREIGHT = "freight",
773
771
  VAT = "vat"
774
772
  }
775
- export declare enum LevyInclusion {
776
- TAX = "tax",
777
- DUTY = "duty"
778
- }
779
773
  export declare enum LevyStrategy {
780
774
  MINIMUM = "minimum",
781
775
  AVERAGE = "average",
@@ -1387,6 +1381,20 @@ export declare enum ShippingConfigurationType {
1387
1381
  DEFAULT = "default",
1388
1382
  VARIANT = "variant"
1389
1383
  }
1384
+ export declare enum ShippingLabelErrorCode {
1385
+ GENERIC_ERROR = "generic_error",
1386
+ CANCELLED_ORDER = "cancelled_order",
1387
+ CARRIER_OUTAGE = "carrier_outage",
1388
+ CATALOG_ISSUE = "catalog_issue",
1389
+ INVALID_DESTINATION = "invalid_destination",
1390
+ INVALID_ORIGIN = "invalid_origin",
1391
+ INVALID_SHIPPING_PARAMETERS = "invalid_shipping_parameters",
1392
+ MERCHANT_ERROR = "merchant_error",
1393
+ ORDER_NOT_FOUND = "order_not_found",
1394
+ ORDER_PROCESSING = "order_processing",
1395
+ RESTRICTED_ITEM = "restricted_item",
1396
+ UNSUPPORTED_LANE = "unsupported_lane"
1397
+ }
1390
1398
  export declare enum ShopifyGrant {
1391
1399
  CUSTOMER = "customer",
1392
1400
  DISCOUNT = "discount",
@@ -1447,29 +1455,6 @@ export declare enum TaxApplicability {
1447
1455
  NONE = "none",
1448
1456
  ALL = "all"
1449
1457
  }
1450
- export declare enum TaxDutyCalculatorValidationErrorCode {
1451
- GENERIC_ERROR = "generic_error",
1452
- DESTINATION_COUNTRY_NOT_DEFINED = "destination_country_not_defined",
1453
- DESTINATION_ADDRESS_ISO_3166_UNRECOGNIZED = "destination_address_iso3166_unrecognized",
1454
- LINE_ITEM_SHIPFROM_SHIPTO_COUNTRY_INVALID = "line_item_shipfrom_shipto_country_invalid",
1455
- LINE_ITEM_SHIP_FROM_INVALID = "line_item_ship_from_invalid",
1456
- LINE_ITEM_CURRENCY_ISO_4217_UNRECOGNIZED = "line_item_currency_iso4217_unrecognized",
1457
- LINE_QUANTITY_INVALID = "line_quantity_invalid",
1458
- LINE_ITEM_QUANTITY_INVALID = "line_item_quantity_invalid",
1459
- LINE_ITEM_UNIT_PRICE_PRECISION_INVALID = "line_item_unit_price_precision_invalid",
1460
- LINE_ITEM_UNIT_PRICE_NEGATIVE = "line_item_unit_price_negative",
1461
- LINE_ITEM_DISCOUNT_AMOUNT_PRECISION_INVALID = "line_item_discount_amount_precision_invalid",
1462
- LINE_ITEM_DISCOUNT_AMOUNT_POSITIVE = "line_item_discount_amount_positive",
1463
- LINE_ITEM_COUNTRY_OF_ORIGIN_ISO_3166_UNRECOGNIZED = "line_item_country_of_origin_iso3166_unrecognized",
1464
- LINE_ITEM_HS_CODE_INVALID = "line_item_hs_code_invalid",
1465
- LINE_ITEM_DUTY_PROVIDER_INVALID = "line_item_duty_provider_invalid",
1466
- SHIPPING_UNIT_PRICE_PRECISION_INVALID = "shipping_unit_price_precision_invalid",
1467
- SHIPPING_UNIT_PRICE_NEGATIVE = "shipping_unit_price_negative",
1468
- SHIPPING_DISCOUNT_AMOUNT_PRECISION_INVALID = "shipping_discount_amount_precision_invalid",
1469
- SHIPPING_DISCOUNT_AMOUNT_INVALID = "shipping_discount_amount_invalid",
1470
- MERCHANT_OF_RECORD_INVALID = "merchant_of_record_invalid",
1471
- WRONG_UNIT_SPECIFIED = "wrong_unit_specified"
1472
- }
1473
1458
  export declare enum TaxReportType {
1474
1459
  CONSUMER = "consumer",
1475
1460
  B_2_B = "b2b"
@@ -1666,15 +1651,3 @@ export declare enum ZeroAmountIndicator {
1666
1651
  ZERO = "zero",
1667
1652
  FREE = "free"
1668
1653
  }
1669
- export declare enum ZeroLevyReasonCode {
1670
- ZERO_BASIS = "zero_basis",
1671
- ZERO_RATE_ON_GOODS = "zero_rate_on_goods",
1672
- VALUE_ROUNDS_TO_ZERO = "value_rounds_to_zero",
1673
- ORDER_BELOW_DE_MINIMIS_THRESHOLD = "order_below_de_minimis_threshold",
1674
- AMOUNT_BELOW_DE_MINIMIS_THRESHOLD = "amount_below_de_minimis_threshold",
1675
- DELIVERED_UNPAID = "delivered_unpaid",
1676
- DUTY_FREE_DOMESTIC = "duty_free_domestic",
1677
- DUTY_FREE_INTRA_COMMUNITY = "duty_free_intra_community",
1678
- DUTY_FREE_REIMPORT = "duty_free_reimport",
1679
- DUTY_FREE_BY_TRADE_AGREEMENT = "duty_free_by_trade_agreement"
1680
- }
package/dist/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DutyItemApprovalStatus = exports.DiscountTarget = exports.DiscountRuleSubsidyTarget = exports.DiscountRuleStatus = exports.Direction = exports.DeliveryWindowLocation = exports.DeliveryWindowComponentSource = exports.DeliveryOptionCostDetailSource = exports.DeliveryOptionCostDetailComponentKey = exports.DeliveredDutyDisplayType = exports.DeliveredDuty = exports.DayOfWeek = exports.CvvResultCode = exports.CvvCode = exports.CustomerAddressType = exports.CurrencySymbolFormat = exports.CurrencyLabelFormatter = exports.CreditPaymentErrorCode = exports.CountryPickerSource = exports.CostEstimateSource = exports.ConsumerInvoiceStatus = exports.ConsumerInvoiceDocumentType = exports.ConsumerInvoiceCustomerType = exports.ChannelCurrencyCapability = exports.ChangeType = exports.CenterCapability = exports.CarrierChargeReason = exports.CardType = exports.CardErrorCode = exports.CaptureStatus = exports.CaptureDeclineCode = exports.Capability = exports.CancelReason = exports.Calendar = exports.B2BInvoiceType = exports.AvsCode = exports.AvailableFilterFormat = exports.AvailabilityStatus = exports.AuthorizationStatus = exports.AuthorizationResultActionType = exports.AuthorizationOption = exports.AuthorizationDeclineCode = exports.AuthenticationTechnique = exports.AttributeIntent = exports.AttributeDataType = exports.AdjustmentReasonKey = exports.AddressVerificationResultFieldCode = exports.AddressFieldName = exports.AbandonedOrderSettingStatus = exports.AbandonedOrderPromotionStatus = void 0;
4
- exports.MeasurementSystem = exports.MarginType = exports.LogisticsFormatPreference = exports.LocationErrorCode = exports.LevyStrategy = exports.LevyInclusion = exports.LevyComponent = exports.LaneStrategy = exports.LanePreselectPreference = exports.LaneDirection = exports.LabelTriggerMethod = exports.LabelRequestMethod = exports.ItemIdentifier = exports.ItemAvailabilityStatus = exports.InvitationErrorCode = exports.InputSpecificationType = exports.InlineWindowViewportSize = exports.IncotermConfiguration = exports.Incoterm = exports.IncludedLevyKey = exports.ImportType = exports.ImageTag = exports.HolidayCalendar = exports.GoodsSupply = exports.GenericErrorCode = exports.FulfillmentRouting = exports.FulfillmentMethodValue = exports.FulfillmentMethodType = exports.FulfillmentItemQuantityStatus = exports.FtpFileSource = exports.FraudStatus = exports.FraudLiability = exports.FraudEmailRuleDecision = exports.FlowRole = exports.FlowEntity = exports.FlowBehavior = exports.FeeDeductionType = exports.ExporterOfRecord = exports.ExportStatus = exports.ExperienceStatus = exports.ExperiencePaymentMethodTag = exports.ExperienceCountryStatus = exports.ExperienceCloneStatus = exports.ExclusionRuleState = exports.ExceptionType = exports.EventType = exports.Environment = exports.EntityIdentifierType = exports.EconomicTitleLocation = exports.EcommercePlatformType = void 0;
5
- exports.PriceFacetBoundary = exports.PriceDetailKey = exports.PriceDetailComponentKey = exports.PriceBookStatus = exports.PriceAccuracy = exports.PreferredServiceSelectionStrategy = exports.PostalType = exports.PhysicalDeliverySpecialSerivce = exports.PermittedHttpMethod = exports.PendingPayoutTransactionReasonCode = exports.PayoutStatusFailureCode = exports.PayoutAttachmentType = exports.PaymentType = exports.PaymentStatus = exports.PaymentSourceConfirmationActionType = exports.PaymentRequestReviewStatus = exports.PaymentRequestReviewCheckType = exports.PaymentRequestReviewCheckStatus = exports.PaymentMethodType = exports.PaymentMethodRuleContentKey = exports.PaymentMethodDataOptionType = exports.PaymentMethodCapability = exports.PaymentFailureCode = exports.PaymentErrorCode = exports.PaymentActionType = exports.PackageDimensionsSource = exports.OriginLocationSource = exports.OrganizationType = exports.OrganizationStatus = exports.OrganizationPaymentMethodTag = exports.OrderType = exports.OrderStorage = exports.OrderStatus = exports.OrderRefundSummaryPartialCharged = exports.OrderRefundSummaryIncludes = exports.OrderPriceDetailKey = exports.OrderPriceDetailComponentKey = exports.OrderPaymentType = exports.OrderMerchantOfRecord = exports.OrderErrorCode = exports.OrderChangeSource = exports.OptinResponseType = exports.OnboardingTradeSector = exports.OnboardingBlockedReason = exports.OnboardingApplicationStatus = exports.Method = exports.MerchantRejectedReason = exports.MerchantOfRecord = exports.MerchantGiftCardErrorCode = exports.MerchantDisabledReason = void 0;
6
- exports.TrackingNumberType = exports.TokenType = exports.TierStrategy = exports.TierEstimateType = exports.TierAvailability = exports.ThreedsTwoChallengeViewport = exports.ThreeDSecureCode = exports.TaxabilityValue = exports.TaxabilityType = exports.TaxVerificationResult = exports.TaxReportType = exports.TaxDutyCalculatorValidationErrorCode = exports.TaxApplicability = exports.SyncUnitOfTime = exports.SyncStreamType = exports.SyncRecordFailureReason = exports.SurchargeResponsibleParty = exports.SubcatalogItemStatus = exports.Strategy = exports.StoredMethodUsageStep = exports.StatementAttachmentType = exports.SortDirection = exports.ShopifySyncCheck = exports.ShopifyLocalizationMethod = exports.ShopifyGrant = exports.ShippingConfigurationType = exports.ShipmentRecipient = exports.ShipmentIntegrationType = exports.ScheduleExceptionStatus = exports.RoundingType = exports.RoundingMethod = exports.Role = exports.ReviewStatus = exports.ReversalStatus = exports.ReversalErrorCode = exports.ReturnTrackingStatus = exports.ReturnStatus = exports.ReturnPolicyState = exports.ReturnItemStatus = exports.RestrictedReviewStatus = exports.RegionType = exports.RefundStatus = exports.RefundFailureCategory = exports.RefundDeclineCode = exports.RatecardOwner = exports.QuoteErrorCode = exports.ProvinceType = exports.PromotionTriggerType = exports.ProductRestrictionRule = exports.PricingLevySetting = void 0;
7
- exports.ZeroLevyReasonCode = exports.ZeroAmountIndicator = exports.WithholdingDeductionType = exports.WebhookStatus = exports.Visibility = exports.ValueAddedService = exports.UserStatus = exports.UpdatePolicy = exports.UnitOfWeight = exports.UnitOfVolume = exports.UnitOfTime = exports.UnitOfMeasurement = exports.UnitOfLength = exports.TrueupSurchargeType = exports.TrueupSource = exports.TransactionSource = exports.TradeAgreementStatus = exports.TradeAgreementName = exports.TrackingStatus = void 0;
4
+ exports.MerchantDisabledReason = exports.MeasurementSystem = exports.MarginType = exports.LogisticsFormatPreference = exports.LocationErrorCode = exports.LevyStrategy = exports.LevyComponent = exports.LaneStrategy = exports.LanePreselectPreference = exports.LaneDirection = exports.LabelTriggerMethod = exports.LabelRequestMethod = exports.ItemIdentifier = exports.ItemAvailabilityStatus = exports.InvitationErrorCode = exports.InputSpecificationType = exports.InlineWindowViewportSize = exports.IncotermConfiguration = exports.Incoterm = exports.IncludedLevyKey = exports.ImportType = exports.ImageTag = exports.HolidayCalendar = exports.GoodsSupply = exports.GenericErrorCode = exports.FulfillmentRouting = exports.FulfillmentMethodValue = exports.FulfillmentMethodType = exports.FulfillmentItemQuantityStatus = exports.FtpFileSource = exports.FraudStatus = exports.FraudLiability = exports.FraudEmailRuleDecision = exports.FlowRole = exports.FlowEntity = exports.FlowBehavior = exports.FeeDeductionType = exports.ExporterOfRecord = exports.ExportStatus = exports.ExperienceStatus = exports.ExperiencePaymentMethodTag = exports.ExperienceCountryStatus = exports.ExperienceCloneStatus = exports.ExclusionRuleState = exports.ExceptionType = exports.EventType = exports.Environment = exports.EntityIdentifierType = exports.EconomicTitleLocation = exports.EcommercePlatformType = void 0;
5
+ exports.PricingLevySetting = exports.PriceFacetBoundary = exports.PriceDetailKey = exports.PriceDetailComponentKey = exports.PriceBookStatus = exports.PriceAccuracy = exports.PreferredServiceSelectionStrategy = exports.PostalType = exports.PhysicalDeliverySpecialSerivce = exports.PermittedHttpMethod = exports.PendingPayoutTransactionReasonCode = exports.PayoutStatusFailureCode = exports.PayoutAttachmentType = exports.PaymentType = exports.PaymentStatus = exports.PaymentSourceConfirmationActionType = exports.PaymentRequestReviewStatus = exports.PaymentRequestReviewCheckType = exports.PaymentRequestReviewCheckStatus = exports.PaymentMethodType = exports.PaymentMethodRuleContentKey = exports.PaymentMethodDataOptionType = exports.PaymentMethodCapability = exports.PaymentFailureCode = exports.PaymentErrorCode = exports.PaymentActionType = exports.PackageDimensionsSource = exports.OriginLocationSource = exports.OrganizationType = exports.OrganizationStatus = exports.OrganizationPaymentMethodTag = exports.OrderType = exports.OrderStorage = exports.OrderStatus = exports.OrderRefundSummaryPartialCharged = exports.OrderRefundSummaryIncludes = exports.OrderPriceDetailKey = exports.OrderPriceDetailComponentKey = exports.OrderPaymentType = exports.OrderMerchantOfRecord = exports.OrderErrorCode = exports.OrderChangeSource = exports.OptinResponseType = exports.OnboardingTradeSector = exports.OnboardingBlockedReason = exports.OnboardingApplicationStatus = exports.Method = exports.MerchantRejectedReason = exports.MerchantOfRecord = exports.MerchantGiftCardErrorCode = void 0;
6
+ exports.TrackingStatus = exports.TrackingNumberType = exports.TokenType = exports.TierStrategy = exports.TierEstimateType = exports.TierAvailability = exports.ThreedsTwoChallengeViewport = exports.ThreeDSecureCode = exports.TaxabilityValue = exports.TaxabilityType = exports.TaxVerificationResult = exports.TaxReportType = exports.TaxApplicability = exports.SyncUnitOfTime = exports.SyncStreamType = exports.SyncRecordFailureReason = exports.SurchargeResponsibleParty = exports.SubcatalogItemStatus = exports.Strategy = exports.StoredMethodUsageStep = exports.StatementAttachmentType = exports.SortDirection = exports.ShopifySyncCheck = exports.ShopifyLocalizationMethod = exports.ShopifyGrant = exports.ShippingLabelErrorCode = exports.ShippingConfigurationType = exports.ShipmentRecipient = exports.ShipmentIntegrationType = exports.ScheduleExceptionStatus = exports.RoundingType = exports.RoundingMethod = exports.Role = exports.ReviewStatus = exports.ReversalStatus = exports.ReversalErrorCode = exports.ReturnTrackingStatus = exports.ReturnStatus = exports.ReturnPolicyState = exports.ReturnItemStatus = exports.RestrictedReviewStatus = exports.RegionType = exports.RefundStatus = exports.RefundFailureCategory = exports.RefundDeclineCode = exports.RatecardOwner = exports.QuoteErrorCode = exports.ProvinceType = exports.PromotionTriggerType = exports.ProductRestrictionRule = void 0;
7
+ exports.ZeroAmountIndicator = exports.WithholdingDeductionType = exports.WebhookStatus = exports.Visibility = exports.ValueAddedService = exports.UserStatus = exports.UpdatePolicy = exports.UnitOfWeight = exports.UnitOfVolume = exports.UnitOfTime = exports.UnitOfMeasurement = exports.UnitOfLength = exports.TrueupSurchargeType = exports.TrueupSource = exports.TransactionSource = exports.TradeAgreementStatus = exports.TradeAgreementName = void 0;
8
8
  var AbandonedOrderPromotionStatus;
9
9
  (function (AbandonedOrderPromotionStatus) {
10
10
  AbandonedOrderPromotionStatus["ACTIVE"] = "active";
@@ -467,8 +467,6 @@ var EventType;
467
467
  EventType["CUSTOMER_DELETED"] = "customer_deleted";
468
468
  EventType["CUSTOMER_ADDRESS_BOOK_CONTACT_UPSERTED"] = "customer_address_book_contact_upserted";
469
469
  EventType["CUSTOMER_ADDRESS_BOOK_CONTACT_DELETED"] = "customer_address_book_contact_deleted";
470
- EventType["EMAIL_NOTIFICATION_UPSERTED"] = "email_notification_upserted";
471
- EventType["EMAIL_NOTIFICATION_DELETED"] = "email_notification_deleted";
472
470
  EventType["AVAILABLE_PROMOTIONS_UPSERTED"] = "available_promotions_upserted";
473
471
  EventType["AVAILABLE_PROMOTIONS_DELETED"] = "available_promotions_deleted";
474
472
  EventType["AVAILABLE_PROMOTIONS_UPSERTED_V_2"] = "available_promotions_upserted_v2";
@@ -873,11 +871,6 @@ var LevyComponent;
873
871
  LevyComponent["FREIGHT"] = "freight";
874
872
  LevyComponent["VAT"] = "vat";
875
873
  })(LevyComponent = exports.LevyComponent || (exports.LevyComponent = {}));
876
- var LevyInclusion;
877
- (function (LevyInclusion) {
878
- LevyInclusion["TAX"] = "tax";
879
- LevyInclusion["DUTY"] = "duty";
880
- })(LevyInclusion = exports.LevyInclusion || (exports.LevyInclusion = {}));
881
874
  var LevyStrategy;
882
875
  (function (LevyStrategy) {
883
876
  LevyStrategy["MINIMUM"] = "minimum";
@@ -1569,6 +1562,21 @@ var ShippingConfigurationType;
1569
1562
  ShippingConfigurationType["DEFAULT"] = "default";
1570
1563
  ShippingConfigurationType["VARIANT"] = "variant";
1571
1564
  })(ShippingConfigurationType = exports.ShippingConfigurationType || (exports.ShippingConfigurationType = {}));
1565
+ var ShippingLabelErrorCode;
1566
+ (function (ShippingLabelErrorCode) {
1567
+ ShippingLabelErrorCode["GENERIC_ERROR"] = "generic_error";
1568
+ ShippingLabelErrorCode["CANCELLED_ORDER"] = "cancelled_order";
1569
+ ShippingLabelErrorCode["CARRIER_OUTAGE"] = "carrier_outage";
1570
+ ShippingLabelErrorCode["CATALOG_ISSUE"] = "catalog_issue";
1571
+ ShippingLabelErrorCode["INVALID_DESTINATION"] = "invalid_destination";
1572
+ ShippingLabelErrorCode["INVALID_ORIGIN"] = "invalid_origin";
1573
+ ShippingLabelErrorCode["INVALID_SHIPPING_PARAMETERS"] = "invalid_shipping_parameters";
1574
+ ShippingLabelErrorCode["MERCHANT_ERROR"] = "merchant_error";
1575
+ ShippingLabelErrorCode["ORDER_NOT_FOUND"] = "order_not_found";
1576
+ ShippingLabelErrorCode["ORDER_PROCESSING"] = "order_processing";
1577
+ ShippingLabelErrorCode["RESTRICTED_ITEM"] = "restricted_item";
1578
+ ShippingLabelErrorCode["UNSUPPORTED_LANE"] = "unsupported_lane";
1579
+ })(ShippingLabelErrorCode = exports.ShippingLabelErrorCode || (exports.ShippingLabelErrorCode = {}));
1572
1580
  var ShopifyGrant;
1573
1581
  (function (ShopifyGrant) {
1574
1582
  ShopifyGrant["CUSTOMER"] = "customer";
@@ -1642,30 +1650,6 @@ var TaxApplicability;
1642
1650
  TaxApplicability["NONE"] = "none";
1643
1651
  TaxApplicability["ALL"] = "all";
1644
1652
  })(TaxApplicability = exports.TaxApplicability || (exports.TaxApplicability = {}));
1645
- var TaxDutyCalculatorValidationErrorCode;
1646
- (function (TaxDutyCalculatorValidationErrorCode) {
1647
- TaxDutyCalculatorValidationErrorCode["GENERIC_ERROR"] = "generic_error";
1648
- TaxDutyCalculatorValidationErrorCode["DESTINATION_COUNTRY_NOT_DEFINED"] = "destination_country_not_defined";
1649
- TaxDutyCalculatorValidationErrorCode["DESTINATION_ADDRESS_ISO_3166_UNRECOGNIZED"] = "destination_address_iso3166_unrecognized";
1650
- TaxDutyCalculatorValidationErrorCode["LINE_ITEM_SHIPFROM_SHIPTO_COUNTRY_INVALID"] = "line_item_shipfrom_shipto_country_invalid";
1651
- TaxDutyCalculatorValidationErrorCode["LINE_ITEM_SHIP_FROM_INVALID"] = "line_item_ship_from_invalid";
1652
- TaxDutyCalculatorValidationErrorCode["LINE_ITEM_CURRENCY_ISO_4217_UNRECOGNIZED"] = "line_item_currency_iso4217_unrecognized";
1653
- TaxDutyCalculatorValidationErrorCode["LINE_QUANTITY_INVALID"] = "line_quantity_invalid";
1654
- TaxDutyCalculatorValidationErrorCode["LINE_ITEM_QUANTITY_INVALID"] = "line_item_quantity_invalid";
1655
- TaxDutyCalculatorValidationErrorCode["LINE_ITEM_UNIT_PRICE_PRECISION_INVALID"] = "line_item_unit_price_precision_invalid";
1656
- TaxDutyCalculatorValidationErrorCode["LINE_ITEM_UNIT_PRICE_NEGATIVE"] = "line_item_unit_price_negative";
1657
- TaxDutyCalculatorValidationErrorCode["LINE_ITEM_DISCOUNT_AMOUNT_PRECISION_INVALID"] = "line_item_discount_amount_precision_invalid";
1658
- TaxDutyCalculatorValidationErrorCode["LINE_ITEM_DISCOUNT_AMOUNT_POSITIVE"] = "line_item_discount_amount_positive";
1659
- TaxDutyCalculatorValidationErrorCode["LINE_ITEM_COUNTRY_OF_ORIGIN_ISO_3166_UNRECOGNIZED"] = "line_item_country_of_origin_iso3166_unrecognized";
1660
- TaxDutyCalculatorValidationErrorCode["LINE_ITEM_HS_CODE_INVALID"] = "line_item_hs_code_invalid";
1661
- TaxDutyCalculatorValidationErrorCode["LINE_ITEM_DUTY_PROVIDER_INVALID"] = "line_item_duty_provider_invalid";
1662
- TaxDutyCalculatorValidationErrorCode["SHIPPING_UNIT_PRICE_PRECISION_INVALID"] = "shipping_unit_price_precision_invalid";
1663
- TaxDutyCalculatorValidationErrorCode["SHIPPING_UNIT_PRICE_NEGATIVE"] = "shipping_unit_price_negative";
1664
- TaxDutyCalculatorValidationErrorCode["SHIPPING_DISCOUNT_AMOUNT_PRECISION_INVALID"] = "shipping_discount_amount_precision_invalid";
1665
- TaxDutyCalculatorValidationErrorCode["SHIPPING_DISCOUNT_AMOUNT_INVALID"] = "shipping_discount_amount_invalid";
1666
- TaxDutyCalculatorValidationErrorCode["MERCHANT_OF_RECORD_INVALID"] = "merchant_of_record_invalid";
1667
- TaxDutyCalculatorValidationErrorCode["WRONG_UNIT_SPECIFIED"] = "wrong_unit_specified";
1668
- })(TaxDutyCalculatorValidationErrorCode = exports.TaxDutyCalculatorValidationErrorCode || (exports.TaxDutyCalculatorValidationErrorCode = {}));
1669
1653
  var TaxReportType;
1670
1654
  (function (TaxReportType) {
1671
1655
  TaxReportType["CONSUMER"] = "consumer";
@@ -1891,16 +1875,3 @@ var ZeroAmountIndicator;
1891
1875
  ZeroAmountIndicator["ZERO"] = "zero";
1892
1876
  ZeroAmountIndicator["FREE"] = "free";
1893
1877
  })(ZeroAmountIndicator = exports.ZeroAmountIndicator || (exports.ZeroAmountIndicator = {}));
1894
- var ZeroLevyReasonCode;
1895
- (function (ZeroLevyReasonCode) {
1896
- ZeroLevyReasonCode["ZERO_BASIS"] = "zero_basis";
1897
- ZeroLevyReasonCode["ZERO_RATE_ON_GOODS"] = "zero_rate_on_goods";
1898
- ZeroLevyReasonCode["VALUE_ROUNDS_TO_ZERO"] = "value_rounds_to_zero";
1899
- ZeroLevyReasonCode["ORDER_BELOW_DE_MINIMIS_THRESHOLD"] = "order_below_de_minimis_threshold";
1900
- ZeroLevyReasonCode["AMOUNT_BELOW_DE_MINIMIS_THRESHOLD"] = "amount_below_de_minimis_threshold";
1901
- ZeroLevyReasonCode["DELIVERED_UNPAID"] = "delivered_unpaid";
1902
- ZeroLevyReasonCode["DUTY_FREE_DOMESTIC"] = "duty_free_domestic";
1903
- ZeroLevyReasonCode["DUTY_FREE_INTRA_COMMUNITY"] = "duty_free_intra_community";
1904
- ZeroLevyReasonCode["DUTY_FREE_REIMPORT"] = "duty_free_reimport";
1905
- ZeroLevyReasonCode["DUTY_FREE_BY_TRADE_AGREEMENT"] = "duty_free_by_trade_agreement";
1906
- })(ZeroLevyReasonCode = exports.ZeroLevyReasonCode || (exports.ZeroLevyReasonCode = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-constants",
3
- "version": "2.13.66",
3
+ "version": "2.13.68",
4
4
  "description": "Definitions for enumerations found in the Flow API",
5
5
  "keywords": [
6
6
  "flow",
@@ -26,5 +26,5 @@
26
26
  "postgenerate": "npm run format",
27
27
  "prepublish": "npm run clean && npm run build"
28
28
  },
29
- "gitHead": "ae8c62050d9783d8da6c3d07da43b35187197742"
29
+ "gitHead": "5a525b0a21aca779c3ca5bb3f4a759c144095fd5"
30
30
  }
package/src/api.ts CHANGED
@@ -459,8 +459,6 @@ export enum EventType {
459
459
  CUSTOMER_DELETED = 'customer_deleted',
460
460
  CUSTOMER_ADDRESS_BOOK_CONTACT_UPSERTED = 'customer_address_book_contact_upserted',
461
461
  CUSTOMER_ADDRESS_BOOK_CONTACT_DELETED = 'customer_address_book_contact_deleted',
462
- EMAIL_NOTIFICATION_UPSERTED = 'email_notification_upserted',
463
- EMAIL_NOTIFICATION_DELETED = 'email_notification_deleted',
464
462
  AVAILABLE_PROMOTIONS_UPSERTED = 'available_promotions_upserted',
465
463
  AVAILABLE_PROMOTIONS_DELETED = 'available_promotions_deleted',
466
464
  AVAILABLE_PROMOTIONS_UPSERTED_V_2 = 'available_promotions_upserted_v2',
@@ -866,11 +864,6 @@ export enum LevyComponent {
866
864
  VAT = 'vat',
867
865
  }
868
866
 
869
- export enum LevyInclusion {
870
- TAX = 'tax',
871
- DUTY = 'duty',
872
- }
873
-
874
867
  export enum LevyStrategy {
875
868
  MINIMUM = 'minimum',
876
869
  AVERAGE = 'average',
@@ -1562,6 +1555,21 @@ export enum ShippingConfigurationType {
1562
1555
  VARIANT = 'variant',
1563
1556
  }
1564
1557
 
1558
+ export enum ShippingLabelErrorCode {
1559
+ GENERIC_ERROR = 'generic_error',
1560
+ CANCELLED_ORDER = 'cancelled_order',
1561
+ CARRIER_OUTAGE = 'carrier_outage',
1562
+ CATALOG_ISSUE = 'catalog_issue',
1563
+ INVALID_DESTINATION = 'invalid_destination',
1564
+ INVALID_ORIGIN = 'invalid_origin',
1565
+ INVALID_SHIPPING_PARAMETERS = 'invalid_shipping_parameters',
1566
+ MERCHANT_ERROR = 'merchant_error',
1567
+ ORDER_NOT_FOUND = 'order_not_found',
1568
+ ORDER_PROCESSING = 'order_processing',
1569
+ RESTRICTED_ITEM = 'restricted_item',
1570
+ UNSUPPORTED_LANE = 'unsupported_lane',
1571
+ }
1572
+
1565
1573
  export enum ShopifyGrant {
1566
1574
  CUSTOMER = 'customer',
1567
1575
  DISCOUNT = 'discount',
@@ -1635,30 +1643,6 @@ export enum TaxApplicability {
1635
1643
  ALL = 'all',
1636
1644
  }
1637
1645
 
1638
- export enum TaxDutyCalculatorValidationErrorCode {
1639
- GENERIC_ERROR = 'generic_error',
1640
- DESTINATION_COUNTRY_NOT_DEFINED = 'destination_country_not_defined',
1641
- DESTINATION_ADDRESS_ISO_3166_UNRECOGNIZED = 'destination_address_iso3166_unrecognized',
1642
- LINE_ITEM_SHIPFROM_SHIPTO_COUNTRY_INVALID = 'line_item_shipfrom_shipto_country_invalid',
1643
- LINE_ITEM_SHIP_FROM_INVALID = 'line_item_ship_from_invalid',
1644
- LINE_ITEM_CURRENCY_ISO_4217_UNRECOGNIZED = 'line_item_currency_iso4217_unrecognized',
1645
- LINE_QUANTITY_INVALID = 'line_quantity_invalid',
1646
- LINE_ITEM_QUANTITY_INVALID = 'line_item_quantity_invalid',
1647
- LINE_ITEM_UNIT_PRICE_PRECISION_INVALID = 'line_item_unit_price_precision_invalid',
1648
- LINE_ITEM_UNIT_PRICE_NEGATIVE = 'line_item_unit_price_negative',
1649
- LINE_ITEM_DISCOUNT_AMOUNT_PRECISION_INVALID = 'line_item_discount_amount_precision_invalid',
1650
- LINE_ITEM_DISCOUNT_AMOUNT_POSITIVE = 'line_item_discount_amount_positive',
1651
- LINE_ITEM_COUNTRY_OF_ORIGIN_ISO_3166_UNRECOGNIZED = 'line_item_country_of_origin_iso3166_unrecognized',
1652
- LINE_ITEM_HS_CODE_INVALID = 'line_item_hs_code_invalid',
1653
- LINE_ITEM_DUTY_PROVIDER_INVALID = 'line_item_duty_provider_invalid',
1654
- SHIPPING_UNIT_PRICE_PRECISION_INVALID = 'shipping_unit_price_precision_invalid',
1655
- SHIPPING_UNIT_PRICE_NEGATIVE = 'shipping_unit_price_negative',
1656
- SHIPPING_DISCOUNT_AMOUNT_PRECISION_INVALID = 'shipping_discount_amount_precision_invalid',
1657
- SHIPPING_DISCOUNT_AMOUNT_INVALID = 'shipping_discount_amount_invalid',
1658
- MERCHANT_OF_RECORD_INVALID = 'merchant_of_record_invalid',
1659
- WRONG_UNIT_SPECIFIED = 'wrong_unit_specified',
1660
- }
1661
-
1662
1646
  export enum TaxReportType {
1663
1647
  CONSUMER = 'consumer',
1664
1648
  B_2_B = 'b2b',
@@ -1883,16 +1867,3 @@ export enum ZeroAmountIndicator {
1883
1867
  ZERO = 'zero',
1884
1868
  FREE = 'free',
1885
1869
  }
1886
-
1887
- export enum ZeroLevyReasonCode {
1888
- ZERO_BASIS = 'zero_basis',
1889
- ZERO_RATE_ON_GOODS = 'zero_rate_on_goods',
1890
- VALUE_ROUNDS_TO_ZERO = 'value_rounds_to_zero',
1891
- ORDER_BELOW_DE_MINIMIS_THRESHOLD = 'order_below_de_minimis_threshold',
1892
- AMOUNT_BELOW_DE_MINIMIS_THRESHOLD = 'amount_below_de_minimis_threshold',
1893
- DELIVERED_UNPAID = 'delivered_unpaid',
1894
- DUTY_FREE_DOMESTIC = 'duty_free_domestic',
1895
- DUTY_FREE_INTRA_COMMUNITY = 'duty_free_intra_community',
1896
- DUTY_FREE_REIMPORT = 'duty_free_reimport',
1897
- DUTY_FREE_BY_TRADE_AGREEMENT = 'duty_free_by_trade_agreement',
1898
- }