App
Stentor API Reference / stentor-models/src / App
Interface: App
Defined in: packages/stentor-models/src/App/App.ts:56
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:62
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:66
The ID for the application
organizationId?β
optionalorganizationId:string
Defined in: packages/stentor-models/src/App/App.ts:70
Deprecatedβ
alexaSkillId?β
optionalalexaSkillId:string
Defined in: packages/stentor-models/src/App/App.ts:76
The Alexa skill identifier.
Deprecatedβ
Use channels instead.
alexaCategory?β
optionalalexaCategory:string
Defined in: packages/stentor-models/src/App/App.ts:82
The Alexa category
Deprecatedβ
Use channels instead.
actionsOnGoogleId?β
optionalactionsOnGoogleId:string
Defined in: packages/stentor-models/src/App/App.ts:88
The project-id for the Action on Google project.
Deprecatedβ
Use channels instead
dialogflowClientToken?β
optionaldialogflowClientToken:string
Defined in: packages/stentor-models/src/App/App.ts:94
The client access token for Dialogflow that allows you to
Deprecatedβ
Use channels instead
dialogflowDeveloperToken?β
optionaldialogflowDeveloperToken:string
Defined in: packages/stentor-models/src/App/App.ts:100
The developer access token for Dialogflow that allows you to CRUD intents.
Deprecatedβ
Use channels instead
invocationName?β
optionalinvocationName:string
Defined in: packages/stentor-models/src/App/App.ts:107
The invocation name.
This can be overridden for each individual channels.
summary?β
optionalsummary:string
Defined in: packages/stentor-models/src/App/App.ts:114
The summary of the app.
Shorter than the description, maximum 160 characters.
description?β
optionaldescription:string
Defined in: packages/stentor-models/src/App/App.ts:121
The description for the app.
The description cannot be more than 4000 characters.
examplePhrases?β
optionalexamplePhrases:string[]
Defined in: packages/stentor-models/src/App/App.ts:128
Example phrases the help users know how to use the app.
At least three are required for publication.
keywords?β
optionalkeywords:string[]
Defined in: packages/stentor-models/src/App/App.ts:135
Keywords to help when searching directories for the app
Max of 30 keywords are allowed.
endPoint?β
optionalendPoint:string|AppEndpointMap
Defined in: packages/stentor-models/src/App/App.ts:141
The URL where the app is served
Deprecatedβ
Use channels instead
icon?β
optionalicon:string
Defined in: packages/stentor-models/src/App/App.ts:147
URL to the original icon file before transformation.
Aspect ratio must be 1:1 and minimum dimensions are 512x512.
largeIcon?β
optionallargeIcon:string
Defined in: packages/stentor-models/src/App/App.ts:153
A large icon for the app, 512x512 PNG
Required for some channels, such as Alexa
mediumIcon?β
optionalmediumIcon:string
Defined in: packages/stentor-models/src/App/App.ts:159
A medium icon for the app, 192x192 PNG.
Required for some channels, such as Actions On Google
smallIcon?β
optionalsmallIcon:string
Defined in: packages/stentor-models/src/App/App.ts:165
A small icon for the app, 108x108 PNG
Required for some channels, such as Alexa
banner?β
optionalbanner:string
Defined in: packages/stentor-models/src/App/App.ts:172
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?β
optionallargeBanner:string
Defined in: packages/stentor-models/src/App/App.ts:179
Banner that is 1920x1080.
Required for some channels, such as Actions on Google
privacyPolicyUrl?β
optionalprivacyPolicyUrl:string
Defined in: packages/stentor-models/src/App/App.ts:184
URL to the privacy policy for the app
termsOfUseUrl?β
optionaltermsOfUseUrl:string
Defined in: packages/stentor-models/src/App/App.ts:189
URL to the terms of use for the app
testingInstructions?β
optionaltestingInstructions:string
Defined in: packages/stentor-models/src/App/App.ts:194
Testing instructions for the app
platformData?β
optionalplatformData:AppPlatformDataMap
Defined in: packages/stentor-models/src/App/App.ts:200
Channel specific data for the app.
Deprecatedβ
Use channels instead
channels?β
optionalchannels:ChannelData[]
Defined in: packages/stentor-models/src/App/App.ts:210
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?β
optionalnlu:NLUData[]
Defined in: packages/stentor-models/src/App/App.ts:215
The NLU available to the assistant application.
knowledgebase?β
optionalknowledgebase:KnowledgebaseData[]
Defined in: packages/stentor-models/src/App/App.ts:221
Alpha
Knowledgebase available to the assistant application.
This feature is currently under development
dataStreams?β
optionaldataStreams:AppDataStreamsMap
Defined in: packages/stentor-models/src/App/App.ts:228
Data streams for the app.
A data stream is outgoing data hookups, typically analytics platforms.
location?β
optionallocation:Location
Defined in: packages/stentor-models/src/App/App.ts:232
Physical location associated with the app.
accountLinkType?β
optionalaccountLinkType:string
Defined in: packages/stentor-models/src/App/App.ts:238
The type of the account linking. This tells us how to redeem the token for PII.
Deprecatedβ
Use channels instead
defaultLocale?β
optionaldefaultLocale:Locale
Defined in: packages/stentor-models/src/App/App.ts:245
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β
locales?β
optionallocales:Partial\<Record\<Locale,LocaleSpecificApp>>
Defined in: packages/stentor-models/src/App/App.ts:251
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β
runtimeData?β
optionalruntimeData:AppRuntimeData
Defined in: packages/stentor-models/src/App/App.ts:255
Runtime data - anything you need from the app level metadata