集成是一个存在于我们数据库中的对象,允许用户访问关于Stella和4个不同应用程序之间的集成的相关信息,可以通过this.integrations访问。
例子:
this.integrations.dialogflow.type
Dialogflow
| Property | Type | Description | 
| clientEmail | string | Organization's email in Dialogflow | 
| enabled | boolean | Status of whether the integrations is enabled | 
| id | string | Integration ID | 
| privKey | string | Dialogflow Private key | 
| projectId | string | Project ID | 
| type | string | Integration application name | 
LUIS
| Property | Type | Description | 
| appId | string | Luis application id | 
| endpoint | string | Luis api endpoint | 
| id | string | Integration ID | 
| name | string | Name of the integration in Luis | 
| prod | boolean | Status of the integration has gone production | 
| region | string | Authoring region | 
| subscriptionKey | string | Luis subscription key | 
| staging | boolean | Status of the integration has gone staging | 
| type | string | Integration application name | 
Stripe
| Property | Type | Description | 
| name | string | Name of the integration in Stripe | 
| publicKey | string | Public key | 
| secretKey | string | Secret key | 
| type | string | Integration application name | 
WhatsApp
| Property | Type | Description | 
| accessToken | Access token | 
| accountId | WhatsApp Business account ID | 
| id | string | Integration ID | 
| name | string | Account name shown in WhatsApp | 
| type | string | Integration application name |