@botpress/api 0.2.2 → 0.3.1
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/gen/state.d.ts +891 -383
- package/dist/index.js +990 -424
- package/package.json +10 -10
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +1004 -415
package/dist/index.js
CHANGED
|
@@ -227888,34 +227888,6 @@ var state = {
|
|
|
227888
227888
|
},
|
|
227889
227889
|
description: "A mapping of states to their definition"
|
|
227890
227890
|
},
|
|
227891
|
-
tags: {
|
|
227892
|
-
type: "object",
|
|
227893
|
-
properties: {
|
|
227894
|
-
messages: {
|
|
227895
|
-
default: [],
|
|
227896
|
-
type: "array",
|
|
227897
|
-
items: {
|
|
227898
|
-
type: "string"
|
|
227899
|
-
}
|
|
227900
|
-
},
|
|
227901
|
-
conversations: {
|
|
227902
|
-
default: [],
|
|
227903
|
-
type: "array",
|
|
227904
|
-
items: {
|
|
227905
|
-
type: "string"
|
|
227906
|
-
}
|
|
227907
|
-
},
|
|
227908
|
-
users: {
|
|
227909
|
-
default: [],
|
|
227910
|
-
type: "array",
|
|
227911
|
-
items: {
|
|
227912
|
-
type: "string"
|
|
227913
|
-
}
|
|
227914
|
-
}
|
|
227915
|
-
},
|
|
227916
|
-
description: "Tags of the bot",
|
|
227917
|
-
additionalProperties: false
|
|
227918
|
-
},
|
|
227919
227891
|
events: {
|
|
227920
227892
|
type: "object",
|
|
227921
227893
|
additionalProperties: {
|
|
@@ -227927,7 +227899,7 @@ var state = {
|
|
|
227927
227899
|
}
|
|
227928
227900
|
},
|
|
227929
227901
|
required: ["schema"],
|
|
227930
|
-
description: "Event
|
|
227902
|
+
description: "Event Definition",
|
|
227931
227903
|
additionalProperties: false
|
|
227932
227904
|
},
|
|
227933
227905
|
description: "Events definition"
|
|
@@ -227976,6 +227948,78 @@ var state = {
|
|
|
227976
227948
|
},
|
|
227977
227949
|
additionalProperties: false
|
|
227978
227950
|
},
|
|
227951
|
+
user: {
|
|
227952
|
+
type: "object",
|
|
227953
|
+
properties: {
|
|
227954
|
+
tags: {
|
|
227955
|
+
type: "object",
|
|
227956
|
+
additionalProperties: {
|
|
227957
|
+
type: "object",
|
|
227958
|
+
properties: {
|
|
227959
|
+
title: {
|
|
227960
|
+
type: "string",
|
|
227961
|
+
description: "Title of the tag"
|
|
227962
|
+
},
|
|
227963
|
+
description: {
|
|
227964
|
+
type: "string",
|
|
227965
|
+
description: "Description of the tag"
|
|
227966
|
+
}
|
|
227967
|
+
},
|
|
227968
|
+
description: "Definition of a tag that can be provided on the object",
|
|
227969
|
+
additionalProperties: false
|
|
227970
|
+
}
|
|
227971
|
+
}
|
|
227972
|
+
},
|
|
227973
|
+
additionalProperties: false
|
|
227974
|
+
},
|
|
227975
|
+
conversation: {
|
|
227976
|
+
type: "object",
|
|
227977
|
+
properties: {
|
|
227978
|
+
tags: {
|
|
227979
|
+
type: "object",
|
|
227980
|
+
additionalProperties: {
|
|
227981
|
+
type: "object",
|
|
227982
|
+
properties: {
|
|
227983
|
+
title: {
|
|
227984
|
+
type: "string",
|
|
227985
|
+
description: "Title of the tag"
|
|
227986
|
+
},
|
|
227987
|
+
description: {
|
|
227988
|
+
type: "string",
|
|
227989
|
+
description: "Description of the tag"
|
|
227990
|
+
}
|
|
227991
|
+
},
|
|
227992
|
+
description: "Definition of a tag that can be provided on the object",
|
|
227993
|
+
additionalProperties: false
|
|
227994
|
+
}
|
|
227995
|
+
}
|
|
227996
|
+
},
|
|
227997
|
+
additionalProperties: false
|
|
227998
|
+
},
|
|
227999
|
+
message: {
|
|
228000
|
+
type: "object",
|
|
228001
|
+
properties: {
|
|
228002
|
+
tags: {
|
|
228003
|
+
type: "object",
|
|
228004
|
+
additionalProperties: {
|
|
228005
|
+
type: "object",
|
|
228006
|
+
properties: {
|
|
228007
|
+
title: {
|
|
228008
|
+
type: "string",
|
|
228009
|
+
description: "Title of the tag"
|
|
228010
|
+
},
|
|
228011
|
+
description: {
|
|
228012
|
+
type: "string",
|
|
228013
|
+
description: "Description of the tag"
|
|
228014
|
+
}
|
|
228015
|
+
},
|
|
228016
|
+
description: "Definition of a tag that can be provided on the object",
|
|
228017
|
+
additionalProperties: false
|
|
228018
|
+
}
|
|
228019
|
+
}
|
|
228020
|
+
},
|
|
228021
|
+
additionalProperties: false
|
|
228022
|
+
},
|
|
227979
228023
|
code: {
|
|
227980
228024
|
type: "string",
|
|
227981
228025
|
description: "JavaScript code of the bot"
|
|
@@ -228057,58 +228101,98 @@ var state = {
|
|
|
228057
228101
|
enum: ["iam"],
|
|
228058
228102
|
description: "Type of the [Bot](#schema_bot) authentication (`iam`)"
|
|
228059
228103
|
},
|
|
228060
|
-
|
|
228104
|
+
configuration: {
|
|
228061
228105
|
type: "object",
|
|
228062
|
-
|
|
228063
|
-
|
|
228064
|
-
|
|
228065
|
-
|
|
228066
|
-
|
|
228067
|
-
enum: ["conversation", "user", "bot"],
|
|
228068
|
-
description: "Type of the [State](#schema_state) (`conversation`, `user` or `bot`)"
|
|
228069
|
-
},
|
|
228070
|
-
schema: {
|
|
228071
|
-
type: "object",
|
|
228072
|
-
additionalProperties: true,
|
|
228073
|
-
description: "Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data."
|
|
228074
|
-
},
|
|
228075
|
-
expiry: {
|
|
228076
|
-
type: "number",
|
|
228077
|
-
minimum: 1,
|
|
228078
|
-
description: "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."
|
|
228079
|
-
}
|
|
228106
|
+
properties: {
|
|
228107
|
+
data: {
|
|
228108
|
+
type: "object",
|
|
228109
|
+
additionalProperties: true,
|
|
228110
|
+
description: "Configuration data"
|
|
228080
228111
|
},
|
|
228081
|
-
|
|
228082
|
-
|
|
228112
|
+
schema: {
|
|
228113
|
+
type: "object",
|
|
228114
|
+
additionalProperties: true,
|
|
228115
|
+
description: "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
228116
|
+
}
|
|
228083
228117
|
},
|
|
228084
|
-
|
|
228118
|
+
additionalProperties: false
|
|
228085
228119
|
},
|
|
228086
|
-
|
|
228120
|
+
blocked: {
|
|
228121
|
+
type: "boolean"
|
|
228122
|
+
},
|
|
228123
|
+
user: {
|
|
228087
228124
|
type: "object",
|
|
228088
228125
|
properties: {
|
|
228089
|
-
|
|
228090
|
-
|
|
228091
|
-
|
|
228092
|
-
|
|
228093
|
-
|
|
228126
|
+
tags: {
|
|
228127
|
+
type: "object",
|
|
228128
|
+
additionalProperties: {
|
|
228129
|
+
type: "object",
|
|
228130
|
+
properties: {
|
|
228131
|
+
title: {
|
|
228132
|
+
type: "string",
|
|
228133
|
+
description: "Title of the tag"
|
|
228134
|
+
},
|
|
228135
|
+
description: {
|
|
228136
|
+
type: "string",
|
|
228137
|
+
description: "Description of the tag"
|
|
228138
|
+
}
|
|
228139
|
+
},
|
|
228140
|
+
description: "Definition of a tag that can be provided on the object",
|
|
228141
|
+
nullable: true,
|
|
228142
|
+
additionalProperties: false
|
|
228094
228143
|
}
|
|
228095
|
-
}
|
|
228096
|
-
|
|
228097
|
-
|
|
228098
|
-
|
|
228099
|
-
|
|
228100
|
-
|
|
228144
|
+
}
|
|
228145
|
+
},
|
|
228146
|
+
additionalProperties: false
|
|
228147
|
+
},
|
|
228148
|
+
message: {
|
|
228149
|
+
type: "object",
|
|
228150
|
+
properties: {
|
|
228151
|
+
tags: {
|
|
228152
|
+
type: "object",
|
|
228153
|
+
additionalProperties: {
|
|
228154
|
+
type: "object",
|
|
228155
|
+
properties: {
|
|
228156
|
+
title: {
|
|
228157
|
+
type: "string",
|
|
228158
|
+
description: "Title of the tag"
|
|
228159
|
+
},
|
|
228160
|
+
description: {
|
|
228161
|
+
type: "string",
|
|
228162
|
+
description: "Description of the tag"
|
|
228163
|
+
}
|
|
228164
|
+
},
|
|
228165
|
+
description: "Definition of a tag that can be provided on the object",
|
|
228166
|
+
nullable: true,
|
|
228167
|
+
additionalProperties: false
|
|
228101
228168
|
}
|
|
228102
|
-
}
|
|
228103
|
-
|
|
228104
|
-
|
|
228105
|
-
|
|
228106
|
-
|
|
228107
|
-
|
|
228169
|
+
}
|
|
228170
|
+
},
|
|
228171
|
+
additionalProperties: false
|
|
228172
|
+
},
|
|
228173
|
+
conversation: {
|
|
228174
|
+
type: "object",
|
|
228175
|
+
properties: {
|
|
228176
|
+
tags: {
|
|
228177
|
+
type: "object",
|
|
228178
|
+
additionalProperties: {
|
|
228179
|
+
type: "object",
|
|
228180
|
+
properties: {
|
|
228181
|
+
title: {
|
|
228182
|
+
type: "string",
|
|
228183
|
+
description: "Title of the tag"
|
|
228184
|
+
},
|
|
228185
|
+
description: {
|
|
228186
|
+
type: "string",
|
|
228187
|
+
description: "Description of the tag"
|
|
228188
|
+
}
|
|
228189
|
+
},
|
|
228190
|
+
description: "Definition of a tag that can be provided on the object",
|
|
228191
|
+
nullable: true,
|
|
228192
|
+
additionalProperties: false
|
|
228108
228193
|
}
|
|
228109
228194
|
}
|
|
228110
228195
|
},
|
|
228111
|
-
description: "Tags of the bot",
|
|
228112
228196
|
additionalProperties: false
|
|
228113
228197
|
},
|
|
228114
228198
|
events: {
|
|
@@ -228122,10 +228206,36 @@ var state = {
|
|
|
228122
228206
|
}
|
|
228123
228207
|
},
|
|
228124
228208
|
required: ["schema"],
|
|
228125
|
-
description: "Event
|
|
228209
|
+
description: "Event Definition",
|
|
228210
|
+
nullable: true,
|
|
228126
228211
|
additionalProperties: false
|
|
228127
|
-
}
|
|
228128
|
-
|
|
228212
|
+
}
|
|
228213
|
+
},
|
|
228214
|
+
states: {
|
|
228215
|
+
type: "object",
|
|
228216
|
+
additionalProperties: {
|
|
228217
|
+
type: "object",
|
|
228218
|
+
properties: {
|
|
228219
|
+
type: {
|
|
228220
|
+
type: "string",
|
|
228221
|
+
enum: ["conversation", "user", "bot"],
|
|
228222
|
+
description: "Type of the [State](#schema_state) (`conversation`, `user` or `bot`)"
|
|
228223
|
+
},
|
|
228224
|
+
schema: {
|
|
228225
|
+
type: "object",
|
|
228226
|
+
additionalProperties: true,
|
|
228227
|
+
description: "Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data."
|
|
228228
|
+
},
|
|
228229
|
+
expiry: {
|
|
228230
|
+
type: "number",
|
|
228231
|
+
minimum: 1,
|
|
228232
|
+
description: "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."
|
|
228233
|
+
}
|
|
228234
|
+
},
|
|
228235
|
+
required: ["type", "schema"],
|
|
228236
|
+
nullable: true,
|
|
228237
|
+
additionalProperties: false
|
|
228238
|
+
}
|
|
228129
228239
|
},
|
|
228130
228240
|
recurringEvents: {
|
|
228131
228241
|
type: "object",
|
|
@@ -228151,28 +228261,9 @@ var state = {
|
|
|
228151
228261
|
}
|
|
228152
228262
|
},
|
|
228153
228263
|
required: ["schedule", "type", "payload"],
|
|
228264
|
+
nullable: true,
|
|
228154
228265
|
additionalProperties: false
|
|
228155
|
-
}
|
|
228156
|
-
description: "Recurring events"
|
|
228157
|
-
},
|
|
228158
|
-
configuration: {
|
|
228159
|
-
type: "object",
|
|
228160
|
-
properties: {
|
|
228161
|
-
data: {
|
|
228162
|
-
type: "object",
|
|
228163
|
-
additionalProperties: true,
|
|
228164
|
-
description: "Configuration data"
|
|
228165
|
-
},
|
|
228166
|
-
schema: {
|
|
228167
|
-
type: "object",
|
|
228168
|
-
additionalProperties: true,
|
|
228169
|
-
description: "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
228170
|
-
}
|
|
228171
|
-
},
|
|
228172
|
-
additionalProperties: false
|
|
228173
|
-
},
|
|
228174
|
-
blocked: {
|
|
228175
|
-
type: "boolean"
|
|
228266
|
+
}
|
|
228176
228267
|
},
|
|
228177
228268
|
integrations: {
|
|
228178
228269
|
type: "object",
|
|
@@ -228577,8 +228668,12 @@ var state = {
|
|
|
228577
228668
|
updatedAt: {
|
|
228578
228669
|
type: "string"
|
|
228579
228670
|
},
|
|
228671
|
+
botCount: {
|
|
228672
|
+
type: "number"
|
|
228673
|
+
},
|
|
228580
228674
|
accountType: {
|
|
228581
|
-
type: "string"
|
|
228675
|
+
type: "string",
|
|
228676
|
+
enum: ["free", "premium"]
|
|
228582
228677
|
},
|
|
228583
228678
|
blocked: {
|
|
228584
228679
|
type: "boolean"
|
|
@@ -228593,6 +228688,7 @@ var state = {
|
|
|
228593
228688
|
"ownerId",
|
|
228594
228689
|
"createdAt",
|
|
228595
228690
|
"updatedAt",
|
|
228691
|
+
"botCount",
|
|
228596
228692
|
"accountType",
|
|
228597
228693
|
"blocked",
|
|
228598
228694
|
"spendingLimit"
|
|
@@ -228602,19 +228698,40 @@ var state = {
|
|
|
228602
228698
|
}
|
|
228603
228699
|
}
|
|
228604
228700
|
},
|
|
228605
|
-
|
|
228606
|
-
name: "
|
|
228607
|
-
description: "
|
|
228608
|
-
method: "
|
|
228609
|
-
path: "/v1/admin/workspaces",
|
|
228610
|
-
disableDefaultParameters: {
|
|
228611
|
-
"x-workspace-id": true
|
|
228612
|
-
},
|
|
228701
|
+
updateWorkspace: {
|
|
228702
|
+
name: "updateWorkspace",
|
|
228703
|
+
description: "Update workspace",
|
|
228704
|
+
method: "put",
|
|
228705
|
+
path: "/v1/admin/workspaces/{id}",
|
|
228613
228706
|
parameters: {
|
|
228614
|
-
|
|
228615
|
-
|
|
228616
|
-
description: "
|
|
228617
|
-
|
|
228707
|
+
id: {
|
|
228708
|
+
type: "string",
|
|
228709
|
+
description: "Workspace ID",
|
|
228710
|
+
in: "path"
|
|
228711
|
+
}
|
|
228712
|
+
},
|
|
228713
|
+
requestBody: {
|
|
228714
|
+
description: "Workspace metadata",
|
|
228715
|
+
schema: {
|
|
228716
|
+
type: "object",
|
|
228717
|
+
properties: {
|
|
228718
|
+
name: {
|
|
228719
|
+
type: "string",
|
|
228720
|
+
minLength: 1,
|
|
228721
|
+
maxLength: 64
|
|
228722
|
+
},
|
|
228723
|
+
accountType: {
|
|
228724
|
+
type: "string",
|
|
228725
|
+
enum: ["free", "premium"]
|
|
228726
|
+
},
|
|
228727
|
+
spendingLimit: {
|
|
228728
|
+
type: "number",
|
|
228729
|
+
minimum: 5,
|
|
228730
|
+
maximum: 1e3
|
|
228731
|
+
}
|
|
228732
|
+
},
|
|
228733
|
+
title: "updateWorkspaceBody",
|
|
228734
|
+
additionalProperties: false
|
|
228618
228735
|
}
|
|
228619
228736
|
},
|
|
228620
228737
|
response: {
|
|
@@ -228622,16 +228739,81 @@ var state = {
|
|
|
228622
228739
|
schema: {
|
|
228623
228740
|
type: "object",
|
|
228624
228741
|
properties: {
|
|
228625
|
-
|
|
228626
|
-
type: "
|
|
228627
|
-
|
|
228628
|
-
|
|
228629
|
-
|
|
228630
|
-
|
|
228631
|
-
|
|
228632
|
-
|
|
228633
|
-
|
|
228634
|
-
|
|
228742
|
+
id: {
|
|
228743
|
+
type: "string"
|
|
228744
|
+
},
|
|
228745
|
+
name: {
|
|
228746
|
+
type: "string"
|
|
228747
|
+
},
|
|
228748
|
+
ownerId: {
|
|
228749
|
+
type: "string"
|
|
228750
|
+
},
|
|
228751
|
+
createdAt: {
|
|
228752
|
+
type: "string"
|
|
228753
|
+
},
|
|
228754
|
+
updatedAt: {
|
|
228755
|
+
type: "string"
|
|
228756
|
+
},
|
|
228757
|
+
botCount: {
|
|
228758
|
+
type: "number"
|
|
228759
|
+
},
|
|
228760
|
+
accountType: {
|
|
228761
|
+
type: "string",
|
|
228762
|
+
enum: ["free", "premium"]
|
|
228763
|
+
},
|
|
228764
|
+
blocked: {
|
|
228765
|
+
type: "boolean"
|
|
228766
|
+
},
|
|
228767
|
+
spendingLimit: {
|
|
228768
|
+
type: "number"
|
|
228769
|
+
}
|
|
228770
|
+
},
|
|
228771
|
+
required: [
|
|
228772
|
+
"id",
|
|
228773
|
+
"name",
|
|
228774
|
+
"ownerId",
|
|
228775
|
+
"createdAt",
|
|
228776
|
+
"updatedAt",
|
|
228777
|
+
"botCount",
|
|
228778
|
+
"accountType",
|
|
228779
|
+
"blocked",
|
|
228780
|
+
"spendingLimit"
|
|
228781
|
+
],
|
|
228782
|
+
title: "updateWorkspaceResponse",
|
|
228783
|
+
additionalProperties: false
|
|
228784
|
+
}
|
|
228785
|
+
}
|
|
228786
|
+
},
|
|
228787
|
+
listWorkspaces: {
|
|
228788
|
+
name: "listWorkspaces",
|
|
228789
|
+
description: "List workspaces the user has access to",
|
|
228790
|
+
method: "get",
|
|
228791
|
+
path: "/v1/admin/workspaces",
|
|
228792
|
+
disableDefaultParameters: {
|
|
228793
|
+
"x-workspace-id": true
|
|
228794
|
+
},
|
|
228795
|
+
parameters: {
|
|
228796
|
+
nextToken: {
|
|
228797
|
+
in: "query",
|
|
228798
|
+
description: "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
228799
|
+
type: "string"
|
|
228800
|
+
}
|
|
228801
|
+
},
|
|
228802
|
+
response: {
|
|
228803
|
+
description: "Success",
|
|
228804
|
+
schema: {
|
|
228805
|
+
type: "object",
|
|
228806
|
+
properties: {
|
|
228807
|
+
workspaces: {
|
|
228808
|
+
type: "array",
|
|
228809
|
+
items: {
|
|
228810
|
+
type: "object",
|
|
228811
|
+
properties: {
|
|
228812
|
+
id: {
|
|
228813
|
+
type: "string"
|
|
228814
|
+
},
|
|
228815
|
+
name: {
|
|
228816
|
+
type: "string"
|
|
228635
228817
|
},
|
|
228636
228818
|
ownerId: {
|
|
228637
228819
|
type: "string"
|
|
@@ -228641,9 +228823,24 @@ var state = {
|
|
|
228641
228823
|
},
|
|
228642
228824
|
updatedAt: {
|
|
228643
228825
|
type: "string"
|
|
228826
|
+
},
|
|
228827
|
+
botCount: {
|
|
228828
|
+
type: "number"
|
|
228829
|
+
},
|
|
228830
|
+
accountType: {
|
|
228831
|
+
type: "string",
|
|
228832
|
+
enum: ["free", "premium"]
|
|
228644
228833
|
}
|
|
228645
228834
|
},
|
|
228646
|
-
required: [
|
|
228835
|
+
required: [
|
|
228836
|
+
"id",
|
|
228837
|
+
"name",
|
|
228838
|
+
"ownerId",
|
|
228839
|
+
"createdAt",
|
|
228840
|
+
"updatedAt",
|
|
228841
|
+
"botCount",
|
|
228842
|
+
"accountType"
|
|
228843
|
+
]
|
|
228647
228844
|
}
|
|
228648
228845
|
},
|
|
228649
228846
|
meta: {
|
|
@@ -228682,91 +228879,19 @@ var state = {
|
|
|
228682
228879
|
type: "string",
|
|
228683
228880
|
description: "Version of the [Integration](#schema_integration)"
|
|
228684
228881
|
},
|
|
228685
|
-
|
|
228882
|
+
configuration: {
|
|
228686
228883
|
type: "object",
|
|
228687
228884
|
properties: {
|
|
228688
|
-
|
|
228689
|
-
|
|
228690
|
-
|
|
228691
|
-
|
|
228692
|
-
type: "string"
|
|
228693
|
-
}
|
|
228885
|
+
schema: {
|
|
228886
|
+
type: "object",
|
|
228887
|
+
additionalProperties: true,
|
|
228888
|
+
description: "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
228694
228889
|
}
|
|
228695
228890
|
},
|
|
228696
|
-
|
|
228891
|
+
required: ["schema"],
|
|
228892
|
+
description: "Configuration definition",
|
|
228697
228893
|
additionalProperties: false
|
|
228698
228894
|
},
|
|
228699
|
-
channels: {
|
|
228700
|
-
type: "object",
|
|
228701
|
-
additionalProperties: {
|
|
228702
|
-
type: "object",
|
|
228703
|
-
properties: {
|
|
228704
|
-
tags: {
|
|
228705
|
-
type: "object",
|
|
228706
|
-
properties: {
|
|
228707
|
-
messages: {
|
|
228708
|
-
default: [],
|
|
228709
|
-
type: "array",
|
|
228710
|
-
items: {
|
|
228711
|
-
type: "string"
|
|
228712
|
-
}
|
|
228713
|
-
},
|
|
228714
|
-
conversations: {
|
|
228715
|
-
default: [],
|
|
228716
|
-
type: "array",
|
|
228717
|
-
items: {
|
|
228718
|
-
type: "string"
|
|
228719
|
-
}
|
|
228720
|
-
}
|
|
228721
|
-
},
|
|
228722
|
-
additionalProperties: false
|
|
228723
|
-
},
|
|
228724
|
-
messages: {
|
|
228725
|
-
type: "object",
|
|
228726
|
-
additionalProperties: {
|
|
228727
|
-
type: "object",
|
|
228728
|
-
properties: {
|
|
228729
|
-
schema: {
|
|
228730
|
-
type: "object",
|
|
228731
|
-
additionalProperties: true
|
|
228732
|
-
}
|
|
228733
|
-
},
|
|
228734
|
-
required: ["schema"],
|
|
228735
|
-
additionalProperties: false
|
|
228736
|
-
}
|
|
228737
|
-
},
|
|
228738
|
-
conversation: {
|
|
228739
|
-
type: "object",
|
|
228740
|
-
properties: {
|
|
228741
|
-
creation: {
|
|
228742
|
-
type: "object",
|
|
228743
|
-
properties: {
|
|
228744
|
-
enabled: {
|
|
228745
|
-
type: "boolean",
|
|
228746
|
-
description: "Enable conversation creation"
|
|
228747
|
-
},
|
|
228748
|
-
requiredTags: {
|
|
228749
|
-
type: "array",
|
|
228750
|
-
items: {
|
|
228751
|
-
type: "string"
|
|
228752
|
-
},
|
|
228753
|
-
description: "The list of tags that are required to be specified when calling the API directly to create a conversation."
|
|
228754
|
-
}
|
|
228755
|
-
},
|
|
228756
|
-
required: ["enabled", "requiredTags"],
|
|
228757
|
-
description: "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.",
|
|
228758
|
-
additionalProperties: false
|
|
228759
|
-
}
|
|
228760
|
-
},
|
|
228761
|
-
required: ["creation"],
|
|
228762
|
-
additionalProperties: false
|
|
228763
|
-
}
|
|
228764
|
-
},
|
|
228765
|
-
required: ["messages"],
|
|
228766
|
-
additionalProperties: false
|
|
228767
|
-
},
|
|
228768
|
-
description: "Channels definition"
|
|
228769
|
-
},
|
|
228770
228895
|
states: {
|
|
228771
228896
|
type: "object",
|
|
228772
228897
|
additionalProperties: {
|
|
@@ -228784,22 +228909,9 @@ var state = {
|
|
|
228784
228909
|
}
|
|
228785
228910
|
},
|
|
228786
228911
|
required: ["type", "schema"],
|
|
228912
|
+
description: "State definition",
|
|
228787
228913
|
additionalProperties: false
|
|
228788
|
-
}
|
|
228789
|
-
description: "States definition"
|
|
228790
|
-
},
|
|
228791
|
-
configuration: {
|
|
228792
|
-
type: "object",
|
|
228793
|
-
properties: {
|
|
228794
|
-
schema: {
|
|
228795
|
-
type: "object",
|
|
228796
|
-
additionalProperties: true,
|
|
228797
|
-
description: "Schema for the configuration"
|
|
228798
|
-
}
|
|
228799
|
-
},
|
|
228800
|
-
required: ["schema"],
|
|
228801
|
-
description: "Configuration definition",
|
|
228802
|
-
additionalProperties: false
|
|
228914
|
+
}
|
|
228803
228915
|
},
|
|
228804
228916
|
events: {
|
|
228805
228917
|
type: "object",
|
|
@@ -228812,10 +228924,9 @@ var state = {
|
|
|
228812
228924
|
}
|
|
228813
228925
|
},
|
|
228814
228926
|
required: ["schema"],
|
|
228815
|
-
description: "Event
|
|
228927
|
+
description: "Event Definition",
|
|
228816
228928
|
additionalProperties: false
|
|
228817
|
-
}
|
|
228818
|
-
description: "Events definition"
|
|
228929
|
+
}
|
|
228819
228930
|
},
|
|
228820
228931
|
actions: {
|
|
228821
228932
|
type: "object",
|
|
@@ -228846,9 +228957,101 @@ var state = {
|
|
|
228846
228957
|
}
|
|
228847
228958
|
},
|
|
228848
228959
|
required: ["input", "output"],
|
|
228960
|
+
description: "Action definition",
|
|
228849
228961
|
additionalProperties: false
|
|
228850
|
-
}
|
|
228851
|
-
|
|
228962
|
+
}
|
|
228963
|
+
},
|
|
228964
|
+
channels: {
|
|
228965
|
+
type: "object",
|
|
228966
|
+
additionalProperties: {
|
|
228967
|
+
type: "object",
|
|
228968
|
+
properties: {
|
|
228969
|
+
messages: {
|
|
228970
|
+
type: "object",
|
|
228971
|
+
additionalProperties: {
|
|
228972
|
+
type: "object",
|
|
228973
|
+
properties: {
|
|
228974
|
+
schema: {
|
|
228975
|
+
type: "object",
|
|
228976
|
+
additionalProperties: true
|
|
228977
|
+
}
|
|
228978
|
+
},
|
|
228979
|
+
required: ["schema"],
|
|
228980
|
+
description: "Message definition",
|
|
228981
|
+
additionalProperties: false
|
|
228982
|
+
}
|
|
228983
|
+
},
|
|
228984
|
+
conversation: {
|
|
228985
|
+
type: "object",
|
|
228986
|
+
properties: {
|
|
228987
|
+
creation: {
|
|
228988
|
+
type: "object",
|
|
228989
|
+
properties: {
|
|
228990
|
+
enabled: {
|
|
228991
|
+
type: "boolean",
|
|
228992
|
+
description: "Enable conversation creation"
|
|
228993
|
+
},
|
|
228994
|
+
requiredTags: {
|
|
228995
|
+
type: "array",
|
|
228996
|
+
items: {
|
|
228997
|
+
type: "string"
|
|
228998
|
+
},
|
|
228999
|
+
description: "The list of tags that are required to be specified when calling the API directly to create a conversation."
|
|
229000
|
+
}
|
|
229001
|
+
},
|
|
229002
|
+
required: ["enabled", "requiredTags"],
|
|
229003
|
+
description: "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.",
|
|
229004
|
+
additionalProperties: false
|
|
229005
|
+
},
|
|
229006
|
+
tags: {
|
|
229007
|
+
type: "object",
|
|
229008
|
+
additionalProperties: {
|
|
229009
|
+
type: "object",
|
|
229010
|
+
properties: {
|
|
229011
|
+
title: {
|
|
229012
|
+
type: "string",
|
|
229013
|
+
description: "Title of the tag"
|
|
229014
|
+
},
|
|
229015
|
+
description: {
|
|
229016
|
+
type: "string",
|
|
229017
|
+
description: "Description of the tag"
|
|
229018
|
+
}
|
|
229019
|
+
},
|
|
229020
|
+
description: "Definition of a tag that can be provided on the object",
|
|
229021
|
+
additionalProperties: false
|
|
229022
|
+
}
|
|
229023
|
+
}
|
|
229024
|
+
},
|
|
229025
|
+
additionalProperties: false
|
|
229026
|
+
},
|
|
229027
|
+
message: {
|
|
229028
|
+
type: "object",
|
|
229029
|
+
properties: {
|
|
229030
|
+
tags: {
|
|
229031
|
+
type: "object",
|
|
229032
|
+
additionalProperties: {
|
|
229033
|
+
type: "object",
|
|
229034
|
+
properties: {
|
|
229035
|
+
title: {
|
|
229036
|
+
type: "string",
|
|
229037
|
+
description: "Title of the tag"
|
|
229038
|
+
},
|
|
229039
|
+
description: {
|
|
229040
|
+
type: "string",
|
|
229041
|
+
description: "Description of the tag"
|
|
229042
|
+
}
|
|
229043
|
+
},
|
|
229044
|
+
description: "Definition of a tag that can be provided on the object",
|
|
229045
|
+
additionalProperties: false
|
|
229046
|
+
}
|
|
229047
|
+
}
|
|
229048
|
+
},
|
|
229049
|
+
additionalProperties: false
|
|
229050
|
+
}
|
|
229051
|
+
},
|
|
229052
|
+
required: ["messages"],
|
|
229053
|
+
additionalProperties: false
|
|
229054
|
+
}
|
|
228852
229055
|
},
|
|
228853
229056
|
user: {
|
|
228854
229057
|
type: "object",
|
|
@@ -228871,19 +229074,32 @@ var state = {
|
|
|
228871
229074
|
required: ["enabled", "requiredTags"],
|
|
228872
229075
|
description: "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.",
|
|
228873
229076
|
additionalProperties: false
|
|
229077
|
+
},
|
|
229078
|
+
tags: {
|
|
229079
|
+
type: "object",
|
|
229080
|
+
additionalProperties: {
|
|
229081
|
+
type: "object",
|
|
229082
|
+
properties: {
|
|
229083
|
+
title: {
|
|
229084
|
+
type: "string",
|
|
229085
|
+
description: "Title of the tag"
|
|
229086
|
+
},
|
|
229087
|
+
description: {
|
|
229088
|
+
type: "string",
|
|
229089
|
+
description: "Description of the tag"
|
|
229090
|
+
}
|
|
229091
|
+
},
|
|
229092
|
+
description: "Definition of a tag that can be provided on the object",
|
|
229093
|
+
additionalProperties: false
|
|
229094
|
+
}
|
|
228874
229095
|
}
|
|
228875
229096
|
},
|
|
228876
|
-
required: ["creation"],
|
|
228877
229097
|
additionalProperties: false
|
|
228878
229098
|
},
|
|
228879
229099
|
code: {
|
|
228880
229100
|
type: "string",
|
|
228881
229101
|
description: "JavaScript code of the integration"
|
|
228882
229102
|
},
|
|
228883
|
-
public: {
|
|
228884
|
-
type: "boolean",
|
|
228885
|
-
description: "Whether the integration is public"
|
|
228886
|
-
},
|
|
228887
229103
|
url: {
|
|
228888
229104
|
type: "string",
|
|
228889
229105
|
description: "URL of the integration; Only available for dev integrations"
|
|
@@ -228951,18 +229167,17 @@ var state = {
|
|
|
228951
229167
|
schema: {
|
|
228952
229168
|
type: "object",
|
|
228953
229169
|
properties: {
|
|
228954
|
-
|
|
229170
|
+
configuration: {
|
|
228955
229171
|
type: "object",
|
|
228956
229172
|
properties: {
|
|
228957
|
-
|
|
228958
|
-
|
|
228959
|
-
|
|
228960
|
-
|
|
228961
|
-
type: "string"
|
|
228962
|
-
}
|
|
229173
|
+
schema: {
|
|
229174
|
+
type: "object",
|
|
229175
|
+
additionalProperties: true,
|
|
229176
|
+
description: "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
228963
229177
|
}
|
|
228964
229178
|
},
|
|
228965
|
-
|
|
229179
|
+
required: ["schema"],
|
|
229180
|
+
description: "Configuration definition",
|
|
228966
229181
|
additionalProperties: false
|
|
228967
229182
|
},
|
|
228968
229183
|
channels: {
|
|
@@ -228970,26 +229185,6 @@ var state = {
|
|
|
228970
229185
|
additionalProperties: {
|
|
228971
229186
|
type: "object",
|
|
228972
229187
|
properties: {
|
|
228973
|
-
tags: {
|
|
228974
|
-
type: "object",
|
|
228975
|
-
properties: {
|
|
228976
|
-
messages: {
|
|
228977
|
-
default: [],
|
|
228978
|
-
type: "array",
|
|
228979
|
-
items: {
|
|
228980
|
-
type: "string"
|
|
228981
|
-
}
|
|
228982
|
-
},
|
|
228983
|
-
conversations: {
|
|
228984
|
-
default: [],
|
|
228985
|
-
type: "array",
|
|
228986
|
-
items: {
|
|
228987
|
-
type: "string"
|
|
228988
|
-
}
|
|
228989
|
-
}
|
|
228990
|
-
},
|
|
228991
|
-
additionalProperties: false
|
|
228992
|
-
},
|
|
228993
229188
|
messages: {
|
|
228994
229189
|
type: "object",
|
|
228995
229190
|
additionalProperties: {
|
|
@@ -229001,6 +229196,8 @@ var state = {
|
|
|
229001
229196
|
}
|
|
229002
229197
|
},
|
|
229003
229198
|
required: ["schema"],
|
|
229199
|
+
description: "Message definition",
|
|
229200
|
+
nullable: true,
|
|
229004
229201
|
additionalProperties: false
|
|
229005
229202
|
}
|
|
229006
229203
|
},
|
|
@@ -229025,66 +229222,57 @@ var state = {
|
|
|
229025
229222
|
required: ["enabled", "requiredTags"],
|
|
229026
229223
|
description: "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.",
|
|
229027
229224
|
additionalProperties: false
|
|
229225
|
+
},
|
|
229226
|
+
tags: {
|
|
229227
|
+
type: "object",
|
|
229228
|
+
additionalProperties: {
|
|
229229
|
+
type: "object",
|
|
229230
|
+
properties: {
|
|
229231
|
+
title: {
|
|
229232
|
+
type: "string",
|
|
229233
|
+
description: "Title of the tag"
|
|
229234
|
+
},
|
|
229235
|
+
description: {
|
|
229236
|
+
type: "string",
|
|
229237
|
+
description: "Description of the tag"
|
|
229238
|
+
}
|
|
229239
|
+
},
|
|
229240
|
+
description: "Definition of a tag that can be provided on the object",
|
|
229241
|
+
nullable: true,
|
|
229242
|
+
additionalProperties: false
|
|
229243
|
+
}
|
|
229028
229244
|
}
|
|
229029
229245
|
},
|
|
229030
|
-
required: ["creation"],
|
|
229031
229246
|
additionalProperties: false
|
|
229032
|
-
}
|
|
229033
|
-
},
|
|
229034
|
-
required: ["messages"],
|
|
229035
|
-
additionalProperties: false
|
|
229036
|
-
},
|
|
229037
|
-
description: "Channels definition"
|
|
229038
|
-
},
|
|
229039
|
-
states: {
|
|
229040
|
-
type: "object",
|
|
229041
|
-
additionalProperties: {
|
|
229042
|
-
type: "object",
|
|
229043
|
-
properties: {
|
|
229044
|
-
type: {
|
|
229045
|
-
type: "string",
|
|
229046
|
-
enum: ["conversation", "user", "integration"],
|
|
229047
|
-
description: "Type of the [State](#schema_state) (`conversation`, `user` or `integration`)"
|
|
229048
229247
|
},
|
|
229049
|
-
|
|
229050
|
-
type: "object",
|
|
229051
|
-
additionalProperties: true,
|
|
229052
|
-
description: "Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data."
|
|
229053
|
-
}
|
|
229054
|
-
},
|
|
229055
|
-
required: ["type", "schema"],
|
|
229056
|
-
additionalProperties: false
|
|
229057
|
-
},
|
|
229058
|
-
description: "States definition"
|
|
229059
|
-
},
|
|
229060
|
-
configuration: {
|
|
229061
|
-
type: "object",
|
|
229062
|
-
properties: {
|
|
229063
|
-
schema: {
|
|
229064
|
-
type: "object",
|
|
229065
|
-
additionalProperties: true,
|
|
229066
|
-
description: "Schema for the configuration"
|
|
229067
|
-
}
|
|
229068
|
-
},
|
|
229069
|
-
required: ["schema"],
|
|
229070
|
-
description: "Configuration definition",
|
|
229071
|
-
additionalProperties: false
|
|
229072
|
-
},
|
|
229073
|
-
events: {
|
|
229074
|
-
type: "object",
|
|
229075
|
-
additionalProperties: {
|
|
229076
|
-
type: "object",
|
|
229077
|
-
properties: {
|
|
229078
|
-
schema: {
|
|
229248
|
+
message: {
|
|
229079
229249
|
type: "object",
|
|
229080
|
-
|
|
229250
|
+
properties: {
|
|
229251
|
+
tags: {
|
|
229252
|
+
type: "object",
|
|
229253
|
+
additionalProperties: {
|
|
229254
|
+
type: "object",
|
|
229255
|
+
properties: {
|
|
229256
|
+
title: {
|
|
229257
|
+
type: "string",
|
|
229258
|
+
description: "Title of the tag"
|
|
229259
|
+
},
|
|
229260
|
+
description: {
|
|
229261
|
+
type: "string",
|
|
229262
|
+
description: "Description of the tag"
|
|
229263
|
+
}
|
|
229264
|
+
},
|
|
229265
|
+
description: "Definition of a tag that can be provided on the object",
|
|
229266
|
+
nullable: true,
|
|
229267
|
+
additionalProperties: false
|
|
229268
|
+
}
|
|
229269
|
+
}
|
|
229270
|
+
},
|
|
229271
|
+
additionalProperties: false
|
|
229081
229272
|
}
|
|
229082
229273
|
},
|
|
229083
|
-
required: ["schema"],
|
|
229084
|
-
description: "Event schema",
|
|
229085
229274
|
additionalProperties: false
|
|
229086
|
-
}
|
|
229087
|
-
description: "Events definition"
|
|
229275
|
+
}
|
|
229088
229276
|
},
|
|
229089
229277
|
actions: {
|
|
229090
229278
|
type: "object",
|
|
@@ -229115,9 +229303,48 @@ var state = {
|
|
|
229115
229303
|
}
|
|
229116
229304
|
},
|
|
229117
229305
|
required: ["input", "output"],
|
|
229306
|
+
description: "Action definition",
|
|
229307
|
+
nullable: true,
|
|
229118
229308
|
additionalProperties: false
|
|
229119
|
-
}
|
|
229120
|
-
|
|
229309
|
+
}
|
|
229310
|
+
},
|
|
229311
|
+
events: {
|
|
229312
|
+
type: "object",
|
|
229313
|
+
additionalProperties: {
|
|
229314
|
+
type: "object",
|
|
229315
|
+
properties: {
|
|
229316
|
+
schema: {
|
|
229317
|
+
type: "object",
|
|
229318
|
+
additionalProperties: true
|
|
229319
|
+
}
|
|
229320
|
+
},
|
|
229321
|
+
required: ["schema"],
|
|
229322
|
+
description: "Event Definition",
|
|
229323
|
+
nullable: true,
|
|
229324
|
+
additionalProperties: false
|
|
229325
|
+
}
|
|
229326
|
+
},
|
|
229327
|
+
states: {
|
|
229328
|
+
type: "object",
|
|
229329
|
+
additionalProperties: {
|
|
229330
|
+
type: "object",
|
|
229331
|
+
properties: {
|
|
229332
|
+
type: {
|
|
229333
|
+
type: "string",
|
|
229334
|
+
enum: ["conversation", "user", "integration"],
|
|
229335
|
+
description: "Type of the [State](#schema_state) (`conversation`, `user` or `integration`)"
|
|
229336
|
+
},
|
|
229337
|
+
schema: {
|
|
229338
|
+
type: "object",
|
|
229339
|
+
additionalProperties: true,
|
|
229340
|
+
description: "Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data."
|
|
229341
|
+
}
|
|
229342
|
+
},
|
|
229343
|
+
required: ["type", "schema"],
|
|
229344
|
+
description: "State definition",
|
|
229345
|
+
nullable: true,
|
|
229346
|
+
additionalProperties: false
|
|
229347
|
+
}
|
|
229121
229348
|
},
|
|
229122
229349
|
user: {
|
|
229123
229350
|
type: "object",
|
|
@@ -229140,23 +229367,33 @@ var state = {
|
|
|
229140
229367
|
required: ["enabled", "requiredTags"],
|
|
229141
229368
|
description: "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.",
|
|
229142
229369
|
additionalProperties: false
|
|
229370
|
+
},
|
|
229371
|
+
tags: {
|
|
229372
|
+
type: "object",
|
|
229373
|
+
additionalProperties: {
|
|
229374
|
+
type: "object",
|
|
229375
|
+
properties: {
|
|
229376
|
+
title: {
|
|
229377
|
+
type: "string",
|
|
229378
|
+
description: "Title of the tag"
|
|
229379
|
+
},
|
|
229380
|
+
description: {
|
|
229381
|
+
type: "string",
|
|
229382
|
+
description: "Description of the tag"
|
|
229383
|
+
}
|
|
229384
|
+
},
|
|
229385
|
+
description: "Definition of a tag that can be provided on the object",
|
|
229386
|
+
nullable: true,
|
|
229387
|
+
additionalProperties: false
|
|
229388
|
+
}
|
|
229143
229389
|
}
|
|
229144
229390
|
},
|
|
229145
|
-
required: ["creation"],
|
|
229146
229391
|
additionalProperties: false
|
|
229147
229392
|
},
|
|
229148
229393
|
code: {
|
|
229149
229394
|
type: "string",
|
|
229150
229395
|
description: "JavaScript code of the integration"
|
|
229151
229396
|
},
|
|
229152
|
-
public: {
|
|
229153
|
-
type: "boolean",
|
|
229154
|
-
description: "Whether the integration is public"
|
|
229155
|
-
},
|
|
229156
|
-
url: {
|
|
229157
|
-
type: "string",
|
|
229158
|
-
description: "URL of the integration; Only available for dev integrations"
|
|
229159
|
-
},
|
|
229160
229397
|
icon: {
|
|
229161
229398
|
type: "string",
|
|
229162
229399
|
description: "Base64 encoded svg of the integration icon. This icon is global to the integration each versions will be updated when this changes."
|
|
@@ -229175,6 +229412,10 @@ var state = {
|
|
|
229175
229412
|
type: "string",
|
|
229176
229413
|
maxLength: 256,
|
|
229177
229414
|
description: "Description of the integration. This is the description that will be displayed in the UI"
|
|
229415
|
+
},
|
|
229416
|
+
url: {
|
|
229417
|
+
type: "string",
|
|
229418
|
+
description: "URL of the integration; Only available for dev integrations"
|
|
229178
229419
|
}
|
|
229179
229420
|
},
|
|
229180
229421
|
title: "updateIntegrationBody",
|
|
@@ -229350,74 +229591,290 @@ var state = {
|
|
|
229350
229591
|
timestamp: {
|
|
229351
229592
|
type: "string"
|
|
229352
229593
|
},
|
|
229353
|
-
level: {
|
|
229354
|
-
type: "string"
|
|
229594
|
+
level: {
|
|
229595
|
+
type: "string"
|
|
229596
|
+
},
|
|
229597
|
+
message: {
|
|
229598
|
+
type: "string"
|
|
229599
|
+
}
|
|
229600
|
+
},
|
|
229601
|
+
required: ["timestamp", "level", "message"]
|
|
229602
|
+
}
|
|
229603
|
+
}
|
|
229604
|
+
},
|
|
229605
|
+
required: ["logs"],
|
|
229606
|
+
title: "getIntegrationLogsResponse",
|
|
229607
|
+
additionalProperties: false
|
|
229608
|
+
}
|
|
229609
|
+
}
|
|
229610
|
+
},
|
|
229611
|
+
getIntegrationByName: {
|
|
229612
|
+
name: "getIntegrationByName",
|
|
229613
|
+
description: "Get integration",
|
|
229614
|
+
method: "get",
|
|
229615
|
+
section: "integration",
|
|
229616
|
+
path: "/v1/admin/integrations/{name}/{version}",
|
|
229617
|
+
parameters: {
|
|
229618
|
+
name: {
|
|
229619
|
+
type: "string",
|
|
229620
|
+
description: "Integration Name",
|
|
229621
|
+
in: "path"
|
|
229622
|
+
},
|
|
229623
|
+
version: {
|
|
229624
|
+
type: "string",
|
|
229625
|
+
description: 'Integration version. Either a semver version or tag "latest"',
|
|
229626
|
+
in: "path"
|
|
229627
|
+
}
|
|
229628
|
+
},
|
|
229629
|
+
response: {
|
|
229630
|
+
description: "Success",
|
|
229631
|
+
schema: {
|
|
229632
|
+
type: "object",
|
|
229633
|
+
properties: {
|
|
229634
|
+
integration: {
|
|
229635
|
+
$ref: "#/components/schemas/Integration"
|
|
229636
|
+
}
|
|
229637
|
+
},
|
|
229638
|
+
required: ["integration"],
|
|
229639
|
+
title: "getIntegrationByNameResponse",
|
|
229640
|
+
additionalProperties: false
|
|
229641
|
+
}
|
|
229642
|
+
}
|
|
229643
|
+
},
|
|
229644
|
+
deleteIntegration: {
|
|
229645
|
+
name: "deleteIntegration",
|
|
229646
|
+
description: "Delete integration",
|
|
229647
|
+
method: "delete",
|
|
229648
|
+
section: "integration",
|
|
229649
|
+
path: "/v1/admin/integrations/{id}",
|
|
229650
|
+
parameters: {
|
|
229651
|
+
id: {
|
|
229652
|
+
type: "string",
|
|
229653
|
+
description: "Integration Id",
|
|
229654
|
+
in: "path"
|
|
229655
|
+
}
|
|
229656
|
+
},
|
|
229657
|
+
response: {
|
|
229658
|
+
description: "Success",
|
|
229659
|
+
schema: {
|
|
229660
|
+
type: "object",
|
|
229661
|
+
title: "deleteIntegrationResponse",
|
|
229662
|
+
additionalProperties: false
|
|
229663
|
+
}
|
|
229664
|
+
}
|
|
229665
|
+
},
|
|
229666
|
+
listWorkspaceMembers: {
|
|
229667
|
+
name: "listWorkspaceMembers",
|
|
229668
|
+
description: "Lists all the members in a workspace",
|
|
229669
|
+
method: "get",
|
|
229670
|
+
path: "/v1/admin/workspace-members",
|
|
229671
|
+
parameters: {
|
|
229672
|
+
nextToken: {
|
|
229673
|
+
in: "query",
|
|
229674
|
+
description: "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
229675
|
+
type: "string"
|
|
229676
|
+
}
|
|
229677
|
+
},
|
|
229678
|
+
response: {
|
|
229679
|
+
description: "Success",
|
|
229680
|
+
schema: {
|
|
229681
|
+
type: "object",
|
|
229682
|
+
properties: {
|
|
229683
|
+
members: {
|
|
229684
|
+
type: "array",
|
|
229685
|
+
items: {
|
|
229686
|
+
type: "object",
|
|
229687
|
+
properties: {
|
|
229688
|
+
id: {
|
|
229689
|
+
type: "string"
|
|
229690
|
+
},
|
|
229691
|
+
userId: {
|
|
229692
|
+
type: "string",
|
|
229693
|
+
format: "uuid"
|
|
229355
229694
|
},
|
|
229356
|
-
|
|
229695
|
+
email: {
|
|
229357
229696
|
type: "string"
|
|
229697
|
+
},
|
|
229698
|
+
role: {
|
|
229699
|
+
type: "string",
|
|
229700
|
+
enum: [
|
|
229701
|
+
"viewer",
|
|
229702
|
+
"billing",
|
|
229703
|
+
"developer",
|
|
229704
|
+
"manager",
|
|
229705
|
+
"administrator",
|
|
229706
|
+
"owner"
|
|
229707
|
+
]
|
|
229358
229708
|
}
|
|
229359
229709
|
},
|
|
229360
|
-
required: ["
|
|
229710
|
+
required: ["id", "email", "role"]
|
|
229361
229711
|
}
|
|
229712
|
+
},
|
|
229713
|
+
meta: {
|
|
229714
|
+
type: "object",
|
|
229715
|
+
properties: {
|
|
229716
|
+
nextToken: {
|
|
229717
|
+
type: "string",
|
|
229718
|
+
description: "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."
|
|
229719
|
+
}
|
|
229720
|
+
},
|
|
229721
|
+
additionalProperties: false
|
|
229362
229722
|
}
|
|
229363
229723
|
},
|
|
229364
|
-
required: ["
|
|
229365
|
-
title: "
|
|
229724
|
+
required: ["members", "meta"],
|
|
229725
|
+
title: "listWorkspaceMembersResponse",
|
|
229366
229726
|
additionalProperties: false
|
|
229367
229727
|
}
|
|
229368
229728
|
}
|
|
229369
229729
|
},
|
|
229370
|
-
|
|
229371
|
-
name: "
|
|
229372
|
-
description: "
|
|
229373
|
-
method: "
|
|
229374
|
-
|
|
229375
|
-
path: "/v1/admin/integrations/{name}/{version}",
|
|
229730
|
+
deleteWorkspaceMember: {
|
|
229731
|
+
name: "deleteWorkspaceMember",
|
|
229732
|
+
description: "Remove a member of a workspace",
|
|
229733
|
+
method: "delete",
|
|
229734
|
+
path: "/v1/admin/workspace-members/{id}",
|
|
229376
229735
|
parameters: {
|
|
229377
|
-
|
|
229378
|
-
type: "string",
|
|
229379
|
-
description: "Integration Name",
|
|
229380
|
-
in: "path"
|
|
229381
|
-
},
|
|
229382
|
-
version: {
|
|
229736
|
+
id: {
|
|
229383
229737
|
type: "string",
|
|
229384
|
-
description:
|
|
229738
|
+
description: "Workspace member ID",
|
|
229385
229739
|
in: "path"
|
|
229386
229740
|
}
|
|
229387
229741
|
},
|
|
229388
229742
|
response: {
|
|
229389
229743
|
description: "Success",
|
|
229744
|
+
schema: {
|
|
229745
|
+
type: "object",
|
|
229746
|
+
title: "deleteWorkspaceMemberResponse",
|
|
229747
|
+
additionalProperties: false
|
|
229748
|
+
}
|
|
229749
|
+
}
|
|
229750
|
+
},
|
|
229751
|
+
createWorkspaceMember: {
|
|
229752
|
+
name: "createWorkspaceMember",
|
|
229753
|
+
description: "Add a member to the workspace",
|
|
229754
|
+
method: "post",
|
|
229755
|
+
path: "/v1/admin/workspace-members",
|
|
229756
|
+
requestBody: {
|
|
229757
|
+
description: "Workspace member metadata",
|
|
229390
229758
|
schema: {
|
|
229391
229759
|
type: "object",
|
|
229392
229760
|
properties: {
|
|
229393
|
-
|
|
229394
|
-
|
|
229761
|
+
email: {
|
|
229762
|
+
type: "string",
|
|
229763
|
+
format: "email"
|
|
229764
|
+
},
|
|
229765
|
+
role: {
|
|
229766
|
+
type: "string",
|
|
229767
|
+
enum: [
|
|
229768
|
+
"viewer",
|
|
229769
|
+
"billing",
|
|
229770
|
+
"developer",
|
|
229771
|
+
"manager",
|
|
229772
|
+
"administrator",
|
|
229773
|
+
"owner"
|
|
229774
|
+
]
|
|
229395
229775
|
}
|
|
229396
229776
|
},
|
|
229397
|
-
required: ["
|
|
229398
|
-
title: "
|
|
229777
|
+
required: ["email", "role"],
|
|
229778
|
+
title: "createWorkspaceMemberBody",
|
|
229399
229779
|
additionalProperties: false
|
|
229400
229780
|
}
|
|
229401
|
-
}
|
|
229781
|
+
},
|
|
229782
|
+
response: {
|
|
229783
|
+
description: "Success",
|
|
229784
|
+
schema: {
|
|
229785
|
+
type: "object",
|
|
229786
|
+
properties: {
|
|
229787
|
+
id: {
|
|
229788
|
+
type: "string"
|
|
229789
|
+
},
|
|
229790
|
+
userId: {
|
|
229791
|
+
type: "string",
|
|
229792
|
+
format: "uuid"
|
|
229793
|
+
},
|
|
229794
|
+
email: {
|
|
229795
|
+
type: "string"
|
|
229796
|
+
},
|
|
229797
|
+
role: {
|
|
229798
|
+
type: "string",
|
|
229799
|
+
enum: [
|
|
229800
|
+
"viewer",
|
|
229801
|
+
"billing",
|
|
229802
|
+
"developer",
|
|
229803
|
+
"manager",
|
|
229804
|
+
"administrator",
|
|
229805
|
+
"owner"
|
|
229806
|
+
]
|
|
229807
|
+
}
|
|
229808
|
+
},
|
|
229809
|
+
required: ["id", "email", "role"],
|
|
229810
|
+
title: "createWorkspaceMemberResponse",
|
|
229811
|
+
additionalProperties: false
|
|
229812
|
+
}
|
|
229813
|
+
},
|
|
229814
|
+
parameters: {}
|
|
229402
229815
|
},
|
|
229403
|
-
|
|
229404
|
-
name: "
|
|
229405
|
-
description: "
|
|
229406
|
-
method: "
|
|
229407
|
-
|
|
229408
|
-
path: "/v1/admin/integrations/{id}",
|
|
229816
|
+
updateWorkspaceMember: {
|
|
229817
|
+
name: "updateWorkspaceMember",
|
|
229818
|
+
description: "Update the member of a workspace",
|
|
229819
|
+
method: "put",
|
|
229820
|
+
path: "/v1/admin/workspace-members/{id}",
|
|
229409
229821
|
parameters: {
|
|
229410
229822
|
id: {
|
|
229411
229823
|
type: "string",
|
|
229412
|
-
description: "
|
|
229824
|
+
description: "Workspace member ID",
|
|
229413
229825
|
in: "path"
|
|
229414
229826
|
}
|
|
229415
229827
|
},
|
|
229828
|
+
requestBody: {
|
|
229829
|
+
description: "Workspace member metadata",
|
|
229830
|
+
schema: {
|
|
229831
|
+
type: "object",
|
|
229832
|
+
properties: {
|
|
229833
|
+
role: {
|
|
229834
|
+
type: "string",
|
|
229835
|
+
enum: [
|
|
229836
|
+
"viewer",
|
|
229837
|
+
"billing",
|
|
229838
|
+
"developer",
|
|
229839
|
+
"manager",
|
|
229840
|
+
"administrator",
|
|
229841
|
+
"owner"
|
|
229842
|
+
]
|
|
229843
|
+
}
|
|
229844
|
+
},
|
|
229845
|
+
title: "updateWorkspaceMemberBody",
|
|
229846
|
+
additionalProperties: false
|
|
229847
|
+
}
|
|
229848
|
+
},
|
|
229416
229849
|
response: {
|
|
229417
229850
|
description: "Success",
|
|
229418
229851
|
schema: {
|
|
229419
229852
|
type: "object",
|
|
229420
|
-
|
|
229853
|
+
properties: {
|
|
229854
|
+
id: {
|
|
229855
|
+
type: "string"
|
|
229856
|
+
},
|
|
229857
|
+
userId: {
|
|
229858
|
+
type: "string",
|
|
229859
|
+
format: "uuid"
|
|
229860
|
+
},
|
|
229861
|
+
email: {
|
|
229862
|
+
type: "string"
|
|
229863
|
+
},
|
|
229864
|
+
role: {
|
|
229865
|
+
type: "string",
|
|
229866
|
+
enum: [
|
|
229867
|
+
"viewer",
|
|
229868
|
+
"billing",
|
|
229869
|
+
"developer",
|
|
229870
|
+
"manager",
|
|
229871
|
+
"administrator",
|
|
229872
|
+
"owner"
|
|
229873
|
+
]
|
|
229874
|
+
}
|
|
229875
|
+
},
|
|
229876
|
+
required: ["id", "email", "role"],
|
|
229877
|
+
title: "updateWorkspaceMemberResponse",
|
|
229421
229878
|
additionalProperties: false
|
|
229422
229879
|
}
|
|
229423
229880
|
}
|
|
@@ -229640,7 +230097,7 @@ var state = {
|
|
|
229640
230097
|
title: "Botpress API",
|
|
229641
230098
|
description: "API for Botpress Cloud",
|
|
229642
230099
|
server: "https://api.botpress.cloud",
|
|
229643
|
-
version: "0.
|
|
230100
|
+
version: "0.3.1",
|
|
229644
230101
|
prefix: "v1"
|
|
229645
230102
|
},
|
|
229646
230103
|
errors: [
|
|
@@ -229745,8 +230202,11 @@ var state = {
|
|
|
229745
230202
|
createBotBody: true,
|
|
229746
230203
|
updateBotBody: true,
|
|
229747
230204
|
transferBotBody: true,
|
|
230205
|
+
updateWorkspaceBody: true,
|
|
229748
230206
|
createIntegrationBody: true,
|
|
229749
230207
|
updateIntegrationBody: true,
|
|
230208
|
+
createWorkspaceMemberBody: true,
|
|
230209
|
+
updateWorkspaceMemberBody: true,
|
|
229750
230210
|
introspectBody: true,
|
|
229751
230211
|
createFileBody: true
|
|
229752
230212
|
},
|
|
@@ -229790,6 +230250,7 @@ var state = {
|
|
|
229790
230250
|
getBotWebchatResponse: true,
|
|
229791
230251
|
getBotAnalyticsResponse: true,
|
|
229792
230252
|
getWorkspaceResponse: true,
|
|
230253
|
+
updateWorkspaceResponse: true,
|
|
229793
230254
|
listWorkspacesResponse: true,
|
|
229794
230255
|
createIntegrationResponse: true,
|
|
229795
230256
|
updateIntegrationResponse: true,
|
|
@@ -229798,6 +230259,10 @@ var state = {
|
|
|
229798
230259
|
getIntegrationLogsResponse: true,
|
|
229799
230260
|
getIntegrationByNameResponse: true,
|
|
229800
230261
|
deleteIntegrationResponse: true,
|
|
230262
|
+
listWorkspaceMembersResponse: true,
|
|
230263
|
+
deleteWorkspaceMemberResponse: true,
|
|
230264
|
+
createWorkspaceMemberResponse: true,
|
|
230265
|
+
updateWorkspaceMemberResponse: true,
|
|
229801
230266
|
introspectResponse: true,
|
|
229802
230267
|
createFileResponse: true,
|
|
229803
230268
|
getFileResponse: true,
|
|
@@ -229887,6 +230352,84 @@ var state = {
|
|
|
229887
230352
|
},
|
|
229888
230353
|
description: "A mapping of integrations to their configuration"
|
|
229889
230354
|
},
|
|
230355
|
+
user: {
|
|
230356
|
+
type: "object",
|
|
230357
|
+
properties: {
|
|
230358
|
+
tags: {
|
|
230359
|
+
type: "object",
|
|
230360
|
+
additionalProperties: {
|
|
230361
|
+
type: "object",
|
|
230362
|
+
properties: {
|
|
230363
|
+
title: {
|
|
230364
|
+
type: "string",
|
|
230365
|
+
description: "Title of the tag"
|
|
230366
|
+
},
|
|
230367
|
+
description: {
|
|
230368
|
+
type: "string",
|
|
230369
|
+
description: "Description of the tag"
|
|
230370
|
+
}
|
|
230371
|
+
},
|
|
230372
|
+
description: "Definition of a tag that can be provided on the object",
|
|
230373
|
+
additionalProperties: false
|
|
230374
|
+
}
|
|
230375
|
+
}
|
|
230376
|
+
},
|
|
230377
|
+
required: ["tags"],
|
|
230378
|
+
description: "User object configuration",
|
|
230379
|
+
additionalProperties: false
|
|
230380
|
+
},
|
|
230381
|
+
conversation: {
|
|
230382
|
+
type: "object",
|
|
230383
|
+
properties: {
|
|
230384
|
+
tags: {
|
|
230385
|
+
type: "object",
|
|
230386
|
+
additionalProperties: {
|
|
230387
|
+
type: "object",
|
|
230388
|
+
properties: {
|
|
230389
|
+
title: {
|
|
230390
|
+
type: "string",
|
|
230391
|
+
description: "Title of the tag"
|
|
230392
|
+
},
|
|
230393
|
+
description: {
|
|
230394
|
+
type: "string",
|
|
230395
|
+
description: "Description of the tag"
|
|
230396
|
+
}
|
|
230397
|
+
},
|
|
230398
|
+
description: "Definition of a tag that can be provided on the object",
|
|
230399
|
+
additionalProperties: false
|
|
230400
|
+
}
|
|
230401
|
+
}
|
|
230402
|
+
},
|
|
230403
|
+
required: ["tags"],
|
|
230404
|
+
description: "Conversation object configuration",
|
|
230405
|
+
additionalProperties: false
|
|
230406
|
+
},
|
|
230407
|
+
message: {
|
|
230408
|
+
type: "object",
|
|
230409
|
+
properties: {
|
|
230410
|
+
tags: {
|
|
230411
|
+
type: "object",
|
|
230412
|
+
additionalProperties: {
|
|
230413
|
+
type: "object",
|
|
230414
|
+
properties: {
|
|
230415
|
+
title: {
|
|
230416
|
+
type: "string",
|
|
230417
|
+
description: "Title of the tag"
|
|
230418
|
+
},
|
|
230419
|
+
description: {
|
|
230420
|
+
type: "string",
|
|
230421
|
+
description: "Description of the tag"
|
|
230422
|
+
}
|
|
230423
|
+
},
|
|
230424
|
+
description: "Definition of a tag that can be provided on the object",
|
|
230425
|
+
additionalProperties: false
|
|
230426
|
+
}
|
|
230427
|
+
}
|
|
230428
|
+
},
|
|
230429
|
+
required: ["tags"],
|
|
230430
|
+
description: "Message object configuration",
|
|
230431
|
+
additionalProperties: false
|
|
230432
|
+
},
|
|
229890
230433
|
states: {
|
|
229891
230434
|
type: "object",
|
|
229892
230435
|
additionalProperties: {
|
|
@@ -229913,34 +230456,6 @@ var state = {
|
|
|
229913
230456
|
},
|
|
229914
230457
|
description: "A mapping of states to their definition"
|
|
229915
230458
|
},
|
|
229916
|
-
tags: {
|
|
229917
|
-
type: "object",
|
|
229918
|
-
properties: {
|
|
229919
|
-
messages: {
|
|
229920
|
-
default: [],
|
|
229921
|
-
type: "array",
|
|
229922
|
-
items: {
|
|
229923
|
-
type: "string"
|
|
229924
|
-
}
|
|
229925
|
-
},
|
|
229926
|
-
conversations: {
|
|
229927
|
-
default: [],
|
|
229928
|
-
type: "array",
|
|
229929
|
-
items: {
|
|
229930
|
-
type: "string"
|
|
229931
|
-
}
|
|
229932
|
-
},
|
|
229933
|
-
users: {
|
|
229934
|
-
default: [],
|
|
229935
|
-
type: "array",
|
|
229936
|
-
items: {
|
|
229937
|
-
type: "string"
|
|
229938
|
-
}
|
|
229939
|
-
}
|
|
229940
|
-
},
|
|
229941
|
-
description: "Tags of the bot",
|
|
229942
|
-
additionalProperties: false
|
|
229943
|
-
},
|
|
229944
230459
|
configuration: {
|
|
229945
230460
|
type: "object",
|
|
229946
230461
|
properties: {
|
|
@@ -229970,7 +230485,7 @@ var state = {
|
|
|
229970
230485
|
}
|
|
229971
230486
|
},
|
|
229972
230487
|
required: ["schema"],
|
|
229973
|
-
description: "Event
|
|
230488
|
+
description: "Event Definition",
|
|
229974
230489
|
additionalProperties: false
|
|
229975
230490
|
},
|
|
229976
230491
|
description: "Events definition"
|
|
@@ -230045,8 +230560,10 @@ var state = {
|
|
|
230045
230560
|
"updatedAt",
|
|
230046
230561
|
"signingSecret",
|
|
230047
230562
|
"integrations",
|
|
230563
|
+
"user",
|
|
230564
|
+
"conversation",
|
|
230565
|
+
"message",
|
|
230048
230566
|
"states",
|
|
230049
|
-
"tags",
|
|
230050
230567
|
"configuration",
|
|
230051
230568
|
"events",
|
|
230052
230569
|
"recurringEvents",
|
|
@@ -230084,31 +230601,24 @@ var state = {
|
|
|
230084
230601
|
type: "string",
|
|
230085
230602
|
description: "Version of the [Integration](#schema_integration)"
|
|
230086
230603
|
},
|
|
230604
|
+
configuration: {
|
|
230605
|
+
type: "object",
|
|
230606
|
+
properties: {
|
|
230607
|
+
schema: {
|
|
230608
|
+
type: "object",
|
|
230609
|
+
additionalProperties: true,
|
|
230610
|
+
description: "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
230611
|
+
}
|
|
230612
|
+
},
|
|
230613
|
+
required: ["schema"],
|
|
230614
|
+
description: "Configuration definition",
|
|
230615
|
+
additionalProperties: false
|
|
230616
|
+
},
|
|
230087
230617
|
channels: {
|
|
230088
230618
|
type: "object",
|
|
230089
230619
|
additionalProperties: {
|
|
230090
230620
|
type: "object",
|
|
230091
230621
|
properties: {
|
|
230092
|
-
tags: {
|
|
230093
|
-
type: "object",
|
|
230094
|
-
properties: {
|
|
230095
|
-
messages: {
|
|
230096
|
-
default: [],
|
|
230097
|
-
type: "array",
|
|
230098
|
-
items: {
|
|
230099
|
-
type: "string"
|
|
230100
|
-
}
|
|
230101
|
-
},
|
|
230102
|
-
conversations: {
|
|
230103
|
-
default: [],
|
|
230104
|
-
type: "array",
|
|
230105
|
-
items: {
|
|
230106
|
-
type: "string"
|
|
230107
|
-
}
|
|
230108
|
-
}
|
|
230109
|
-
},
|
|
230110
|
-
additionalProperties: false
|
|
230111
|
-
},
|
|
230112
230622
|
messages: {
|
|
230113
230623
|
type: "object",
|
|
230114
230624
|
additionalProperties: {
|
|
@@ -230120,12 +230630,31 @@ var state = {
|
|
|
230120
230630
|
}
|
|
230121
230631
|
},
|
|
230122
230632
|
required: ["schema"],
|
|
230633
|
+
description: "Message definition",
|
|
230123
230634
|
additionalProperties: false
|
|
230124
230635
|
}
|
|
230125
230636
|
},
|
|
230126
230637
|
conversation: {
|
|
230127
230638
|
type: "object",
|
|
230128
230639
|
properties: {
|
|
230640
|
+
tags: {
|
|
230641
|
+
type: "object",
|
|
230642
|
+
additionalProperties: {
|
|
230643
|
+
type: "object",
|
|
230644
|
+
properties: {
|
|
230645
|
+
title: {
|
|
230646
|
+
type: "string",
|
|
230647
|
+
description: "Title of the tag"
|
|
230648
|
+
},
|
|
230649
|
+
description: {
|
|
230650
|
+
type: "string",
|
|
230651
|
+
description: "Description of the tag"
|
|
230652
|
+
}
|
|
230653
|
+
},
|
|
230654
|
+
description: "Definition of a tag that can be provided on the object",
|
|
230655
|
+
additionalProperties: false
|
|
230656
|
+
}
|
|
230657
|
+
},
|
|
230129
230658
|
creation: {
|
|
230130
230659
|
type: "object",
|
|
230131
230660
|
properties: {
|
|
@@ -230146,17 +230675,43 @@ var state = {
|
|
|
230146
230675
|
additionalProperties: false
|
|
230147
230676
|
}
|
|
230148
230677
|
},
|
|
230149
|
-
required: ["creation"],
|
|
230678
|
+
required: ["tags", "creation"],
|
|
230679
|
+
description: "Conversation object configuration",
|
|
230680
|
+
additionalProperties: false
|
|
230681
|
+
},
|
|
230682
|
+
message: {
|
|
230683
|
+
type: "object",
|
|
230684
|
+
properties: {
|
|
230685
|
+
tags: {
|
|
230686
|
+
type: "object",
|
|
230687
|
+
additionalProperties: {
|
|
230688
|
+
type: "object",
|
|
230689
|
+
properties: {
|
|
230690
|
+
title: {
|
|
230691
|
+
type: "string",
|
|
230692
|
+
description: "Title of the tag"
|
|
230693
|
+
},
|
|
230694
|
+
description: {
|
|
230695
|
+
type: "string",
|
|
230696
|
+
description: "Description of the tag"
|
|
230697
|
+
}
|
|
230698
|
+
},
|
|
230699
|
+
description: "Definition of a tag that can be provided on the object",
|
|
230700
|
+
additionalProperties: false
|
|
230701
|
+
}
|
|
230702
|
+
}
|
|
230703
|
+
},
|
|
230704
|
+
required: ["tags"],
|
|
230705
|
+
description: "Message object configuration",
|
|
230150
230706
|
additionalProperties: false
|
|
230151
230707
|
}
|
|
230152
230708
|
},
|
|
230153
|
-
required: ["
|
|
230709
|
+
required: ["messages", "conversation", "message"],
|
|
230710
|
+
description: "Channel definition",
|
|
230154
230711
|
additionalProperties: false
|
|
230155
|
-
}
|
|
230156
|
-
description: "Channels definition"
|
|
230712
|
+
}
|
|
230157
230713
|
},
|
|
230158
230714
|
states: {
|
|
230159
|
-
default: {},
|
|
230160
230715
|
type: "object",
|
|
230161
230716
|
additionalProperties: {
|
|
230162
230717
|
type: "object",
|
|
@@ -230173,22 +230728,9 @@ var state = {
|
|
|
230173
230728
|
}
|
|
230174
230729
|
},
|
|
230175
230730
|
required: ["type", "schema"],
|
|
230731
|
+
description: "State definition",
|
|
230176
230732
|
additionalProperties: false
|
|
230177
|
-
}
|
|
230178
|
-
description: "States definition"
|
|
230179
|
-
},
|
|
230180
|
-
configuration: {
|
|
230181
|
-
type: "object",
|
|
230182
|
-
properties: {
|
|
230183
|
-
schema: {
|
|
230184
|
-
type: "object",
|
|
230185
|
-
additionalProperties: true,
|
|
230186
|
-
description: "Schema for the configuration"
|
|
230187
|
-
}
|
|
230188
|
-
},
|
|
230189
|
-
required: ["schema"],
|
|
230190
|
-
description: "Configuration definition",
|
|
230191
|
-
additionalProperties: false
|
|
230733
|
+
}
|
|
230192
230734
|
},
|
|
230193
230735
|
events: {
|
|
230194
230736
|
type: "object",
|
|
@@ -230201,10 +230743,9 @@ var state = {
|
|
|
230201
230743
|
}
|
|
230202
230744
|
},
|
|
230203
230745
|
required: ["schema"],
|
|
230204
|
-
description: "Event
|
|
230746
|
+
description: "Event Definition",
|
|
230205
230747
|
additionalProperties: false
|
|
230206
|
-
}
|
|
230207
|
-
description: "Events definition"
|
|
230748
|
+
}
|
|
230208
230749
|
},
|
|
230209
230750
|
actions: {
|
|
230210
230751
|
type: "object",
|
|
@@ -230235,13 +230776,31 @@ var state = {
|
|
|
230235
230776
|
}
|
|
230236
230777
|
},
|
|
230237
230778
|
required: ["input", "output"],
|
|
230779
|
+
description: "Action definition",
|
|
230238
230780
|
additionalProperties: false
|
|
230239
|
-
}
|
|
230240
|
-
description: "Action definition"
|
|
230781
|
+
}
|
|
230241
230782
|
},
|
|
230242
230783
|
user: {
|
|
230243
230784
|
type: "object",
|
|
230244
230785
|
properties: {
|
|
230786
|
+
tags: {
|
|
230787
|
+
type: "object",
|
|
230788
|
+
additionalProperties: {
|
|
230789
|
+
type: "object",
|
|
230790
|
+
properties: {
|
|
230791
|
+
title: {
|
|
230792
|
+
type: "string",
|
|
230793
|
+
description: "Title of the tag"
|
|
230794
|
+
},
|
|
230795
|
+
description: {
|
|
230796
|
+
type: "string",
|
|
230797
|
+
description: "Description of the tag"
|
|
230798
|
+
}
|
|
230799
|
+
},
|
|
230800
|
+
description: "Definition of a tag that can be provided on the object",
|
|
230801
|
+
additionalProperties: false
|
|
230802
|
+
}
|
|
230803
|
+
},
|
|
230245
230804
|
creation: {
|
|
230246
230805
|
type: "object",
|
|
230247
230806
|
properties: {
|
|
@@ -230262,7 +230821,8 @@ var state = {
|
|
|
230262
230821
|
additionalProperties: false
|
|
230263
230822
|
}
|
|
230264
230823
|
},
|
|
230265
|
-
required: ["creation"],
|
|
230824
|
+
required: ["tags", "creation"],
|
|
230825
|
+
description: "User object configuration",
|
|
230266
230826
|
additionalProperties: false
|
|
230267
230827
|
},
|
|
230268
230828
|
dev: {
|
|
@@ -230295,8 +230855,9 @@ var state = {
|
|
|
230295
230855
|
"updatedAt",
|
|
230296
230856
|
"name",
|
|
230297
230857
|
"version",
|
|
230298
|
-
"channels",
|
|
230299
230858
|
"configuration",
|
|
230859
|
+
"channels",
|
|
230860
|
+
"states",
|
|
230300
230861
|
"events",
|
|
230301
230862
|
"actions",
|
|
230302
230863
|
"user",
|
|
@@ -230329,8 +230890,12 @@ var state = {
|
|
|
230329
230890
|
updatedAt: {
|
|
230330
230891
|
type: "string"
|
|
230331
230892
|
},
|
|
230893
|
+
botCount: {
|
|
230894
|
+
type: "number"
|
|
230895
|
+
},
|
|
230332
230896
|
accountType: {
|
|
230333
|
-
type: "string"
|
|
230897
|
+
type: "string",
|
|
230898
|
+
enum: ["free", "premium"]
|
|
230334
230899
|
},
|
|
230335
230900
|
blocked: {
|
|
230336
230901
|
type: "boolean"
|
|
@@ -230345,6 +230910,7 @@ var state = {
|
|
|
230345
230910
|
"ownerId",
|
|
230346
230911
|
"createdAt",
|
|
230347
230912
|
"updatedAt",
|
|
230913
|
+
"botCount",
|
|
230348
230914
|
"accountType",
|
|
230349
230915
|
"blocked",
|
|
230350
230916
|
"spendingLimit"
|