@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.
Files changed (49) hide show
  1. package/build/.spruce/events/events.contract.d.ts +18 -5
  2. package/build/.spruce/events/events.contract.js +4 -2
  3. package/build/.spruce/events/mercury/invokeChatCallback.v2020_12_25.contract.d.ts +15 -0
  4. package/build/.spruce/events/mercury/invokeChatCallback.v2020_12_25.contract.js +22 -0
  5. package/build/.spruce/events/mercury/{registerChatBot.v2020_12_25.contract.d.ts → registerChatBots.v2020_12_25.contract.d.ts} +6 -6
  6. package/build/.spruce/events/mercury/{registerChatBot.v2020_12_25.contract.js → registerChatBots.v2020_12_25.contract.js} +6 -6
  7. package/build/.spruce/permissions/permissions.types.d.ts +3 -3
  8. package/build/.spruce/schemas/mercury/v2020_12_25/chatBotCallbacks.schema.js +6 -0
  9. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackEmitTargetAndPayload.schema.d.ts +3 -0
  10. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackEmitTargetAndPayload.schema.js +37 -0
  11. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackPayload.schema.d.ts +3 -0
  12. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackPayload.schema.js +24 -0
  13. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackResponsePayload.schema.d.ts +3 -0
  14. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackResponsePayload.schema.js +19 -0
  15. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackTarget.schema.d.ts +3 -0
  16. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackTarget.schema.js +25 -0
  17. package/build/.spruce/schemas/mercury/v2020_12_25/registerChatBotsEmitTargetAndPayload.schema.d.ts +3 -0
  18. package/build/.spruce/schemas/mercury/v2020_12_25/{registerChatBotEmitTargetAndPayload.schema.js → registerChatBotsEmitTargetAndPayload.schema.js} +4 -11
  19. package/build/.spruce/schemas/mercury/v2020_12_25/registerChatBotsResponsePayload.schema.js +9 -3
  20. package/build/.spruce/schemas/schemas.types.d.ts +270 -173
  21. package/build/.spruce/settings.json +4 -0
  22. package/build/esm/.spruce/events/events.contract.d.ts +18 -5
  23. package/build/esm/.spruce/events/events.contract.js +4 -2
  24. package/build/esm/.spruce/events/mercury/invokeChatCallback.v2020_12_25.contract.d.ts +15 -0
  25. package/build/esm/.spruce/events/mercury/invokeChatCallback.v2020_12_25.contract.js +17 -0
  26. package/build/esm/.spruce/events/mercury/{registerChatBot.v2020_12_25.contract.d.ts → registerChatBots.v2020_12_25.contract.d.ts} +6 -6
  27. package/build/esm/.spruce/events/mercury/{registerChatBot.v2020_12_25.contract.js → registerChatBots.v2020_12_25.contract.js} +6 -6
  28. package/build/esm/.spruce/permissions/permissions.types.d.ts +3 -3
  29. package/build/esm/.spruce/schemas/mercury/v2020_12_25/chatBotCallbacks.schema.js +6 -0
  30. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackEmitTargetAndPayload.schema.d.ts +3 -0
  31. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackEmitTargetAndPayload.schema.js +32 -0
  32. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackPayload.schema.d.ts +3 -0
  33. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackPayload.schema.js +22 -0
  34. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackResponsePayload.schema.d.ts +3 -0
  35. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackResponsePayload.schema.js +17 -0
  36. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackTarget.schema.d.ts +3 -0
  37. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackTarget.schema.js +23 -0
  38. package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotsEmitTargetAndPayload.schema.d.ts +3 -0
  39. package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotsEmitTargetAndPayload.schema.js +18 -0
  40. package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotsResponsePayload.schema.js +6 -3
  41. package/build/esm/.spruce/schemas/schemas.types.d.ts +270 -173
  42. package/package.json +1 -1
  43. package/build/.spruce/schemas/mercury/v2020_12_25/registerChatBotEmitTargetAndPayload.schema.d.ts +0 -3
  44. package/build/.spruce/schemas/mercury/v2020_12_25/registerChatBotsPayload.schema.d.ts +0 -3
  45. package/build/.spruce/schemas/mercury/v2020_12_25/registerChatBotsPayload.schema.js +0 -25
  46. package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotEmitTargetAndPayload.schema.d.ts +0 -3
  47. package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotEmitTargetAndPayload.schema.js +0 -25
  48. package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatBotsPayload.schema.d.ts +0 -3
  49. 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;
@@ -1,3 +0,0 @@
1
- import { SpruceSchemas } from '../../schemas.types';
2
- declare const registerChatBotEmitTargetAndPayloadSchema: SpruceSchemas.Mercury.v2020_12_25.RegisterChatBotEmitTargetAndPayloadSchema;
3
- export default registerChatBotEmitTargetAndPayloadSchema;
@@ -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,3 +0,0 @@
1
- import { SpruceSchemas } from '../../schemas.types';
2
- declare const registerChatBotsPayloadSchema: SpruceSchemas.Mercury.v2020_12_25.RegisterChatBotsPayloadSchema;
3
- export default registerChatBotsPayloadSchema;
@@ -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;