happy2 0.0.5 → 0.0.11
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/README.md +117 -63
- package/package.json +44 -22
- package/packages/happy2-server/PLUGINS.md +330 -0
- package/packages/happy2-server/README.md +190 -19
- package/packages/happy2-server/dist/cli.js +12 -5
- package/packages/happy2-server/dist/cli.js.map +1 -1
- package/packages/happy2-server/dist/index.d.ts +18 -8
- package/packages/happy2-server/dist/index.d.ts.map +1 -1
- package/packages/happy2-server/dist/index.js +14 -7
- package/packages/happy2-server/dist/index.js.map +1 -1
- package/packages/happy2-server/dist/modules/agent/agentChatBind.d.ts +19 -0
- package/packages/happy2-server/dist/modules/agent/agentChatBind.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentChatBind.js +48 -0
- package/packages/happy2-server/dist/modules/agent/agentChatBind.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentChatGetContext.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentChatGetContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentChatGetContext.js +89 -0
- package/packages/happy2-server/dist/modules/agent/agentChatGetContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentChatListUnfinishedIds.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentChatListUnfinishedIds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentChatListUnfinishedIds.js +17 -0
- package/packages/happy2-server/dist/modules/agent/agentChatListUnfinishedIds.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentConversationCreate.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentConversationCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentConversationCreate.js +61 -0
- package/packages/happy2-server/dist/modules/agent/agentConversationCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentCreate.d.ts +21 -0
- package/packages/happy2-server/dist/modules/agent/agentCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentCreate.js +96 -0
- package/packages/happy2-server/dist/modules/agent/agentCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultConversationEnsure.d.ts +10 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultConversationEnsure.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultConversationEnsure.js +57 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultConversationEnsure.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultCreate.d.ts +17 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultCreate.js +67 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRepair.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRepair.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRepair.js +42 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRepair.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRequire.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRequire.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRequire.js +19 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRequire.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortBindingList.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortBindingList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortBindingList.js +29 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortBindingList.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortGetContext.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortGetContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortGetContext.js +11 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortGetContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortInitialize.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortInitialize.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortInitialize.js +39 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortInitialize.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortUpdate.d.ts +15 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortUpdate.js +68 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCommitChange.d.ts +24 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCommitChange.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCommitChange.js +127 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCommitChange.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCompleteBuild.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCompleteBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCompleteBuild.js +41 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCompleteBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCreate.d.ts +17 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCreate.js +68 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageEnsureDefinitions.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentImageEnsureDefinitions.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageEnsureDefinitions.js +25 -0
- package/packages/happy2-server/dist/modules/agent/agentImageEnsureDefinitions.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFailBuild.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFailBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFailBuild.js +40 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFailBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFindDefinition.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFindDefinition.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFindDefinition.js +19 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFindDefinition.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGet.js +23 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetChangeContext.d.ts +26 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetChangeContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetChangeContext.js +74 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetChangeContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetReadyDefault.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetReadyDefault.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetReadyDefault.js +28 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetReadyDefault.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageList.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentImageList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageList.js +36 -0
- package/packages/happy2-server/dist/modules/agent/agentImageList.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageListRequestedBuildIds.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentImageListRequestedBuildIds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageListRequestedBuildIds.js +18 -0
- package/packages/happy2-server/dist/modules/agent/agentImageListRequestedBuildIds.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRecordBuildOutput.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRecordBuildOutput.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRecordBuildOutput.js +45 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRecordBuildOutput.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageReleaseBuildLeases.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentImageReleaseBuildLeases.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageReleaseBuildLeases.js +33 -0
- package/packages/happy2-server/dist/modules/agent/agentImageReleaseBuildLeases.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRenewBuildLease.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRenewBuildLease.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRenewBuildLease.js +21 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRenewBuildLease.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRequestBuild.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRequestBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRequestBuild.js +73 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRequestBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageSetDefault.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentImageSetDefault.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageSetDefault.js +55 -0
- package/packages/happy2-server/dist/modules/agent/agentImageSetDefault.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageTakeBuild.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentImageTakeBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageTakeBuild.js +77 -0
- package/packages/happy2-server/dist/modules/agent/agentImageTakeBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentRunAttach.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentRunAttach.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentRunAttach.js +31 -0
- package/packages/happy2-server/dist/modules/agent/agentRunAttach.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentDelete.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentDelete.js +39 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentList.js +46 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentList.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToAgent.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToAgent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToAgent.js +58 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToAgent.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToChannel.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToChannel.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToChannel.js +59 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToChannel.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAuthorizeManagement.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAuthorizeManagement.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAuthorizeManagement.js +10 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAuthorizeManagement.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretBindingList.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretBindingList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretBindingList.js +69 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretBindingList.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromAgent.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromAgent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromAgent.js +44 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromAgent.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromChannel.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromChannel.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromChannel.js +45 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromChannel.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretRecordRegistration.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretRecordRegistration.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretRecordRegistration.js +31 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretRecordRegistration.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnCheckpoint.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnCheckpoint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnCheckpoint.js +35 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnCheckpoint.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnComplete.d.ts +18 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnComplete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnComplete.js +15 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnComplete.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnFail.d.ts +18 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnFail.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnFail.js +21 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnFail.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnGetRunning.d.ts +21 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnGetRunning.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnGetRunning.js +21 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnGetRunning.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasRunnable.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasRunnable.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasRunnable.js +27 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasRunnable.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasUnfinished.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasUnfinished.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasUnfinished.js +18 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasUnfinished.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnPromptBuild.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnPromptBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnPromptBuild.js +10 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnPromptBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnReleaseLeases.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnReleaseLeases.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnReleaseLeases.js +18 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnReleaseLeases.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnRenewLease.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnRenewLease.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnRenewLease.js +21 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnRenewLease.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnStreamReply.d.ts +22 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnStreamReply.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnStreamReply.js +107 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnStreamReply.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnTakeNext.d.ts +21 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnTakeNext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnTakeNext.js +80 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnTakeNext.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentUsernameIsAvailable.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentUsernameIsAvailable.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentUsernameIsAvailable.js +18 -0
- package/packages/happy2-server/dist/modules/agent/agentUsernameIsAvailable.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentChatContext.d.ts +18 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentChatContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentChatContext.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentChatContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContext.d.ts +6 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContext.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContextDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContextDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContextDb.js +52 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContextDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentExecutionImage.d.ts +6 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentExecutionImage.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentExecutionImage.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentExecutionImage.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageBuild.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageBuild.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageDetailsSelection.d.ts +396 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageDetailsSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageDetailsSelection.js +9 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageDetailsSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageSelection.d.ts +341 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageSelection.js +22 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentReplyMutationId.d.ts +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentReplyMutationId.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentReplyMutationId.js +4 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentReplyMutationId.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretAssignment.d.ts +6 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretAssignment.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretAssignment.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretAssignment.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretBinding.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretBinding.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretBinding.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretBinding.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnPrompt.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnPrompt.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnPrompt.js +173 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnPrompt.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWork.d.ts +30 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWork.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWork.js +38 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWork.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWorkSelection.d.ts +248 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWorkSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWorkSelection.js +17 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWorkSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImage.d.ts +3 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImage.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImage.js +32 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImage.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImageDetails.d.ts +3 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImageDetails.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImageDetails.js +13 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImageDetails.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/asRigEventCheckpoint.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/impl/asRigEventCheckpoint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/asRigEventCheckpoint.js +18 -0
- package/packages/happy2-server/dist/modules/agent/impl/asRigEventCheckpoint.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/ensureDefaultAgentChannelsDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/impl/ensureDefaultAgentChannelsDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/ensureDefaultAgentChannelsDb.js +178 -0
- package/packages/happy2-server/dist/modules/agent/impl/ensureDefaultAgentChannelsDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/finishAgentTurn.d.ts +21 -0
- package/packages/happy2-server/dist/modules/agent/impl/finishAgentTurn.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/finishAgentTurn.js +123 -0
- package/packages/happy2-server/dist/modules/agent/impl/finishAgentTurn.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/maxAgentImageBuildLogCharacters.d.ts +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/maxAgentImageBuildLogCharacters.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/maxAgentImageBuildLogCharacters.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/maxAgentImageBuildLogCharacters.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/rigEventCheckpoint.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/rigEventCheckpoint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/rigEventCheckpoint.js +27 -0
- package/packages/happy2-server/dist/modules/agent/rigEventCheckpoint.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/rigEventGetCheckpoint.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/rigEventGetCheckpoint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/rigEventGetCheckpoint.js +23 -0
- package/packages/happy2-server/dist/modules/agent/rigEventGetCheckpoint.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/rigEventMarkTrimmed.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/rigEventMarkTrimmed.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/rigEventMarkTrimmed.js +24 -0
- package/packages/happy2-server/dist/modules/agent/rigEventMarkTrimmed.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/types.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/types.js +2 -0
- package/packages/happy2-server/dist/modules/agent/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/agents/daemon.d.ts +23 -12
- package/packages/happy2-server/dist/modules/agents/daemon.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/agents/daemon.js +38 -7
- package/packages/happy2-server/dist/modules/agents/daemon.js.map +1 -1
- package/packages/happy2-server/dist/modules/agents/index.d.ts +0 -2
- package/packages/happy2-server/dist/modules/agents/index.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/agents/index.js +0 -1
- package/packages/happy2-server/dist/modules/agents/index.js.map +1 -1
- package/packages/happy2-server/dist/modules/agents/service.d.ts +98 -15
- package/packages/happy2-server/dist/modules/agents/service.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/agents/service.js +759 -125
- package/packages/happy2-server/dist/modules/agents/service.js.map +1 -1
- package/packages/happy2-server/dist/modules/audit/auditLogList.d.ts +16 -0
- package/packages/happy2-server/dist/modules/audit/auditLogList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/audit/auditLogList.js +37 -0
- package/packages/happy2-server/dist/modules/audit/auditLogList.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountCreatePassword.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/accountCreatePassword.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountCreatePassword.js +23 -0
- package/packages/happy2-server/dist/modules/auth/accountCreatePassword.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOidc.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOidc.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOidc.js +20 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOidc.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOrCreateOidc.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOrCreateOidc.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOrCreateOidc.js +44 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOrCreateOidc.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountFindPassword.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/accountFindPassword.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountFindPassword.js +14 -0
- package/packages/happy2-server/dist/modules/auth/accountFindPassword.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountRegisterPassword.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/accountRegisterPassword.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountRegisterPassword.js +39 -0
- package/packages/happy2-server/dist/modules/auth/accountRegisterPassword.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/errors.d.ts +7 -0
- package/packages/happy2-server/dist/modules/auth/errors.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/errors.js +13 -0
- package/packages/happy2-server/dist/modules/auth/errors.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.d.ts +6 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.js +17 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.test.js +18 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/accountRow.d.ts +3 -0
- package/packages/happy2-server/dist/modules/auth/impl/accountRow.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/accountRow.js +2 -0
- package/packages/happy2-server/dist/modules/auth/impl/accountRow.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/asAccount.d.ts +4 -0
- package/packages/happy2-server/dist/modules/auth/impl/asAccount.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/asAccount.js +13 -0
- package/packages/happy2-server/dist/modules/auth/impl/asAccount.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/asSession.d.ts +7 -0
- package/packages/happy2-server/dist/modules/auth/impl/asSession.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/asSession.js +9 -0
- package/packages/happy2-server/dist/modules/auth/impl/asSession.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/authorizeNewRegistrationDb.d.ts +4 -0
- package/packages/happy2-server/dist/modules/auth/impl/authorizeNewRegistrationDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/authorizeNewRegistrationDb.js +42 -0
- package/packages/happy2-server/dist/modules/auth/impl/authorizeNewRegistrationDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/recordSessionEvent.d.ts +4 -0
- package/packages/happy2-server/dist/modules/auth/impl/recordSessionEvent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/recordSessionEvent.js +16 -0
- package/packages/happy2-server/dist/modules/auth/impl/recordSessionEvent.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/requireNewRegistrationRequestAllowedDb.d.ts +4 -0
- package/packages/happy2-server/dist/modules/auth/impl/requireNewRegistrationRequestAllowedDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/requireNewRegistrationRequestAllowedDb.js +28 -0
- package/packages/happy2-server/dist/modules/auth/impl/requireNewRegistrationRequestAllowedDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/tokenHash.d.ts +2 -0
- package/packages/happy2-server/dist/modules/auth/impl/tokenHash.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/tokenHash.js +5 -0
- package/packages/happy2-server/dist/modules/auth/impl/tokenHash.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkConsume.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkConsume.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkConsume.js +50 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkConsume.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkCreate.d.ts +7 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkCreate.js +36 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/metadata.d.ts +1 -1
- package/packages/happy2-server/dist/modules/auth/metadata.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/auth/methods.d.ts +0 -1
- package/packages/happy2-server/dist/modules/auth/methods.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/auth/methods.js +1 -5
- package/packages/happy2-server/dist/modules/auth/methods.js.map +1 -1
- package/packages/happy2-server/dist/modules/auth/methods.test.js +0 -1
- package/packages/happy2-server/dist/modules/auth/methods.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/auth/oidcStateConsume.d.ts +12 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateConsume.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateConsume.js +20 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateConsume.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateCreate.d.ts +7 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateCreate.js +17 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/service.d.ts +11 -7
- package/packages/happy2-server/dist/modules/auth/service.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/auth/service.js +101 -27
- package/packages/happy2-server/dist/modules/auth/service.js.map +1 -1
- package/packages/happy2-server/dist/modules/auth/sessionCreate.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/sessionCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionCreate.js +35 -0
- package/packages/happy2-server/dist/modules/auth/sessionCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionFindActive.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/sessionFindActive.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionFindActive.js +22 -0
- package/packages/happy2-server/dist/modules/auth/sessionFindActive.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionRefresh.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/sessionRefresh.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionRefresh.js +37 -0
- package/packages/happy2-server/dist/modules/auth/sessionRefresh.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionRevoke.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/sessionRevoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionRevoke.js +25 -0
- package/packages/happy2-server/dist/modules/auth/sessionRevoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/types.d.ts +22 -0
- package/packages/happy2-server/dist/modules/auth/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/types.js +2 -0
- package/packages/happy2-server/dist/modules/auth/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationCreate.d.ts +24 -0
- package/packages/happy2-server/dist/modules/automation/automationCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationCreate.js +84 -0
- package/packages/happy2-server/dist/modules/automation/automationCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationDelete.d.ts +8 -0
- package/packages/happy2-server/dist/modules/automation/automationDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationDelete.js +41 -0
- package/packages/happy2-server/dist/modules/automation/automationDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/automation/automationList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationList.js +19 -0
- package/packages/happy2-server/dist/modules/automation/automationList.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunDue.d.ts +9 -0
- package/packages/happy2-server/dist/modules/automation/automationRunDue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunDue.js +37 -0
- package/packages/happy2-server/dist/modules/automation/automationRunDue.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunEvent.d.ts +9 -0
- package/packages/happy2-server/dist/modules/automation/automationRunEvent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunEvent.js +68 -0
- package/packages/happy2-server/dist/modules/automation/automationRunEvent.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunNow.d.ts +12 -0
- package/packages/happy2-server/dist/modules/automation/automationRunNow.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunNow.js +15 -0
- package/packages/happy2-server/dist/modules/automation/automationRunNow.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunPendingEvents.d.ts +9 -0
- package/packages/happy2-server/dist/modules/automation/automationRunPendingEvents.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunPendingEvents.js +40 -0
- package/packages/happy2-server/dist/modules/automation/automationRunPendingEvents.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunWebhook.d.ts +12 -0
- package/packages/happy2-server/dist/modules/automation/automationRunWebhook.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunWebhook.js +40 -0
- package/packages/happy2-server/dist/modules/automation/automationRunWebhook.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationUpdate.d.ts +20 -0
- package/packages/happy2-server/dist/modules/automation/automationUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationUpdate.js +90 -0
- package/packages/happy2-server/dist/modules/automation/automationUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/appendAudit.d.ts +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/appendAudit.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/appendAudit.js +17 -0
- package/packages/happy2-server/dist/modules/automation/impl/appendAudit.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/asAutomation.d.ts +4 -0
- package/packages/happy2-server/dist/modules/automation/impl/asAutomation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/asAutomation.js +25 -0
- package/packages/happy2-server/dist/modules/automation/impl/asAutomation.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationRow.d.ts +3 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationRow.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationRow.js +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationRow.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationSummary.d.ts +18 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationSummary.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationSummary.js +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationSummary.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/botExists.d.ts +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/botExists.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/botExists.js +17 -0
- package/packages/happy2-server/dist/modules/automation/impl/botExists.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/chatExists.d.ts +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/chatExists.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/chatExists.js +17 -0
- package/packages/happy2-server/dist/modules/automation/impl/chatExists.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/eventKinds.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/eventKinds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/eventKinds.js +12 -0
- package/packages/happy2-server/dist/modules/automation/impl/eventKinds.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/executeAutomation.d.ts +12 -0
- package/packages/happy2-server/dist/modules/automation/impl/executeAutomation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/executeAutomation.js +181 -0
- package/packages/happy2-server/dist/modules/automation/impl/executeAutomation.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/getAutomation.d.ts +4 -0
- package/packages/happy2-server/dist/modules/automation/impl/getAutomation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/getAutomation.js +12 -0
- package/packages/happy2-server/dist/modules/automation/impl/getAutomation.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/hashesEqual.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/hashesEqual.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/hashesEqual.js +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/hashesEqual.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/jsonObject.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/jsonObject.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/jsonObject.js +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/jsonObject.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/matchesEvent.d.ts +6 -0
- package/packages/happy2-server/dist/modules/automation/impl/matchesEvent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/matchesEvent.js +10 -0
- package/packages/happy2-server/dist/modules/automation/impl/matchesEvent.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationAction.d.ts +3 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationAction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationAction.js +17 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationAction.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationActionType.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationActionType.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationActionType.js +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationActionType.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalObject.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalObject.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalObject.js +9 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalObject.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalString.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalString.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalString.js +9 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalString.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/positiveNumber.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/positiveNumber.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/positiveNumber.js +4 -0
- package/packages/happy2-server/dist/modules/automation/impl/positiveNumber.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/requireAdmin.d.ts +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/requireAdmin.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/requireAdmin.js +20 -0
- package/packages/happy2-server/dist/modules/automation/impl/requireAdmin.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/requiredString.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/requiredString.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/requiredString.js +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/requiredString.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/secretHash.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/secretHash.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/secretHash.js +5 -0
- package/packages/happy2-server/dist/modules/automation/impl/secretHash.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/stringArray.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/stringArray.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/stringArray.js +9 -0
- package/packages/happy2-server/dist/modules/automation/impl/stringArray.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateAction.d.ts +3 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateAction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateAction.js +20 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateAction.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateTrigger.d.ts +3 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateTrigger.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateTrigger.js +18 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateTrigger.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/types.d.ts +15 -0
- package/packages/happy2-server/dist/modules/automation/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/types.js +2 -0
- package/packages/happy2-server/dist/modules/automation/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/backupCreate.d.ts +16 -0
- package/packages/happy2-server/dist/modules/backup/backupCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/backupCreate.js +48 -0
- package/packages/happy2-server/dist/modules/backup/backupCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/backupList.d.ts +13 -0
- package/packages/happy2-server/dist/modules/backup/backupList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/backupList.js +31 -0
- package/packages/happy2-server/dist/modules/backup/backupList.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/backupUpdate.d.ts +19 -0
- package/packages/happy2-server/dist/modules/backup/backupUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/backupUpdate.js +55 -0
- package/packages/happy2-server/dist/modules/backup/backupUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/asBackup.d.ts +3 -0
- package/packages/happy2-server/dist/modules/backup/impl/asBackup.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/asBackup.js +22 -0
- package/packages/happy2-server/dist/modules/backup/impl/asBackup.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/assertBackupTransition.d.ts +3 -0
- package/packages/happy2-server/dist/modules/backup/impl/assertBackupTransition.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/assertBackupTransition.js +13 -0
- package/packages/happy2-server/dist/modules/backup/impl/assertBackupTransition.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupDb.js +21 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupSelection.d.ts +229 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupSelection.js +16 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/isUniqueConstraint.d.ts +2 -0
- package/packages/happy2-server/dist/modules/backup/impl/isUniqueConstraint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/isUniqueConstraint.js +12 -0
- package/packages/happy2-server/dist/modules/backup/impl/isUniqueConstraint.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/optionalNumber.d.ts +2 -0
- package/packages/happy2-server/dist/modules/backup/impl/optionalNumber.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/optionalNumber.js +5 -0
- package/packages/happy2-server/dist/modules/backup/impl/optionalNumber.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botCreate.d.ts +15 -0
- package/packages/happy2-server/dist/modules/bot/botCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botCreate.js +59 -0
- package/packages/happy2-server/dist/modules/bot/botCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/bot/botGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botGet.js +20 -0
- package/packages/happy2-server/dist/modules/bot/botGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/bot/botList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botList.js +29 -0
- package/packages/happy2-server/dist/modules/bot/botList.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botRevoke.d.ts +8 -0
- package/packages/happy2-server/dist/modules/bot/botRevoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botRevoke.js +53 -0
- package/packages/happy2-server/dist/modules/bot/botRevoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botUpdate.d.ts +16 -0
- package/packages/happy2-server/dist/modules/bot/botUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botUpdate.js +88 -0
- package/packages/happy2-server/dist/modules/bot/botUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/asBot.d.ts +3 -0
- package/packages/happy2-server/dist/modules/bot/impl/asBot.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/asBot.js +18 -0
- package/packages/happy2-server/dist/modules/bot/impl/asBot.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/botSelection.d.ts +191 -0
- package/packages/happy2-server/dist/modules/bot/impl/botSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/botSelection.js +14 -0
- package/packages/happy2-server/dist/modules/bot/impl/botSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/normalizedUsername.d.ts +2 -0
- package/packages/happy2-server/dist/modules/bot/impl/normalizedUsername.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/normalizedUsername.js +8 -0
- package/packages/happy2-server/dist/modules/bot/impl/normalizedUsername.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/requireFileDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/bot/impl/requireFileDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/requireFileDb.js +19 -0
- package/packages/happy2-server/dist/modules/bot/impl/requireFileDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/callCanSignal.d.ts +12 -0
- package/packages/happy2-server/dist/modules/call/callCanSignal.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/callCanSignal.js +28 -0
- package/packages/happy2-server/dist/modules/call/callCanSignal.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/callCreate.d.ts +17 -0
- package/packages/happy2-server/dist/modules/call/callCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/callCreate.js +130 -0
- package/packages/happy2-server/dist/modules/call/callCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/callEnd.d.ts +15 -0
- package/packages/happy2-server/dist/modules/call/callEnd.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/callEnd.js +70 -0
- package/packages/happy2-server/dist/modules/call/callEnd.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/callGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/call/callGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/callGet.js +14 -0
- package/packages/happy2-server/dist/modules/call/callGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/callList.d.ts +12 -0
- package/packages/happy2-server/dist/modules/call/callList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/callList.js +36 -0
- package/packages/happy2-server/dist/modules/call/callList.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/callParticipationUpdate.d.ts +15 -0
- package/packages/happy2-server/dist/modules/call/callParticipationUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/callParticipationUpdate.js +93 -0
- package/packages/happy2-server/dist/modules/call/callParticipationUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/impl/getCallProjectionDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/call/impl/getCallProjectionDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/impl/getCallProjectionDb.js +67 -0
- package/packages/happy2-server/dist/modules/call/impl/getCallProjectionDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/actions.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/chat/actions.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/{collaboration/repository.test.js → chat/actions.test.js} +316 -155
- package/packages/happy2-server/dist/modules/chat/actions.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/areaHint.d.ts +3 -0
- package/packages/happy2-server/dist/modules/chat/areaHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/areaHint.js +9 -0
- package/packages/happy2-server/dist/modules/chat/areaHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/asFile.d.ts +3 -0
- package/packages/happy2-server/dist/modules/chat/asFile.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/asFile.js +21 -0
- package/packages/happy2-server/dist/modules/chat/asFile.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/asServiceMessage.d.ts +3 -0
- package/packages/happy2-server/dist/modules/chat/asServiceMessage.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/asServiceMessage.js +19 -0
- package/packages/happy2-server/dist/modules/chat/asServiceMessage.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/asUser.d.ts +3 -0
- package/packages/happy2-server/dist/modules/chat/asUser.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/asUser.js +22 -0
- package/packages/happy2-server/dist/modules/chat/asUser.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelAdvance.d.ts +18 -0
- package/packages/happy2-server/dist/modules/chat/channelAdvance.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelAdvance.js +38 -0
- package/packages/happy2-server/dist/modules/chat/channelAdvance.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelCreate.d.ts +18 -0
- package/packages/happy2-server/dist/modules/chat/channelCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelCreate.js +78 -0
- package/packages/happy2-server/dist/modules/chat/channelCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelDefaultAgentUpdate.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/channelDefaultAgentUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelDefaultAgentUpdate.js +66 -0
- package/packages/happy2-server/dist/modules/chat/channelDefaultAgentUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelDelete.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/channelDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelDelete.js +67 -0
- package/packages/happy2-server/dist/modules/chat/channelDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelDirectoryList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/channelDirectoryList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelDirectoryList.js +21 -0
- package/packages/happy2-server/dist/modules/chat/channelDirectoryList.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelJoinPublic.d.ts +11 -0
- package/packages/happy2-server/dist/modules/chat/channelJoinPublic.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelJoinPublic.js +68 -0
- package/packages/happy2-server/dist/modules/chat/channelJoinPublic.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelLeave.d.ts +10 -0
- package/packages/happy2-server/dist/modules/chat/channelLeave.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelLeave.js +67 -0
- package/packages/happy2-server/dist/modules/chat/channelLeave.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberAdd.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberAdd.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberAdd.js +79 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberAdd.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberRemove.d.ts +14 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberRemove.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberRemove.js +109 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberRemove.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberSetRole.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberSetRole.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberSetRole.js +107 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberSetRole.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelPolicyUpdate.d.ts +19 -0
- package/packages/happy2-server/dist/modules/chat/channelPolicyUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelPolicyUpdate.js +66 -0
- package/packages/happy2-server/dist/modules/chat/channelPolicyUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelSetArchived.d.ts +16 -0
- package/packages/happy2-server/dist/modules/chat/channelSetArchived.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelSetArchived.js +41 -0
- package/packages/happy2-server/dist/modules/chat/channelSetArchived.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelTopicUpdate.d.ts +11 -0
- package/packages/happy2-server/dist/modules/chat/channelTopicUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelTopicUpdate.js +32 -0
- package/packages/happy2-server/dist/modules/chat/channelTopicUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdate.d.ts +21 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdate.js +99 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdateInsert.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdateInsert.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdateInsert.js +33 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdateInsert.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatAccess.d.ts +5 -0
- package/packages/happy2-server/dist/modules/chat/chatAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatAccess.js +2 -0
- package/packages/happy2-server/dist/modules/chat/chatAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatAdvanceWithSequence.d.ts +10 -0
- package/packages/happy2-server/dist/modules/chat/chatAdvanceWithSequence.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatAdvanceWithSequence.js +43 -0
- package/packages/happy2-server/dist/modules/chat/chatAdvanceWithSequence.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatAppendAudit.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/chatAppendAudit.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatAppendAudit.js +20 -0
- package/packages/happy2-server/dist/modules/chat/chatAppendAudit.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkCreate.d.ts +20 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkCreate.js +68 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkDelete.d.ts +14 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkDelete.js +42 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkList.js +46 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkList.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatCanAccess.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/chatCanAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatCanAccess.js +10 -0
- package/packages/happy2-server/dist/modules/chat/chatCanAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatCanPost.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/chatCanPost.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatCanPost.js +12 -0
- package/packages/happy2-server/dist/modules/chat/chatCanPost.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatGet.js +14 -0
- package/packages/happy2-server/dist/modules/chat/chatGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatGetAccess.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatGetAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatGetAccess.js +53 -0
- package/packages/happy2-server/dist/modules/chat/chatGetAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatHint.d.ts +3 -0
- package/packages/happy2-server/dist/modules/chat/chatHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatHint.js +14 -0
- package/packages/happy2-server/dist/modules/chat/chatHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatIsPostingRestricted.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/chatIsPostingRestricted.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatIsPostingRestricted.js +18 -0
- package/packages/happy2-server/dist/modules/chat/chatIsPostingRestricted.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatList.js +21 -0
- package/packages/happy2-server/dist/modules/chat/chatList.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatMarkRead.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/chatMarkRead.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatMarkRead.js +122 -0
- package/packages/happy2-server/dist/modules/chat/chatMarkRead.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatMemberList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatMemberList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatMemberList.js +36 -0
- package/packages/happy2-server/dist/modules/chat/chatMemberList.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatMembershipList.d.ts +12 -0
- package/packages/happy2-server/dist/modules/chat/chatMembershipList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatMembershipList.js +32 -0
- package/packages/happy2-server/dist/modules/chat/chatMembershipList.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatPinList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatPinList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatPinList.js +41 -0
- package/packages/happy2-server/dist/modules/chat/chatPinList.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatRequireManager.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatRequireManager.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatRequireManager.js +47 -0
- package/packages/happy2-server/dist/modules/chat/chatRequireManager.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatStarReorder.d.ts +10 -0
- package/packages/happy2-server/dist/modules/chat/chatStarReorder.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatStarReorder.js +49 -0
- package/packages/happy2-server/dist/modules/chat/chatStarReorder.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatStarSet.d.ts +10 -0
- package/packages/happy2-server/dist/modules/chat/chatStarSet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatStarSet.js +61 -0
- package/packages/happy2-server/dist/modules/chat/chatStarSet.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatUpdateInsert.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/chatUpdateInsert.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatUpdateInsert.js +35 -0
- package/packages/happy2-server/dist/modules/chat/chatUpdateInsert.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceCanAccess.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceCanAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceCanAccess.js +25 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceCanAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceGetTarget.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceGetTarget.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceGetTarget.js +36 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceGetTarget.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreate.d.ts +11 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreate.js +78 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreateGroup.d.ts +16 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreateGroup.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreateGroup.js +84 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreateGroup.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/fileCanAccessWith.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/fileCanAccessWith.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/fileCanAccessWith.js +18 -0
- package/packages/happy2-server/dist/modules/chat/fileCanAccessWith.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/fileSelection.d.ts +204 -0
- package/packages/happy2-server/dist/modules/chat/fileSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/fileSelection.js +15 -0
- package/packages/happy2-server/dist/modules/chat/fileSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/advanceChat.d.ts +10 -0
- package/packages/happy2-server/dist/modules/chat/impl/advanceChat.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/advanceChat.js +13 -0
- package/packages/happy2-server/dist/modules/chat/impl/advanceChat.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/asChat.d.ts +3 -0
- package/packages/happy2-server/dist/modules/chat/impl/asChat.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/asChat.js +49 -0
- package/packages/happy2-server/dist/modules/chat/impl/asChat.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantIds.d.ts +4 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantIds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantIds.js +27 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantIds.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantMembershipSync.d.ts +13 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantMembershipSync.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantMembershipSync.js +70 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantMembershipSync.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatMutation.d.ts +6 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatMutation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatMutation.js +2 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatMutation.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatSelection.d.ts +559 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatSelection.js +41 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatWorkspaceTarget.d.ts +9 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatWorkspaceTarget.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatWorkspaceTarget.js +2 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatWorkspaceTarget.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/createUserAddedServiceMessageDb.d.ts +16 -0
- package/packages/happy2-server/dist/modules/chat/impl/createUserAddedServiceMessageDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/createUserAddedServiceMessageDb.js +54 -0
- package/packages/happy2-server/dist/modules/chat/impl/createUserAddedServiceMessageDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/requireActiveIdentityDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/impl/requireActiveIdentityDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/requireActiveIdentityDb.js +22 -0
- package/packages/happy2-server/dist/modules/chat/impl/requireActiveIdentityDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/isUniqueConstraint.d.ts +2 -0
- package/packages/happy2-server/dist/modules/chat/isUniqueConstraint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/isUniqueConstraint.js +10 -0
- package/packages/happy2-server/dist/modules/chat/isUniqueConstraint.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/messageRequireInChat.d.ts +10 -0
- package/packages/happy2-server/dist/modules/chat/messageRequireInChat.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/messageRequireInChat.js +22 -0
- package/packages/happy2-server/dist/modules/chat/messageRequireInChat.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/number.d.ts +2 -0
- package/packages/happy2-server/dist/modules/chat/number.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/number.js +12 -0
- package/packages/happy2-server/dist/modules/chat/number.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/optionalText.d.ts +2 -0
- package/packages/happy2-server/dist/modules/chat/optionalText.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/optionalText.js +5 -0
- package/packages/happy2-server/dist/modules/chat/optionalText.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/text.d.ts +2 -0
- package/packages/happy2-server/dist/modules/chat/text.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/text.js +10 -0
- package/packages/happy2-server/dist/modules/chat/text.js.map +1 -0
- package/packages/happy2-server/dist/modules/{collaboration → chat}/types.d.ts +18 -15
- package/packages/happy2-server/dist/modules/chat/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/userRequireActive.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/userRequireActive.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/userRequireActive.js +21 -0
- package/packages/happy2-server/dist/modules/chat/userRequireActive.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/userRequireServerAdmin.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/userRequireServerAdmin.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/userRequireServerAdmin.js +21 -0
- package/packages/happy2-server/dist/modules/chat/userRequireServerAdmin.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/userSelection.d.ts +231 -0
- package/packages/happy2-server/dist/modules/chat/userSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/userSelection.js +16 -0
- package/packages/happy2-server/dist/modules/chat/userSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/config/defaults.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/config/defaults.js +4 -1
- package/packages/happy2-server/dist/modules/config/defaults.js.map +1 -1
- package/packages/happy2-server/dist/modules/config/defaults.test.js +1 -1
- package/packages/happy2-server/dist/modules/config/defaults.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/config/loader.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/config/loader.js +4 -1
- package/packages/happy2-server/dist/modules/config/loader.js.map +1 -1
- package/packages/happy2-server/dist/modules/config/paths.d.ts +1 -0
- package/packages/happy2-server/dist/modules/config/paths.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/config/paths.js +1 -0
- package/packages/happy2-server/dist/modules/config/paths.js.map +1 -1
- package/packages/happy2-server/dist/modules/config/paths.test.js +1 -0
- package/packages/happy2-server/dist/modules/config/paths.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/config/type.d.ts +3 -1
- package/packages/happy2-server/dist/modules/config/type.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/data-export/dataExportBuildArtifact.d.ts +8 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportBuildArtifact.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportBuildArtifact.js +148 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportBuildArtifact.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCanAccessChat.d.ts +7 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCanAccessChat.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCanAccessChat.js +19 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCanAccessChat.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCancel.d.ts +13 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCancel.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCancel.js +41 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCancel.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportClaimPending.d.ts +8 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportClaimPending.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportClaimPending.js +53 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportClaimPending.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCompleteClaim.d.ts +8 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCompleteClaim.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCompleteClaim.js +63 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCompleteClaim.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportFailClaim.d.ts +8 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportFailClaim.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportFailClaim.js +24 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportFailClaim.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportGet.js +16 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportList.d.ts +15 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportList.js +37 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportList.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequest.d.ts +16 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequest.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequest.js +61 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequest.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequireExistingUser.d.ts +7 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequireExistingUser.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequireExistingUser.js +19 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequireExistingUser.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRunDue.d.ts +11 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRunDue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRunDue.js +46 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRunDue.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportUpdate.d.ts +17 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportUpdate.js +87 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/asExport.d.ts +3 -0
- package/packages/happy2-server/dist/modules/data-export/impl/asExport.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/asExport.js +21 -0
- package/packages/happy2-server/dist/modules/data-export/impl/asExport.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/assertExportTransition.d.ts +3 -0
- package/packages/happy2-server/dist/modules/data-export/impl/assertExportTransition.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/assertExportTransition.js +14 -0
- package/packages/happy2-server/dist/modules/data-export/impl/assertExportTransition.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/claimedDataExport.d.ts +5 -0
- package/packages/happy2-server/dist/modules/data-export/impl/claimedDataExport.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/claimedDataExport.js +2 -0
- package/packages/happy2-server/dist/modules/data-export/impl/claimedDataExport.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/dataExportRemoveUnclaimedArtifact.d.ts +6 -0
- package/packages/happy2-server/dist/modules/data-export/impl/dataExportRemoveUnclaimedArtifact.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/dataExportRemoveUnclaimedArtifact.js +9 -0
- package/packages/happy2-server/dist/modules/data-export/impl/dataExportRemoveUnclaimedArtifact.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportJobDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportJobDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportJobDb.js +21 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportJobDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportSelection.d.ts +231 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportSelection.js +16 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/objectValue.d.ts +2 -0
- package/packages/happy2-server/dist/modules/data-export/impl/objectValue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/objectValue.js +6 -0
- package/packages/happy2-server/dist/modules/data-export/impl/objectValue.js.map +1 -0
- package/packages/happy2-server/dist/modules/drizzle.d.ts +2 -0
- package/packages/happy2-server/dist/modules/drizzle.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/drizzle.js +16 -0
- package/packages/happy2-server/dist/modules/drizzle.js.map +1 -1
- package/packages/happy2-server/dist/modules/drizzle.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/drizzle.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/drizzle.test.js +49 -0
- package/packages/happy2-server/dist/modules/drizzle.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiCreate.d.ts +20 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiCreate.js +69 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiDelete.d.ts +10 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiDelete.js +78 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiList.d.ts +13 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiList.js +31 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiList.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileCanAccess.d.ts +7 -0
- package/packages/happy2-server/dist/modules/file/fileCanAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileCanAccess.js +10 -0
- package/packages/happy2-server/dist/modules/file/fileCanAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileCreate.d.ts +11 -0
- package/packages/happy2-server/dist/modules/file/fileCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileCreate.js +41 -0
- package/packages/happy2-server/dist/modules/file/fileCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileDeleteOwnedUnreferenced.d.ts +7 -0
- package/packages/happy2-server/dist/modules/file/fileDeleteOwnedUnreferenced.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileDeleteOwnedUnreferenced.js +32 -0
- package/packages/happy2-server/dist/modules/file/fileDeleteOwnedUnreferenced.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileFind.d.ts +8 -0
- package/packages/happy2-server/dist/modules/file/fileFind.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileFind.js +17 -0
- package/packages/happy2-server/dist/modules/file/fileFind.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileFindUploadedBy.d.ts +8 -0
- package/packages/happy2-server/dist/modules/file/fileFindUploadedBy.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileFindUploadedBy.js +17 -0
- package/packages/happy2-server/dist/modules/file/fileFindUploadedBy.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileList.d.ts +17 -0
- package/packages/happy2-server/dist/modules/file/fileList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileList.js +53 -0
- package/packages/happy2-server/dist/modules/file/fileList.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileListStored.d.ts +8 -0
- package/packages/happy2-server/dist/modules/file/fileListStored.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileListStored.js +18 -0
- package/packages/happy2-server/dist/modules/file/fileListStored.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/impl/asFile.d.ts +4 -0
- package/packages/happy2-server/dist/modules/file/impl/asFile.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/impl/asFile.js +22 -0
- package/packages/happy2-server/dist/modules/file/impl/asFile.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/impl/fileRow.d.ts +3 -0
- package/packages/happy2-server/dist/modules/file/impl/fileRow.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/impl/fileRow.js +2 -0
- package/packages/happy2-server/dist/modules/file/impl/fileRow.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/impl/hasFileReference.d.ts +4 -0
- package/packages/happy2-server/dist/modules/file/impl/hasFileReference.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/impl/hasFileReference.js +112 -0
- package/packages/happy2-server/dist/modules/file/impl/hasFileReference.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/types.d.ts +17 -0
- package/packages/happy2-server/dist/modules/file/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/types.js +2 -0
- package/packages/happy2-server/dist/modules/file/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/files/routes.test.js +93 -16
- package/packages/happy2-server/dist/modules/files/routes.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/files/storage.d.ts +13 -4
- package/packages/happy2-server/dist/modules/files/storage.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/files/storage.js +224 -54
- package/packages/happy2-server/dist/modules/files/storage.js.map +1 -1
- package/packages/happy2-server/dist/modules/files/storage.test.js +80 -29
- package/packages/happy2-server/dist/modules/files/storage.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/integration/apiCredentialAuthenticate.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialAuthenticate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialAuthenticate.js +54 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialAuthenticate.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialCreate.d.ts +14 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialCreate.js +56 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialList.js +23 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialList.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialRevoke.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialRevoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialRevoke.js +28 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialRevoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/asDelivery.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/asDelivery.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/asDelivery.js +16 -0
- package/packages/happy2-server/dist/modules/integration/asDelivery.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/botRequire.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/botRequire.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/botRequire.js +10 -0
- package/packages/happy2-server/dist/modules/integration/botRequire.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/claimedDelivery.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/claimedDelivery.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/claimedDelivery.js +2 -0
- package/packages/happy2-server/dist/modules/integration/claimedDelivery.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/constraintConflict.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/constraintConflict.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/constraintConflict.js +6 -0
- package/packages/happy2-server/dist/modules/integration/constraintConflict.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/deliverySelection.d.ts +153 -0
- package/packages/happy2-server/dist/modules/integration/deliverySelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/deliverySelection.js +12 -0
- package/packages/happy2-server/dist/modules/integration/deliverySelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/asCredential.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/impl/asCredential.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/asCredential.js +18 -0
- package/packages/happy2-server/dist/modules/integration/impl/asCredential.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/asIntegration.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/impl/asIntegration.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/asIntegration.js +19 -0
- package/packages/happy2-server/dist/modules/integration/impl/asIntegration.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/asSlashCommand.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/impl/asSlashCommand.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/asSlashCommand.js +17 -0
- package/packages/happy2-server/dist/modules/integration/impl/asSlashCommand.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/createIntegrationRecord.d.ts +15 -0
- package/packages/happy2-server/dist/modules/integration/impl/createIntegrationRecord.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/createIntegrationRecord.js +25 -0
- package/packages/happy2-server/dist/modules/integration/impl/createIntegrationRecord.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/credentialSelection.d.ts +174 -0
- package/packages/happy2-server/dist/modules/integration/impl/credentialSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/credentialSelection.js +13 -0
- package/packages/happy2-server/dist/modules/integration/impl/credentialSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/findSlashSubscriptionDb.d.ts +11 -0
- package/packages/happy2-server/dist/modules/integration/impl/findSlashSubscriptionDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/findSlashSubscriptionDb.js +22 -0
- package/packages/happy2-server/dist/modules/integration/impl/findSlashSubscriptionDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/futureDate.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/impl/futureDate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/futureDate.js +8 -0
- package/packages/happy2-server/dist/modules/integration/impl/futureDate.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/getSlashCommandDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/impl/getSlashCommandDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/getSlashCommandDb.js +20 -0
- package/packages/happy2-server/dist/modules/integration/impl/getSlashCommandDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/integrationSelection.d.ts +172 -0
- package/packages/happy2-server/dist/modules/integration/impl/integrationSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/integrationSelection.js +13 -0
- package/packages/happy2-server/dist/modules/integration/impl/integrationSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/maxEventPayload.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/impl/maxEventPayload.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/maxEventPayload.js +2 -0
- package/packages/happy2-server/dist/modules/integration/impl/maxEventPayload.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizeScopes.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizeScopes.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizeScopes.js +8 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizeScopes.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizedCommand.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizedCommand.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizedCommand.js +8 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizedCommand.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/optionalTextBody.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/impl/optionalTextBody.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/optionalTextBody.js +9 -0
- package/packages/happy2-server/dist/modules/integration/impl/optionalTextBody.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireChatMemberDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireChatMemberDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireChatMemberDb.js +22 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireChatMemberDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireScopeSubset.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireScopeSubset.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireScopeSubset.js +6 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireScopeSubset.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashCommandSelection.d.ts +153 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashCommandSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashCommandSelection.js +12 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashCommandSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashEventType.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashEventType.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashEventType.js +4 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashEventType.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationAppendAudit.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/integrationAppendAudit.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationAppendAudit.js +18 -0
- package/packages/happy2-server/dist/modules/integration/integrationAppendAudit.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationCreate.d.ts +15 -0
- package/packages/happy2-server/dist/modules/integration/integrationCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationCreate.js +11 -0
- package/packages/happy2-server/dist/modules/integration/integrationCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationFinishChange.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/integrationFinishChange.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationFinishChange.js +22 -0
- package/packages/happy2-server/dist/modules/integration/integrationFinishChange.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/integrationGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationGet.js +20 -0
- package/packages/happy2-server/dist/modules/integration/integrationGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationInsert.d.ts +17 -0
- package/packages/happy2-server/dist/modules/integration/integrationInsert.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationInsert.js +29 -0
- package/packages/happy2-server/dist/modules/integration/integrationInsert.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/integrationList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationList.js +20 -0
- package/packages/happy2-server/dist/modules/integration/integrationList.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationRecordChange.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/integrationRecordChange.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationRecordChange.js +33 -0
- package/packages/happy2-server/dist/modules/integration/integrationRecordChange.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationRequire.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/integrationRequire.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationRequire.js +14 -0
- package/packages/happy2-server/dist/modules/integration/integrationRequire.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationRevoke.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/integrationRevoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationRevoke.js +53 -0
- package/packages/happy2-server/dist/modules/integration/integrationRevoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/number.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/number.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/number.js +10 -0
- package/packages/happy2-server/dist/modules/integration/number.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/optionalText.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/optionalText.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/optionalText.js +5 -0
- package/packages/happy2-server/dist/modules/integration/optionalText.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/optionalTrimmed.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/optionalTrimmed.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/optionalTrimmed.js +10 -0
- package/packages/happy2-server/dist/modules/integration/optionalTrimmed.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/parseScopes.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/parseScopes.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/parseScopes.js +9 -0
- package/packages/happy2-server/dist/modules/integration/parseScopes.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/requiredTrimmed.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/requiredTrimmed.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/requiredTrimmed.js +8 -0
- package/packages/happy2-server/dist/modules/integration/requiredTrimmed.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/serializedPayload.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/serializedPayload.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/serializedPayload.js +15 -0
- package/packages/happy2-server/dist/modules/integration/serializedPayload.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandCreate.d.ts +18 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandCreate.js +71 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandInvoke.d.ts +13 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandInvoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandInvoke.js +58 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandInvoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandList.js +22 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandList.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/stringArray.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/stringArray.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/stringArray.js +8 -0
- package/packages/happy2-server/dist/modules/integration/stringArray.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/text.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/text.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/text.js +8 -0
- package/packages/happy2-server/dist/modules/integration/text.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationActive.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationActive.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationActive.js +20 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationActive.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationAdmin.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationAdmin.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationAdmin.js +20 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationAdmin.js.map +1 -0
- package/packages/happy2-server/dist/modules/integrations/actions.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integrations/actions.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integrations/{repository.test.js → actions.test.js} +159 -79
- package/packages/happy2-server/dist/modules/integrations/actions.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/integrations/routes.test.js +43 -38
- package/packages/happy2-server/dist/modules/integrations/routes.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/integrations/transport.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/integrations/transport.js +8 -1
- package/packages/happy2-server/dist/modules/integrations/transport.js.map +1 -1
- package/packages/happy2-server/dist/modules/integrations/types.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integrations/types.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/integrations/types.js.map +1 -1
- package/packages/happy2-server/dist/modules/message/impl/dueMessages.d.ts +88 -0
- package/packages/happy2-server/dist/modules/message/impl/dueMessages.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/dueMessages.js +17 -0
- package/packages/happy2-server/dist/modules/message/impl/dueMessages.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/earliestDate.d.ts +2 -0
- package/packages/happy2-server/dist/modules/message/impl/earliestDate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/earliestDate.js +8 -0
- package/packages/happy2-server/dist/modules/message/impl/earliestDate.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/findClientMutationDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/message/impl/findClientMutationDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/findClientMutationDb.js +26 -0
- package/packages/happy2-server/dist/modules/message/impl/findClientMutationDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/messageSendInput.d.ts +22 -0
- package/packages/happy2-server/dist/modules/message/impl/messageSendInput.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/messageSendInput.js +2 -0
- package/packages/happy2-server/dist/modules/message/impl/messageSendInput.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/sendMessageDbInput.d.ts +5 -0
- package/packages/happy2-server/dist/modules/message/impl/sendMessageDbInput.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/sendMessageDbInput.js +2 -0
- package/packages/happy2-server/dist/modules/message/impl/sendMessageDbInput.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/storeClientMutationDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/message/impl/storeClientMutationDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/storeClientMutationDb.js +25 -0
- package/packages/happy2-server/dist/modules/message/impl/storeClientMutationDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageDelete.d.ts +11 -0
- package/packages/happy2-server/dist/modules/message/messageDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageDelete.js +62 -0
- package/packages/happy2-server/dist/modules/message/messageDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageEdit.d.ts +17 -0
- package/packages/happy2-server/dist/modules/message/messageEdit.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageEdit.js +98 -0
- package/packages/happy2-server/dist/modules/message/messageEdit.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageExpireDue.d.ts +8 -0
- package/packages/happy2-server/dist/modules/message/messageExpireDue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageExpireDue.js +56 -0
- package/packages/happy2-server/dist/modules/message/messageExpireDue.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageForward.d.ts +16 -0
- package/packages/happy2-server/dist/modules/message/messageForward.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageForward.js +159 -0
- package/packages/happy2-server/dist/modules/message/messageForward.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/message/messageGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageGet.js +14 -0
- package/packages/happy2-server/dist/modules/message/messageGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageGetProjection.d.ts +8 -0
- package/packages/happy2-server/dist/modules/message/messageGetProjection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageGetProjection.js +229 -0
- package/packages/happy2-server/dist/modules/message/messageGetProjection.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageIndexForSearch.d.ts +7 -0
- package/packages/happy2-server/dist/modules/message/messageIndexForSearch.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageIndexForSearch.js +41 -0
- package/packages/happy2-server/dist/modules/message/messageIndexForSearch.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageIsPast.d.ts +2 -0
- package/packages/happy2-server/dist/modules/message/messageIsPast.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageIsPast.js +4 -0
- package/packages/happy2-server/dist/modules/message/messageIsPast.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageList.d.ts +18 -0
- package/packages/happy2-server/dist/modules/message/messageList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageList.js +47 -0
- package/packages/happy2-server/dist/modules/message/messageList.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messagePinSet.d.ts +14 -0
- package/packages/happy2-server/dist/modules/message/messagePinSet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messagePinSet.js +62 -0
- package/packages/happy2-server/dist/modules/message/messagePinSet.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageReactionSet.d.ts +17 -0
- package/packages/happy2-server/dist/modules/message/messageReactionSet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageReactionSet.js +119 -0
- package/packages/happy2-server/dist/modules/message/messageReactionSet.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageRecordDelivery.d.ts +18 -0
- package/packages/happy2-server/dist/modules/message/messageRecordDelivery.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageRecordDelivery.js +116 -0
- package/packages/happy2-server/dist/modules/message/messageRecordDelivery.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageReplaceMentions.d.ts +10 -0
- package/packages/happy2-server/dist/modules/message/messageReplaceMentions.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageReplaceMentions.js +63 -0
- package/packages/happy2-server/dist/modules/message/messageReplaceMentions.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageRevisionList.d.ts +13 -0
- package/packages/happy2-server/dist/modules/message/messageRevisionList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageRevisionList.js +36 -0
- package/packages/happy2-server/dist/modules/message/messageRevisionList.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageSend.d.ts +12 -0
- package/packages/happy2-server/dist/modules/message/messageSend.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageSend.js +12 -0
- package/packages/happy2-server/dist/modules/message/messageSend.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageSendAutomated.d.ts +18 -0
- package/packages/happy2-server/dist/modules/message/messageSendAutomated.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageSendAutomated.js +32 -0
- package/packages/happy2-server/dist/modules/message/messageSendAutomated.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageSendInTransaction.d.ts +12 -0
- package/packages/happy2-server/dist/modules/message/messageSendInTransaction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageSendInTransaction.js +260 -0
- package/packages/happy2-server/dist/modules/message/messageSendInTransaction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanApply.d.ts +15 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanApply.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanApply.js +73 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanApply.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanExpireDue.d.ts +11 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanExpireDue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanExpireDue.js +85 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanExpireDue.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanList.d.ts +14 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanList.js +42 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanList.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanRevoke.d.ts +14 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanRevoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanRevoke.js +62 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanRevoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTarget.d.ts +10 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTarget.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTarget.js +2 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTarget.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetDb.js +36 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetState.d.ts +3 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetState.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetState.js +11 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetState.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/advanceChatMutation.d.ts +13 -0
- package/packages/happy2-server/dist/modules/moderation/impl/advanceChatMutation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/advanceChatMutation.js +38 -0
- package/packages/happy2-server/dist/modules/moderation/impl/advanceChatMutation.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/applyBanInTransaction.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/applyBanInTransaction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/applyBanInTransaction.js +44 -0
- package/packages/happy2-server/dist/modules/moderation/impl/applyBanInTransaction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asBan.d.ts +3 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asBan.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asBan.js +26 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asBan.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asModerationAction.d.ts +3 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asModerationAction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asModerationAction.js +22 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asModerationAction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asReport.d.ts +3 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asReport.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asReport.js +22 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asReport.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banDb.js +22 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banSelection.d.ts +212 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banSelection.js +15 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/closeElapsedBan.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/closeElapsedBan.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/closeElapsedBan.js +30 -0
- package/packages/happy2-server/dist/modules/moderation/impl/closeElapsedBan.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/createModerationNotification.d.ts +17 -0
- package/packages/happy2-server/dist/modules/moderation/impl/createModerationNotification.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/createModerationNotification.js +44 -0
- package/packages/happy2-server/dist/modules/moderation/impl/createModerationNotification.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/deleteUserInTransaction.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/deleteUserInTransaction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/deleteUserInTransaction.js +164 -0
- package/packages/happy2-server/dist/modules/moderation/impl/deleteUserInTransaction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/mergeContext.d.ts +3 -0
- package/packages/happy2-server/dist/modules/moderation/impl/mergeContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/mergeContext.js +11 -0
- package/packages/happy2-server/dist/modules/moderation/impl/mergeContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionDb.js +21 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionSelection.d.ts +250 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionSelection.js +17 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeFileInTransaction.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeFileInTransaction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeFileInTransaction.js +73 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeFileInTransaction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeMessageInTransaction.d.ts +11 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeMessageInTransaction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeMessageInTransaction.js +62 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeMessageInTransaction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportDb.js +21 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportSelection.d.ts +269 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportSelection.js +18 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/requireReportTargetAccess.d.ts +13 -0
- package/packages/happy2-server/dist/modules/moderation/impl/requireReportTargetAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/requireReportTargetAccess.js +56 -0
- package/packages/happy2-server/dist/modules/moderation/impl/requireReportTargetAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/revokeBanInTransaction.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/revokeBanInTransaction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/revokeBanInTransaction.js +34 -0
- package/packages/happy2-server/dist/modules/moderation/impl/revokeBanInTransaction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/syncUserMutation.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/syncUserMutation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/syncUserMutation.js +31 -0
- package/packages/happy2-server/dist/modules/moderation/impl/syncUserMutation.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionRevoke.d.ts +17 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionRevoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionRevoke.js +59 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionRevoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionTake.d.ts +22 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionTake.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionTake.js +133 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionTake.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportCreate.d.ts +18 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportCreate.js +44 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportList.d.ts +14 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportList.js +33 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportList.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportUpdate.d.ts +16 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportUpdate.js +52 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/notification/chatNotificationPreferenceSet.d.ts +18 -0
- package/packages/happy2-server/dist/modules/notification/chatNotificationPreferenceSet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/notification/chatNotificationPreferenceSet.js +72 -0
- package/packages/happy2-server/dist/modules/notification/chatNotificationPreferenceSet.js.map +1 -0
- package/packages/happy2-server/dist/modules/notification/impl/asNotification.d.ts +3 -0
- package/packages/happy2-server/dist/modules/notification/impl/asNotification.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/notification/impl/asNotification.js +15 -0
- package/packages/happy2-server/dist/modules/notification/impl/asNotification.js.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationList.d.ts +16 -0
- package/packages/happy2-server/dist/modules/notification/notificationList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationList.js +50 -0
- package/packages/happy2-server/dist/modules/notification/notificationList.js.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationMarkRead.d.ts +14 -0
- package/packages/happy2-server/dist/modules/notification/notificationMarkRead.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationMarkRead.js +41 -0
- package/packages/happy2-server/dist/modules/notification/notificationMarkRead.js.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceGet.d.ts +19 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceGet.js +48 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceUpdate.d.ts +24 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceUpdate.js +95 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/actions.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/actions.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/{repository.test.js → actions.test.js} +264 -159
- package/packages/happy2-server/dist/modules/operations/actions.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/asAudit.d.ts +3 -0
- package/packages/happy2-server/dist/modules/operations/asAudit.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/asAudit.js +24 -0
- package/packages/happy2-server/dist/modules/operations/asAudit.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/auditAppend.d.ts +17 -0
- package/packages/happy2-server/dist/modules/operations/auditAppend.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/auditAppend.js +41 -0
- package/packages/happy2-server/dist/modules/operations/auditAppend.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/auditContext.d.ts +6 -0
- package/packages/happy2-server/dist/modules/operations/auditContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/auditContext.js +2 -0
- package/packages/happy2-server/dist/modules/operations/auditContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/auditSelection.d.ts +288 -0
- package/packages/happy2-server/dist/modules/operations/auditSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/auditSelection.js +19 -0
- package/packages/happy2-server/dist/modules/operations/auditSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/cursorCondition.d.ts +5 -0
- package/packages/happy2-server/dist/modules/operations/cursorCondition.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/cursorCondition.js +7 -0
- package/packages/happy2-server/dist/modules/operations/cursorCondition.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/decodeCursor.d.ts +3 -0
- package/packages/happy2-server/dist/modules/operations/decodeCursor.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/decodeCursor.js +24 -0
- package/packages/happy2-server/dist/modules/operations/decodeCursor.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/futureTimestamp.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/futureTimestamp.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/futureTimestamp.js +10 -0
- package/packages/happy2-server/dist/modules/operations/futureTimestamp.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/impl/cursor.d.ts +6 -0
- package/packages/happy2-server/dist/modules/operations/impl/cursor.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/impl/cursor.js +2 -0
- package/packages/happy2-server/dist/modules/operations/impl/cursor.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/impl/encodeCursor.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/impl/encodeCursor.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/impl/encodeCursor.js +7 -0
- package/packages/happy2-server/dist/modules/operations/impl/encodeCursor.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/json.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/json.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/json.js +4 -0
- package/packages/happy2-server/dist/modules/operations/json.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/number.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/number.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/number.js +12 -0
- package/packages/happy2-server/dist/modules/operations/number.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/optionalText.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/optionalText.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/optionalText.js +5 -0
- package/packages/happy2-server/dist/modules/operations/optionalText.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/page.d.ts +3 -0
- package/packages/happy2-server/dist/modules/operations/page.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/page.js +12 -0
- package/packages/happy2-server/dist/modules/operations/page.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/parseJson.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/parseJson.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/parseJson.js +13 -0
- package/packages/happy2-server/dist/modules/operations/parseJson.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/text.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/text.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/text.js +8 -0
- package/packages/happy2-server/dist/modules/operations/text.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/types.d.ts +3 -0
- package/packages/happy2-server/dist/modules/operations/types.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsActive.d.ts +10 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsActive.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsActive.js +22 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsActive.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsAdmin.d.ts +7 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsAdmin.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsAdmin.js +13 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsAdmin.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.d.ts +13 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.js +359 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.test.js +139 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/functions.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/plugin/functions.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/functions.test.js +123 -0
- package/packages/happy2-server/dist/modules/plugin/functions.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/httpBridge.d.ts +19 -0
- package/packages/happy2-server/dist/modules/plugin/httpBridge.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/httpBridge.js +206 -0
- package/packages/happy2-server/dist/modules/plugin/httpBridge.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asInstallation.d.ts +3 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asInstallation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asInstallation.js +47 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asInstallation.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asPlugin.d.ts +3 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asPlugin.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asPlugin.js +69 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asPlugin.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installationSelection.d.ts +288 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installationSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installationSelection.js +19 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installationSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.d.ts +3 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.js +52 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.test.js +17 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginFunctionResult.d.ts +3 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginFunctionResult.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginFunctionResult.js +16 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginFunctionResult.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginSelection.d.ts +339 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginSelection.js +22 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/index.d.ts +3 -0
- package/packages/happy2-server/dist/modules/plugin/index.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/index.js +3 -0
- package/packages/happy2-server/dist/modules/plugin/index.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/packageStore.d.ts +15 -0
- package/packages/happy2-server/dist/modules/plugin/packageStore.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/packageStore.js +90 -0
- package/packages/happy2-server/dist/modules/plugin/packageStore.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginAuthorizeManagement.d.ts +7 -0
- package/packages/happy2-server/dist/modules/plugin/pluginAuthorizeManagement.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginAuthorizeManagement.js +9 -0
- package/packages/happy2-server/dist/modules/plugin/pluginAuthorizeManagement.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginCatalogList.d.ts +9 -0
- package/packages/happy2-server/dist/modules/plugin/pluginCatalogList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginCatalogList.js +50 -0
- package/packages/happy2-server/dist/modules/plugin/pluginCatalogList.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFindBySource.d.ts +9 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFindBySource.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFindBySource.js +15 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFindBySource.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultAcquire.d.ts +23 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultAcquire.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultAcquire.js +54 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultAcquire.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultComplete.d.ts +13 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultComplete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultComplete.js +37 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultComplete.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginGetImage.d.ts +17 -0
- package/packages/happy2-server/dist/modules/plugin/pluginGetImage.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginGetImage.js +29 -0
- package/packages/happy2-server/dist/modules/plugin/pluginGetImage.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstall.d.ts +27 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstall.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstall.js +175 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstall.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetRuntimeConfiguration.d.ts +9 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetRuntimeConfiguration.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetRuntimeConfiguration.js +111 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetRuntimeConfiguration.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetStatus.d.ts +11 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetStatus.js +18 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationList.js +19 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationList.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListIds.d.ts +7 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListIds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListIds.js +13 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListIds.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListReadyMcpIds.d.ts +7 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListReadyMcpIds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListReadyMcpIds.js +16 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListReadyMcpIds.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationUpdateStatus.d.ts +15 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationUpdateStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationUpdateStatus.js +37 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationUpdateStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/plugin/pluginList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginList.js +17 -0
- package/packages/happy2-server/dist/modules/plugin/pluginList.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginRemoveMissingBuiltins.d.ts +14 -0
- package/packages/happy2-server/dist/modules/plugin/pluginRemoveMissingBuiltins.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginRemoveMissingBuiltins.js +51 -0
- package/packages/happy2-server/dist/modules/plugin/pluginRemoveMissingBuiltins.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/runtime.d.ts +37 -0
- package/packages/happy2-server/dist/modules/plugin/runtime.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/runtime.js +62 -0
- package/packages/happy2-server/dist/modules/plugin/runtime.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.d.ts +17 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.js +56 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.test.js +14 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/service.d.ts +52 -0
- package/packages/happy2-server/dist/modules/plugin/service.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/service.js +538 -0
- package/packages/happy2-server/dist/modules/plugin/service.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/types.d.ts +157 -0
- package/packages/happy2-server/dist/modules/plugin/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/types.js +9 -0
- package/packages/happy2-server/dist/modules/plugin/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.d.ts +19 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.js +97 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.test.js +74 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.d.ts +29 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.js +126 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.test.js +75 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/presence/impl/listPresenceSettingsWithDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/presence/impl/listPresenceSettingsWithDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/presence/impl/listPresenceSettingsWithDb.js +41 -0
- package/packages/happy2-server/dist/modules/presence/impl/listPresenceSettingsWithDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingList.js +41 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingList.js.map +1 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingUpdate.d.ts +18 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingUpdate.js +76 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/realtime/events.d.ts +29 -4
- package/packages/happy2-server/dist/modules/realtime/events.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/realtime/events.js +41 -4
- package/packages/happy2-server/dist/modules/realtime/events.js.map +1 -1
- package/packages/happy2-server/dist/modules/realtime/local.d.ts +5 -0
- package/packages/happy2-server/dist/modules/realtime/local.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/realtime/local.js +68 -14
- package/packages/happy2-server/dist/modules/realtime/local.js.map +1 -1
- package/packages/happy2-server/dist/modules/realtime/local.test.js +108 -11
- package/packages/happy2-server/dist/modules/realtime/local.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/realtime/pubsub.d.ts +0 -1
- package/packages/happy2-server/dist/modules/realtime/pubsub.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/realtime/pubsub.js.map +1 -1
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseAcquire.d.ts +8 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseAcquire.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseAcquire.js +59 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseAcquire.js.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseComplete.d.ts +8 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseComplete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseComplete.js +30 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseComplete.js.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseRelease.d.ts +7 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseRelease.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseRelease.js +23 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseRelease.js.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyRecordPurgeExpired.d.ts +7 -0
- package/packages/happy2-server/dist/modules/request/idempotencyRecordPurgeExpired.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyRecordPurgeExpired.js +25 -0
- package/packages/happy2-server/dist/modules/request/idempotencyRecordPurgeExpired.js.map +1 -0
- package/packages/happy2-server/dist/modules/request/impl/idempotencyKey.d.ts +8 -0
- package/packages/happy2-server/dist/modules/request/impl/idempotencyKey.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/request/impl/idempotencyKey.js +27 -0
- package/packages/happy2-server/dist/modules/request/impl/idempotencyKey.js.map +1 -0
- package/packages/happy2-server/dist/modules/request/index.d.ts +4 -1
- package/packages/happy2-server/dist/modules/request/index.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/request/index.js +4 -1
- package/packages/happy2-server/dist/modules/request/index.js.map +1 -1
- package/packages/happy2-server/dist/modules/retention/impl/asRetention.d.ts +3 -0
- package/packages/happy2-server/dist/modules/retention/impl/asRetention.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/retention/impl/asRetention.js +19 -0
- package/packages/happy2-server/dist/modules/retention/impl/asRetention.js.map +1 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionRunDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionRunDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionRunDb.js +21 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionRunDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionSelection.d.ts +170 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionSelection.js +13 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunFinish.d.ts +18 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunFinish.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunFinish.js +48 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunFinish.js.map +1 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunList.d.ts +13 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunList.js +31 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunList.js.map +1 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunStart.d.ts +14 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunStart.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunStart.js +45 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunStart.js.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/catalog.d.ts +15 -0
- package/packages/happy2-server/dist/modules/sandbox/catalog.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/catalog.js +31 -0
- package/packages/happy2-server/dist/modules/sandbox/catalog.js.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/index.d.ts +4 -0
- package/packages/happy2-server/dist/modules/sandbox/index.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/index.js +3 -0
- package/packages/happy2-server/dist/modules/sandbox/index.js.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.d.ts +35 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.js +529 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.js.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.test.js +322 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/types.d.ts +97 -0
- package/packages/happy2-server/dist/modules/sandbox/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/types.js +2 -0
- package/packages/happy2-server/dist/modules/sandbox/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/areaHint.d.ts +3 -0
- package/packages/happy2-server/dist/modules/scheduled-message/areaHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/areaHint.js +9 -0
- package/packages/happy2-server/dist/modules/scheduled-message/areaHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/errorMessage.d.ts +2 -0
- package/packages/happy2-server/dist/modules/scheduled-message/errorMessage.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/errorMessage.js +4 -0
- package/packages/happy2-server/dist/modules/scheduled-message/errorMessage.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/getScheduledMessageWith.d.ts +8 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/getScheduledMessageWith.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/getScheduledMessageWith.js +38 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/getScheduledMessageWith.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/scheduledMessageSummary.d.ts +14 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/scheduledMessageSummary.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/scheduledMessageSummary.js +2 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/scheduledMessageSummary.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageCancel.d.ts +8 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageCancel.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageCancel.js +38 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageCancel.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageList.js +23 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageList.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessagePublishDue.d.ts +8 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessagePublishDue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessagePublishDue.js +106 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessagePublishDue.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageSchedule.d.ts +21 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageSchedule.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageSchedule.js +72 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageSchedule.js.map +1 -0
- package/packages/happy2-server/dist/modules/schema.d.ts +8313 -6153
- package/packages/happy2-server/dist/modules/schema.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/schema.js +136 -47
- package/packages/happy2-server/dist/modules/schema.js.map +1 -1
- package/packages/happy2-server/dist/modules/search/impl/decodeSearchCursor.d.ts +2 -0
- package/packages/happy2-server/dist/modules/search/impl/decodeSearchCursor.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/decodeSearchCursor.js +19 -0
- package/packages/happy2-server/dist/modules/search/impl/decodeSearchCursor.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/encodeSearchCursor.d.ts +2 -0
- package/packages/happy2-server/dist/modules/search/impl/encodeSearchCursor.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/encodeSearchCursor.js +7 -0
- package/packages/happy2-server/dist/modules/search/impl/encodeSearchCursor.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/fuzzyScore.d.ts +2 -0
- package/packages/happy2-server/dist/modules/search/impl/fuzzyScore.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/fuzzyScore.js +23 -0
- package/packages/happy2-server/dist/modules/search/impl/fuzzyScore.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/levenshtein.d.ts +2 -0
- package/packages/happy2-server/dist/modules/search/impl/levenshtein.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/levenshtein.js +16 -0
- package/packages/happy2-server/dist/modules/search/impl/levenshtein.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/resultId.d.ts +12 -0
- package/packages/happy2-server/dist/modules/search/impl/resultId.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/resultId.js +9 -0
- package/packages/happy2-server/dist/modules/search/impl/resultId.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/normalizeSearch.d.ts +2 -0
- package/packages/happy2-server/dist/modules/search/normalizeSearch.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/normalizeSearch.js +4 -0
- package/packages/happy2-server/dist/modules/search/normalizeSearch.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/searchGrams.d.ts +2 -0
- package/packages/happy2-server/dist/modules/search/searchGrams.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/searchGrams.js +11 -0
- package/packages/happy2-server/dist/modules/search/searchGrams.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/searchPageGet.d.ts +28 -0
- package/packages/happy2-server/dist/modules/search/searchPageGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/searchPageGet.js +100 -0
- package/packages/happy2-server/dist/modules/search/searchPageGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/searchRun.d.ts +20 -0
- package/packages/happy2-server/dist/modules/search/searchRun.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/searchRun.js +15 -0
- package/packages/happy2-server/dist/modules/search/searchRun.js.map +1 -0
- package/packages/happy2-server/dist/modules/server/serverSchemaMigrate.d.ts +7 -0
- package/packages/happy2-server/dist/modules/server/serverSchemaMigrate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/server/serverSchemaMigrate.js +24 -0
- package/packages/happy2-server/dist/modules/server/serverSchemaMigrate.js.map +1 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileGet.d.ts +14 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileGet.js +36 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileUpdate.d.ts +19 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileUpdate.js +99 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/allowedServerTransition.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/allowedServerTransition.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/allowedServerTransition.js +11 -0
- package/packages/happy2-server/dist/modules/setup/impl/allowedServerTransition.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImagePresentation.d.ts +13 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImagePresentation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImagePresentation.js +20 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImagePresentation.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSelectedId.d.ts +2 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSelectedId.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSelectedId.js +6 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSelectedId.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSyncHint.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSyncHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSyncHint.js +8 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSyncHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/completeRegistrationPolicyDb.d.ts +4 -0
- package/packages/happy2-server/dist/modules/setup/impl/completeRegistrationPolicyDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/completeRegistrationPolicyDb.js +60 -0
- package/packages/happy2-server/dist/modules/setup/impl/completeRegistrationPolicyDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/emptyUserSteps.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/emptyUserSteps.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/emptyUserSteps.js +15 -0
- package/packages/happy2-server/dist/modules/setup/impl/emptyUserSteps.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/encodedMetadata.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/encodedMetadata.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/encodedMetadata.js +22 -0
- package/packages/happy2-server/dist/modules/setup/impl/encodedMetadata.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/publicStatus.d.ts +9 -0
- package/packages/happy2-server/dist/modules/setup/impl/publicStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/publicStatus.js +23 -0
- package/packages/happy2-server/dist/modules/setup/impl/publicStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/readServerSnapshot.d.ts +11 -0
- package/packages/happy2-server/dist/modules/setup/impl/readServerSnapshot.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/readServerSnapshot.js +39 -0
- package/packages/happy2-server/dist/modules/setup/impl/readServerSnapshot.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/readUserSteps.d.ts +5 -0
- package/packages/happy2-server/dist/modules/setup/impl/readUserSteps.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/readUserSteps.js +23 -0
- package/packages/happy2-server/dist/modules/setup/impl/readUserSteps.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/redactServerSteps.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/redactServerSteps.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/redactServerSteps.js +21 -0
- package/packages/happy2-server/dist/modules/setup/impl/redactServerSteps.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/requireActiveAdministratorDb.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/requireActiveAdministratorDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/requireActiveAdministratorDb.js +16 -0
- package/packages/happy2-server/dist/modules/setup/impl/requireActiveAdministratorDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/requirePrerequisitesDb.d.ts +4 -0
- package/packages/happy2-server/dist/modules/setup/impl/requirePrerequisitesDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/requirePrerequisitesDb.js +21 -0
- package/packages/happy2-server/dist/modules/setup/impl/requirePrerequisitesDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/safeMetadata.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/safeMetadata.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/safeMetadata.js +25 -0
- package/packages/happy2-server/dist/modules/setup/impl/safeMetadata.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepDb.d.ts +9 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepDb.js +24 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepRecord.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepRecord.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepRecord.js +2 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepRecord.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/setupHint.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/setupHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/setupHint.js +9 -0
- package/packages/happy2-server/dist/modules/setup/impl/setupHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepPrerequisites.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepPrerequisites.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepPrerequisites.js +13 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepPrerequisites.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepStatus.d.ts +10 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepStatus.js +30 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/userStepRecord.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/userStepRecord.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/userStepRecord.js +2 -0
- package/packages/happy2-server/dist/modules/setup/impl/userStepRecord.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/validatedLastError.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/validatedLastError.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/validatedLastError.js +12 -0
- package/packages/happy2-server/dist/modules/setup/impl/validatedLastError.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/index.d.ts +16 -0
- package/packages/happy2-server/dist/modules/setup/index.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/index.js +16 -0
- package/packages/happy2-server/dist/modules/setup/index.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageCompleteBuild.d.ts +12 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageCompleteBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageCompleteBuild.js +67 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageCompleteBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageFailBuild.d.ts +12 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageFailBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageFailBuild.js +49 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageFailBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageGetStatus.d.ts +13 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageGetStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageGetStatus.js +31 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageGetStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageRetryBuild.d.ts +11 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageRetryBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageRetryBuild.js +60 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageRetryBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageSelect.d.ts +22 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageSelect.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageSelect.js +144 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageSelect.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupChooseRegistrationPolicy.d.ts +8 -0
- package/packages/happy2-server/dist/modules/setup/setupChooseRegistrationPolicy.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupChooseRegistrationPolicy.js +38 -0
- package/packages/happy2-server/dist/modules/setup/setupChooseRegistrationPolicy.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupCreateDefaultAgent.d.ts +20 -0
- package/packages/happy2-server/dist/modules/setup/setupCreateDefaultAgent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupCreateDefaultAgent.js +97 -0
- package/packages/happy2-server/dist/modules/setup/setupCreateDefaultAgent.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCombinedStatus.d.ts +8 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCombinedStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCombinedStatus.js +73 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCombinedStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCurrentSyncHint.d.ts +11 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCurrentSyncHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCurrentSyncHint.js +23 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCurrentSyncHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetPublicStatus.d.ts +8 -0
- package/packages/happy2-server/dist/modules/setup/setupGetPublicStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetPublicStatus.js +13 -0
- package/packages/happy2-server/dist/modules/setup/setupGetPublicStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetRegistrationAvailability.d.ts +8 -0
- package/packages/happy2-server/dist/modules/setup/setupGetRegistrationAvailability.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetRegistrationAvailability.js +11 -0
- package/packages/happy2-server/dist/modules/setup/setupGetRegistrationAvailability.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupRecordOperationalStep.d.ts +14 -0
- package/packages/happy2-server/dist/modules/setup/setupRecordOperationalStep.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupRecordOperationalStep.js +55 -0
- package/packages/happy2-server/dist/modules/setup/setupRecordOperationalStep.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderGetSelected.d.ts +10 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderGetSelected.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderGetSelected.js +35 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderGetSelected.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderSelect.d.ts +11 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderSelect.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderSelect.js +72 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderSelect.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/types.d.ts +70 -0
- package/packages/happy2-server/dist/modules/setup/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/types.js +29 -0
- package/packages/happy2-server/dist/modules/setup/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/chatSyncGetDifference.d.ts +33 -0
- package/packages/happy2-server/dist/modules/sync/chatSyncGetDifference.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/chatSyncGetDifference.js +103 -0
- package/packages/happy2-server/dist/modules/sync/chatSyncGetDifference.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/impl/stateAt.d.ts +3 -0
- package/packages/happy2-server/dist/modules/sync/impl/stateAt.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/impl/stateAt.js +9 -0
- package/packages/happy2-server/dist/modules/sync/impl/stateAt.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/impl/syncState.d.ts +3 -0
- package/packages/happy2-server/dist/modules/sync/impl/syncState.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/impl/syncState.js +8 -0
- package/packages/happy2-server/dist/modules/sync/impl/syncState.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncCompact.d.ts +12 -0
- package/packages/happy2-server/dist/modules/sync/syncCompact.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncCompact.js +141 -0
- package/packages/happy2-server/dist/modules/sync/syncCompact.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncConsumerAcknowledge.d.ts +12 -0
- package/packages/happy2-server/dist/modules/sync/syncConsumerAcknowledge.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncConsumerAcknowledge.js +49 -0
- package/packages/happy2-server/dist/modules/sync/syncConsumerAcknowledge.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncEventInsert.d.ts +15 -0
- package/packages/happy2-server/dist/modules/sync/syncEventInsert.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncEventInsert.js +18 -0
- package/packages/happy2-server/dist/modules/sync/syncEventInsert.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncGetDifference.d.ts +21 -0
- package/packages/happy2-server/dist/modules/sync/syncGetDifference.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncGetDifference.js +177 -0
- package/packages/happy2-server/dist/modules/sync/syncGetDifference.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncGetState.d.ts +8 -0
- package/packages/happy2-server/dist/modules/sync/syncGetState.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncGetState.js +22 -0
- package/packages/happy2-server/dist/modules/sync/syncGetState.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncInitialize.d.ts +7 -0
- package/packages/happy2-server/dist/modules/sync/syncInitialize.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncInitialize.js +24 -0
- package/packages/happy2-server/dist/modules/sync/syncInitialize.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNext.d.ts +7 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNext.js +22 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNext.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNextWithTimestamp.d.ts +7 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNextWithTimestamp.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNextWithTimestamp.js +23 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNextWithTimestamp.js.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadCreate.d.ts +15 -0
- package/packages/happy2-server/dist/modules/thread/threadCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadCreate.js +143 -0
- package/packages/happy2-server/dist/modules/thread/threadCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadFollowSet.d.ts +14 -0
- package/packages/happy2-server/dist/modules/thread/threadFollowSet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadFollowSet.js +46 -0
- package/packages/happy2-server/dist/modules/thread/threadFollowSet.js.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/thread/threadGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadGet.js +20 -0
- package/packages/happy2-server/dist/modules/thread/threadGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadListMine.d.ts +16 -0
- package/packages/happy2-server/dist/modules/thread/threadListMine.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadListMine.js +49 -0
- package/packages/happy2-server/dist/modules/thread/threadListMine.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/contactList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/user/contactList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/contactList.js +23 -0
- package/packages/happy2-server/dist/modules/user/contactList.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/asAccess.d.ts +3 -0
- package/packages/happy2-server/dist/modules/user/impl/asAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/asAccess.js +23 -0
- package/packages/happy2-server/dist/modules/user/impl/asAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/asUser.d.ts +4 -0
- package/packages/happy2-server/dist/modules/user/impl/asUser.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/asUser.js +21 -0
- package/packages/happy2-server/dist/modules/user/impl/asUser.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/userHint.d.ts +3 -0
- package/packages/happy2-server/dist/modules/user/impl/userHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/userHint.js +9 -0
- package/packages/happy2-server/dist/modules/user/impl/userHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/userRow.d.ts +3 -0
- package/packages/happy2-server/dist/modules/user/impl/userRow.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/userRow.js +2 -0
- package/packages/happy2-server/dist/modules/user/impl/userRow.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/types.d.ts +24 -0
- package/packages/happy2-server/dist/modules/user/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/types.js +2 -0
- package/packages/happy2-server/dist/modules/user/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAccessList.d.ts +12 -0
- package/packages/happy2-server/dist/modules/user/userAccessList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAccessList.js +56 -0
- package/packages/happy2-server/dist/modules/user/userAccessList.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationList.d.ts +13 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationList.js +39 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationList.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationUpdate.d.ts +16 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationUpdate.js +65 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAnnounceJoinedServer.d.ts +10 -0
- package/packages/happy2-server/dist/modules/user/userAnnounceJoinedServer.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAnnounceJoinedServer.js +46 -0
- package/packages/happy2-server/dist/modules/user/userAnnounceJoinedServer.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userCreateProfile.d.ts +10 -0
- package/packages/happy2-server/dist/modules/user/userCreateProfile.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userCreateProfile.js +195 -0
- package/packages/happy2-server/dist/modules/user/userCreateProfile.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userDelete.d.ts +13 -0
- package/packages/happy2-server/dist/modules/user/userDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userDelete.js +159 -0
- package/packages/happy2-server/dist/modules/user/userDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userFindActive.d.ts +8 -0
- package/packages/happy2-server/dist/modules/user/userFindActive.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userFindActive.js +20 -0
- package/packages/happy2-server/dist/modules/user/userFindActive.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userFindActiveByAccount.d.ts +8 -0
- package/packages/happy2-server/dist/modules/user/userFindActiveByAccount.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userFindActiveByAccount.js +20 -0
- package/packages/happy2-server/dist/modules/user/userFindActiveByAccount.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userJoinAutoChannels.d.ts +10 -0
- package/packages/happy2-server/dist/modules/user/userJoinAutoChannels.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userJoinAutoChannels.js +90 -0
- package/packages/happy2-server/dist/modules/user/userJoinAutoChannels.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenFinalize.d.ts +9 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenFinalize.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenFinalize.js +34 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenFinalize.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenTouch.d.ts +8 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenTouch.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenTouch.js +28 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenTouch.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userOnboardingUpdateStep.d.ts +12 -0
- package/packages/happy2-server/dist/modules/user/userOnboardingUpdateStep.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userOnboardingUpdateStep.js +68 -0
- package/packages/happy2-server/dist/modules/user/userOnboardingUpdateStep.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userSetBanned.d.ts +14 -0
- package/packages/happy2-server/dist/modules/user/userSetBanned.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userSetBanned.js +98 -0
- package/packages/happy2-server/dist/modules/user/userSetBanned.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userSetPhoto.d.ts +7 -0
- package/packages/happy2-server/dist/modules/user/userSetPhoto.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userSetPhoto.js +43 -0
- package/packages/happy2-server/dist/modules/user/userSetPhoto.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userTouchAccess.d.ts +7 -0
- package/packages/happy2-server/dist/modules/user/userTouchAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userTouchAccess.js +41 -0
- package/packages/happy2-server/dist/modules/user/userTouchAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userUpdateProfile.d.ts +8 -0
- package/packages/happy2-server/dist/modules/user/userUpdateProfile.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userUpdateProfile.js +46 -0
- package/packages/happy2-server/dist/modules/user/userUpdateProfile.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asClaimedDelivery.d.ts +3 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asClaimedDelivery.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asClaimedDelivery.js +12 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asClaimedDelivery.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asSubscription.d.ts +3 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asSubscription.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asSubscription.js +19 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asSubscription.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/boundedIdentifier.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/boundedIdentifier.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/boundedIdentifier.js +6 -0
- package/packages/happy2-server/dist/modules/webhook/impl/boundedIdentifier.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/claimDueDeliveries.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/claimDueDeliveries.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/claimDueDeliveries.js +70 -0
- package/packages/happy2-server/dist/modules/webhook/impl/claimDueDeliveries.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/completeDelivery.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/completeDelivery.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/completeDelivery.js +23 -0
- package/packages/happy2-server/dist/modules/webhook/impl/completeDelivery.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/deliveryHttpError.d.ts +6 -0
- package/packages/happy2-server/dist/modules/webhook/impl/deliveryHttpError.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/deliveryHttpError.js +10 -0
- package/packages/happy2-server/dist/modules/webhook/impl/deliveryHttpError.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/errorMessage.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/errorMessage.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/errorMessage.js +4 -0
- package/packages/happy2-server/dist/modules/webhook/impl/errorMessage.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/failDelivery.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/failDelivery.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/failDelivery.js +31 -0
- package/packages/happy2-server/dist/modules/webhook/impl/failDelivery.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/getSubscriptionDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/getSubscriptionDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/getSubscriptionDb.js +20 -0
- package/packages/happy2-server/dist/modules/webhook/impl/getSubscriptionDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryAttempts.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryAttempts.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryAttempts.js +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryAttempts.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryResponse.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryResponse.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryResponse.js +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryResponse.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizeEventTypes.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizeEventTypes.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizeEventTypes.js +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizeEventTypes.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizedEventType.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizedEventType.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizedEventType.js +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizedEventType.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/outgoingSubscriptionIds.d.ts +47 -0
- package/packages/happy2-server/dist/modules/webhook/impl/outgoingSubscriptionIds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/outgoingSubscriptionIds.js +14 -0
- package/packages/happy2-server/dist/modules/webhook/impl/outgoingSubscriptionIds.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/positiveLimit.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/positiveLimit.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/positiveLimit.js +7 -0
- package/packages/happy2-server/dist/modules/webhook/impl/positiveLimit.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requireChatDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requireChatDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requireChatDb.js +19 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requireChatDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requiredText.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requiredText.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requiredText.js +7 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requiredText.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/retryDelay.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/retryDelay.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/retryDelay.js +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/retryDelay.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/subscriptionSelection.d.ts +172 -0
- package/packages/happy2-server/dist/modules/webhook/impl/subscriptionSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/subscriptionSelection.js +13 -0
- package/packages/happy2-server/dist/modules/webhook/impl/subscriptionSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/truncate.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/truncate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/truncate.js +4 -0
- package/packages/happy2-server/dist/modules/webhook/impl/truncate.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookCreate.d.ts +14 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookCreate.js +51 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookInvoke.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookInvoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookInvoke.js +56 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookInvoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/outgoingWebhookCreate.d.ts +17 -0
- package/packages/happy2-server/dist/modules/webhook/outgoingWebhookCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/outgoingWebhookCreate.js +55 -0
- package/packages/happy2-server/dist/modules/webhook/outgoingWebhookCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryDispatchDue.d.ts +17 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryDispatchDue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryDispatchDue.js +58 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryDispatchDue.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueOutgoingEvent.d.ts +13 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueOutgoingEvent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueOutgoingEvent.js +54 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueOutgoingEvent.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueuePendingSyncEvents.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueuePendingSyncEvents.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueuePendingSyncEvents.js +42 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueuePendingSyncEvents.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueSyncSequence.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueSyncSequence.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueSyncSequence.js +38 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueSyncSequence.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryList.js +27 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryList.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookSubscriptionList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/webhookSubscriptionList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookSubscriptionList.js +23 -0
- package/packages/happy2-server/dist/modules/webhook/webhookSubscriptionList.js.map +1 -0
- package/packages/happy2-server/dist/modules/workspace/service.d.ts +4 -3
- package/packages/happy2-server/dist/modules/workspace/service.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/workspace/service.js +72 -24
- package/packages/happy2-server/dist/modules/workspace/service.js.map +1 -1
- package/packages/happy2-server/dist/modules/workspace/types.d.ts +8 -0
- package/packages/happy2-server/dist/modules/workspace/types.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/workspace/types.js.map +1 -1
- package/packages/happy2-server/dist/routes/agents.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/agents.js +25 -1
- package/packages/happy2-server/dist/routes/agents.js.map +1 -1
- package/packages/happy2-server/dist/routes/auth.d.ts +4 -2
- package/packages/happy2-server/dist/routes/auth.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/auth.js +23 -7
- package/packages/happy2-server/dist/routes/auth.js.map +1 -1
- package/packages/happy2-server/dist/routes/automation.d.ts +3 -2
- package/packages/happy2-server/dist/routes/automation.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/automation.js +20 -13
- package/packages/happy2-server/dist/routes/automation.js.map +1 -1
- package/packages/happy2-server/dist/routes/collaboration.d.ts +2 -2
- package/packages/happy2-server/dist/routes/collaboration.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/collaboration.js +453 -222
- package/packages/happy2-server/dist/routes/collaboration.js.map +1 -1
- package/packages/happy2-server/dist/routes/files.d.ts +2 -3
- package/packages/happy2-server/dist/routes/files.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/files.js +283 -96
- package/packages/happy2-server/dist/routes/files.js.map +1 -1
- package/packages/happy2-server/dist/routes/integrations.d.ts +4 -2
- package/packages/happy2-server/dist/routes/integrations.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/integrations.js +39 -20
- package/packages/happy2-server/dist/routes/integrations.js.map +1 -1
- package/packages/happy2-server/dist/routes/operations.d.ts +2 -2
- package/packages/happy2-server/dist/routes/operations.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/operations.js +112 -44
- package/packages/happy2-server/dist/routes/operations.js.map +1 -1
- package/packages/happy2-server/dist/routes/operations.test.js +58 -24
- package/packages/happy2-server/dist/routes/operations.test.js.map +1 -1
- package/packages/happy2-server/dist/routes/plugins.d.ts +8 -0
- package/packages/happy2-server/dist/routes/plugins.d.ts.map +1 -0
- package/packages/happy2-server/dist/routes/plugins.js +186 -0
- package/packages/happy2-server/dist/routes/plugins.js.map +1 -0
- package/packages/happy2-server/dist/routes/setup.d.ts +8 -0
- package/packages/happy2-server/dist/routes/setup.d.ts.map +1 -0
- package/packages/happy2-server/dist/routes/setup.js +283 -0
- package/packages/happy2-server/dist/routes/setup.js.map +1 -0
- package/packages/happy2-server/dist/routes/sync.d.ts +2 -2
- package/packages/happy2-server/dist/routes/sync.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/sync.js +102 -41
- package/packages/happy2-server/dist/routes/sync.js.map +1 -1
- package/packages/happy2-server/dist/routes/workspace.js +1 -1
- package/packages/happy2-server/dist/routes/workspace.js.map +1 -1
- package/packages/happy2-server/dist/runner.js +45 -19
- package/packages/happy2-server/dist/runner.js.map +1 -1
- package/packages/happy2-server/dist/server.d.ts +17 -12
- package/packages/happy2-server/dist/server.d.ts.map +1 -1
- package/packages/happy2-server/dist/server.js +182 -91
- package/packages/happy2-server/dist/server.js.map +1 -1
- package/packages/happy2-server/dist/standalone.d.ts.map +1 -1
- package/packages/happy2-server/dist/standalone.js +12 -6
- package/packages/happy2-server/dist/standalone.js.map +1 -1
- package/packages/happy2-server/dist/systemService.d.ts +48 -0
- package/packages/happy2-server/dist/systemService.d.ts.map +1 -0
- package/packages/happy2-server/dist/systemService.js +308 -0
- package/packages/happy2-server/dist/systemService.js.map +1 -0
- package/packages/happy2-server/dist/systemService.test.d.ts +2 -0
- package/packages/happy2-server/dist/systemService.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/systemService.test.js +266 -0
- package/packages/happy2-server/dist/systemService.test.js.map +1 -0
- package/packages/happy2-server/dist/web/assets/index-9SGCQLg7.js +46 -0
- package/packages/happy2-server/dist/web/assets/index-DWXBQDJB.css +2 -0
- package/packages/happy2-server/dist/web/index.html +11 -2
- package/packages/happy2-server/drizzle/0011_agent_image_changes.sql +51 -0
- package/packages/happy2-server/drizzle/0012_agent_effort.sql +1 -0
- package/packages/happy2-server/drizzle/0013_agent_turn_started_at.sql +1 -0
- package/packages/happy2-server/drizzle/0014_main_channels.sql +14 -0
- package/packages/happy2-server/drizzle/0015_durable_server_and_user_onboarding.sql +70 -0
- package/packages/happy2-server/drizzle/0016_default_agent.sql +27 -0
- package/packages/happy2-server/drizzle/0017_user_product_last_seen.sql +1 -0
- package/packages/happy2-server/drizzle/0018_threads_are_chats.sql +23 -0
- package/packages/happy2-server/drizzle/0019_channel_agent_audiences.sql +16 -0
- package/packages/happy2-server/drizzle/0020_plugins.sql +61 -0
- package/packages/happy2-server/drizzle/0021_plugin_function_results.sql +11 -0
- package/packages/happy2-server/drizzle/meta/_journal.json +77 -0
- package/packages/happy2-server/happy2.example.toml +5 -2
- package/packages/happy2-server/plugins/README.md +7 -0
- package/packages/happy2-server/plugins/hello/container/Dockerfile +6 -0
- package/packages/happy2-server/plugins/hello/plugin.json +16 -0
- package/packages/happy2-server/plugins/hello/plugin.png +0 -0
- package/packages/happy2-server/plugins/hello/server.mjs +75 -0
- package/packages/happy2-server/plugins/hello/skills/hello/SKILL.md +11 -0
- package/packages/happy2-server/dist/modules/agents/docker.d.ts +0 -51
- package/packages/happy2-server/dist/modules/agents/docker.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/agents/docker.js +0 -256
- package/packages/happy2-server/dist/modules/agents/docker.js.map +0 -1
- package/packages/happy2-server/dist/modules/agents/docker.test.d.ts +0 -2
- package/packages/happy2-server/dist/modules/agents/docker.test.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/agents/docker.test.js +0 -155
- package/packages/happy2-server/dist/modules/agents/docker.test.js.map +0 -1
- package/packages/happy2-server/dist/modules/automation/repository.d.ts +0 -127
- package/packages/happy2-server/dist/modules/automation/repository.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/automation/repository.js +0 -821
- package/packages/happy2-server/dist/modules/automation/repository.js.map +0 -1
- package/packages/happy2-server/dist/modules/collaboration/repository.d.ts +0 -839
- package/packages/happy2-server/dist/modules/collaboration/repository.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/collaboration/repository.js +0 -5795
- package/packages/happy2-server/dist/modules/collaboration/repository.js.map +0 -1
- package/packages/happy2-server/dist/modules/collaboration/repository.test.d.ts +0 -2
- package/packages/happy2-server/dist/modules/collaboration/repository.test.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/collaboration/repository.test.js.map +0 -1
- package/packages/happy2-server/dist/modules/collaboration/types.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/collaboration/types.js.map +0 -1
- package/packages/happy2-server/dist/modules/database.d.ts +0 -105
- package/packages/happy2-server/dist/modules/database.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/database.js +0 -583
- package/packages/happy2-server/dist/modules/database.js.map +0 -1
- package/packages/happy2-server/dist/modules/integrations/index.d.ts +0 -6
- package/packages/happy2-server/dist/modules/integrations/index.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/integrations/index.js +0 -6
- package/packages/happy2-server/dist/modules/integrations/index.js.map +0 -1
- package/packages/happy2-server/dist/modules/integrations/repository.d.ts +0 -136
- package/packages/happy2-server/dist/modules/integrations/repository.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/integrations/repository.js +0 -1229
- package/packages/happy2-server/dist/modules/integrations/repository.js.map +0 -1
- package/packages/happy2-server/dist/modules/integrations/repository.test.d.ts +0 -2
- package/packages/happy2-server/dist/modules/integrations/repository.test.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/integrations/repository.test.js.map +0 -1
- package/packages/happy2-server/dist/modules/operations/export-worker.d.ts +0 -16
- package/packages/happy2-server/dist/modules/operations/export-worker.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/operations/export-worker.js +0 -56
- package/packages/happy2-server/dist/modules/operations/export-worker.js.map +0 -1
- package/packages/happy2-server/dist/modules/operations/repository.d.ts +0 -215
- package/packages/happy2-server/dist/modules/operations/repository.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/operations/repository.js +0 -2011
- package/packages/happy2-server/dist/modules/operations/repository.js.map +0 -1
- package/packages/happy2-server/dist/modules/operations/repository.test.d.ts +0 -2
- package/packages/happy2-server/dist/modules/operations/repository.test.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/operations/repository.test.js.map +0 -1
- package/packages/happy2-server/dist/modules/request/database-idempotency.d.ts +0 -15
- package/packages/happy2-server/dist/modules/request/database-idempotency.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/request/database-idempotency.js +0 -141
- package/packages/happy2-server/dist/modules/request/database-idempotency.js.map +0 -1
- package/packages/happy2-server/dist/web/assets/index-COvbX8JP.css +0 -2
- package/packages/happy2-server/dist/web/assets/index-DdpugxMO.js +0 -57
- /package/packages/happy2-server/dist/modules/{collaboration → chat}/types.js +0 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
export type PluginVariableKind = "secret" | "text";
|
|
2
|
+
export type PluginInstallationStatus = "preparing" | "starting" | "ready" | "broken_configuration" | "failed";
|
|
3
|
+
export interface PluginVariableDefinition {
|
|
4
|
+
key: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
description: string;
|
|
7
|
+
kind: PluginVariableKind;
|
|
8
|
+
}
|
|
9
|
+
export interface PluginStdioMcp {
|
|
10
|
+
type: "stdio";
|
|
11
|
+
command: string;
|
|
12
|
+
args: string[];
|
|
13
|
+
container?: {
|
|
14
|
+
dockerfile: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export interface PluginRemoteMcp {
|
|
18
|
+
type: "remote";
|
|
19
|
+
url: string;
|
|
20
|
+
headers: Readonly<Record<string, string>>;
|
|
21
|
+
}
|
|
22
|
+
export type PluginMcp = PluginStdioMcp | PluginRemoteMcp;
|
|
23
|
+
export interface PluginManifest {
|
|
24
|
+
schemaVersion: 1;
|
|
25
|
+
version: string;
|
|
26
|
+
displayName: string;
|
|
27
|
+
shortName: string;
|
|
28
|
+
description: string;
|
|
29
|
+
variables: PluginVariableDefinition[];
|
|
30
|
+
mcp?: PluginMcp;
|
|
31
|
+
}
|
|
32
|
+
export interface PluginSkillSummary {
|
|
33
|
+
name: string;
|
|
34
|
+
description: string;
|
|
35
|
+
directory: string;
|
|
36
|
+
}
|
|
37
|
+
export interface PluginImageMetadata {
|
|
38
|
+
contentType: "image/png";
|
|
39
|
+
size: number;
|
|
40
|
+
width: number;
|
|
41
|
+
height: number;
|
|
42
|
+
thumbhash: string;
|
|
43
|
+
checksumSha256: string;
|
|
44
|
+
}
|
|
45
|
+
export interface PluginPackage {
|
|
46
|
+
manifest: PluginManifest;
|
|
47
|
+
skills: PluginSkillSummary[];
|
|
48
|
+
directory: string;
|
|
49
|
+
iconPath: string;
|
|
50
|
+
image: PluginImageMetadata;
|
|
51
|
+
packageDigest: string;
|
|
52
|
+
source: {
|
|
53
|
+
kind: "builtin";
|
|
54
|
+
reference: string;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export interface SystemPluginSummary {
|
|
58
|
+
id: string;
|
|
59
|
+
displayName: string;
|
|
60
|
+
shortName: string;
|
|
61
|
+
description: string;
|
|
62
|
+
sourceKind: "builtin";
|
|
63
|
+
sourceReference: string;
|
|
64
|
+
sourceVersion: string;
|
|
65
|
+
packageDigest: string;
|
|
66
|
+
variables: PluginVariableDefinition[];
|
|
67
|
+
mcp?: {
|
|
68
|
+
type: "remote" | "stdio";
|
|
69
|
+
container: "bundled" | "selection_required" | "none";
|
|
70
|
+
};
|
|
71
|
+
image: PluginImageMetadata & {
|
|
72
|
+
url: string;
|
|
73
|
+
};
|
|
74
|
+
installedByUserId?: string;
|
|
75
|
+
installedAt: string;
|
|
76
|
+
updatedAt: string;
|
|
77
|
+
}
|
|
78
|
+
export interface PluginInstallationSummary {
|
|
79
|
+
id: string;
|
|
80
|
+
pluginId: string;
|
|
81
|
+
shortName: string;
|
|
82
|
+
sourceKind: "builtin";
|
|
83
|
+
sourceReference: string;
|
|
84
|
+
sourceVersion: string;
|
|
85
|
+
packageDigest: string;
|
|
86
|
+
status: PluginInstallationStatus;
|
|
87
|
+
statusDetail?: string;
|
|
88
|
+
lastError?: string;
|
|
89
|
+
containerImageId?: string;
|
|
90
|
+
installedByUserId?: string;
|
|
91
|
+
installedAt: string;
|
|
92
|
+
updatedAt: string;
|
|
93
|
+
readyAt?: string;
|
|
94
|
+
}
|
|
95
|
+
export interface PluginFunctionDefinition {
|
|
96
|
+
description: string;
|
|
97
|
+
label: string;
|
|
98
|
+
name: string;
|
|
99
|
+
parameters: Readonly<Record<string, unknown>>;
|
|
100
|
+
}
|
|
101
|
+
export type PluginFunctionResult = {
|
|
102
|
+
status: "completed";
|
|
103
|
+
output?: unknown;
|
|
104
|
+
} | {
|
|
105
|
+
status: "failed";
|
|
106
|
+
error: {
|
|
107
|
+
code?: string;
|
|
108
|
+
data?: unknown;
|
|
109
|
+
message: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
export interface PluginCatalogItem {
|
|
113
|
+
displayName: string;
|
|
114
|
+
shortName: string;
|
|
115
|
+
description: string;
|
|
116
|
+
version: string;
|
|
117
|
+
packageDigest: string;
|
|
118
|
+
iconUrl: string;
|
|
119
|
+
skills: PluginSkillSummary[];
|
|
120
|
+
mcp?: {
|
|
121
|
+
type: "remote" | "stdio";
|
|
122
|
+
container: "bundled" | "selection_required" | "none";
|
|
123
|
+
};
|
|
124
|
+
variables: PluginVariableDefinition[];
|
|
125
|
+
systemPlugin?: SystemPluginSummary & {
|
|
126
|
+
updateAvailable: boolean;
|
|
127
|
+
installations: PluginInstallationSummary[];
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
interface PluginRuntimePackage {
|
|
131
|
+
installationId: string;
|
|
132
|
+
pluginId: string;
|
|
133
|
+
shortName: string;
|
|
134
|
+
packageDirectory: string;
|
|
135
|
+
packageDigest: string;
|
|
136
|
+
}
|
|
137
|
+
export type PluginRuntimeConfiguration = PluginRuntimePackage & ({
|
|
138
|
+
type: "stdio";
|
|
139
|
+
command: string;
|
|
140
|
+
args: string[];
|
|
141
|
+
environment: Readonly<Record<string, string>>;
|
|
142
|
+
containerName: string;
|
|
143
|
+
imageTag: string;
|
|
144
|
+
bundledDockerfile?: string;
|
|
145
|
+
} | {
|
|
146
|
+
type: "remote";
|
|
147
|
+
url: string;
|
|
148
|
+
headers: Readonly<Record<string, string>>;
|
|
149
|
+
} | {
|
|
150
|
+
type: "skills_only";
|
|
151
|
+
});
|
|
152
|
+
export declare class PluginError extends Error {
|
|
153
|
+
readonly code: "broken_configuration" | "forbidden" | "not_found" | "not_ready";
|
|
154
|
+
constructor(code: "broken_configuration" | "forbidden" | "not_found" | "not_ready", message: string);
|
|
155
|
+
}
|
|
156
|
+
export {};
|
|
157
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../sources/modules/plugin/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../sources/modules/plugin/types.ts"],"names":[],"mappings":"AAqKA,MAAM,OAAO,WAAY,SAAQ,KAAK;IAErB,IAAI;IADjB,YACa,IAAsE,EAC/E,OAAe;QAEf,KAAK,CAAC,OAAO,CAAC,CAAC;oBAHN,IAAI;QAIb,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC;IAC9B,CAAC;CACJ"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Transport } from "@modelcontextprotocol/sdk/shared/transport.js";
|
|
2
|
+
import { type JSONRPCMessage } from "@modelcontextprotocol/sdk/types.js";
|
|
3
|
+
import type { SandboxTerminalHandle } from "../../sandbox/index.js";
|
|
4
|
+
/** MCP transport over one long-lived newline-delimited stdio process in a plugin container. */
|
|
5
|
+
export declare class NdjsonStreamTransport implements Transport {
|
|
6
|
+
private readonly handle;
|
|
7
|
+
onclose?: () => void;
|
|
8
|
+
onerror?: (error: Error) => void;
|
|
9
|
+
onmessage?: (message: JSONRPCMessage) => void;
|
|
10
|
+
private buffer;
|
|
11
|
+
private started;
|
|
12
|
+
private closed;
|
|
13
|
+
constructor(handle: SandboxTerminalHandle);
|
|
14
|
+
start(): Promise<void>;
|
|
15
|
+
send(message: JSONRPCMessage): Promise<void>;
|
|
16
|
+
close(): Promise<void>;
|
|
17
|
+
private read;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=ndjsonStreamTransport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ndjsonStreamTransport.d.ts","sourceRoot":"","sources":["../../../../sources/modules/plugin/utils/ndjsonStreamTransport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAC/F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAKpE,+FAA+F;AAC/F,qBAAa,qBAAsB,YAAW,SAAS;IAQvC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAPnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;IAC9C,OAAO,CAAC,MAAM,CAAM;IACpB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,MAAM,CAAS;IAEvB,YAA6B,MAAM,EAAE,qBAAqB,EAAI;IAExD,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAqB3B;IAEK,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAQjD;IAEK,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAgB3B;IAED,OAAO,CAAC,IAAI;CA+Bf"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { JSONRPCMessageSchema } from "@modelcontextprotocol/sdk/types.js";
|
|
2
|
+
const MAX_MESSAGE_BYTES = 8 * 1024 * 1024;
|
|
3
|
+
const GRACEFUL_CLOSE_MS = 250;
|
|
4
|
+
/** MCP transport over one long-lived newline-delimited stdio process in a plugin container. */
|
|
5
|
+
export class NdjsonStreamTransport {
|
|
6
|
+
handle;
|
|
7
|
+
onclose;
|
|
8
|
+
onerror;
|
|
9
|
+
onmessage;
|
|
10
|
+
buffer = "";
|
|
11
|
+
started = false;
|
|
12
|
+
closed = false;
|
|
13
|
+
constructor(handle) {
|
|
14
|
+
this.handle = handle;
|
|
15
|
+
}
|
|
16
|
+
async start() {
|
|
17
|
+
if (this.started)
|
|
18
|
+
throw new Error("Plugin MCP transport was already started");
|
|
19
|
+
this.started = true;
|
|
20
|
+
this.handle.stdout.setEncoding("utf8");
|
|
21
|
+
this.handle.stdout.on("data", (chunk) => this.read(chunk));
|
|
22
|
+
this.handle.stdout.on("error", (error) => this.onerror?.(error));
|
|
23
|
+
this.handle.stdin.on("error", (error) => this.onerror?.(error));
|
|
24
|
+
this.handle.stderr.on("data", () => undefined);
|
|
25
|
+
void this.handle.wait.then(({ exitCode, signal }) => {
|
|
26
|
+
if (this.closed)
|
|
27
|
+
return;
|
|
28
|
+
const detail = signal ? `signal ${signal}` : `exit code ${exitCode ?? -1}`;
|
|
29
|
+
this.onerror?.(new Error(`Plugin MCP process stopped with ${detail}`));
|
|
30
|
+
void this.close();
|
|
31
|
+
}, (error) => {
|
|
32
|
+
if (!this.closed)
|
|
33
|
+
this.onerror?.(error instanceof Error ? error : new Error(String(error)));
|
|
34
|
+
void this.close();
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
async send(message) {
|
|
38
|
+
if (!this.started || this.closed)
|
|
39
|
+
throw new Error("Plugin MCP transport is not open");
|
|
40
|
+
const line = `${JSON.stringify(message)}\n`;
|
|
41
|
+
if (Buffer.byteLength(line, "utf8") > MAX_MESSAGE_BYTES)
|
|
42
|
+
throw new Error("Plugin MCP message exceeds the 8 MiB limit");
|
|
43
|
+
await new Promise((resolve, reject) => this.handle.stdin.write(line, "utf8", (error) => (error ? reject(error) : resolve())));
|
|
44
|
+
}
|
|
45
|
+
async close() {
|
|
46
|
+
if (this.closed)
|
|
47
|
+
return;
|
|
48
|
+
this.closed = true;
|
|
49
|
+
this.handle.stdin.end();
|
|
50
|
+
const exited = await Promise.race([
|
|
51
|
+
this.handle.wait.then(() => true, () => true),
|
|
52
|
+
new Promise((resolve) => {
|
|
53
|
+
const timer = setTimeout(() => resolve(false), GRACEFUL_CLOSE_MS);
|
|
54
|
+
timer.unref();
|
|
55
|
+
}),
|
|
56
|
+
]);
|
|
57
|
+
if (!exited)
|
|
58
|
+
this.handle.close();
|
|
59
|
+
this.onclose?.();
|
|
60
|
+
}
|
|
61
|
+
read(chunk) {
|
|
62
|
+
if (this.closed)
|
|
63
|
+
return;
|
|
64
|
+
this.buffer += chunk;
|
|
65
|
+
for (;;) {
|
|
66
|
+
const newline = this.buffer.indexOf("\n");
|
|
67
|
+
if (newline < 0) {
|
|
68
|
+
if (Buffer.byteLength(this.buffer, "utf8") > MAX_MESSAGE_BYTES) {
|
|
69
|
+
this.onerror?.(new Error("Plugin MCP output exceeded the 8 MiB message limit"));
|
|
70
|
+
void this.close();
|
|
71
|
+
}
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
const line = this.buffer.slice(0, newline).replace(/\r$/, "");
|
|
75
|
+
this.buffer = this.buffer.slice(newline + 1);
|
|
76
|
+
if (!line)
|
|
77
|
+
continue;
|
|
78
|
+
if (Buffer.byteLength(line, "utf8") > MAX_MESSAGE_BYTES) {
|
|
79
|
+
this.onerror?.(new Error("Plugin MCP output exceeded the 8 MiB message limit"));
|
|
80
|
+
void this.close();
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
try {
|
|
84
|
+
const message = JSONRPCMessageSchema.parse(JSON.parse(line));
|
|
85
|
+
this.onmessage?.(message);
|
|
86
|
+
if (this.closed)
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
catch {
|
|
90
|
+
this.onerror?.(new Error("Plugin MCP process emitted invalid JSON-RPC"));
|
|
91
|
+
void this.close();
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=ndjsonStreamTransport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ndjsonStreamTransport.js","sourceRoot":"","sources":["../../../../sources/modules/plugin/utils/ndjsonStreamTransport.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ndjsonStreamTransport.test.d.ts","sourceRoot":"","sources":["../../../../sources/modules/plugin/utils/ndjsonStreamTransport.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { PassThrough } from "node:stream";
|
|
2
|
+
import { describe, expect, it } from "vitest";
|
|
3
|
+
import { NdjsonStreamTransport } from "./ndjsonStreamTransport.js";
|
|
4
|
+
describe("NdjsonStreamTransport", () => {
|
|
5
|
+
it("limits individual frames rather than a chunk containing several valid frames", async () => {
|
|
6
|
+
const stdin = new PassThrough();
|
|
7
|
+
const stdout = new PassThrough();
|
|
8
|
+
const stderr = new PassThrough();
|
|
9
|
+
const wait = new Promise((resolve) => stdin.once("finish", () => resolve({ exitCode: 0, signal: null })));
|
|
10
|
+
const handle = {
|
|
11
|
+
stdin,
|
|
12
|
+
stdout,
|
|
13
|
+
stderr,
|
|
14
|
+
wait,
|
|
15
|
+
close: () => undefined,
|
|
16
|
+
};
|
|
17
|
+
const transport = new NdjsonStreamTransport(handle);
|
|
18
|
+
const messages = [];
|
|
19
|
+
transport.onmessage = (message) => messages.push(message);
|
|
20
|
+
await transport.start();
|
|
21
|
+
const payload = "x".repeat(5 * 1024 * 1024);
|
|
22
|
+
stdout.write(`${JSON.stringify({ jsonrpc: "2.0", method: "first", params: { payload } })}\n${JSON.stringify({ jsonrpc: "2.0", method: "second", params: { payload } })}\n`);
|
|
23
|
+
expect(messages).toHaveLength(2);
|
|
24
|
+
expect(messages.map((message) => ("method" in message ? message.method : undefined))).toEqual(["first", "second"]);
|
|
25
|
+
await transport.close();
|
|
26
|
+
});
|
|
27
|
+
it("rejects parsed JSON that is not a JSON-RPC message", async () => {
|
|
28
|
+
const stdin = new PassThrough();
|
|
29
|
+
const stdout = new PassThrough();
|
|
30
|
+
const stderr = new PassThrough();
|
|
31
|
+
const wait = new Promise((resolve) => stdin.once("finish", () => resolve({ exitCode: 0, signal: null })));
|
|
32
|
+
const transport = new NdjsonStreamTransport({
|
|
33
|
+
stdin,
|
|
34
|
+
stdout,
|
|
35
|
+
stderr,
|
|
36
|
+
wait,
|
|
37
|
+
close: () => undefined,
|
|
38
|
+
});
|
|
39
|
+
const failure = new Promise((resolve) => {
|
|
40
|
+
transport.onerror = resolve;
|
|
41
|
+
});
|
|
42
|
+
await transport.start();
|
|
43
|
+
stdout.write("{}\n");
|
|
44
|
+
await expect(failure).resolves.toMatchObject({
|
|
45
|
+
message: "Plugin MCP process emitted invalid JSON-RPC",
|
|
46
|
+
});
|
|
47
|
+
await transport.close();
|
|
48
|
+
});
|
|
49
|
+
it("stops dispatching buffered frames when a message callback closes the transport", async () => {
|
|
50
|
+
const stdin = new PassThrough();
|
|
51
|
+
const stdout = new PassThrough();
|
|
52
|
+
const stderr = new PassThrough();
|
|
53
|
+
const wait = new Promise((resolve) => stdin.once("finish", () => resolve({ exitCode: 0, signal: null })));
|
|
54
|
+
const transport = new NdjsonStreamTransport({
|
|
55
|
+
stdin,
|
|
56
|
+
stdout,
|
|
57
|
+
stderr,
|
|
58
|
+
wait,
|
|
59
|
+
close: () => undefined,
|
|
60
|
+
});
|
|
61
|
+
const messages = [];
|
|
62
|
+
let closed;
|
|
63
|
+
transport.onmessage = (message) => {
|
|
64
|
+
messages.push(message);
|
|
65
|
+
closed = transport.close();
|
|
66
|
+
};
|
|
67
|
+
await transport.start();
|
|
68
|
+
stdout.write(`${JSON.stringify({ jsonrpc: "2.0", method: "first" })}\n${JSON.stringify({ jsonrpc: "2.0", method: "second" })}\n`);
|
|
69
|
+
await closed;
|
|
70
|
+
expect(messages).toHaveLength(1);
|
|
71
|
+
expect(messages[0]).toMatchObject({ method: "first" });
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
//# sourceMappingURL=ndjsonStreamTransport.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ndjsonStreamTransport.test.js","sourceRoot":"","sources":["../../../../sources/modules/plugin/utils/ndjsonStreamTransport.test.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { JSONRPCMessage } from "@modelcontextprotocol/sdk/types.js";
|
|
2
|
+
import type { Transport } from "@modelcontextprotocol/sdk/shared/transport.js";
|
|
3
|
+
import type { WebhookUrlPolicy } from "../../integrations/ssrf.js";
|
|
4
|
+
import type { WebhookTransport } from "../../integrations/types.js";
|
|
5
|
+
interface RemoteMcpTransportOptions {
|
|
6
|
+
headers: Readonly<Record<string, string>>;
|
|
7
|
+
installationId: string;
|
|
8
|
+
remoteTransport: WebhookTransport;
|
|
9
|
+
signal?: AbortSignal;
|
|
10
|
+
url: string;
|
|
11
|
+
urlPolicy: WebhookUrlPolicy;
|
|
12
|
+
}
|
|
13
|
+
/** MCP client transport that preserves Happy's public-address pinning for every remote request. */
|
|
14
|
+
export declare class RemotePluginMcpTransport implements Transport {
|
|
15
|
+
private readonly options;
|
|
16
|
+
onclose?: () => void;
|
|
17
|
+
onerror?: (error: Error) => void;
|
|
18
|
+
onmessage?: <T extends JSONRPCMessage>(message: T) => void;
|
|
19
|
+
sessionId?: string;
|
|
20
|
+
private closed;
|
|
21
|
+
private protocolVersion?;
|
|
22
|
+
constructor(options: RemoteMcpTransportOptions);
|
|
23
|
+
start(): Promise<void>;
|
|
24
|
+
setProtocolVersion(version: string): void;
|
|
25
|
+
send(message: JSONRPCMessage): Promise<void>;
|
|
26
|
+
close(): Promise<void>;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=remoteMcpTransport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remoteMcpTransport.d.ts","sourceRoot":"","sources":["../../../../sources/modules/plugin/utils/remoteMcpTransport.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,UAAU,yBAAyB;IAC/B,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC1C,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,gBAAgB,CAAC;IAClC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,gBAAgB,CAAC;CAC/B;AAED,mGAAmG;AACnG,qBAAa,wBAAyB,YAAW,SAAS;IAQ1C,OAAO,CAAC,QAAQ,CAAC,OAAO;IAPpC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,CAAC,SAAS,cAAc,EAAE,OAAO,EAAE,CAAC,KAAK,IAAI,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,eAAe,CAAC,CAAS;IAEjC,YAA6B,OAAO,EAAE,yBAAyB,EAAI;IAE7D,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAG3B;IAED,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAExC;IAEK,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CA0BjD;IAEK,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAqC3B;CACJ"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { createId } from "@paralleldrive/cuid2";
|
|
2
|
+
/** MCP client transport that preserves Happy's public-address pinning for every remote request. */
|
|
3
|
+
export class RemotePluginMcpTransport {
|
|
4
|
+
options;
|
|
5
|
+
onclose;
|
|
6
|
+
onerror;
|
|
7
|
+
onmessage;
|
|
8
|
+
sessionId;
|
|
9
|
+
closed = false;
|
|
10
|
+
protocolVersion;
|
|
11
|
+
constructor(options) {
|
|
12
|
+
this.options = options;
|
|
13
|
+
}
|
|
14
|
+
async start() {
|
|
15
|
+
if (this.closed)
|
|
16
|
+
throw new Error("Remote plugin MCP transport is closed");
|
|
17
|
+
this.options.signal?.throwIfAborted();
|
|
18
|
+
}
|
|
19
|
+
setProtocolVersion(version) {
|
|
20
|
+
this.protocolVersion = version;
|
|
21
|
+
}
|
|
22
|
+
async send(message) {
|
|
23
|
+
if (this.closed)
|
|
24
|
+
throw new Error("Remote plugin MCP transport is closed");
|
|
25
|
+
this.options.signal?.throwIfAborted();
|
|
26
|
+
const destination = await this.options.urlPolicy.resolveForDelivery(this.options.url);
|
|
27
|
+
const eventId = createId();
|
|
28
|
+
const response = await this.options.remoteTransport.deliver({
|
|
29
|
+
allowedAddresses: destination.addresses,
|
|
30
|
+
body: JSON.stringify(message),
|
|
31
|
+
deliveryId: `plugin-mcp:${this.options.installationId}:${eventId}`,
|
|
32
|
+
eventId,
|
|
33
|
+
eventType: "plugin.mcp.request",
|
|
34
|
+
headers: {
|
|
35
|
+
...this.options.headers,
|
|
36
|
+
accept: "application/json, text/event-stream",
|
|
37
|
+
"content-type": "application/json",
|
|
38
|
+
...(this.protocolVersion ? { "mcp-protocol-version": this.protocolVersion } : {}),
|
|
39
|
+
...(this.sessionId ? { "mcp-session-id": this.sessionId } : {}),
|
|
40
|
+
},
|
|
41
|
+
url: destination.url,
|
|
42
|
+
});
|
|
43
|
+
this.options.signal?.throwIfAborted();
|
|
44
|
+
if (response.statusCode < 200 || response.statusCode >= 300)
|
|
45
|
+
throw new Error(`Remote MCP request returned HTTP ${response.statusCode}`);
|
|
46
|
+
const nextSessionId = response.headers?.["mcp-session-id"];
|
|
47
|
+
if (nextSessionId)
|
|
48
|
+
this.sessionId = nextSessionId;
|
|
49
|
+
for (const received of jsonRpcMessages(response.body ?? ""))
|
|
50
|
+
this.onmessage?.(received);
|
|
51
|
+
}
|
|
52
|
+
async close() {
|
|
53
|
+
if (this.closed)
|
|
54
|
+
return;
|
|
55
|
+
this.closed = true;
|
|
56
|
+
if (this.sessionId) {
|
|
57
|
+
try {
|
|
58
|
+
const destination = await this.options.urlPolicy.resolveForDelivery(this.options.url);
|
|
59
|
+
const eventId = createId();
|
|
60
|
+
const response = await this.options.remoteTransport.deliver({
|
|
61
|
+
allowedAddresses: destination.addresses,
|
|
62
|
+
body: "",
|
|
63
|
+
deliveryId: `plugin-mcp-close:${this.options.installationId}:${eventId}`,
|
|
64
|
+
eventId,
|
|
65
|
+
eventType: "plugin.mcp.close",
|
|
66
|
+
headers: {
|
|
67
|
+
...this.options.headers,
|
|
68
|
+
...(this.protocolVersion
|
|
69
|
+
? { "mcp-protocol-version": this.protocolVersion }
|
|
70
|
+
: {}),
|
|
71
|
+
"mcp-session-id": this.sessionId,
|
|
72
|
+
},
|
|
73
|
+
method: "DELETE",
|
|
74
|
+
url: destination.url,
|
|
75
|
+
});
|
|
76
|
+
if ((response.statusCode < 200 || response.statusCode >= 300) &&
|
|
77
|
+
response.statusCode !== 405)
|
|
78
|
+
throw new Error(`Remote MCP session close returned HTTP ${response.statusCode}`);
|
|
79
|
+
}
|
|
80
|
+
catch (error) {
|
|
81
|
+
this.onerror?.(error instanceof Error ? error : new Error(String(error)));
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
this.onclose?.();
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
function jsonRpcMessages(body) {
|
|
88
|
+
const trimmed = body.trim();
|
|
89
|
+
if (!trimmed)
|
|
90
|
+
return [];
|
|
91
|
+
const direct = jsonRpcMessage(trimmed);
|
|
92
|
+
if (direct)
|
|
93
|
+
return [direct];
|
|
94
|
+
const messages = [];
|
|
95
|
+
let data = [];
|
|
96
|
+
const flush = () => {
|
|
97
|
+
const message = jsonRpcMessage(data.join("\n"));
|
|
98
|
+
if (message)
|
|
99
|
+
messages.push(message);
|
|
100
|
+
data = [];
|
|
101
|
+
};
|
|
102
|
+
for (const line of body.split(/\r?\n/)) {
|
|
103
|
+
if (!line)
|
|
104
|
+
flush();
|
|
105
|
+
else if (line.startsWith("data:"))
|
|
106
|
+
data.push(line.slice(5).trimStart());
|
|
107
|
+
}
|
|
108
|
+
flush();
|
|
109
|
+
if (!messages.length)
|
|
110
|
+
throw new Error("Remote MCP returned an invalid JSON-RPC response");
|
|
111
|
+
return messages;
|
|
112
|
+
}
|
|
113
|
+
function jsonRpcMessage(source) {
|
|
114
|
+
if (!source)
|
|
115
|
+
return undefined;
|
|
116
|
+
try {
|
|
117
|
+
const value = JSON.parse(source);
|
|
118
|
+
return value && typeof value === "object" && !Array.isArray(value)
|
|
119
|
+
? value
|
|
120
|
+
: undefined;
|
|
121
|
+
}
|
|
122
|
+
catch {
|
|
123
|
+
return undefined;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
//# sourceMappingURL=remoteMcpTransport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remoteMcpTransport.js","sourceRoot":"","sources":["../../../../sources/modules/plugin/utils/remoteMcpTransport.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remoteMcpTransport.test.d.ts","sourceRoot":"","sources":["../../../../sources/modules/plugin/utils/remoteMcpTransport.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
2
|
+
import { describe, expect, it } from "vitest";
|
|
3
|
+
import { RemotePluginMcpTransport } from "./remoteMcpTransport.js";
|
|
4
|
+
describe("RemotePluginMcpTransport", () => {
|
|
5
|
+
it("pins every request and carries the negotiated MCP session through tool execution", async () => {
|
|
6
|
+
const requests = [];
|
|
7
|
+
const remote = {
|
|
8
|
+
async deliver(request) {
|
|
9
|
+
requests.push(structuredClone(request));
|
|
10
|
+
if (request.method === "DELETE")
|
|
11
|
+
return { statusCode: 405 };
|
|
12
|
+
const message = JSON.parse(request.body);
|
|
13
|
+
if (message.id === undefined)
|
|
14
|
+
return { statusCode: 202 };
|
|
15
|
+
const result = message.method === "initialize"
|
|
16
|
+
? {
|
|
17
|
+
protocolVersion: "2025-06-18",
|
|
18
|
+
capabilities: { tools: {} },
|
|
19
|
+
serverInfo: { name: "remote-test", version: "1.0.0" },
|
|
20
|
+
}
|
|
21
|
+
: message.method === "tools/list"
|
|
22
|
+
? {
|
|
23
|
+
tools: [
|
|
24
|
+
{
|
|
25
|
+
name: "remote_echo",
|
|
26
|
+
description: "Echo input remotely",
|
|
27
|
+
inputSchema: { type: "object" },
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
}
|
|
31
|
+
: { content: [{ type: "text", text: "remote result" }] };
|
|
32
|
+
return {
|
|
33
|
+
statusCode: 200,
|
|
34
|
+
body: JSON.stringify({ jsonrpc: "2.0", id: message.id, result }),
|
|
35
|
+
...(message.method === "initialize"
|
|
36
|
+
? { headers: { "mcp-session-id": "remote-session" } }
|
|
37
|
+
: {}),
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
let resolutions = 0;
|
|
42
|
+
const transport = new RemotePluginMcpTransport({
|
|
43
|
+
headers: { authorization: "Bearer secret" },
|
|
44
|
+
installationId: "installation1",
|
|
45
|
+
remoteTransport: remote,
|
|
46
|
+
url: "https://mcp.example.test/service",
|
|
47
|
+
urlPolicy: {
|
|
48
|
+
validateForStorage: (url) => url,
|
|
49
|
+
resolveForDelivery: async (url) => {
|
|
50
|
+
resolutions += 1;
|
|
51
|
+
return {
|
|
52
|
+
url,
|
|
53
|
+
addresses: [{ address: "203.0.113.9", family: 4 }],
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
});
|
|
58
|
+
const client = new Client({ name: "remote-test-client", version: "1.0.0" });
|
|
59
|
+
await client.connect(transport);
|
|
60
|
+
expect((await client.listTools()).tools.map(({ name }) => name)).toEqual(["remote_echo"]);
|
|
61
|
+
expect(await client.callTool({ name: "remote_echo", arguments: { value: "hello" } })).toMatchObject({ content: [{ type: "text", text: "remote result" }] });
|
|
62
|
+
await client.close();
|
|
63
|
+
expect(resolutions).toBe(requests.length);
|
|
64
|
+
expect(requests[0]?.headers).not.toHaveProperty("mcp-session-id");
|
|
65
|
+
expect(requests
|
|
66
|
+
.slice(1)
|
|
67
|
+
.every(({ headers }) => headers["mcp-session-id"] === "remote-session")).toBe(true);
|
|
68
|
+
expect(requests.slice(1).every(({ headers }) => headers.authorization === "Bearer secret")).toBe(true);
|
|
69
|
+
expect(requests.at(-1)).toMatchObject({
|
|
70
|
+
method: "DELETE",
|
|
71
|
+
headers: { "mcp-session-id": "remote-session" },
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
//# sourceMappingURL=remoteMcpTransport.test.js.map
|