@botpress/sdk 2.0.1 → 2.0.3
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 +3 -3
- package/dist/bot/implementation.d.ts +13 -874
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +3 -3
- package/dist/integration/definition/branded-schema.d.ts +2 -2
- package/dist/integration/implementation.d.ts +1 -1
- package/dist/interface/definition.d.ts +2 -0
- package/dist/package.d.ts +0 -1
- package/dist/plugin/implementation.d.ts +12 -873
- package/dist/serve.d.ts +0 -1
- package/dist/utils/type-utils.d.ts +0 -1
- package/package.json +4 -7
|
@@ -26,6 +26,6 @@ export declare class IntegrationImplementation<TIntegration extends BaseIntegrat
|
|
|
26
26
|
readonly createConversation: IntegrationImplementationProps<TIntegration>['createConversation'];
|
|
27
27
|
readonly webhook: IntegrationImplementationProps<TIntegration>['handler'];
|
|
28
28
|
constructor(props: IntegrationImplementationProps<TIntegration>);
|
|
29
|
-
readonly handler: (req: import("../serve").Request) => Promise<
|
|
29
|
+
readonly handler: (req: import("../serve").Request) => Promise<import("../serve").Response | void>;
|
|
30
30
|
readonly start: (port?: number) => Promise<Server>;
|
|
31
31
|
}
|
|
@@ -19,6 +19,8 @@ type GenericChannelDefinition<TEntities extends BaseEntities, TChannel extends B
|
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
type GenericActionDefinition<TEntities extends BaseEntities, TAction extends BaseActions[string] = BaseActions[string]> = {
|
|
22
|
+
title?: string;
|
|
23
|
+
description?: string;
|
|
22
24
|
billable?: boolean;
|
|
23
25
|
cacheable?: boolean;
|
|
24
26
|
input: {
|
package/dist/package.d.ts
CHANGED