@botpress/client 0.23.2 → 0.24.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/.turbo/turbo-build.log +12 -6
- package/.turbo/turbo-generate.log +1 -1
- package/dist/bundle.cjs.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +10936 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
- package/dist/client.d.ts +0 -10
- package/dist/config.d.ts +0 -2
- package/dist/errors.d.ts +0 -41
- package/dist/gen/errors.d.ts +0 -211
- package/dist/gen/index.d.ts +0 -401
- package/dist/gen/models.d.ts +0 -1269
- package/dist/gen/operations/addParticipant.d.ts +0 -56
- package/dist/gen/operations/breakDownWorkspaceUsageByBot.d.ts +0 -27
- package/dist/gen/operations/callAction.d.ts +0 -36
- package/dist/gen/operations/changeAISpendQuota.d.ts +0 -21
- package/dist/gen/operations/chargeWorkspaceUnpaidInvoices.d.ts +0 -40
- package/dist/gen/operations/checkHandleAvailability.d.ts +0 -24
- package/dist/gen/operations/configureIntegration.d.ts +0 -24
- package/dist/gen/operations/createBot.d.ts +0 -487
- package/dist/gen/operations/createBotVersion.d.ts +0 -28
- package/dist/gen/operations/createConversation.d.ts +0 -70
- package/dist/gen/operations/createEvent.d.ts +0 -95
- package/dist/gen/operations/createIntegration.d.ts +0 -573
- package/dist/gen/operations/createIntegrationApiKey.d.ts +0 -29
- package/dist/gen/operations/createInterface.d.ts +0 -172
- package/dist/gen/operations/createMessage.d.ts +0 -98
- package/dist/gen/operations/createPersonalAccessToken.d.ts +0 -33
- package/dist/gen/operations/createTable.d.ts +0 -151
- package/dist/gen/operations/createTableRows.d.ts +0 -71
- package/dist/gen/operations/createTask.d.ts +0 -125
- package/dist/gen/operations/createUser.d.ts +0 -70
- package/dist/gen/operations/createWorkspace.d.ts +0 -38
- package/dist/gen/operations/createWorkspaceMember.d.ts +0 -29
- package/dist/gen/operations/deleteBot.d.ts +0 -21
- package/dist/gen/operations/deleteBotIssue.d.ts +0 -22
- package/dist/gen/operations/deleteConversation.d.ts +0 -21
- package/dist/gen/operations/deleteFile.d.ts +0 -21
- package/dist/gen/operations/deleteIntegration.d.ts +0 -21
- package/dist/gen/operations/deleteIntegrationApiKey.d.ts +0 -21
- package/dist/gen/operations/deleteInterface.d.ts +0 -21
- package/dist/gen/operations/deleteMessage.d.ts +0 -21
- package/dist/gen/operations/deletePersonalAccessToken.d.ts +0 -21
- package/dist/gen/operations/deleteTable.d.ts +0 -21
- package/dist/gen/operations/deleteTableRows.d.ts +0 -36
- package/dist/gen/operations/deleteTask.d.ts +0 -21
- package/dist/gen/operations/deleteUser.d.ts +0 -21
- package/dist/gen/operations/deleteWorkspace.d.ts +0 -21
- package/dist/gen/operations/deleteWorkspaceMember.d.ts +0 -21
- package/dist/gen/operations/deployBotVersion.d.ts +0 -22
- package/dist/gen/operations/duplicateTable.d.ts +0 -137
- package/dist/gen/operations/findTableRows.d.ts +0 -94
- package/dist/gen/operations/getAccount.d.ts +0 -31
- package/dist/gen/operations/getAccountPreference.d.ts +0 -22
- package/dist/gen/operations/getAllWorkspaceQuotaCompletion.d.ts +0 -24
- package/dist/gen/operations/getAuditRecords.d.ts +0 -38
- package/dist/gen/operations/getBot.d.ts +0 -308
- package/dist/gen/operations/getBotAnalytics.d.ts +0 -49
- package/dist/gen/operations/getBotIssue.d.ts +0 -39
- package/dist/gen/operations/getBotLogs.d.ts +0 -30
- package/dist/gen/operations/getBotVersion.d.ts +0 -23
- package/dist/gen/operations/getBotWebchat.d.ts +0 -23
- package/dist/gen/operations/getConversation.d.ts +0 -56
- package/dist/gen/operations/getEvent.d.ts +0 -61
- package/dist/gen/operations/getFile.d.ts +0 -85
- package/dist/gen/operations/getIntegration.d.ts +0 -315
- package/dist/gen/operations/getIntegrationByName.d.ts +0 -316
- package/dist/gen/operations/getIntegrationLogs.d.ts +0 -30
- package/dist/gen/operations/getInterface.d.ts +0 -104
- package/dist/gen/operations/getInterfaceByName.d.ts +0 -105
- package/dist/gen/operations/getMessage.d.ts +0 -62
- package/dist/gen/operations/getMultipleUsages.d.ts +0 -45
- package/dist/gen/operations/getOrCreateConversation.d.ts +0 -70
- package/dist/gen/operations/getOrCreateMessage.d.ts +0 -98
- package/dist/gen/operations/getOrCreateTable.d.ts +0 -164
- package/dist/gen/operations/getOrCreateUser.d.ts +0 -70
- package/dist/gen/operations/getOrSetState.d.ts +0 -76
- package/dist/gen/operations/getParticipant.d.ts +0 -53
- package/dist/gen/operations/getPublicIntegration.d.ts +0 -321
- package/dist/gen/operations/getPublicIntegrationById.d.ts +0 -320
- package/dist/gen/operations/getPublicWorkspace.d.ts +0 -31
- package/dist/gen/operations/getState.d.ts +0 -66
- package/dist/gen/operations/getTable.d.ts +0 -136
- package/dist/gen/operations/getTableRow.d.ts +0 -53
- package/dist/gen/operations/getTask.d.ts +0 -86
- package/dist/gen/operations/getUpcomingInvoice.d.ts +0 -29
- package/dist/gen/operations/getUsage.d.ts +0 -45
- package/dist/gen/operations/getUser.d.ts +0 -52
- package/dist/gen/operations/getWorkspace.d.ts +0 -38
- package/dist/gen/operations/getWorkspaceMember.d.ts +0 -27
- package/dist/gen/operations/getWorkspaceQuota.d.ts +0 -37
- package/dist/gen/operations/introspect.d.ts +0 -24
- package/dist/gen/operations/listActivities.d.ts +0 -42
- package/dist/gen/operations/listBotIssueEvents.d.ts +0 -32
- package/dist/gen/operations/listBotIssues.d.ts +0 -45
- package/dist/gen/operations/listBotVersions.d.ts +0 -26
- package/dist/gen/operations/listBots.d.ts +0 -46
- package/dist/gen/operations/listConversations.d.ts +0 -64
- package/dist/gen/operations/listEvents.d.ts +0 -69
- package/dist/gen/operations/listFiles.d.ts +0 -94
- package/dist/gen/operations/listIntegrationApiKeys.d.ts +0 -26
- package/dist/gen/operations/listIntegrations.d.ts +0 -68
- package/dist/gen/operations/listInterfaces.d.ts +0 -49
- package/dist/gen/operations/listMessages.d.ts +0 -69
- package/dist/gen/operations/listParticipants.d.ts +0 -56
- package/dist/gen/operations/listPersonalAccessTokens.d.ts +0 -25
- package/dist/gen/operations/listPublicIntegrations.d.ts +0 -72
- package/dist/gen/operations/listPublicWorkspaces.d.ts +0 -42
- package/dist/gen/operations/listTables.d.ts +0 -126
- package/dist/gen/operations/listTasks.d.ts +0 -97
- package/dist/gen/operations/listUsageHistory.d.ts +0 -44
- package/dist/gen/operations/listUsers.d.ts +0 -59
- package/dist/gen/operations/listWorkspaceInvoices.d.ts +0 -57
- package/dist/gen/operations/listWorkspaceMembers.d.ts +0 -36
- package/dist/gen/operations/listWorkspaceQuotas.d.ts +0 -36
- package/dist/gen/operations/listWorkspaceUsages.d.ts +0 -45
- package/dist/gen/operations/listWorkspaces.d.ts +0 -47
- package/dist/gen/operations/patchState.d.ts +0 -72
- package/dist/gen/operations/removeParticipant.d.ts +0 -22
- package/dist/gen/operations/renameTableColumn.d.ts +0 -132
- package/dist/gen/operations/runVrl.d.ts +0 -28
- package/dist/gen/operations/searchFiles.d.ts +0 -56
- package/dist/gen/operations/setAccountPreference.d.ts +0 -22
- package/dist/gen/operations/setState.d.ts +0 -76
- package/dist/gen/operations/setWorkspacePaymentMethod.d.ts +0 -37
- package/dist/gen/operations/trackAnalytics.d.ts +0 -22
- package/dist/gen/operations/transferBot.d.ts +0 -25
- package/dist/gen/operations/updateAccount.d.ts +0 -34
- package/dist/gen/operations/updateBot.d.ts +0 -486
- package/dist/gen/operations/updateConversation.d.ts +0 -63
- package/dist/gen/operations/updateFileMetadata.d.ts +0 -95
- package/dist/gen/operations/updateIntegration.d.ts +0 -562
- package/dist/gen/operations/updateInterface.d.ts +0 -165
- package/dist/gen/operations/updateMessage.d.ts +0 -68
- package/dist/gen/operations/updateTable.d.ts +0 -152
- package/dist/gen/operations/updateTableRows.d.ts +0 -74
- package/dist/gen/operations/updateTask.d.ts +0 -114
- package/dist/gen/operations/updateUser.d.ts +0 -66
- package/dist/gen/operations/updateWorkspace.d.ts +0 -50
- package/dist/gen/operations/updateWorkspaceMember.d.ts +0 -29
- package/dist/gen/operations/upsertFile.d.ts +0 -114
- package/dist/gen/operations/upsertTableRows.d.ts +0 -107
- package/dist/gen/to-axios.d.ts +0 -16
- package/dist/types.d.ts +0 -49
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
export interface UpdateInterfaceRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface UpdateInterfaceRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface UpdateInterfaceRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface UpdateInterfaceRequestBody {
|
|
9
|
-
events?: {
|
|
10
|
-
/**
|
|
11
|
-
* Event Definition
|
|
12
|
-
*/
|
|
13
|
-
[k: string]: {
|
|
14
|
-
/**
|
|
15
|
-
* Title of the event
|
|
16
|
-
*/
|
|
17
|
-
title?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Description of the event
|
|
20
|
-
*/
|
|
21
|
-
description?: string;
|
|
22
|
-
schema: {
|
|
23
|
-
[k: string]: any;
|
|
24
|
-
};
|
|
25
|
-
} | null;
|
|
26
|
-
};
|
|
27
|
-
actions?: {
|
|
28
|
-
/**
|
|
29
|
-
* Action definition
|
|
30
|
-
*/
|
|
31
|
-
[k: string]: {
|
|
32
|
-
/**
|
|
33
|
-
* Title of the action
|
|
34
|
-
*/
|
|
35
|
-
title?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Description of the action
|
|
38
|
-
*/
|
|
39
|
-
description?: string;
|
|
40
|
-
input: {
|
|
41
|
-
schema: {
|
|
42
|
-
[k: string]: any;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
output: {
|
|
46
|
-
schema: {
|
|
47
|
-
[k: string]: any;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
} | null;
|
|
51
|
-
};
|
|
52
|
-
entities?: {
|
|
53
|
-
/**
|
|
54
|
-
* Entity definition
|
|
55
|
-
*/
|
|
56
|
-
[k: string]: {
|
|
57
|
-
/**
|
|
58
|
-
* Title of the entity
|
|
59
|
-
*/
|
|
60
|
-
title?: string;
|
|
61
|
-
/**
|
|
62
|
-
* Description of the entity
|
|
63
|
-
*/
|
|
64
|
-
description?: string;
|
|
65
|
-
schema: {
|
|
66
|
-
[k: string]: any;
|
|
67
|
-
};
|
|
68
|
-
} | null;
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
export type UpdateInterfaceInput = UpdateInterfaceRequestBody & UpdateInterfaceRequestHeaders & UpdateInterfaceRequestQuery & UpdateInterfaceRequestParams;
|
|
72
|
-
export type UpdateInterfaceRequest = {
|
|
73
|
-
headers: UpdateInterfaceRequestHeaders;
|
|
74
|
-
query: UpdateInterfaceRequestQuery;
|
|
75
|
-
params: UpdateInterfaceRequestParams;
|
|
76
|
-
body: UpdateInterfaceRequestBody;
|
|
77
|
-
};
|
|
78
|
-
export declare const parseReq: (input: UpdateInterfaceInput) => UpdateInterfaceRequest & {
|
|
79
|
-
path: string;
|
|
80
|
-
};
|
|
81
|
-
export interface UpdateInterfaceResponse {
|
|
82
|
-
interface: {
|
|
83
|
-
/**
|
|
84
|
-
* ID of the [Interface](#schema_interface)
|
|
85
|
-
*/
|
|
86
|
-
id: string;
|
|
87
|
-
/**
|
|
88
|
-
* Creation date of the [Interface](#schema_interface) in ISO 8601 format
|
|
89
|
-
*/
|
|
90
|
-
createdAt: string;
|
|
91
|
-
/**
|
|
92
|
-
* Updating date of the [Interface](#schema_interface) in ISO 8601 format
|
|
93
|
-
*/
|
|
94
|
-
updatedAt: string;
|
|
95
|
-
/**
|
|
96
|
-
* Name of the [Interface](#schema_interface)
|
|
97
|
-
*/
|
|
98
|
-
name: string;
|
|
99
|
-
/**
|
|
100
|
-
* Version of the [Interface](#schema_interface)
|
|
101
|
-
*/
|
|
102
|
-
version: string;
|
|
103
|
-
events: {
|
|
104
|
-
/**
|
|
105
|
-
* Event Definition
|
|
106
|
-
*/
|
|
107
|
-
[k: string]: {
|
|
108
|
-
/**
|
|
109
|
-
* Title of the event
|
|
110
|
-
*/
|
|
111
|
-
title?: string;
|
|
112
|
-
/**
|
|
113
|
-
* Description of the event
|
|
114
|
-
*/
|
|
115
|
-
description?: string;
|
|
116
|
-
schema: {
|
|
117
|
-
[k: string]: any;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
actions: {
|
|
122
|
-
/**
|
|
123
|
-
* Action definition
|
|
124
|
-
*/
|
|
125
|
-
[k: string]: {
|
|
126
|
-
/**
|
|
127
|
-
* Title of the action
|
|
128
|
-
*/
|
|
129
|
-
title?: string;
|
|
130
|
-
/**
|
|
131
|
-
* Description of the action
|
|
132
|
-
*/
|
|
133
|
-
description?: string;
|
|
134
|
-
input: {
|
|
135
|
-
schema: {
|
|
136
|
-
[k: string]: any;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
output: {
|
|
140
|
-
schema: {
|
|
141
|
-
[k: string]: any;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
entities: {
|
|
147
|
-
/**
|
|
148
|
-
* Entity definition
|
|
149
|
-
*/
|
|
150
|
-
[k: string]: {
|
|
151
|
-
/**
|
|
152
|
-
* Title of the entity
|
|
153
|
-
*/
|
|
154
|
-
title?: string;
|
|
155
|
-
/**
|
|
156
|
-
* Description of the entity
|
|
157
|
-
*/
|
|
158
|
-
description?: string;
|
|
159
|
-
schema: {
|
|
160
|
-
[k: string]: any;
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
export interface UpdateMessageRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface UpdateMessageRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface UpdateMessageRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface UpdateMessageRequestBody {
|
|
9
|
-
/**
|
|
10
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
|
|
11
|
-
*/
|
|
12
|
-
tags: {
|
|
13
|
-
[k: string]: string;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export type UpdateMessageInput = UpdateMessageRequestBody & UpdateMessageRequestHeaders & UpdateMessageRequestQuery & UpdateMessageRequestParams;
|
|
17
|
-
export type UpdateMessageRequest = {
|
|
18
|
-
headers: UpdateMessageRequestHeaders;
|
|
19
|
-
query: UpdateMessageRequestQuery;
|
|
20
|
-
params: UpdateMessageRequestParams;
|
|
21
|
-
body: UpdateMessageRequestBody;
|
|
22
|
-
};
|
|
23
|
-
export declare const parseReq: (input: UpdateMessageInput) => UpdateMessageRequest & {
|
|
24
|
-
path: string;
|
|
25
|
-
};
|
|
26
|
-
export interface UpdateMessageResponse {
|
|
27
|
-
/**
|
|
28
|
-
* The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
|
|
29
|
-
*/
|
|
30
|
-
message: {
|
|
31
|
-
/**
|
|
32
|
-
* Id of the [Message](#schema_message)
|
|
33
|
-
*/
|
|
34
|
-
id: string;
|
|
35
|
-
/**
|
|
36
|
-
* Creation date of the [Message](#schema_message) in ISO 8601 format
|
|
37
|
-
*/
|
|
38
|
-
createdAt: string;
|
|
39
|
-
/**
|
|
40
|
-
* Type of the [Message](#schema_message) represents the resource type that the message is related to
|
|
41
|
-
*/
|
|
42
|
-
type: string;
|
|
43
|
-
/**
|
|
44
|
-
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
45
|
-
*/
|
|
46
|
-
payload: {
|
|
47
|
-
[k: string]: any;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Direction of the message (`incoming` or `outgoing`).
|
|
51
|
-
*/
|
|
52
|
-
direction: "incoming" | "outgoing";
|
|
53
|
-
/**
|
|
54
|
-
* ID of the [User](#schema_user)
|
|
55
|
-
*/
|
|
56
|
-
userId: string;
|
|
57
|
-
/**
|
|
58
|
-
* ID of the [Conversation](#schema_conversation)
|
|
59
|
-
*/
|
|
60
|
-
conversationId: string;
|
|
61
|
-
/**
|
|
62
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
|
|
63
|
-
*/
|
|
64
|
-
tags: {
|
|
65
|
-
[k: string]: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
}
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
export interface UpdateTableRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface UpdateTableRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface UpdateTableRequestParams {
|
|
6
|
-
table: string;
|
|
7
|
-
}
|
|
8
|
-
export interface UpdateTableRequestBody {
|
|
9
|
-
/**
|
|
10
|
-
* Required. This name is used to identify your table.
|
|
11
|
-
*/
|
|
12
|
-
name?: string;
|
|
13
|
-
/**
|
|
14
|
-
* A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
|
|
15
|
-
*/
|
|
16
|
-
frozen?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Provide an object or a JSON schema to define the columns of the table. A maximum of 20 keys in the object/schema is allowed.
|
|
19
|
-
*/
|
|
20
|
-
schema?: {
|
|
21
|
-
[k: string]: any;
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs.
|
|
25
|
-
*/
|
|
26
|
-
tags?: {
|
|
27
|
-
[k: string]: string;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Indicates if the table is enabled for computation.
|
|
31
|
-
*/
|
|
32
|
-
isComputeEnabled?: boolean;
|
|
33
|
-
}
|
|
34
|
-
export type UpdateTableInput = UpdateTableRequestBody & UpdateTableRequestHeaders & UpdateTableRequestQuery & UpdateTableRequestParams;
|
|
35
|
-
export type UpdateTableRequest = {
|
|
36
|
-
headers: UpdateTableRequestHeaders;
|
|
37
|
-
query: UpdateTableRequestQuery;
|
|
38
|
-
params: UpdateTableRequestParams;
|
|
39
|
-
body: UpdateTableRequestBody;
|
|
40
|
-
};
|
|
41
|
-
export declare const parseReq: (input: UpdateTableInput) => UpdateTableRequest & {
|
|
42
|
-
path: string;
|
|
43
|
-
};
|
|
44
|
-
export interface UpdateTableResponse {
|
|
45
|
-
table: {
|
|
46
|
-
/**
|
|
47
|
-
* Unique identifier for the table
|
|
48
|
-
*/
|
|
49
|
-
id: string;
|
|
50
|
-
/**
|
|
51
|
-
* Required. This name is used to identify your table.
|
|
52
|
-
*/
|
|
53
|
-
name: string;
|
|
54
|
-
/**
|
|
55
|
-
* The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
|
|
56
|
-
*/
|
|
57
|
-
factor?: number;
|
|
58
|
-
/**
|
|
59
|
-
* A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
|
|
60
|
-
*/
|
|
61
|
-
frozen?: boolean;
|
|
62
|
-
schema: {
|
|
63
|
-
$schema: string;
|
|
64
|
-
/**
|
|
65
|
-
* List of keys/columns in the table.
|
|
66
|
-
*/
|
|
67
|
-
properties: {
|
|
68
|
-
[k: string]: {
|
|
69
|
-
type: "string" | "number" | "boolean" | "object" | "null";
|
|
70
|
-
format?: "date-time";
|
|
71
|
-
description?: string;
|
|
72
|
-
nullable?: boolean;
|
|
73
|
-
"x-zui": {
|
|
74
|
-
index: number;
|
|
75
|
-
/**
|
|
76
|
-
* [deprecated] ID of the column.
|
|
77
|
-
*/
|
|
78
|
-
id?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Indicates if the column is vectorized and searchable.
|
|
81
|
-
*/
|
|
82
|
-
searchable?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Indicates if the field is hidden in the UI
|
|
85
|
-
*/
|
|
86
|
-
hidden?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Order of the column in the UI
|
|
89
|
-
*/
|
|
90
|
-
order?: number;
|
|
91
|
-
/**
|
|
92
|
-
* Width of the column in the UI
|
|
93
|
-
*/
|
|
94
|
-
width?: number;
|
|
95
|
-
computed?: {
|
|
96
|
-
action: "ai" | "code";
|
|
97
|
-
dependencies?: string[];
|
|
98
|
-
/**
|
|
99
|
-
* Prompt when action is "ai"
|
|
100
|
-
*/
|
|
101
|
-
prompt?: string;
|
|
102
|
-
/**
|
|
103
|
-
* Model to use when action is "ai"
|
|
104
|
-
*/
|
|
105
|
-
model?: "gpt-3.5-turbo" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-1106" | "gpt-3.5-turbo-16k" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4-0125-preview" | "gpt-4-1106-preview";
|
|
106
|
-
/**
|
|
107
|
-
* Code to execute when action is "code"
|
|
108
|
-
*/
|
|
109
|
-
code?: string;
|
|
110
|
-
enabled?: boolean;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* TypeScript typings for the column. Recommended if the type is "object", ex: "\{ foo: string; bar: number \}"
|
|
114
|
-
*/
|
|
115
|
-
typings?: string;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* Additional properties can be provided, but they will be ignored if no column matches.
|
|
121
|
-
*/
|
|
122
|
-
additionalProperties: true;
|
|
123
|
-
/**
|
|
124
|
-
* Array of required properties.
|
|
125
|
-
*/
|
|
126
|
-
required?: string[];
|
|
127
|
-
type: "object";
|
|
128
|
-
};
|
|
129
|
-
/**
|
|
130
|
-
* Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs.
|
|
131
|
-
*/
|
|
132
|
-
tags?: {
|
|
133
|
-
[k: string]: string;
|
|
134
|
-
};
|
|
135
|
-
/**
|
|
136
|
-
* Indicates if the table is enabled for computation.
|
|
137
|
-
*/
|
|
138
|
-
isComputeEnabled?: boolean;
|
|
139
|
-
/**
|
|
140
|
-
* Timestamp of table creation.
|
|
141
|
-
*/
|
|
142
|
-
createdAt?: string;
|
|
143
|
-
/**
|
|
144
|
-
* Timestamp of the last table update.
|
|
145
|
-
*/
|
|
146
|
-
updatedAt?: string;
|
|
147
|
-
};
|
|
148
|
-
/**
|
|
149
|
-
* List of columns that have become stale following the modification.
|
|
150
|
-
*/
|
|
151
|
-
staleColumns?: string[];
|
|
152
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
export interface UpdateTableRowsRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface UpdateTableRowsRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface UpdateTableRowsRequestParams {
|
|
6
|
-
table: string;
|
|
7
|
-
}
|
|
8
|
-
export interface UpdateTableRowsRequestBody {
|
|
9
|
-
/**
|
|
10
|
-
* Rows with updated data, identified by ID.
|
|
11
|
-
*
|
|
12
|
-
* @minItems 1
|
|
13
|
-
* @maxItems 1000
|
|
14
|
-
*/
|
|
15
|
-
rows: {
|
|
16
|
-
id: number;
|
|
17
|
-
[k: string]: any;
|
|
18
|
-
}[];
|
|
19
|
-
/**
|
|
20
|
-
* Ensure computed columns are fully processed before returning the result. This is applicable only when the number of rows involved is fewer than 1.
|
|
21
|
-
*/
|
|
22
|
-
waitComputed?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export type UpdateTableRowsInput = UpdateTableRowsRequestBody & UpdateTableRowsRequestHeaders & UpdateTableRowsRequestQuery & UpdateTableRowsRequestParams;
|
|
25
|
-
export type UpdateTableRowsRequest = {
|
|
26
|
-
headers: UpdateTableRowsRequestHeaders;
|
|
27
|
-
query: UpdateTableRowsRequestQuery;
|
|
28
|
-
params: UpdateTableRowsRequestParams;
|
|
29
|
-
body: UpdateTableRowsRequestBody;
|
|
30
|
-
};
|
|
31
|
-
export declare const parseReq: (input: UpdateTableRowsInput) => UpdateTableRowsRequest & {
|
|
32
|
-
path: string;
|
|
33
|
-
};
|
|
34
|
-
export interface UpdateTableRowsResponse {
|
|
35
|
-
rows: {
|
|
36
|
-
/**
|
|
37
|
-
* Unique identifier for the row.
|
|
38
|
-
*/
|
|
39
|
-
id: number;
|
|
40
|
-
/**
|
|
41
|
-
* Timestamp of row creation.
|
|
42
|
-
*/
|
|
43
|
-
createdAt?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Timestamp of the last row update.
|
|
46
|
-
*/
|
|
47
|
-
updatedAt?: string;
|
|
48
|
-
computed: {
|
|
49
|
-
[k: string]: {
|
|
50
|
-
status: string;
|
|
51
|
-
error?: string;
|
|
52
|
-
updatedBy?: string;
|
|
53
|
-
updatedAt?: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* [Read-only] List of stale values that are waiting to be recomputed.
|
|
58
|
-
*/
|
|
59
|
-
stale?: string[];
|
|
60
|
-
/**
|
|
61
|
-
* Optional numeric value indicating similarity, when using findTableRows.
|
|
62
|
-
*/
|
|
63
|
-
similarity?: number;
|
|
64
|
-
[k: string]: any;
|
|
65
|
-
}[];
|
|
66
|
-
/**
|
|
67
|
-
* Alerts for minor issues that don't block the operation but suggest possible improvements.
|
|
68
|
-
*/
|
|
69
|
-
warnings?: string[];
|
|
70
|
-
/**
|
|
71
|
-
* Critical issues in specific elements that prevent their successful processing, allowing partial operation success.
|
|
72
|
-
*/
|
|
73
|
-
errors?: string[];
|
|
74
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
export interface UpdateTaskRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface UpdateTaskRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface UpdateTaskRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface UpdateTaskRequestBody {
|
|
9
|
-
/**
|
|
10
|
-
* Title describing the task
|
|
11
|
-
*/
|
|
12
|
-
title?: string;
|
|
13
|
-
/**
|
|
14
|
-
* All the notes related to the execution of the current task
|
|
15
|
-
*/
|
|
16
|
-
description?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Content related to the task
|
|
19
|
-
*/
|
|
20
|
-
data?: {
|
|
21
|
-
[k: string]: any;
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
25
|
-
*/
|
|
26
|
-
timeoutAt?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Status of the task
|
|
29
|
-
*/
|
|
30
|
-
status?: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
31
|
-
/**
|
|
32
|
-
* Tags for the [Task](#schema_task)
|
|
33
|
-
*/
|
|
34
|
-
tags?: {
|
|
35
|
-
[k: string]: string;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
export type UpdateTaskInput = UpdateTaskRequestBody & UpdateTaskRequestHeaders & UpdateTaskRequestQuery & UpdateTaskRequestParams;
|
|
39
|
-
export type UpdateTaskRequest = {
|
|
40
|
-
headers: UpdateTaskRequestHeaders;
|
|
41
|
-
query: UpdateTaskRequestQuery;
|
|
42
|
-
params: UpdateTaskRequestParams;
|
|
43
|
-
body: UpdateTaskRequestBody;
|
|
44
|
-
};
|
|
45
|
-
export declare const parseReq: (input: UpdateTaskInput) => UpdateTaskRequest & {
|
|
46
|
-
path: string;
|
|
47
|
-
};
|
|
48
|
-
export interface UpdateTaskResponse {
|
|
49
|
-
/**
|
|
50
|
-
* Task definition
|
|
51
|
-
*/
|
|
52
|
-
task: {
|
|
53
|
-
/**
|
|
54
|
-
* Id of the [Task](#schema_task)
|
|
55
|
-
*/
|
|
56
|
-
id: string;
|
|
57
|
-
/**
|
|
58
|
-
* Title describing the task
|
|
59
|
-
*/
|
|
60
|
-
title: string;
|
|
61
|
-
/**
|
|
62
|
-
* All the notes related to the execution of the current task
|
|
63
|
-
*/
|
|
64
|
-
description: string;
|
|
65
|
-
/**
|
|
66
|
-
* Type of the task
|
|
67
|
-
*/
|
|
68
|
-
type: string;
|
|
69
|
-
/**
|
|
70
|
-
* Content related to the task
|
|
71
|
-
*/
|
|
72
|
-
data: {
|
|
73
|
-
[k: string]: any;
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* Status of the task
|
|
77
|
-
*/
|
|
78
|
-
status: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
79
|
-
/**
|
|
80
|
-
* Parent task id is the parent task that created this task
|
|
81
|
-
*/
|
|
82
|
-
parentTaskId?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Conversation id related to this task
|
|
85
|
-
*/
|
|
86
|
-
conversationId?: string;
|
|
87
|
-
/**
|
|
88
|
-
* Specific user related to this task
|
|
89
|
-
*/
|
|
90
|
-
userId?: string;
|
|
91
|
-
/**
|
|
92
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
93
|
-
*/
|
|
94
|
-
timeoutAt: string;
|
|
95
|
-
/**
|
|
96
|
-
* Creation date of the task in ISO 8601 format
|
|
97
|
-
*/
|
|
98
|
-
createdAt: string;
|
|
99
|
-
/**
|
|
100
|
-
* Updating date of the task in ISO 8601 format
|
|
101
|
-
*/
|
|
102
|
-
updatedAt: string;
|
|
103
|
-
/**
|
|
104
|
-
* If the task fails this is the reason behind it
|
|
105
|
-
*/
|
|
106
|
-
failureReason?: string;
|
|
107
|
-
/**
|
|
108
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Task](#schema_task). Individual keys can be unset by posting an empty value to them.
|
|
109
|
-
*/
|
|
110
|
-
tags: {
|
|
111
|
-
[k: string]: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
export interface UpdateUserRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface UpdateUserRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface UpdateUserRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface UpdateUserRequestBody {
|
|
9
|
-
/**
|
|
10
|
-
* Tags for the [User](#schema_user)
|
|
11
|
-
*/
|
|
12
|
-
tags?: {
|
|
13
|
-
[k: string]: string;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Name of the user
|
|
17
|
-
*/
|
|
18
|
-
name?: string;
|
|
19
|
-
/**
|
|
20
|
-
* URI of the user picture
|
|
21
|
-
*/
|
|
22
|
-
pictureUrl?: string | null;
|
|
23
|
-
}
|
|
24
|
-
export type UpdateUserInput = UpdateUserRequestBody & UpdateUserRequestHeaders & UpdateUserRequestQuery & UpdateUserRequestParams;
|
|
25
|
-
export type UpdateUserRequest = {
|
|
26
|
-
headers: UpdateUserRequestHeaders;
|
|
27
|
-
query: UpdateUserRequestQuery;
|
|
28
|
-
params: UpdateUserRequestParams;
|
|
29
|
-
body: UpdateUserRequestBody;
|
|
30
|
-
};
|
|
31
|
-
export declare const parseReq: (input: UpdateUserInput) => UpdateUserRequest & {
|
|
32
|
-
path: string;
|
|
33
|
-
};
|
|
34
|
-
export interface UpdateUserResponse {
|
|
35
|
-
/**
|
|
36
|
-
* The user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users.
|
|
37
|
-
*/
|
|
38
|
-
user: {
|
|
39
|
-
/**
|
|
40
|
-
* Id of the [User](#schema_user)
|
|
41
|
-
*/
|
|
42
|
-
id: string;
|
|
43
|
-
/**
|
|
44
|
-
* Creation date of the [User](#schema_user) in ISO 8601 format
|
|
45
|
-
*/
|
|
46
|
-
createdAt: string;
|
|
47
|
-
/**
|
|
48
|
-
* Updating date of the [User](#schema_user) in ISO 8601 format
|
|
49
|
-
*/
|
|
50
|
-
updatedAt: string;
|
|
51
|
-
/**
|
|
52
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [User](#schema_user). The set of [Tags](/docs/developers/concepts/tags) available on a [User](#schema_user) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
|
|
53
|
-
*/
|
|
54
|
-
tags: {
|
|
55
|
-
[k: string]: string;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* Name of the [User](#schema_user)
|
|
59
|
-
*/
|
|
60
|
-
name?: string;
|
|
61
|
-
/**
|
|
62
|
-
* Picture URL of the [User](#schema_user)
|
|
63
|
-
*/
|
|
64
|
-
pictureUrl?: string;
|
|
65
|
-
};
|
|
66
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export interface UpdateWorkspaceRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface UpdateWorkspaceRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface UpdateWorkspaceRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface UpdateWorkspaceRequestBody {
|
|
9
|
-
name?: string;
|
|
10
|
-
spendingLimit?: number;
|
|
11
|
-
about?: string;
|
|
12
|
-
profilePicture?: string;
|
|
13
|
-
contactEmail?: string;
|
|
14
|
-
website?: string;
|
|
15
|
-
/**
|
|
16
|
-
* @maxItems 5
|
|
17
|
-
*/
|
|
18
|
-
socialAccounts?: string[];
|
|
19
|
-
isPublic?: boolean;
|
|
20
|
-
handle?: string;
|
|
21
|
-
}
|
|
22
|
-
export type UpdateWorkspaceInput = UpdateWorkspaceRequestBody & UpdateWorkspaceRequestHeaders & UpdateWorkspaceRequestQuery & UpdateWorkspaceRequestParams;
|
|
23
|
-
export type UpdateWorkspaceRequest = {
|
|
24
|
-
headers: UpdateWorkspaceRequestHeaders;
|
|
25
|
-
query: UpdateWorkspaceRequestQuery;
|
|
26
|
-
params: UpdateWorkspaceRequestParams;
|
|
27
|
-
body: UpdateWorkspaceRequestBody;
|
|
28
|
-
};
|
|
29
|
-
export declare const parseReq: (input: UpdateWorkspaceInput) => UpdateWorkspaceRequest & {
|
|
30
|
-
path: string;
|
|
31
|
-
};
|
|
32
|
-
export interface UpdateWorkspaceResponse {
|
|
33
|
-
id: string;
|
|
34
|
-
name: string;
|
|
35
|
-
ownerId: string;
|
|
36
|
-
createdAt: string;
|
|
37
|
-
updatedAt: string;
|
|
38
|
-
botCount: number;
|
|
39
|
-
billingVersion: "v1" | "v2";
|
|
40
|
-
plan: "community" | "team" | "enterprise";
|
|
41
|
-
blocked: boolean;
|
|
42
|
-
spendingLimit: number;
|
|
43
|
-
about?: string;
|
|
44
|
-
profilePicture?: string;
|
|
45
|
-
contactEmail?: string;
|
|
46
|
-
website?: string;
|
|
47
|
-
socialAccounts?: string[];
|
|
48
|
-
isPublic?: boolean;
|
|
49
|
-
handle?: string;
|
|
50
|
-
}
|