@sprucelabs/mercury-core-events 22.0.188 → 22.1.0
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 +36 -0
- package/build/.spruce/events/events.contract.js +8 -0
- package/build/.spruce/events/mercury/listSecurityQuestions.v2020_12_25.contract.d.ts +11 -0
- package/build/.spruce/events/mercury/listSecurityQuestions.v2020_12_25.contract.js +18 -0
- package/build/.spruce/events/mercury/login.v2020_12_25.contract.d.ts +11 -0
- package/build/.spruce/events/mercury/login.v2020_12_25.contract.js +18 -0
- package/build/.spruce/events/mercury/resetPassword.v2020_12_25.contract.d.ts +11 -0
- package/build/.spruce/events/mercury/resetPassword.v2020_12_25.contract.js +18 -0
- package/build/.spruce/events/mercury/signup.v2020_12_25.contract.d.ts +11 -0
- package/build/.spruce/events/mercury/signup.v2020_12_25.contract.js +18 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/createPersonEmitPayload.schema.js +15 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsEmitTarget.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsEmitTarget.schema.js +18 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsEmitTargetAndPayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsEmitTargetAndPayload.schema.js +29 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsResponsePayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsResponsePayload.schema.js +21 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/loginEmitPayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/loginEmitPayload.schema.js +19 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/loginEmitTarget.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/loginEmitTarget.schema.js +19 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/loginEmitTargetAndPayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/loginEmitTargetAndPayload.schema.js +37 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/loginResponsePayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/loginResponsePayload.schema.js +29 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/resetPasswordEmitPayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/resetPasswordEmitPayload.schema.js +37 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/resetPasswordEmitTarget.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/resetPasswordEmitTarget.schema.js +19 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/resetPasswordEmitTargetAndPayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/resetPasswordEmitTargetAndPayload.schema.js +37 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/resetPasswordResponsePayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/resetPasswordResponsePayload.schema.js +23 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/securityQuestion.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/securityQuestion.schema.js +25 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/signupEmitPayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/signupEmitPayload.schema.js +53 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/signupEmitTargetAndPayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/signupEmitTargetAndPayload.schema.js +30 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/signupResponsePayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/signupResponsePayload.schema.js +29 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/updatePersonEmitPayload.schema.js +15 -0
- package/build/.spruce/schemas/schemas.types.d.ts +747 -254
- package/build/.spruce/settings.json +4 -0
- package/build/esm/.spruce/events/events.contract.d.ts +36 -0
- package/build/esm/.spruce/events/events.contract.js +8 -0
- package/build/esm/.spruce/events/mercury/listSecurityQuestions.v2020_12_25.contract.d.ts +11 -0
- package/build/esm/.spruce/events/mercury/listSecurityQuestions.v2020_12_25.contract.js +13 -0
- package/build/esm/.spruce/events/mercury/login.v2020_12_25.contract.d.ts +11 -0
- package/build/esm/.spruce/events/mercury/login.v2020_12_25.contract.js +13 -0
- package/build/esm/.spruce/events/mercury/resetPassword.v2020_12_25.contract.d.ts +11 -0
- package/build/esm/.spruce/events/mercury/resetPassword.v2020_12_25.contract.js +13 -0
- package/build/esm/.spruce/events/mercury/signup.v2020_12_25.contract.d.ts +11 -0
- package/build/esm/.spruce/events/mercury/signup.v2020_12_25.contract.js +13 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/createPersonEmitPayload.schema.js +12 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsEmitTarget.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsEmitTarget.schema.js +16 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsEmitTargetAndPayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsEmitTargetAndPayload.schema.js +24 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsResponsePayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsResponsePayload.schema.js +19 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/loginEmitPayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/loginEmitPayload.schema.js +17 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/loginEmitTarget.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/loginEmitTarget.schema.js +17 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/loginEmitTargetAndPayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/loginEmitTargetAndPayload.schema.js +32 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/loginResponsePayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/loginResponsePayload.schema.js +24 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/resetPasswordEmitPayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/resetPasswordEmitPayload.schema.js +32 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/resetPasswordEmitTarget.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/resetPasswordEmitTarget.schema.js +17 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/resetPasswordEmitTargetAndPayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/resetPasswordEmitTargetAndPayload.schema.js +32 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/resetPasswordResponsePayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/resetPasswordResponsePayload.schema.js +18 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/securityQuestion.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/securityQuestion.schema.js +23 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/signupEmitPayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/signupEmitPayload.schema.js +48 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/signupEmitTargetAndPayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/signupEmitTargetAndPayload.schema.js +25 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/signupResponsePayload.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/signupResponsePayload.schema.js +24 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/updatePersonEmitPayload.schema.js +12 -0
- package/build/esm/.spruce/schemas/schemas.types.d.ts +747 -254
- package/package.json +4 -4
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
],
|
|
14
14
|
"events": {
|
|
15
15
|
"lastSync": {
|
|
16
|
+
"contractDestinationDir": "#spruce/events",
|
|
17
|
+
"schemaTypesLookupDir": "#spruce/schemas",
|
|
18
|
+
"skillEventContractTypesFile": "@sprucelabs/mercury-types/build/types/mercury.types",
|
|
19
|
+
"eventBuilderFile": "@sprucelabs/mercury-types",
|
|
16
20
|
"shouldSyncOnlyCoreEvents": "true"
|
|
17
21
|
}
|
|
18
22
|
}
|
|
@@ -38,7 +38,9 @@ import { ListOrganizationsEventContract as MercuryListOrganizationsEventContract
|
|
|
38
38
|
import { ListPeopleEventContract as MercuryListPeopleEventContract_v2020_12_25 } from "./mercury/listPeople.v2020_12_25.contract";
|
|
39
39
|
import { ListPermissionContractsEventContract as MercuryListPermissionContractsEventContract_v2020_12_25 } from "./mercury/listPermissionContracts.v2020_12_25.contract";
|
|
40
40
|
import { ListRolesEventContract as MercuryListRolesEventContract_v2020_12_25 } from "./mercury/listRoles.v2020_12_25.contract";
|
|
41
|
+
import { ListSecurityQuestionsEventContract as MercuryListSecurityQuestionsEventContract_v2020_12_25 } from "./mercury/listSecurityQuestions.v2020_12_25.contract";
|
|
41
42
|
import { ListSkillsEventContract as MercuryListSkillsEventContract_v2020_12_25 } from "./mercury/listSkills.v2020_12_25.contract";
|
|
43
|
+
import { LoginEventContract as MercuryLoginEventContract_v2020_12_25 } from "./mercury/login.v2020_12_25.contract";
|
|
42
44
|
import { LogoutEventContract as MercuryLogoutEventContract_v2020_12_25 } from "./mercury/logout.v2020_12_25.contract";
|
|
43
45
|
import { RegisterChatbotsEventContract as MercuryRegisterChatbotsEventContract_v2020_12_25 } from "./mercury/registerChatbots.v2020_12_25.contract";
|
|
44
46
|
import { RegisterConversationTopicsEventContract as MercuryRegisterConversationTopicsEventContract_v2020_12_25 } from "./mercury/registerConversationTopics.v2020_12_25.contract";
|
|
@@ -49,9 +51,11 @@ import { RegisterPushTokenEventContract as MercuryRegisterPushTokenEventContract
|
|
|
49
51
|
import { RegisterSkillEventContract as MercuryRegisterSkillEventContract_v2020_12_25 } from "./mercury/registerSkill.v2020_12_25.contract";
|
|
50
52
|
import { RemoveRoleEventContract as MercuryRemoveRoleEventContract_v2020_12_25 } from "./mercury/removeRole.v2020_12_25.contract";
|
|
51
53
|
import { RequestPinEventContract as MercuryRequestPinEventContract_v2020_12_25 } from "./mercury/requestPin.v2020_12_25.contract";
|
|
54
|
+
import { ResetPasswordEventContract as MercuryResetPasswordEventContract_v2020_12_25 } from "./mercury/resetPassword.v2020_12_25.contract";
|
|
52
55
|
import { SavePermissionsEventContract as MercurySavePermissionsEventContract_v2020_12_25 } from "./mercury/savePermissions.v2020_12_25.contract";
|
|
53
56
|
import { ScrambleAccountEventContract as MercuryScrambleAccountEventContract_v2020_12_25 } from "./mercury/scrambleAccount.v2020_12_25.contract";
|
|
54
57
|
import { SendMessageEventContract as MercurySendMessageEventContract_v2020_12_25 } from "./mercury/sendMessage.v2020_12_25.contract";
|
|
58
|
+
import { SignupEventContract as MercurySignupEventContract_v2020_12_25 } from "./mercury/signup.v2020_12_25.contract";
|
|
55
59
|
import { SubmitErrorMessageFeedbackEventContract as MercurySubmitErrorMessageFeedbackEventContract_v2020_12_25 } from "./mercury/submitErrorMessageFeedback.v2020_12_25.contract";
|
|
56
60
|
import { SyncEventContractsEventContract as MercurySyncEventContractsEventContract_v2020_12_25 } from "./mercury/syncEventContracts.v2020_12_25.contract";
|
|
57
61
|
import { SyncPermissionContractsEventContract as MercurySyncPermissionContractsEventContract_v2020_12_25 } from "./mercury/syncPermissionContracts.v2020_12_25.contract";
|
|
@@ -403,6 +407,13 @@ declare const _default: ({
|
|
|
403
407
|
responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.ListRolesResponsePayloadSchema;
|
|
404
408
|
};
|
|
405
409
|
};
|
|
410
|
+
} | {
|
|
411
|
+
eventSignatures: {
|
|
412
|
+
'list-security-questions::v2020_12_25': {
|
|
413
|
+
emitPayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.ListSecurityQuestionsEmitTargetAndPayloadSchema;
|
|
414
|
+
responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.ListSecurityQuestionsResponsePayloadSchema;
|
|
415
|
+
};
|
|
416
|
+
};
|
|
406
417
|
} | {
|
|
407
418
|
eventSignatures: {
|
|
408
419
|
'list-skills::v2020_12_25': {
|
|
@@ -410,6 +421,13 @@ declare const _default: ({
|
|
|
410
421
|
responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.ListSkillsResponsePayloadSchema;
|
|
411
422
|
};
|
|
412
423
|
};
|
|
424
|
+
} | {
|
|
425
|
+
eventSignatures: {
|
|
426
|
+
'login::v2020_12_25': {
|
|
427
|
+
emitPayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.LoginEmitTargetAndPayloadSchema;
|
|
428
|
+
responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.LoginResponsePayloadSchema;
|
|
429
|
+
};
|
|
430
|
+
};
|
|
413
431
|
} | {
|
|
414
432
|
eventSignatures: {
|
|
415
433
|
'logout::v2020_12_25': {
|
|
@@ -517,6 +535,13 @@ declare const _default: ({
|
|
|
517
535
|
responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.RequestPinResponsePayloadSchema;
|
|
518
536
|
};
|
|
519
537
|
};
|
|
538
|
+
} | {
|
|
539
|
+
eventSignatures: {
|
|
540
|
+
'reset-password::v2020_12_25': {
|
|
541
|
+
emitPayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.ResetPasswordEmitTargetAndPayloadSchema;
|
|
542
|
+
responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.ResetPasswordResponsePayloadSchema;
|
|
543
|
+
};
|
|
544
|
+
};
|
|
520
545
|
} | {
|
|
521
546
|
eventSignatures: {
|
|
522
547
|
'save-permissions::v2020_12_25': {
|
|
@@ -538,6 +563,13 @@ declare const _default: ({
|
|
|
538
563
|
responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.SendMessageResponsePayloadSchema;
|
|
539
564
|
};
|
|
540
565
|
};
|
|
566
|
+
} | {
|
|
567
|
+
eventSignatures: {
|
|
568
|
+
'signup::v2020_12_25': {
|
|
569
|
+
emitPayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.SignupEmitTargetAndPayloadSchema;
|
|
570
|
+
responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.SignupResponsePayloadSchema;
|
|
571
|
+
};
|
|
572
|
+
};
|
|
541
573
|
} | {
|
|
542
574
|
eventSignatures: {
|
|
543
575
|
'submit-error-message-feedback::v2020_12_25': {
|
|
@@ -686,7 +718,9 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
686
718
|
'list-people::v2020_12_25': MercuryListPeopleEventContract_v2020_12_25['eventSignatures']['list-people::v2020_12_25'];
|
|
687
719
|
'list-permission-contracts::v2020_12_25': MercuryListPermissionContractsEventContract_v2020_12_25['eventSignatures']['list-permission-contracts::v2020_12_25'];
|
|
688
720
|
'list-roles::v2020_12_25': MercuryListRolesEventContract_v2020_12_25['eventSignatures']['list-roles::v2020_12_25'];
|
|
721
|
+
'list-security-questions::v2020_12_25': MercuryListSecurityQuestionsEventContract_v2020_12_25['eventSignatures']['list-security-questions::v2020_12_25'];
|
|
689
722
|
'list-skills::v2020_12_25': MercuryListSkillsEventContract_v2020_12_25['eventSignatures']['list-skills::v2020_12_25'];
|
|
723
|
+
'login::v2020_12_25': MercuryLoginEventContract_v2020_12_25['eventSignatures']['login::v2020_12_25'];
|
|
690
724
|
'logout::v2020_12_25': MercuryLogoutEventContract_v2020_12_25['eventSignatures']['logout::v2020_12_25'];
|
|
691
725
|
'register-chatbots::v2020_12_25': MercuryRegisterChatbotsEventContract_v2020_12_25['eventSignatures']['register-chatbots::v2020_12_25'];
|
|
692
726
|
'register-conversation-topics::v2020_12_25': MercuryRegisterConversationTopicsEventContract_v2020_12_25['eventSignatures']['register-conversation-topics::v2020_12_25'];
|
|
@@ -697,9 +731,11 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
697
731
|
'register-skill::v2020_12_25': MercuryRegisterSkillEventContract_v2020_12_25['eventSignatures']['register-skill::v2020_12_25'];
|
|
698
732
|
'remove-role::v2020_12_25': MercuryRemoveRoleEventContract_v2020_12_25['eventSignatures']['remove-role::v2020_12_25'];
|
|
699
733
|
'request-pin::v2020_12_25': MercuryRequestPinEventContract_v2020_12_25['eventSignatures']['request-pin::v2020_12_25'];
|
|
734
|
+
'reset-password::v2020_12_25': MercuryResetPasswordEventContract_v2020_12_25['eventSignatures']['reset-password::v2020_12_25'];
|
|
700
735
|
'save-permissions::v2020_12_25': MercurySavePermissionsEventContract_v2020_12_25['eventSignatures']['save-permissions::v2020_12_25'];
|
|
701
736
|
'scramble-account::v2020_12_25': MercuryScrambleAccountEventContract_v2020_12_25['eventSignatures']['scramble-account::v2020_12_25'];
|
|
702
737
|
'send-message::v2020_12_25': MercurySendMessageEventContract_v2020_12_25['eventSignatures']['send-message::v2020_12_25'];
|
|
738
|
+
'signup::v2020_12_25': MercurySignupEventContract_v2020_12_25['eventSignatures']['signup::v2020_12_25'];
|
|
703
739
|
'submit-error-message-feedback::v2020_12_25': MercurySubmitErrorMessageFeedbackEventContract_v2020_12_25['eventSignatures']['submit-error-message-feedback::v2020_12_25'];
|
|
704
740
|
'sync-event-contracts::v2020_12_25': MercurySyncEventContractsEventContract_v2020_12_25['eventSignatures']['sync-event-contracts::v2020_12_25'];
|
|
705
741
|
'sync-permission-contracts::v2020_12_25': MercurySyncPermissionContractsEventContract_v2020_12_25['eventSignatures']['sync-permission-contracts::v2020_12_25'];
|
|
@@ -38,7 +38,9 @@ import mercuryListOrganizationsEventContract_v2020_12_25 from './mercury/listOrg
|
|
|
38
38
|
import mercuryListPeopleEventContract_v2020_12_25 from './mercury/listPeople.v2020_12_25.contract.js';
|
|
39
39
|
import mercuryListPermissionContractsEventContract_v2020_12_25 from './mercury/listPermissionContracts.v2020_12_25.contract.js';
|
|
40
40
|
import mercuryListRolesEventContract_v2020_12_25 from './mercury/listRoles.v2020_12_25.contract.js';
|
|
41
|
+
import mercuryListSecurityQuestionsEventContract_v2020_12_25 from './mercury/listSecurityQuestions.v2020_12_25.contract.js';
|
|
41
42
|
import mercuryListSkillsEventContract_v2020_12_25 from './mercury/listSkills.v2020_12_25.contract.js';
|
|
43
|
+
import mercuryLoginEventContract_v2020_12_25 from './mercury/login.v2020_12_25.contract.js';
|
|
42
44
|
import mercuryLogoutEventContract_v2020_12_25 from './mercury/logout.v2020_12_25.contract.js';
|
|
43
45
|
import mercuryRegisterChatbotsEventContract_v2020_12_25 from './mercury/registerChatbots.v2020_12_25.contract.js';
|
|
44
46
|
import mercuryRegisterConversationTopicsEventContract_v2020_12_25 from './mercury/registerConversationTopics.v2020_12_25.contract.js';
|
|
@@ -49,9 +51,11 @@ import mercuryRegisterPushTokenEventContract_v2020_12_25 from './mercury/registe
|
|
|
49
51
|
import mercuryRegisterSkillEventContract_v2020_12_25 from './mercury/registerSkill.v2020_12_25.contract.js';
|
|
50
52
|
import mercuryRemoveRoleEventContract_v2020_12_25 from './mercury/removeRole.v2020_12_25.contract.js';
|
|
51
53
|
import mercuryRequestPinEventContract_v2020_12_25 from './mercury/requestPin.v2020_12_25.contract.js';
|
|
54
|
+
import mercuryResetPasswordEventContract_v2020_12_25 from './mercury/resetPassword.v2020_12_25.contract.js';
|
|
52
55
|
import mercurySavePermissionsEventContract_v2020_12_25 from './mercury/savePermissions.v2020_12_25.contract.js';
|
|
53
56
|
import mercuryScrambleAccountEventContract_v2020_12_25 from './mercury/scrambleAccount.v2020_12_25.contract.js';
|
|
54
57
|
import mercurySendMessageEventContract_v2020_12_25 from './mercury/sendMessage.v2020_12_25.contract.js';
|
|
58
|
+
import mercurySignupEventContract_v2020_12_25 from './mercury/signup.v2020_12_25.contract.js';
|
|
55
59
|
import mercurySubmitErrorMessageFeedbackEventContract_v2020_12_25 from './mercury/submitErrorMessageFeedback.v2020_12_25.contract.js';
|
|
56
60
|
import mercurySyncEventContractsEventContract_v2020_12_25 from './mercury/syncEventContracts.v2020_12_25.contract.js';
|
|
57
61
|
import mercurySyncPermissionContractsEventContract_v2020_12_25 from './mercury/syncPermissionContracts.v2020_12_25.contract.js';
|
|
@@ -108,7 +112,9 @@ export default [
|
|
|
108
112
|
mercuryListPeopleEventContract_v2020_12_25,
|
|
109
113
|
mercuryListPermissionContractsEventContract_v2020_12_25,
|
|
110
114
|
mercuryListRolesEventContract_v2020_12_25,
|
|
115
|
+
mercuryListSecurityQuestionsEventContract_v2020_12_25,
|
|
111
116
|
mercuryListSkillsEventContract_v2020_12_25,
|
|
117
|
+
mercuryLoginEventContract_v2020_12_25,
|
|
112
118
|
mercuryLogoutEventContract_v2020_12_25,
|
|
113
119
|
mercuryRegisterChatbotsEventContract_v2020_12_25,
|
|
114
120
|
mercuryRegisterConversationTopicsEventContract_v2020_12_25,
|
|
@@ -119,9 +125,11 @@ export default [
|
|
|
119
125
|
mercuryRegisterSkillEventContract_v2020_12_25,
|
|
120
126
|
mercuryRemoveRoleEventContract_v2020_12_25,
|
|
121
127
|
mercuryRequestPinEventContract_v2020_12_25,
|
|
128
|
+
mercuryResetPasswordEventContract_v2020_12_25,
|
|
122
129
|
mercurySavePermissionsEventContract_v2020_12_25,
|
|
123
130
|
mercuryScrambleAccountEventContract_v2020_12_25,
|
|
124
131
|
mercurySendMessageEventContract_v2020_12_25,
|
|
132
|
+
mercurySignupEventContract_v2020_12_25,
|
|
125
133
|
mercurySubmitErrorMessageFeedbackEventContract_v2020_12_25,
|
|
126
134
|
mercurySyncEventContractsEventContract_v2020_12_25,
|
|
127
135
|
mercurySyncPermissionContractsEventContract_v2020_12_25,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./../../permissions/permissions.types";
|
|
2
|
+
declare const listSecurityQuestionsEventContract: {
|
|
3
|
+
eventSignatures: {
|
|
4
|
+
'list-security-questions::v2020_12_25': {
|
|
5
|
+
emitPayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.ListSecurityQuestionsEmitTargetAndPayloadSchema;
|
|
6
|
+
responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.ListSecurityQuestionsResponsePayloadSchema;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default listSecurityQuestionsEventContract;
|
|
11
|
+
export type ListSecurityQuestionsEventContract = typeof listSecurityQuestionsEventContract;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./../../permissions/permissions.types";
|
|
2
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
3
|
+
import listSecurityQuestionsEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/listSecurityQuestionsEmitTargetAndPayload.schema.js';
|
|
4
|
+
import listSecurityQuestionsResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/listSecurityQuestionsResponsePayload.schema.js';
|
|
5
|
+
const listSecurityQuestionsEventContract = buildEventContract({
|
|
6
|
+
eventSignatures: {
|
|
7
|
+
'list-security-questions::v2020_12_25': {
|
|
8
|
+
emitPayloadSchema: listSecurityQuestionsEmitTargetAndPayloadSchema,
|
|
9
|
+
responsePayloadSchema: listSecurityQuestionsResponsePayloadSchema,
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
export default listSecurityQuestionsEventContract;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./../../permissions/permissions.types";
|
|
2
|
+
declare const loginEventContract: {
|
|
3
|
+
eventSignatures: {
|
|
4
|
+
'login::v2020_12_25': {
|
|
5
|
+
emitPayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.LoginEmitTargetAndPayloadSchema;
|
|
6
|
+
responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.LoginResponsePayloadSchema;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default loginEventContract;
|
|
11
|
+
export type LoginEventContract = typeof loginEventContract;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./../../permissions/permissions.types";
|
|
2
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
3
|
+
import loginEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/loginEmitTargetAndPayload.schema.js';
|
|
4
|
+
import loginResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/loginResponsePayload.schema.js';
|
|
5
|
+
const loginEventContract = buildEventContract({
|
|
6
|
+
eventSignatures: {
|
|
7
|
+
'login::v2020_12_25': {
|
|
8
|
+
emitPayloadSchema: loginEmitTargetAndPayloadSchema,
|
|
9
|
+
responsePayloadSchema: loginResponsePayloadSchema,
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
export default loginEventContract;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./../../permissions/permissions.types";
|
|
2
|
+
declare const resetPasswordEventContract: {
|
|
3
|
+
eventSignatures: {
|
|
4
|
+
'reset-password::v2020_12_25': {
|
|
5
|
+
emitPayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.ResetPasswordEmitTargetAndPayloadSchema;
|
|
6
|
+
responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.ResetPasswordResponsePayloadSchema;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default resetPasswordEventContract;
|
|
11
|
+
export type ResetPasswordEventContract = typeof resetPasswordEventContract;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./../../permissions/permissions.types";
|
|
2
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
3
|
+
import resetPasswordEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/resetPasswordEmitTargetAndPayload.schema.js';
|
|
4
|
+
import resetPasswordResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/resetPasswordResponsePayload.schema.js';
|
|
5
|
+
const resetPasswordEventContract = buildEventContract({
|
|
6
|
+
eventSignatures: {
|
|
7
|
+
'reset-password::v2020_12_25': {
|
|
8
|
+
emitPayloadSchema: resetPasswordEmitTargetAndPayloadSchema,
|
|
9
|
+
responsePayloadSchema: resetPasswordResponsePayloadSchema,
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
export default resetPasswordEventContract;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./../../permissions/permissions.types";
|
|
2
|
+
declare const signupEventContract: {
|
|
3
|
+
eventSignatures: {
|
|
4
|
+
'signup::v2020_12_25': {
|
|
5
|
+
emitPayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.SignupEmitTargetAndPayloadSchema;
|
|
6
|
+
responsePayloadSchema: import("@sprucelabs/mercury-types").SpruceSchemas.Mercury.v2020_12_25.SignupResponsePayloadSchema;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default signupEventContract;
|
|
11
|
+
export type SignupEventContract = typeof signupEventContract;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./../../permissions/permissions.types";
|
|
2
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
3
|
+
import signupEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/signupEmitTargetAndPayload.schema.js';
|
|
4
|
+
import signupResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/signupResponsePayload.schema.js';
|
|
5
|
+
const signupEventContract = buildEventContract({
|
|
6
|
+
eventSignatures: {
|
|
7
|
+
'signup::v2020_12_25': {
|
|
8
|
+
emitPayloadSchema: signupEmitTargetAndPayloadSchema,
|
|
9
|
+
responsePayloadSchema: signupResponsePayloadSchema,
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
export default signupEventContract;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
import securityQuestionSchema_v2020_12_25 from './securityQuestion.schema.js';
|
|
2
3
|
const createPersonEmitPayloadSchema = {
|
|
3
4
|
id: 'createPersonEmitPayload',
|
|
4
5
|
version: 'v2020_12_25',
|
|
@@ -45,6 +46,17 @@ const createPersonEmitPayloadSchema = {
|
|
|
45
46
|
hint: 'A number that can be texted',
|
|
46
47
|
options: undefined
|
|
47
48
|
},
|
|
49
|
+
/** . */
|
|
50
|
+
'password': {
|
|
51
|
+
type: 'text',
|
|
52
|
+
options: undefined
|
|
53
|
+
},
|
|
54
|
+
/** . */
|
|
55
|
+
'securityQuestions': {
|
|
56
|
+
type: 'schema',
|
|
57
|
+
isArray: true,
|
|
58
|
+
options: { schema: securityQuestionSchema_v2020_12_25, }
|
|
59
|
+
},
|
|
48
60
|
}
|
|
49
61
|
};
|
|
50
62
|
SchemaRegistry.getInstance().trackSchema(createPersonEmitPayloadSchema);
|
package/build/esm/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsEmitTarget.schema.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
const listSecurityQuestionsEmitTargetSchema = {
|
|
3
|
+
id: 'listSecurityQuestionsEmitTarget',
|
|
4
|
+
version: 'v2020_12_25',
|
|
5
|
+
namespace: 'Mercury',
|
|
6
|
+
name: '',
|
|
7
|
+
fields: {
|
|
8
|
+
/** . */
|
|
9
|
+
'phone': {
|
|
10
|
+
type: 'phone',
|
|
11
|
+
options: undefined
|
|
12
|
+
},
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
SchemaRegistry.getInstance().trackSchema(listSecurityQuestionsEmitTargetSchema);
|
|
16
|
+
export default listSecurityQuestionsEmitTargetSchema;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
import eventSourceSchema_v2021_09_13 from './../../spruceEventUtils/v2021_09_13/eventSource.schema.js';
|
|
3
|
+
import listSecurityQuestionsEmitTargetSchema_v2020_12_25 from './listSecurityQuestionsEmitTarget.schema.js';
|
|
4
|
+
const listSecurityQuestionsEmitTargetAndPayloadSchema = {
|
|
5
|
+
id: 'listSecurityQuestionsEmitTargetAndPayload',
|
|
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
|
+
'target': {
|
|
18
|
+
type: 'schema',
|
|
19
|
+
options: { schema: listSecurityQuestionsEmitTargetSchema_v2020_12_25, }
|
|
20
|
+
},
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
SchemaRegistry.getInstance().trackSchema(listSecurityQuestionsEmitTargetAndPayloadSchema);
|
|
24
|
+
export default listSecurityQuestionsEmitTargetAndPayloadSchema;
|
package/build/esm/.spruce/schemas/mercury/v2020_12_25/listSecurityQuestionsResponsePayload.schema.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
const listSecurityQuestionsResponsePayloadSchema = {
|
|
3
|
+
id: 'listSecurityQuestionsResponsePayload',
|
|
4
|
+
version: 'v2020_12_25',
|
|
5
|
+
namespace: 'Mercury',
|
|
6
|
+
name: '',
|
|
7
|
+
fields: {
|
|
8
|
+
/** . */
|
|
9
|
+
'questions': {
|
|
10
|
+
type: 'text',
|
|
11
|
+
isRequired: true,
|
|
12
|
+
isArray: true,
|
|
13
|
+
minArrayLength: 0,
|
|
14
|
+
options: undefined
|
|
15
|
+
},
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
SchemaRegistry.getInstance().trackSchema(listSecurityQuestionsResponsePayloadSchema);
|
|
19
|
+
export default listSecurityQuestionsResponsePayloadSchema;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
const loginEmitPayloadSchema = {
|
|
3
|
+
id: 'loginEmitPayload',
|
|
4
|
+
version: 'v2020_12_25',
|
|
5
|
+
namespace: 'Mercury',
|
|
6
|
+
name: '',
|
|
7
|
+
fields: {
|
|
8
|
+
/** . */
|
|
9
|
+
'password': {
|
|
10
|
+
type: 'text',
|
|
11
|
+
isRequired: true,
|
|
12
|
+
options: undefined
|
|
13
|
+
},
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
SchemaRegistry.getInstance().trackSchema(loginEmitPayloadSchema);
|
|
17
|
+
export default loginEmitPayloadSchema;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
const loginEmitTargetSchema = {
|
|
3
|
+
id: 'loginEmitTarget',
|
|
4
|
+
version: 'v2020_12_25',
|
|
5
|
+
namespace: 'Mercury',
|
|
6
|
+
name: '',
|
|
7
|
+
fields: {
|
|
8
|
+
/** . */
|
|
9
|
+
'phone': {
|
|
10
|
+
type: 'phone',
|
|
11
|
+
isRequired: true,
|
|
12
|
+
options: undefined
|
|
13
|
+
},
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
SchemaRegistry.getInstance().trackSchema(loginEmitTargetSchema);
|
|
17
|
+
export default loginEmitTargetSchema;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
import eventSourceSchema_v2021_09_13 from './../../spruceEventUtils/v2021_09_13/eventSource.schema.js';
|
|
3
|
+
import loginEmitTargetSchema_v2020_12_25 from './loginEmitTarget.schema.js';
|
|
4
|
+
import loginEmitPayloadSchema_v2020_12_25 from './loginEmitPayload.schema.js';
|
|
5
|
+
const loginEmitTargetAndPayloadSchema = {
|
|
6
|
+
id: 'loginEmitTargetAndPayload',
|
|
7
|
+
version: 'v2020_12_25',
|
|
8
|
+
namespace: 'Mercury',
|
|
9
|
+
name: '',
|
|
10
|
+
fields: {
|
|
11
|
+
/** Source. */
|
|
12
|
+
'source': {
|
|
13
|
+
label: 'Source',
|
|
14
|
+
type: 'schema',
|
|
15
|
+
options: { schema: eventSourceSchema_v2021_09_13, }
|
|
16
|
+
},
|
|
17
|
+
/** . */
|
|
18
|
+
'target': {
|
|
19
|
+
type: 'schema',
|
|
20
|
+
isRequired: true,
|
|
21
|
+
options: { schema: loginEmitTargetSchema_v2020_12_25, }
|
|
22
|
+
},
|
|
23
|
+
/** . */
|
|
24
|
+
'payload': {
|
|
25
|
+
type: 'schema',
|
|
26
|
+
isRequired: true,
|
|
27
|
+
options: { schema: loginEmitPayloadSchema_v2020_12_25, }
|
|
28
|
+
},
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
SchemaRegistry.getInstance().trackSchema(loginEmitTargetAndPayloadSchema);
|
|
32
|
+
export default loginEmitTargetAndPayloadSchema;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
import personSchema_v2020_07_22 from './../../spruce/v2020_07_22/person.schema.js';
|
|
3
|
+
const loginResponsePayloadSchema = {
|
|
4
|
+
id: 'loginResponsePayload',
|
|
5
|
+
version: 'v2020_12_25',
|
|
6
|
+
namespace: 'Mercury',
|
|
7
|
+
name: '',
|
|
8
|
+
fields: {
|
|
9
|
+
/** . */
|
|
10
|
+
'token': {
|
|
11
|
+
type: 'text',
|
|
12
|
+
isRequired: true,
|
|
13
|
+
options: undefined
|
|
14
|
+
},
|
|
15
|
+
/** . */
|
|
16
|
+
'person': {
|
|
17
|
+
type: 'schema',
|
|
18
|
+
isRequired: true,
|
|
19
|
+
options: { schema: personSchema_v2020_07_22, }
|
|
20
|
+
},
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
SchemaRegistry.getInstance().trackSchema(loginResponsePayloadSchema);
|
|
24
|
+
export default loginResponsePayloadSchema;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
import securityQuestionSchema_v2020_12_25 from './securityQuestion.schema.js';
|
|
3
|
+
const resetPasswordEmitPayloadSchema = {
|
|
4
|
+
id: 'resetPasswordEmitPayload',
|
|
5
|
+
version: 'v2020_12_25',
|
|
6
|
+
namespace: 'Mercury',
|
|
7
|
+
name: '',
|
|
8
|
+
fields: {
|
|
9
|
+
/** . */
|
|
10
|
+
'securityQuestions': {
|
|
11
|
+
type: 'schema',
|
|
12
|
+
isRequired: true,
|
|
13
|
+
isArray: true,
|
|
14
|
+
minArrayLength: 0,
|
|
15
|
+
options: { schema: securityQuestionSchema_v2020_12_25, }
|
|
16
|
+
},
|
|
17
|
+
/** . */
|
|
18
|
+
'newPassword': {
|
|
19
|
+
type: 'text',
|
|
20
|
+
isRequired: true,
|
|
21
|
+
options: undefined
|
|
22
|
+
},
|
|
23
|
+
/** . */
|
|
24
|
+
'newPasswordConfirm': {
|
|
25
|
+
type: 'text',
|
|
26
|
+
isRequired: true,
|
|
27
|
+
options: undefined
|
|
28
|
+
},
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
SchemaRegistry.getInstance().trackSchema(resetPasswordEmitPayloadSchema);
|
|
32
|
+
export default resetPasswordEmitPayloadSchema;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
const resetPasswordEmitTargetSchema = {
|
|
3
|
+
id: 'resetPasswordEmitTarget',
|
|
4
|
+
version: 'v2020_12_25',
|
|
5
|
+
namespace: 'Mercury',
|
|
6
|
+
name: '',
|
|
7
|
+
fields: {
|
|
8
|
+
/** . */
|
|
9
|
+
'phone': {
|
|
10
|
+
type: 'phone',
|
|
11
|
+
isRequired: true,
|
|
12
|
+
options: undefined
|
|
13
|
+
},
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
SchemaRegistry.getInstance().trackSchema(resetPasswordEmitTargetSchema);
|
|
17
|
+
export default resetPasswordEmitTargetSchema;
|
package/build/esm/.spruce/schemas/mercury/v2020_12_25/resetPasswordEmitTargetAndPayload.schema.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
import eventSourceSchema_v2021_09_13 from './../../spruceEventUtils/v2021_09_13/eventSource.schema.js';
|
|
3
|
+
import resetPasswordEmitTargetSchema_v2020_12_25 from './resetPasswordEmitTarget.schema.js';
|
|
4
|
+
import resetPasswordEmitPayloadSchema_v2020_12_25 from './resetPasswordEmitPayload.schema.js';
|
|
5
|
+
const resetPasswordEmitTargetAndPayloadSchema = {
|
|
6
|
+
id: 'resetPasswordEmitTargetAndPayload',
|
|
7
|
+
version: 'v2020_12_25',
|
|
8
|
+
namespace: 'Mercury',
|
|
9
|
+
name: '',
|
|
10
|
+
fields: {
|
|
11
|
+
/** Source. */
|
|
12
|
+
'source': {
|
|
13
|
+
label: 'Source',
|
|
14
|
+
type: 'schema',
|
|
15
|
+
options: { schema: eventSourceSchema_v2021_09_13, }
|
|
16
|
+
},
|
|
17
|
+
/** . */
|
|
18
|
+
'target': {
|
|
19
|
+
type: 'schema',
|
|
20
|
+
isRequired: true,
|
|
21
|
+
options: { schema: resetPasswordEmitTargetSchema_v2020_12_25, }
|
|
22
|
+
},
|
|
23
|
+
/** . */
|
|
24
|
+
'payload': {
|
|
25
|
+
type: 'schema',
|
|
26
|
+
isRequired: true,
|
|
27
|
+
options: { schema: resetPasswordEmitPayloadSchema_v2020_12_25, }
|
|
28
|
+
},
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
SchemaRegistry.getInstance().trackSchema(resetPasswordEmitTargetAndPayloadSchema);
|
|
32
|
+
export default resetPasswordEmitTargetAndPayloadSchema;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
import personSchema_v2020_07_22 from './../../spruce/v2020_07_22/person.schema.js';
|
|
3
|
+
const resetPasswordResponsePayloadSchema = {
|
|
4
|
+
id: 'resetPasswordResponsePayload',
|
|
5
|
+
version: 'v2020_12_25',
|
|
6
|
+
namespace: 'Mercury',
|
|
7
|
+
name: '',
|
|
8
|
+
fields: {
|
|
9
|
+
/** . */
|
|
10
|
+
'person': {
|
|
11
|
+
type: 'schema',
|
|
12
|
+
isRequired: true,
|
|
13
|
+
options: { schema: personSchema_v2020_07_22, }
|
|
14
|
+
},
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
SchemaRegistry.getInstance().trackSchema(resetPasswordResponsePayloadSchema);
|
|
18
|
+
export default resetPasswordResponsePayloadSchema;
|