/** * Enums for Nova Poshta API * All constants and enumerated values used in the API */ export declare enum NovaPoshtaModel { TrackingDocument = "TrackingDocumentGeneral", InternetDocument = "InternetDocumentGeneral", Common = "CommonGeneral", Address = "AddressGeneral", Counterparty = "CounterpartyGeneral", ContactPerson = "ContactPersonGeneral", ScanSheet = "ScanSheetGeneral", AdditionalService = "AdditionalServiceGeneral" } export declare enum NovaPoshtaMethod { GetStatusDocuments = "getStatusDocuments", GetDocumentsEWMovement = "getDocumentsEWMovement", Save = "save", Update = "update", Delete = "delete", GetDocumentPrice = "getDocumentPrice", GetDocumentDeliveryDate = "getDocumentDeliveryDate", GetDocumentList = "getDocumentList", GenerateReport = "generateReport", GetCargoTypes = "getCargoTypes", GetBackwardDeliveryCargoTypes = "getBackwardDeliveryCargoTypes", GetPalletsList = "getPalletsList", GetTypesOfPayersForRedelivery = "getTypesOfPayersForRedelivery", GetPackList = "getPackList", GetTiresWheelsList = "getTiresWheelsList", GetCargoDescriptionList = "getCargoDescriptionList", GetMessageCodeText = "getMessageCodeText", GetServiceTypes = "getServiceTypes", GetOwnershipFormsList = "getOwnershipFormsList", GetTimeIntervals = "getTimeIntervals", GetPickupTimeIntervals = "getPickupTimeIntervals", GetSettlements = "getSettlements", GetCities = "getCities", GetAreas = "getAreas", GetWarehouses = "getWarehouses", GetWarehouseTypes = "getWarehouseTypes", GetStreet = "getStreet", SearchSettlements = "searchSettlements", SearchSettlementStreets = "searchSettlementStreets", GetSettlementAreas = "getSettlementAreas", GetSettlementCountryRegion = "getSettlementCountryRegion" } export declare enum PaymentMethod { Cash = "Cash", NonCash = "NonCash" } export declare enum CargoType { Parcel = "Parcel", Cargo = "Cargo", Documents = "Documents", TiresWheels = "TiresWheels", Pallet = "Pallet" } export declare enum ServiceType { /** Door to door delivery */ DoorsDoors = "DoorsDoors", /** Door to warehouse delivery */ DoorsWarehouse = "DoorsWarehouse", /** Warehouse to warehouse delivery */ WarehouseWarehouse = "WarehouseWarehouse", /** Warehouse to door delivery */ WarehouseDoors = "WarehouseDoors" } export declare enum PayerType { /** Sender pays */ Sender = "Sender", /** Recipient pays */ Recipient = "Recipient", /** Third person pays */ ThirdPerson = "ThirdPerson" } export declare enum DeliveryStatus { /** Created by sender but not yet dispatched */ CreatedBySender = 1, /** Deleted */ Deleted = 2, /** Number not found */ NotFound = 3, /** Shipment in sender city (interregional) */ InSenderCityInterregional = 4, /** Shipment in sender city (local within city) */ InSenderCityLocal = 41, /** Shipment en route to recipient city */ InTransitToRecipientCity = 5, /** Shipment in recipient city, awaiting delivery */ InRecipientCityAwaitingDelivery = 6, /** Arrived at warehouse */ ArrivedAtWarehouse = 7, /** Arrived at warehouse (loaded in Postomat) */ ArrivedAtPostomat = 8, /** Shipment received */ Received = 9, /** Shipment received, awaiting money transfer SMS */ ReceivedAwaitingMoneyTransfer = 10, /** Shipment received, money transfer issued */ ReceivedAndMoneyTransferred = 11, /** Nova Poshta is packaging your shipment */ BeingPacked = 12, /** On the way to recipient */ OnTheWayToRecipient = 101, /** Refused by recipient (return order created) */ RefusedByRecipientReturnCreated = 102, /** Refused by recipient */ RefusedByRecipient = 103, /** Address changed */ AddressChanged = 104, /** Storage terminated */ StorageTerminated = 105, /** Received and return waybill created */ ReturnWaybillCreated = 106, /** Failed delivery attempt due to recipient absence */ FailedDeliveryAttempt = 111, /** Delivery date rescheduled by recipient */ DeliveryRescheduledByRecipient = 112 } export declare enum WarehouseType { Branch = "Branch", Postomat = "Postomat", PickupPoint = "PickupPoint" } export declare enum SettlementType { City = "\u043C.", Town = "\u0441\u043C\u0442.", Village = "\u0441.", UrbanVillage = "\u0441\u0449." } export declare enum OwnershipForm { PrivatePerson = "PrivatePerson", Organization = "Organization" } export declare enum CounterpartyType { PrivatePerson = "PrivatePerson", Organization = "Organization" } export declare enum ContactPersonType { Sender = "Sender", Recipient = "Recipient" } export declare enum TimeIntervalType { CityDeliveryTimeInterval1 = "CityDeliveryTimeInterval1",// 9-14 CityDeliveryTimeInterval2 = "CityDeliveryTimeInterval2",// 14-18 CityDeliveryTimeInterval3 = "CityDeliveryTimeInterval3",// 18-20 CityDeliveryTimeInterval4 = "CityDeliveryTimeInterval4" } export declare enum PickupTimeInterval { CityPickingTimeInterval1 = "CityPickingTimeInterval1", CityPickingTimeInterval2 = "CityPickingTimeInterval2", CityPickingTimeInterval3 = "CityPickingTimeInterval3", CityPickingTimeInterval4 = "CityPickingTimeInterval4" } export declare enum BackwardDeliveryType { Money = "Money", Documents = "Documents", Cargo = "Cargo" } export declare enum BackwardDeliverySubtype { MoneyTransfer = "MoneyTransfer", DocumentsReturn = "DocumentsReturn", CargoReturn = "CargoReturn" } export declare enum AdditionalService { /** Saturday delivery */ SaturdayDelivery = "SaturdayDelivery", /** Delivery to hands personally */ DeliveryByHand = "DeliveryByHand", /** Payment control */ AfterpaymentOnGoodsCost = "AfterpaymentOnGoodsCost", /** Local express */ LocalExpress = "LocalExpress", /** Preferred delivery date */ PreferredDeliveryDate = "PreferredDeliveryDate", /** Delivery in time intervals */ TimeInterval = "TimeInterval", /** Packing number specification */ PackingNumber = "PackingNumber", /** Client barcode specification */ InfoRegClientBarcodes = "InfoRegClientBarcodes", /** Accompanying documents */ AccompanyingDocuments = "AccompanyingDocuments", /** Additional information */ AdditionalInformation = "AdditionalInformation", /** Floor lifting service */ NumberOfFloorsLifting = "NumberOfFloorsLifting", /** Floor descent service */ NumberOfFloorsDescent = "NumberOfFloorsDescent", /** Piece-by-piece control */ ForwardingCount = "ForwardingCount", /** RedBox service */ RedBoxBarcode = "RedBoxBarcode", /** Special cargo handling */ SpecialCargo = "SpecialCargo" } export declare enum DocumentType { InternetDocument = "InternetDocument", ReturnDocument = "ReturnDocument", RedirectionDocument = "RedirectionDocument" } export declare enum Currency { UAH = "UAH", USD = "USD", EUR = "EUR", RUB = "RUB" } export declare enum Language { Ukrainian = "ua", Russian = "ru" } export declare enum DeliveryDay { Monday = "Delivery1", Tuesday = "Delivery2", Wednesday = "Delivery3", Thursday = "Delivery4", Friday = "Delivery5", Saturday = "Delivery6", Sunday = "Delivery7" } export declare enum PackingType { Box = "Box", Tube = "Tube", Envelope = "Envelope", Bag = "Bag" } export declare enum TireWheelType { Tires = "Tires", Wheels = "Wheels" } export declare enum StreetType { Street = "\u0432\u0443\u043B.", Avenue = "\u043F\u0440\u043E\u0441\u043F.", Boulevard = "\u0431\u0443\u043B.", Lane = "\u043F\u0440\u043E\u0432.", Square = "\u043F\u043B.", Embankment = "\u043D\u0430\u0431." } export declare const NOVA_POSHTA_MODELS: NovaPoshtaModel[]; export declare const NOVA_POSHTA_METHODS: NovaPoshtaMethod[]; export declare const PAYMENT_METHODS: PaymentMethod[]; export declare const CARGO_TYPES: CargoType[]; export declare const SERVICE_TYPES: ServiceType[]; export declare const PAYER_TYPES: PayerType[]; export declare const DELIVERY_STATUSES: (string | DeliveryStatus)[]; export declare function isPaymentMethod(value: string): value is PaymentMethod; export declare function isCargoType(value: string): value is CargoType; export declare function isServiceType(value: string): value is ServiceType; export declare function isPayerType(value: string): value is PayerType; //# sourceMappingURL=enums.d.ts.map