@botpress/sdk 4.15.9 → 4.15.11

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.
@@ -45,6 +45,7 @@ export type IntegrationDefinitionProps<TName extends string = string, TVersion e
45
45
  extraOperations?: Record<string, {
46
46
  enabled: boolean;
47
47
  }>;
48
+ useLegacyZuiTransformer?: boolean;
48
49
  };
49
50
  };
50
51
  type EntitiesOfPackage<TPackage extends InterfacePackage> = {
@@ -52,6 +52,9 @@ export type InterfaceDefinitionProps<TName extends string = string, TVersion ext
52
52
  channels?: {
53
53
  [K in keyof TChannels]: GenericChannelDefinition<TEntities, TChannels[K]>;
54
54
  };
55
+ __advanced?: {
56
+ useLegacyZuiTransformer?: boolean;
57
+ };
55
58
  };
56
59
  export declare class InterfaceDefinition<TName extends string = string, TVersion extends string = string, TEntities extends BaseEntities = BaseEntities, TActions extends BaseActions = BaseActions, TEvents extends BaseEvents = BaseEvents, TChannels extends BaseChannels = BaseChannels> {
57
60
  readonly props: InterfaceDefinitionProps<TName, TVersion, TEntities, TActions, TEvents, TChannels>;
@@ -74,6 +77,7 @@ export declare class InterfaceDefinition<TName extends string = string, TVersion
74
77
  readonly channels: {
75
78
  [K in keyof TChannels]: ChannelDefinition<TChannels[K]>;
76
79
  };
80
+ readonly __advanced: this['props']['__advanced'];
77
81
  constructor(props: InterfaceDefinitionProps<TName, TVersion, TEntities, TActions, TEvents, TChannels>);
78
82
  private _getEntityReference;
79
83
  }
@@ -93,6 +93,9 @@ export type PluginDefinitionProps<TName extends string = string, TVersion extend
93
93
  workflows?: {
94
94
  [K in keyof TWorkflows]: WorkflowDefinition<TWorkflows[K]>;
95
95
  };
96
+ __advanced?: {
97
+ useLegacyZuiTransformer?: boolean;
98
+ };
96
99
  };
97
100
  export declare class PluginDefinition<TName extends string = string, TVersion extends string = string, TConfig extends BaseConfig = BaseConfig, TStates extends BaseStates = BaseStates, TEvents extends BaseEvents = BaseEvents, TActions extends BaseActions = BaseActions, TInterfaces extends BaseInterfaces = BaseInterfaces, TIntegrations extends BaseIntegrations = BaseIntegrations, TTables extends BaseTables = BaseTables, TWorkflows extends BaseWorkflows = BaseWorkflows> {
98
101
  readonly props: PluginDefinitionProps<TName, TVersion, TConfig, TStates, TEvents, TActions, TInterfaces, TIntegrations, TTables, TWorkflows>;
@@ -123,6 +126,7 @@ export declare class PluginDefinition<TName extends string = string, TVersion ex
123
126
  [K in keyof TTables]: TableDefinition<TTables[K]>;
124
127
  };
125
128
  readonly workflows: this['props']['workflows'];
129
+ readonly __advanced: this['props']['__advanced'];
126
130
  constructor(props: PluginDefinitionProps<TName, TVersion, TConfig, TStates, TEvents, TActions, TInterfaces, TIntegrations, TTables, TWorkflows>);
127
131
  /**
128
132
  * Returns a copy of the plugin definition where all entity references are
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/sdk",
3
- "version": "4.15.9",
3
+ "version": "4.15.11",
4
4
  "description": "Botpress SDK",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",