alexa / alexa-apis-for-nodejs

The Alexa APIs for NodeJS consists of JS and Typescript definitions that represent the request and response JSON of Alexa services. These models act as core dependency for the Alexa Skills Kit NodeJS SDK (https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs).
Apache License 2.0
60 stars 35 forks source link

Property 'ssml' does not exist on type 'PlainTextOutputSpeech'. #15

Closed JBaczuk closed 2 years ago

JBaczuk commented 4 years ago

Mocha test won't run:

import { Response, ResponseEnvelope } from 'ask-sdk-model'
const asyncHandler = promisify(handler)
it.only('responds that linking is required for this skill', async () => {
        const result: ResponseEnvelope = await asyncHandler(
          createRequest(
            RequestTypes.Intent,
            Intents.ListSystemCapabilities,
            SkillNames.MyIon,
            undefined
          ),
          null
        )
        console.log('result', JSON.stringify(result, null, 2))
        expect(result.response.outputSpeech.ssml).to.equal(
          '<speak>In order to use this skill, you must first link your account in the Alexa app.</speak>'
        )
      })
sjcomstock67 commented 2 years ago

Sorry, but this issue got dropped. Do you still have the issue?

JBaczuk commented 2 years ago

Sorry I’m not using this package anymore