@sprucelabs/mercury-core-events 25.0.123 → 25.0.125

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 (47) hide show
  1. package/build/.spruce/events/events.contract.d.ts +0 -27
  2. package/build/.spruce/events/events.contract.js +0 -4
  3. package/build/.spruce/schemas/schemas.types.d.ts +356 -625
  4. package/build/esm/.spruce/events/events.contract.d.ts +0 -27
  5. package/build/esm/.spruce/events/events.contract.js +0 -4
  6. package/build/esm/.spruce/schemas/schemas.types.d.ts +356 -625
  7. package/package.json +8 -8
  8. package/build/.spruce/events/mercury/invokeChatCallback.v2020_12_25.contract.d.ts +0 -15
  9. package/build/.spruce/events/mercury/invokeChatCallback.v2020_12_25.contract.js +0 -19
  10. package/build/.spruce/events/mercury/registerChatbots.v2020_12_25.contract.d.ts +0 -16
  11. package/build/.spruce/events/mercury/registerChatbots.v2020_12_25.contract.js +0 -20
  12. package/build/.spruce/schemas/mercury/v2020_12_25/chatbot.schema.d.ts +0 -3
  13. package/build/.spruce/schemas/mercury/v2020_12_25/chatbot.schema.js +0 -63
  14. package/build/.spruce/schemas/mercury/v2020_12_25/chatbotCallbacks.schema.d.ts +0 -3
  15. package/build/.spruce/schemas/mercury/v2020_12_25/chatbotCallbacks.schema.js +0 -25
  16. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackEmitTargetAndPayload.schema.d.ts +0 -3
  17. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackEmitTargetAndPayload.schema.js +0 -37
  18. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackPayload.schema.d.ts +0 -3
  19. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackPayload.schema.js +0 -24
  20. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackResponsePayload.schema.d.ts +0 -3
  21. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackResponsePayload.schema.js +0 -19
  22. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackTarget.schema.d.ts +0 -3
  23. package/build/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackTarget.schema.js +0 -25
  24. package/build/.spruce/schemas/mercury/v2020_12_25/registerChatbotsEmitTargetAndPayload.schema.d.ts +0 -3
  25. package/build/.spruce/schemas/mercury/v2020_12_25/registerChatbotsEmitTargetAndPayload.schema.js +0 -23
  26. package/build/.spruce/schemas/mercury/v2020_12_25/registerChatbotsResponsePayload.schema.d.ts +0 -3
  27. package/build/.spruce/schemas/mercury/v2020_12_25/registerChatbotsResponsePayload.schema.js +0 -25
  28. package/build/esm/.spruce/events/mercury/invokeChatCallback.v2020_12_25.contract.d.ts +0 -15
  29. package/build/esm/.spruce/events/mercury/invokeChatCallback.v2020_12_25.contract.js +0 -14
  30. package/build/esm/.spruce/events/mercury/registerChatbots.v2020_12_25.contract.d.ts +0 -16
  31. package/build/esm/.spruce/events/mercury/registerChatbots.v2020_12_25.contract.js +0 -15
  32. package/build/esm/.spruce/schemas/mercury/v2020_12_25/chatbot.schema.d.ts +0 -3
  33. package/build/esm/.spruce/schemas/mercury/v2020_12_25/chatbot.schema.js +0 -58
  34. package/build/esm/.spruce/schemas/mercury/v2020_12_25/chatbotCallbacks.schema.d.ts +0 -3
  35. package/build/esm/.spruce/schemas/mercury/v2020_12_25/chatbotCallbacks.schema.js +0 -23
  36. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackEmitTargetAndPayload.schema.d.ts +0 -3
  37. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackEmitTargetAndPayload.schema.js +0 -32
  38. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackPayload.schema.d.ts +0 -3
  39. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackPayload.schema.js +0 -22
  40. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackResponsePayload.schema.d.ts +0 -3
  41. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackResponsePayload.schema.js +0 -17
  42. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackTarget.schema.d.ts +0 -3
  43. package/build/esm/.spruce/schemas/mercury/v2020_12_25/invokeChatCallbackTarget.schema.js +0 -23
  44. package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatbotsEmitTargetAndPayload.schema.d.ts +0 -3
  45. package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatbotsEmitTargetAndPayload.schema.js +0 -18
  46. package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatbotsResponsePayload.schema.d.ts +0 -3
  47. package/build/esm/.spruce/schemas/mercury/v2020_12_25/registerChatbotsResponsePayload.schema.js +0 -20
@@ -1,17 +0,0 @@
1
- import { SchemaRegistry } from '@sprucelabs/schema';
2
- const invokeChatCallbackResponsePayloadSchema = {
3
- id: 'invokeChatCallbackResponsePayload',
4
- version: 'v2020_12_25',
5
- namespace: 'Mercury',
6
- name: '',
7
- fields: {
8
- /** . */
9
- 'message': {
10
- type: 'text',
11
- isRequired: true,
12
- options: undefined
13
- },
14
- }
15
- };
16
- SchemaRegistry.getInstance().trackSchema(invokeChatCallbackResponsePayloadSchema);
17
- export default invokeChatCallbackResponsePayloadSchema;
@@ -1,3 +0,0 @@
1
- import { SpruceSchemas } from '../../schemas.types';
2
- declare const invokeChatCallbackTargetSchema: SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema;
3
- export default invokeChatCallbackTargetSchema;
@@ -1,23 +0,0 @@
1
- import { SchemaRegistry } from '@sprucelabs/schema';
2
- const invokeChatCallbackTargetSchema = {
3
- id: 'invokeChatCallbackTarget',
4
- version: 'v2020_12_25',
5
- namespace: 'Mercury',
6
- name: '',
7
- fields: {
8
- /** . */
9
- 'skillId': {
10
- type: 'id',
11
- isRequired: true,
12
- options: undefined
13
- },
14
- /** . */
15
- 'chatPersonId': {
16
- type: 'id',
17
- isRequired: true,
18
- options: undefined
19
- },
20
- }
21
- };
22
- SchemaRegistry.getInstance().trackSchema(invokeChatCallbackTargetSchema);
23
- export default invokeChatCallbackTargetSchema;
@@ -1,3 +0,0 @@
1
- import { SpruceSchemas } from '../../schemas.types';
2
- declare const registerChatbotsEmitTargetAndPayloadSchema: SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsEmitTargetAndPayloadSchema;
3
- export default registerChatbotsEmitTargetAndPayloadSchema;
@@ -1,18 +0,0 @@
1
- import { SchemaRegistry } from '@sprucelabs/schema';
2
- import eventSourceSchema_v2021_09_13 from './../../spruceEventUtils/v2021_09_13/eventSource.schema.js';
3
- const registerChatbotsEmitTargetAndPayloadSchema = {
4
- id: 'registerChatbotsEmitTargetAndPayload',
5
- version: 'v2020_12_25',
6
- namespace: 'Mercury',
7
- name: '',
8
- fields: {
9
- /** Source. */
10
- 'source': {
11
- label: 'Source',
12
- type: 'schema',
13
- options: { schema: eventSourceSchema_v2021_09_13, }
14
- },
15
- }
16
- };
17
- SchemaRegistry.getInstance().trackSchema(registerChatbotsEmitTargetAndPayloadSchema);
18
- export default registerChatbotsEmitTargetAndPayloadSchema;
@@ -1,3 +0,0 @@
1
- import { SpruceSchemas } from '../../schemas.types';
2
- declare const registerChatbotsResponsePayloadSchema: SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsResponsePayloadSchema;
3
- export default registerChatbotsResponsePayloadSchema;
@@ -1,20 +0,0 @@
1
- import { SchemaRegistry } from '@sprucelabs/schema';
2
- import chatbotSchema_v2020_12_25 from './chatbot.schema.js';
3
- const registerChatbotsResponsePayloadSchema = {
4
- id: 'registerChatbotsResponsePayload',
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(registerChatbotsResponsePayloadSchema);
20
- export default registerChatbotsResponsePayloadSchema;