happy2 0.0.5 → 0.0.9
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 +101 -66
- package/package.json +38 -20
- package/packages/happy2-server/README.md +162 -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 +12 -8
- package/packages/happy2-server/dist/index.d.ts.map +1 -1
- package/packages/happy2-server/dist/index.js +10 -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 +15 -1
- package/packages/happy2-server/dist/modules/agents/daemon.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/agents/daemon.js +19 -2
- 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 +90 -15
- package/packages/happy2-server/dist/modules/agents/service.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/agents/service.js +701 -124
- 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 +17 -14
- 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.js +1 -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 +0 -1
- package/packages/happy2-server/dist/modules/config/loader.js.map +1 -1
- package/packages/happy2-server/dist/modules/config/type.d.ts +0 -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/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/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 +34 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.js +415 -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 +243 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/types.d.ts +89 -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 +1590 -1328
- package/packages/happy2-server/dist/modules/schema.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/schema.js +64 -46
- 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 +175 -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/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/server.d.ts +11 -12
- package/packages/happy2-server/dist/server.d.ts.map +1 -1
- package/packages/happy2-server/dist/server.js +137 -89
- 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/web/assets/index-DH1SOwNV.js +46 -0
- package/packages/happy2-server/dist/web/assets/index-DZ1uRLgV.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/meta/_journal.json +63 -0
- package/packages/happy2-server/happy2.example.toml +0 -2
- 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 @@
|
|
|
1
|
+
{"version":3,"file":"requireScopeSubset.js","sourceRoot":"","sources":["../../../../sources/modules/integration/impl/requireScopeSubset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAyB,MAAM,6BAA6B,CAAC;AAEtF,MAAM,UAAU,kBAAkB,CAC9B,SAA6B,EAC7B,OAA2B;IAE3B,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACnD,MAAM,IAAI,gBAAgB,CAAC,WAAW,EAAE,0CAA0C,CAAC,CAAC;AAC5F,CAAC"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
export declare const slashCommandSelection: {
|
|
2
|
+
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3
|
+
name: "id";
|
|
4
|
+
tableName: "slash_commands";
|
|
5
|
+
dataType: "string";
|
|
6
|
+
columnType: "SQLiteText";
|
|
7
|
+
data: string;
|
|
8
|
+
driverParam: string;
|
|
9
|
+
notNull: true;
|
|
10
|
+
hasDefault: false;
|
|
11
|
+
isPrimaryKey: true;
|
|
12
|
+
isAutoincrement: false;
|
|
13
|
+
hasRuntimeDefault: false;
|
|
14
|
+
enumValues: [string, ...string[]];
|
|
15
|
+
baseColumn: never;
|
|
16
|
+
identity: undefined;
|
|
17
|
+
generated: undefined;
|
|
18
|
+
}, {}, {
|
|
19
|
+
length: number | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
integration_id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
22
|
+
name: "integration_id";
|
|
23
|
+
tableName: "slash_commands";
|
|
24
|
+
dataType: "string";
|
|
25
|
+
columnType: "SQLiteText";
|
|
26
|
+
data: string;
|
|
27
|
+
driverParam: string;
|
|
28
|
+
notNull: true;
|
|
29
|
+
hasDefault: false;
|
|
30
|
+
isPrimaryKey: false;
|
|
31
|
+
isAutoincrement: false;
|
|
32
|
+
hasRuntimeDefault: false;
|
|
33
|
+
enumValues: [string, ...string[]];
|
|
34
|
+
baseColumn: never;
|
|
35
|
+
identity: undefined;
|
|
36
|
+
generated: undefined;
|
|
37
|
+
}, {}, {
|
|
38
|
+
length: number | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
command: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
41
|
+
name: "command";
|
|
42
|
+
tableName: "slash_commands";
|
|
43
|
+
dataType: "string";
|
|
44
|
+
columnType: "SQLiteText";
|
|
45
|
+
data: string;
|
|
46
|
+
driverParam: string;
|
|
47
|
+
notNull: true;
|
|
48
|
+
hasDefault: false;
|
|
49
|
+
isPrimaryKey: false;
|
|
50
|
+
isAutoincrement: false;
|
|
51
|
+
hasRuntimeDefault: false;
|
|
52
|
+
enumValues: [string, ...string[]];
|
|
53
|
+
baseColumn: never;
|
|
54
|
+
identity: undefined;
|
|
55
|
+
generated: undefined;
|
|
56
|
+
}, {}, {
|
|
57
|
+
length: number | undefined;
|
|
58
|
+
}>;
|
|
59
|
+
description: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
60
|
+
name: "description";
|
|
61
|
+
tableName: "slash_commands";
|
|
62
|
+
dataType: "string";
|
|
63
|
+
columnType: "SQLiteText";
|
|
64
|
+
data: string;
|
|
65
|
+
driverParam: string;
|
|
66
|
+
notNull: false;
|
|
67
|
+
hasDefault: false;
|
|
68
|
+
isPrimaryKey: false;
|
|
69
|
+
isAutoincrement: false;
|
|
70
|
+
hasRuntimeDefault: false;
|
|
71
|
+
enumValues: [string, ...string[]];
|
|
72
|
+
baseColumn: never;
|
|
73
|
+
identity: undefined;
|
|
74
|
+
generated: undefined;
|
|
75
|
+
}, {}, {
|
|
76
|
+
length: number | undefined;
|
|
77
|
+
}>;
|
|
78
|
+
usage_hint: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
79
|
+
name: "usage_hint";
|
|
80
|
+
tableName: "slash_commands";
|
|
81
|
+
dataType: "string";
|
|
82
|
+
columnType: "SQLiteText";
|
|
83
|
+
data: string;
|
|
84
|
+
driverParam: string;
|
|
85
|
+
notNull: false;
|
|
86
|
+
hasDefault: false;
|
|
87
|
+
isPrimaryKey: false;
|
|
88
|
+
isAutoincrement: false;
|
|
89
|
+
hasRuntimeDefault: false;
|
|
90
|
+
enumValues: [string, ...string[]];
|
|
91
|
+
baseColumn: never;
|
|
92
|
+
identity: undefined;
|
|
93
|
+
generated: undefined;
|
|
94
|
+
}, {}, {
|
|
95
|
+
length: number | undefined;
|
|
96
|
+
}>;
|
|
97
|
+
active: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
98
|
+
name: "active";
|
|
99
|
+
tableName: "slash_commands";
|
|
100
|
+
dataType: "number";
|
|
101
|
+
columnType: "SQLiteInteger";
|
|
102
|
+
data: number;
|
|
103
|
+
driverParam: number;
|
|
104
|
+
notNull: true;
|
|
105
|
+
hasDefault: true;
|
|
106
|
+
isPrimaryKey: false;
|
|
107
|
+
isAutoincrement: false;
|
|
108
|
+
hasRuntimeDefault: false;
|
|
109
|
+
enumValues: undefined;
|
|
110
|
+
baseColumn: never;
|
|
111
|
+
identity: undefined;
|
|
112
|
+
generated: undefined;
|
|
113
|
+
}, {}, {}>;
|
|
114
|
+
created_at: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
115
|
+
name: "created_at";
|
|
116
|
+
tableName: "slash_commands";
|
|
117
|
+
dataType: "string";
|
|
118
|
+
columnType: "SQLiteText";
|
|
119
|
+
data: string;
|
|
120
|
+
driverParam: string;
|
|
121
|
+
notNull: true;
|
|
122
|
+
hasDefault: true;
|
|
123
|
+
isPrimaryKey: false;
|
|
124
|
+
isAutoincrement: false;
|
|
125
|
+
hasRuntimeDefault: false;
|
|
126
|
+
enumValues: [string, ...string[]];
|
|
127
|
+
baseColumn: never;
|
|
128
|
+
identity: undefined;
|
|
129
|
+
generated: undefined;
|
|
130
|
+
}, {}, {
|
|
131
|
+
length: number | undefined;
|
|
132
|
+
}>;
|
|
133
|
+
updated_at: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
134
|
+
name: "updated_at";
|
|
135
|
+
tableName: "slash_commands";
|
|
136
|
+
dataType: "string";
|
|
137
|
+
columnType: "SQLiteText";
|
|
138
|
+
data: string;
|
|
139
|
+
driverParam: string;
|
|
140
|
+
notNull: true;
|
|
141
|
+
hasDefault: true;
|
|
142
|
+
isPrimaryKey: false;
|
|
143
|
+
isAutoincrement: false;
|
|
144
|
+
hasRuntimeDefault: false;
|
|
145
|
+
enumValues: [string, ...string[]];
|
|
146
|
+
baseColumn: never;
|
|
147
|
+
identity: undefined;
|
|
148
|
+
generated: undefined;
|
|
149
|
+
}, {}, {
|
|
150
|
+
length: number | undefined;
|
|
151
|
+
}>;
|
|
152
|
+
};
|
|
153
|
+
//# sourceMappingURL=slashCommandSelection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slashCommandSelection.d.ts","sourceRoot":"","sources":["../../../../sources/modules/integration/impl/slashCommandSelection.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,qBAAqB;IAC9B,EAAE;;;;;;;;;;;;;;;;;;;IACF,cAAc;;;;;;;;;;;;;;;;;;;IACd,OAAO;;;;;;;;;;;;;;;;;;;IACP,WAAW;;;;;;;;;;;;;;;;;;;IACX,UAAU;;;;;;;;;;;;;;;;;;;IACV,MAAM;;;;;;;;;;;;;;;;;IACN,UAAU;;;;;;;;;;;;;;;;;;;IACV,UAAU;;;;;;;;;;;;;;;;;;;CACb,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { slashCommands } from "../../schema.js";
|
|
2
|
+
export const slashCommandSelection = {
|
|
3
|
+
id: slashCommands.id,
|
|
4
|
+
integration_id: slashCommands.integrationId,
|
|
5
|
+
command: slashCommands.command,
|
|
6
|
+
description: slashCommands.description,
|
|
7
|
+
usage_hint: slashCommands.usageHint,
|
|
8
|
+
active: slashCommands.active,
|
|
9
|
+
created_at: slashCommands.createdAt,
|
|
10
|
+
updated_at: slashCommands.updatedAt,
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=slashCommandSelection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slashCommandSelection.js","sourceRoot":"","sources":["../../../../sources/modules/integration/impl/slashCommandSelection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,EAAE,EAAE,aAAa,CAAC,EAAE;IACpB,cAAc,EAAE,aAAa,CAAC,aAAa;IAC3C,OAAO,EAAE,aAAa,CAAC,OAAO;IAC9B,WAAW,EAAE,aAAa,CAAC,WAAW;IACtC,UAAU,EAAE,aAAa,CAAC,SAAS;IACnC,MAAM,EAAE,aAAa,CAAC,MAAM;IAC5B,UAAU,EAAE,aAAa,CAAC,SAAS;IACnC,UAAU,EAAE,aAAa,CAAC,SAAS;CACtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slashEventType.d.ts","sourceRoot":"","sources":["../../../../sources/modules/integration/impl/slashEventType.ts"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAExD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slashEventType.js","sourceRoot":"","sources":["../../../../sources/modules/integration/impl/slashEventType.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,cAAc,CAAC,SAAiB;IAC5C,OAAO,iBAAiB,SAAS,EAAE,CAAC;AACxC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type DrizzleTransaction } from "../drizzle.js";
|
|
2
|
+
/**
|
|
3
|
+
* Writes the integration actor, action, target, and structured request context into auditLogEntries within the caller's transaction.
|
|
4
|
+
* This helper makes authorization-sensitive integration changes inseparable from the evidence used to investigate them.
|
|
5
|
+
*/
|
|
6
|
+
export declare function integrationAppendAudit(tx: DrizzleTransaction, actorUserId: string, action: string, targetType: string, targetId: string, metadata?: Record<string, unknown>): Promise<void>;
|
|
7
|
+
//# sourceMappingURL=integrationAppendAudit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationAppendAudit.d.ts","sourceRoot":"","sources":["../../../sources/modules/integration/integrationAppendAudit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGxD;;;GAGG;AACH,wBAAsB,sBAAsB,CACxC,EAAE,EAAE,kBAAkB,EACtB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACnC,OAAO,CAAC,IAAI,CAAC,CASf"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {} from "../drizzle.js";
|
|
2
|
+
import { auditLogEntries } from "../schema.js";
|
|
3
|
+
import { createId } from "@paralleldrive/cuid2";
|
|
4
|
+
/**
|
|
5
|
+
* Writes the integration actor, action, target, and structured request context into auditLogEntries within the caller's transaction.
|
|
6
|
+
* This helper makes authorization-sensitive integration changes inseparable from the evidence used to investigate them.
|
|
7
|
+
*/
|
|
8
|
+
export async function integrationAppendAudit(tx, actorUserId, action, targetType, targetId, metadata) {
|
|
9
|
+
await tx.insert(auditLogEntries).values({
|
|
10
|
+
id: createId(),
|
|
11
|
+
actorUserId,
|
|
12
|
+
action,
|
|
13
|
+
targetType,
|
|
14
|
+
targetId,
|
|
15
|
+
metadataJson: metadata ? JSON.stringify(metadata) : null,
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=integrationAppendAudit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationAppendAudit.js","sourceRoot":"","sources":["../../../sources/modules/integration/integrationAppendAudit.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,sBAAsB,CACxC,EAAsB,EACtB,WAAmB,EACnB,MAAc,EACd,UAAkB,EAClB,QAAgB,EAChB,QAAkC;IAElC,MAAM,EAAE,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC;QACpC,EAAE,EAAE,QAAQ,EAAE;QACd,WAAW;QACX,MAAM;QACN,UAAU;QACV,QAAQ;QACR,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI;KAC3D,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type DrizzleExecutor } from "../drizzle.js";
|
|
2
|
+
import { type IntegrationMutation, type IntegrationScope, type IntegrationSummary } from "../integrations/types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Creates an integration for a server administrator after validating any bot binding, then emits its audit and sync change projection.
|
|
5
|
+
* Delegating the entire transaction preserves one public creation contract for authorization, normalized insertion, and change publication.
|
|
6
|
+
*/
|
|
7
|
+
export declare function integrationCreate(executor: DrizzleExecutor, input: {
|
|
8
|
+
actorUserId: string;
|
|
9
|
+
kind: "app" | "service_account";
|
|
10
|
+
name: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
botId?: string;
|
|
13
|
+
scopes: readonly IntegrationScope[];
|
|
14
|
+
}): Promise<IntegrationMutation<IntegrationSummary>>;
|
|
15
|
+
//# sourceMappingURL=integrationCreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationCreate.d.ts","sourceRoot":"","sources":["../../../sources/modules/integration/integrationCreate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EACH,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EAC1B,MAAM,0BAA0B,CAAC;AAGlC;;;GAGG;AACH,wBAAsB,iBAAiB,CACnC,QAAQ,EAAE,eAAe,EACzB,KAAK,EAAE;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,KAAK,GAAG,iBAAiB,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,gBAAgB,EAAE,CAAC;CACvC,GACF,OAAO,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,CAAC,CAElD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {} from "../drizzle.js";
|
|
2
|
+
import {} from "../integrations/types.js";
|
|
3
|
+
import { createIntegrationRecord } from "./impl/createIntegrationRecord.js";
|
|
4
|
+
/**
|
|
5
|
+
* Creates an integration for a server administrator after validating any bot binding, then emits its audit and sync change projection.
|
|
6
|
+
* Delegating the entire transaction preserves one public creation contract for authorization, normalized insertion, and change publication.
|
|
7
|
+
*/
|
|
8
|
+
export async function integrationCreate(executor, input) {
|
|
9
|
+
return createIntegrationRecord(executor, input);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=integrationCreate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationCreate.js","sourceRoot":"","sources":["../../../sources/modules/integration/integrationCreate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,MAAM,eAAe,CAAC;AACrD,OAAO,EAIN,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACnC,QAAyB,EACzB,KAOC;IAED,OAAO,uBAAuB,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type DrizzleTransaction } from "../drizzle.js";
|
|
2
|
+
import { type IntegrationChange } from "../integrations/types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Updates integrations modification metadata and appends the supplied audit description for a completed integration transition.
|
|
5
|
+
* Reusing the caller's transaction prevents the durable integration version from advancing without an attributable change record.
|
|
6
|
+
*/
|
|
7
|
+
export declare function integrationFinishChange(tx: DrizzleTransaction, actorUserId: string, kind: string, integrationId: string): Promise<IntegrationChange>;
|
|
8
|
+
//# sourceMappingURL=integrationFinishChange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationFinishChange.d.ts","sourceRoot":"","sources":["../../../sources/modules/integration/integrationFinishChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAKlE;;;GAGG;AACH,wBAAsB,uBAAuB,CACzC,EAAE,EAAE,kBAAkB,EACtB,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,MAAM,EACZ,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,iBAAiB,CAAC,CAU5B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {} from "../drizzle.js";
|
|
2
|
+
import {} from "../integrations/types.js";
|
|
3
|
+
import { eq } from "drizzle-orm";
|
|
4
|
+
import { integrations } from "../schema.js";
|
|
5
|
+
import { integrationAppendAudit } from "./integrationAppendAudit.js";
|
|
6
|
+
import { integrationRecordChange } from "./integrationRecordChange.js";
|
|
7
|
+
/**
|
|
8
|
+
* Updates integrations modification metadata and appends the supplied audit description for a completed integration transition.
|
|
9
|
+
* Reusing the caller's transaction prevents the durable integration version from advancing without an attributable change record.
|
|
10
|
+
*/
|
|
11
|
+
export async function integrationFinishChange(tx, actorUserId, kind, integrationId) {
|
|
12
|
+
const change = await integrationRecordChange(tx, actorUserId, kind, integrationId);
|
|
13
|
+
await integrationAppendAudit(tx, actorUserId, kind, "integration", integrationId);
|
|
14
|
+
await tx
|
|
15
|
+
.update(integrations)
|
|
16
|
+
.set({
|
|
17
|
+
syncSequence: Number(change.sequence),
|
|
18
|
+
})
|
|
19
|
+
.where(eq(integrations.id, integrationId));
|
|
20
|
+
return change;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=integrationFinishChange.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationFinishChange.js","sourceRoot":"","sources":["../../../sources/modules/integration/integrationFinishChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,MAAM,eAAe,CAAC;AACxD,OAAO,EAA0B,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB,CACzC,EAAsB,EACtB,WAAmB,EACnB,IAAY,EACZ,aAAqB;IAErB,MAAM,MAAM,GAAG,MAAM,uBAAuB,CAAC,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC;IACnF,MAAM,sBAAsB,CAAC,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC;IAClF,MAAM,EAAE;SACH,MAAM,CAAC,YAAY,CAAC;SACpB,GAAG,CAAC;QACD,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC;KACxC,CAAC;SACD,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE,aAAa,CAAC,CAAC,CAAC;IAC/C,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type DrizzleExecutor } from "../drizzle.js";
|
|
2
|
+
import { type IntegrationSummary } from "../integrations/types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Loads the canonical integration projection by identifier, including inactive or soft-deleted management history.
|
|
5
|
+
* Mapping absence to the integration not-found error gives callers one typed boundary while lifecycle eligibility remains an explicit separate check.
|
|
6
|
+
*/
|
|
7
|
+
export declare function integrationGet(executor: DrizzleExecutor, integrationId: string): Promise<IntegrationSummary>;
|
|
8
|
+
//# sourceMappingURL=integrationGet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationGet.d.ts","sourceRoot":"","sources":["../../../sources/modules/integration/integrationGet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAoB,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAMrF;;;GAGG;AACH,wBAAsB,cAAc,CAChC,QAAQ,EAAE,eAAe,EACzB,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,kBAAkB,CAAC,CAO7B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {} from "../drizzle.js";
|
|
2
|
+
import { IntegrationError } from "../integrations/types.js";
|
|
3
|
+
import { asIntegration } from "./impl/asIntegration.js";
|
|
4
|
+
import { eq } from "drizzle-orm";
|
|
5
|
+
import { integrationSelection } from "./impl/integrationSelection.js";
|
|
6
|
+
import { integrations } from "../schema.js";
|
|
7
|
+
/**
|
|
8
|
+
* Loads the canonical integration projection by identifier, including inactive or soft-deleted management history.
|
|
9
|
+
* Mapping absence to the integration not-found error gives callers one typed boundary while lifecycle eligibility remains an explicit separate check.
|
|
10
|
+
*/
|
|
11
|
+
export async function integrationGet(executor, integrationId) {
|
|
12
|
+
const [row] = await executor
|
|
13
|
+
.select(integrationSelection)
|
|
14
|
+
.from(integrations)
|
|
15
|
+
.where(eq(integrations.id, integrationId));
|
|
16
|
+
if (!row)
|
|
17
|
+
throw new IntegrationError("not_found", "Integration was not found");
|
|
18
|
+
return asIntegration(row);
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=integrationGet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationGet.js","sourceRoot":"","sources":["../../../sources/modules/integration/integrationGet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAA2B,MAAM,0BAA0B,CAAC;AAErF,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAChC,QAAyB,EACzB,aAAqB;IAErB,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,QAAQ;SACvB,MAAM,CAAC,oBAAoB,CAAC;SAC5B,IAAI,CAAC,YAAY,CAAC;SAClB,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE,aAAa,CAAC,CAAC,CAAC;IAC/C,IAAI,CAAC,GAAG;QAAE,MAAM,IAAI,gBAAgB,CAAC,WAAW,EAAE,2BAA2B,CAAC,CAAC;IAC/E,OAAO,aAAa,CAAC,GAAG,CAAC,CAAC;AAC9B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type DrizzleTransaction } from "../drizzle.js";
|
|
2
|
+
import { type IntegrationKind, type IntegrationScope } from "../integrations/types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Inserts a normalized integrations definition with its owner, provider type, capabilities, and initial active state.
|
|
5
|
+
* Keeping construction in the caller's transaction lets related bot or webhook records roll back when the integration cannot be fully provisioned.
|
|
6
|
+
*/
|
|
7
|
+
export declare function integrationInsert(tx: DrizzleTransaction, input: {
|
|
8
|
+
actorUserId: string;
|
|
9
|
+
kind: IntegrationKind;
|
|
10
|
+
name: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
botId?: string;
|
|
13
|
+
scopes: readonly IntegrationScope[];
|
|
14
|
+
}): Promise<{
|
|
15
|
+
id: string;
|
|
16
|
+
}>;
|
|
17
|
+
//# sourceMappingURL=integrationInsert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationInsert.d.ts","sourceRoot":"","sources":["../../../sources/modules/integration/integrationInsert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAEH,KAAK,eAAe,EAEpB,KAAK,gBAAgB,EACxB,MAAM,0BAA0B,CAAC;AAQlC;;;GAGG;AACH,wBAAsB,iBAAiB,CACnC,EAAE,EAAE,kBAAkB,EACtB,KAAK,EAAE;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,gBAAgB,EAAE,CAAC;CACvC,GACF,OAAO,CAAC;IACP,EAAE,EAAE,MAAM,CAAC;CACd,CAAC,CAgBD"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {} from "../drizzle.js";
|
|
2
|
+
import { IntegrationError, integrationKinds, } from "../integrations/types.js";
|
|
3
|
+
import { createId } from "@paralleldrive/cuid2";
|
|
4
|
+
import { integrations } from "../schema.js";
|
|
5
|
+
import { normalizeScopes } from "./impl/normalizeScopes.js";
|
|
6
|
+
import { optionalTrimmed } from "./optionalTrimmed.js";
|
|
7
|
+
import { requiredTrimmed } from "./requiredTrimmed.js";
|
|
8
|
+
/**
|
|
9
|
+
* Inserts a normalized integrations definition with its owner, provider type, capabilities, and initial active state.
|
|
10
|
+
* Keeping construction in the caller's transaction lets related bot or webhook records roll back when the integration cannot be fully provisioned.
|
|
11
|
+
*/
|
|
12
|
+
export async function integrationInsert(tx, input) {
|
|
13
|
+
if (!integrationKinds.includes(input.kind))
|
|
14
|
+
throw new IntegrationError("invalid", "Integration kind is invalid");
|
|
15
|
+
const id = createId();
|
|
16
|
+
await tx.insert(integrations).values({
|
|
17
|
+
id,
|
|
18
|
+
kind: input.kind,
|
|
19
|
+
name: requiredTrimmed(input.name, "Integration name", 200),
|
|
20
|
+
description: optionalTrimmed(input.description, "Integration description", 2_000) ?? null,
|
|
21
|
+
botId: input.botId ?? null,
|
|
22
|
+
createdByUserId: input.actorUserId,
|
|
23
|
+
scopesJson: JSON.stringify(normalizeScopes(input.scopes)),
|
|
24
|
+
});
|
|
25
|
+
return {
|
|
26
|
+
id,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=integrationInsert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationInsert.js","sourceRoot":"","sources":["../../../sources/modules/integration/integrationInsert.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,MAAM,eAAe,CAAC;AACxD,OAAO,EACH,gBAAgB,EAEhB,gBAAgB,GAEnB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACnC,EAAsB,EACtB,KAOC;IAID,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC;QACtC,MAAM,IAAI,gBAAgB,CAAC,SAAS,EAAE,6BAA6B,CAAC,CAAC;IACzE,MAAM,EAAE,GAAG,QAAQ,EAAE,CAAC;IACtB,MAAM,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC;QACjC,EAAE;QACF,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,IAAI,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,EAAE,kBAAkB,EAAE,GAAG,CAAC;QAC1D,WAAW,EAAE,eAAe,CAAC,KAAK,CAAC,WAAW,EAAE,yBAAyB,EAAE,KAAK,CAAC,IAAI,IAAI;QACzF,KAAK,EAAE,KAAK,CAAC,KAAK,IAAI,IAAI;QAC1B,eAAe,EAAE,KAAK,CAAC,WAAW;QAClC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KAC5D,CAAC,CAAC;IACH,OAAO;QACH,EAAE;KACL,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type DrizzleExecutor } from "../drizzle.js";
|
|
2
|
+
import { type IntegrationSummary } from "../integrations/types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Lists all integration definitions newest first after requiring an active server integration administrator.
|
|
5
|
+
* Retaining inactive and deleted records in this management view preserves operational history without making them runtime-eligible.
|
|
6
|
+
*/
|
|
7
|
+
export declare function integrationList(executor: DrizzleExecutor, actorUserId: string): Promise<IntegrationSummary[]>;
|
|
8
|
+
//# sourceMappingURL=integrationList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationList.d.ts","sourceRoot":"","sources":["../../../sources/modules/integration/integrationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAMnE;;;GAGG;AACH,wBAAsB,eAAe,CACjC,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,MAAM,GACpB,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAO/B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {} from "../drizzle.js";
|
|
2
|
+
import {} from "../integrations/types.js";
|
|
3
|
+
import { asIntegration } from "./impl/asIntegration.js";
|
|
4
|
+
import { desc } from "drizzle-orm";
|
|
5
|
+
import { integrationSelection } from "./impl/integrationSelection.js";
|
|
6
|
+
import { integrations } from "../schema.js";
|
|
7
|
+
import { userRequireIntegrationAdmin } from "./userRequireIntegrationAdmin.js";
|
|
8
|
+
/**
|
|
9
|
+
* Lists all integration definitions newest first after requiring an active server integration administrator.
|
|
10
|
+
* Retaining inactive and deleted records in this management view preserves operational history without making them runtime-eligible.
|
|
11
|
+
*/
|
|
12
|
+
export async function integrationList(executor, actorUserId) {
|
|
13
|
+
await userRequireIntegrationAdmin(executor, actorUserId);
|
|
14
|
+
const rows = await executor
|
|
15
|
+
.select(integrationSelection)
|
|
16
|
+
.from(integrations)
|
|
17
|
+
.orderBy(desc(integrations.createdAt), desc(integrations.id));
|
|
18
|
+
return rows.map(asIntegration);
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=integrationList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationList.js","sourceRoot":"","sources":["../../../sources/modules/integration/integrationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,MAAM,eAAe,CAAC;AACrD,OAAO,EAA2B,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CACjC,QAAyB,EACzB,WAAmB;IAEnB,MAAM,2BAA2B,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;IACzD,MAAM,IAAI,GAAG,MAAM,QAAQ;SACtB,MAAM,CAAC,oBAAoB,CAAC;SAC5B,IAAI,CAAC,YAAY,CAAC;SAClB,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC;IAClE,OAAO,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;AACnC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type DrizzleTransaction } from "../drizzle.js";
|
|
2
|
+
import { type IntegrationChange } from "../integrations/types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Allocates the next serverSyncState sequence and inserts the integration-scoped syncEvents hint for a completed change.
|
|
5
|
+
* Requiring the mutation transaction ensures clients are never notified about an integration version that failed to commit.
|
|
6
|
+
*/
|
|
7
|
+
export declare function integrationRecordChange(tx: DrizzleTransaction, actorUserId: string, kind: string, entityId: string): Promise<IntegrationChange>;
|
|
8
|
+
//# sourceMappingURL=integrationRecordChange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationRecordChange.d.ts","sourceRoot":"","sources":["../../../sources/modules/integration/integrationRecordChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAIlE;;;GAGG;AACH,wBAAsB,uBAAuB,CACzC,EAAE,EAAE,kBAAkB,EACtB,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GACjB,OAAO,CAAC,iBAAiB,CAAC,CAsB5B"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {} from "../drizzle.js";
|
|
2
|
+
import {} from "../integrations/types.js";
|
|
3
|
+
import { eq, sql } from "drizzle-orm";
|
|
4
|
+
import { serverSyncState, syncEvents } from "../schema.js";
|
|
5
|
+
/**
|
|
6
|
+
* Allocates the next serverSyncState sequence and inserts the integration-scoped syncEvents hint for a completed change.
|
|
7
|
+
* Requiring the mutation transaction ensures clients are never notified about an integration version that failed to commit.
|
|
8
|
+
*/
|
|
9
|
+
export async function integrationRecordChange(tx, actorUserId, kind, entityId) {
|
|
10
|
+
const [state] = await tx
|
|
11
|
+
.update(serverSyncState)
|
|
12
|
+
.set({
|
|
13
|
+
sequence: sql `${serverSyncState.sequence} + 1`,
|
|
14
|
+
})
|
|
15
|
+
.where(eq(serverSyncState.id, 1))
|
|
16
|
+
.returning({
|
|
17
|
+
sequence: serverSyncState.sequence,
|
|
18
|
+
});
|
|
19
|
+
if (!state)
|
|
20
|
+
throw new Error("Server sync state is not initialized");
|
|
21
|
+
await tx.insert(syncEvents).values({
|
|
22
|
+
sequence: state.sequence,
|
|
23
|
+
kind,
|
|
24
|
+
entityId,
|
|
25
|
+
actorUserId,
|
|
26
|
+
});
|
|
27
|
+
return {
|
|
28
|
+
sequence: String(state.sequence),
|
|
29
|
+
kind,
|
|
30
|
+
entityId,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=integrationRecordChange.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationRecordChange.js","sourceRoot":"","sources":["../../../sources/modules/integration/integrationRecordChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,MAAM,eAAe,CAAC;AACxD,OAAO,EAA0B,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE3D;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB,CACzC,EAAsB,EACtB,WAAmB,EACnB,IAAY,EACZ,QAAgB;IAEhB,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,EAAE;SACnB,MAAM,CAAC,eAAe,CAAC;SACvB,GAAG,CAAC;QACD,QAAQ,EAAE,GAAG,CAAA,GAAG,eAAe,CAAC,QAAQ,MAAM;KACjD,CAAC;SACD,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;SAChC,SAAS,CAAC;QACP,QAAQ,EAAE,eAAe,CAAC,QAAQ;KACrC,CAAC,CAAC;IACP,IAAI,CAAC,KAAK;QAAE,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IACpE,MAAM,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC;QAC/B,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,IAAI;QACJ,QAAQ;QACR,WAAW;KACd,CAAC,CAAC;IACH,OAAO;QACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;QAChC,IAAI;QACJ,QAAQ;KACX,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type DrizzleExecutor } from "../drizzle.js";
|
|
2
|
+
import { type IntegrationSummary } from "../integrations/types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Returns an integration by identifier and optionally requires it to remain active, mapping inactive records to not-found.
|
|
5
|
+
* Keeping the active-state policy explicit lets mutation and invocation callers choose whether historical integrations are valid inputs.
|
|
6
|
+
*/
|
|
7
|
+
export declare function integrationRequire(executor: DrizzleExecutor, integrationId: string, active: boolean): Promise<IntegrationSummary>;
|
|
8
|
+
//# sourceMappingURL=integrationRequire.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationRequire.d.ts","sourceRoot":"","sources":["../../../sources/modules/integration/integrationRequire.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAoB,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAGrF;;;GAGG;AACH,wBAAsB,kBAAkB,CACpC,QAAQ,EAAE,eAAe,EACzB,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,OAAO,GAChB,OAAO,CAAC,kBAAkB,CAAC,CAI7B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {} from "../drizzle.js";
|
|
2
|
+
import { IntegrationError } from "../integrations/types.js";
|
|
3
|
+
import { integrationGet } from "./integrationGet.js";
|
|
4
|
+
/**
|
|
5
|
+
* Returns an integration by identifier and optionally requires it to remain active, mapping inactive records to not-found.
|
|
6
|
+
* Keeping the active-state policy explicit lets mutation and invocation callers choose whether historical integrations are valid inputs.
|
|
7
|
+
*/
|
|
8
|
+
export async function integrationRequire(executor, integrationId, active) {
|
|
9
|
+
const row = await integrationGet(executor, integrationId);
|
|
10
|
+
if (active && !row.active)
|
|
11
|
+
throw new IntegrationError("not_found", "Integration was not found");
|
|
12
|
+
return row;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=integrationRequire.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationRequire.js","sourceRoot":"","sources":["../../../sources/modules/integration/integrationRequire.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAA2B,MAAM,0BAA0B,CAAC;AAErF,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB,CACpC,QAAyB,EACzB,aAAqB,EACrB,MAAe;IAEf,MAAM,GAAG,GAAG,MAAM,cAAc,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IAC1D,IAAI,MAAM,IAAI,CAAC,GAAG,CAAC,MAAM;QAAE,MAAM,IAAI,gBAAgB,CAAC,WAAW,EAAE,2BAA2B,CAAC,CAAC;IAChG,OAAO,GAAG,CAAC;AACf,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type DrizzleExecutor } from "../drizzle.js";
|
|
2
|
+
import { type IntegrationChange } from "../integrations/types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Revokes integrations and disables their apiCredentials, webhookSubscriptions, and slashCommands after administrator authorization.
|
|
5
|
+
* The shared audit transaction guarantees no external entry point remains active after the parent integration is reported disabled.
|
|
6
|
+
*/
|
|
7
|
+
export declare function integrationRevoke(executor: DrizzleExecutor, actorUserId: string, integrationId: string): Promise<IntegrationChange>;
|
|
8
|
+
//# sourceMappingURL=integrationRevoke.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationRevoke.d.ts","sourceRoot":"","sources":["../../../sources/modules/integration/integrationRevoke.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAmB,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,KAAK,iBAAiB,EAAoB,MAAM,0BAA0B,CAAC;AASpF;;;GAGG;AACH,wBAAsB,iBAAiB,CACnC,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,iBAAiB,CAAC,CAmD5B"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { withTransaction } from "../drizzle.js";
|
|
2
|
+
import { IntegrationError } from "../integrations/types.js";
|
|
3
|
+
import { and, eq, isNull, sql } from "drizzle-orm";
|
|
4
|
+
import { apiCredentials, integrations, slashCommands, webhookSubscriptions } from "../schema.js";
|
|
5
|
+
import { integrationAppendAudit } from "./integrationAppendAudit.js";
|
|
6
|
+
import { integrationRecordChange } from "./integrationRecordChange.js";
|
|
7
|
+
import { userRequireIntegrationAdmin } from "./userRequireIntegrationAdmin.js";
|
|
8
|
+
/**
|
|
9
|
+
* Revokes integrations and disables their apiCredentials, webhookSubscriptions, and slashCommands after administrator authorization.
|
|
10
|
+
* The shared audit transaction guarantees no external entry point remains active after the parent integration is reported disabled.
|
|
11
|
+
*/
|
|
12
|
+
export async function integrationRevoke(executor, actorUserId, integrationId) {
|
|
13
|
+
return withTransaction(executor, async (tx) => {
|
|
14
|
+
await userRequireIntegrationAdmin(tx, actorUserId);
|
|
15
|
+
const changed = await tx
|
|
16
|
+
.update(integrations)
|
|
17
|
+
.set({
|
|
18
|
+
active: 0,
|
|
19
|
+
deletedAt: sql `CURRENT_TIMESTAMP`,
|
|
20
|
+
updatedAt: sql `CURRENT_TIMESTAMP`,
|
|
21
|
+
})
|
|
22
|
+
.where(and(eq(integrations.id, integrationId), isNull(integrations.deletedAt)))
|
|
23
|
+
.returning({
|
|
24
|
+
id: integrations.id,
|
|
25
|
+
});
|
|
26
|
+
if (changed.length === 0)
|
|
27
|
+
throw new IntegrationError("not_found", "Integration was not found");
|
|
28
|
+
await tx
|
|
29
|
+
.update(apiCredentials)
|
|
30
|
+
.set({
|
|
31
|
+
revokedAt: sql `coalesce(${apiCredentials.revokedAt}, CURRENT_TIMESTAMP)`,
|
|
32
|
+
})
|
|
33
|
+
.where(eq(apiCredentials.integrationId, integrationId));
|
|
34
|
+
await tx
|
|
35
|
+
.update(webhookSubscriptions)
|
|
36
|
+
.set({
|
|
37
|
+
active: 0,
|
|
38
|
+
updatedAt: sql `CURRENT_TIMESTAMP`,
|
|
39
|
+
})
|
|
40
|
+
.where(eq(webhookSubscriptions.integrationId, integrationId));
|
|
41
|
+
await tx
|
|
42
|
+
.update(slashCommands)
|
|
43
|
+
.set({
|
|
44
|
+
active: 0,
|
|
45
|
+
updatedAt: sql `CURRENT_TIMESTAMP`,
|
|
46
|
+
})
|
|
47
|
+
.where(eq(slashCommands.integrationId, integrationId));
|
|
48
|
+
const change = await integrationRecordChange(tx, actorUserId, "integration.revoked", integrationId);
|
|
49
|
+
await integrationAppendAudit(tx, actorUserId, "integration.revoked", "integration", integrationId);
|
|
50
|
+
return change;
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=integrationRevoke.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationRevoke.js","sourceRoot":"","sources":["../../../sources/modules/integration/integrationRevoke.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,eAAe,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EAA0B,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEpF,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEjG,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/E;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACnC,QAAyB,EACzB,WAAmB,EACnB,aAAqB;IAErB,OAAO,eAAe,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE;QAC1C,MAAM,2BAA2B,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;QACnD,MAAM,OAAO,GAAG,MAAM,EAAE;aACnB,MAAM,CAAC,YAAY,CAAC;aACpB,GAAG,CAAC;YACD,MAAM,EAAE,CAAC;YACT,SAAS,EAAE,GAAG,CAAA,mBAAmB;YACjC,SAAS,EAAE,GAAG,CAAA,mBAAmB;SACpC,CAAC;aACD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE,aAAa,CAAC,EAAE,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC;aAC9E,SAAS,CAAC;YACP,EAAE,EAAE,YAAY,CAAC,EAAE;SACtB,CAAC,CAAC;QACP,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;YACpB,MAAM,IAAI,gBAAgB,CAAC,WAAW,EAAE,2BAA2B,CAAC,CAAC;QACzE,MAAM,EAAE;aACH,MAAM,CAAC,cAAc,CAAC;aACtB,GAAG,CAAC;YACD,SAAS,EAAE,GAAG,CAAA,YAAY,cAAc,CAAC,SAAS,sBAAsB;SAC3E,CAAC;aACD,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC;QAC5D,MAAM,EAAE;aACH,MAAM,CAAC,oBAAoB,CAAC;aAC5B,GAAG,CAAC;YACD,MAAM,EAAE,CAAC;YACT,SAAS,EAAE,GAAG,CAAA,mBAAmB;SACpC,CAAC;aACD,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC;QAClE,MAAM,EAAE;aACH,MAAM,CAAC,aAAa,CAAC;aACrB,GAAG,CAAC;YACD,MAAM,EAAE,CAAC;YACT,SAAS,EAAE,GAAG,CAAA,mBAAmB;SACpC,CAAC;aACD,KAAK,CAAC,EAAE,CAAC,aAAa,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC;QAC3D,MAAM,MAAM,GAAG,MAAM,uBAAuB,CACxC,EAAE,EACF,WAAW,EACX,qBAAqB,EACrB,aAAa,CAChB,CAAC;QACF,MAAM,sBAAsB,CACxB,EAAE,EACF,WAAW,EACX,qBAAqB,EACrB,aAAa,EACb,aAAa,CAChB,CAAC;QACF,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"number.d.ts","sourceRoot":"","sources":["../../../sources/modules/integration/number.ts"],"names":[],"mappings":"AAAA,wBAAgB,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAK7C"}
|