@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
@@ -32,7 +32,6 @@ import { GetRoleEventContract as MercuryGetRoleEventContract_v2020_12_25 } from
32
32
  import { GetSkillEventContract as MercuryGetSkillEventContract_v2020_12_25 } from './mercury/getSkill.v2020_12_25.contract';
33
33
  import { HealthEventContract as MercuryHealthEventContract_v2020_12_25 } from './mercury/health.v2020_12_25.contract';
34
34
  import { InstallSkillEventContract as MercuryInstallSkillEventContract_v2020_12_25 } from './mercury/installSkill.v2020_12_25.contract';
35
- import { InvokeChatCallbackEventContract as MercuryInvokeChatCallbackEventContract_v2020_12_25 } from './mercury/invokeChatCallback.v2020_12_25.contract';
36
35
  import { IsSkillInstalledEventContract as MercuryIsSkillInstalledEventContract_v2020_12_25 } from './mercury/isSkillInstalled.v2020_12_25.contract';
37
36
  import { ListInstalledSkillsEventContract as MercuryListInstalledSkillsEventContract_v2020_12_25 } from './mercury/listInstalledSkills.v2020_12_25.contract';
38
37
  import { ListLocationsEventContract as MercuryListLocationsEventContract_v2020_12_25 } from './mercury/listLocations.v2020_12_25.contract';
@@ -44,7 +43,6 @@ import { ListSecurityQuestionsEventContract as MercuryListSecurityQuestionsEvent
44
43
  import { ListSkillsEventContract as MercuryListSkillsEventContract_v2020_12_25 } from './mercury/listSkills.v2020_12_25.contract';
45
44
  import { LoginEventContract as MercuryLoginEventContract_v2020_12_25 } from './mercury/login.v2020_12_25.contract';
46
45
  import { LogoutEventContract as MercuryLogoutEventContract_v2020_12_25 } from './mercury/logout.v2020_12_25.contract';
47
- import { RegisterChatbotsEventContract as MercuryRegisterChatbotsEventContract_v2020_12_25 } from './mercury/registerChatbots.v2020_12_25.contract';
48
46
  import { RegisterConversationTopicsEventContract as MercuryRegisterConversationTopicsEventContract_v2020_12_25 } from './mercury/registerConversationTopics.v2020_12_25.contract';
49
47
  import { RegisterDeviceEventContract as MercuryRegisterDeviceEventContract_v2020_12_25 } from './mercury/registerDevice.v2020_12_25.contract';
50
48
  import { RegisterEventsEventContract as MercuryRegisterEventsEventContract_v2020_12_25 } from './mercury/registerEvents.v2020_12_25.contract';
@@ -373,17 +371,6 @@ declare const _default: ({
373
371
  responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.InstallSkillResponsePayloadSchema;
374
372
  };
375
373
  };
376
- } | {
377
- eventSignatures: {
378
- 'invoke-chat-callback::v2020_12_25': {
379
- listenPermissions: {
380
- contractId: "chatbot-contract";
381
- permissionIdsAny: "can-register-chatbots"[];
382
- };
383
- emitPayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackEmitTargetAndPayloadSchema;
384
- responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackResponsePayloadSchema;
385
- };
386
- };
387
374
  } | {
388
375
  eventSignatures: {
389
376
  'is-skill-installed::v2020_12_25': {
@@ -461,18 +448,6 @@ declare const _default: ({
461
448
  responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.LogoutResponsePayloadSchema;
462
449
  };
463
450
  };
464
- } | {
465
- eventSignatures: {
466
- 'register-chatbots::v2020_12_25': {
467
- isGlobal: true;
468
- listenPermissions: {
469
- contractId: "chatbot-contract";
470
- permissionIdsAny: "can-register-chatbots"[];
471
- };
472
- emitPayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsEmitTargetAndPayloadSchema;
473
- responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsResponsePayloadSchema;
474
- };
475
- };
476
451
  } | {
477
452
  eventSignatures: {
478
453
  'register-conversation-topics::v2020_12_25': {
@@ -759,7 +734,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
759
734
  'get-skill::v2020_12_25': MercuryGetSkillEventContract_v2020_12_25['eventSignatures']['get-skill::v2020_12_25'];
760
735
  'health::v2020_12_25': MercuryHealthEventContract_v2020_12_25['eventSignatures']['health::v2020_12_25'];
761
736
  'install-skill::v2020_12_25': MercuryInstallSkillEventContract_v2020_12_25['eventSignatures']['install-skill::v2020_12_25'];
762
- 'invoke-chat-callback::v2020_12_25': MercuryInvokeChatCallbackEventContract_v2020_12_25['eventSignatures']['invoke-chat-callback::v2020_12_25'];
763
737
  'is-skill-installed::v2020_12_25': MercuryIsSkillInstalledEventContract_v2020_12_25['eventSignatures']['is-skill-installed::v2020_12_25'];
764
738
  'list-installed-skills::v2020_12_25': MercuryListInstalledSkillsEventContract_v2020_12_25['eventSignatures']['list-installed-skills::v2020_12_25'];
765
739
  'list-locations::v2020_12_25': MercuryListLocationsEventContract_v2020_12_25['eventSignatures']['list-locations::v2020_12_25'];
@@ -771,7 +745,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
771
745
  'list-skills::v2020_12_25': MercuryListSkillsEventContract_v2020_12_25['eventSignatures']['list-skills::v2020_12_25'];
772
746
  'login::v2020_12_25': MercuryLoginEventContract_v2020_12_25['eventSignatures']['login::v2020_12_25'];
773
747
  'logout::v2020_12_25': MercuryLogoutEventContract_v2020_12_25['eventSignatures']['logout::v2020_12_25'];
774
- 'register-chatbots::v2020_12_25': MercuryRegisterChatbotsEventContract_v2020_12_25['eventSignatures']['register-chatbots::v2020_12_25'];
775
748
  'register-conversation-topics::v2020_12_25': MercuryRegisterConversationTopicsEventContract_v2020_12_25['eventSignatures']['register-conversation-topics::v2020_12_25'];
776
749
  'register-device::v2020_12_25': MercuryRegisterDeviceEventContract_v2020_12_25['eventSignatures']['register-device::v2020_12_25'];
777
750
  'register-events::v2020_12_25': MercuryRegisterEventsEventContract_v2020_12_25['eventSignatures']['register-events::v2020_12_25'];
@@ -37,7 +37,6 @@ const getRole_v2020_12_25_contract_1 = __importDefault(require("./mercury/getRol
37
37
  const getSkill_v2020_12_25_contract_1 = __importDefault(require("./mercury/getSkill.v2020_12_25.contract"));
38
38
  const health_v2020_12_25_contract_1 = __importDefault(require("./mercury/health.v2020_12_25.contract"));
39
39
  const installSkill_v2020_12_25_contract_1 = __importDefault(require("./mercury/installSkill.v2020_12_25.contract"));
40
- const invokeChatCallback_v2020_12_25_contract_1 = __importDefault(require("./mercury/invokeChatCallback.v2020_12_25.contract"));
41
40
  const isSkillInstalled_v2020_12_25_contract_1 = __importDefault(require("./mercury/isSkillInstalled.v2020_12_25.contract"));
42
41
  const listInstalledSkills_v2020_12_25_contract_1 = __importDefault(require("./mercury/listInstalledSkills.v2020_12_25.contract"));
43
42
  const listLocations_v2020_12_25_contract_1 = __importDefault(require("./mercury/listLocations.v2020_12_25.contract"));
@@ -49,7 +48,6 @@ const listSecurityQuestions_v2020_12_25_contract_1 = __importDefault(require("./
49
48
  const listSkills_v2020_12_25_contract_1 = __importDefault(require("./mercury/listSkills.v2020_12_25.contract"));
50
49
  const login_v2020_12_25_contract_1 = __importDefault(require("./mercury/login.v2020_12_25.contract"));
51
50
  const logout_v2020_12_25_contract_1 = __importDefault(require("./mercury/logout.v2020_12_25.contract"));
52
- const registerChatbots_v2020_12_25_contract_1 = __importDefault(require("./mercury/registerChatbots.v2020_12_25.contract"));
53
51
  const registerConversationTopics_v2020_12_25_contract_1 = __importDefault(require("./mercury/registerConversationTopics.v2020_12_25.contract"));
54
52
  const registerDevice_v2020_12_25_contract_1 = __importDefault(require("./mercury/registerDevice.v2020_12_25.contract"));
55
53
  const registerEvents_v2020_12_25_contract_1 = __importDefault(require("./mercury/registerEvents.v2020_12_25.contract"));
@@ -116,7 +114,6 @@ exports.default = [
116
114
  getSkill_v2020_12_25_contract_1.default,
117
115
  health_v2020_12_25_contract_1.default,
118
116
  installSkill_v2020_12_25_contract_1.default,
119
- invokeChatCallback_v2020_12_25_contract_1.default,
120
117
  isSkillInstalled_v2020_12_25_contract_1.default,
121
118
  listInstalledSkills_v2020_12_25_contract_1.default,
122
119
  listLocations_v2020_12_25_contract_1.default,
@@ -128,7 +125,6 @@ exports.default = [
128
125
  listSkills_v2020_12_25_contract_1.default,
129
126
  login_v2020_12_25_contract_1.default,
130
127
  logout_v2020_12_25_contract_1.default,
131
- registerChatbots_v2020_12_25_contract_1.default,
132
128
  registerConversationTopics_v2020_12_25_contract_1.default,
133
129
  registerDevice_v2020_12_25_contract_1.default,
134
130
  registerEvents_v2020_12_25_contract_1.default,