@botpress/sdk 2.0.1 → 2.0.2

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.
@@ -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<void | import("../serve").Response>;
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
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import * as integration from './integration';
3
2
  import * as plugin from './plugin';
4
3
  type NameVersion = {