@botpress/client 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.cjs +12 -12
- package/dist/bundle.cjs.map +4 -4
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +2463 -1065
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1810,13 +1810,13 @@ interface ConfigureIntegrationRequestBody$1 {
|
|
|
1810
1810
|
/**
|
|
1811
1811
|
* Unique identifier of the integration that was installed on the bot
|
|
1812
1812
|
*/
|
|
1813
|
-
identifier?: string;
|
|
1813
|
+
identifier?: string | null;
|
|
1814
1814
|
/**
|
|
1815
1815
|
* Recurring schedule on which `register()` will be called on the integration
|
|
1816
1816
|
*/
|
|
1817
1817
|
scheduleRegisterCall?: "hourly" | "daily" | "weekly" | "bi-weekly" | "monthly" | "bi-monthly" | "quarterly" | "yearly";
|
|
1818
1818
|
/**
|
|
1819
|
-
* Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual
|
|
1819
|
+
* **EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations.
|
|
1820
1820
|
*/
|
|
1821
1821
|
sandboxIdentifiers?: {
|
|
1822
1822
|
[k: string]: {} | null;
|
|
@@ -3547,6 +3547,12 @@ interface GetPublicIntegrationByIdResponse$1 {
|
|
|
3547
3547
|
[k: string]: any;
|
|
3548
3548
|
};
|
|
3549
3549
|
};
|
|
3550
|
+
/**
|
|
3551
|
+
* Optional attributes
|
|
3552
|
+
*/
|
|
3553
|
+
attributes?: {
|
|
3554
|
+
[k: string]: string;
|
|
3555
|
+
};
|
|
3550
3556
|
};
|
|
3551
3557
|
};
|
|
3552
3558
|
/**
|
|
@@ -3932,6 +3938,12 @@ interface GetPublicIntegrationResponse$1 {
|
|
|
3932
3938
|
[k: string]: any;
|
|
3933
3939
|
};
|
|
3934
3940
|
};
|
|
3941
|
+
/**
|
|
3942
|
+
* Optional attributes
|
|
3943
|
+
*/
|
|
3944
|
+
attributes?: {
|
|
3945
|
+
[k: string]: string;
|
|
3946
|
+
};
|
|
3935
3947
|
};
|
|
3936
3948
|
};
|
|
3937
3949
|
/**
|
|
@@ -4029,276 +4041,203 @@ interface GetPublicIntegrationResponse$1 {
|
|
|
4029
4041
|
};
|
|
4030
4042
|
}
|
|
4031
4043
|
|
|
4032
|
-
interface
|
|
4044
|
+
interface ListPublicPluginsRequestHeaders$1 {
|
|
4033
4045
|
}
|
|
4034
|
-
interface
|
|
4046
|
+
interface ListPublicPluginsRequestQuery$1 {
|
|
4047
|
+
nextToken?: string;
|
|
4048
|
+
name?: string;
|
|
4049
|
+
version?: string;
|
|
4035
4050
|
}
|
|
4036
|
-
interface
|
|
4051
|
+
interface ListPublicPluginsRequestParams$1 {
|
|
4037
4052
|
}
|
|
4038
|
-
interface
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
[k: string]: {
|
|
4044
|
-
/**
|
|
4045
|
-
* Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)
|
|
4046
|
-
*/
|
|
4047
|
-
type: "conversation" | "user" | "bot" | "task";
|
|
4048
|
-
/**
|
|
4049
|
-
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
4050
|
-
*/
|
|
4051
|
-
schema: {
|
|
4052
|
-
[k: string]: any;
|
|
4053
|
-
};
|
|
4054
|
-
/**
|
|
4055
|
-
* Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire.
|
|
4056
|
-
*/
|
|
4057
|
-
expiry?: number;
|
|
4058
|
-
};
|
|
4059
|
-
};
|
|
4060
|
-
/**
|
|
4061
|
-
* Events definition
|
|
4062
|
-
*/
|
|
4063
|
-
events?: {
|
|
4053
|
+
interface ListPublicPluginsRequestBody$1 {
|
|
4054
|
+
}
|
|
4055
|
+
type ListPublicPluginsInput$1 = ListPublicPluginsRequestBody$1 & ListPublicPluginsRequestHeaders$1 & ListPublicPluginsRequestQuery$1 & ListPublicPluginsRequestParams$1;
|
|
4056
|
+
interface ListPublicPluginsResponse$1 {
|
|
4057
|
+
plugins: {
|
|
4064
4058
|
/**
|
|
4065
|
-
*
|
|
4059
|
+
* ID of the [Plugin](#schema_plugin)
|
|
4066
4060
|
*/
|
|
4067
|
-
|
|
4068
|
-
/**
|
|
4069
|
-
* Title of the event
|
|
4070
|
-
*/
|
|
4071
|
-
title?: string;
|
|
4072
|
-
/**
|
|
4073
|
-
* Description of the event
|
|
4074
|
-
*/
|
|
4075
|
-
description?: string;
|
|
4076
|
-
schema: {
|
|
4077
|
-
[k: string]: any;
|
|
4078
|
-
};
|
|
4079
|
-
};
|
|
4080
|
-
};
|
|
4081
|
-
recurringEvents?: {
|
|
4082
|
-
[k: string]: {
|
|
4083
|
-
schedule: {
|
|
4084
|
-
cron: string;
|
|
4085
|
-
};
|
|
4086
|
-
type: string;
|
|
4087
|
-
payload: {
|
|
4088
|
-
[k: string]: any;
|
|
4089
|
-
};
|
|
4090
|
-
};
|
|
4091
|
-
};
|
|
4092
|
-
/**
|
|
4093
|
-
* Subscriptions of the bot
|
|
4094
|
-
*/
|
|
4095
|
-
subscriptions?: {
|
|
4061
|
+
id: string;
|
|
4096
4062
|
/**
|
|
4097
|
-
*
|
|
4063
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
4098
4064
|
*/
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4065
|
+
createdAt: string;
|
|
4066
|
+
/**
|
|
4067
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
4068
|
+
*/
|
|
4069
|
+
updatedAt: string;
|
|
4070
|
+
/**
|
|
4071
|
+
* Name of the [Plugin](#schema_plugin)
|
|
4072
|
+
*/
|
|
4073
|
+
name: string;
|
|
4074
|
+
/**
|
|
4075
|
+
* Version of the [Plugin](#schema_plugin)
|
|
4076
|
+
*/
|
|
4077
|
+
version: string;
|
|
4078
|
+
/**
|
|
4079
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
4080
|
+
*/
|
|
4081
|
+
title: string;
|
|
4082
|
+
/**
|
|
4083
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
4084
|
+
*/
|
|
4085
|
+
description: string;
|
|
4086
|
+
/**
|
|
4087
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
4088
|
+
*/
|
|
4089
|
+
iconUrl: string;
|
|
4090
|
+
/**
|
|
4091
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
4092
|
+
*/
|
|
4093
|
+
readmeUrl: string;
|
|
4094
|
+
/**
|
|
4095
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
4096
|
+
*/
|
|
4097
|
+
public: boolean;
|
|
4098
|
+
}[];
|
|
4099
|
+
meta: {
|
|
4100
|
+
/**
|
|
4101
|
+
* The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
|
|
4102
|
+
*/
|
|
4103
|
+
nextToken?: string;
|
|
4102
4104
|
};
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4105
|
+
}
|
|
4106
|
+
|
|
4107
|
+
interface GetPublicPluginByIdRequestHeaders$1 {
|
|
4108
|
+
}
|
|
4109
|
+
interface GetPublicPluginByIdRequestQuery$1 {
|
|
4110
|
+
}
|
|
4111
|
+
interface GetPublicPluginByIdRequestParams$1 {
|
|
4112
|
+
id: string;
|
|
4113
|
+
}
|
|
4114
|
+
interface GetPublicPluginByIdRequestBody$1 {
|
|
4115
|
+
}
|
|
4116
|
+
type GetPublicPluginByIdInput$1 = GetPublicPluginByIdRequestBody$1 & GetPublicPluginByIdRequestHeaders$1 & GetPublicPluginByIdRequestQuery$1 & GetPublicPluginByIdRequestParams$1;
|
|
4117
|
+
interface GetPublicPluginByIdResponse$1 {
|
|
4118
|
+
plugin: {
|
|
4107
4119
|
/**
|
|
4108
|
-
*
|
|
4120
|
+
* ID of the [Plugin](#schema_plugin)
|
|
4109
4121
|
*/
|
|
4110
|
-
|
|
4122
|
+
id: string;
|
|
4123
|
+
/**
|
|
4124
|
+
* Name of the [Plugin](#schema_plugin)
|
|
4125
|
+
*/
|
|
4126
|
+
name: string;
|
|
4127
|
+
/**
|
|
4128
|
+
* Version of the [Plugin](#schema_plugin)
|
|
4129
|
+
*/
|
|
4130
|
+
version: string;
|
|
4131
|
+
/**
|
|
4132
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
4133
|
+
*/
|
|
4134
|
+
createdAt: string;
|
|
4135
|
+
/**
|
|
4136
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
4137
|
+
*/
|
|
4138
|
+
updatedAt: string;
|
|
4139
|
+
/**
|
|
4140
|
+
* Configuration definition
|
|
4141
|
+
*/
|
|
4142
|
+
configuration: {
|
|
4111
4143
|
/**
|
|
4112
|
-
* Title of the
|
|
4144
|
+
* Title of the configuration
|
|
4113
4145
|
*/
|
|
4114
4146
|
title?: string;
|
|
4115
4147
|
/**
|
|
4116
|
-
* Description of the
|
|
4148
|
+
* Description of the configuration
|
|
4117
4149
|
*/
|
|
4118
4150
|
description?: string;
|
|
4119
|
-
billable?: boolean;
|
|
4120
|
-
cacheable?: boolean;
|
|
4121
|
-
input: {
|
|
4122
|
-
schema: {
|
|
4123
|
-
[k: string]: any;
|
|
4124
|
-
};
|
|
4125
|
-
};
|
|
4126
|
-
output: {
|
|
4127
|
-
schema: {
|
|
4128
|
-
[k: string]: any;
|
|
4129
|
-
};
|
|
4130
|
-
};
|
|
4131
|
-
};
|
|
4132
|
-
};
|
|
4133
|
-
configuration?: {
|
|
4134
|
-
/**
|
|
4135
|
-
* Configuration data
|
|
4136
|
-
*/
|
|
4137
|
-
data?: {
|
|
4138
|
-
[k: string]: any;
|
|
4139
|
-
};
|
|
4140
|
-
/**
|
|
4141
|
-
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
4142
|
-
*/
|
|
4143
|
-
schema?: {
|
|
4144
|
-
[k: string]: any;
|
|
4145
|
-
};
|
|
4146
|
-
};
|
|
4147
|
-
user?: {
|
|
4148
|
-
tags?: {
|
|
4149
4151
|
/**
|
|
4150
|
-
*
|
|
4152
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
4151
4153
|
*/
|
|
4154
|
+
schema: {
|
|
4155
|
+
[k: string]: any;
|
|
4156
|
+
};
|
|
4157
|
+
};
|
|
4158
|
+
states: {
|
|
4152
4159
|
[k: string]: {
|
|
4153
4160
|
/**
|
|
4154
|
-
*
|
|
4161
|
+
* Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)
|
|
4155
4162
|
*/
|
|
4156
|
-
|
|
4163
|
+
type: "conversation" | "user" | "bot" | "task";
|
|
4157
4164
|
/**
|
|
4158
|
-
*
|
|
4165
|
+
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
4159
4166
|
*/
|
|
4160
|
-
|
|
4167
|
+
schema: {
|
|
4168
|
+
[k: string]: any;
|
|
4169
|
+
};
|
|
4170
|
+
/**
|
|
4171
|
+
* Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire.
|
|
4172
|
+
*/
|
|
4173
|
+
expiry?: number;
|
|
4161
4174
|
};
|
|
4162
4175
|
};
|
|
4163
|
-
|
|
4164
|
-
conversation?: {
|
|
4165
|
-
tags?: {
|
|
4176
|
+
events: {
|
|
4166
4177
|
/**
|
|
4167
|
-
* Definition
|
|
4178
|
+
* Event Definition
|
|
4168
4179
|
*/
|
|
4169
4180
|
[k: string]: {
|
|
4170
4181
|
/**
|
|
4171
|
-
* Title of the
|
|
4182
|
+
* Title of the event
|
|
4172
4183
|
*/
|
|
4173
4184
|
title?: string;
|
|
4174
4185
|
/**
|
|
4175
|
-
* Description of the
|
|
4186
|
+
* Description of the event
|
|
4176
4187
|
*/
|
|
4177
4188
|
description?: string;
|
|
4189
|
+
schema: {
|
|
4190
|
+
[k: string]: any;
|
|
4191
|
+
};
|
|
4178
4192
|
};
|
|
4179
4193
|
};
|
|
4180
|
-
|
|
4181
|
-
message?: {
|
|
4182
|
-
tags?: {
|
|
4194
|
+
actions: {
|
|
4183
4195
|
/**
|
|
4184
|
-
*
|
|
4196
|
+
* Action definition
|
|
4185
4197
|
*/
|
|
4186
4198
|
[k: string]: {
|
|
4187
4199
|
/**
|
|
4188
|
-
* Title of the
|
|
4200
|
+
* Title of the action
|
|
4189
4201
|
*/
|
|
4190
4202
|
title?: string;
|
|
4191
4203
|
/**
|
|
4192
|
-
* Description of the
|
|
4204
|
+
* Description of the action
|
|
4193
4205
|
*/
|
|
4194
4206
|
description?: string;
|
|
4207
|
+
billable?: boolean;
|
|
4208
|
+
cacheable?: boolean;
|
|
4209
|
+
input: {
|
|
4210
|
+
schema: {
|
|
4211
|
+
[k: string]: any;
|
|
4212
|
+
};
|
|
4213
|
+
};
|
|
4214
|
+
output: {
|
|
4215
|
+
schema: {
|
|
4216
|
+
[k: string]: any;
|
|
4217
|
+
};
|
|
4218
|
+
};
|
|
4219
|
+
/**
|
|
4220
|
+
* Optional attributes
|
|
4221
|
+
*/
|
|
4222
|
+
attributes?: {
|
|
4223
|
+
[k: string]: string;
|
|
4224
|
+
};
|
|
4195
4225
|
};
|
|
4196
4226
|
};
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
*/
|
|
4211
|
-
name?: string;
|
|
4212
|
-
/**
|
|
4213
|
-
* Media files associated with the [Bot](#schema_bot)
|
|
4214
|
-
*/
|
|
4215
|
-
medias?: {
|
|
4216
|
-
url: string;
|
|
4217
|
-
name: string;
|
|
4218
|
-
}[];
|
|
4219
|
-
/**
|
|
4220
|
-
* URL of the [Bot](#schema_bot); Only available for dev bots
|
|
4221
|
-
*/
|
|
4222
|
-
url?: string;
|
|
4223
|
-
/**
|
|
4224
|
-
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
4225
|
-
*/
|
|
4226
|
-
dev?: boolean;
|
|
4227
|
-
}
|
|
4228
|
-
type CreateBotInput$1 = CreateBotRequestBody$1 & CreateBotRequestHeaders$1 & CreateBotRequestQuery$1 & CreateBotRequestParams$1;
|
|
4229
|
-
interface CreateBotResponse$1 {
|
|
4230
|
-
bot: {
|
|
4231
|
-
/**
|
|
4232
|
-
* Id of the [Bot](#schema_bot)
|
|
4233
|
-
*/
|
|
4234
|
-
id: string;
|
|
4235
|
-
/**
|
|
4236
|
-
* Creation date of the [Bot](#schema_bot) in ISO 8601 format
|
|
4237
|
-
*/
|
|
4238
|
-
createdAt: string;
|
|
4239
|
-
/**
|
|
4240
|
-
* Updating date of the [Bot](#schema_bot) in ISO 8601 format
|
|
4241
|
-
*/
|
|
4242
|
-
updatedAt: string;
|
|
4243
|
-
/**
|
|
4244
|
-
* Signing secret of the [Bot](#schema_bot)
|
|
4245
|
-
*/
|
|
4246
|
-
signingSecret: string;
|
|
4247
|
-
/**
|
|
4248
|
-
* A mapping of integrations to their configuration
|
|
4249
|
-
*/
|
|
4250
|
-
integrations: {
|
|
4251
|
-
[k: string]: {
|
|
4252
|
-
enabled: boolean;
|
|
4253
|
-
/**
|
|
4254
|
-
* Name of the [Integration](#schema_integration)
|
|
4255
|
-
*/
|
|
4256
|
-
name: string;
|
|
4257
|
-
/**
|
|
4258
|
-
* Version of the [Integration](#schema_integration)
|
|
4259
|
-
*/
|
|
4260
|
-
version: string;
|
|
4261
|
-
webhookUrl: string;
|
|
4262
|
-
webhookId: string;
|
|
4263
|
-
identifier?: string;
|
|
4264
|
-
configurationType: string | null;
|
|
4265
|
-
configuration: {
|
|
4266
|
-
[k: string]: any;
|
|
4227
|
+
dependencies: {
|
|
4228
|
+
interfaces: {
|
|
4229
|
+
[k: string]: {
|
|
4230
|
+
id: string;
|
|
4231
|
+
name: string;
|
|
4232
|
+
version: string;
|
|
4233
|
+
};
|
|
4234
|
+
};
|
|
4235
|
+
integrations: {
|
|
4236
|
+
[k: string]: {
|
|
4237
|
+
id: string;
|
|
4238
|
+
name: string;
|
|
4239
|
+
version: string;
|
|
4267
4240
|
};
|
|
4268
|
-
status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
|
|
4269
|
-
statusReason: string | null;
|
|
4270
|
-
/**
|
|
4271
|
-
* ID of the [Integration](#schema_integration)
|
|
4272
|
-
*/
|
|
4273
|
-
id: string;
|
|
4274
|
-
/**
|
|
4275
|
-
* Creation date of the [Integration](#schema_integration) in ISO 8601 format
|
|
4276
|
-
*/
|
|
4277
|
-
createdAt: string;
|
|
4278
|
-
/**
|
|
4279
|
-
* Updating date of the [Integration](#schema_integration) in ISO 8601 format
|
|
4280
|
-
*/
|
|
4281
|
-
updatedAt: string;
|
|
4282
|
-
/**
|
|
4283
|
-
* Title of the integration. This is the name that will be displayed in the UI
|
|
4284
|
-
*/
|
|
4285
|
-
title: string;
|
|
4286
|
-
/**
|
|
4287
|
-
* Description of the integration. This is the description that will be displayed in the UI
|
|
4288
|
-
*/
|
|
4289
|
-
description: string;
|
|
4290
|
-
/**
|
|
4291
|
-
* URL of the icon of the integration. This is the icon that will be displayed in the UI
|
|
4292
|
-
*/
|
|
4293
|
-
iconUrl: string;
|
|
4294
|
-
/**
|
|
4295
|
-
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
4296
|
-
*/
|
|
4297
|
-
public: boolean;
|
|
4298
|
-
/**
|
|
4299
|
-
* Status of the integration version verification
|
|
4300
|
-
*/
|
|
4301
|
-
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
4302
4241
|
};
|
|
4303
4242
|
};
|
|
4304
4243
|
/**
|
|
@@ -4342,28 +4281,80 @@ interface CreateBotResponse$1 {
|
|
|
4342
4281
|
};
|
|
4343
4282
|
};
|
|
4344
4283
|
/**
|
|
4345
|
-
*
|
|
4284
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
4346
4285
|
*/
|
|
4347
|
-
|
|
4348
|
-
tags: {
|
|
4349
|
-
/**
|
|
4350
|
-
* Definition of a tag that can be provided on the object
|
|
4351
|
-
*/
|
|
4352
|
-
[k: string]: {
|
|
4353
|
-
/**
|
|
4354
|
-
* Title of the tag
|
|
4355
|
-
*/
|
|
4356
|
-
title?: string;
|
|
4357
|
-
/**
|
|
4358
|
-
* Description of the tag
|
|
4359
|
-
*/
|
|
4360
|
-
description?: string;
|
|
4361
|
-
};
|
|
4362
|
-
};
|
|
4363
|
-
};
|
|
4286
|
+
title: string;
|
|
4364
4287
|
/**
|
|
4365
|
-
*
|
|
4288
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
4366
4289
|
*/
|
|
4290
|
+
description: string;
|
|
4291
|
+
/**
|
|
4292
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
4293
|
+
*/
|
|
4294
|
+
iconUrl: string;
|
|
4295
|
+
/**
|
|
4296
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
4297
|
+
*/
|
|
4298
|
+
readmeUrl: string;
|
|
4299
|
+
/**
|
|
4300
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
4301
|
+
*/
|
|
4302
|
+
public: boolean;
|
|
4303
|
+
};
|
|
4304
|
+
}
|
|
4305
|
+
|
|
4306
|
+
interface GetPublicPluginRequestHeaders$1 {
|
|
4307
|
+
}
|
|
4308
|
+
interface GetPublicPluginRequestQuery$1 {
|
|
4309
|
+
}
|
|
4310
|
+
interface GetPublicPluginRequestParams$1 {
|
|
4311
|
+
name: string;
|
|
4312
|
+
version: string;
|
|
4313
|
+
}
|
|
4314
|
+
interface GetPublicPluginRequestBody$1 {
|
|
4315
|
+
}
|
|
4316
|
+
type GetPublicPluginInput$1 = GetPublicPluginRequestBody$1 & GetPublicPluginRequestHeaders$1 & GetPublicPluginRequestQuery$1 & GetPublicPluginRequestParams$1;
|
|
4317
|
+
interface GetPublicPluginResponse$1 {
|
|
4318
|
+
plugin: {
|
|
4319
|
+
/**
|
|
4320
|
+
* ID of the [Plugin](#schema_plugin)
|
|
4321
|
+
*/
|
|
4322
|
+
id: string;
|
|
4323
|
+
/**
|
|
4324
|
+
* Name of the [Plugin](#schema_plugin)
|
|
4325
|
+
*/
|
|
4326
|
+
name: string;
|
|
4327
|
+
/**
|
|
4328
|
+
* Version of the [Plugin](#schema_plugin)
|
|
4329
|
+
*/
|
|
4330
|
+
version: string;
|
|
4331
|
+
/**
|
|
4332
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
4333
|
+
*/
|
|
4334
|
+
createdAt: string;
|
|
4335
|
+
/**
|
|
4336
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
4337
|
+
*/
|
|
4338
|
+
updatedAt: string;
|
|
4339
|
+
/**
|
|
4340
|
+
* Configuration definition
|
|
4341
|
+
*/
|
|
4342
|
+
configuration: {
|
|
4343
|
+
/**
|
|
4344
|
+
* Title of the configuration
|
|
4345
|
+
*/
|
|
4346
|
+
title?: string;
|
|
4347
|
+
/**
|
|
4348
|
+
* Description of the configuration
|
|
4349
|
+
*/
|
|
4350
|
+
description?: string;
|
|
4351
|
+
/**
|
|
4352
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
4353
|
+
*/
|
|
4354
|
+
schema: {
|
|
4355
|
+
[k: string]: any;
|
|
4356
|
+
};
|
|
4357
|
+
};
|
|
4367
4358
|
states: {
|
|
4368
4359
|
[k: string]: {
|
|
4369
4360
|
/**
|
|
@@ -4382,26 +4373,6 @@ interface CreateBotResponse$1 {
|
|
|
4382
4373
|
expiry?: number;
|
|
4383
4374
|
};
|
|
4384
4375
|
};
|
|
4385
|
-
/**
|
|
4386
|
-
* Configuration of the bot
|
|
4387
|
-
*/
|
|
4388
|
-
configuration: {
|
|
4389
|
-
/**
|
|
4390
|
-
* Configuration data
|
|
4391
|
-
*/
|
|
4392
|
-
data: {
|
|
4393
|
-
[k: string]: any;
|
|
4394
|
-
};
|
|
4395
|
-
/**
|
|
4396
|
-
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
4397
|
-
*/
|
|
4398
|
-
schema: {
|
|
4399
|
-
[k: string]: any;
|
|
4400
|
-
};
|
|
4401
|
-
};
|
|
4402
|
-
/**
|
|
4403
|
-
* Events definition
|
|
4404
|
-
*/
|
|
4405
4376
|
events: {
|
|
4406
4377
|
/**
|
|
4407
4378
|
* Event Definition
|
|
@@ -4420,42 +4391,6 @@ interface CreateBotResponse$1 {
|
|
|
4420
4391
|
};
|
|
4421
4392
|
};
|
|
4422
4393
|
};
|
|
4423
|
-
/**
|
|
4424
|
-
* Recurring events
|
|
4425
|
-
*/
|
|
4426
|
-
recurringEvents: {
|
|
4427
|
-
[k: string]: {
|
|
4428
|
-
schedule: {
|
|
4429
|
-
cron: string;
|
|
4430
|
-
};
|
|
4431
|
-
type: string;
|
|
4432
|
-
payload: {
|
|
4433
|
-
[k: string]: any;
|
|
4434
|
-
};
|
|
4435
|
-
/**
|
|
4436
|
-
* The number of times the recurring event failed to run. This counter resets once the recurring event runs successfully.
|
|
4437
|
-
*/
|
|
4438
|
-
failedAttempts: number;
|
|
4439
|
-
/**
|
|
4440
|
-
* The reason why the recurring event failed to run in the last attempt.
|
|
4441
|
-
*/
|
|
4442
|
-
lastFailureReason: string | null;
|
|
4443
|
-
};
|
|
4444
|
-
};
|
|
4445
|
-
/**
|
|
4446
|
-
* Subscriptions of the bot
|
|
4447
|
-
*/
|
|
4448
|
-
subscriptions: {
|
|
4449
|
-
/**
|
|
4450
|
-
* Events that the bot is currently subscribed on (ex: "slack:reactionAdded"). If null, the bot is subscribed to all events.
|
|
4451
|
-
*/
|
|
4452
|
-
events: {
|
|
4453
|
-
[k: string]: {};
|
|
4454
|
-
} | null;
|
|
4455
|
-
};
|
|
4456
|
-
/**
|
|
4457
|
-
* Actions definition
|
|
4458
|
-
*/
|
|
4459
4394
|
actions: {
|
|
4460
4395
|
/**
|
|
4461
4396
|
* Action definition
|
|
@@ -4481,70 +4416,215 @@ interface CreateBotResponse$1 {
|
|
|
4481
4416
|
[k: string]: any;
|
|
4482
4417
|
};
|
|
4483
4418
|
};
|
|
4419
|
+
/**
|
|
4420
|
+
* Optional attributes
|
|
4421
|
+
*/
|
|
4422
|
+
attributes?: {
|
|
4423
|
+
[k: string]: string;
|
|
4424
|
+
};
|
|
4484
4425
|
};
|
|
4485
4426
|
};
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4427
|
+
dependencies: {
|
|
4428
|
+
interfaces: {
|
|
4429
|
+
[k: string]: {
|
|
4430
|
+
id: string;
|
|
4431
|
+
name: string;
|
|
4432
|
+
version: string;
|
|
4433
|
+
};
|
|
4434
|
+
};
|
|
4435
|
+
integrations: {
|
|
4436
|
+
[k: string]: {
|
|
4437
|
+
id: string;
|
|
4438
|
+
name: string;
|
|
4439
|
+
version: string;
|
|
4440
|
+
};
|
|
4441
|
+
};
|
|
4442
|
+
};
|
|
4443
|
+
/**
|
|
4444
|
+
* User object configuration
|
|
4494
4445
|
*/
|
|
4495
|
-
|
|
4446
|
+
user: {
|
|
4447
|
+
tags: {
|
|
4448
|
+
/**
|
|
4449
|
+
* Definition of a tag that can be provided on the object
|
|
4450
|
+
*/
|
|
4451
|
+
[k: string]: {
|
|
4452
|
+
/**
|
|
4453
|
+
* Title of the tag
|
|
4454
|
+
*/
|
|
4455
|
+
title?: string;
|
|
4456
|
+
/**
|
|
4457
|
+
* Description of the tag
|
|
4458
|
+
*/
|
|
4459
|
+
description?: string;
|
|
4460
|
+
};
|
|
4461
|
+
};
|
|
4462
|
+
};
|
|
4496
4463
|
/**
|
|
4497
|
-
*
|
|
4464
|
+
* Conversation object configuration
|
|
4498
4465
|
*/
|
|
4499
|
-
|
|
4466
|
+
conversation: {
|
|
4467
|
+
tags: {
|
|
4468
|
+
/**
|
|
4469
|
+
* Definition of a tag that can be provided on the object
|
|
4470
|
+
*/
|
|
4471
|
+
[k: string]: {
|
|
4472
|
+
/**
|
|
4473
|
+
* Title of the tag
|
|
4474
|
+
*/
|
|
4475
|
+
title?: string;
|
|
4476
|
+
/**
|
|
4477
|
+
* Description of the tag
|
|
4478
|
+
*/
|
|
4479
|
+
description?: string;
|
|
4480
|
+
};
|
|
4481
|
+
};
|
|
4482
|
+
};
|
|
4500
4483
|
/**
|
|
4501
|
-
*
|
|
4484
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
4502
4485
|
*/
|
|
4503
|
-
|
|
4486
|
+
title: string;
|
|
4504
4487
|
/**
|
|
4505
|
-
*
|
|
4488
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
4506
4489
|
*/
|
|
4507
|
-
|
|
4490
|
+
description: string;
|
|
4508
4491
|
/**
|
|
4509
|
-
*
|
|
4492
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
4510
4493
|
*/
|
|
4511
|
-
|
|
4494
|
+
iconUrl: string;
|
|
4512
4495
|
/**
|
|
4513
|
-
*
|
|
4496
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
4514
4497
|
*/
|
|
4515
|
-
|
|
4498
|
+
readmeUrl: string;
|
|
4516
4499
|
/**
|
|
4517
|
-
*
|
|
4500
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
4518
4501
|
*/
|
|
4519
|
-
|
|
4520
|
-
/**
|
|
4521
|
-
* URL of the media file
|
|
4522
|
-
*/
|
|
4523
|
-
url: string;
|
|
4524
|
-
/**
|
|
4525
|
-
* Name of the media file
|
|
4526
|
-
*/
|
|
4527
|
-
name: string;
|
|
4528
|
-
}[];
|
|
4502
|
+
public: boolean;
|
|
4529
4503
|
};
|
|
4530
4504
|
}
|
|
4531
4505
|
|
|
4532
|
-
interface
|
|
4506
|
+
interface GetPublicPluginCodeRequestHeaders$1 {
|
|
4533
4507
|
}
|
|
4534
|
-
interface
|
|
4508
|
+
interface GetPublicPluginCodeRequestQuery$1 {
|
|
4535
4509
|
}
|
|
4536
|
-
interface
|
|
4510
|
+
interface GetPublicPluginCodeRequestParams$1 {
|
|
4537
4511
|
id: string;
|
|
4512
|
+
platform: "node" | "browser";
|
|
4538
4513
|
}
|
|
4539
|
-
interface
|
|
4514
|
+
interface GetPublicPluginCodeRequestBody$1 {
|
|
4515
|
+
}
|
|
4516
|
+
type GetPublicPluginCodeInput$1 = GetPublicPluginCodeRequestBody$1 & GetPublicPluginCodeRequestHeaders$1 & GetPublicPluginCodeRequestQuery$1 & GetPublicPluginCodeRequestParams$1;
|
|
4517
|
+
interface GetPublicPluginCodeResponse$1 {
|
|
4518
|
+
code: string;
|
|
4519
|
+
}
|
|
4520
|
+
|
|
4521
|
+
interface CreateBotRequestHeaders$1 {
|
|
4522
|
+
}
|
|
4523
|
+
interface CreateBotRequestQuery$1 {
|
|
4524
|
+
}
|
|
4525
|
+
interface CreateBotRequestParams$1 {
|
|
4526
|
+
}
|
|
4527
|
+
interface CreateBotRequestBody$1 {
|
|
4540
4528
|
/**
|
|
4541
|
-
*
|
|
4529
|
+
* A mapping of states to their definition
|
|
4542
4530
|
*/
|
|
4543
|
-
|
|
4531
|
+
states?: {
|
|
4532
|
+
[k: string]: {
|
|
4533
|
+
/**
|
|
4534
|
+
* Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)
|
|
4535
|
+
*/
|
|
4536
|
+
type: "conversation" | "user" | "bot" | "task";
|
|
4537
|
+
/**
|
|
4538
|
+
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
4539
|
+
*/
|
|
4540
|
+
schema: {
|
|
4541
|
+
[k: string]: any;
|
|
4542
|
+
};
|
|
4543
|
+
/**
|
|
4544
|
+
* Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire.
|
|
4545
|
+
*/
|
|
4546
|
+
expiry?: number;
|
|
4547
|
+
};
|
|
4548
|
+
};
|
|
4544
4549
|
/**
|
|
4545
|
-
*
|
|
4550
|
+
* Events definition
|
|
4546
4551
|
*/
|
|
4547
|
-
|
|
4552
|
+
events?: {
|
|
4553
|
+
/**
|
|
4554
|
+
* Event Definition
|
|
4555
|
+
*/
|
|
4556
|
+
[k: string]: {
|
|
4557
|
+
/**
|
|
4558
|
+
* Title of the event
|
|
4559
|
+
*/
|
|
4560
|
+
title?: string;
|
|
4561
|
+
/**
|
|
4562
|
+
* Description of the event
|
|
4563
|
+
*/
|
|
4564
|
+
description?: string;
|
|
4565
|
+
schema: {
|
|
4566
|
+
[k: string]: any;
|
|
4567
|
+
};
|
|
4568
|
+
};
|
|
4569
|
+
};
|
|
4570
|
+
recurringEvents?: {
|
|
4571
|
+
[k: string]: {
|
|
4572
|
+
schedule: {
|
|
4573
|
+
cron: string;
|
|
4574
|
+
};
|
|
4575
|
+
type: string;
|
|
4576
|
+
payload: {
|
|
4577
|
+
[k: string]: any;
|
|
4578
|
+
};
|
|
4579
|
+
};
|
|
4580
|
+
};
|
|
4581
|
+
/**
|
|
4582
|
+
* Subscriptions of the bot
|
|
4583
|
+
*/
|
|
4584
|
+
subscriptions?: {
|
|
4585
|
+
/**
|
|
4586
|
+
* Events that the bot is currently subscribed on (ex: "slack:reactionAdded"). If null, the bot is subscribed to all events.
|
|
4587
|
+
*/
|
|
4588
|
+
events: {
|
|
4589
|
+
[k: string]: {};
|
|
4590
|
+
} | null;
|
|
4591
|
+
};
|
|
4592
|
+
/**
|
|
4593
|
+
* Actions definition
|
|
4594
|
+
*/
|
|
4595
|
+
actions?: {
|
|
4596
|
+
/**
|
|
4597
|
+
* Action definition
|
|
4598
|
+
*/
|
|
4599
|
+
[k: string]: {
|
|
4600
|
+
/**
|
|
4601
|
+
* Title of the action
|
|
4602
|
+
*/
|
|
4603
|
+
title?: string;
|
|
4604
|
+
/**
|
|
4605
|
+
* Description of the action
|
|
4606
|
+
*/
|
|
4607
|
+
description?: string;
|
|
4608
|
+
billable?: boolean;
|
|
4609
|
+
cacheable?: boolean;
|
|
4610
|
+
input: {
|
|
4611
|
+
schema: {
|
|
4612
|
+
[k: string]: any;
|
|
4613
|
+
};
|
|
4614
|
+
};
|
|
4615
|
+
output: {
|
|
4616
|
+
schema: {
|
|
4617
|
+
[k: string]: any;
|
|
4618
|
+
};
|
|
4619
|
+
};
|
|
4620
|
+
/**
|
|
4621
|
+
* Optional attributes
|
|
4622
|
+
*/
|
|
4623
|
+
attributes?: {
|
|
4624
|
+
[k: string]: string;
|
|
4625
|
+
};
|
|
4626
|
+
};
|
|
4627
|
+
};
|
|
4548
4628
|
configuration?: {
|
|
4549
4629
|
/**
|
|
4550
4630
|
* Configuration data
|
|
@@ -4559,17 +4639,6 @@ interface UpdateBotRequestBody$1 {
|
|
|
4559
4639
|
[k: string]: any;
|
|
4560
4640
|
};
|
|
4561
4641
|
};
|
|
4562
|
-
/**
|
|
4563
|
-
* Tags of the [Bot](#schema_bot)
|
|
4564
|
-
*/
|
|
4565
|
-
tags?: {
|
|
4566
|
-
[k: string]: string;
|
|
4567
|
-
};
|
|
4568
|
-
blocked?: boolean;
|
|
4569
|
-
/**
|
|
4570
|
-
* Indicates if the [Bot](#schema_bot) should be in always alive mode
|
|
4571
|
-
*/
|
|
4572
|
-
alwaysAlive?: boolean;
|
|
4573
4642
|
user?: {
|
|
4574
4643
|
tags?: {
|
|
4575
4644
|
/**
|
|
@@ -4584,10 +4653,10 @@ interface UpdateBotRequestBody$1 {
|
|
|
4584
4653
|
* Description of the tag
|
|
4585
4654
|
*/
|
|
4586
4655
|
description?: string;
|
|
4587
|
-
}
|
|
4656
|
+
};
|
|
4588
4657
|
};
|
|
4589
4658
|
};
|
|
4590
|
-
|
|
4659
|
+
conversation?: {
|
|
4591
4660
|
tags?: {
|
|
4592
4661
|
/**
|
|
4593
4662
|
* Definition of a tag that can be provided on the object
|
|
@@ -4601,10 +4670,10 @@ interface UpdateBotRequestBody$1 {
|
|
|
4601
4670
|
* Description of the tag
|
|
4602
4671
|
*/
|
|
4603
4672
|
description?: string;
|
|
4604
|
-
}
|
|
4673
|
+
};
|
|
4605
4674
|
};
|
|
4606
4675
|
};
|
|
4607
|
-
|
|
4676
|
+
message?: {
|
|
4608
4677
|
tags?: {
|
|
4609
4678
|
/**
|
|
4610
4679
|
* Definition of a tag that can be provided on the object
|
|
@@ -4618,99 +4687,14 @@ interface UpdateBotRequestBody$1 {
|
|
|
4618
4687
|
* Description of the tag
|
|
4619
4688
|
*/
|
|
4620
4689
|
description?: string;
|
|
4621
|
-
}
|
|
4690
|
+
};
|
|
4622
4691
|
};
|
|
4623
4692
|
};
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
[k: string]:
|
|
4629
|
-
/**
|
|
4630
|
-
* Title of the event
|
|
4631
|
-
*/
|
|
4632
|
-
title?: string;
|
|
4633
|
-
/**
|
|
4634
|
-
* Description of the event
|
|
4635
|
-
*/
|
|
4636
|
-
description?: string;
|
|
4637
|
-
schema: {
|
|
4638
|
-
[k: string]: any;
|
|
4639
|
-
};
|
|
4640
|
-
} | null;
|
|
4641
|
-
};
|
|
4642
|
-
actions?: {
|
|
4643
|
-
/**
|
|
4644
|
-
* Action definition
|
|
4645
|
-
*/
|
|
4646
|
-
[k: string]: {
|
|
4647
|
-
/**
|
|
4648
|
-
* Title of the action
|
|
4649
|
-
*/
|
|
4650
|
-
title?: string;
|
|
4651
|
-
/**
|
|
4652
|
-
* Description of the action
|
|
4653
|
-
*/
|
|
4654
|
-
description?: string;
|
|
4655
|
-
billable?: boolean;
|
|
4656
|
-
cacheable?: boolean;
|
|
4657
|
-
input: {
|
|
4658
|
-
schema: {
|
|
4659
|
-
[k: string]: any;
|
|
4660
|
-
};
|
|
4661
|
-
};
|
|
4662
|
-
output: {
|
|
4663
|
-
schema: {
|
|
4664
|
-
[k: string]: any;
|
|
4665
|
-
};
|
|
4666
|
-
};
|
|
4667
|
-
} | null;
|
|
4668
|
-
};
|
|
4669
|
-
states?: {
|
|
4670
|
-
[k: string]: {
|
|
4671
|
-
/**
|
|
4672
|
-
* Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)
|
|
4673
|
-
*/
|
|
4674
|
-
type: "conversation" | "user" | "bot" | "task";
|
|
4675
|
-
/**
|
|
4676
|
-
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
4677
|
-
*/
|
|
4678
|
-
schema: {
|
|
4679
|
-
[k: string]: any;
|
|
4680
|
-
};
|
|
4681
|
-
/**
|
|
4682
|
-
* Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire.
|
|
4683
|
-
*/
|
|
4684
|
-
expiry?: number;
|
|
4685
|
-
} | null;
|
|
4686
|
-
};
|
|
4687
|
-
recurringEvents?: {
|
|
4688
|
-
[k: string]: {
|
|
4689
|
-
schedule: {
|
|
4690
|
-
cron: string;
|
|
4691
|
-
};
|
|
4692
|
-
type: string;
|
|
4693
|
-
payload: {
|
|
4694
|
-
[k: string]: any;
|
|
4695
|
-
};
|
|
4696
|
-
} | null;
|
|
4697
|
-
};
|
|
4698
|
-
integrations?: {
|
|
4699
|
-
[k: string]: {
|
|
4700
|
-
enabled?: boolean;
|
|
4701
|
-
/**
|
|
4702
|
-
* Integration's configuration type. Set to default if null.
|
|
4703
|
-
*/
|
|
4704
|
-
configurationType?: string | null;
|
|
4705
|
-
configuration?: {
|
|
4706
|
-
[k: string]: any;
|
|
4707
|
-
};
|
|
4708
|
-
} | null;
|
|
4709
|
-
};
|
|
4710
|
-
subscriptions?: {
|
|
4711
|
-
events: {
|
|
4712
|
-
[k: string]: {} | null;
|
|
4713
|
-
} | null;
|
|
4693
|
+
/**
|
|
4694
|
+
* Tags of the [Bot](#schema_bot)
|
|
4695
|
+
*/
|
|
4696
|
+
tags?: {
|
|
4697
|
+
[k: string]: string;
|
|
4714
4698
|
};
|
|
4715
4699
|
/**
|
|
4716
4700
|
* JavaScript code of the bot
|
|
@@ -4727,10 +4711,17 @@ interface UpdateBotRequestBody$1 {
|
|
|
4727
4711
|
url: string;
|
|
4728
4712
|
name: string;
|
|
4729
4713
|
}[];
|
|
4730
|
-
|
|
4714
|
+
/**
|
|
4715
|
+
* URL of the [Bot](#schema_bot); Only available for dev bots
|
|
4716
|
+
*/
|
|
4717
|
+
url?: string;
|
|
4718
|
+
/**
|
|
4719
|
+
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
4720
|
+
*/
|
|
4721
|
+
dev?: boolean;
|
|
4731
4722
|
}
|
|
4732
|
-
type
|
|
4733
|
-
interface
|
|
4723
|
+
type CreateBotInput$1 = CreateBotRequestBody$1 & CreateBotRequestHeaders$1 & CreateBotRequestQuery$1 & CreateBotRequestParams$1;
|
|
4724
|
+
interface CreateBotResponse$1 {
|
|
4734
4725
|
bot: {
|
|
4735
4726
|
/**
|
|
4736
4727
|
* Id of the [Bot](#schema_bot)
|
|
@@ -4985,6 +4976,12 @@ interface UpdateBotResponse$1 {
|
|
|
4985
4976
|
[k: string]: any;
|
|
4986
4977
|
};
|
|
4987
4978
|
};
|
|
4979
|
+
/**
|
|
4980
|
+
* Optional attributes
|
|
4981
|
+
*/
|
|
4982
|
+
attributes?: {
|
|
4983
|
+
[k: string]: string;
|
|
4984
|
+
};
|
|
4988
4985
|
};
|
|
4989
4986
|
};
|
|
4990
4987
|
/**
|
|
@@ -5033,147 +5030,280 @@ interface UpdateBotResponse$1 {
|
|
|
5033
5030
|
};
|
|
5034
5031
|
}
|
|
5035
5032
|
|
|
5036
|
-
interface
|
|
5033
|
+
interface UpdateBotRequestHeaders$1 {
|
|
5037
5034
|
}
|
|
5038
|
-
interface
|
|
5035
|
+
interface UpdateBotRequestQuery$1 {
|
|
5039
5036
|
}
|
|
5040
|
-
interface
|
|
5037
|
+
interface UpdateBotRequestParams$1 {
|
|
5041
5038
|
id: string;
|
|
5042
5039
|
}
|
|
5043
|
-
interface
|
|
5040
|
+
interface UpdateBotRequestBody$1 {
|
|
5044
5041
|
/**
|
|
5045
|
-
*
|
|
5042
|
+
* URL of the [Bot](#schema_bot); Only available for dev bots
|
|
5046
5043
|
*/
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
interface ListBotsRequestHeaders$1 {
|
|
5054
|
-
}
|
|
5055
|
-
interface ListBotsRequestQuery$1 {
|
|
5056
|
-
dev?: boolean;
|
|
5057
|
-
tags?: {
|
|
5058
|
-
[k: string]: string;
|
|
5059
|
-
};
|
|
5060
|
-
nextToken?: string;
|
|
5061
|
-
sortField?: "createdAt" | "updatedAt";
|
|
5062
|
-
sortDirection?: "asc" | "desc";
|
|
5063
|
-
}
|
|
5064
|
-
interface ListBotsRequestParams$1 {
|
|
5065
|
-
}
|
|
5066
|
-
interface ListBotsRequestBody$1 {
|
|
5067
|
-
}
|
|
5068
|
-
type ListBotsInput$1 = ListBotsRequestBody$1 & ListBotsRequestHeaders$1 & ListBotsRequestQuery$1 & ListBotsRequestParams$1;
|
|
5069
|
-
interface ListBotsResponse$1 {
|
|
5070
|
-
bots: {
|
|
5071
|
-
/**
|
|
5072
|
-
* Id of the [Bot](#schema_bot)
|
|
5073
|
-
*/
|
|
5074
|
-
id: string;
|
|
5075
|
-
/**
|
|
5076
|
-
* Creation date of the [Bot](#schema_bot) in ISO 8601 format
|
|
5077
|
-
*/
|
|
5078
|
-
createdAt: string;
|
|
5079
|
-
/**
|
|
5080
|
-
* Updating date of the [Bot](#schema_bot) in ISO 8601 format
|
|
5081
|
-
*/
|
|
5082
|
-
updatedAt: string;
|
|
5083
|
-
name: string;
|
|
5084
|
-
deployedAt?: string;
|
|
5044
|
+
url?: string;
|
|
5045
|
+
/**
|
|
5046
|
+
* Type of the [Bot](#schema_bot) authentication (`iam`)
|
|
5047
|
+
*/
|
|
5048
|
+
authentication?: "iam";
|
|
5049
|
+
configuration?: {
|
|
5085
5050
|
/**
|
|
5086
|
-
*
|
|
5051
|
+
* Configuration data
|
|
5087
5052
|
*/
|
|
5088
|
-
|
|
5089
|
-
[k: string]:
|
|
5053
|
+
data?: {
|
|
5054
|
+
[k: string]: any;
|
|
5090
5055
|
};
|
|
5091
|
-
}[];
|
|
5092
|
-
meta: {
|
|
5093
5056
|
/**
|
|
5094
|
-
*
|
|
5057
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
5095
5058
|
*/
|
|
5096
|
-
|
|
5059
|
+
schema?: {
|
|
5060
|
+
[k: string]: any;
|
|
5061
|
+
};
|
|
5097
5062
|
};
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
}
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
*/
|
|
5115
|
-
id: string;
|
|
5116
|
-
/**
|
|
5117
|
-
* Creation date of the [Bot](#schema_bot) in ISO 8601 format
|
|
5118
|
-
*/
|
|
5119
|
-
createdAt: string;
|
|
5120
|
-
/**
|
|
5121
|
-
* Updating date of the [Bot](#schema_bot) in ISO 8601 format
|
|
5122
|
-
*/
|
|
5123
|
-
updatedAt: string;
|
|
5124
|
-
/**
|
|
5125
|
-
* Signing secret of the [Bot](#schema_bot)
|
|
5126
|
-
*/
|
|
5127
|
-
signingSecret: string;
|
|
5128
|
-
/**
|
|
5129
|
-
* A mapping of integrations to their configuration
|
|
5130
|
-
*/
|
|
5131
|
-
integrations: {
|
|
5063
|
+
/**
|
|
5064
|
+
* Tags of the [Bot](#schema_bot)
|
|
5065
|
+
*/
|
|
5066
|
+
tags?: {
|
|
5067
|
+
[k: string]: string;
|
|
5068
|
+
};
|
|
5069
|
+
blocked?: boolean;
|
|
5070
|
+
/**
|
|
5071
|
+
* Indicates if the [Bot](#schema_bot) should be in always alive mode
|
|
5072
|
+
*/
|
|
5073
|
+
alwaysAlive?: boolean;
|
|
5074
|
+
user?: {
|
|
5075
|
+
tags?: {
|
|
5076
|
+
/**
|
|
5077
|
+
* Definition of a tag that can be provided on the object
|
|
5078
|
+
*/
|
|
5132
5079
|
[k: string]: {
|
|
5133
|
-
enabled: boolean;
|
|
5134
|
-
/**
|
|
5135
|
-
* Name of the [Integration](#schema_integration)
|
|
5136
|
-
*/
|
|
5137
|
-
name: string;
|
|
5138
|
-
/**
|
|
5139
|
-
* Version of the [Integration](#schema_integration)
|
|
5140
|
-
*/
|
|
5141
|
-
version: string;
|
|
5142
|
-
webhookUrl: string;
|
|
5143
|
-
webhookId: string;
|
|
5144
|
-
identifier?: string;
|
|
5145
|
-
configurationType: string | null;
|
|
5146
|
-
configuration: {
|
|
5147
|
-
[k: string]: any;
|
|
5148
|
-
};
|
|
5149
|
-
status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
|
|
5150
|
-
statusReason: string | null;
|
|
5151
|
-
/**
|
|
5152
|
-
* ID of the [Integration](#schema_integration)
|
|
5153
|
-
*/
|
|
5154
|
-
id: string;
|
|
5155
5080
|
/**
|
|
5156
|
-
*
|
|
5081
|
+
* Title of the tag
|
|
5157
5082
|
*/
|
|
5158
|
-
|
|
5083
|
+
title?: string;
|
|
5159
5084
|
/**
|
|
5160
|
-
*
|
|
5085
|
+
* Description of the tag
|
|
5161
5086
|
*/
|
|
5162
|
-
|
|
5087
|
+
description?: string;
|
|
5088
|
+
} | null;
|
|
5089
|
+
};
|
|
5090
|
+
};
|
|
5091
|
+
message?: {
|
|
5092
|
+
tags?: {
|
|
5093
|
+
/**
|
|
5094
|
+
* Definition of a tag that can be provided on the object
|
|
5095
|
+
*/
|
|
5096
|
+
[k: string]: {
|
|
5163
5097
|
/**
|
|
5164
|
-
* Title of the
|
|
5098
|
+
* Title of the tag
|
|
5165
5099
|
*/
|
|
5166
|
-
title
|
|
5100
|
+
title?: string;
|
|
5167
5101
|
/**
|
|
5168
|
-
* Description of the
|
|
5102
|
+
* Description of the tag
|
|
5169
5103
|
*/
|
|
5170
|
-
description
|
|
5104
|
+
description?: string;
|
|
5105
|
+
} | null;
|
|
5106
|
+
};
|
|
5107
|
+
};
|
|
5108
|
+
conversation?: {
|
|
5109
|
+
tags?: {
|
|
5110
|
+
/**
|
|
5111
|
+
* Definition of a tag that can be provided on the object
|
|
5112
|
+
*/
|
|
5113
|
+
[k: string]: {
|
|
5171
5114
|
/**
|
|
5172
|
-
*
|
|
5115
|
+
* Title of the tag
|
|
5173
5116
|
*/
|
|
5174
|
-
|
|
5117
|
+
title?: string;
|
|
5175
5118
|
/**
|
|
5176
|
-
*
|
|
5119
|
+
* Description of the tag
|
|
5120
|
+
*/
|
|
5121
|
+
description?: string;
|
|
5122
|
+
} | null;
|
|
5123
|
+
};
|
|
5124
|
+
};
|
|
5125
|
+
events?: {
|
|
5126
|
+
/**
|
|
5127
|
+
* Event Definition
|
|
5128
|
+
*/
|
|
5129
|
+
[k: string]: {
|
|
5130
|
+
/**
|
|
5131
|
+
* Title of the event
|
|
5132
|
+
*/
|
|
5133
|
+
title?: string;
|
|
5134
|
+
/**
|
|
5135
|
+
* Description of the event
|
|
5136
|
+
*/
|
|
5137
|
+
description?: string;
|
|
5138
|
+
schema: {
|
|
5139
|
+
[k: string]: any;
|
|
5140
|
+
};
|
|
5141
|
+
} | null;
|
|
5142
|
+
};
|
|
5143
|
+
actions?: {
|
|
5144
|
+
/**
|
|
5145
|
+
* Action definition
|
|
5146
|
+
*/
|
|
5147
|
+
[k: string]: {
|
|
5148
|
+
/**
|
|
5149
|
+
* Title of the action
|
|
5150
|
+
*/
|
|
5151
|
+
title?: string;
|
|
5152
|
+
/**
|
|
5153
|
+
* Description of the action
|
|
5154
|
+
*/
|
|
5155
|
+
description?: string;
|
|
5156
|
+
billable?: boolean;
|
|
5157
|
+
cacheable?: boolean;
|
|
5158
|
+
input: {
|
|
5159
|
+
schema: {
|
|
5160
|
+
[k: string]: any;
|
|
5161
|
+
};
|
|
5162
|
+
};
|
|
5163
|
+
output: {
|
|
5164
|
+
schema: {
|
|
5165
|
+
[k: string]: any;
|
|
5166
|
+
};
|
|
5167
|
+
};
|
|
5168
|
+
/**
|
|
5169
|
+
* Optional attributes
|
|
5170
|
+
*/
|
|
5171
|
+
attributes?: {
|
|
5172
|
+
[k: string]: string;
|
|
5173
|
+
};
|
|
5174
|
+
} | null;
|
|
5175
|
+
};
|
|
5176
|
+
states?: {
|
|
5177
|
+
[k: string]: {
|
|
5178
|
+
/**
|
|
5179
|
+
* Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)
|
|
5180
|
+
*/
|
|
5181
|
+
type: "conversation" | "user" | "bot" | "task";
|
|
5182
|
+
/**
|
|
5183
|
+
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
5184
|
+
*/
|
|
5185
|
+
schema: {
|
|
5186
|
+
[k: string]: any;
|
|
5187
|
+
};
|
|
5188
|
+
/**
|
|
5189
|
+
* Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire.
|
|
5190
|
+
*/
|
|
5191
|
+
expiry?: number;
|
|
5192
|
+
} | null;
|
|
5193
|
+
};
|
|
5194
|
+
recurringEvents?: {
|
|
5195
|
+
[k: string]: {
|
|
5196
|
+
schedule: {
|
|
5197
|
+
cron: string;
|
|
5198
|
+
};
|
|
5199
|
+
type: string;
|
|
5200
|
+
payload: {
|
|
5201
|
+
[k: string]: any;
|
|
5202
|
+
};
|
|
5203
|
+
} | null;
|
|
5204
|
+
};
|
|
5205
|
+
integrations?: {
|
|
5206
|
+
[k: string]: {
|
|
5207
|
+
enabled?: boolean;
|
|
5208
|
+
/**
|
|
5209
|
+
* Integration's configuration type. Set to default if null.
|
|
5210
|
+
*/
|
|
5211
|
+
configurationType?: string | null;
|
|
5212
|
+
configuration?: {
|
|
5213
|
+
[k: string]: any;
|
|
5214
|
+
};
|
|
5215
|
+
} | null;
|
|
5216
|
+
};
|
|
5217
|
+
subscriptions?: {
|
|
5218
|
+
events: {
|
|
5219
|
+
[k: string]: {} | null;
|
|
5220
|
+
} | null;
|
|
5221
|
+
};
|
|
5222
|
+
/**
|
|
5223
|
+
* JavaScript code of the bot
|
|
5224
|
+
*/
|
|
5225
|
+
code?: string;
|
|
5226
|
+
/**
|
|
5227
|
+
* Optional name for the bot, if not provided will be auto-generated
|
|
5228
|
+
*/
|
|
5229
|
+
name?: string;
|
|
5230
|
+
/**
|
|
5231
|
+
* Media files associated with the [Bot](#schema_bot)
|
|
5232
|
+
*/
|
|
5233
|
+
medias?: {
|
|
5234
|
+
url: string;
|
|
5235
|
+
name: string;
|
|
5236
|
+
}[];
|
|
5237
|
+
layers?: string[];
|
|
5238
|
+
}
|
|
5239
|
+
type UpdateBotInput$1 = UpdateBotRequestBody$1 & UpdateBotRequestHeaders$1 & UpdateBotRequestQuery$1 & UpdateBotRequestParams$1;
|
|
5240
|
+
interface UpdateBotResponse$1 {
|
|
5241
|
+
bot: {
|
|
5242
|
+
/**
|
|
5243
|
+
* Id of the [Bot](#schema_bot)
|
|
5244
|
+
*/
|
|
5245
|
+
id: string;
|
|
5246
|
+
/**
|
|
5247
|
+
* Creation date of the [Bot](#schema_bot) in ISO 8601 format
|
|
5248
|
+
*/
|
|
5249
|
+
createdAt: string;
|
|
5250
|
+
/**
|
|
5251
|
+
* Updating date of the [Bot](#schema_bot) in ISO 8601 format
|
|
5252
|
+
*/
|
|
5253
|
+
updatedAt: string;
|
|
5254
|
+
/**
|
|
5255
|
+
* Signing secret of the [Bot](#schema_bot)
|
|
5256
|
+
*/
|
|
5257
|
+
signingSecret: string;
|
|
5258
|
+
/**
|
|
5259
|
+
* A mapping of integrations to their configuration
|
|
5260
|
+
*/
|
|
5261
|
+
integrations: {
|
|
5262
|
+
[k: string]: {
|
|
5263
|
+
enabled: boolean;
|
|
5264
|
+
/**
|
|
5265
|
+
* Name of the [Integration](#schema_integration)
|
|
5266
|
+
*/
|
|
5267
|
+
name: string;
|
|
5268
|
+
/**
|
|
5269
|
+
* Version of the [Integration](#schema_integration)
|
|
5270
|
+
*/
|
|
5271
|
+
version: string;
|
|
5272
|
+
webhookUrl: string;
|
|
5273
|
+
webhookId: string;
|
|
5274
|
+
identifier?: string;
|
|
5275
|
+
configurationType: string | null;
|
|
5276
|
+
configuration: {
|
|
5277
|
+
[k: string]: any;
|
|
5278
|
+
};
|
|
5279
|
+
status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
|
|
5280
|
+
statusReason: string | null;
|
|
5281
|
+
/**
|
|
5282
|
+
* ID of the [Integration](#schema_integration)
|
|
5283
|
+
*/
|
|
5284
|
+
id: string;
|
|
5285
|
+
/**
|
|
5286
|
+
* Creation date of the [Integration](#schema_integration) in ISO 8601 format
|
|
5287
|
+
*/
|
|
5288
|
+
createdAt: string;
|
|
5289
|
+
/**
|
|
5290
|
+
* Updating date of the [Integration](#schema_integration) in ISO 8601 format
|
|
5291
|
+
*/
|
|
5292
|
+
updatedAt: string;
|
|
5293
|
+
/**
|
|
5294
|
+
* Title of the integration. This is the name that will be displayed in the UI
|
|
5295
|
+
*/
|
|
5296
|
+
title: string;
|
|
5297
|
+
/**
|
|
5298
|
+
* Description of the integration. This is the description that will be displayed in the UI
|
|
5299
|
+
*/
|
|
5300
|
+
description: string;
|
|
5301
|
+
/**
|
|
5302
|
+
* URL of the icon of the integration. This is the icon that will be displayed in the UI
|
|
5303
|
+
*/
|
|
5304
|
+
iconUrl: string;
|
|
5305
|
+
/**
|
|
5306
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
5177
5307
|
*/
|
|
5178
5308
|
public: boolean;
|
|
5179
5309
|
/**
|
|
@@ -5362,6 +5492,12 @@ interface GetBotResponse$1 {
|
|
|
5362
5492
|
[k: string]: any;
|
|
5363
5493
|
};
|
|
5364
5494
|
};
|
|
5495
|
+
/**
|
|
5496
|
+
* Optional attributes
|
|
5497
|
+
*/
|
|
5498
|
+
attributes?: {
|
|
5499
|
+
[k: string]: string;
|
|
5500
|
+
};
|
|
5365
5501
|
};
|
|
5366
5502
|
};
|
|
5367
5503
|
/**
|
|
@@ -5410,197 +5546,61 @@ interface GetBotResponse$1 {
|
|
|
5410
5546
|
};
|
|
5411
5547
|
}
|
|
5412
5548
|
|
|
5413
|
-
interface
|
|
5549
|
+
interface TransferBotRequestHeaders$1 {
|
|
5414
5550
|
}
|
|
5415
|
-
interface
|
|
5551
|
+
interface TransferBotRequestQuery$1 {
|
|
5416
5552
|
}
|
|
5417
|
-
interface
|
|
5553
|
+
interface TransferBotRequestParams$1 {
|
|
5418
5554
|
id: string;
|
|
5419
5555
|
}
|
|
5420
|
-
interface
|
|
5556
|
+
interface TransferBotRequestBody$1 {
|
|
5557
|
+
/**
|
|
5558
|
+
* The ID of the workspace you want to transfer the bot to.
|
|
5559
|
+
*/
|
|
5560
|
+
targetWorkspaceId: string;
|
|
5421
5561
|
}
|
|
5422
|
-
type
|
|
5423
|
-
interface
|
|
5562
|
+
type TransferBotInput$1 = TransferBotRequestBody$1 & TransferBotRequestHeaders$1 & TransferBotRequestQuery$1 & TransferBotRequestParams$1;
|
|
5563
|
+
interface TransferBotResponse$1 {
|
|
5424
5564
|
}
|
|
5425
5565
|
|
|
5426
|
-
interface
|
|
5427
|
-
}
|
|
5428
|
-
interface GetBotLogsRequestQuery$1 {
|
|
5429
|
-
timeStart: string;
|
|
5430
|
-
timeEnd?: string;
|
|
5431
|
-
level?: string;
|
|
5432
|
-
userId?: string;
|
|
5433
|
-
workflowId?: string;
|
|
5434
|
-
conversationId?: string;
|
|
5435
|
-
nextToken?: string;
|
|
5436
|
-
}
|
|
5437
|
-
interface GetBotLogsRequestParams$1 {
|
|
5438
|
-
id: string;
|
|
5439
|
-
}
|
|
5440
|
-
interface GetBotLogsRequestBody$1 {
|
|
5566
|
+
interface ListBotsRequestHeaders$1 {
|
|
5441
5567
|
}
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
message: string;
|
|
5448
|
-
workflowId?: string;
|
|
5449
|
-
userId?: string;
|
|
5450
|
-
conversationId?: string;
|
|
5451
|
-
}[];
|
|
5568
|
+
interface ListBotsRequestQuery$1 {
|
|
5569
|
+
dev?: boolean;
|
|
5570
|
+
tags?: {
|
|
5571
|
+
[k: string]: string;
|
|
5572
|
+
};
|
|
5452
5573
|
nextToken?: string;
|
|
5574
|
+
sortField?: "createdAt" | "updatedAt";
|
|
5575
|
+
sortDirection?: "asc" | "desc";
|
|
5453
5576
|
}
|
|
5454
|
-
|
|
5455
|
-
interface GetBotWebchatRequestHeaders$1 {
|
|
5456
|
-
}
|
|
5457
|
-
interface GetBotWebchatRequestQuery$1 {
|
|
5458
|
-
type: "preconfigured" | "configurable" | "fullscreen" | "sharableUrl";
|
|
5459
|
-
}
|
|
5460
|
-
interface GetBotWebchatRequestParams$1 {
|
|
5461
|
-
id: string;
|
|
5462
|
-
}
|
|
5463
|
-
interface GetBotWebchatRequestBody$1 {
|
|
5464
|
-
}
|
|
5465
|
-
type GetBotWebchatInput$1 = GetBotWebchatRequestBody$1 & GetBotWebchatRequestHeaders$1 & GetBotWebchatRequestQuery$1 & GetBotWebchatRequestParams$1;
|
|
5466
|
-
interface GetBotWebchatResponse$1 {
|
|
5467
|
-
code: string;
|
|
5577
|
+
interface ListBotsRequestParams$1 {
|
|
5468
5578
|
}
|
|
5469
|
-
|
|
5470
|
-
interface GetBotAnalyticsRequestHeaders$1 {
|
|
5579
|
+
interface ListBotsRequestBody$1 {
|
|
5471
5580
|
}
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
}
|
|
5476
|
-
interface GetBotAnalyticsRequestParams$1 {
|
|
5477
|
-
id: string;
|
|
5478
|
-
}
|
|
5479
|
-
interface GetBotAnalyticsRequestBody$1 {
|
|
5480
|
-
}
|
|
5481
|
-
type GetBotAnalyticsInput$1 = GetBotAnalyticsRequestBody$1 & GetBotAnalyticsRequestHeaders$1 & GetBotAnalyticsRequestQuery$1 & GetBotAnalyticsRequestParams$1;
|
|
5482
|
-
interface GetBotAnalyticsResponse$1 {
|
|
5483
|
-
records: {
|
|
5581
|
+
type ListBotsInput$1 = ListBotsRequestBody$1 & ListBotsRequestHeaders$1 & ListBotsRequestQuery$1 & ListBotsRequestParams$1;
|
|
5582
|
+
interface ListBotsResponse$1 {
|
|
5583
|
+
bots: {
|
|
5484
5584
|
/**
|
|
5485
|
-
*
|
|
5585
|
+
* Id of the [Bot](#schema_bot)
|
|
5486
5586
|
*/
|
|
5487
|
-
|
|
5587
|
+
id: string;
|
|
5488
5588
|
/**
|
|
5489
|
-
*
|
|
5589
|
+
* Creation date of the [Bot](#schema_bot) in ISO 8601 format
|
|
5490
5590
|
*/
|
|
5491
|
-
|
|
5492
|
-
returningUsers: number;
|
|
5493
|
-
newUsers: number;
|
|
5494
|
-
sessions: number;
|
|
5591
|
+
createdAt: string;
|
|
5495
5592
|
/**
|
|
5496
|
-
*
|
|
5593
|
+
* Updating date of the [Bot](#schema_bot) in ISO 8601 format
|
|
5497
5594
|
*/
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
[k: string]: number;
|
|
5507
|
-
};
|
|
5508
|
-
llm: {
|
|
5509
|
-
calls: number;
|
|
5510
|
-
errors: number;
|
|
5511
|
-
inputTokens: number;
|
|
5512
|
-
outputTokens: number;
|
|
5513
|
-
/**
|
|
5514
|
-
* The time it took for the LLM to complete its response. Values are expressed in milliseconds
|
|
5515
|
-
*/
|
|
5516
|
-
latency: {
|
|
5517
|
-
mean: number;
|
|
5518
|
-
sd: number;
|
|
5519
|
-
min: number;
|
|
5520
|
-
max: number;
|
|
5521
|
-
};
|
|
5522
|
-
/**
|
|
5523
|
-
* LLM response generation speed expressed in output tokens per second.
|
|
5524
|
-
*/
|
|
5525
|
-
tokensPerSecond: {
|
|
5526
|
-
mean: number;
|
|
5527
|
-
sd: number;
|
|
5528
|
-
min: number;
|
|
5529
|
-
max: number;
|
|
5530
|
-
};
|
|
5531
|
-
/**
|
|
5532
|
-
* Values are expressed in U.S. dollars
|
|
5533
|
-
*/
|
|
5534
|
-
cost: {
|
|
5535
|
-
sum: number;
|
|
5536
|
-
mean: number;
|
|
5537
|
-
sd: number;
|
|
5538
|
-
min: number;
|
|
5539
|
-
max: number;
|
|
5540
|
-
};
|
|
5541
|
-
};
|
|
5542
|
-
}[];
|
|
5543
|
-
}
|
|
5544
|
-
|
|
5545
|
-
interface GetBotIssueRequestHeaders$1 {
|
|
5546
|
-
}
|
|
5547
|
-
interface GetBotIssueRequestQuery$1 {
|
|
5548
|
-
}
|
|
5549
|
-
interface GetBotIssueRequestParams$1 {
|
|
5550
|
-
id: string;
|
|
5551
|
-
issueId: string;
|
|
5552
|
-
}
|
|
5553
|
-
interface GetBotIssueRequestBody$1 {
|
|
5554
|
-
}
|
|
5555
|
-
type GetBotIssueInput$1 = GetBotIssueRequestBody$1 & GetBotIssueRequestHeaders$1 & GetBotIssueRequestQuery$1 & GetBotIssueRequestParams$1;
|
|
5556
|
-
interface GetBotIssueResponse$1 {
|
|
5557
|
-
issue: {
|
|
5558
|
-
id: string;
|
|
5559
|
-
code: string;
|
|
5560
|
-
createdAt: string;
|
|
5561
|
-
lastSeenAt: string;
|
|
5562
|
-
title: string;
|
|
5563
|
-
description: string;
|
|
5564
|
-
groupedData: {
|
|
5565
|
-
[k: string]: {
|
|
5566
|
-
raw: string;
|
|
5567
|
-
pretty?: string;
|
|
5568
|
-
};
|
|
5569
|
-
};
|
|
5570
|
-
eventsCount: number;
|
|
5571
|
-
category: "user_code" | "limits" | "configuration" | "other";
|
|
5572
|
-
resolutionLink: string | null;
|
|
5573
|
-
};
|
|
5574
|
-
}
|
|
5575
|
-
|
|
5576
|
-
interface ListBotIssuesRequestHeaders$1 {
|
|
5577
|
-
}
|
|
5578
|
-
interface ListBotIssuesRequestQuery$1 {
|
|
5579
|
-
nextToken?: string;
|
|
5580
|
-
}
|
|
5581
|
-
interface ListBotIssuesRequestParams$1 {
|
|
5582
|
-
id: string;
|
|
5583
|
-
}
|
|
5584
|
-
interface ListBotIssuesRequestBody$1 {
|
|
5585
|
-
}
|
|
5586
|
-
type ListBotIssuesInput$1 = ListBotIssuesRequestBody$1 & ListBotIssuesRequestHeaders$1 & ListBotIssuesRequestQuery$1 & ListBotIssuesRequestParams$1;
|
|
5587
|
-
interface ListBotIssuesResponse$1 {
|
|
5588
|
-
issues: {
|
|
5589
|
-
id: string;
|
|
5590
|
-
code: string;
|
|
5591
|
-
createdAt: string;
|
|
5592
|
-
lastSeenAt: string;
|
|
5593
|
-
title: string;
|
|
5594
|
-
description: string;
|
|
5595
|
-
groupedData: {
|
|
5596
|
-
[k: string]: {
|
|
5597
|
-
raw: string;
|
|
5598
|
-
pretty?: string;
|
|
5599
|
-
};
|
|
5595
|
+
updatedAt: string;
|
|
5596
|
+
name: string;
|
|
5597
|
+
deployedAt?: string;
|
|
5598
|
+
/**
|
|
5599
|
+
* Tags of [Bot](#schema_bot)
|
|
5600
|
+
*/
|
|
5601
|
+
tags: {
|
|
5602
|
+
[k: string]: string;
|
|
5600
5603
|
};
|
|
5601
|
-
eventsCount: number;
|
|
5602
|
-
category: "user_code" | "limits" | "configuration" | "other";
|
|
5603
|
-
resolutionLink: string | null;
|
|
5604
5604
|
}[];
|
|
5605
5605
|
meta: {
|
|
5606
5606
|
/**
|
|
@@ -5610,57 +5610,576 @@ interface ListBotIssuesResponse$1 {
|
|
|
5610
5610
|
};
|
|
5611
5611
|
}
|
|
5612
5612
|
|
|
5613
|
-
interface
|
|
5614
|
-
}
|
|
5615
|
-
interface DeleteBotIssueRequestQuery$1 {
|
|
5616
|
-
}
|
|
5617
|
-
interface DeleteBotIssueRequestParams$1 {
|
|
5618
|
-
id: string;
|
|
5619
|
-
issueId: string;
|
|
5620
|
-
}
|
|
5621
|
-
interface DeleteBotIssueRequestBody$1 {
|
|
5622
|
-
}
|
|
5623
|
-
type DeleteBotIssueInput$1 = DeleteBotIssueRequestBody$1 & DeleteBotIssueRequestHeaders$1 & DeleteBotIssueRequestQuery$1 & DeleteBotIssueRequestParams$1;
|
|
5624
|
-
interface DeleteBotIssueResponse$1 {
|
|
5625
|
-
}
|
|
5626
|
-
|
|
5627
|
-
interface ListBotIssueEventsRequestHeaders$1 {
|
|
5613
|
+
interface GetBotRequestHeaders$1 {
|
|
5628
5614
|
}
|
|
5629
|
-
interface
|
|
5615
|
+
interface GetBotRequestQuery$1 {
|
|
5630
5616
|
}
|
|
5631
|
-
interface
|
|
5617
|
+
interface GetBotRequestParams$1 {
|
|
5632
5618
|
id: string;
|
|
5633
|
-
issueId: string;
|
|
5634
5619
|
}
|
|
5635
|
-
interface
|
|
5620
|
+
interface GetBotRequestBody$1 {
|
|
5636
5621
|
}
|
|
5637
|
-
type
|
|
5638
|
-
interface
|
|
5639
|
-
|
|
5622
|
+
type GetBotInput$1 = GetBotRequestBody$1 & GetBotRequestHeaders$1 & GetBotRequestQuery$1 & GetBotRequestParams$1;
|
|
5623
|
+
interface GetBotResponse$1 {
|
|
5624
|
+
bot: {
|
|
5625
|
+
/**
|
|
5626
|
+
* Id of the [Bot](#schema_bot)
|
|
5627
|
+
*/
|
|
5640
5628
|
id: string;
|
|
5629
|
+
/**
|
|
5630
|
+
* Creation date of the [Bot](#schema_bot) in ISO 8601 format
|
|
5631
|
+
*/
|
|
5641
5632
|
createdAt: string;
|
|
5642
|
-
|
|
5633
|
+
/**
|
|
5634
|
+
* Updating date of the [Bot](#schema_bot) in ISO 8601 format
|
|
5635
|
+
*/
|
|
5636
|
+
updatedAt: string;
|
|
5637
|
+
/**
|
|
5638
|
+
* Signing secret of the [Bot](#schema_bot)
|
|
5639
|
+
*/
|
|
5640
|
+
signingSecret: string;
|
|
5641
|
+
/**
|
|
5642
|
+
* A mapping of integrations to their configuration
|
|
5643
|
+
*/
|
|
5644
|
+
integrations: {
|
|
5643
5645
|
[k: string]: {
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
+
enabled: boolean;
|
|
5647
|
+
/**
|
|
5648
|
+
* Name of the [Integration](#schema_integration)
|
|
5649
|
+
*/
|
|
5650
|
+
name: string;
|
|
5651
|
+
/**
|
|
5652
|
+
* Version of the [Integration](#schema_integration)
|
|
5653
|
+
*/
|
|
5654
|
+
version: string;
|
|
5655
|
+
webhookUrl: string;
|
|
5656
|
+
webhookId: string;
|
|
5657
|
+
identifier?: string;
|
|
5658
|
+
configurationType: string | null;
|
|
5659
|
+
configuration: {
|
|
5660
|
+
[k: string]: any;
|
|
5661
|
+
};
|
|
5662
|
+
status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
|
|
5663
|
+
statusReason: string | null;
|
|
5664
|
+
/**
|
|
5665
|
+
* ID of the [Integration](#schema_integration)
|
|
5666
|
+
*/
|
|
5667
|
+
id: string;
|
|
5668
|
+
/**
|
|
5669
|
+
* Creation date of the [Integration](#schema_integration) in ISO 8601 format
|
|
5670
|
+
*/
|
|
5671
|
+
createdAt: string;
|
|
5672
|
+
/**
|
|
5673
|
+
* Updating date of the [Integration](#schema_integration) in ISO 8601 format
|
|
5674
|
+
*/
|
|
5675
|
+
updatedAt: string;
|
|
5676
|
+
/**
|
|
5677
|
+
* Title of the integration. This is the name that will be displayed in the UI
|
|
5678
|
+
*/
|
|
5679
|
+
title: string;
|
|
5680
|
+
/**
|
|
5681
|
+
* Description of the integration. This is the description that will be displayed in the UI
|
|
5682
|
+
*/
|
|
5683
|
+
description: string;
|
|
5684
|
+
/**
|
|
5685
|
+
* URL of the icon of the integration. This is the icon that will be displayed in the UI
|
|
5686
|
+
*/
|
|
5687
|
+
iconUrl: string;
|
|
5688
|
+
/**
|
|
5689
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
5690
|
+
*/
|
|
5691
|
+
public: boolean;
|
|
5692
|
+
/**
|
|
5693
|
+
* Status of the integration version verification
|
|
5694
|
+
*/
|
|
5695
|
+
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
5646
5696
|
};
|
|
5647
5697
|
};
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5698
|
+
/**
|
|
5699
|
+
* User object configuration
|
|
5700
|
+
*/
|
|
5701
|
+
user: {
|
|
5702
|
+
tags: {
|
|
5703
|
+
/**
|
|
5704
|
+
* Definition of a tag that can be provided on the object
|
|
5705
|
+
*/
|
|
5706
|
+
[k: string]: {
|
|
5707
|
+
/**
|
|
5708
|
+
* Title of the tag
|
|
5709
|
+
*/
|
|
5710
|
+
title?: string;
|
|
5711
|
+
/**
|
|
5712
|
+
* Description of the tag
|
|
5713
|
+
*/
|
|
5714
|
+
description?: string;
|
|
5715
|
+
};
|
|
5716
|
+
};
|
|
5717
|
+
};
|
|
5718
|
+
/**
|
|
5719
|
+
* Conversation object configuration
|
|
5720
|
+
*/
|
|
5721
|
+
conversation: {
|
|
5722
|
+
tags: {
|
|
5723
|
+
/**
|
|
5724
|
+
* Definition of a tag that can be provided on the object
|
|
5725
|
+
*/
|
|
5726
|
+
[k: string]: {
|
|
5727
|
+
/**
|
|
5728
|
+
* Title of the tag
|
|
5729
|
+
*/
|
|
5730
|
+
title?: string;
|
|
5731
|
+
/**
|
|
5732
|
+
* Description of the tag
|
|
5733
|
+
*/
|
|
5734
|
+
description?: string;
|
|
5735
|
+
};
|
|
5736
|
+
};
|
|
5737
|
+
};
|
|
5738
|
+
/**
|
|
5739
|
+
* Message object configuration
|
|
5740
|
+
*/
|
|
5741
|
+
message: {
|
|
5742
|
+
tags: {
|
|
5743
|
+
/**
|
|
5744
|
+
* Definition of a tag that can be provided on the object
|
|
5745
|
+
*/
|
|
5746
|
+
[k: string]: {
|
|
5747
|
+
/**
|
|
5748
|
+
* Title of the tag
|
|
5749
|
+
*/
|
|
5750
|
+
title?: string;
|
|
5751
|
+
/**
|
|
5752
|
+
* Description of the tag
|
|
5753
|
+
*/
|
|
5754
|
+
description?: string;
|
|
5755
|
+
};
|
|
5756
|
+
};
|
|
5757
|
+
};
|
|
5758
|
+
/**
|
|
5759
|
+
* A mapping of states to their definition
|
|
5760
|
+
*/
|
|
5761
|
+
states: {
|
|
5762
|
+
[k: string]: {
|
|
5763
|
+
/**
|
|
5764
|
+
* Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)
|
|
5765
|
+
*/
|
|
5766
|
+
type: "conversation" | "user" | "bot" | "task";
|
|
5767
|
+
/**
|
|
5768
|
+
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
5769
|
+
*/
|
|
5770
|
+
schema: {
|
|
5771
|
+
[k: string]: any;
|
|
5772
|
+
};
|
|
5773
|
+
/**
|
|
5774
|
+
* Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire.
|
|
5775
|
+
*/
|
|
5776
|
+
expiry?: number;
|
|
5777
|
+
};
|
|
5778
|
+
};
|
|
5779
|
+
/**
|
|
5780
|
+
* Configuration of the bot
|
|
5781
|
+
*/
|
|
5782
|
+
configuration: {
|
|
5783
|
+
/**
|
|
5784
|
+
* Configuration data
|
|
5785
|
+
*/
|
|
5786
|
+
data: {
|
|
5787
|
+
[k: string]: any;
|
|
5788
|
+
};
|
|
5789
|
+
/**
|
|
5790
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
5791
|
+
*/
|
|
5792
|
+
schema: {
|
|
5793
|
+
[k: string]: any;
|
|
5794
|
+
};
|
|
5795
|
+
};
|
|
5796
|
+
/**
|
|
5797
|
+
* Events definition
|
|
5798
|
+
*/
|
|
5799
|
+
events: {
|
|
5800
|
+
/**
|
|
5801
|
+
* Event Definition
|
|
5802
|
+
*/
|
|
5803
|
+
[k: string]: {
|
|
5804
|
+
/**
|
|
5805
|
+
* Title of the event
|
|
5806
|
+
*/
|
|
5807
|
+
title?: string;
|
|
5808
|
+
/**
|
|
5809
|
+
* Description of the event
|
|
5810
|
+
*/
|
|
5811
|
+
description?: string;
|
|
5812
|
+
schema: {
|
|
5813
|
+
[k: string]: any;
|
|
5814
|
+
};
|
|
5815
|
+
};
|
|
5816
|
+
};
|
|
5817
|
+
/**
|
|
5818
|
+
* Recurring events
|
|
5819
|
+
*/
|
|
5820
|
+
recurringEvents: {
|
|
5821
|
+
[k: string]: {
|
|
5822
|
+
schedule: {
|
|
5823
|
+
cron: string;
|
|
5824
|
+
};
|
|
5825
|
+
type: string;
|
|
5826
|
+
payload: {
|
|
5827
|
+
[k: string]: any;
|
|
5828
|
+
};
|
|
5829
|
+
/**
|
|
5830
|
+
* The number of times the recurring event failed to run. This counter resets once the recurring event runs successfully.
|
|
5831
|
+
*/
|
|
5832
|
+
failedAttempts: number;
|
|
5833
|
+
/**
|
|
5834
|
+
* The reason why the recurring event failed to run in the last attempt.
|
|
5835
|
+
*/
|
|
5836
|
+
lastFailureReason: string | null;
|
|
5837
|
+
};
|
|
5838
|
+
};
|
|
5839
|
+
/**
|
|
5840
|
+
* Subscriptions of the bot
|
|
5841
|
+
*/
|
|
5842
|
+
subscriptions: {
|
|
5843
|
+
/**
|
|
5844
|
+
* Events that the bot is currently subscribed on (ex: "slack:reactionAdded"). If null, the bot is subscribed to all events.
|
|
5845
|
+
*/
|
|
5846
|
+
events: {
|
|
5847
|
+
[k: string]: {};
|
|
5848
|
+
} | null;
|
|
5849
|
+
};
|
|
5850
|
+
/**
|
|
5851
|
+
* Actions definition
|
|
5852
|
+
*/
|
|
5853
|
+
actions: {
|
|
5854
|
+
/**
|
|
5855
|
+
* Action definition
|
|
5856
|
+
*/
|
|
5857
|
+
[k: string]: {
|
|
5858
|
+
/**
|
|
5859
|
+
* Title of the action
|
|
5860
|
+
*/
|
|
5861
|
+
title?: string;
|
|
5862
|
+
/**
|
|
5863
|
+
* Description of the action
|
|
5864
|
+
*/
|
|
5865
|
+
description?: string;
|
|
5866
|
+
billable?: boolean;
|
|
5867
|
+
cacheable?: boolean;
|
|
5868
|
+
input: {
|
|
5869
|
+
schema: {
|
|
5870
|
+
[k: string]: any;
|
|
5871
|
+
};
|
|
5872
|
+
};
|
|
5873
|
+
output: {
|
|
5874
|
+
schema: {
|
|
5875
|
+
[k: string]: any;
|
|
5876
|
+
};
|
|
5877
|
+
};
|
|
5878
|
+
/**
|
|
5879
|
+
* Optional attributes
|
|
5880
|
+
*/
|
|
5881
|
+
attributes?: {
|
|
5882
|
+
[k: string]: string;
|
|
5883
|
+
};
|
|
5884
|
+
};
|
|
5885
|
+
};
|
|
5886
|
+
/**
|
|
5887
|
+
* Tags of [Bot](#schema_bot)
|
|
5888
|
+
*/
|
|
5889
|
+
tags: {
|
|
5890
|
+
[k: string]: string;
|
|
5891
|
+
};
|
|
5892
|
+
/**
|
|
5893
|
+
* Name of the [Bot](#schema_bot)
|
|
5894
|
+
*/
|
|
5895
|
+
name: string;
|
|
5896
|
+
/**
|
|
5897
|
+
* Last deployment date of the [Bot](#schema_bot) in the ISO 8601 format
|
|
5898
|
+
*/
|
|
5899
|
+
deployedAt?: string;
|
|
5900
|
+
/**
|
|
5901
|
+
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
5902
|
+
*/
|
|
5903
|
+
dev: boolean;
|
|
5904
|
+
/**
|
|
5905
|
+
* Id of the user that created the bot
|
|
5906
|
+
*/
|
|
5907
|
+
createdBy?: string;
|
|
5908
|
+
/**
|
|
5909
|
+
* Indicates if the [Bot](#schema_bot) should be in always alive mode
|
|
5910
|
+
*/
|
|
5911
|
+
alwaysAlive: boolean;
|
|
5912
|
+
/**
|
|
5913
|
+
* Status of the bot
|
|
5914
|
+
*/
|
|
5915
|
+
status: "active" | "deploying";
|
|
5916
|
+
/**
|
|
5917
|
+
* Media files associated with the [Bot](#schema_bot)
|
|
5918
|
+
*/
|
|
5919
|
+
medias: {
|
|
5920
|
+
/**
|
|
5921
|
+
* URL of the media file
|
|
5922
|
+
*/
|
|
5923
|
+
url: string;
|
|
5924
|
+
/**
|
|
5925
|
+
* Name of the media file
|
|
5926
|
+
*/
|
|
5927
|
+
name: string;
|
|
5928
|
+
}[];
|
|
5929
|
+
};
|
|
5930
|
+
}
|
|
5931
|
+
|
|
5932
|
+
interface DeleteBotRequestHeaders$1 {
|
|
5933
|
+
}
|
|
5934
|
+
interface DeleteBotRequestQuery$1 {
|
|
5935
|
+
}
|
|
5936
|
+
interface DeleteBotRequestParams$1 {
|
|
5937
|
+
id: string;
|
|
5938
|
+
}
|
|
5939
|
+
interface DeleteBotRequestBody$1 {
|
|
5940
|
+
}
|
|
5941
|
+
type DeleteBotInput$1 = DeleteBotRequestBody$1 & DeleteBotRequestHeaders$1 & DeleteBotRequestQuery$1 & DeleteBotRequestParams$1;
|
|
5942
|
+
interface DeleteBotResponse$1 {
|
|
5943
|
+
}
|
|
5944
|
+
|
|
5945
|
+
interface GetBotLogsRequestHeaders$1 {
|
|
5946
|
+
}
|
|
5947
|
+
interface GetBotLogsRequestQuery$1 {
|
|
5948
|
+
timeStart: string;
|
|
5949
|
+
timeEnd?: string;
|
|
5950
|
+
level?: string;
|
|
5951
|
+
userId?: string;
|
|
5952
|
+
workflowId?: string;
|
|
5953
|
+
conversationId?: string;
|
|
5954
|
+
nextToken?: string;
|
|
5955
|
+
}
|
|
5956
|
+
interface GetBotLogsRequestParams$1 {
|
|
5957
|
+
id: string;
|
|
5958
|
+
}
|
|
5959
|
+
interface GetBotLogsRequestBody$1 {
|
|
5960
|
+
}
|
|
5961
|
+
type GetBotLogsInput$1 = GetBotLogsRequestBody$1 & GetBotLogsRequestHeaders$1 & GetBotLogsRequestQuery$1 & GetBotLogsRequestParams$1;
|
|
5962
|
+
interface GetBotLogsResponse$1 {
|
|
5963
|
+
logs: {
|
|
5964
|
+
timestamp: string;
|
|
5965
|
+
level: string;
|
|
5966
|
+
message: string;
|
|
5967
|
+
workflowId?: string;
|
|
5968
|
+
userId?: string;
|
|
5969
|
+
conversationId?: string;
|
|
5970
|
+
}[];
|
|
5971
|
+
nextToken?: string;
|
|
5972
|
+
}
|
|
5973
|
+
|
|
5974
|
+
interface GetBotWebchatRequestHeaders$1 {
|
|
5975
|
+
}
|
|
5976
|
+
interface GetBotWebchatRequestQuery$1 {
|
|
5977
|
+
type: "preconfigured" | "configurable" | "fullscreen" | "sharableUrl";
|
|
5978
|
+
}
|
|
5979
|
+
interface GetBotWebchatRequestParams$1 {
|
|
5980
|
+
id: string;
|
|
5981
|
+
}
|
|
5982
|
+
interface GetBotWebchatRequestBody$1 {
|
|
5983
|
+
}
|
|
5984
|
+
type GetBotWebchatInput$1 = GetBotWebchatRequestBody$1 & GetBotWebchatRequestHeaders$1 & GetBotWebchatRequestQuery$1 & GetBotWebchatRequestParams$1;
|
|
5985
|
+
interface GetBotWebchatResponse$1 {
|
|
5986
|
+
code: string;
|
|
5987
|
+
}
|
|
5988
|
+
|
|
5989
|
+
interface GetBotAnalyticsRequestHeaders$1 {
|
|
5990
|
+
}
|
|
5991
|
+
interface GetBotAnalyticsRequestQuery$1 {
|
|
5992
|
+
startDate: string;
|
|
5993
|
+
endDate: string;
|
|
5994
|
+
}
|
|
5995
|
+
interface GetBotAnalyticsRequestParams$1 {
|
|
5996
|
+
id: string;
|
|
5997
|
+
}
|
|
5998
|
+
interface GetBotAnalyticsRequestBody$1 {
|
|
5999
|
+
}
|
|
6000
|
+
type GetBotAnalyticsInput$1 = GetBotAnalyticsRequestBody$1 & GetBotAnalyticsRequestHeaders$1 & GetBotAnalyticsRequestQuery$1 & GetBotAnalyticsRequestParams$1;
|
|
6001
|
+
interface GetBotAnalyticsResponse$1 {
|
|
6002
|
+
records: {
|
|
6003
|
+
/**
|
|
6004
|
+
* ISO 8601 date string of the beginning (inclusive) of the period
|
|
6005
|
+
*/
|
|
6006
|
+
startDateTimeUtc: string;
|
|
6007
|
+
/**
|
|
6008
|
+
* ISO 8601 date string of the end (exclusive) of the period
|
|
6009
|
+
*/
|
|
6010
|
+
endDateTimeUtc: string;
|
|
6011
|
+
returningUsers: number;
|
|
6012
|
+
newUsers: number;
|
|
6013
|
+
sessions: number;
|
|
6014
|
+
/**
|
|
6015
|
+
* Deprecated. Use `userMessages` instead.
|
|
6016
|
+
*/
|
|
6017
|
+
messages: number;
|
|
6018
|
+
userMessages: number;
|
|
6019
|
+
botMessages: number;
|
|
6020
|
+
events: number;
|
|
6021
|
+
eventTypes: {
|
|
6022
|
+
[k: string]: number;
|
|
6023
|
+
};
|
|
6024
|
+
customEvents: {
|
|
6025
|
+
[k: string]: number;
|
|
6026
|
+
};
|
|
6027
|
+
llm: {
|
|
6028
|
+
calls: number;
|
|
6029
|
+
errors: number;
|
|
6030
|
+
inputTokens: number;
|
|
6031
|
+
outputTokens: number;
|
|
6032
|
+
/**
|
|
6033
|
+
* The time it took for the LLM to complete its response. Values are expressed in milliseconds
|
|
6034
|
+
*/
|
|
6035
|
+
latency: {
|
|
6036
|
+
mean: number;
|
|
6037
|
+
sd: number;
|
|
6038
|
+
min: number;
|
|
6039
|
+
max: number;
|
|
6040
|
+
};
|
|
6041
|
+
/**
|
|
6042
|
+
* LLM response generation speed expressed in output tokens per second.
|
|
6043
|
+
*/
|
|
6044
|
+
tokensPerSecond: {
|
|
6045
|
+
mean: number;
|
|
6046
|
+
sd: number;
|
|
6047
|
+
min: number;
|
|
6048
|
+
max: number;
|
|
6049
|
+
};
|
|
6050
|
+
/**
|
|
6051
|
+
* Values are expressed in U.S. dollars
|
|
6052
|
+
*/
|
|
6053
|
+
cost: {
|
|
6054
|
+
sum: number;
|
|
6055
|
+
mean: number;
|
|
6056
|
+
sd: number;
|
|
6057
|
+
min: number;
|
|
6058
|
+
max: number;
|
|
6059
|
+
};
|
|
6060
|
+
};
|
|
6061
|
+
}[];
|
|
6062
|
+
}
|
|
6063
|
+
|
|
6064
|
+
interface GetBotIssueRequestHeaders$1 {
|
|
6065
|
+
}
|
|
6066
|
+
interface GetBotIssueRequestQuery$1 {
|
|
6067
|
+
}
|
|
6068
|
+
interface GetBotIssueRequestParams$1 {
|
|
6069
|
+
id: string;
|
|
6070
|
+
issueId: string;
|
|
6071
|
+
}
|
|
6072
|
+
interface GetBotIssueRequestBody$1 {
|
|
6073
|
+
}
|
|
6074
|
+
type GetBotIssueInput$1 = GetBotIssueRequestBody$1 & GetBotIssueRequestHeaders$1 & GetBotIssueRequestQuery$1 & GetBotIssueRequestParams$1;
|
|
6075
|
+
interface GetBotIssueResponse$1 {
|
|
6076
|
+
issue: {
|
|
6077
|
+
id: string;
|
|
6078
|
+
code: string;
|
|
6079
|
+
createdAt: string;
|
|
6080
|
+
lastSeenAt: string;
|
|
6081
|
+
title: string;
|
|
6082
|
+
description: string;
|
|
6083
|
+
groupedData: {
|
|
6084
|
+
[k: string]: {
|
|
6085
|
+
raw: string;
|
|
6086
|
+
pretty?: string;
|
|
6087
|
+
};
|
|
6088
|
+
};
|
|
6089
|
+
eventsCount: number;
|
|
6090
|
+
category: "user_code" | "limits" | "configuration" | "other";
|
|
6091
|
+
resolutionLink: string | null;
|
|
6092
|
+
};
|
|
6093
|
+
}
|
|
6094
|
+
|
|
6095
|
+
interface ListBotIssuesRequestHeaders$1 {
|
|
6096
|
+
}
|
|
6097
|
+
interface ListBotIssuesRequestQuery$1 {
|
|
6098
|
+
nextToken?: string;
|
|
6099
|
+
}
|
|
6100
|
+
interface ListBotIssuesRequestParams$1 {
|
|
6101
|
+
id: string;
|
|
6102
|
+
}
|
|
6103
|
+
interface ListBotIssuesRequestBody$1 {
|
|
6104
|
+
}
|
|
6105
|
+
type ListBotIssuesInput$1 = ListBotIssuesRequestBody$1 & ListBotIssuesRequestHeaders$1 & ListBotIssuesRequestQuery$1 & ListBotIssuesRequestParams$1;
|
|
6106
|
+
interface ListBotIssuesResponse$1 {
|
|
6107
|
+
issues: {
|
|
6108
|
+
id: string;
|
|
6109
|
+
code: string;
|
|
6110
|
+
createdAt: string;
|
|
6111
|
+
lastSeenAt: string;
|
|
6112
|
+
title: string;
|
|
6113
|
+
description: string;
|
|
6114
|
+
groupedData: {
|
|
6115
|
+
[k: string]: {
|
|
6116
|
+
raw: string;
|
|
6117
|
+
pretty?: string;
|
|
6118
|
+
};
|
|
6119
|
+
};
|
|
6120
|
+
eventsCount: number;
|
|
6121
|
+
category: "user_code" | "limits" | "configuration" | "other";
|
|
6122
|
+
resolutionLink: string | null;
|
|
6123
|
+
}[];
|
|
6124
|
+
meta: {
|
|
6125
|
+
/**
|
|
6126
|
+
* The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
|
|
6127
|
+
*/
|
|
6128
|
+
nextToken?: string;
|
|
6129
|
+
};
|
|
6130
|
+
}
|
|
6131
|
+
|
|
6132
|
+
interface DeleteBotIssueRequestHeaders$1 {
|
|
6133
|
+
}
|
|
6134
|
+
interface DeleteBotIssueRequestQuery$1 {
|
|
6135
|
+
}
|
|
6136
|
+
interface DeleteBotIssueRequestParams$1 {
|
|
6137
|
+
id: string;
|
|
6138
|
+
issueId: string;
|
|
6139
|
+
}
|
|
6140
|
+
interface DeleteBotIssueRequestBody$1 {
|
|
6141
|
+
}
|
|
6142
|
+
type DeleteBotIssueInput$1 = DeleteBotIssueRequestBody$1 & DeleteBotIssueRequestHeaders$1 & DeleteBotIssueRequestQuery$1 & DeleteBotIssueRequestParams$1;
|
|
6143
|
+
interface DeleteBotIssueResponse$1 {
|
|
6144
|
+
}
|
|
6145
|
+
|
|
6146
|
+
interface ListBotIssueEventsRequestHeaders$1 {
|
|
6147
|
+
}
|
|
6148
|
+
interface ListBotIssueEventsRequestQuery$1 {
|
|
6149
|
+
}
|
|
6150
|
+
interface ListBotIssueEventsRequestParams$1 {
|
|
6151
|
+
id: string;
|
|
6152
|
+
issueId: string;
|
|
6153
|
+
}
|
|
6154
|
+
interface ListBotIssueEventsRequestBody$1 {
|
|
6155
|
+
}
|
|
6156
|
+
type ListBotIssueEventsInput$1 = ListBotIssueEventsRequestBody$1 & ListBotIssueEventsRequestHeaders$1 & ListBotIssueEventsRequestQuery$1 & ListBotIssueEventsRequestParams$1;
|
|
6157
|
+
interface ListBotIssueEventsResponse$1 {
|
|
6158
|
+
issueEvents: {
|
|
6159
|
+
id: string;
|
|
6160
|
+
createdAt: string;
|
|
6161
|
+
data: {
|
|
6162
|
+
[k: string]: {
|
|
6163
|
+
raw: string;
|
|
6164
|
+
pretty?: string;
|
|
6165
|
+
};
|
|
6166
|
+
};
|
|
6167
|
+
}[];
|
|
6168
|
+
}
|
|
6169
|
+
|
|
6170
|
+
interface ListBotVersionsRequestHeaders$1 {
|
|
6171
|
+
}
|
|
6172
|
+
interface ListBotVersionsRequestQuery$1 {
|
|
6173
|
+
}
|
|
6174
|
+
interface ListBotVersionsRequestParams$1 {
|
|
6175
|
+
id: string;
|
|
6176
|
+
}
|
|
6177
|
+
interface ListBotVersionsRequestBody$1 {
|
|
6178
|
+
}
|
|
6179
|
+
type ListBotVersionsInput$1 = ListBotVersionsRequestBody$1 & ListBotVersionsRequestHeaders$1 & ListBotVersionsRequestQuery$1 & ListBotVersionsRequestParams$1;
|
|
6180
|
+
interface ListBotVersionsResponse$1 {
|
|
6181
|
+
versions: {
|
|
6182
|
+
id: string;
|
|
5664
6183
|
name: string;
|
|
5665
6184
|
description?: string;
|
|
5666
6185
|
}[];
|
|
@@ -5760,6 +6279,58 @@ interface GetIntegrationShareableIdResponse$1 {
|
|
|
5760
6279
|
isExpired: boolean;
|
|
5761
6280
|
}
|
|
5762
6281
|
|
|
6282
|
+
interface ListBotApiKeysRequestHeaders$1 {
|
|
6283
|
+
}
|
|
6284
|
+
interface ListBotApiKeysRequestQuery$1 {
|
|
6285
|
+
botId: string;
|
|
6286
|
+
}
|
|
6287
|
+
interface ListBotApiKeysRequestParams$1 {
|
|
6288
|
+
}
|
|
6289
|
+
interface ListBotApiKeysRequestBody$1 {
|
|
6290
|
+
}
|
|
6291
|
+
type ListBotApiKeysInput$1 = ListBotApiKeysRequestBody$1 & ListBotApiKeysRequestHeaders$1 & ListBotApiKeysRequestQuery$1 & ListBotApiKeysRequestParams$1;
|
|
6292
|
+
interface ListBotApiKeysResponse$1 {
|
|
6293
|
+
baks: {
|
|
6294
|
+
id: string;
|
|
6295
|
+
createdAt: string;
|
|
6296
|
+
note: string;
|
|
6297
|
+
}[];
|
|
6298
|
+
}
|
|
6299
|
+
|
|
6300
|
+
interface CreateBotApiKeyRequestHeaders$1 {
|
|
6301
|
+
}
|
|
6302
|
+
interface CreateBotApiKeyRequestQuery$1 {
|
|
6303
|
+
}
|
|
6304
|
+
interface CreateBotApiKeyRequestParams$1 {
|
|
6305
|
+
}
|
|
6306
|
+
interface CreateBotApiKeyRequestBody$1 {
|
|
6307
|
+
botId: string;
|
|
6308
|
+
note?: string;
|
|
6309
|
+
}
|
|
6310
|
+
type CreateBotApiKeyInput$1 = CreateBotApiKeyRequestBody$1 & CreateBotApiKeyRequestHeaders$1 & CreateBotApiKeyRequestQuery$1 & CreateBotApiKeyRequestParams$1;
|
|
6311
|
+
interface CreateBotApiKeyResponse$1 {
|
|
6312
|
+
id: string;
|
|
6313
|
+
createdAt: string;
|
|
6314
|
+
note: string;
|
|
6315
|
+
/**
|
|
6316
|
+
* The BAK value. This will only be returned here when created and cannot be retrieved later.
|
|
6317
|
+
*/
|
|
6318
|
+
value: string;
|
|
6319
|
+
}
|
|
6320
|
+
|
|
6321
|
+
interface DeleteBotApiKeyRequestHeaders$1 {
|
|
6322
|
+
}
|
|
6323
|
+
interface DeleteBotApiKeyRequestQuery$1 {
|
|
6324
|
+
}
|
|
6325
|
+
interface DeleteBotApiKeyRequestParams$1 {
|
|
6326
|
+
id: string;
|
|
6327
|
+
}
|
|
6328
|
+
interface DeleteBotApiKeyRequestBody$1 {
|
|
6329
|
+
}
|
|
6330
|
+
type DeleteBotApiKeyInput$1 = DeleteBotApiKeyRequestBody$1 & DeleteBotApiKeyRequestHeaders$1 & DeleteBotApiKeyRequestQuery$1 & DeleteBotApiKeyRequestParams$1;
|
|
6331
|
+
interface DeleteBotApiKeyResponse$1 {
|
|
6332
|
+
}
|
|
6333
|
+
|
|
5763
6334
|
interface ListWorkspaceInvoicesRequestHeaders$1 {
|
|
5764
6335
|
}
|
|
5765
6336
|
interface ListWorkspaceInvoicesRequestQuery$1 {
|
|
@@ -6560,6 +7131,12 @@ interface CreateIntegrationRequestBody$1 {
|
|
|
6560
7131
|
[k: string]: any;
|
|
6561
7132
|
};
|
|
6562
7133
|
};
|
|
7134
|
+
/**
|
|
7135
|
+
* Optional attributes
|
|
7136
|
+
*/
|
|
7137
|
+
attributes?: {
|
|
7138
|
+
[k: string]: string;
|
|
7139
|
+
};
|
|
6563
7140
|
};
|
|
6564
7141
|
};
|
|
6565
7142
|
entities?: {
|
|
@@ -7029,6 +7606,12 @@ interface CreateIntegrationResponse$1 {
|
|
|
7029
7606
|
[k: string]: any;
|
|
7030
7607
|
};
|
|
7031
7608
|
};
|
|
7609
|
+
/**
|
|
7610
|
+
* Optional attributes
|
|
7611
|
+
*/
|
|
7612
|
+
attributes?: {
|
|
7613
|
+
[k: string]: string;
|
|
7614
|
+
};
|
|
7032
7615
|
};
|
|
7033
7616
|
};
|
|
7034
7617
|
/**
|
|
@@ -7240,6 +7823,12 @@ interface ValidateIntegrationCreationRequestBody$1 {
|
|
|
7240
7823
|
[k: string]: any;
|
|
7241
7824
|
};
|
|
7242
7825
|
};
|
|
7826
|
+
/**
|
|
7827
|
+
* Optional attributes
|
|
7828
|
+
*/
|
|
7829
|
+
attributes?: {
|
|
7830
|
+
[k: string]: string;
|
|
7831
|
+
};
|
|
7243
7832
|
};
|
|
7244
7833
|
};
|
|
7245
7834
|
entities?: {
|
|
@@ -7565,9 +8154,6 @@ interface UpdateIntegrationRequestBody$1 {
|
|
|
7565
8154
|
fallbackHandlerScript?: string | null;
|
|
7566
8155
|
};
|
|
7567
8156
|
actions?: {
|
|
7568
|
-
/**
|
|
7569
|
-
* Action definition
|
|
7570
|
-
*/
|
|
7571
8157
|
[k: string]: {
|
|
7572
8158
|
/**
|
|
7573
8159
|
* Title of the action
|
|
@@ -7589,6 +8175,12 @@ interface UpdateIntegrationRequestBody$1 {
|
|
|
7589
8175
|
[k: string]: any;
|
|
7590
8176
|
};
|
|
7591
8177
|
};
|
|
8178
|
+
/**
|
|
8179
|
+
* Optional attributes. Set attributes to null to remove them
|
|
8180
|
+
*/
|
|
8181
|
+
attributes?: {
|
|
8182
|
+
[k: string]: string | null;
|
|
8183
|
+
};
|
|
7592
8184
|
} | null;
|
|
7593
8185
|
};
|
|
7594
8186
|
events?: {
|
|
@@ -8020,6 +8612,12 @@ interface UpdateIntegrationResponse$1 {
|
|
|
8020
8612
|
[k: string]: any;
|
|
8021
8613
|
};
|
|
8022
8614
|
};
|
|
8615
|
+
/**
|
|
8616
|
+
* Optional attributes
|
|
8617
|
+
*/
|
|
8618
|
+
attributes?: {
|
|
8619
|
+
[k: string]: string;
|
|
8620
|
+
};
|
|
8023
8621
|
};
|
|
8024
8622
|
};
|
|
8025
8623
|
/**
|
|
@@ -8238,9 +8836,6 @@ interface ValidateIntegrationUpdateRequestBody$1 {
|
|
|
8238
8836
|
fallbackHandlerScript?: string | null;
|
|
8239
8837
|
};
|
|
8240
8838
|
actions?: {
|
|
8241
|
-
/**
|
|
8242
|
-
* Action definition
|
|
8243
|
-
*/
|
|
8244
8839
|
[k: string]: {
|
|
8245
8840
|
/**
|
|
8246
8841
|
* Title of the action
|
|
@@ -8262,6 +8857,12 @@ interface ValidateIntegrationUpdateRequestBody$1 {
|
|
|
8262
8857
|
[k: string]: any;
|
|
8263
8858
|
};
|
|
8264
8859
|
};
|
|
8860
|
+
/**
|
|
8861
|
+
* Optional attributes. Set attributes to null to remove them
|
|
8862
|
+
*/
|
|
8863
|
+
attributes?: {
|
|
8864
|
+
[k: string]: string | null;
|
|
8865
|
+
};
|
|
8265
8866
|
} | null;
|
|
8266
8867
|
};
|
|
8267
8868
|
events?: {
|
|
@@ -8809,6 +9410,12 @@ interface GetIntegrationResponse$1 {
|
|
|
8809
9410
|
[k: string]: any;
|
|
8810
9411
|
};
|
|
8811
9412
|
};
|
|
9413
|
+
/**
|
|
9414
|
+
* Optional attributes
|
|
9415
|
+
*/
|
|
9416
|
+
attributes?: {
|
|
9417
|
+
[k: string]: string;
|
|
9418
|
+
};
|
|
8812
9419
|
};
|
|
8813
9420
|
};
|
|
8814
9421
|
/**
|
|
@@ -9213,6 +9820,12 @@ interface GetIntegrationByNameResponse$1 {
|
|
|
9213
9820
|
[k: string]: any;
|
|
9214
9821
|
};
|
|
9215
9822
|
};
|
|
9823
|
+
/**
|
|
9824
|
+
* Optional attributes
|
|
9825
|
+
*/
|
|
9826
|
+
attributes?: {
|
|
9827
|
+
[k: string]: string;
|
|
9828
|
+
};
|
|
9216
9829
|
};
|
|
9217
9830
|
};
|
|
9218
9831
|
/**
|
|
@@ -9403,6 +10016,12 @@ interface CreateInterfaceRequestBody$1 {
|
|
|
9403
10016
|
[k: string]: any;
|
|
9404
10017
|
};
|
|
9405
10018
|
};
|
|
10019
|
+
/**
|
|
10020
|
+
* Optional attributes
|
|
10021
|
+
*/
|
|
10022
|
+
attributes?: {
|
|
10023
|
+
[k: string]: string;
|
|
10024
|
+
};
|
|
9406
10025
|
};
|
|
9407
10026
|
};
|
|
9408
10027
|
channels?: {
|
|
@@ -9519,6 +10138,12 @@ interface CreateInterfaceResponse$1 {
|
|
|
9519
10138
|
[k: string]: any;
|
|
9520
10139
|
};
|
|
9521
10140
|
};
|
|
10141
|
+
/**
|
|
10142
|
+
* Optional attributes
|
|
10143
|
+
*/
|
|
10144
|
+
attributes?: {
|
|
10145
|
+
[k: string]: string;
|
|
10146
|
+
};
|
|
9522
10147
|
};
|
|
9523
10148
|
};
|
|
9524
10149
|
channels: {
|
|
@@ -9646,6 +10271,12 @@ interface GetInterfaceResponse$1 {
|
|
|
9646
10271
|
[k: string]: any;
|
|
9647
10272
|
};
|
|
9648
10273
|
};
|
|
10274
|
+
/**
|
|
10275
|
+
* Optional attributes
|
|
10276
|
+
*/
|
|
10277
|
+
attributes?: {
|
|
10278
|
+
[k: string]: string;
|
|
10279
|
+
};
|
|
9649
10280
|
};
|
|
9650
10281
|
};
|
|
9651
10282
|
channels: {
|
|
@@ -9774,6 +10405,12 @@ interface GetInterfaceByNameResponse$1 {
|
|
|
9774
10405
|
[k: string]: any;
|
|
9775
10406
|
};
|
|
9776
10407
|
};
|
|
10408
|
+
/**
|
|
10409
|
+
* Optional attributes
|
|
10410
|
+
*/
|
|
10411
|
+
attributes?: {
|
|
10412
|
+
[k: string]: string;
|
|
10413
|
+
};
|
|
9777
10414
|
};
|
|
9778
10415
|
};
|
|
9779
10416
|
channels: {
|
|
@@ -9853,9 +10490,6 @@ interface UpdateInterfaceRequestBody$1 {
|
|
|
9853
10490
|
} | null;
|
|
9854
10491
|
};
|
|
9855
10492
|
actions?: {
|
|
9856
|
-
/**
|
|
9857
|
-
* Action definition
|
|
9858
|
-
*/
|
|
9859
10493
|
[k: string]: {
|
|
9860
10494
|
/**
|
|
9861
10495
|
* Title of the action
|
|
@@ -9877,6 +10511,9 @@ interface UpdateInterfaceRequestBody$1 {
|
|
|
9877
10511
|
[k: string]: any;
|
|
9878
10512
|
};
|
|
9879
10513
|
};
|
|
10514
|
+
attributes?: {
|
|
10515
|
+
[k: string]: string | null;
|
|
10516
|
+
};
|
|
9880
10517
|
} | null;
|
|
9881
10518
|
};
|
|
9882
10519
|
channels?: {
|
|
@@ -9993,6 +10630,12 @@ interface UpdateInterfaceResponse$1 {
|
|
|
9993
10630
|
[k: string]: any;
|
|
9994
10631
|
};
|
|
9995
10632
|
};
|
|
10633
|
+
/**
|
|
10634
|
+
* Optional attributes
|
|
10635
|
+
*/
|
|
10636
|
+
attributes?: {
|
|
10637
|
+
[k: string]: string;
|
|
10638
|
+
};
|
|
9996
10639
|
};
|
|
9997
10640
|
};
|
|
9998
10641
|
channels: {
|
|
@@ -10177,6 +10820,12 @@ interface CreatePluginRequestBody$1 {
|
|
|
10177
10820
|
[k: string]: any;
|
|
10178
10821
|
};
|
|
10179
10822
|
};
|
|
10823
|
+
/**
|
|
10824
|
+
* Optional attributes
|
|
10825
|
+
*/
|
|
10826
|
+
attributes?: {
|
|
10827
|
+
[k: string]: string;
|
|
10828
|
+
};
|
|
10180
10829
|
};
|
|
10181
10830
|
};
|
|
10182
10831
|
/**
|
|
@@ -10365,6 +11014,12 @@ interface CreatePluginResponse$1 {
|
|
|
10365
11014
|
[k: string]: any;
|
|
10366
11015
|
};
|
|
10367
11016
|
};
|
|
11017
|
+
/**
|
|
11018
|
+
* Optional attributes
|
|
11019
|
+
*/
|
|
11020
|
+
attributes?: {
|
|
11021
|
+
[k: string]: string;
|
|
11022
|
+
};
|
|
10368
11023
|
};
|
|
10369
11024
|
};
|
|
10370
11025
|
dependencies: {
|
|
@@ -10558,6 +11213,12 @@ interface GetPluginResponse$1 {
|
|
|
10558
11213
|
[k: string]: any;
|
|
10559
11214
|
};
|
|
10560
11215
|
};
|
|
11216
|
+
/**
|
|
11217
|
+
* Optional attributes
|
|
11218
|
+
*/
|
|
11219
|
+
attributes?: {
|
|
11220
|
+
[k: string]: string;
|
|
11221
|
+
};
|
|
10561
11222
|
};
|
|
10562
11223
|
};
|
|
10563
11224
|
dependencies: {
|
|
@@ -10752,6 +11413,12 @@ interface GetPluginByNameResponse$1 {
|
|
|
10752
11413
|
[k: string]: any;
|
|
10753
11414
|
};
|
|
10754
11415
|
};
|
|
11416
|
+
/**
|
|
11417
|
+
* Optional attributes
|
|
11418
|
+
*/
|
|
11419
|
+
attributes?: {
|
|
11420
|
+
[k: string]: string;
|
|
11421
|
+
};
|
|
10755
11422
|
};
|
|
10756
11423
|
};
|
|
10757
11424
|
dependencies: {
|
|
@@ -10921,6 +11588,12 @@ interface UpdatePluginRequestBody$1 {
|
|
|
10921
11588
|
[k: string]: any;
|
|
10922
11589
|
};
|
|
10923
11590
|
};
|
|
11591
|
+
/**
|
|
11592
|
+
* Optional attributes
|
|
11593
|
+
*/
|
|
11594
|
+
attributes?: {
|
|
11595
|
+
[k: string]: string;
|
|
11596
|
+
};
|
|
10924
11597
|
} | null;
|
|
10925
11598
|
};
|
|
10926
11599
|
user?: {
|
|
@@ -11103,6 +11776,12 @@ interface UpdatePluginResponse$1 {
|
|
|
11103
11776
|
[k: string]: any;
|
|
11104
11777
|
};
|
|
11105
11778
|
};
|
|
11779
|
+
/**
|
|
11780
|
+
* Optional attributes
|
|
11781
|
+
*/
|
|
11782
|
+
attributes?: {
|
|
11783
|
+
[k: string]: string;
|
|
11784
|
+
};
|
|
11106
11785
|
};
|
|
11107
11786
|
};
|
|
11108
11787
|
dependencies: {
|
|
@@ -11202,6 +11881,7 @@ interface ListPluginsRequestHeaders$1 {
|
|
|
11202
11881
|
interface ListPluginsRequestQuery$1 {
|
|
11203
11882
|
nextToken?: string;
|
|
11204
11883
|
name?: string;
|
|
11884
|
+
version?: string;
|
|
11205
11885
|
}
|
|
11206
11886
|
interface ListPluginsRequestParams$1 {
|
|
11207
11887
|
}
|
|
@@ -11518,6 +12198,10 @@ declare class Client$7 {
|
|
|
11518
12198
|
readonly listPublicIntegrations: (input: ListPublicIntegrationsInput$1) => Promise<ListPublicIntegrationsResponse$1>;
|
|
11519
12199
|
readonly getPublicIntegrationById: (input: GetPublicIntegrationByIdInput$1) => Promise<GetPublicIntegrationByIdResponse$1>;
|
|
11520
12200
|
readonly getPublicIntegration: (input: GetPublicIntegrationInput$1) => Promise<GetPublicIntegrationResponse$1>;
|
|
12201
|
+
readonly listPublicPlugins: (input: ListPublicPluginsInput$1) => Promise<ListPublicPluginsResponse$1>;
|
|
12202
|
+
readonly getPublicPluginById: (input: GetPublicPluginByIdInput$1) => Promise<GetPublicPluginByIdResponse$1>;
|
|
12203
|
+
readonly getPublicPlugin: (input: GetPublicPluginInput$1) => Promise<GetPublicPluginResponse$1>;
|
|
12204
|
+
readonly getPublicPluginCode: (input: GetPublicPluginCodeInput$1) => Promise<GetPublicPluginCodeResponse$1>;
|
|
11521
12205
|
readonly createBot: (input: CreateBotInput$1) => Promise<CreateBotResponse$1>;
|
|
11522
12206
|
readonly updateBot: (input: UpdateBotInput$1) => Promise<UpdateBotResponse$1>;
|
|
11523
12207
|
readonly transferBot: (input: TransferBotInput$1) => Promise<TransferBotResponse$1>;
|
|
@@ -11538,6 +12222,9 @@ declare class Client$7 {
|
|
|
11538
12222
|
readonly createIntegrationShareableId: (input: CreateIntegrationShareableIdInput$1) => Promise<CreateIntegrationShareableIdResponse$1>;
|
|
11539
12223
|
readonly deleteIntegrationShareableId: (input: DeleteIntegrationShareableIdInput$1) => Promise<DeleteIntegrationShareableIdResponse$1>;
|
|
11540
12224
|
readonly getIntegrationShareableId: (input: GetIntegrationShareableIdInput$1) => Promise<GetIntegrationShareableIdResponse$1>;
|
|
12225
|
+
readonly listBotApiKeys: (input: ListBotApiKeysInput$1) => Promise<ListBotApiKeysResponse$1>;
|
|
12226
|
+
readonly createBotApiKey: (input: CreateBotApiKeyInput$1) => Promise<CreateBotApiKeyResponse$1>;
|
|
12227
|
+
readonly deleteBotApiKey: (input: DeleteBotApiKeyInput$1) => Promise<DeleteBotApiKeyResponse$1>;
|
|
11541
12228
|
readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput$1) => Promise<ListWorkspaceInvoicesResponse$1>;
|
|
11542
12229
|
readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput$1) => Promise<GetUpcomingInvoiceResponse$1>;
|
|
11543
12230
|
readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput$1) => Promise<ChargeWorkspaceUnpaidInvoicesResponse$1>;
|
|
@@ -16270,13 +16957,13 @@ interface ConfigureIntegrationRequestBody {
|
|
|
16270
16957
|
/**
|
|
16271
16958
|
* Unique identifier of the integration that was installed on the bot
|
|
16272
16959
|
*/
|
|
16273
|
-
identifier?: string;
|
|
16960
|
+
identifier?: string | null;
|
|
16274
16961
|
/**
|
|
16275
16962
|
* Recurring schedule on which `register()` will be called on the integration
|
|
16276
16963
|
*/
|
|
16277
16964
|
scheduleRegisterCall?: "hourly" | "daily" | "weekly" | "bi-weekly" | "monthly" | "bi-monthly" | "quarterly" | "yearly";
|
|
16278
16965
|
/**
|
|
16279
|
-
* Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual
|
|
16966
|
+
* **EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations.
|
|
16280
16967
|
*/
|
|
16281
16968
|
sandboxIdentifiers?: {
|
|
16282
16969
|
[k: string]: {} | null;
|
|
@@ -17409,30 +18096,160 @@ interface GetAccountPreferenceResponse {
|
|
|
17409
18096
|
|
|
17410
18097
|
interface ListPublicIntegrationsRequestHeaders {
|
|
17411
18098
|
}
|
|
17412
|
-
interface ListPublicIntegrationsRequestQuery {
|
|
17413
|
-
nextToken?: string;
|
|
17414
|
-
limit?: number;
|
|
17415
|
-
name?: string;
|
|
17416
|
-
version?: string;
|
|
17417
|
-
interfaceId?: string;
|
|
17418
|
-
interfaceName?: string;
|
|
17419
|
-
installedByBotId?: string;
|
|
17420
|
-
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected";
|
|
17421
|
-
search?: string;
|
|
17422
|
-
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount";
|
|
17423
|
-
direction?: "asc" | "desc";
|
|
18099
|
+
interface ListPublicIntegrationsRequestQuery {
|
|
18100
|
+
nextToken?: string;
|
|
18101
|
+
limit?: number;
|
|
18102
|
+
name?: string;
|
|
18103
|
+
version?: string;
|
|
18104
|
+
interfaceId?: string;
|
|
18105
|
+
interfaceName?: string;
|
|
18106
|
+
installedByBotId?: string;
|
|
18107
|
+
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected";
|
|
18108
|
+
search?: string;
|
|
18109
|
+
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount";
|
|
18110
|
+
direction?: "asc" | "desc";
|
|
18111
|
+
}
|
|
18112
|
+
interface ListPublicIntegrationsRequestParams {
|
|
18113
|
+
}
|
|
18114
|
+
interface ListPublicIntegrationsRequestBody {
|
|
18115
|
+
}
|
|
18116
|
+
type ListPublicIntegrationsInput = ListPublicIntegrationsRequestBody & ListPublicIntegrationsRequestHeaders & ListPublicIntegrationsRequestQuery & ListPublicIntegrationsRequestParams;
|
|
18117
|
+
interface ListPublicIntegrationsResponse {
|
|
18118
|
+
integrations: {
|
|
18119
|
+
/**
|
|
18120
|
+
* ID of the [Integration](#schema_integration)
|
|
18121
|
+
*/
|
|
18122
|
+
id: string;
|
|
18123
|
+
/**
|
|
18124
|
+
* Name of the [Integration](#schema_integration)
|
|
18125
|
+
*/
|
|
18126
|
+
name: string;
|
|
18127
|
+
/**
|
|
18128
|
+
* Version of the [Integration](#schema_integration)
|
|
18129
|
+
*/
|
|
18130
|
+
version: string;
|
|
18131
|
+
/**
|
|
18132
|
+
* Creation date of the [Integration](#schema_integration) in ISO 8601 format
|
|
18133
|
+
*/
|
|
18134
|
+
createdAt: string;
|
|
18135
|
+
/**
|
|
18136
|
+
* Updating date of the [Integration](#schema_integration) in ISO 8601 format
|
|
18137
|
+
*/
|
|
18138
|
+
updatedAt: string;
|
|
18139
|
+
/**
|
|
18140
|
+
* Title of the integration. This is the name that will be displayed in the UI
|
|
18141
|
+
*/
|
|
18142
|
+
title: string;
|
|
18143
|
+
/**
|
|
18144
|
+
* Description of the integration. This is the description that will be displayed in the UI
|
|
18145
|
+
*/
|
|
18146
|
+
description: string;
|
|
18147
|
+
/**
|
|
18148
|
+
* URL of the icon of the integration. This is the icon that will be displayed in the UI
|
|
18149
|
+
*/
|
|
18150
|
+
iconUrl: string;
|
|
18151
|
+
/**
|
|
18152
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
18153
|
+
*/
|
|
18154
|
+
public: boolean;
|
|
18155
|
+
/**
|
|
18156
|
+
* Status of the integration version verification
|
|
18157
|
+
*/
|
|
18158
|
+
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
18159
|
+
ownerWorkspace: {
|
|
18160
|
+
id: string;
|
|
18161
|
+
handle: string | null;
|
|
18162
|
+
name: string;
|
|
18163
|
+
};
|
|
18164
|
+
meta: {
|
|
18165
|
+
installs: number;
|
|
18166
|
+
views: number;
|
|
18167
|
+
};
|
|
18168
|
+
/**
|
|
18169
|
+
* Metadata about which fields matched the search criteria
|
|
18170
|
+
*/
|
|
18171
|
+
matchedOn?: {
|
|
18172
|
+
/**
|
|
18173
|
+
* Whether the integration name matched the search term
|
|
18174
|
+
*/
|
|
18175
|
+
name?: boolean;
|
|
18176
|
+
/**
|
|
18177
|
+
* Whether the integration title matched the search term
|
|
18178
|
+
*/
|
|
18179
|
+
title?: boolean;
|
|
18180
|
+
/**
|
|
18181
|
+
* Whether the integration description matched the search term
|
|
18182
|
+
*/
|
|
18183
|
+
description?: boolean;
|
|
18184
|
+
/**
|
|
18185
|
+
* Action names that matched the search term
|
|
18186
|
+
*/
|
|
18187
|
+
actions?: string[];
|
|
18188
|
+
/**
|
|
18189
|
+
* Interface names that matched the search term
|
|
18190
|
+
*/
|
|
18191
|
+
interfaces?: string[];
|
|
18192
|
+
};
|
|
18193
|
+
}[];
|
|
18194
|
+
meta: {
|
|
18195
|
+
/**
|
|
18196
|
+
* The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
|
|
18197
|
+
*/
|
|
18198
|
+
nextToken?: string;
|
|
18199
|
+
};
|
|
18200
|
+
}
|
|
18201
|
+
|
|
18202
|
+
interface GetPublicIntegrationByIdRequestHeaders {
|
|
18203
|
+
}
|
|
18204
|
+
interface GetPublicIntegrationByIdRequestQuery {
|
|
17424
18205
|
}
|
|
17425
|
-
interface
|
|
18206
|
+
interface GetPublicIntegrationByIdRequestParams {
|
|
18207
|
+
id: string;
|
|
17426
18208
|
}
|
|
17427
|
-
interface
|
|
18209
|
+
interface GetPublicIntegrationByIdRequestBody {
|
|
17428
18210
|
}
|
|
17429
|
-
type
|
|
17430
|
-
interface
|
|
17431
|
-
|
|
18211
|
+
type GetPublicIntegrationByIdInput = GetPublicIntegrationByIdRequestBody & GetPublicIntegrationByIdRequestHeaders & GetPublicIntegrationByIdRequestQuery & GetPublicIntegrationByIdRequestParams;
|
|
18212
|
+
interface GetPublicIntegrationByIdResponse {
|
|
18213
|
+
integration: {
|
|
17432
18214
|
/**
|
|
17433
18215
|
* ID of the [Integration](#schema_integration)
|
|
17434
18216
|
*/
|
|
17435
18217
|
id: string;
|
|
18218
|
+
/**
|
|
18219
|
+
* Creation date of the [Integration](#schema_integration) in ISO 8601 format
|
|
18220
|
+
*/
|
|
18221
|
+
createdAt: string;
|
|
18222
|
+
/**
|
|
18223
|
+
* Updating date of the [Integration](#schema_integration) in ISO 8601 format
|
|
18224
|
+
*/
|
|
18225
|
+
updatedAt: string;
|
|
18226
|
+
/**
|
|
18227
|
+
* Global identifier configuration of the [Integration](#schema_integration)
|
|
18228
|
+
*/
|
|
18229
|
+
identifier: {
|
|
18230
|
+
/**
|
|
18231
|
+
* VRL Script of the [Integration](#schema_integration) to handle incoming requests for a request that doesn't have an identifier
|
|
18232
|
+
*/
|
|
18233
|
+
fallbackHandlerScript?: string;
|
|
18234
|
+
/**
|
|
18235
|
+
* VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook often use for OAuth
|
|
18236
|
+
*/
|
|
18237
|
+
extractScript?: string;
|
|
18238
|
+
};
|
|
18239
|
+
sandbox?: {
|
|
18240
|
+
/**
|
|
18241
|
+
* VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook used specifically for the sandbox
|
|
18242
|
+
*/
|
|
18243
|
+
identifierExtractScript?: string;
|
|
18244
|
+
/**
|
|
18245
|
+
* VRL Script of the [Integration](#schema_integration) to extract the message from an incoming webhook used specifically for the sandbox
|
|
18246
|
+
*/
|
|
18247
|
+
messageExtractScript?: string;
|
|
18248
|
+
};
|
|
18249
|
+
/**
|
|
18250
|
+
* URL of the [Integration](#schema_integration)
|
|
18251
|
+
*/
|
|
18252
|
+
url: string;
|
|
17436
18253
|
/**
|
|
17437
18254
|
* Name of the [Integration](#schema_integration)
|
|
17438
18255
|
*/
|
|
@@ -17441,14 +18258,297 @@ interface ListPublicIntegrationsResponse {
|
|
|
17441
18258
|
* Version of the [Integration](#schema_integration)
|
|
17442
18259
|
*/
|
|
17443
18260
|
version: string;
|
|
18261
|
+
interfaces: {
|
|
18262
|
+
[k: string]: {
|
|
18263
|
+
/**
|
|
18264
|
+
* ID of the interface
|
|
18265
|
+
*/
|
|
18266
|
+
id: string;
|
|
18267
|
+
/**
|
|
18268
|
+
* Name of the interface
|
|
18269
|
+
*/
|
|
18270
|
+
name: string;
|
|
18271
|
+
/**
|
|
18272
|
+
* Version of the interface
|
|
18273
|
+
*/
|
|
18274
|
+
version: string;
|
|
18275
|
+
entities: {
|
|
18276
|
+
[k: string]: {
|
|
18277
|
+
name: string;
|
|
18278
|
+
};
|
|
18279
|
+
};
|
|
18280
|
+
actions: {
|
|
18281
|
+
[k: string]: {
|
|
18282
|
+
name: string;
|
|
18283
|
+
};
|
|
18284
|
+
};
|
|
18285
|
+
events: {
|
|
18286
|
+
[k: string]: {
|
|
18287
|
+
name: string;
|
|
18288
|
+
};
|
|
18289
|
+
};
|
|
18290
|
+
channels: {
|
|
18291
|
+
[k: string]: {
|
|
18292
|
+
name: string;
|
|
18293
|
+
};
|
|
18294
|
+
};
|
|
18295
|
+
};
|
|
18296
|
+
};
|
|
18297
|
+
/**
|
|
18298
|
+
* Configuration definition
|
|
18299
|
+
*/
|
|
18300
|
+
configuration: {
|
|
18301
|
+
/**
|
|
18302
|
+
* Title of the configuration
|
|
18303
|
+
*/
|
|
18304
|
+
title?: string;
|
|
18305
|
+
/**
|
|
18306
|
+
* Description of the configuration
|
|
18307
|
+
*/
|
|
18308
|
+
description?: string;
|
|
18309
|
+
/**
|
|
18310
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
18311
|
+
*/
|
|
18312
|
+
identifier: {
|
|
18313
|
+
linkTemplateScript?: string;
|
|
18314
|
+
required: boolean;
|
|
18315
|
+
};
|
|
18316
|
+
/**
|
|
18317
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
18318
|
+
*/
|
|
18319
|
+
schema: {
|
|
18320
|
+
[k: string]: any;
|
|
18321
|
+
};
|
|
18322
|
+
};
|
|
18323
|
+
configurations: {
|
|
18324
|
+
/**
|
|
18325
|
+
* Configuration definition
|
|
18326
|
+
*/
|
|
18327
|
+
[k: string]: {
|
|
18328
|
+
/**
|
|
18329
|
+
* Title of the configuration
|
|
18330
|
+
*/
|
|
18331
|
+
title?: string;
|
|
18332
|
+
/**
|
|
18333
|
+
* Description of the configuration
|
|
18334
|
+
*/
|
|
18335
|
+
description?: string;
|
|
18336
|
+
/**
|
|
18337
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
18338
|
+
*/
|
|
18339
|
+
identifier: {
|
|
18340
|
+
linkTemplateScript?: string;
|
|
18341
|
+
required: boolean;
|
|
18342
|
+
};
|
|
18343
|
+
/**
|
|
18344
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
18345
|
+
*/
|
|
18346
|
+
schema: {
|
|
18347
|
+
[k: string]: any;
|
|
18348
|
+
};
|
|
18349
|
+
};
|
|
18350
|
+
};
|
|
18351
|
+
channels: {
|
|
18352
|
+
/**
|
|
18353
|
+
* Channel definition
|
|
18354
|
+
*/
|
|
18355
|
+
[k: string]: {
|
|
18356
|
+
/**
|
|
18357
|
+
* Title of the channel
|
|
18358
|
+
*/
|
|
18359
|
+
title?: string;
|
|
18360
|
+
/**
|
|
18361
|
+
* Description of the channel
|
|
18362
|
+
*/
|
|
18363
|
+
description?: string;
|
|
18364
|
+
messages: {
|
|
18365
|
+
/**
|
|
18366
|
+
* Message definition
|
|
18367
|
+
*/
|
|
18368
|
+
[k: string]: {
|
|
18369
|
+
schema: {
|
|
18370
|
+
[k: string]: any;
|
|
18371
|
+
};
|
|
18372
|
+
};
|
|
18373
|
+
};
|
|
18374
|
+
/**
|
|
18375
|
+
* Conversation object configuration
|
|
18376
|
+
*/
|
|
18377
|
+
conversation: {
|
|
18378
|
+
tags: {
|
|
18379
|
+
/**
|
|
18380
|
+
* Definition of a tag that can be provided on the object
|
|
18381
|
+
*/
|
|
18382
|
+
[k: string]: {
|
|
18383
|
+
/**
|
|
18384
|
+
* Title of the tag
|
|
18385
|
+
*/
|
|
18386
|
+
title?: string;
|
|
18387
|
+
/**
|
|
18388
|
+
* Description of the tag
|
|
18389
|
+
*/
|
|
18390
|
+
description?: string;
|
|
18391
|
+
};
|
|
18392
|
+
};
|
|
18393
|
+
/**
|
|
18394
|
+
* The conversation creation setting determines how to create a conversation through the API directly. The integration will have to implement the `createConversation` functionality to support this setting.
|
|
18395
|
+
*/
|
|
18396
|
+
creation: {
|
|
18397
|
+
/**
|
|
18398
|
+
* Enable conversation creation
|
|
18399
|
+
*/
|
|
18400
|
+
enabled: boolean;
|
|
18401
|
+
/**
|
|
18402
|
+
* The list of tags that are required to be specified when calling the API directly to create a conversation.
|
|
18403
|
+
*/
|
|
18404
|
+
requiredTags: string[];
|
|
18405
|
+
};
|
|
18406
|
+
};
|
|
18407
|
+
/**
|
|
18408
|
+
* Message object configuration
|
|
18409
|
+
*/
|
|
18410
|
+
message: {
|
|
18411
|
+
tags: {
|
|
18412
|
+
/**
|
|
18413
|
+
* Definition of a tag that can be provided on the object
|
|
18414
|
+
*/
|
|
18415
|
+
[k: string]: {
|
|
18416
|
+
/**
|
|
18417
|
+
* Title of the tag
|
|
18418
|
+
*/
|
|
18419
|
+
title?: string;
|
|
18420
|
+
/**
|
|
18421
|
+
* Description of the tag
|
|
18422
|
+
*/
|
|
18423
|
+
description?: string;
|
|
18424
|
+
};
|
|
18425
|
+
};
|
|
18426
|
+
};
|
|
18427
|
+
};
|
|
18428
|
+
};
|
|
18429
|
+
states: {
|
|
18430
|
+
/**
|
|
18431
|
+
* State definition
|
|
18432
|
+
*/
|
|
18433
|
+
[k: string]: {
|
|
18434
|
+
/**
|
|
18435
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `integration`)
|
|
18436
|
+
*/
|
|
18437
|
+
type: "conversation" | "user" | "integration";
|
|
18438
|
+
/**
|
|
18439
|
+
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
18440
|
+
*/
|
|
18441
|
+
schema: {
|
|
18442
|
+
[k: string]: any;
|
|
18443
|
+
};
|
|
18444
|
+
};
|
|
18445
|
+
};
|
|
18446
|
+
events: {
|
|
18447
|
+
/**
|
|
18448
|
+
* Event Definition
|
|
18449
|
+
*/
|
|
18450
|
+
[k: string]: {
|
|
18451
|
+
/**
|
|
18452
|
+
* Title of the event
|
|
18453
|
+
*/
|
|
18454
|
+
title?: string;
|
|
18455
|
+
/**
|
|
18456
|
+
* Description of the event
|
|
18457
|
+
*/
|
|
18458
|
+
description?: string;
|
|
18459
|
+
schema: {
|
|
18460
|
+
[k: string]: any;
|
|
18461
|
+
};
|
|
18462
|
+
};
|
|
18463
|
+
};
|
|
18464
|
+
actions: {
|
|
18465
|
+
/**
|
|
18466
|
+
* Action definition
|
|
18467
|
+
*/
|
|
18468
|
+
[k: string]: {
|
|
18469
|
+
/**
|
|
18470
|
+
* Title of the action
|
|
18471
|
+
*/
|
|
18472
|
+
title?: string;
|
|
18473
|
+
/**
|
|
18474
|
+
* Description of the action
|
|
18475
|
+
*/
|
|
18476
|
+
description?: string;
|
|
18477
|
+
billable?: boolean;
|
|
18478
|
+
cacheable?: boolean;
|
|
18479
|
+
input: {
|
|
18480
|
+
schema: {
|
|
18481
|
+
[k: string]: any;
|
|
18482
|
+
};
|
|
18483
|
+
};
|
|
18484
|
+
output: {
|
|
18485
|
+
schema: {
|
|
18486
|
+
[k: string]: any;
|
|
18487
|
+
};
|
|
18488
|
+
};
|
|
18489
|
+
/**
|
|
18490
|
+
* Optional attributes
|
|
18491
|
+
*/
|
|
18492
|
+
attributes?: {
|
|
18493
|
+
[k: string]: string;
|
|
18494
|
+
};
|
|
18495
|
+
};
|
|
18496
|
+
};
|
|
17444
18497
|
/**
|
|
17445
|
-
*
|
|
18498
|
+
* User object configuration
|
|
17446
18499
|
*/
|
|
17447
|
-
|
|
18500
|
+
user: {
|
|
18501
|
+
tags: {
|
|
18502
|
+
/**
|
|
18503
|
+
* Definition of a tag that can be provided on the object
|
|
18504
|
+
*/
|
|
18505
|
+
[k: string]: {
|
|
18506
|
+
/**
|
|
18507
|
+
* Title of the tag
|
|
18508
|
+
*/
|
|
18509
|
+
title?: string;
|
|
18510
|
+
/**
|
|
18511
|
+
* Description of the tag
|
|
18512
|
+
*/
|
|
18513
|
+
description?: string;
|
|
18514
|
+
};
|
|
18515
|
+
};
|
|
18516
|
+
/**
|
|
18517
|
+
* The user creation setting determines how to create a user through the API directly. The integration will have to implement the `createUser` functionality to support this setting.
|
|
18518
|
+
*/
|
|
18519
|
+
creation: {
|
|
18520
|
+
/**
|
|
18521
|
+
* Enable user creation
|
|
18522
|
+
*/
|
|
18523
|
+
enabled: boolean;
|
|
18524
|
+
/**
|
|
18525
|
+
* The list of tags that are required to be specified when calling the API directly to create a user.
|
|
18526
|
+
*/
|
|
18527
|
+
requiredTags: string[];
|
|
18528
|
+
};
|
|
18529
|
+
};
|
|
18530
|
+
entities: {
|
|
18531
|
+
/**
|
|
18532
|
+
* Entity definition
|
|
18533
|
+
*/
|
|
18534
|
+
[k: string]: {
|
|
18535
|
+
/**
|
|
18536
|
+
* Title of the entity
|
|
18537
|
+
*/
|
|
18538
|
+
title?: string;
|
|
18539
|
+
/**
|
|
18540
|
+
* Description of the entity
|
|
18541
|
+
*/
|
|
18542
|
+
description?: string;
|
|
18543
|
+
schema: {
|
|
18544
|
+
[k: string]: any;
|
|
18545
|
+
};
|
|
18546
|
+
};
|
|
18547
|
+
};
|
|
17448
18548
|
/**
|
|
17449
|
-
*
|
|
18549
|
+
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
17450
18550
|
*/
|
|
17451
|
-
|
|
18551
|
+
dev: boolean;
|
|
17452
18552
|
/**
|
|
17453
18553
|
* Title of the integration. This is the name that will be displayed in the UI
|
|
17454
18554
|
*/
|
|
@@ -17461,6 +18561,10 @@ interface ListPublicIntegrationsResponse {
|
|
|
17461
18561
|
* URL of the icon of the integration. This is the icon that will be displayed in the UI
|
|
17462
18562
|
*/
|
|
17463
18563
|
iconUrl: string;
|
|
18564
|
+
/**
|
|
18565
|
+
* URL of the readme of the integration. This is the readme that will be displayed in the UI
|
|
18566
|
+
*/
|
|
18567
|
+
readmeUrl: string;
|
|
17464
18568
|
/**
|
|
17465
18569
|
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
17466
18570
|
*/
|
|
@@ -17469,6 +18573,10 @@ interface ListPublicIntegrationsResponse {
|
|
|
17469
18573
|
* Status of the integration version verification
|
|
17470
18574
|
*/
|
|
17471
18575
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
18576
|
+
/**
|
|
18577
|
+
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
18578
|
+
*/
|
|
18579
|
+
secrets: string[];
|
|
17472
18580
|
ownerWorkspace: {
|
|
17473
18581
|
id: string;
|
|
17474
18582
|
handle: string | null;
|
|
@@ -17478,51 +18586,21 @@ interface ListPublicIntegrationsResponse {
|
|
|
17478
18586
|
installs: number;
|
|
17479
18587
|
views: number;
|
|
17480
18588
|
};
|
|
17481
|
-
/**
|
|
17482
|
-
* Metadata about which fields matched the search criteria
|
|
17483
|
-
*/
|
|
17484
|
-
matchedOn?: {
|
|
17485
|
-
/**
|
|
17486
|
-
* Whether the integration name matched the search term
|
|
17487
|
-
*/
|
|
17488
|
-
name?: boolean;
|
|
17489
|
-
/**
|
|
17490
|
-
* Whether the integration title matched the search term
|
|
17491
|
-
*/
|
|
17492
|
-
title?: boolean;
|
|
17493
|
-
/**
|
|
17494
|
-
* Whether the integration description matched the search term
|
|
17495
|
-
*/
|
|
17496
|
-
description?: boolean;
|
|
17497
|
-
/**
|
|
17498
|
-
* Action names that matched the search term
|
|
17499
|
-
*/
|
|
17500
|
-
actions?: string[];
|
|
17501
|
-
/**
|
|
17502
|
-
* Interface names that matched the search term
|
|
17503
|
-
*/
|
|
17504
|
-
interfaces?: string[];
|
|
17505
|
-
};
|
|
17506
|
-
}[];
|
|
17507
|
-
meta: {
|
|
17508
|
-
/**
|
|
17509
|
-
* The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
|
|
17510
|
-
*/
|
|
17511
|
-
nextToken?: string;
|
|
17512
18589
|
};
|
|
17513
18590
|
}
|
|
17514
18591
|
|
|
17515
|
-
interface
|
|
18592
|
+
interface GetPublicIntegrationRequestHeaders {
|
|
17516
18593
|
}
|
|
17517
|
-
interface
|
|
18594
|
+
interface GetPublicIntegrationRequestQuery {
|
|
17518
18595
|
}
|
|
17519
|
-
interface
|
|
17520
|
-
|
|
18596
|
+
interface GetPublicIntegrationRequestParams {
|
|
18597
|
+
name: string;
|
|
18598
|
+
version: string;
|
|
17521
18599
|
}
|
|
17522
|
-
interface
|
|
18600
|
+
interface GetPublicIntegrationRequestBody {
|
|
17523
18601
|
}
|
|
17524
|
-
type
|
|
17525
|
-
interface
|
|
18602
|
+
type GetPublicIntegrationInput = GetPublicIntegrationRequestBody & GetPublicIntegrationRequestHeaders & GetPublicIntegrationRequestQuery & GetPublicIntegrationRequestParams;
|
|
18603
|
+
interface GetPublicIntegrationResponse {
|
|
17526
18604
|
integration: {
|
|
17527
18605
|
/**
|
|
17528
18606
|
* ID of the [Integration](#schema_integration)
|
|
@@ -17799,6 +18877,12 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
17799
18877
|
[k: string]: any;
|
|
17800
18878
|
};
|
|
17801
18879
|
};
|
|
18880
|
+
/**
|
|
18881
|
+
* Optional attributes
|
|
18882
|
+
*/
|
|
18883
|
+
attributes?: {
|
|
18884
|
+
[k: string]: string;
|
|
18885
|
+
};
|
|
17802
18886
|
};
|
|
17803
18887
|
};
|
|
17804
18888
|
/**
|
|
@@ -17896,102 +18980,101 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
17896
18980
|
};
|
|
17897
18981
|
}
|
|
17898
18982
|
|
|
17899
|
-
interface
|
|
18983
|
+
interface ListPublicPluginsRequestHeaders {
|
|
17900
18984
|
}
|
|
17901
|
-
interface
|
|
18985
|
+
interface ListPublicPluginsRequestQuery {
|
|
18986
|
+
nextToken?: string;
|
|
18987
|
+
name?: string;
|
|
18988
|
+
version?: string;
|
|
17902
18989
|
}
|
|
17903
|
-
interface
|
|
17904
|
-
name: string;
|
|
17905
|
-
version: string;
|
|
18990
|
+
interface ListPublicPluginsRequestParams {
|
|
17906
18991
|
}
|
|
17907
|
-
interface
|
|
18992
|
+
interface ListPublicPluginsRequestBody {
|
|
17908
18993
|
}
|
|
17909
|
-
type
|
|
17910
|
-
interface
|
|
17911
|
-
|
|
18994
|
+
type ListPublicPluginsInput = ListPublicPluginsRequestBody & ListPublicPluginsRequestHeaders & ListPublicPluginsRequestQuery & ListPublicPluginsRequestParams;
|
|
18995
|
+
interface ListPublicPluginsResponse {
|
|
18996
|
+
plugins: {
|
|
17912
18997
|
/**
|
|
17913
|
-
* ID of the [
|
|
18998
|
+
* ID of the [Plugin](#schema_plugin)
|
|
17914
18999
|
*/
|
|
17915
19000
|
id: string;
|
|
17916
19001
|
/**
|
|
17917
|
-
* Creation date of the [
|
|
19002
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
17918
19003
|
*/
|
|
17919
19004
|
createdAt: string;
|
|
17920
19005
|
/**
|
|
17921
|
-
* Updating date of the [
|
|
19006
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
17922
19007
|
*/
|
|
17923
19008
|
updatedAt: string;
|
|
17924
19009
|
/**
|
|
17925
|
-
*
|
|
19010
|
+
* Name of the [Plugin](#schema_plugin)
|
|
17926
19011
|
*/
|
|
17927
|
-
|
|
17928
|
-
/**
|
|
17929
|
-
* VRL Script of the [Integration](#schema_integration) to handle incoming requests for a request that doesn't have an identifier
|
|
17930
|
-
*/
|
|
17931
|
-
fallbackHandlerScript?: string;
|
|
17932
|
-
/**
|
|
17933
|
-
* VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook often use for OAuth
|
|
17934
|
-
*/
|
|
17935
|
-
extractScript?: string;
|
|
17936
|
-
};
|
|
17937
|
-
sandbox?: {
|
|
17938
|
-
/**
|
|
17939
|
-
* VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook used specifically for the sandbox
|
|
17940
|
-
*/
|
|
17941
|
-
identifierExtractScript?: string;
|
|
17942
|
-
/**
|
|
17943
|
-
* VRL Script of the [Integration](#schema_integration) to extract the message from an incoming webhook used specifically for the sandbox
|
|
17944
|
-
*/
|
|
17945
|
-
messageExtractScript?: string;
|
|
17946
|
-
};
|
|
19012
|
+
name: string;
|
|
17947
19013
|
/**
|
|
17948
|
-
*
|
|
19014
|
+
* Version of the [Plugin](#schema_plugin)
|
|
17949
19015
|
*/
|
|
17950
|
-
|
|
19016
|
+
version: string;
|
|
17951
19017
|
/**
|
|
17952
|
-
*
|
|
19018
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
17953
19019
|
*/
|
|
17954
|
-
|
|
19020
|
+
title: string;
|
|
17955
19021
|
/**
|
|
17956
|
-
*
|
|
19022
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
17957
19023
|
*/
|
|
17958
|
-
|
|
17959
|
-
|
|
17960
|
-
|
|
17961
|
-
|
|
17962
|
-
|
|
17963
|
-
|
|
17964
|
-
|
|
17965
|
-
|
|
17966
|
-
|
|
17967
|
-
|
|
17968
|
-
|
|
17969
|
-
|
|
17970
|
-
|
|
17971
|
-
|
|
17972
|
-
|
|
17973
|
-
|
|
17974
|
-
|
|
17975
|
-
|
|
17976
|
-
|
|
17977
|
-
|
|
17978
|
-
|
|
17979
|
-
|
|
17980
|
-
|
|
17981
|
-
|
|
17982
|
-
|
|
17983
|
-
|
|
17984
|
-
|
|
17985
|
-
|
|
17986
|
-
|
|
17987
|
-
|
|
17988
|
-
|
|
17989
|
-
|
|
17990
|
-
|
|
17991
|
-
|
|
17992
|
-
|
|
17993
|
-
|
|
17994
|
-
|
|
19024
|
+
description: string;
|
|
19025
|
+
/**
|
|
19026
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
19027
|
+
*/
|
|
19028
|
+
iconUrl: string;
|
|
19029
|
+
/**
|
|
19030
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
19031
|
+
*/
|
|
19032
|
+
readmeUrl: string;
|
|
19033
|
+
/**
|
|
19034
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
19035
|
+
*/
|
|
19036
|
+
public: boolean;
|
|
19037
|
+
}[];
|
|
19038
|
+
meta: {
|
|
19039
|
+
/**
|
|
19040
|
+
* The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
|
|
19041
|
+
*/
|
|
19042
|
+
nextToken?: string;
|
|
19043
|
+
};
|
|
19044
|
+
}
|
|
19045
|
+
|
|
19046
|
+
interface GetPublicPluginByIdRequestHeaders {
|
|
19047
|
+
}
|
|
19048
|
+
interface GetPublicPluginByIdRequestQuery {
|
|
19049
|
+
}
|
|
19050
|
+
interface GetPublicPluginByIdRequestParams {
|
|
19051
|
+
id: string;
|
|
19052
|
+
}
|
|
19053
|
+
interface GetPublicPluginByIdRequestBody {
|
|
19054
|
+
}
|
|
19055
|
+
type GetPublicPluginByIdInput = GetPublicPluginByIdRequestBody & GetPublicPluginByIdRequestHeaders & GetPublicPluginByIdRequestQuery & GetPublicPluginByIdRequestParams;
|
|
19056
|
+
interface GetPublicPluginByIdResponse {
|
|
19057
|
+
plugin: {
|
|
19058
|
+
/**
|
|
19059
|
+
* ID of the [Plugin](#schema_plugin)
|
|
19060
|
+
*/
|
|
19061
|
+
id: string;
|
|
19062
|
+
/**
|
|
19063
|
+
* Name of the [Plugin](#schema_plugin)
|
|
19064
|
+
*/
|
|
19065
|
+
name: string;
|
|
19066
|
+
/**
|
|
19067
|
+
* Version of the [Plugin](#schema_plugin)
|
|
19068
|
+
*/
|
|
19069
|
+
version: string;
|
|
19070
|
+
/**
|
|
19071
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
19072
|
+
*/
|
|
19073
|
+
createdAt: string;
|
|
19074
|
+
/**
|
|
19075
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
19076
|
+
*/
|
|
19077
|
+
updatedAt: string;
|
|
17995
19078
|
/**
|
|
17996
19079
|
* Configuration definition
|
|
17997
19080
|
*/
|
|
@@ -18004,13 +19087,6 @@ interface GetPublicIntegrationResponse {
|
|
|
18004
19087
|
* Description of the configuration
|
|
18005
19088
|
*/
|
|
18006
19089
|
description?: string;
|
|
18007
|
-
/**
|
|
18008
|
-
* Identifier configuration of the [Integration](#schema_integration)
|
|
18009
|
-
*/
|
|
18010
|
-
identifier: {
|
|
18011
|
-
linkTemplateScript?: string;
|
|
18012
|
-
required: boolean;
|
|
18013
|
-
};
|
|
18014
19090
|
/**
|
|
18015
19091
|
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
18016
19092
|
*/
|
|
@@ -18018,127 +19094,222 @@ interface GetPublicIntegrationResponse {
|
|
|
18018
19094
|
[k: string]: any;
|
|
18019
19095
|
};
|
|
18020
19096
|
};
|
|
18021
|
-
|
|
18022
|
-
/**
|
|
18023
|
-
* Configuration definition
|
|
18024
|
-
*/
|
|
19097
|
+
states: {
|
|
18025
19098
|
[k: string]: {
|
|
18026
19099
|
/**
|
|
18027
|
-
*
|
|
19100
|
+
* Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)
|
|
18028
19101
|
*/
|
|
18029
|
-
|
|
19102
|
+
type: "conversation" | "user" | "bot" | "task";
|
|
18030
19103
|
/**
|
|
18031
|
-
*
|
|
19104
|
+
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
18032
19105
|
*/
|
|
18033
|
-
|
|
19106
|
+
schema: {
|
|
19107
|
+
[k: string]: any;
|
|
19108
|
+
};
|
|
18034
19109
|
/**
|
|
18035
|
-
*
|
|
19110
|
+
* Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire.
|
|
18036
19111
|
*/
|
|
18037
|
-
|
|
18038
|
-
|
|
18039
|
-
|
|
18040
|
-
|
|
19112
|
+
expiry?: number;
|
|
19113
|
+
};
|
|
19114
|
+
};
|
|
19115
|
+
events: {
|
|
19116
|
+
/**
|
|
19117
|
+
* Event Definition
|
|
19118
|
+
*/
|
|
19119
|
+
[k: string]: {
|
|
18041
19120
|
/**
|
|
18042
|
-
*
|
|
19121
|
+
* Title of the event
|
|
19122
|
+
*/
|
|
19123
|
+
title?: string;
|
|
19124
|
+
/**
|
|
19125
|
+
* Description of the event
|
|
18043
19126
|
*/
|
|
19127
|
+
description?: string;
|
|
18044
19128
|
schema: {
|
|
18045
19129
|
[k: string]: any;
|
|
18046
19130
|
};
|
|
18047
19131
|
};
|
|
18048
19132
|
};
|
|
18049
|
-
|
|
19133
|
+
actions: {
|
|
18050
19134
|
/**
|
|
18051
|
-
*
|
|
19135
|
+
* Action definition
|
|
18052
19136
|
*/
|
|
18053
19137
|
[k: string]: {
|
|
18054
19138
|
/**
|
|
18055
|
-
* Title of the
|
|
19139
|
+
* Title of the action
|
|
18056
19140
|
*/
|
|
18057
19141
|
title?: string;
|
|
18058
19142
|
/**
|
|
18059
|
-
* Description of the
|
|
19143
|
+
* Description of the action
|
|
18060
19144
|
*/
|
|
18061
19145
|
description?: string;
|
|
18062
|
-
|
|
18063
|
-
|
|
18064
|
-
|
|
18065
|
-
|
|
18066
|
-
|
|
18067
|
-
|
|
18068
|
-
|
|
18069
|
-
|
|
19146
|
+
billable?: boolean;
|
|
19147
|
+
cacheable?: boolean;
|
|
19148
|
+
input: {
|
|
19149
|
+
schema: {
|
|
19150
|
+
[k: string]: any;
|
|
19151
|
+
};
|
|
19152
|
+
};
|
|
19153
|
+
output: {
|
|
19154
|
+
schema: {
|
|
19155
|
+
[k: string]: any;
|
|
18070
19156
|
};
|
|
18071
19157
|
};
|
|
18072
19158
|
/**
|
|
18073
|
-
*
|
|
19159
|
+
* Optional attributes
|
|
18074
19160
|
*/
|
|
18075
|
-
|
|
18076
|
-
|
|
18077
|
-
|
|
18078
|
-
|
|
18079
|
-
|
|
18080
|
-
|
|
18081
|
-
|
|
18082
|
-
|
|
18083
|
-
|
|
18084
|
-
|
|
18085
|
-
|
|
18086
|
-
|
|
18087
|
-
|
|
18088
|
-
|
|
18089
|
-
|
|
18090
|
-
|
|
19161
|
+
attributes?: {
|
|
19162
|
+
[k: string]: string;
|
|
19163
|
+
};
|
|
19164
|
+
};
|
|
19165
|
+
};
|
|
19166
|
+
dependencies: {
|
|
19167
|
+
interfaces: {
|
|
19168
|
+
[k: string]: {
|
|
19169
|
+
id: string;
|
|
19170
|
+
name: string;
|
|
19171
|
+
version: string;
|
|
19172
|
+
};
|
|
19173
|
+
};
|
|
19174
|
+
integrations: {
|
|
19175
|
+
[k: string]: {
|
|
19176
|
+
id: string;
|
|
19177
|
+
name: string;
|
|
19178
|
+
version: string;
|
|
19179
|
+
};
|
|
19180
|
+
};
|
|
19181
|
+
};
|
|
19182
|
+
/**
|
|
19183
|
+
* User object configuration
|
|
19184
|
+
*/
|
|
19185
|
+
user: {
|
|
19186
|
+
tags: {
|
|
19187
|
+
/**
|
|
19188
|
+
* Definition of a tag that can be provided on the object
|
|
19189
|
+
*/
|
|
19190
|
+
[k: string]: {
|
|
18091
19191
|
/**
|
|
18092
|
-
*
|
|
19192
|
+
* Title of the tag
|
|
18093
19193
|
*/
|
|
18094
|
-
|
|
18095
|
-
|
|
18096
|
-
|
|
18097
|
-
|
|
18098
|
-
|
|
18099
|
-
/**
|
|
18100
|
-
* The list of tags that are required to be specified when calling the API directly to create a conversation.
|
|
18101
|
-
*/
|
|
18102
|
-
requiredTags: string[];
|
|
18103
|
-
};
|
|
19194
|
+
title?: string;
|
|
19195
|
+
/**
|
|
19196
|
+
* Description of the tag
|
|
19197
|
+
*/
|
|
19198
|
+
description?: string;
|
|
18104
19199
|
};
|
|
19200
|
+
};
|
|
19201
|
+
};
|
|
19202
|
+
/**
|
|
19203
|
+
* Conversation object configuration
|
|
19204
|
+
*/
|
|
19205
|
+
conversation: {
|
|
19206
|
+
tags: {
|
|
18105
19207
|
/**
|
|
18106
|
-
*
|
|
19208
|
+
* Definition of a tag that can be provided on the object
|
|
18107
19209
|
*/
|
|
18108
|
-
|
|
18109
|
-
|
|
18110
|
-
|
|
18111
|
-
|
|
18112
|
-
|
|
18113
|
-
|
|
18114
|
-
|
|
18115
|
-
|
|
18116
|
-
|
|
18117
|
-
title?: string;
|
|
18118
|
-
/**
|
|
18119
|
-
* Description of the tag
|
|
18120
|
-
*/
|
|
18121
|
-
description?: string;
|
|
18122
|
-
};
|
|
18123
|
-
};
|
|
19210
|
+
[k: string]: {
|
|
19211
|
+
/**
|
|
19212
|
+
* Title of the tag
|
|
19213
|
+
*/
|
|
19214
|
+
title?: string;
|
|
19215
|
+
/**
|
|
19216
|
+
* Description of the tag
|
|
19217
|
+
*/
|
|
19218
|
+
description?: string;
|
|
18124
19219
|
};
|
|
18125
19220
|
};
|
|
18126
19221
|
};
|
|
19222
|
+
/**
|
|
19223
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
19224
|
+
*/
|
|
19225
|
+
title: string;
|
|
19226
|
+
/**
|
|
19227
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
19228
|
+
*/
|
|
19229
|
+
description: string;
|
|
19230
|
+
/**
|
|
19231
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
19232
|
+
*/
|
|
19233
|
+
iconUrl: string;
|
|
19234
|
+
/**
|
|
19235
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
19236
|
+
*/
|
|
19237
|
+
readmeUrl: string;
|
|
19238
|
+
/**
|
|
19239
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
19240
|
+
*/
|
|
19241
|
+
public: boolean;
|
|
19242
|
+
};
|
|
19243
|
+
}
|
|
19244
|
+
|
|
19245
|
+
interface GetPublicPluginRequestHeaders {
|
|
19246
|
+
}
|
|
19247
|
+
interface GetPublicPluginRequestQuery {
|
|
19248
|
+
}
|
|
19249
|
+
interface GetPublicPluginRequestParams {
|
|
19250
|
+
name: string;
|
|
19251
|
+
version: string;
|
|
19252
|
+
}
|
|
19253
|
+
interface GetPublicPluginRequestBody {
|
|
19254
|
+
}
|
|
19255
|
+
type GetPublicPluginInput = GetPublicPluginRequestBody & GetPublicPluginRequestHeaders & GetPublicPluginRequestQuery & GetPublicPluginRequestParams;
|
|
19256
|
+
interface GetPublicPluginResponse {
|
|
19257
|
+
plugin: {
|
|
19258
|
+
/**
|
|
19259
|
+
* ID of the [Plugin](#schema_plugin)
|
|
19260
|
+
*/
|
|
19261
|
+
id: string;
|
|
19262
|
+
/**
|
|
19263
|
+
* Name of the [Plugin](#schema_plugin)
|
|
19264
|
+
*/
|
|
19265
|
+
name: string;
|
|
19266
|
+
/**
|
|
19267
|
+
* Version of the [Plugin](#schema_plugin)
|
|
19268
|
+
*/
|
|
19269
|
+
version: string;
|
|
19270
|
+
/**
|
|
19271
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
19272
|
+
*/
|
|
19273
|
+
createdAt: string;
|
|
19274
|
+
/**
|
|
19275
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
19276
|
+
*/
|
|
19277
|
+
updatedAt: string;
|
|
19278
|
+
/**
|
|
19279
|
+
* Configuration definition
|
|
19280
|
+
*/
|
|
19281
|
+
configuration: {
|
|
19282
|
+
/**
|
|
19283
|
+
* Title of the configuration
|
|
19284
|
+
*/
|
|
19285
|
+
title?: string;
|
|
19286
|
+
/**
|
|
19287
|
+
* Description of the configuration
|
|
19288
|
+
*/
|
|
19289
|
+
description?: string;
|
|
19290
|
+
/**
|
|
19291
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
19292
|
+
*/
|
|
19293
|
+
schema: {
|
|
19294
|
+
[k: string]: any;
|
|
19295
|
+
};
|
|
19296
|
+
};
|
|
18127
19297
|
states: {
|
|
18128
|
-
/**
|
|
18129
|
-
* State definition
|
|
18130
|
-
*/
|
|
18131
19298
|
[k: string]: {
|
|
18132
19299
|
/**
|
|
18133
|
-
* Type of the [State](#schema_state) (`conversation`, `user` or `
|
|
19300
|
+
* Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)
|
|
18134
19301
|
*/
|
|
18135
|
-
type: "conversation" | "user" | "
|
|
19302
|
+
type: "conversation" | "user" | "bot" | "task";
|
|
18136
19303
|
/**
|
|
18137
19304
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
18138
19305
|
*/
|
|
18139
19306
|
schema: {
|
|
18140
19307
|
[k: string]: any;
|
|
18141
19308
|
};
|
|
19309
|
+
/**
|
|
19310
|
+
* Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire.
|
|
19311
|
+
*/
|
|
19312
|
+
expiry?: number;
|
|
18142
19313
|
};
|
|
18143
19314
|
};
|
|
18144
19315
|
events: {
|
|
@@ -18184,6 +19355,28 @@ interface GetPublicIntegrationResponse {
|
|
|
18184
19355
|
[k: string]: any;
|
|
18185
19356
|
};
|
|
18186
19357
|
};
|
|
19358
|
+
/**
|
|
19359
|
+
* Optional attributes
|
|
19360
|
+
*/
|
|
19361
|
+
attributes?: {
|
|
19362
|
+
[k: string]: string;
|
|
19363
|
+
};
|
|
19364
|
+
};
|
|
19365
|
+
};
|
|
19366
|
+
dependencies: {
|
|
19367
|
+
interfaces: {
|
|
19368
|
+
[k: string]: {
|
|
19369
|
+
id: string;
|
|
19370
|
+
name: string;
|
|
19371
|
+
version: string;
|
|
19372
|
+
};
|
|
19373
|
+
};
|
|
19374
|
+
integrations: {
|
|
19375
|
+
[k: string]: {
|
|
19376
|
+
id: string;
|
|
19377
|
+
name: string;
|
|
19378
|
+
version: string;
|
|
19379
|
+
};
|
|
18187
19380
|
};
|
|
18188
19381
|
};
|
|
18189
19382
|
/**
|
|
@@ -18205,82 +19398,65 @@ interface GetPublicIntegrationResponse {
|
|
|
18205
19398
|
description?: string;
|
|
18206
19399
|
};
|
|
18207
19400
|
};
|
|
18208
|
-
/**
|
|
18209
|
-
* The user creation setting determines how to create a user through the API directly. The integration will have to implement the `createUser` functionality to support this setting.
|
|
18210
|
-
*/
|
|
18211
|
-
creation: {
|
|
18212
|
-
/**
|
|
18213
|
-
* Enable user creation
|
|
18214
|
-
*/
|
|
18215
|
-
enabled: boolean;
|
|
18216
|
-
/**
|
|
18217
|
-
* The list of tags that are required to be specified when calling the API directly to create a user.
|
|
18218
|
-
*/
|
|
18219
|
-
requiredTags: string[];
|
|
18220
|
-
};
|
|
18221
19401
|
};
|
|
18222
|
-
|
|
18223
|
-
|
|
18224
|
-
|
|
18225
|
-
|
|
18226
|
-
|
|
18227
|
-
/**
|
|
18228
|
-
* Title of the entity
|
|
18229
|
-
*/
|
|
18230
|
-
title?: string;
|
|
19402
|
+
/**
|
|
19403
|
+
* Conversation object configuration
|
|
19404
|
+
*/
|
|
19405
|
+
conversation: {
|
|
19406
|
+
tags: {
|
|
18231
19407
|
/**
|
|
18232
|
-
*
|
|
19408
|
+
* Definition of a tag that can be provided on the object
|
|
18233
19409
|
*/
|
|
18234
|
-
|
|
18235
|
-
|
|
18236
|
-
|
|
19410
|
+
[k: string]: {
|
|
19411
|
+
/**
|
|
19412
|
+
* Title of the tag
|
|
19413
|
+
*/
|
|
19414
|
+
title?: string;
|
|
19415
|
+
/**
|
|
19416
|
+
* Description of the tag
|
|
19417
|
+
*/
|
|
19418
|
+
description?: string;
|
|
18237
19419
|
};
|
|
18238
19420
|
};
|
|
18239
19421
|
};
|
|
18240
19422
|
/**
|
|
18241
|
-
*
|
|
18242
|
-
*/
|
|
18243
|
-
dev: boolean;
|
|
18244
|
-
/**
|
|
18245
|
-
* Title of the integration. This is the name that will be displayed in the UI
|
|
19423
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
18246
19424
|
*/
|
|
18247
19425
|
title: string;
|
|
18248
19426
|
/**
|
|
18249
|
-
* Description of the
|
|
19427
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
18250
19428
|
*/
|
|
18251
19429
|
description: string;
|
|
18252
19430
|
/**
|
|
18253
|
-
* URL of the icon of the
|
|
19431
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
18254
19432
|
*/
|
|
18255
19433
|
iconUrl: string;
|
|
18256
19434
|
/**
|
|
18257
|
-
* URL of the readme of the
|
|
19435
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
18258
19436
|
*/
|
|
18259
19437
|
readmeUrl: string;
|
|
18260
19438
|
/**
|
|
18261
|
-
* Indicates if the
|
|
19439
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
18262
19440
|
*/
|
|
18263
19441
|
public: boolean;
|
|
18264
|
-
/**
|
|
18265
|
-
* Status of the integration version verification
|
|
18266
|
-
*/
|
|
18267
|
-
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
18268
|
-
/**
|
|
18269
|
-
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
18270
|
-
*/
|
|
18271
|
-
secrets: string[];
|
|
18272
|
-
ownerWorkspace: {
|
|
18273
|
-
id: string;
|
|
18274
|
-
handle: string | null;
|
|
18275
|
-
name: string;
|
|
18276
|
-
};
|
|
18277
|
-
meta: {
|
|
18278
|
-
installs: number;
|
|
18279
|
-
views: number;
|
|
18280
|
-
};
|
|
18281
19442
|
};
|
|
18282
19443
|
}
|
|
18283
19444
|
|
|
19445
|
+
interface GetPublicPluginCodeRequestHeaders {
|
|
19446
|
+
}
|
|
19447
|
+
interface GetPublicPluginCodeRequestQuery {
|
|
19448
|
+
}
|
|
19449
|
+
interface GetPublicPluginCodeRequestParams {
|
|
19450
|
+
id: string;
|
|
19451
|
+
platform: "node" | "browser";
|
|
19452
|
+
}
|
|
19453
|
+
interface GetPublicPluginCodeRequestBody {
|
|
19454
|
+
}
|
|
19455
|
+
type GetPublicPluginCodeInput = GetPublicPluginCodeRequestBody & GetPublicPluginCodeRequestHeaders & GetPublicPluginCodeRequestQuery & GetPublicPluginCodeRequestParams;
|
|
19456
|
+
interface GetPublicPluginCodeResponse {
|
|
19457
|
+
code: string;
|
|
19458
|
+
}
|
|
19459
|
+
|
|
18284
19460
|
interface CreateBotRequestHeaders {
|
|
18285
19461
|
}
|
|
18286
19462
|
interface CreateBotRequestQuery {
|
|
@@ -18380,6 +19556,12 @@ interface CreateBotRequestBody {
|
|
|
18380
19556
|
[k: string]: any;
|
|
18381
19557
|
};
|
|
18382
19558
|
};
|
|
19559
|
+
/**
|
|
19560
|
+
* Optional attributes
|
|
19561
|
+
*/
|
|
19562
|
+
attributes?: {
|
|
19563
|
+
[k: string]: string;
|
|
19564
|
+
};
|
|
18383
19565
|
};
|
|
18384
19566
|
};
|
|
18385
19567
|
configuration?: {
|
|
@@ -18733,6 +19915,12 @@ interface CreateBotResponse {
|
|
|
18733
19915
|
[k: string]: any;
|
|
18734
19916
|
};
|
|
18735
19917
|
};
|
|
19918
|
+
/**
|
|
19919
|
+
* Optional attributes
|
|
19920
|
+
*/
|
|
19921
|
+
attributes?: {
|
|
19922
|
+
[k: string]: string;
|
|
19923
|
+
};
|
|
18736
19924
|
};
|
|
18737
19925
|
};
|
|
18738
19926
|
/**
|
|
@@ -18916,6 +20104,12 @@ interface UpdateBotRequestBody {
|
|
|
18916
20104
|
[k: string]: any;
|
|
18917
20105
|
};
|
|
18918
20106
|
};
|
|
20107
|
+
/**
|
|
20108
|
+
* Optional attributes
|
|
20109
|
+
*/
|
|
20110
|
+
attributes?: {
|
|
20111
|
+
[k: string]: string;
|
|
20112
|
+
};
|
|
18919
20113
|
} | null;
|
|
18920
20114
|
};
|
|
18921
20115
|
states?: {
|
|
@@ -19237,6 +20431,12 @@ interface UpdateBotResponse {
|
|
|
19237
20431
|
[k: string]: any;
|
|
19238
20432
|
};
|
|
19239
20433
|
};
|
|
20434
|
+
/**
|
|
20435
|
+
* Optional attributes
|
|
20436
|
+
*/
|
|
20437
|
+
attributes?: {
|
|
20438
|
+
[k: string]: string;
|
|
20439
|
+
};
|
|
19240
20440
|
};
|
|
19241
20441
|
};
|
|
19242
20442
|
/**
|
|
@@ -19614,6 +20814,12 @@ interface GetBotResponse {
|
|
|
19614
20814
|
[k: string]: any;
|
|
19615
20815
|
};
|
|
19616
20816
|
};
|
|
20817
|
+
/**
|
|
20818
|
+
* Optional attributes
|
|
20819
|
+
*/
|
|
20820
|
+
attributes?: {
|
|
20821
|
+
[k: string]: string;
|
|
20822
|
+
};
|
|
19617
20823
|
};
|
|
19618
20824
|
};
|
|
19619
20825
|
/**
|
|
@@ -20012,6 +21218,58 @@ interface GetIntegrationShareableIdResponse {
|
|
|
20012
21218
|
isExpired: boolean;
|
|
20013
21219
|
}
|
|
20014
21220
|
|
|
21221
|
+
interface ListBotApiKeysRequestHeaders {
|
|
21222
|
+
}
|
|
21223
|
+
interface ListBotApiKeysRequestQuery {
|
|
21224
|
+
botId: string;
|
|
21225
|
+
}
|
|
21226
|
+
interface ListBotApiKeysRequestParams {
|
|
21227
|
+
}
|
|
21228
|
+
interface ListBotApiKeysRequestBody {
|
|
21229
|
+
}
|
|
21230
|
+
type ListBotApiKeysInput = ListBotApiKeysRequestBody & ListBotApiKeysRequestHeaders & ListBotApiKeysRequestQuery & ListBotApiKeysRequestParams;
|
|
21231
|
+
interface ListBotApiKeysResponse {
|
|
21232
|
+
baks: {
|
|
21233
|
+
id: string;
|
|
21234
|
+
createdAt: string;
|
|
21235
|
+
note: string;
|
|
21236
|
+
}[];
|
|
21237
|
+
}
|
|
21238
|
+
|
|
21239
|
+
interface CreateBotApiKeyRequestHeaders {
|
|
21240
|
+
}
|
|
21241
|
+
interface CreateBotApiKeyRequestQuery {
|
|
21242
|
+
}
|
|
21243
|
+
interface CreateBotApiKeyRequestParams {
|
|
21244
|
+
}
|
|
21245
|
+
interface CreateBotApiKeyRequestBody {
|
|
21246
|
+
botId: string;
|
|
21247
|
+
note?: string;
|
|
21248
|
+
}
|
|
21249
|
+
type CreateBotApiKeyInput = CreateBotApiKeyRequestBody & CreateBotApiKeyRequestHeaders & CreateBotApiKeyRequestQuery & CreateBotApiKeyRequestParams;
|
|
21250
|
+
interface CreateBotApiKeyResponse {
|
|
21251
|
+
id: string;
|
|
21252
|
+
createdAt: string;
|
|
21253
|
+
note: string;
|
|
21254
|
+
/**
|
|
21255
|
+
* The BAK value. This will only be returned here when created and cannot be retrieved later.
|
|
21256
|
+
*/
|
|
21257
|
+
value: string;
|
|
21258
|
+
}
|
|
21259
|
+
|
|
21260
|
+
interface DeleteBotApiKeyRequestHeaders {
|
|
21261
|
+
}
|
|
21262
|
+
interface DeleteBotApiKeyRequestQuery {
|
|
21263
|
+
}
|
|
21264
|
+
interface DeleteBotApiKeyRequestParams {
|
|
21265
|
+
id: string;
|
|
21266
|
+
}
|
|
21267
|
+
interface DeleteBotApiKeyRequestBody {
|
|
21268
|
+
}
|
|
21269
|
+
type DeleteBotApiKeyInput = DeleteBotApiKeyRequestBody & DeleteBotApiKeyRequestHeaders & DeleteBotApiKeyRequestQuery & DeleteBotApiKeyRequestParams;
|
|
21270
|
+
interface DeleteBotApiKeyResponse {
|
|
21271
|
+
}
|
|
21272
|
+
|
|
20015
21273
|
interface ListWorkspaceInvoicesRequestHeaders {
|
|
20016
21274
|
}
|
|
20017
21275
|
interface ListWorkspaceInvoicesRequestQuery {
|
|
@@ -20813,6 +22071,12 @@ interface CreateIntegrationRequestBody {
|
|
|
20813
22071
|
[k: string]: any;
|
|
20814
22072
|
};
|
|
20815
22073
|
};
|
|
22074
|
+
/**
|
|
22075
|
+
* Optional attributes
|
|
22076
|
+
*/
|
|
22077
|
+
attributes?: {
|
|
22078
|
+
[k: string]: string;
|
|
22079
|
+
};
|
|
20816
22080
|
};
|
|
20817
22081
|
};
|
|
20818
22082
|
entities?: {
|
|
@@ -21282,6 +22546,12 @@ interface CreateIntegrationResponse {
|
|
|
21282
22546
|
[k: string]: any;
|
|
21283
22547
|
};
|
|
21284
22548
|
};
|
|
22549
|
+
/**
|
|
22550
|
+
* Optional attributes
|
|
22551
|
+
*/
|
|
22552
|
+
attributes?: {
|
|
22553
|
+
[k: string]: string;
|
|
22554
|
+
};
|
|
21285
22555
|
};
|
|
21286
22556
|
};
|
|
21287
22557
|
/**
|
|
@@ -21493,6 +22763,12 @@ interface ValidateIntegrationCreationRequestBody {
|
|
|
21493
22763
|
[k: string]: any;
|
|
21494
22764
|
};
|
|
21495
22765
|
};
|
|
22766
|
+
/**
|
|
22767
|
+
* Optional attributes
|
|
22768
|
+
*/
|
|
22769
|
+
attributes?: {
|
|
22770
|
+
[k: string]: string;
|
|
22771
|
+
};
|
|
21496
22772
|
};
|
|
21497
22773
|
};
|
|
21498
22774
|
entities?: {
|
|
@@ -21818,9 +23094,6 @@ interface UpdateIntegrationRequestBody {
|
|
|
21818
23094
|
fallbackHandlerScript?: string | null;
|
|
21819
23095
|
};
|
|
21820
23096
|
actions?: {
|
|
21821
|
-
/**
|
|
21822
|
-
* Action definition
|
|
21823
|
-
*/
|
|
21824
23097
|
[k: string]: {
|
|
21825
23098
|
/**
|
|
21826
23099
|
* Title of the action
|
|
@@ -21842,6 +23115,12 @@ interface UpdateIntegrationRequestBody {
|
|
|
21842
23115
|
[k: string]: any;
|
|
21843
23116
|
};
|
|
21844
23117
|
};
|
|
23118
|
+
/**
|
|
23119
|
+
* Optional attributes. Set attributes to null to remove them
|
|
23120
|
+
*/
|
|
23121
|
+
attributes?: {
|
|
23122
|
+
[k: string]: string | null;
|
|
23123
|
+
};
|
|
21845
23124
|
} | null;
|
|
21846
23125
|
};
|
|
21847
23126
|
events?: {
|
|
@@ -22273,6 +23552,12 @@ interface UpdateIntegrationResponse {
|
|
|
22273
23552
|
[k: string]: any;
|
|
22274
23553
|
};
|
|
22275
23554
|
};
|
|
23555
|
+
/**
|
|
23556
|
+
* Optional attributes
|
|
23557
|
+
*/
|
|
23558
|
+
attributes?: {
|
|
23559
|
+
[k: string]: string;
|
|
23560
|
+
};
|
|
22276
23561
|
};
|
|
22277
23562
|
};
|
|
22278
23563
|
/**
|
|
@@ -22491,9 +23776,6 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
22491
23776
|
fallbackHandlerScript?: string | null;
|
|
22492
23777
|
};
|
|
22493
23778
|
actions?: {
|
|
22494
|
-
/**
|
|
22495
|
-
* Action definition
|
|
22496
|
-
*/
|
|
22497
23779
|
[k: string]: {
|
|
22498
23780
|
/**
|
|
22499
23781
|
* Title of the action
|
|
@@ -22515,6 +23797,12 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
22515
23797
|
[k: string]: any;
|
|
22516
23798
|
};
|
|
22517
23799
|
};
|
|
23800
|
+
/**
|
|
23801
|
+
* Optional attributes. Set attributes to null to remove them
|
|
23802
|
+
*/
|
|
23803
|
+
attributes?: {
|
|
23804
|
+
[k: string]: string | null;
|
|
23805
|
+
};
|
|
22518
23806
|
} | null;
|
|
22519
23807
|
};
|
|
22520
23808
|
events?: {
|
|
@@ -23062,6 +24350,12 @@ interface GetIntegrationResponse {
|
|
|
23062
24350
|
[k: string]: any;
|
|
23063
24351
|
};
|
|
23064
24352
|
};
|
|
24353
|
+
/**
|
|
24354
|
+
* Optional attributes
|
|
24355
|
+
*/
|
|
24356
|
+
attributes?: {
|
|
24357
|
+
[k: string]: string;
|
|
24358
|
+
};
|
|
23065
24359
|
};
|
|
23066
24360
|
};
|
|
23067
24361
|
/**
|
|
@@ -23466,6 +24760,12 @@ interface GetIntegrationByNameResponse {
|
|
|
23466
24760
|
[k: string]: any;
|
|
23467
24761
|
};
|
|
23468
24762
|
};
|
|
24763
|
+
/**
|
|
24764
|
+
* Optional attributes
|
|
24765
|
+
*/
|
|
24766
|
+
attributes?: {
|
|
24767
|
+
[k: string]: string;
|
|
24768
|
+
};
|
|
23469
24769
|
};
|
|
23470
24770
|
};
|
|
23471
24771
|
/**
|
|
@@ -23656,6 +24956,12 @@ interface CreateInterfaceRequestBody {
|
|
|
23656
24956
|
[k: string]: any;
|
|
23657
24957
|
};
|
|
23658
24958
|
};
|
|
24959
|
+
/**
|
|
24960
|
+
* Optional attributes
|
|
24961
|
+
*/
|
|
24962
|
+
attributes?: {
|
|
24963
|
+
[k: string]: string;
|
|
24964
|
+
};
|
|
23659
24965
|
};
|
|
23660
24966
|
};
|
|
23661
24967
|
channels?: {
|
|
@@ -23772,6 +25078,12 @@ interface CreateInterfaceResponse {
|
|
|
23772
25078
|
[k: string]: any;
|
|
23773
25079
|
};
|
|
23774
25080
|
};
|
|
25081
|
+
/**
|
|
25082
|
+
* Optional attributes
|
|
25083
|
+
*/
|
|
25084
|
+
attributes?: {
|
|
25085
|
+
[k: string]: string;
|
|
25086
|
+
};
|
|
23775
25087
|
};
|
|
23776
25088
|
};
|
|
23777
25089
|
channels: {
|
|
@@ -23899,6 +25211,12 @@ interface GetInterfaceResponse {
|
|
|
23899
25211
|
[k: string]: any;
|
|
23900
25212
|
};
|
|
23901
25213
|
};
|
|
25214
|
+
/**
|
|
25215
|
+
* Optional attributes
|
|
25216
|
+
*/
|
|
25217
|
+
attributes?: {
|
|
25218
|
+
[k: string]: string;
|
|
25219
|
+
};
|
|
23902
25220
|
};
|
|
23903
25221
|
};
|
|
23904
25222
|
channels: {
|
|
@@ -24027,6 +25345,12 @@ interface GetInterfaceByNameResponse {
|
|
|
24027
25345
|
[k: string]: any;
|
|
24028
25346
|
};
|
|
24029
25347
|
};
|
|
25348
|
+
/**
|
|
25349
|
+
* Optional attributes
|
|
25350
|
+
*/
|
|
25351
|
+
attributes?: {
|
|
25352
|
+
[k: string]: string;
|
|
25353
|
+
};
|
|
24030
25354
|
};
|
|
24031
25355
|
};
|
|
24032
25356
|
channels: {
|
|
@@ -24106,9 +25430,6 @@ interface UpdateInterfaceRequestBody {
|
|
|
24106
25430
|
} | null;
|
|
24107
25431
|
};
|
|
24108
25432
|
actions?: {
|
|
24109
|
-
/**
|
|
24110
|
-
* Action definition
|
|
24111
|
-
*/
|
|
24112
25433
|
[k: string]: {
|
|
24113
25434
|
/**
|
|
24114
25435
|
* Title of the action
|
|
@@ -24130,6 +25451,9 @@ interface UpdateInterfaceRequestBody {
|
|
|
24130
25451
|
[k: string]: any;
|
|
24131
25452
|
};
|
|
24132
25453
|
};
|
|
25454
|
+
attributes?: {
|
|
25455
|
+
[k: string]: string | null;
|
|
25456
|
+
};
|
|
24133
25457
|
} | null;
|
|
24134
25458
|
};
|
|
24135
25459
|
channels?: {
|
|
@@ -24246,6 +25570,12 @@ interface UpdateInterfaceResponse {
|
|
|
24246
25570
|
[k: string]: any;
|
|
24247
25571
|
};
|
|
24248
25572
|
};
|
|
25573
|
+
/**
|
|
25574
|
+
* Optional attributes
|
|
25575
|
+
*/
|
|
25576
|
+
attributes?: {
|
|
25577
|
+
[k: string]: string;
|
|
25578
|
+
};
|
|
24249
25579
|
};
|
|
24250
25580
|
};
|
|
24251
25581
|
channels: {
|
|
@@ -24430,6 +25760,12 @@ interface CreatePluginRequestBody {
|
|
|
24430
25760
|
[k: string]: any;
|
|
24431
25761
|
};
|
|
24432
25762
|
};
|
|
25763
|
+
/**
|
|
25764
|
+
* Optional attributes
|
|
25765
|
+
*/
|
|
25766
|
+
attributes?: {
|
|
25767
|
+
[k: string]: string;
|
|
25768
|
+
};
|
|
24433
25769
|
};
|
|
24434
25770
|
};
|
|
24435
25771
|
/**
|
|
@@ -24618,6 +25954,12 @@ interface CreatePluginResponse {
|
|
|
24618
25954
|
[k: string]: any;
|
|
24619
25955
|
};
|
|
24620
25956
|
};
|
|
25957
|
+
/**
|
|
25958
|
+
* Optional attributes
|
|
25959
|
+
*/
|
|
25960
|
+
attributes?: {
|
|
25961
|
+
[k: string]: string;
|
|
25962
|
+
};
|
|
24621
25963
|
};
|
|
24622
25964
|
};
|
|
24623
25965
|
dependencies: {
|
|
@@ -24811,6 +26153,12 @@ interface GetPluginResponse {
|
|
|
24811
26153
|
[k: string]: any;
|
|
24812
26154
|
};
|
|
24813
26155
|
};
|
|
26156
|
+
/**
|
|
26157
|
+
* Optional attributes
|
|
26158
|
+
*/
|
|
26159
|
+
attributes?: {
|
|
26160
|
+
[k: string]: string;
|
|
26161
|
+
};
|
|
24814
26162
|
};
|
|
24815
26163
|
};
|
|
24816
26164
|
dependencies: {
|
|
@@ -25005,6 +26353,12 @@ interface GetPluginByNameResponse {
|
|
|
25005
26353
|
[k: string]: any;
|
|
25006
26354
|
};
|
|
25007
26355
|
};
|
|
26356
|
+
/**
|
|
26357
|
+
* Optional attributes
|
|
26358
|
+
*/
|
|
26359
|
+
attributes?: {
|
|
26360
|
+
[k: string]: string;
|
|
26361
|
+
};
|
|
25008
26362
|
};
|
|
25009
26363
|
};
|
|
25010
26364
|
dependencies: {
|
|
@@ -25174,6 +26528,12 @@ interface UpdatePluginRequestBody {
|
|
|
25174
26528
|
[k: string]: any;
|
|
25175
26529
|
};
|
|
25176
26530
|
};
|
|
26531
|
+
/**
|
|
26532
|
+
* Optional attributes
|
|
26533
|
+
*/
|
|
26534
|
+
attributes?: {
|
|
26535
|
+
[k: string]: string;
|
|
26536
|
+
};
|
|
25177
26537
|
} | null;
|
|
25178
26538
|
};
|
|
25179
26539
|
user?: {
|
|
@@ -25356,6 +26716,12 @@ interface UpdatePluginResponse {
|
|
|
25356
26716
|
[k: string]: any;
|
|
25357
26717
|
};
|
|
25358
26718
|
};
|
|
26719
|
+
/**
|
|
26720
|
+
* Optional attributes
|
|
26721
|
+
*/
|
|
26722
|
+
attributes?: {
|
|
26723
|
+
[k: string]: string;
|
|
26724
|
+
};
|
|
25359
26725
|
};
|
|
25360
26726
|
};
|
|
25361
26727
|
dependencies: {
|
|
@@ -25455,6 +26821,7 @@ interface ListPluginsRequestHeaders {
|
|
|
25455
26821
|
interface ListPluginsRequestQuery {
|
|
25456
26822
|
nextToken?: string;
|
|
25457
26823
|
name?: string;
|
|
26824
|
+
version?: string;
|
|
25458
26825
|
}
|
|
25459
26826
|
interface ListPluginsRequestParams {
|
|
25460
26827
|
}
|
|
@@ -28559,6 +29926,12 @@ interface Bot {
|
|
|
28559
29926
|
[k: string]: any;
|
|
28560
29927
|
};
|
|
28561
29928
|
};
|
|
29929
|
+
/**
|
|
29930
|
+
* Optional attributes
|
|
29931
|
+
*/
|
|
29932
|
+
attributes?: {
|
|
29933
|
+
[k: string]: string;
|
|
29934
|
+
};
|
|
28562
29935
|
};
|
|
28563
29936
|
};
|
|
28564
29937
|
/**
|
|
@@ -28881,6 +30254,12 @@ interface Integration {
|
|
|
28881
30254
|
[k: string]: any;
|
|
28882
30255
|
};
|
|
28883
30256
|
};
|
|
30257
|
+
/**
|
|
30258
|
+
* Optional attributes
|
|
30259
|
+
*/
|
|
30260
|
+
attributes?: {
|
|
30261
|
+
[k: string]: string;
|
|
30262
|
+
};
|
|
28884
30263
|
};
|
|
28885
30264
|
};
|
|
28886
30265
|
/**
|
|
@@ -29049,6 +30428,12 @@ interface Interface {
|
|
|
29049
30428
|
[k: string]: any;
|
|
29050
30429
|
};
|
|
29051
30430
|
};
|
|
30431
|
+
/**
|
|
30432
|
+
* Optional attributes
|
|
30433
|
+
*/
|
|
30434
|
+
attributes?: {
|
|
30435
|
+
[k: string]: string;
|
|
30436
|
+
};
|
|
29052
30437
|
};
|
|
29053
30438
|
};
|
|
29054
30439
|
channels: {
|
|
@@ -29182,6 +30567,12 @@ interface Plugin {
|
|
|
29182
30567
|
[k: string]: any;
|
|
29183
30568
|
};
|
|
29184
30569
|
};
|
|
30570
|
+
/**
|
|
30571
|
+
* Optional attributes
|
|
30572
|
+
*/
|
|
30573
|
+
attributes?: {
|
|
30574
|
+
[k: string]: string;
|
|
30575
|
+
};
|
|
29185
30576
|
};
|
|
29186
30577
|
};
|
|
29187
30578
|
dependencies: {
|
|
@@ -30049,6 +31440,10 @@ declare class Client$1 {
|
|
|
30049
31440
|
readonly listPublicIntegrations: (input: ListPublicIntegrationsInput) => Promise<ListPublicIntegrationsResponse>;
|
|
30050
31441
|
readonly getPublicIntegrationById: (input: GetPublicIntegrationByIdInput) => Promise<GetPublicIntegrationByIdResponse>;
|
|
30051
31442
|
readonly getPublicIntegration: (input: GetPublicIntegrationInput) => Promise<GetPublicIntegrationResponse>;
|
|
31443
|
+
readonly listPublicPlugins: (input: ListPublicPluginsInput) => Promise<ListPublicPluginsResponse>;
|
|
31444
|
+
readonly getPublicPluginById: (input: GetPublicPluginByIdInput) => Promise<GetPublicPluginByIdResponse>;
|
|
31445
|
+
readonly getPublicPlugin: (input: GetPublicPluginInput) => Promise<GetPublicPluginResponse>;
|
|
31446
|
+
readonly getPublicPluginCode: (input: GetPublicPluginCodeInput) => Promise<GetPublicPluginCodeResponse>;
|
|
30052
31447
|
readonly createBot: (input: CreateBotInput) => Promise<CreateBotResponse>;
|
|
30053
31448
|
readonly updateBot: (input: UpdateBotInput) => Promise<UpdateBotResponse>;
|
|
30054
31449
|
readonly transferBot: (input: TransferBotInput) => Promise<TransferBotResponse>;
|
|
@@ -30069,6 +31464,9 @@ declare class Client$1 {
|
|
|
30069
31464
|
readonly createIntegrationShareableId: (input: CreateIntegrationShareableIdInput) => Promise<CreateIntegrationShareableIdResponse>;
|
|
30070
31465
|
readonly deleteIntegrationShareableId: (input: DeleteIntegrationShareableIdInput) => Promise<DeleteIntegrationShareableIdResponse>;
|
|
30071
31466
|
readonly getIntegrationShareableId: (input: GetIntegrationShareableIdInput) => Promise<GetIntegrationShareableIdResponse>;
|
|
31467
|
+
readonly listBotApiKeys: (input: ListBotApiKeysInput) => Promise<ListBotApiKeysResponse>;
|
|
31468
|
+
readonly createBotApiKey: (input: CreateBotApiKeyInput) => Promise<CreateBotApiKeyResponse>;
|
|
31469
|
+
readonly deleteBotApiKey: (input: DeleteBotApiKeyInput) => Promise<DeleteBotApiKeyResponse>;
|
|
30072
31470
|
readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput) => Promise<ListWorkspaceInvoicesResponse>;
|
|
30073
31471
|
readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput) => Promise<GetUpcomingInvoiceResponse>;
|
|
30074
31472
|
readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput) => Promise<ChargeWorkspaceUnpaidInvoicesResponse>;
|