@botpress/client 0.23.2 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +12 -6
- package/.turbo/turbo-generate.log +1 -1
- package/dist/index.d.ts +10910 -4
- package/package.json +3 -2
- 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,70 +0,0 @@
|
|
|
1
|
-
export interface CreateUserRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface CreateUserRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface CreateUserRequestParams {
|
|
6
|
-
}
|
|
7
|
-
export interface CreateUserRequestBody {
|
|
8
|
-
/**
|
|
9
|
-
* Tags for the [User](#schema_user)
|
|
10
|
-
*/
|
|
11
|
-
tags: {
|
|
12
|
-
[k: string]: string;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated
|
|
16
|
-
* [DEPRECATED] To create a [User](#schema_user) from within a bot, call an action of the integration instead.
|
|
17
|
-
*/
|
|
18
|
-
integrationName?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Name of the user
|
|
21
|
-
*/
|
|
22
|
-
name?: string;
|
|
23
|
-
/**
|
|
24
|
-
* URI of the user picture
|
|
25
|
-
*/
|
|
26
|
-
pictureUrl?: string;
|
|
27
|
-
}
|
|
28
|
-
export type CreateUserInput = CreateUserRequestBody & CreateUserRequestHeaders & CreateUserRequestQuery & CreateUserRequestParams;
|
|
29
|
-
export type CreateUserRequest = {
|
|
30
|
-
headers: CreateUserRequestHeaders;
|
|
31
|
-
query: CreateUserRequestQuery;
|
|
32
|
-
params: CreateUserRequestParams;
|
|
33
|
-
body: CreateUserRequestBody;
|
|
34
|
-
};
|
|
35
|
-
export declare const parseReq: (input: CreateUserInput) => CreateUserRequest & {
|
|
36
|
-
path: string;
|
|
37
|
-
};
|
|
38
|
-
export interface CreateUserResponse {
|
|
39
|
-
/**
|
|
40
|
-
* 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.
|
|
41
|
-
*/
|
|
42
|
-
user: {
|
|
43
|
-
/**
|
|
44
|
-
* Id of the [User](#schema_user)
|
|
45
|
-
*/
|
|
46
|
-
id: string;
|
|
47
|
-
/**
|
|
48
|
-
* Creation date of the [User](#schema_user) in ISO 8601 format
|
|
49
|
-
*/
|
|
50
|
-
createdAt: string;
|
|
51
|
-
/**
|
|
52
|
-
* Updating date of the [User](#schema_user) in ISO 8601 format
|
|
53
|
-
*/
|
|
54
|
-
updatedAt: string;
|
|
55
|
-
/**
|
|
56
|
-
* 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.
|
|
57
|
-
*/
|
|
58
|
-
tags: {
|
|
59
|
-
[k: string]: string;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* Name of the [User](#schema_user)
|
|
63
|
-
*/
|
|
64
|
-
name?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Picture URL of the [User](#schema_user)
|
|
67
|
-
*/
|
|
68
|
-
pictureUrl?: string;
|
|
69
|
-
};
|
|
70
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export interface CreateWorkspaceRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface CreateWorkspaceRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface CreateWorkspaceRequestParams {
|
|
6
|
-
}
|
|
7
|
-
export interface CreateWorkspaceRequestBody {
|
|
8
|
-
name: string;
|
|
9
|
-
}
|
|
10
|
-
export type CreateWorkspaceInput = CreateWorkspaceRequestBody & CreateWorkspaceRequestHeaders & CreateWorkspaceRequestQuery & CreateWorkspaceRequestParams;
|
|
11
|
-
export type CreateWorkspaceRequest = {
|
|
12
|
-
headers: CreateWorkspaceRequestHeaders;
|
|
13
|
-
query: CreateWorkspaceRequestQuery;
|
|
14
|
-
params: CreateWorkspaceRequestParams;
|
|
15
|
-
body: CreateWorkspaceRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: CreateWorkspaceInput) => CreateWorkspaceRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface CreateWorkspaceResponse {
|
|
21
|
-
id: string;
|
|
22
|
-
name: string;
|
|
23
|
-
ownerId: string;
|
|
24
|
-
createdAt: string;
|
|
25
|
-
updatedAt: string;
|
|
26
|
-
botCount: number;
|
|
27
|
-
billingVersion: "v1" | "v2";
|
|
28
|
-
plan: "community" | "team" | "enterprise";
|
|
29
|
-
blocked: boolean;
|
|
30
|
-
spendingLimit: number;
|
|
31
|
-
about?: string;
|
|
32
|
-
profilePicture?: string;
|
|
33
|
-
contactEmail?: string;
|
|
34
|
-
website?: string;
|
|
35
|
-
socialAccounts?: string[];
|
|
36
|
-
isPublic?: boolean;
|
|
37
|
-
handle?: string;
|
|
38
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export interface CreateWorkspaceMemberRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface CreateWorkspaceMemberRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface CreateWorkspaceMemberRequestParams {
|
|
6
|
-
}
|
|
7
|
-
export interface CreateWorkspaceMemberRequestBody {
|
|
8
|
-
email: string;
|
|
9
|
-
role: "viewer" | "billing" | "developer" | "manager" | "administrator" | "owner";
|
|
10
|
-
}
|
|
11
|
-
export type CreateWorkspaceMemberInput = CreateWorkspaceMemberRequestBody & CreateWorkspaceMemberRequestHeaders & CreateWorkspaceMemberRequestQuery & CreateWorkspaceMemberRequestParams;
|
|
12
|
-
export type CreateWorkspaceMemberRequest = {
|
|
13
|
-
headers: CreateWorkspaceMemberRequestHeaders;
|
|
14
|
-
query: CreateWorkspaceMemberRequestQuery;
|
|
15
|
-
params: CreateWorkspaceMemberRequestParams;
|
|
16
|
-
body: CreateWorkspaceMemberRequestBody;
|
|
17
|
-
};
|
|
18
|
-
export declare const parseReq: (input: CreateWorkspaceMemberInput) => CreateWorkspaceMemberRequest & {
|
|
19
|
-
path: string;
|
|
20
|
-
};
|
|
21
|
-
export interface CreateWorkspaceMemberResponse {
|
|
22
|
-
id: string;
|
|
23
|
-
userId?: string;
|
|
24
|
-
email: string;
|
|
25
|
-
createdAt: string;
|
|
26
|
-
role: "viewer" | "billing" | "developer" | "manager" | "administrator" | "owner";
|
|
27
|
-
profilePicture?: string;
|
|
28
|
-
displayName?: string;
|
|
29
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DeleteBotRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteBotRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteBotRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeleteBotRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type DeleteBotInput = DeleteBotRequestBody & DeleteBotRequestHeaders & DeleteBotRequestQuery & DeleteBotRequestParams;
|
|
11
|
-
export type DeleteBotRequest = {
|
|
12
|
-
headers: DeleteBotRequestHeaders;
|
|
13
|
-
query: DeleteBotRequestQuery;
|
|
14
|
-
params: DeleteBotRequestParams;
|
|
15
|
-
body: DeleteBotRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: DeleteBotInput) => DeleteBotRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface DeleteBotResponse {
|
|
21
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface DeleteBotIssueRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteBotIssueRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteBotIssueRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
issueId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface DeleteBotIssueRequestBody {
|
|
10
|
-
}
|
|
11
|
-
export type DeleteBotIssueInput = DeleteBotIssueRequestBody & DeleteBotIssueRequestHeaders & DeleteBotIssueRequestQuery & DeleteBotIssueRequestParams;
|
|
12
|
-
export type DeleteBotIssueRequest = {
|
|
13
|
-
headers: DeleteBotIssueRequestHeaders;
|
|
14
|
-
query: DeleteBotIssueRequestQuery;
|
|
15
|
-
params: DeleteBotIssueRequestParams;
|
|
16
|
-
body: DeleteBotIssueRequestBody;
|
|
17
|
-
};
|
|
18
|
-
export declare const parseReq: (input: DeleteBotIssueInput) => DeleteBotIssueRequest & {
|
|
19
|
-
path: string;
|
|
20
|
-
};
|
|
21
|
-
export interface DeleteBotIssueResponse {
|
|
22
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DeleteConversationRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteConversationRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteConversationRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeleteConversationRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type DeleteConversationInput = DeleteConversationRequestBody & DeleteConversationRequestHeaders & DeleteConversationRequestQuery & DeleteConversationRequestParams;
|
|
11
|
-
export type DeleteConversationRequest = {
|
|
12
|
-
headers: DeleteConversationRequestHeaders;
|
|
13
|
-
query: DeleteConversationRequestQuery;
|
|
14
|
-
params: DeleteConversationRequestParams;
|
|
15
|
-
body: DeleteConversationRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: DeleteConversationInput) => DeleteConversationRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface DeleteConversationResponse {
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DeleteFileRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteFileRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteFileRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeleteFileRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type DeleteFileInput = DeleteFileRequestBody & DeleteFileRequestHeaders & DeleteFileRequestQuery & DeleteFileRequestParams;
|
|
11
|
-
export type DeleteFileRequest = {
|
|
12
|
-
headers: DeleteFileRequestHeaders;
|
|
13
|
-
query: DeleteFileRequestQuery;
|
|
14
|
-
params: DeleteFileRequestParams;
|
|
15
|
-
body: DeleteFileRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: DeleteFileInput) => DeleteFileRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface DeleteFileResponse {
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DeleteIntegrationRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteIntegrationRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteIntegrationRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeleteIntegrationRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type DeleteIntegrationInput = DeleteIntegrationRequestBody & DeleteIntegrationRequestHeaders & DeleteIntegrationRequestQuery & DeleteIntegrationRequestParams;
|
|
11
|
-
export type DeleteIntegrationRequest = {
|
|
12
|
-
headers: DeleteIntegrationRequestHeaders;
|
|
13
|
-
query: DeleteIntegrationRequestQuery;
|
|
14
|
-
params: DeleteIntegrationRequestParams;
|
|
15
|
-
body: DeleteIntegrationRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: DeleteIntegrationInput) => DeleteIntegrationRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface DeleteIntegrationResponse {
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DeleteIntegrationApiKeyRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteIntegrationApiKeyRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteIntegrationApiKeyRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeleteIntegrationApiKeyRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type DeleteIntegrationApiKeyInput = DeleteIntegrationApiKeyRequestBody & DeleteIntegrationApiKeyRequestHeaders & DeleteIntegrationApiKeyRequestQuery & DeleteIntegrationApiKeyRequestParams;
|
|
11
|
-
export type DeleteIntegrationApiKeyRequest = {
|
|
12
|
-
headers: DeleteIntegrationApiKeyRequestHeaders;
|
|
13
|
-
query: DeleteIntegrationApiKeyRequestQuery;
|
|
14
|
-
params: DeleteIntegrationApiKeyRequestParams;
|
|
15
|
-
body: DeleteIntegrationApiKeyRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: DeleteIntegrationApiKeyInput) => DeleteIntegrationApiKeyRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface DeleteIntegrationApiKeyResponse {
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DeleteInterfaceRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteInterfaceRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteInterfaceRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeleteInterfaceRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type DeleteInterfaceInput = DeleteInterfaceRequestBody & DeleteInterfaceRequestHeaders & DeleteInterfaceRequestQuery & DeleteInterfaceRequestParams;
|
|
11
|
-
export type DeleteInterfaceRequest = {
|
|
12
|
-
headers: DeleteInterfaceRequestHeaders;
|
|
13
|
-
query: DeleteInterfaceRequestQuery;
|
|
14
|
-
params: DeleteInterfaceRequestParams;
|
|
15
|
-
body: DeleteInterfaceRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: DeleteInterfaceInput) => DeleteInterfaceRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface DeleteInterfaceResponse {
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DeleteMessageRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteMessageRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteMessageRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeleteMessageRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type DeleteMessageInput = DeleteMessageRequestBody & DeleteMessageRequestHeaders & DeleteMessageRequestQuery & DeleteMessageRequestParams;
|
|
11
|
-
export type DeleteMessageRequest = {
|
|
12
|
-
headers: DeleteMessageRequestHeaders;
|
|
13
|
-
query: DeleteMessageRequestQuery;
|
|
14
|
-
params: DeleteMessageRequestParams;
|
|
15
|
-
body: DeleteMessageRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: DeleteMessageInput) => DeleteMessageRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface DeleteMessageResponse {
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DeletePersonalAccessTokenRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeletePersonalAccessTokenRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeletePersonalAccessTokenRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeletePersonalAccessTokenRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type DeletePersonalAccessTokenInput = DeletePersonalAccessTokenRequestBody & DeletePersonalAccessTokenRequestHeaders & DeletePersonalAccessTokenRequestQuery & DeletePersonalAccessTokenRequestParams;
|
|
11
|
-
export type DeletePersonalAccessTokenRequest = {
|
|
12
|
-
headers: DeletePersonalAccessTokenRequestHeaders;
|
|
13
|
-
query: DeletePersonalAccessTokenRequestQuery;
|
|
14
|
-
params: DeletePersonalAccessTokenRequestParams;
|
|
15
|
-
body: DeletePersonalAccessTokenRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: DeletePersonalAccessTokenInput) => DeletePersonalAccessTokenRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface DeletePersonalAccessTokenResponse {
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DeleteTableRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteTableRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteTableRequestParams {
|
|
6
|
-
table: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeleteTableRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type DeleteTableInput = DeleteTableRequestBody & DeleteTableRequestHeaders & DeleteTableRequestQuery & DeleteTableRequestParams;
|
|
11
|
-
export type DeleteTableRequest = {
|
|
12
|
-
headers: DeleteTableRequestHeaders;
|
|
13
|
-
query: DeleteTableRequestQuery;
|
|
14
|
-
params: DeleteTableRequestParams;
|
|
15
|
-
body: DeleteTableRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: DeleteTableInput) => DeleteTableRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface DeleteTableResponse {
|
|
21
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export interface DeleteTableRowsRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteTableRowsRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteTableRowsRequestParams {
|
|
6
|
-
table: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeleteTableRowsRequestBody {
|
|
9
|
-
/**
|
|
10
|
-
* @maxItems 1000
|
|
11
|
-
*/
|
|
12
|
-
ids?: number[];
|
|
13
|
-
/**
|
|
14
|
-
* Filter to apply when deleting rows. Example: \{ "name": \{ "$eq": "John" \} \}
|
|
15
|
-
*/
|
|
16
|
-
filter?: {
|
|
17
|
-
[k: string]: any;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Flag to delete all rows. Use with caution as this action is irreversible.
|
|
21
|
-
*/
|
|
22
|
-
deleteAllRows?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export type DeleteTableRowsInput = DeleteTableRowsRequestBody & DeleteTableRowsRequestHeaders & DeleteTableRowsRequestQuery & DeleteTableRowsRequestParams;
|
|
25
|
-
export type DeleteTableRowsRequest = {
|
|
26
|
-
headers: DeleteTableRowsRequestHeaders;
|
|
27
|
-
query: DeleteTableRowsRequestQuery;
|
|
28
|
-
params: DeleteTableRowsRequestParams;
|
|
29
|
-
body: DeleteTableRowsRequestBody;
|
|
30
|
-
};
|
|
31
|
-
export declare const parseReq: (input: DeleteTableRowsInput) => DeleteTableRowsRequest & {
|
|
32
|
-
path: string;
|
|
33
|
-
};
|
|
34
|
-
export interface DeleteTableRowsResponse {
|
|
35
|
-
deletedRows: number;
|
|
36
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DeleteTaskRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteTaskRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteTaskRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeleteTaskRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type DeleteTaskInput = DeleteTaskRequestBody & DeleteTaskRequestHeaders & DeleteTaskRequestQuery & DeleteTaskRequestParams;
|
|
11
|
-
export type DeleteTaskRequest = {
|
|
12
|
-
headers: DeleteTaskRequestHeaders;
|
|
13
|
-
query: DeleteTaskRequestQuery;
|
|
14
|
-
params: DeleteTaskRequestParams;
|
|
15
|
-
body: DeleteTaskRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: DeleteTaskInput) => DeleteTaskRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface DeleteTaskResponse {
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DeleteUserRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteUserRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteUserRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeleteUserRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type DeleteUserInput = DeleteUserRequestBody & DeleteUserRequestHeaders & DeleteUserRequestQuery & DeleteUserRequestParams;
|
|
11
|
-
export type DeleteUserRequest = {
|
|
12
|
-
headers: DeleteUserRequestHeaders;
|
|
13
|
-
query: DeleteUserRequestQuery;
|
|
14
|
-
params: DeleteUserRequestParams;
|
|
15
|
-
body: DeleteUserRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: DeleteUserInput) => DeleteUserRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface DeleteUserResponse {
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DeleteWorkspaceRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteWorkspaceRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteWorkspaceRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeleteWorkspaceRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type DeleteWorkspaceInput = DeleteWorkspaceRequestBody & DeleteWorkspaceRequestHeaders & DeleteWorkspaceRequestQuery & DeleteWorkspaceRequestParams;
|
|
11
|
-
export type DeleteWorkspaceRequest = {
|
|
12
|
-
headers: DeleteWorkspaceRequestHeaders;
|
|
13
|
-
query: DeleteWorkspaceRequestQuery;
|
|
14
|
-
params: DeleteWorkspaceRequestParams;
|
|
15
|
-
body: DeleteWorkspaceRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: DeleteWorkspaceInput) => DeleteWorkspaceRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface DeleteWorkspaceResponse {
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DeleteWorkspaceMemberRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeleteWorkspaceMemberRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeleteWorkspaceMemberRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeleteWorkspaceMemberRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type DeleteWorkspaceMemberInput = DeleteWorkspaceMemberRequestBody & DeleteWorkspaceMemberRequestHeaders & DeleteWorkspaceMemberRequestQuery & DeleteWorkspaceMemberRequestParams;
|
|
11
|
-
export type DeleteWorkspaceMemberRequest = {
|
|
12
|
-
headers: DeleteWorkspaceMemberRequestHeaders;
|
|
13
|
-
query: DeleteWorkspaceMemberRequestQuery;
|
|
14
|
-
params: DeleteWorkspaceMemberRequestParams;
|
|
15
|
-
body: DeleteWorkspaceMemberRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: DeleteWorkspaceMemberInput) => DeleteWorkspaceMemberRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface DeleteWorkspaceMemberResponse {
|
|
21
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface DeployBotVersionRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DeployBotVersionRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DeployBotVersionRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DeployBotVersionRequestBody {
|
|
9
|
-
versionId: string;
|
|
10
|
-
}
|
|
11
|
-
export type DeployBotVersionInput = DeployBotVersionRequestBody & DeployBotVersionRequestHeaders & DeployBotVersionRequestQuery & DeployBotVersionRequestParams;
|
|
12
|
-
export type DeployBotVersionRequest = {
|
|
13
|
-
headers: DeployBotVersionRequestHeaders;
|
|
14
|
-
query: DeployBotVersionRequestQuery;
|
|
15
|
-
params: DeployBotVersionRequestParams;
|
|
16
|
-
body: DeployBotVersionRequestBody;
|
|
17
|
-
};
|
|
18
|
-
export declare const parseReq: (input: DeployBotVersionInput) => DeployBotVersionRequest & {
|
|
19
|
-
path: string;
|
|
20
|
-
};
|
|
21
|
-
export interface DeployBotVersionResponse {
|
|
22
|
-
}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
export interface DuplicateTableRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface DuplicateTableRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface DuplicateTableRequestParams {
|
|
6
|
-
sourceTableId: string;
|
|
7
|
-
}
|
|
8
|
-
export interface DuplicateTableRequestBody {
|
|
9
|
-
tableName?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Only duplicate the schema, not the content
|
|
12
|
-
*/
|
|
13
|
-
schemaOnly?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Use a different factor for the table. Leave empty to use the same as the duplicated table.
|
|
16
|
-
*/
|
|
17
|
-
factor?: number;
|
|
18
|
-
}
|
|
19
|
-
export type DuplicateTableInput = DuplicateTableRequestBody & DuplicateTableRequestHeaders & DuplicateTableRequestQuery & DuplicateTableRequestParams;
|
|
20
|
-
export type DuplicateTableRequest = {
|
|
21
|
-
headers: DuplicateTableRequestHeaders;
|
|
22
|
-
query: DuplicateTableRequestQuery;
|
|
23
|
-
params: DuplicateTableRequestParams;
|
|
24
|
-
body: DuplicateTableRequestBody;
|
|
25
|
-
};
|
|
26
|
-
export declare const parseReq: (input: DuplicateTableInput) => DuplicateTableRequest & {
|
|
27
|
-
path: string;
|
|
28
|
-
};
|
|
29
|
-
export interface DuplicateTableResponse {
|
|
30
|
-
table: {
|
|
31
|
-
/**
|
|
32
|
-
* Unique identifier for the table
|
|
33
|
-
*/
|
|
34
|
-
id: string;
|
|
35
|
-
/**
|
|
36
|
-
* Required. This name is used to identify your table.
|
|
37
|
-
*/
|
|
38
|
-
name: string;
|
|
39
|
-
/**
|
|
40
|
-
* 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.
|
|
41
|
-
*/
|
|
42
|
-
factor?: number;
|
|
43
|
-
/**
|
|
44
|
-
* 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.
|
|
45
|
-
*/
|
|
46
|
-
frozen?: boolean;
|
|
47
|
-
schema: {
|
|
48
|
-
$schema: string;
|
|
49
|
-
/**
|
|
50
|
-
* List of keys/columns in the table.
|
|
51
|
-
*/
|
|
52
|
-
properties: {
|
|
53
|
-
[k: string]: {
|
|
54
|
-
type: "string" | "number" | "boolean" | "object" | "null";
|
|
55
|
-
format?: "date-time";
|
|
56
|
-
description?: string;
|
|
57
|
-
nullable?: boolean;
|
|
58
|
-
"x-zui": {
|
|
59
|
-
index: number;
|
|
60
|
-
/**
|
|
61
|
-
* [deprecated] ID of the column.
|
|
62
|
-
*/
|
|
63
|
-
id?: string;
|
|
64
|
-
/**
|
|
65
|
-
* Indicates if the column is vectorized and searchable.
|
|
66
|
-
*/
|
|
67
|
-
searchable?: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Indicates if the field is hidden in the UI
|
|
70
|
-
*/
|
|
71
|
-
hidden?: boolean;
|
|
72
|
-
/**
|
|
73
|
-
* Order of the column in the UI
|
|
74
|
-
*/
|
|
75
|
-
order?: number;
|
|
76
|
-
/**
|
|
77
|
-
* Width of the column in the UI
|
|
78
|
-
*/
|
|
79
|
-
width?: number;
|
|
80
|
-
computed?: {
|
|
81
|
-
action: "ai" | "code";
|
|
82
|
-
dependencies?: string[];
|
|
83
|
-
/**
|
|
84
|
-
* Prompt when action is "ai"
|
|
85
|
-
*/
|
|
86
|
-
prompt?: string;
|
|
87
|
-
/**
|
|
88
|
-
* Model to use when action is "ai"
|
|
89
|
-
*/
|
|
90
|
-
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";
|
|
91
|
-
/**
|
|
92
|
-
* Code to execute when action is "code"
|
|
93
|
-
*/
|
|
94
|
-
code?: string;
|
|
95
|
-
enabled?: boolean;
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* TypeScript typings for the column. Recommended if the type is "object", ex: "\{ foo: string; bar: number \}"
|
|
99
|
-
*/
|
|
100
|
-
typings?: string;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* Additional properties can be provided, but they will be ignored if no column matches.
|
|
106
|
-
*/
|
|
107
|
-
additionalProperties: true;
|
|
108
|
-
/**
|
|
109
|
-
* Array of required properties.
|
|
110
|
-
*/
|
|
111
|
-
required?: string[];
|
|
112
|
-
type: "object";
|
|
113
|
-
};
|
|
114
|
-
/**
|
|
115
|
-
* Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs.
|
|
116
|
-
*/
|
|
117
|
-
tags?: {
|
|
118
|
-
[k: string]: string;
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
* Indicates if the table is enabled for computation.
|
|
122
|
-
*/
|
|
123
|
-
isComputeEnabled?: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Timestamp of table creation.
|
|
126
|
-
*/
|
|
127
|
-
createdAt?: string;
|
|
128
|
-
/**
|
|
129
|
-
* Timestamp of the last table update.
|
|
130
|
-
*/
|
|
131
|
-
updatedAt?: string;
|
|
132
|
-
};
|
|
133
|
-
/**
|
|
134
|
-
* The total number of rows present in the table.
|
|
135
|
-
*/
|
|
136
|
-
rows: number;
|
|
137
|
-
}
|