Skip to main content

App

Stentor API Reference


Stentor API Reference / stentor-models/src / App

Interface: App

Defined in: packages/stentor-models/src/App/App.ts:66

App represents a set of publishing data and configuration data for running the app.

Extends​

Properties​

name​

name: string

Defined in: packages/stentor-models/src/App/App.ts:72

The name of the app.

Must be a minimum of two characters and maximum of 50 characters.


appId​

appId: string

Defined in: packages/stentor-models/src/App/App.ts:76

The ID for the application


organizationId?​

optional organizationId?: string

Defined in: packages/stentor-models/src/App/App.ts:80

Deprecated​


appKind?​

optional appKind?: AppKind

Defined in: packages/stentor-models/src/App/App.ts:85

What this app IS, for the purpose of counting and alarming. Absent means customer: never let an unmarked app drift into an excluded bucket.


alexaSkillId?​

optional alexaSkillId?: string

Defined in: packages/stentor-models/src/App/App.ts:91

The Alexa skill identifier.

Deprecated​

Use channels instead.


alexaCategory?​

optional alexaCategory?: string

Defined in: packages/stentor-models/src/App/App.ts:97

The Alexa category

Deprecated​

Use channels instead.


actionsOnGoogleId?​

optional actionsOnGoogleId?: string

Defined in: packages/stentor-models/src/App/App.ts:103

The project-id for the Action on Google project.

Deprecated​

Use channels instead


dialogflowClientToken?​

optional dialogflowClientToken?: string

Defined in: packages/stentor-models/src/App/App.ts:109

The client access token for Dialogflow that allows you to

Deprecated​

Use channels instead


dialogflowDeveloperToken?​

optional dialogflowDeveloperToken?: string

Defined in: packages/stentor-models/src/App/App.ts:115

The developer access token for Dialogflow that allows you to CRUD intents.

Deprecated​

Use channels instead


invocationName?​

optional invocationName?: string

Defined in: packages/stentor-models/src/App/App.ts:122

The invocation name.

This can be overridden for each individual channels.


summary?​

optional summary?: string

Defined in: packages/stentor-models/src/App/App.ts:129

The summary of the app.

Shorter than the description, maximum 160 characters.


description?​

optional description?: string

Defined in: packages/stentor-models/src/App/App.ts:136

The description for the app.

The description cannot be more than 4000 characters.


examplePhrases?​

optional examplePhrases?: string[]

Defined in: packages/stentor-models/src/App/App.ts:143

Example phrases the help users know how to use the app.

At least three are required for publication.


keywords?​

optional keywords?: string[]

Defined in: packages/stentor-models/src/App/App.ts:150

Keywords to help when searching directories for the app

Max of 30 keywords are allowed.


endPoint?​

optional endPoint?: string | AppEndpointMap

Defined in: packages/stentor-models/src/App/App.ts:156

The URL where the app is served

Deprecated​

Use channels instead


icon?​

optional icon?: string

Defined in: packages/stentor-models/src/App/App.ts:162

URL to the original icon file before transformation.

Aspect ratio must be 1:1 and minimum dimensions are 512x512.


largeIcon?​

optional largeIcon?: string

Defined in: packages/stentor-models/src/App/App.ts:168

A large icon for the app, 512x512 PNG

Required for some channels, such as Alexa


mediumIcon?​

optional mediumIcon?: string

Defined in: packages/stentor-models/src/App/App.ts:174

A medium icon for the app, 192x192 PNG.

Required for some channels, such as Actions On Google


smallIcon?​

optional smallIcon?: string

Defined in: packages/stentor-models/src/App/App.ts:180

A small icon for the app, 108x108 PNG

Required for some channels, such as Alexa


optional banner?: string

Defined in: packages/stentor-models/src/App/App.ts:187

URL of the original banner image with aspect ratio of 16:9 and minimum dimensions of 1920x1080.

Required for some channels, such as Actions on Google


largeBanner?​

optional largeBanner?: string

Defined in: packages/stentor-models/src/App/App.ts:194

Banner that is 1920x1080.

Required for some channels, such as Actions on Google


privacyPolicyUrl?​

optional privacyPolicyUrl?: string

Defined in: packages/stentor-models/src/App/App.ts:199

URL to the privacy policy for the app


termsOfUseUrl?​

optional termsOfUseUrl?: string

Defined in: packages/stentor-models/src/App/App.ts:204

URL to the terms of use for the app


testingInstructions?​

optional testingInstructions?: string

Defined in: packages/stentor-models/src/App/App.ts:209

Testing instructions for the app


platformData?​

optional platformData?: AppPlatformDataMap

Defined in: packages/stentor-models/src/App/App.ts:215

Channel specific data for the app.

Deprecated​

Use channels instead


channels?​

optional channels?: ChannelData[]

Defined in: packages/stentor-models/src/App/App.ts:225

Channels for the app.

Channels may have their own NLU and or Knowledgebase

Upgrade from platformData as it allows to publish the same assistant app multiple times to the same channel.


nlu?​

optional nlu?: NLUData[]

Defined in: packages/stentor-models/src/App/App.ts:230

The NLU available to the assistant application.


knowledgebase?​

optional knowledgebase?: KnowledgebaseData[]

Defined in: packages/stentor-models/src/App/App.ts:236

Alpha

Knowledgebase available to the assistant application.

This feature is currently under development


dataStreams?​

optional dataStreams?: AppDataStreamsMap

Defined in: packages/stentor-models/src/App/App.ts:243

Data streams for the app.

A data stream is outgoing data hookups, typically analytics platforms.


location?​

optional location?: Location

Defined in: packages/stentor-models/src/App/App.ts:247

Physical location associated with the app.


accountLinkType?​

optional accountLinkType?: string

Defined in: packages/stentor-models/src/App/App.ts:253

The type of the account linking. This tells us how to redeem the token for PII.

Deprecated​

Use channels instead


defaultLocale?​

optional defaultLocale?: Locale

Defined in: packages/stentor-models/src/App/App.ts:260

This is the locale in which the app is primarily focused on. The app will publish to this locale with the data provided. Items which can be overwritten can be placed in the "locale" section with the local necessary.

Default Value​

"en"

Overrides​

Localizable.defaultLocale


locales?​

optional locales?: Partial<Record<Locale, Partial<Pick<App, "name" | "summary" | "description" | "alexaCategory" | "invocationName" | "examplePhrases" | "keywords" | "icon" | "smallIcon" | "largeIcon" | "termsOfUseUrl" | "privacyPolicyUrl">>>>

Defined in: packages/stentor-models/src/App/App.ts:266

This is a series of locales that the apps supports. These can override the items that are in the original App. The items in the main app are used as defaults if they are not provided by this locale.

Overrides​

Localizable.locales


runtimeData?​

optional runtimeData?: AppRuntimeData

Defined in: packages/stentor-models/src/App/App.ts:270

Runtime data - anything you need from the app level metadata