@sprucelabs/mercury-core-events 20.2.3 → 20.3.1
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/build/.spruce/events/events.contract.d.ts +18 -5
- package/build/.spruce/events/events.contract.js +4 -2
- package/build/.spruce/events/mercury/invokeChatCallback.v2020_12_25.contract.d.ts +15 -0
- package/build/.spruce/events/mercury/invokeChatCallback.v2020_12_25.contract.js +22 -0
- package/build/.spruce/events/mercury/{registerChatBot.v2020_12_25.contract.d.ts → registerChatBots.v2020_12_25.contract.d.ts} +6 -6
- package/build/.spruce/events/mercury/{registerChatBot.v2020_12_25.contract.js → registerChatBots.v2020_12_25.contract.js} +6 -6
- package/build/.spruce/permissions/permissions.types.d.ts +3 -3
- package/build/.spruce/schemas/mercury/v2020_12_25/chatBotCallbacks.schema.js +6 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackEmitTargetAndPayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackEmitTargetAndPayload.schema.js +37 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackPayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackPayload.schema.js +24 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackResponsePayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackResponsePayload.schema.js +19 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackTarget.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackTarget.schema.js +25 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/registerChatBotsEmitTargetAndPayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/{registerChatBotEmitTargetAndPayload.schema.js → registerChatBotsEmitTargetAndPayload.schema.js} +4 -11
- package/build/.spruce/schemas/mercury/v2020_12_25/registerChatBotsResponsePayload.schema.js +9 -3
- package/build/.spruce/schemas/schemas.types.d.ts +270 -173
- package/build/.spruce/settings.json +4 -0
- package/build/esm/.spruce/events/events.contract.d.ts +18 -5
- package/build/esm/.spruce/events/events.contract.js +4 -2
- package/build/esm/.spruce/events/mercury/invokeChatCallback.v2020_12_25.contract.d.ts +15 -0
- package/build/esm/.spruce/events/mercury/invokeChatCallback.v2020_12_25.contract.js +17 -0
- package/build/esm/.spruce/events/mercury/{registerChatBot.v2020_12_25.contract.d.ts → registerChatBots.v2020_12_25.contract.d.ts} +6 -6
- package/build/esm/.spruce/events/mercury/{registerChatBot.v2020_12_25.contract.js → registerChatBots.v2020_12_25.contract.js} +6 -6
- package/build/esm/.spruce/permissions/permissions.types.d.ts +3 -3
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/chatBotCallbacks.schema.js +6 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackEmitTargetAndPayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackEmitTargetAndPayload.schema.js +32 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackPayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackPayload.schema.js +22 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackResponsePayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackResponsePayload.schema.js +17 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackTarget.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackTarget.schema.js +23 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotsEmitTargetAndPayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotsEmitTargetAndPayload.schema.js +18 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotsResponsePayload.schema.js +6 -3
- package/build/esm/.spruce/schemas/schemas.types.d.ts +270 -173
- package/package.json +1 -1
- package/build/.spruce/schemas/mercury/v2020_12_25/registerChatBotEmitTargetAndPayload.schema.d.ts +0 -3
- package/build/.spruce/schemas/mercury/v2020_12_25/registerChatBotsPayload.schema.d.ts +0 -3
- package/build/.spruce/schemas/mercury/v2020_12_25/registerChatBotsPayload.schema.js +0 -25
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotEmitTargetAndPayload.schema.d.ts +0 -3
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotEmitTargetAndPayload.schema.js +0 -25
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotsPayload.schema.d.ts +0 -3
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotsPayload.schema.js +0 -20
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const schema_1 = require("@sprucelabs/schema");
|
|
7
|
-
const chatbot_schema_1 = __importDefault(require("./chatbot.schema"));
|
|
8
|
-
const registerChatBotsPayloadSchema = {
|
|
9
|
-
id: 'registerChatBotsPayload',
|
|
10
|
-
version: 'v2020_12_25',
|
|
11
|
-
namespace: 'Mercury',
|
|
12
|
-
name: '',
|
|
13
|
-
fields: {
|
|
14
|
-
/** . */
|
|
15
|
-
'bots': {
|
|
16
|
-
type: 'schema',
|
|
17
|
-
isRequired: true,
|
|
18
|
-
isArray: true,
|
|
19
|
-
minArrayLength: 0,
|
|
20
|
-
options: { schema: chatbot_schema_1.default, }
|
|
21
|
-
},
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
schema_1.SchemaRegistry.getInstance().trackSchema(registerChatBotsPayloadSchema);
|
|
25
|
-
exports.default = registerChatBotsPayloadSchema;
|
package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotEmitTargetAndPayload.schema.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
-
import eventSourceSchema_v2021_09_13 from './../../spruceEventUtils/v2021_09_13/eventSource.schema.js';
|
|
3
|
-
import registerChatBotsPayloadSchema_v2020_12_25 from './registerChatBotsPayload.schema.js';
|
|
4
|
-
const registerChatBotEmitTargetAndPayloadSchema = {
|
|
5
|
-
id: 'registerChatBotEmitTargetAndPayload',
|
|
6
|
-
version: 'v2020_12_25',
|
|
7
|
-
namespace: 'Mercury',
|
|
8
|
-
name: '',
|
|
9
|
-
fields: {
|
|
10
|
-
/** Source. */
|
|
11
|
-
'source': {
|
|
12
|
-
label: 'Source',
|
|
13
|
-
type: 'schema',
|
|
14
|
-
options: { schema: eventSourceSchema_v2021_09_13, }
|
|
15
|
-
},
|
|
16
|
-
/** . */
|
|
17
|
-
'payload': {
|
|
18
|
-
type: 'schema',
|
|
19
|
-
isRequired: true,
|
|
20
|
-
options: { schema: registerChatBotsPayloadSchema_v2020_12_25, }
|
|
21
|
-
},
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
SchemaRegistry.getInstance().trackSchema(registerChatBotEmitTargetAndPayloadSchema);
|
|
25
|
-
export default registerChatBotEmitTargetAndPayloadSchema;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
-
import chatbotSchema_v2020_12_25 from './chatbot.schema.js';
|
|
3
|
-
const registerChatBotsPayloadSchema = {
|
|
4
|
-
id: 'registerChatBotsPayload',
|
|
5
|
-
version: 'v2020_12_25',
|
|
6
|
-
namespace: 'Mercury',
|
|
7
|
-
name: '',
|
|
8
|
-
fields: {
|
|
9
|
-
/** . */
|
|
10
|
-
'bots': {
|
|
11
|
-
type: 'schema',
|
|
12
|
-
isRequired: true,
|
|
13
|
-
isArray: true,
|
|
14
|
-
minArrayLength: 0,
|
|
15
|
-
options: { schema: chatbotSchema_v2020_12_25, }
|
|
16
|
-
},
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
SchemaRegistry.getInstance().trackSchema(registerChatBotsPayloadSchema);
|
|
20
|
-
export default registerChatBotsPayloadSchema;
|