@botpress/client
Advanced tools
Comparing version 0.6.1 to 0.6.2
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 0.10.0 | ||
* The version of the OpenAPI document: 0.12.1 | ||
* | ||
@@ -8,0 +8,0 @@ * |
import { AxiosInstance } from 'axios'; | ||
import type { Merge, Except } from 'type-fest'; | ||
import { Configuration, DefaultApiCreateConversationRequest, DefaultApiGetConversationRequest, DefaultApiListConversationsRequest, DefaultApiGetOrCreateConversationRequest, DefaultApiUpdateConversationRequest, DefaultApiDeleteConversationRequest, DefaultApiCreateEventRequest, DefaultApiGetEventRequest, DefaultApiListEventsRequest, DefaultApiCreateMessageRequest, DefaultApiGetOrCreateMessageRequest, DefaultApiGetMessageRequest, DefaultApiUpdateMessageRequest, DefaultApiListMessagesRequest, DefaultApiDeleteMessageRequest, DefaultApiCreateUserRequest, DefaultApiGetUserRequest, DefaultApiListUsersRequest, DefaultApiGetOrCreateUserRequest, DefaultApiUpdateUserRequest, DefaultApiDeleteUserRequest, DefaultApiGetStateRequest, DefaultApiSetStateRequest, DefaultApiPatchStateRequest, DefaultApiCallActionRequest, DefaultApiConfigureIntegrationRequest, DefaultApiCreatePersonalAccessTokenRequest, DefaultApiDeletePersonalAccessTokenRequest, DefaultApiListPublicIntegrationsRequest, DefaultApiGetPublicIntegrationByIdRequest, DefaultApiGetPublicIntegrationRequest, DefaultApiCreateBotRequest, DefaultApiUpdateBotRequest, DefaultApiTransferBotRequest, DefaultApiListBotsRequest, DefaultApiGetBotRequest, DefaultApiDeleteBotRequest, DefaultApiGetBotLogsRequest, DefaultApiGetBotWebchatRequest, DefaultApiGetBotAnalyticsRequest, DefaultApiListBotIssuesRequest, DefaultApiDeleteBotIssueRequest, DefaultApiListBotIssueEventsRequest, DefaultApiCreateWorkspaceRequest, DefaultApiGetWorkspaceRequest, DefaultApiListWorkspaceUsagesRequest, DefaultApiGetWorkspaceQuotaRequest, DefaultApiListWorkspaceQuotasRequest, DefaultApiUpdateWorkspaceRequest, DefaultApiListWorkspacesRequest, DefaultApiChangeWorkspacePlanRequest, DefaultApiDeleteWorkspaceRequest, DefaultApiGetAuditRecordsRequest, DefaultApiListWorkspaceMembersRequest, DefaultApiDeleteWorkspaceMemberRequest, DefaultApiCreateWorkspaceMemberRequest, DefaultApiUpdateWorkspaceMemberRequest, DefaultApiCreateIntegrationRequest, DefaultApiUpdateIntegrationRequest, DefaultApiListIntegrationsRequest, DefaultApiGetIntegrationRequest, DefaultApiGetIntegrationLogsRequest, DefaultApiGetIntegrationByNameRequest, DefaultApiDeleteIntegrationRequest, DefaultApiGetUsageRequest, DefaultApiListUsageHistoryRequest, DefaultApiIntrospectRequest, DefaultApiCreateFileRequest, DefaultApiGetFileRequest, DefaultApiDownloadFileRequest, DefaultApiDeleteFileRequest, DefaultApiListFilesRequest } from '.'; | ||
import { Configuration, DefaultApiCreateConversationRequest, DefaultApiGetConversationRequest, DefaultApiListConversationsRequest, DefaultApiGetOrCreateConversationRequest, DefaultApiUpdateConversationRequest, DefaultApiDeleteConversationRequest, DefaultApiCreateEventRequest, DefaultApiGetEventRequest, DefaultApiListEventsRequest, DefaultApiCreateMessageRequest, DefaultApiGetOrCreateMessageRequest, DefaultApiGetMessageRequest, DefaultApiUpdateMessageRequest, DefaultApiListMessagesRequest, DefaultApiDeleteMessageRequest, DefaultApiCreateUserRequest, DefaultApiGetUserRequest, DefaultApiListUsersRequest, DefaultApiGetOrCreateUserRequest, DefaultApiUpdateUserRequest, DefaultApiDeleteUserRequest, DefaultApiGetStateRequest, DefaultApiSetStateRequest, DefaultApiPatchStateRequest, DefaultApiCallActionRequest, DefaultApiConfigureIntegrationRequest, DefaultApiCreatePersonalAccessTokenRequest, DefaultApiDeletePersonalAccessTokenRequest, DefaultApiListPublicIntegrationsRequest, DefaultApiGetPublicIntegrationByIdRequest, DefaultApiGetPublicIntegrationRequest, DefaultApiCreateBotRequest, DefaultApiUpdateBotRequest, DefaultApiTransferBotRequest, DefaultApiListBotsRequest, DefaultApiGetBotRequest, DefaultApiDeleteBotRequest, DefaultApiGetBotLogsRequest, DefaultApiGetBotWebchatRequest, DefaultApiGetBotAnalyticsRequest, DefaultApiListBotIssuesRequest, DefaultApiDeleteBotIssueRequest, DefaultApiListBotIssueEventsRequest, DefaultApiGetWorkspaceBillingDetailsRequest, DefaultApiSetWorkspacePaymentMethodRequest, DefaultApiListWorkspaceInvoicesRequest, DefaultApiChargeWorkspaceUnpaidInvoicesRequest, DefaultApiCreateWorkspaceRequest, DefaultApiGetWorkspaceRequest, DefaultApiListWorkspaceUsagesRequest, DefaultApiGetWorkspaceQuotaRequest, DefaultApiListWorkspaceQuotasRequest, DefaultApiUpdateWorkspaceRequest, DefaultApiListWorkspacesRequest, DefaultApiChangeWorkspacePlanRequest, DefaultApiDeleteWorkspaceRequest, DefaultApiGetAuditRecordsRequest, DefaultApiListWorkspaceMembersRequest, DefaultApiDeleteWorkspaceMemberRequest, DefaultApiCreateWorkspaceMemberRequest, DefaultApiUpdateWorkspaceMemberRequest, DefaultApiCreateIntegrationRequest, DefaultApiUpdateIntegrationRequest, DefaultApiListIntegrationsRequest, DefaultApiGetIntegrationRequest, DefaultApiGetIntegrationLogsRequest, DefaultApiGetIntegrationByNameRequest, DefaultApiDeleteIntegrationRequest, DefaultApiGetUsageRequest, DefaultApiListUsageHistoryRequest, DefaultApiIntrospectRequest, DefaultApiCreateFileRequest, DefaultApiGetFileRequest, DefaultApiDownloadFileRequest, DefaultApiDeleteFileRequest, DefaultApiListFilesRequest } from '.'; | ||
export declare class ApiClient { | ||
@@ -52,2 +52,6 @@ private _innerClient; | ||
listBotIssueEvents: (props: ListBotIssueEventsProps) => Promise<import("./api").ListBotIssueEventsResponse>; | ||
getWorkspaceBillingDetails: (props: GetWorkspaceBillingDetailsProps) => Promise<import("./api").GetWorkspaceBillingDetailsResponse>; | ||
setWorkspacePaymentMethod: ({ id, ...setWorkspacePaymentMethodBody }: SetWorkspacePaymentMethodProps) => Promise<import("./api").SetWorkspacePaymentMethodResponse>; | ||
listWorkspaceInvoices: (props: ListWorkspaceInvoicesProps) => Promise<import("./api").ListWorkspaceInvoicesResponse>; | ||
chargeWorkspaceUnpaidInvoices: ({ id, ...chargeWorkspaceUnpaidInvoicesBody }: ChargeWorkspaceUnpaidInvoicesProps) => Promise<import("./api").ChargeWorkspaceUnpaidInvoicesResponse>; | ||
createWorkspace: (createWorkspaceBody: CreateWorkspaceProps) => Promise<import("./api").CreateWorkspaceResponse>; | ||
@@ -126,2 +130,6 @@ getWorkspace: (props: GetWorkspaceProps) => Promise<import("./api").GetWorkspaceResponse>; | ||
export type ListBotIssueEventsProps = Merge<DefaultApiListBotIssueEventsRequest, {}>; | ||
export type GetWorkspaceBillingDetailsProps = Merge<DefaultApiGetWorkspaceBillingDetailsRequest, {}>; | ||
export type SetWorkspacePaymentMethodProps = Merge<Except<DefaultApiSetWorkspacePaymentMethodRequest, 'setWorkspacePaymentMethodBody'>, NonNullable<DefaultApiSetWorkspacePaymentMethodRequest['setWorkspacePaymentMethodBody']>>; | ||
export type ListWorkspaceInvoicesProps = Merge<DefaultApiListWorkspaceInvoicesRequest, {}>; | ||
export type ChargeWorkspaceUnpaidInvoicesProps = Merge<Except<DefaultApiChargeWorkspaceUnpaidInvoicesRequest, 'chargeWorkspaceUnpaidInvoicesBody'>, NonNullable<DefaultApiChargeWorkspaceUnpaidInvoicesRequest['chargeWorkspaceUnpaidInvoicesBody']>>; | ||
export type CreateWorkspaceProps = Merge<Except<DefaultApiCreateWorkspaceRequest, 'createWorkspaceBody'>, NonNullable<DefaultApiCreateWorkspaceRequest['createWorkspaceBody']>>; | ||
@@ -128,0 +136,0 @@ export type GetWorkspaceProps = Merge<DefaultApiGetWorkspaceRequest, {}>; |
@@ -6,3 +6,3 @@ /// <reference types="node" /> | ||
* | ||
* The version of the OpenAPI document: 0.10.0 | ||
* The version of the OpenAPI document: 0.12.1 | ||
* | ||
@@ -9,0 +9,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 0.10.0 | ||
* The version of the OpenAPI document: 0.12.1 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 0.10.0 | ||
* The version of the OpenAPI document: 0.12.1 | ||
* | ||
@@ -8,0 +8,0 @@ * |
{ | ||
"name": "@botpress/client", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "Botpress Client", | ||
@@ -24,5 +24,5 @@ "main": "./dist/index.cjs", | ||
"devDependencies": { | ||
"@botpress/api": "0.10.0", | ||
"@botpress/api": "0.12.1", | ||
"esbuild": "^0.16.12" | ||
} | ||
} |
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 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
2542508
11048