stentor-utils/src
Enumerationsβ
Classesβ
Interfacesβ
- CompilerProps
- MacroMap
- IntentMap
- HandlerMap
- ContainsInvalidResponseResult
- KeyDescription
- FuzzyMatchOptions
- MatchResult
- ObjectWithKeys
- PercentCompleteAndRemaining
- TokenizeOptions
Type Aliasesβ
- Comparable
- ResponseMacro
- DurationFormatToMSMultiplier
- ValidationErrorHandler
- ValidateKeyCallback
- PercentComplete
Variablesβ
- DEFAULT_MARCOS
- DURATION_FORMAT_TO_MS_MULTIPLIER
- SUPPORTED_DURATION_FORMATS
- ISO_8601_DURATION
- ISO_8601
- ISO_8601_RANGE
- ISO_8601_DATE_ONLY
- ISO_8601_TIME_ONLY
- CATCH_ALL_REGEX
- DETECTION_CATCH_ALL
- DETECTION_CATCH_ALL_WITH_EXCLUSION_REGEX
- DETECTION_INCLUDE_ONLY_REGEX
- DETECTION_ID_ONLY_REGEX
- PREPOSITIONS
- DEFAULT_STOP_WORDS
Functionsβ
- uniq
- dedupe
- random
- shuffle
- existsAndNotEmpty
- combine
- channelMatchesRequest
- cleanAnswer
- compare
- isComparable
compileJSONPathscompileSlotValues- addDurations
- durationFormatGreaterThan
- getDurationFrom
- getDurationMs
- isDuration
- isISO8601Duration
- isDateTime
- isDateTimeRange
- dateTimeToString
- isISO8601
- isISO8601Range
- isDateTimeRangeString
- getDateTimeFrom
- getDateTimeRangeFrom
- parseDate
- parseRelativeDate
- estimateSize
- maskEmail
- maskEmails
- isLambdaError
- getResponseByTag
- toMap
- hasUtterances
- hasContent
- hasReprompt
- hasForwards
- filterOutIntents
- forwardsTo
- handles
- determineIntentIdToPath
- responsesContain
- containsInvalidResponse
- md5
- hashCode
- generateIntentId
- pruneEmpty
- getJSONPath
- describeKey
- generateKey
- keyFromRequest
- toHTML
- hasMarkup
- findFuzzyMatch
- matchUtteranceToSlotTypeValue
- matchRequestSlotToSlotTypeValue
- fetchUrl
- isUrl
- baseUrl
- linkify
- sanitizePhoneNumber
- maskNumber
- maskPhoneNumbers
- numberToWord
- formatNumberForDisplay
- wordToNumber
- isNumeric
- findValueForKey
- findValuesForKey
- removeItems
- subset
- objHasAttrs
- throwIfDoesContain
- throwIfDoesNotContain
- throwIfContainsExtra
- removeEmptyStrings
- percentComplete
- combineRequestSlots
- getSlotValue
- slot
- getSlots
- hasSlots
- requestSlotValueToString
- requestSlotsToString
- slotExists
- toResponseOutput
- dateTimeToSpeech
- dateTimeRangeToSpeech
- durationToSpeech
- slotValueToSpeech
- mergeSuggestions
- listisize
- toWords
- isDefiniteArticle
- isIndefiniteArticle
- isPreposition
- containsNumbers
- containsUppercase
- isValidSSML
- cleanInvalid
- dessmlify
- ssmlify
- concatText
- concatSSML
- removeTagsWithContent
- capitalize
- cleanTags
- compareStrings
- randomString
- removePostFix
- toNumber
- toNumberIfPossible
- tokenize
- trim
- truncate
- splitTextIntoSentences
- isQuestion
- popLastQuestion
- requestToMessage
- responseToMessage
- uuid