@botpress/client
Advanced tools
Comparing version 0.12.4 to 0.13.0
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 0.20.0 | ||
* The version of the OpenAPI document: 0.21.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
import { AxiosInstance } from 'axios'; | ||
import { Configuration, DefaultApiCreateConversationRequest, DefaultApiGetConversationRequest, DefaultApiListConversationsRequest, DefaultApiGetOrCreateConversationRequest, DefaultApiUpdateConversationRequest, DefaultApiDeleteConversationRequest, DefaultApiListParticipantsRequest, DefaultApiAddParticipantRequest, DefaultApiGetParticipantRequest, DefaultApiRemoveParticipantRequest, DefaultApiCreateEventRequest, DefaultApiGetEventRequest, DefaultApiListEventsRequest, DefaultApiCreateMessageRequest, DefaultApiGetOrCreateMessageRequest, DefaultApiGetMessageRequest, DefaultApiUpdateMessageRequest, DefaultApiListMessagesRequest, DefaultApiDeleteMessageRequest, DefaultApiCreateUserRequest, DefaultApiGetUserRequest, DefaultApiListUsersRequest, DefaultApiGetOrCreateUserRequest, DefaultApiUpdateUserRequest, DefaultApiDeleteUserRequest, DefaultApiGetStateRequest, DefaultApiSetStateRequest, DefaultApiGetOrSetStateRequest, DefaultApiPatchStateRequest, DefaultApiCallActionRequest, DefaultApiConfigureIntegrationRequest, DefaultApiGetTaskRequest, DefaultApiCreateTaskRequest, DefaultApiUpdateTaskRequest, DefaultApiDeleteTaskRequest, DefaultApiListTasksRequest, DefaultApiRunVrlRequest, DefaultApiUpdateAccountRequest, DefaultApiCreatePersonalAccessTokenRequest, DefaultApiDeletePersonalAccessTokenRequest, DefaultApiSetAccountPreferenceRequest, DefaultApiGetAccountPreferenceRequest, DefaultApiListPublicIntegrationsRequest, DefaultApiGetPublicIntegrationByIdRequest, DefaultApiGetPublicIntegrationRequest, DefaultApiCreateBotRequest, DefaultApiUpdateBotRequest, DefaultApiTransferBotRequest, DefaultApiListBotsRequest, DefaultApiGetBotRequest, DefaultApiDeleteBotRequest, DefaultApiGetBotLogsRequest, DefaultApiGetBotWebchatRequest, DefaultApiGetBotAnalyticsRequest, DefaultApiListBotIssuesRequest, DefaultApiDeleteBotIssueRequest, DefaultApiListBotIssueEventsRequest, DefaultApiGetWorkspaceBillingDetailsRequest, DefaultApiSetWorkspacePaymentMethodRequest, DefaultApiListWorkspaceInvoicesRequest, DefaultApiGetUpcomingInvoiceRequest, DefaultApiChargeWorkspaceUnpaidInvoicesRequest, DefaultApiCreateWorkspaceRequest, DefaultApiGetPublicWorkspaceRequest, DefaultApiGetWorkspaceRequest, DefaultApiListWorkspaceUsagesRequest, DefaultApiBreakDownWorkspaceUsageByBotRequest, DefaultApiGetWorkspaceQuotaRequest, DefaultApiListWorkspaceQuotasRequest, DefaultApiUpdateWorkspaceRequest, DefaultApiCheckHandleAvailabilityRequest, DefaultApiListWorkspacesRequest, DefaultApiChangeWorkspacePlanRequest, DefaultApiDeleteWorkspaceRequest, DefaultApiGetAuditRecordsRequest, DefaultApiListWorkspaceMembersRequest, DefaultApiDeleteWorkspaceMemberRequest, DefaultApiCreateWorkspaceMemberRequest, DefaultApiUpdateWorkspaceMemberRequest, DefaultApiCreateIntegrationRequest, DefaultApiUpdateIntegrationRequest, DefaultApiListIntegrationsRequest, DefaultApiGetIntegrationRequest, DefaultApiGetIntegrationLogsRequest, DefaultApiGetIntegrationByNameRequest, DefaultApiDeleteIntegrationRequest, DefaultApiGetUsageRequest, DefaultApiListUsageHistoryRequest, DefaultApiChangeAISpendQuotaRequest, DefaultApiListActivitiesRequest, DefaultApiIntrospectRequest, DefaultApiCreateFileRequest, DefaultApiDeleteFileRequest, DefaultApiListFilesRequest, DefaultApiGetFileMetadataRequest, DefaultApiGetFileContentRequest, DefaultApiUpdateFileMetadataRequest, DefaultApiSearchFilesRequest, DefaultApiListTablesRequest, DefaultApiGetTableRequest, DefaultApiCreateTableRequest, DefaultApiUpdateTableRequest, DefaultApiRenameTableColumnRequest, DefaultApiDeleteTableRequest, DefaultApiGetTableRowRequest, DefaultApiFindTableRowsRequest, DefaultApiCreateTableRowsRequest, DefaultApiDeleteTableRowsRequest, DefaultApiUpdateTableRowsRequest, DefaultApiUpsertTableRowsRequest } from '.'; | ||
import { Configuration, DefaultApiCreateConversationRequest, DefaultApiGetConversationRequest, DefaultApiListConversationsRequest, DefaultApiGetOrCreateConversationRequest, DefaultApiUpdateConversationRequest, DefaultApiDeleteConversationRequest, DefaultApiListParticipantsRequest, DefaultApiAddParticipantRequest, DefaultApiGetParticipantRequest, DefaultApiRemoveParticipantRequest, DefaultApiCreateEventRequest, DefaultApiGetEventRequest, DefaultApiListEventsRequest, DefaultApiCreateMessageRequest, DefaultApiGetOrCreateMessageRequest, DefaultApiGetMessageRequest, DefaultApiUpdateMessageRequest, DefaultApiListMessagesRequest, DefaultApiDeleteMessageRequest, DefaultApiCreateUserRequest, DefaultApiGetUserRequest, DefaultApiListUsersRequest, DefaultApiGetOrCreateUserRequest, DefaultApiUpdateUserRequest, DefaultApiDeleteUserRequest, DefaultApiGetStateRequest, DefaultApiSetStateRequest, DefaultApiGetOrSetStateRequest, DefaultApiPatchStateRequest, DefaultApiCallActionRequest, DefaultApiConfigureIntegrationRequest, DefaultApiGetTaskRequest, DefaultApiCreateTaskRequest, DefaultApiUpdateTaskRequest, DefaultApiDeleteTaskRequest, DefaultApiListTasksRequest, DefaultApiRunVrlRequest, DefaultApiUpdateAccountRequest, DefaultApiCreatePersonalAccessTokenRequest, DefaultApiDeletePersonalAccessTokenRequest, DefaultApiSetAccountPreferenceRequest, DefaultApiGetAccountPreferenceRequest, DefaultApiListPublicIntegrationsRequest, DefaultApiGetPublicIntegrationByIdRequest, DefaultApiGetPublicIntegrationRequest, DefaultApiCreateBotRequest, DefaultApiUpdateBotRequest, DefaultApiTransferBotRequest, DefaultApiListBotsRequest, DefaultApiGetBotRequest, DefaultApiDeleteBotRequest, DefaultApiGetBotLogsRequest, DefaultApiGetBotWebchatRequest, DefaultApiGetBotAnalyticsRequest, DefaultApiListBotIssuesRequest, DefaultApiDeleteBotIssueRequest, DefaultApiListBotIssueEventsRequest, DefaultApiGetWorkspaceBillingDetailsRequest, DefaultApiSetWorkspacePaymentMethodRequest, DefaultApiListWorkspaceInvoicesRequest, DefaultApiGetUpcomingInvoiceRequest, DefaultApiChargeWorkspaceUnpaidInvoicesRequest, DefaultApiCreateWorkspaceRequest, DefaultApiGetPublicWorkspaceRequest, DefaultApiGetWorkspaceRequest, DefaultApiListWorkspaceUsagesRequest, DefaultApiBreakDownWorkspaceUsageByBotRequest, DefaultApiGetWorkspaceQuotaRequest, DefaultApiListWorkspaceQuotasRequest, DefaultApiUpdateWorkspaceRequest, DefaultApiCheckHandleAvailabilityRequest, DefaultApiListWorkspacesRequest, DefaultApiChangeWorkspacePlanRequest, DefaultApiDeleteWorkspaceRequest, DefaultApiGetAuditRecordsRequest, DefaultApiListWorkspaceMembersRequest, DefaultApiDeleteWorkspaceMemberRequest, DefaultApiCreateWorkspaceMemberRequest, DefaultApiUpdateWorkspaceMemberRequest, DefaultApiListIntegrationApiKeysRequest, DefaultApiCreateIntegrationApiKeyRequest, DefaultApiDeleteIntegrationApiKeyRequest, DefaultApiCreateIntegrationRequest, DefaultApiUpdateIntegrationRequest, DefaultApiListIntegrationsRequest, DefaultApiGetIntegrationRequest, DefaultApiGetIntegrationLogsRequest, DefaultApiGetIntegrationByNameRequest, DefaultApiDeleteIntegrationRequest, DefaultApiGetUsageRequest, DefaultApiListUsageHistoryRequest, DefaultApiChangeAISpendQuotaRequest, DefaultApiListActivitiesRequest, DefaultApiIntrospectRequest, DefaultApiCreateFileRequest, DefaultApiDeleteFileRequest, DefaultApiListFilesRequest, DefaultApiGetFileMetadataRequest, DefaultApiGetFileContentRequest, DefaultApiUpdateFileMetadataRequest, DefaultApiSearchFilesRequest, DefaultApiListTablesRequest, DefaultApiGetTableRequest, DefaultApiGetOrCreateTableRequest, DefaultApiCreateTableRequest, DefaultApiDuplicateTableRequest, DefaultApiUpdateTableRequest, DefaultApiRenameTableColumnRequest, DefaultApiDeleteTableRequest, DefaultApiGetTableRowRequest, DefaultApiFindTableRowsRequest, DefaultApiCreateTableRowsRequest, DefaultApiDeleteTableRowsRequest, DefaultApiUpdateTableRowsRequest, DefaultApiUpsertTableRowsRequest } from '.'; | ||
type SimplifyOptions = { | ||
@@ -106,2 +106,5 @@ deep?: boolean; | ||
updateWorkspaceMember: ({ id, ...updateWorkspaceMemberBody }: UpdateWorkspaceMemberProps) => Promise<import("./api").UpdateWorkspaceMemberResponse>; | ||
listIntegrationApiKeys: (props: ListIntegrationApiKeysProps) => Promise<import("./api").ListIntegrationApiKeysResponse>; | ||
createIntegrationApiKey: (createIntegrationApiKeyBody: CreateIntegrationApiKeyProps) => Promise<import("./api").CreateIntegrationApiKeyResponse>; | ||
deleteIntegrationApiKey: (props: DeleteIntegrationApiKeyProps) => Promise<object>; | ||
createIntegration: (createIntegrationBody: CreateIntegrationProps) => Promise<import("./api").CreateIntegrationResponse>; | ||
@@ -128,3 +131,5 @@ updateIntegration: ({ id, ...updateIntegrationBody }: UpdateIntegrationProps) => Promise<import("./api").UpdateIntegrationResponse>; | ||
getTable: (props: GetTableProps) => Promise<import("./api").GetTableResponse>; | ||
getOrCreateTable: ({ table, ...getOrCreateTableBody }: GetOrCreateTableProps) => Promise<import("./api").GetOrCreateTableResponse>; | ||
createTable: (createTableBody: CreateTableProps) => Promise<import("./api").CreateTableResponse>; | ||
duplicateTable: ({ sourceTableId, ...duplicateTableBody }: DuplicateTableProps) => Promise<import("./api").DuplicateTableResponse>; | ||
updateTable: ({ table, ...updateTableBody }: UpdateTableProps) => Promise<import("./api").UpdateTableResponse>; | ||
@@ -219,2 +224,5 @@ renameTableColumn: ({ table, ...renameTableColumnBody }: RenameTableColumnProps) => Promise<import("./api").RenameTableColumnResponse>; | ||
export type UpdateWorkspaceMemberProps = Merge<Except<DefaultApiUpdateWorkspaceMemberRequest, 'updateWorkspaceMemberBody'>, NonNullable<DefaultApiUpdateWorkspaceMemberRequest['updateWorkspaceMemberBody']>>; | ||
export type ListIntegrationApiKeysProps = Merge<DefaultApiListIntegrationApiKeysRequest, {}>; | ||
export type CreateIntegrationApiKeyProps = Merge<Except<DefaultApiCreateIntegrationApiKeyRequest, 'createIntegrationApiKeyBody'>, NonNullable<DefaultApiCreateIntegrationApiKeyRequest['createIntegrationApiKeyBody']>>; | ||
export type DeleteIntegrationApiKeyProps = Merge<DefaultApiDeleteIntegrationApiKeyRequest, {}>; | ||
export type CreateIntegrationProps = Merge<Except<DefaultApiCreateIntegrationRequest, 'createIntegrationBody'>, NonNullable<DefaultApiCreateIntegrationRequest['createIntegrationBody']>>; | ||
@@ -241,3 +249,5 @@ export type UpdateIntegrationProps = Merge<Except<DefaultApiUpdateIntegrationRequest, 'updateIntegrationBody'>, NonNullable<DefaultApiUpdateIntegrationRequest['updateIntegrationBody']>>; | ||
export type GetTableProps = Merge<DefaultApiGetTableRequest, {}>; | ||
export type GetOrCreateTableProps = Merge<Except<DefaultApiGetOrCreateTableRequest, 'getOrCreateTableBody'>, NonNullable<DefaultApiGetOrCreateTableRequest['getOrCreateTableBody']>>; | ||
export type CreateTableProps = Merge<Except<DefaultApiCreateTableRequest, 'createTableBody'>, NonNullable<DefaultApiCreateTableRequest['createTableBody']>>; | ||
export type DuplicateTableProps = Merge<Except<DefaultApiDuplicateTableRequest, 'duplicateTableBody'>, NonNullable<DefaultApiDuplicateTableRequest['duplicateTableBody']>>; | ||
export type UpdateTableProps = Merge<Except<DefaultApiUpdateTableRequest, 'updateTableBody'>, NonNullable<DefaultApiUpdateTableRequest['updateTableBody']>>; | ||
@@ -244,0 +254,0 @@ export type RenameTableColumnProps = Merge<Except<DefaultApiRenameTableColumnRequest, 'renameTableColumnBody'>, NonNullable<DefaultApiRenameTableColumnRequest['renameTableColumnBody']>>; |
@@ -6,3 +6,3 @@ /// <reference types="node" /> | ||
* | ||
* The version of the OpenAPI document: 0.20.0 | ||
* The version of the OpenAPI document: 0.21.0 | ||
* | ||
@@ -9,0 +9,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 0.20.0 | ||
* The version of the OpenAPI document: 0.21.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 0.20.0 | ||
* The version of the OpenAPI document: 0.21.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
{ | ||
"name": "@botpress/client", | ||
"version": "0.12.4", | ||
"version": "0.13.0", | ||
"description": "Botpress Client", | ||
@@ -31,3 +31,3 @@ "main": "./dist/index.cjs", | ||
"devDependencies": { | ||
"@botpress/api": "0.20.0", | ||
"@botpress/api": "0.21.0", | ||
"esbuild": "^0.16.12", | ||
@@ -34,0 +34,0 @@ "lodash": "^4.17.21", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
3532757
16917