@yrpri/api 9.0.109 → 9.0.110
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/active-citizen/controllers/activities.d.cts +2 -0
- package/active-citizen/controllers/news_feeds.d.cts +2 -0
- package/active-citizen/controllers/notifications.d.cts +2 -0
- package/active-citizen/controllers/recommendations.d.cts +2 -0
- package/active-citizen/engine/allOurIdeas/aiHelper.d.ts +22 -0
- package/active-citizen/engine/allOurIdeas/explainAnswersAssistant.d.ts +13 -0
- package/active-citizen/engine/allOurIdeas/iconGenerator.d.ts +7 -0
- package/active-citizen/engine/analytics/export_anon_community_activities.d.ts +1 -0
- package/active-citizen/engine/analytics/importer.d.ts +1 -0
- package/active-citizen/engine/analytics/manager.d.cts +6 -0
- package/active-citizen/engine/analytics/plausible/manager.d.cts +5 -0
- package/active-citizen/engine/analytics/statsCalc.d.cts +94 -0
- package/active-citizen/engine/analytics/utils.d.cts +5 -0
- package/active-citizen/engine/marketing/campaign.d.cts +1 -0
- package/active-citizen/engine/moderation/fraud/CreateFraudAuditReport.d.cts +1 -0
- package/active-citizen/engine/moderation/fraud/FraudBase.d.cts +31 -0
- package/active-citizen/engine/moderation/fraud/FraudDeleteBase.d.cts +21 -0
- package/active-citizen/engine/moderation/fraud/FraudDeleteEndorsements.d.cts +8 -0
- package/active-citizen/engine/moderation/fraud/FraudDeletePointQualities.d.cts +6 -0
- package/active-citizen/engine/moderation/fraud/FraudDeletePoints.d.cts +6 -0
- package/active-citizen/engine/moderation/fraud/FraudDeletePosts.d.cts +4 -0
- package/active-citizen/engine/moderation/fraud/FraudDeleteRatings.d.cts +4 -0
- package/active-citizen/engine/moderation/fraud/FraudGetBase.d.cts +8 -0
- package/active-citizen/engine/moderation/fraud/FraudGetEndorsements.d.cts +7 -0
- package/active-citizen/engine/moderation/fraud/FraudGetPointQualities.d.cts +7 -0
- package/active-citizen/engine/moderation/fraud/FraudGetPoints.d.cts +6 -0
- package/active-citizen/engine/moderation/fraud/FraudGetPosts.d.cts +6 -0
- package/active-citizen/engine/moderation/fraud/FraudGetRatings.d.cts +5 -0
- package/active-citizen/engine/moderation/fraud/FraudScannerNotifier.d.cts +1 -0
- package/active-citizen/engine/moderation/get_moderation_items.d.cts +55 -0
- package/active-citizen/engine/moderation/image_labeling/CommunityLabeling.d.cts +6 -0
- package/active-citizen/engine/moderation/image_labeling/GroupLabeling.d.cts +6 -0
- package/active-citizen/engine/moderation/image_labeling/ImageLabelingBase.d.cts +30 -0
- package/active-citizen/engine/moderation/image_labeling/PointLabeling.d.cts +6 -0
- package/active-citizen/engine/moderation/image_labeling/PostLabeling.d.cts +6 -0
- package/active-citizen/engine/moderation/perspective_api_client.d.cts +33 -0
- package/active-citizen/engine/moderation/process_moderation_items.d.cts +2 -0
- package/active-citizen/engine/moderation/toxicity_analysis.d.cts +3 -0
- package/active-citizen/engine/news_feeds/activity_and_item_index_definitions.d.cts +7 -0
- package/active-citizen/engine/news_feeds/generate_dynamically.d.cts +2 -0
- package/active-citizen/engine/news_feeds/generate_from_notifications.d.cts +2 -0
- package/active-citizen/engine/news_feeds/news_feeds_utils.d.cts +99 -0
- package/active-citizen/engine/notifications/emails_utils.d.cts +2 -0
- package/active-citizen/engine/notifications/generate_point_notifications.d.cts +2 -0
- package/active-citizen/engine/notifications/generate_post_notifications.d.cts +2 -0
- package/active-citizen/engine/notifications/generate_post_status_change_notifications.d.cts +2 -0
- package/active-citizen/engine/notifications/notifications_utils.d.cts +3 -0
- package/active-citizen/engine/notifications/point_delivery.d.cts +2 -0
- package/active-citizen/engine/notifications/post_delivery.d.cts +2 -0
- package/active-citizen/engine/notifications/process_delayed_notifications.d.cts +1 -0
- package/active-citizen/engine/notifications/process_general_notifications.d.cts +2 -0
- package/active-citizen/engine/old/exporters/categories_dataset.d.ts +1 -0
- package/active-citizen/engine/old/exporters/dataset_tools.d.ts +3 -0
- package/active-citizen/engine/old/exporters/sentiment_dataset.d.ts +1 -0
- package/active-citizen/engine/recommendations/events_importer.d.cts +1 -0
- package/active-citizen/engine/recommendations/events_manager.d.cts +5 -0
- package/active-citizen/engine/reports/add_points_to_sheet.d.cts +1 -0
- package/active-citizen/engine/reports/commonUtils.d.ts +5 -0
- package/active-citizen/engine/reports/common_utils.d.cts +44 -0
- package/active-citizen/engine/reports/docx_group_report.d.cts +1 -0
- package/active-citizen/engine/reports/xlsAllOurIdeasExport.d.ts +1 -0
- package/active-citizen/engine/reports/xls_community_users_report.d.cts +2 -0
- package/active-citizen/engine/reports/xls_group_report.d.cts +1 -0
- package/active-citizen/llms/baseChatBot.d.ts +33 -0
- package/active-citizen/llms/imageGeneration/chatGptImageGenerator.d.ts +13 -0
- package/active-citizen/llms/imageGeneration/collectionImageGenerator.d.ts +23 -0
- package/active-citizen/llms/imageGeneration/dalleImageGenerator.d.ts +10 -0
- package/active-citizen/llms/imageGeneration/fluxImageGenerator.d.ts +9 -0
- package/active-citizen/llms/imageGeneration/iImageGenerator.d.ts +7 -0
- package/active-citizen/llms/imageGeneration/imageProcessorService.d.ts +12 -0
- package/active-citizen/llms/imageGeneration/imagenImageGenerator.d.ts +16 -0
- package/active-citizen/llms/imageGeneration/s3Service.d.ts +12 -0
- package/active-citizen/llms/llmTranslation.d.ts +26 -0
- package/active-citizen/models/ac_activity.d.cts +2 -0
- package/active-citizen/models/ac_background_job.d.cts +2 -0
- package/active-citizen/models/ac_campaign.d.cts +2 -0
- package/active-citizen/models/ac_client_activity.d.cts +2 -0
- package/active-citizen/models/ac_delayed_notification.d.cts +2 -0
- package/active-citizen/models/ac_following.d.cts +2 -0
- package/active-citizen/models/ac_list.d.cts +2 -0
- package/active-citizen/models/ac_list_users.d.cts +2 -0
- package/active-citizen/models/ac_mute.d.cts +2 -0
- package/active-citizen/models/ac_news_feed_item.d.cts +2 -0
- package/active-citizen/models/ac_news_feed_processed_range.d.cts +2 -0
- package/active-citizen/models/ac_notification.d.cts +2 -0
- package/active-citizen/models/ac_translation_cache.d.cts +2 -0
- package/active-citizen/models/ac_watching.d.cts +2 -0
- package/active-citizen/scripts/analytics/setup_all_plausible_goals.d.cts +1 -0
- package/active-citizen/scripts/fix_old_delayed_notifications.d.ts +1 -0
- package/active-citizen/scripts/kue_status.d.ts +2 -0
- package/active-citizen/scripts/kue_watch_stuck_jobs.d.ts +2 -0
- package/active-citizen/scripts/translation_clear_language.d.ts +1 -0
- package/active-citizen/scripts/translation_delete.d.ts +1 -0
- package/active-citizen/scripts/translation_replace_text_from_url.d.ts +1 -0
- package/active-citizen/scripts/translation_update.d.ts +1 -0
- package/active-citizen/scripts/translations_list.d.ts +1 -0
- package/active-citizen/utils/airbrake.d.cts +2 -0
- package/active-citizen/utils/get_anonymous_system_user.d.cts +2 -0
- package/active-citizen/utils/i18n.d.cts +2 -0
- package/active-citizen/utils/logger.d.cts +2 -0
- package/active-citizen/utils/redisConnection.d.cts +2 -0
- package/active-citizen/utils/to_json.d.cts +2 -0
- package/active-citizen/utils/translation_cloning.d.cts +5 -0
- package/active-citizen/utils/translation_helpers.d.cts +8 -0
- package/active-citizen/utils/truncate_text.d.cts +2 -0
- package/active-citizen/utils/updateAllLocalesFromEn.d.ts +20 -0
- package/active-citizen/utils/updateLocaleFolders.d.ts +1 -0
- package/active-citizen/workers/activity.cjs +13 -2
- package/active-citizen/workers/activity.d.cts +16 -0
- package/active-citizen/workers/anonymizations.cjs +13 -2
- package/active-citizen/workers/anonymizations.d.cts +16 -0
- package/active-citizen/workers/bulk_status_update.cjs +12 -1
- package/active-citizen/workers/bulk_status_update.d.cts +16 -0
- package/active-citizen/workers/delayed_jobs.cjs +13 -2
- package/active-citizen/workers/delayed_jobs.d.cts +16 -0
- package/active-citizen/workers/deletions.cjs +14 -3
- package/active-citizen/workers/deletions.d.cts +16 -0
- package/active-citizen/workers/email.cjs +12 -1
- package/active-citizen/workers/email.d.cts +16 -0
- package/active-citizen/workers/fraud_management.cjs +13 -2
- package/active-citizen/workers/fraud_management.d.cts +16 -0
- package/active-citizen/workers/generativeAi.d.ts +3 -0
- package/active-citizen/workers/main.d.cts +1 -0
- package/active-citizen/workers/marketing.cjs +13 -2
- package/active-citizen/workers/marketing.d.cts +16 -0
- package/active-citizen/workers/moderation.cjs +13 -2
- package/active-citizen/workers/moderation.d.cts +16 -0
- package/active-citizen/workers/notification_delivery.cjs +12 -1
- package/active-citizen/workers/notification_delivery.d.cts +16 -0
- package/active-citizen/workers/notification_news_feed.cjs +12 -1
- package/active-citizen/workers/notification_news_feed.d.cts +16 -0
- package/active-citizen/workers/queue.d.cts +21 -0
- package/active-citizen/workers/recount.d.cts +1 -0
- package/active-citizen/workers/reports.d.cts +2 -0
- package/active-citizen/workers/similarities.cjs +13 -2
- package/active-citizen/workers/similarities.d.cts +16 -0
- package/active-citizen/workers/speech_to_text.cjs +13 -2
- package/active-citizen/workers/speech_to_text.d.cts +16 -0
- package/agents/assistants/agentAssistant.d.ts +27 -0
- package/agents/assistants/baseAssistant.d.ts +115 -0
- package/agents/assistants/baseAssistantWithVoice.d.ts +18 -0
- package/agents/assistants/modes/agentDirectConnection.d.ts +16 -0
- package/agents/assistants/modes/agentSelectionMode.d.ts +12 -0
- package/agents/assistants/modes/baseAssistantMode.d.ts +10 -0
- package/agents/assistants/modes/tools/agentTools.d.ts +100 -0
- package/agents/assistants/modes/tools/baseTools.d.ts +21 -0
- package/agents/assistants/modes/tools/loginTools.d.ts +51 -0
- package/agents/assistants/modes/tools/models/agents.d.ts +27 -0
- package/agents/assistants/modes/tools/models/subscriptions.d.ts +13 -0
- package/agents/assistants/modes/tools/models/users.d.ts +7 -0
- package/agents/assistants/modes/tools/navigationTools.d.ts +33 -0
- package/agents/assistants/modes/tools/subscriptionTools.d.ts +53 -0
- package/agents/assistants/modes/tools/workflowConverstationTools.d.ts +49 -0
- package/agents/assistants/voiceAssistant.d.ts +78 -0
- package/agents/controllers/agentProductController.d.ts +23 -0
- package/agents/controllers/agentSubscriptionController.d.ts +30 -0
- package/agents/controllers/assistantsController.d.ts +47 -0
- package/agents/controllers/policySynthAgents.d.ts +49 -0
- package/agents/managers/agentProductManager.d.ts +12 -0
- package/agents/managers/emailInvitesManager.d.ts +6 -0
- package/agents/managers/emailTemplateRenderer.d.ts +25 -0
- package/agents/managers/newAiModelSetup.d.ts +37 -0
- package/agents/managers/notificationAgentQueueManager.d.ts +23 -0
- package/agents/managers/subscriptionManager.d.ts +29 -0
- package/agents/managers/workflowConversationManager.d.ts +14 -0
- package/agents/models/agentProduct.d.ts +31 -0
- package/agents/models/agentProductBoosterPurchase.d.ts +27 -0
- package/agents/models/agentProductBundle.d.ts +12 -0
- package/agents/models/agentProductRun.d.ts +23 -0
- package/agents/models/discount.d.ts +21 -0
- package/agents/models/subscription.d.ts +26 -0
- package/agents/models/subscriptionPlan.d.ts +17 -0
- package/agents/models/subscriptionUser.d.ts +11 -0
- package/agents/models/testData/createEvolyAgentProduct.d.ts +1 -0
- package/agents/models/testData/old/updateAgentWorkflowConfiguration.d.ts +1 -0
- package/agents/models/testData/setupEvolyAgentProductConfig.d.ts +1 -0
- package/agents/models/testData/updateAgentWorkflowConfiguration.d.ts +1 -0
- package/agents/models/workflowConversation.d.ts +11 -0
- package/agents/tools/setTemplateWorkflowCommunityId.d.ts +1 -0
- package/app.d.ts +53 -0
- package/authorization.d.cts +1 -0
- package/bot_control.d.ts +4 -0
- package/controllers/allOurIdeas.d.ts +40 -0
- package/controllers/audios.d.cts +2 -0
- package/controllers/bulkStatusUpdates.d.cts +2 -0
- package/controllers/categories.d.cts +2 -0
- package/controllers/communities.d.cts +2 -0
- package/controllers/domains.d.cts +2 -0
- package/controllers/externalIds.d.cts +2 -0
- package/controllers/groups.d.cts +2 -0
- package/controllers/images.d.cts +2 -0
- package/controllers/index.d.cts +2 -0
- package/controllers/legacyPages.d.cts +2 -0
- package/controllers/legacyPosts.d.cts +2 -0
- package/controllers/legacyUsers.d.cts +2 -0
- package/controllers/nonSpa.d.cts +2 -0
- package/controllers/organizations.d.cts +2 -0
- package/controllers/points.d.cts +2 -0
- package/controllers/posts.d.cts +2 -0
- package/controllers/ratings.d.cts +2 -0
- package/controllers/users.d.cts +2 -0
- package/controllers/videos.d.cts +2 -0
- package/deleteUnwantedDeclerations.d.cts +1 -0
- package/migrations/agentAuditLogs.d.cts +1 -0
- package/migrations/agentClasses.d.cts +1 -0
- package/migrations/agentConnectorClasses.d.cts +1 -0
- package/migrations/agentConnectors.d.cts +1 -0
- package/migrations/agentEvals.d.cts +1 -0
- package/migrations/agentRegistries.d.cts +1 -0
- package/migrations/agents.d.cts +1 -0
- package/migrations/aiModels.d.cts +1 -0
- package/migrations/apiUsage.d.cts +1 -0
- package/migrations/apis.d.cts +1 -0
- package/migrations/groupPrivateData.d.cts +2 -0
- package/migrations/modelUsage.d.cts +2 -0
- package/migrations/privateAccessStore.d.cts +1 -0
- package/migrations/zzz_associations.d.cts +1 -0
- package/migrations/zzzz_createUsersAndAdminsForClasses.d.cts +1 -0
- package/migrations/zzzzz_create_agent_runs.d.cts +2 -0
- package/migrations/zzzzzz_create_agent_runs_fix.d.cts +2 -0
- package/migrations/zzzzzzz_create_trees.d.cts +2 -0
- package/models/audio.d.cts +2 -0
- package/models/bulk_status_update.d.cts +2 -0
- package/models/campaign.d.cts +2 -0
- package/models/category.d.cts +2 -0
- package/models/community.d.cts +2 -0
- package/models/domain.d.cts +2 -0
- package/models/endorsement.d.cts +2 -0
- package/models/general_data_store.d.cts +2 -0
- package/models/group.d.cts +2 -0
- package/models/image.d.cts +2 -0
- package/models/index.cjs +2 -2
- package/models/index.d.cts +3 -0
- package/models/invite.d.cts +2 -0
- package/models/iso_country.d.cts +2 -0
- package/models/organization.d.cts +2 -0
- package/models/page.d.cts +2 -0
- package/models/point.d.cts +2 -0
- package/models/point_quality.d.cts +2 -0
- package/models/point_revision.d.cts +2 -0
- package/models/post.d.cts +2 -0
- package/models/post_revision.d.cts +2 -0
- package/models/post_status_change.d.cts +2 -0
- package/models/promotion.d.cts +2 -0
- package/models/rating.d.cts +2 -0
- package/models/relationship.d.cts +2 -0
- package/models/request_to_join.d.cts +2 -0
- package/models/user.d.cts +2 -0
- package/models/user_legacy_password.d.cts +2 -0
- package/models/video.d.cts +2 -0
- package/package.json +2 -1
- package/publish.d.ts +1 -0
- package/repack.d.ts +1 -0
- package/scripts/addRatingUsersToGroup.d.ts +1 -0
- package/scripts/addUserToOrganization.d.ts +1 -0
- package/scripts/analyseRatingsForCommunity.d.ts +1 -0
- package/scripts/analyzeAndFixBrokenPointUsers.d.ts +1 -0
- package/scripts/analyzeEndorsementsByCountry.d.ts +1 -0
- package/scripts/analyzePostsForCommunity.d.ts +1 -0
- package/scripts/bulkStatusUpdates/listUpdates.d.ts +1 -0
- package/scripts/bulkStatusUpdates/mergeLatestPostsToUpdate.d.ts +1 -0
- package/scripts/bulkStatusUpdates/performUpdate.d.ts +1 -0
- package/scripts/bulkStatusUpdates/performUpdateForGroup.d.cts +1 -0
- package/scripts/bulkStatusUpdates/performUpdateForStatus.d.ts +1 -0
- package/scripts/change/changeVideoAspectTo.d.ts +1 -0
- package/scripts/change/setUseNewVersion.d.cts +1 -0
- package/scripts/changeCommunityGroupcount.d.ts +1 -0
- package/scripts/changeCommunityPostCount.d.ts +1 -0
- package/scripts/changeGroupPostCount.d.ts +1 -0
- package/scripts/changeLanguage.d.ts +1 -0
- package/scripts/changeOfficalStatus.d.ts +1 -0
- package/scripts/cleanups/deleteAnonNotifications.d.cts +1 -0
- package/scripts/cleanups/deleteLinkGroupsWithDeletedCommunities.d.ts +1 -0
- package/scripts/cleanups/deleteYearOldNotifications.d.cts +1 -0
- package/scripts/cleanups/removeAllUsersFromHiddenPublicGroup.d.ts +1 -0
- package/scripts/clearAllEndorsementInGroup.d.ts +1 -0
- package/scripts/cloning/clearUsersForCommunitiesFromUrl.d.ts +1 -0
- package/scripts/cloning/cloneFromUrlScript.d.ts +1 -0
- package/scripts/cloning/cloneWBFromUrlScriptAndCreateLinks.d.ts +1 -0
- package/scripts/cloning/cloneWBFromUrlScriptNoUsersOrPoints.d.ts +1 -0
- package/scripts/cloning/cloneWBSerbianFromUrlScriptAndCreateLinks.d.ts +1 -0
- package/scripts/cloning/copyCommunityConfigAndTranslationsFromURL.d.ts +1 -0
- package/scripts/cloning/copyCommunityOneGroupToDomainNoUsersNoEndorsements.d.ts +1 -0
- package/scripts/cloning/copyCommunityToDomainNoUsersNoEndorsements.d.ts +1 -0
- package/scripts/cloning/copyCommunityToDomainWithEverything.d.ts +1 -0
- package/scripts/cloning/copyCommunityToDomainWithOnlyGroups.d.ts +1 -0
- package/scripts/cloning/copyGroupConfigAndTranslationsFromURL.d.ts +1 -0
- package/scripts/cloning/copyPostToGroupOld.d.ts +1 -0
- package/scripts/cloning/copyPostVideosFromURL.d.ts +1 -0
- package/scripts/cloning/copyPostWithOutAnyVotingOrActivities.d.ts +1 -0
- package/scripts/cloning/deepCloneSerbianWBFromUrlScriptAndCreateLinks.d.ts +1 -0
- package/scripts/cloning/deepCloneWBFromUrlScriptAndCreateLinks.d.ts +1 -0
- package/scripts/cloning/setAdminsFromURL.d.ts +1 -0
- package/scripts/cloning/setExternalIdsFromURL.d.ts +1 -0
- package/scripts/countCommunity.d.ts +1 -0
- package/scripts/countCommunityUsers.d.ts +1 -0
- package/scripts/countDelayedNotifications.d.ts +1 -0
- package/scripts/countGroup.d.ts +1 -0
- package/scripts/countStuff.d.ts +1 -0
- package/scripts/countUniqueVotersInAGroup.d.ts +1 -0
- package/scripts/createInvitesAndShow.d.ts +1 -0
- package/scripts/database/sync_database.d.ts +1 -0
- package/scripts/database/sync_dev_database.d.ts +1 -0
- package/scripts/debugNotifications.d.ts +1 -0
- package/scripts/deleteAllNewsFeeds.d.ts +1 -0
- package/scripts/deleteCategory.d.ts +1 -0
- package/scripts/deleteOldAppActivities.d.ts +1 -0
- package/scripts/deletePostContactDataForCommunity.d.ts +1 -0
- package/scripts/destroy/destroy_all_but_one_domain.d.ts +1 -0
- package/scripts/displayAuthorForPost.d.ts +1 -0
- package/scripts/endorsementFraudDetection/analyseEndorsementsForCommunity.d.ts +1 -0
- package/scripts/endorsementFraudDetection/bulkDeleteDuplicateEndorsmentsFromUrl.d.ts +1 -0
- package/scripts/exportAllStatusChanges.d.ts +1 -0
- package/scripts/exportClientAcitivity.d.ts +1 -0
- package/scripts/exportEndorsementsForCommunity.d.ts +1 -0
- package/scripts/exportPointQualitiesForCommunity.d.ts +1 -0
- package/scripts/exportPostsAndPointsForCommunity.d.ts +1 -0
- package/scripts/exportPostsDataSetForDomain.d.ts +1 -0
- package/scripts/exportPostsForGroup.d.ts +1 -0
- package/scripts/exportRatingsForPost.d.ts +1 -0
- package/scripts/exportUserEndorsementsWithUserAnalysis.d.ts +1 -0
- package/scripts/exportUsersForCommunity.d.ts +1 -0
- package/scripts/exportUsersForDomain.d.ts +1 -0
- package/scripts/exportUsersForGroup.d.ts +1 -0
- package/scripts/exports/ratingDistribution.d.ts +1 -0
- package/scripts/exports/whoEndorsedWhatByCommunity.d.ts +1 -0
- package/scripts/findUnusedClientImports.d.ts +1 -0
- package/scripts/fixAllPostPointCounts.d.ts +1 -0
- package/scripts/fixAnonNotificationsSettings.d.ts +1 -0
- package/scripts/fixCountKopavogur.d.ts +1 -0
- package/scripts/fixEndorsementsAfterCopyPostToGroup.d.ts +1 -0
- package/scripts/fixExternalUserId.d.ts +1 -0
- package/scripts/fixGroupAccess.d.ts +1 -0
- package/scripts/fixGroupIdeasAndPointsCount.d.ts +1 -0
- package/scripts/fixNotificationSettings.d.ts +1 -0
- package/scripts/fixSurveyRadioBakedInSubCodes.d.ts +1 -0
- package/scripts/fixWrongUserIdForStatusUpdates.d.ts +1 -0
- package/scripts/gallery/exportGalleryData.d.ts +1 -0
- package/scripts/gallery/importGalleryForCommunity.d.ts +1 -0
- package/scripts/gallery/readJsonAndDownloadImagesVersion2.d.ts +1 -0
- package/scripts/gallery/refreshAcApiPostIdsForCommunity.d.ts +1 -0
- package/scripts/genderAnalysis.d.ts +1 -0
- package/scripts/genderAnalysisByStatus.d.ts +1 -0
- package/scripts/importAllLocalesFromLocalFolders.d.ts +1 -0
- package/scripts/importDomain.d.ts +1 -0
- package/scripts/keys/addOidcToDomain.d.cts +1 -0
- package/scripts/landUseGame/export3Ddata.d.ts +1 -0
- package/scripts/listLanguagesForGroup.d.ts +1 -0
- package/scripts/loadTestCreateDummyContentForGroup.d.ts +1 -0
- package/scripts/makeRecursiveMapData.d.ts +1 -0
- package/scripts/mapping/community_map_csv.d.ts +1 -0
- package/scripts/moveCommunityToDomain.d.ts +1 -0
- package/scripts/moveGroupToCommunity.d.ts +1 -0
- package/scripts/movePostToGroup.d.ts +1 -0
- package/scripts/movePostsToGroupsRecountGroupFromUrl.d.ts +1 -0
- package/scripts/oldMovePostToGroup.d.ts +1 -0
- package/scripts/processCsvForPdfUrls.d.ts +1 -0
- package/scripts/processCsvForTranslationAndToxicity.d.ts +1 -0
- package/scripts/recount/recount_recursive_communities.d.ts +1 -0
- package/scripts/recountALLCommunityGroupCounts.d.ts +1 -0
- package/scripts/recountAll.d.ts +1 -0
- package/scripts/recountCommunitesFromUrl.d.ts +1 -0
- package/scripts/recountCommunity.d.ts +1 -0
- package/scripts/recountGroup.d.ts +1 -0
- package/scripts/recountGroupNoUserChange.d.ts +1 -0
- package/scripts/resetAllEndorsementsForGroup.d.ts +1 -0
- package/scripts/resetEnTranslationForGroup.d.ts +1 -0
- package/scripts/setAdminOnAll.d.cts +1 -0
- package/scripts/setDomainAdmin.d.cts +1 -0
- package/scripts/setDomainLocales.d.ts +1 -0
- package/scripts/setEarlQuestionIdOnGroup.d.cts +1 -0
- package/scripts/setLanguageOnGroupCommunitesFromUrl.d.ts +1 -0
- package/scripts/setMemberOfAll.d.ts +1 -0
- package/scripts/setNewUserForContentOfCommunity.d.ts +1 -0
- package/scripts/setOfficialStatusOnAllPostsForCommunity.d.ts +1 -0
- package/scripts/setUserOnAll.d.ts +1 -0
- package/scripts/showCategoryForGroup.d.ts +1 -0
- package/scripts/showOldActivityTypes.d.ts +1 -0
- package/scripts/showPostsMissingCategoryForGroup.d.ts +1 -0
- package/scripts/showStatuses.d.ts +1 -0
- package/scripts/showUniqueVotersInCommunity.d.ts +1 -0
- package/scripts/showUserAgentsAndIpsForEmails.d.ts +1 -0
- package/scripts/simpleExportForGroupsForCommunity.d.ts +1 -0
- package/scripts/simpleExportForPointsForCommunity.d.ts +1 -0
- package/scripts/simpleExportForPostsForCommunity.d.ts +1 -0
- package/scripts/testForEndorsments.d.ts +1 -0
- package/scripts/undeleteGroupAndAllContent.d.ts +1 -0
- package/scripts/undeletePost.d.ts +1 -0
- package/scripts/unlinkSsn.d.ts +1 -0
- package/scripts/updateFromAlthingi.d.ts +1 -0
- package/server.d.ts +1 -104
- package/utils/airbrake.d.cts +2 -0
- package/utils/cjsCodeReview.d.ts +13 -0
- package/utils/community_mapping_tools.d.cts +1 -0
- package/utils/copy_utils.d.cts +11 -0
- package/utils/docx_utils.d.cts +1 -0
- package/utils/export_utils.d.cts +21 -0
- package/utils/i18n.d.cts +2 -0
- package/utils/is_valid_db_id.d.cts +1 -0
- package/utils/logger.d.cts +2 -0
- package/utils/loggerTs.d.ts +3 -0
- package/utils/manifest_generator.d.cts +2 -0
- package/utils/manifest_generator.d.ts +1 -3
- package/utils/parse_domain.d.cts +6 -0
- package/utils/recount_utils.d.cts +7 -0
- package/utils/sharing_parameters.d.cts +8 -0
- package/utils/sitemap_generator.d.cts +2 -0
- package/utils/to_json.d.cts +2 -0
- package/utils/ypLanguages.d.ts +16 -0
- package/webSockets.d.ts +26 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OpenAI } from "openai";
|
|
2
|
+
import { Stream } from "openai/streaming";
|
|
3
|
+
import { WebSocket } from "ws";
|
|
4
|
+
export declare class AiHelper {
|
|
5
|
+
openaiClient: OpenAI;
|
|
6
|
+
wsClientSocket: WebSocket | undefined;
|
|
7
|
+
modelName: string;
|
|
8
|
+
maxTokens: number;
|
|
9
|
+
temperature: number;
|
|
10
|
+
cacheExpireTime: number;
|
|
11
|
+
redisClient?: any;
|
|
12
|
+
cacheKeyForFullResponse?: string;
|
|
13
|
+
constructor(wsClientSocket?: WebSocket | undefined);
|
|
14
|
+
moderationSystemPrompt: (instructions: string) => string;
|
|
15
|
+
moderationUserPrompt: (question: string, answer: string) => string;
|
|
16
|
+
getModerationResponse: (instructions: string, question: string, answerToModerate: string) => Promise<boolean>;
|
|
17
|
+
streamChatCompletions(messages: any[]): Promise<void>;
|
|
18
|
+
sendToClient(sender: string, message: string, type?: string): void;
|
|
19
|
+
streamWebSocketResponses(stream: Stream<OpenAI.Chat.Completions.ChatCompletionChunk>): Promise<void>;
|
|
20
|
+
getAnswerIdeas(question: string, previousIdeas: string[] | null, firstMessage: string | null): Promise<string | null | undefined>;
|
|
21
|
+
getAiAnalysis(questionId: number, contextPrompt: string, answers: AoiChoiceData[], cacheKeyForFullResponse: string, redisClient: any, locale: string, topOrBottomIdeasText: string, typeOfAnalysisText: string): Promise<string | null | undefined>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OpenAI } from "openai";
|
|
2
|
+
import { WebSocket } from "ws";
|
|
3
|
+
import { YpBaseChatBot } from "../../llms/baseChatBot.js";
|
|
4
|
+
export declare class ExplainAnswersAssistant extends YpBaseChatBot {
|
|
5
|
+
openaiClient: OpenAI;
|
|
6
|
+
modelName: string;
|
|
7
|
+
maxTokens: number;
|
|
8
|
+
temperature: number;
|
|
9
|
+
languageName: string;
|
|
10
|
+
constructor(wsClientId: string, wsClients: Map<string, WebSocket>, languageName: string);
|
|
11
|
+
renderSystemPrompt(): string;
|
|
12
|
+
explainConversation: (chatLog: YpSimpleChatLog[]) => Promise<void>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CollectionImageGenerator } from "../../llms/imageGeneration/collectionImageGenerator.js";
|
|
2
|
+
export declare class AoiIconGenerator extends CollectionImageGenerator {
|
|
3
|
+
createCollectionImage(workPackage: YpGenerativeAiWorkPackageData): Promise<{
|
|
4
|
+
imageId: number;
|
|
5
|
+
imageUrl: string;
|
|
6
|
+
}>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function importCommunityUsersAndActivities(communityId: any, accessKey: any, done: any): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export function updateCollection(workPackage: any, done: any): void;
|
|
2
|
+
export function getFromAnalyticsApi(req: any, featureType: any, collectionType: any, collectionId: any, done: any): void;
|
|
3
|
+
export function triggerSimilaritiesTraining(req: any, collectionType: any, collectionId: any, done: any): void;
|
|
4
|
+
export function sendBackAnalyticsResultsOrError(req: any, res: any, error: any, results: any): void;
|
|
5
|
+
export function getParsedSimilaritiesContent(content: any): any;
|
|
6
|
+
export function convertDocxSurveyToJson(formData: any, done: any): void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function addPlausibleEvent(eventName: any, workData: any): Promise<any>;
|
|
2
|
+
export function getPlausibleStats(statsParams: any): Promise<any>;
|
|
3
|
+
export function addAllPlausibleGoals(): Promise<void>;
|
|
4
|
+
export function plausibleStatsProxy(plausibleUrl: any, props: any): Promise<any>;
|
|
5
|
+
export function sendPlausibleFavicon(sourceName: any): Promise<any>;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
export function getPointDomainIncludes(id: any): {
|
|
2
|
+
model: any;
|
|
3
|
+
required: boolean;
|
|
4
|
+
attributes: never[];
|
|
5
|
+
include: {
|
|
6
|
+
model: any;
|
|
7
|
+
required: boolean;
|
|
8
|
+
attributes: never[];
|
|
9
|
+
include: {
|
|
10
|
+
model: any;
|
|
11
|
+
required: boolean;
|
|
12
|
+
attributes: never[];
|
|
13
|
+
include: {
|
|
14
|
+
model: any;
|
|
15
|
+
where: {
|
|
16
|
+
id: any;
|
|
17
|
+
};
|
|
18
|
+
required: boolean;
|
|
19
|
+
attributes: never[];
|
|
20
|
+
}[];
|
|
21
|
+
}[];
|
|
22
|
+
}[];
|
|
23
|
+
}[];
|
|
24
|
+
export function getDomainIncludes(id: any): {
|
|
25
|
+
model: any;
|
|
26
|
+
required: boolean;
|
|
27
|
+
attributes: never[];
|
|
28
|
+
include: {
|
|
29
|
+
model: any;
|
|
30
|
+
required: boolean;
|
|
31
|
+
attributes: never[];
|
|
32
|
+
include: {
|
|
33
|
+
model: any;
|
|
34
|
+
where: {
|
|
35
|
+
id: any;
|
|
36
|
+
};
|
|
37
|
+
required: boolean;
|
|
38
|
+
attributes: never[];
|
|
39
|
+
}[];
|
|
40
|
+
}[];
|
|
41
|
+
}[];
|
|
42
|
+
export function getPointCommunityIncludes(id: any): {
|
|
43
|
+
model: any;
|
|
44
|
+
required: boolean;
|
|
45
|
+
attributes: never[];
|
|
46
|
+
include: {
|
|
47
|
+
model: any;
|
|
48
|
+
required: boolean;
|
|
49
|
+
attributes: never[];
|
|
50
|
+
include: {
|
|
51
|
+
model: any;
|
|
52
|
+
where: {
|
|
53
|
+
id: any;
|
|
54
|
+
};
|
|
55
|
+
required: boolean;
|
|
56
|
+
attributes: never[];
|
|
57
|
+
}[];
|
|
58
|
+
}[];
|
|
59
|
+
}[];
|
|
60
|
+
export function getCommunityIncludes(id: any): {
|
|
61
|
+
model: any;
|
|
62
|
+
required: boolean;
|
|
63
|
+
attributes: never[];
|
|
64
|
+
include: {
|
|
65
|
+
model: any;
|
|
66
|
+
where: {
|
|
67
|
+
id: any;
|
|
68
|
+
};
|
|
69
|
+
required: boolean;
|
|
70
|
+
attributes: never[];
|
|
71
|
+
}[];
|
|
72
|
+
}[];
|
|
73
|
+
export function getPointGroupIncludes(id: any): {
|
|
74
|
+
model: any;
|
|
75
|
+
required: boolean;
|
|
76
|
+
attributes: never[];
|
|
77
|
+
include: {
|
|
78
|
+
model: any;
|
|
79
|
+
required: boolean;
|
|
80
|
+
where: {
|
|
81
|
+
id: any;
|
|
82
|
+
};
|
|
83
|
+
attributes: never[];
|
|
84
|
+
}[];
|
|
85
|
+
}[];
|
|
86
|
+
export function getGroupIncludes(id: any): {
|
|
87
|
+
model: any;
|
|
88
|
+
required: boolean;
|
|
89
|
+
where: {
|
|
90
|
+
id: any;
|
|
91
|
+
};
|
|
92
|
+
attributes: never[];
|
|
93
|
+
}[];
|
|
94
|
+
export function countModelRowsByTimePeriod(req: any, cacheKey: any, model: any, whereOptions: any, includeOptions: any, done: any): void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function importDomain(domain: any, done: any): void;
|
|
2
|
+
export function importCommunity(community: any, done: any): void;
|
|
3
|
+
export function importGroup(group: any, done: any): void;
|
|
4
|
+
export function importPost(post: any, done: any): void;
|
|
5
|
+
export function importPoint(point: any, done: any): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function sendCampaign(workPackage: any, callback: any): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function createFraudAuditReport(workPackage: any, done: any): Promise<any>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export = FraudBase;
|
|
2
|
+
declare class FraudBase {
|
|
3
|
+
constructor(workPackage: any);
|
|
4
|
+
workPackage: any;
|
|
5
|
+
items: any;
|
|
6
|
+
dataToProcess: any;
|
|
7
|
+
average(arr: any): number;
|
|
8
|
+
getTopItems(): null;
|
|
9
|
+
getAllItems(): Promise<null>;
|
|
10
|
+
getPostIdsFromItems(topItems: any): any[];
|
|
11
|
+
setupTopItems(items: any): any[];
|
|
12
|
+
getTopDataByIp(): null;
|
|
13
|
+
getTopDataByIpUserAgentPostId(): null;
|
|
14
|
+
getTopDataByIpUserAgentPointId(): null;
|
|
15
|
+
getTopDataByIpFingerprintPostId(): null;
|
|
16
|
+
getTopDataByIpFingerprintPointId(): null;
|
|
17
|
+
getTopDataByIpFingerprint(): null;
|
|
18
|
+
getTopDataByNoFingerprints(): null;
|
|
19
|
+
setupDataToProcess(): void;
|
|
20
|
+
getTimeDifferentScores(items: any): number;
|
|
21
|
+
setWeightedConfidenceScore(items: any, score: any): void;
|
|
22
|
+
getStartFingerprintMoment(): number;
|
|
23
|
+
groupTopDataByIp(): _.Dictionary<any[]>;
|
|
24
|
+
groupTopDataByIpUserAgentPostId(): _.Dictionary<any[]>;
|
|
25
|
+
groupTopDataByIpUserAgentPointId(): _.Dictionary<any[]>;
|
|
26
|
+
groupTopDataByIpFingerprintPostId(): _.Dictionary<any[]>;
|
|
27
|
+
groupTopDataByIpFingerprintPointId(): _.Dictionary<any[]>;
|
|
28
|
+
groupTopDataByIpFingerprint(): _.Dictionary<any[]>;
|
|
29
|
+
groupTopDataByNoFingerprints(): _.Dictionary<any[]>;
|
|
30
|
+
}
|
|
31
|
+
import _ = require("lodash");
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export = FraudDeleteBase;
|
|
2
|
+
declare class FraudDeleteBase extends FraudBase {
|
|
3
|
+
postsToRecount: any[];
|
|
4
|
+
pointsToRecount: any[];
|
|
5
|
+
job: any;
|
|
6
|
+
sliceIntoChunks(arr: any, chunkSize: any): any[];
|
|
7
|
+
getItemsById(): Promise<null>;
|
|
8
|
+
destroyChunkItems(chunks: any): Promise<void>;
|
|
9
|
+
getAllItemsExceptOne(items: any): any;
|
|
10
|
+
createAuditLog(): Promise<any>;
|
|
11
|
+
getAllowedSingleDelete(): boolean;
|
|
12
|
+
getMomentInYourPriorities(): number;
|
|
13
|
+
getTopItems(items: any, type: any): any[];
|
|
14
|
+
destroyAllItems(chunks: any): Promise<any>;
|
|
15
|
+
deleteData(): Promise<any>;
|
|
16
|
+
recountPosts(): Promise<any>;
|
|
17
|
+
recountPoints(): Promise<any>;
|
|
18
|
+
recountCommunity(): Promise<any>;
|
|
19
|
+
deleteItems(): Promise<any>;
|
|
20
|
+
}
|
|
21
|
+
import FraudBase = require("./FraudBase.cjs");
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export = FraudDeleteEndorsements;
|
|
2
|
+
declare class FraudDeleteEndorsements extends FraudDeleteBase {
|
|
3
|
+
destroyChunkItemsByModel(model: any, items: any): Promise<any>;
|
|
4
|
+
destroyChunkItems(items: any): Promise<any>;
|
|
5
|
+
getModelItemsById(model: any, getGroup: any): Promise<any>;
|
|
6
|
+
getItemsById(): Promise<any>;
|
|
7
|
+
}
|
|
8
|
+
import FraudDeleteBase = require("./FraudDeleteBase.cjs");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export = FraudGetEndorsements;
|
|
2
|
+
declare class FraudGetEndorsements extends FraudGetBase {
|
|
3
|
+
getAllModelItems(model: any, getGroup: any): Promise<any>;
|
|
4
|
+
getAllItems(): Promise<any>;
|
|
5
|
+
getTopItems(items: any, type: any): any[];
|
|
6
|
+
}
|
|
7
|
+
import FraudGetBase = require("./FraudGetBase.cjs");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export = FraudGetPointQualities;
|
|
2
|
+
declare class FraudGetPointQualities extends FraudGetBase {
|
|
3
|
+
getAllItems(): Promise<any>;
|
|
4
|
+
getPointIdsFromItems(topItems: any): any[];
|
|
5
|
+
getTopItems(items: any, type: any): any[];
|
|
6
|
+
}
|
|
7
|
+
import FraudGetBase = require("./FraudGetBase.cjs");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export function domainIncludes(domainId: any): {
|
|
2
|
+
model: any;
|
|
3
|
+
required: boolean;
|
|
4
|
+
attributes: string[];
|
|
5
|
+
include: {
|
|
6
|
+
model: any;
|
|
7
|
+
required: boolean;
|
|
8
|
+
attributes: string[];
|
|
9
|
+
include: {
|
|
10
|
+
model: any;
|
|
11
|
+
attributes: string[];
|
|
12
|
+
where: {
|
|
13
|
+
id: any;
|
|
14
|
+
};
|
|
15
|
+
required: boolean;
|
|
16
|
+
}[];
|
|
17
|
+
}[];
|
|
18
|
+
}[];
|
|
19
|
+
export function communityIncludes(communityId: any): {
|
|
20
|
+
model: any;
|
|
21
|
+
required: boolean;
|
|
22
|
+
attributes: string[];
|
|
23
|
+
include: {
|
|
24
|
+
model: any;
|
|
25
|
+
required: boolean;
|
|
26
|
+
attributes: string[];
|
|
27
|
+
where: {
|
|
28
|
+
id: any;
|
|
29
|
+
};
|
|
30
|
+
}[];
|
|
31
|
+
}[];
|
|
32
|
+
export function groupIncludes(groupId: any): {
|
|
33
|
+
model: any;
|
|
34
|
+
required: boolean;
|
|
35
|
+
attributes: string[];
|
|
36
|
+
where: {
|
|
37
|
+
id: any;
|
|
38
|
+
};
|
|
39
|
+
}[];
|
|
40
|
+
export function userIncludes(userId: any): {
|
|
41
|
+
model: any;
|
|
42
|
+
attributes: any;
|
|
43
|
+
required: boolean;
|
|
44
|
+
where: {
|
|
45
|
+
id: any;
|
|
46
|
+
};
|
|
47
|
+
}[];
|
|
48
|
+
export function getAllModeratedItemsByDomain(options: any, callback: any): void;
|
|
49
|
+
export function getAllModeratedItemsByUser(options: any, callback: any): void;
|
|
50
|
+
export function getAllModeratedItemsByCommunity(options: any, callback: any): void;
|
|
51
|
+
export function getAllModeratedItemsByGroup(options: any, callback: any): void;
|
|
52
|
+
export function countAllModeratedItemsByDomain(options: any, callback: any): void;
|
|
53
|
+
export function countAllModeratedItemsByCommunity(options: any, callback: any): void;
|
|
54
|
+
export function countAllModeratedItemsByGroup(options: any, callback: any): void;
|
|
55
|
+
export function countAllModeratedItemsByUser(options: any, callback: any): void;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export = ImageLabelingBase;
|
|
2
|
+
declare class ImageLabelingBase {
|
|
3
|
+
constructor(workPackage: any);
|
|
4
|
+
workPackage: any;
|
|
5
|
+
collection: any;
|
|
6
|
+
reportContent: boolean;
|
|
7
|
+
reportContentWithNotification: boolean;
|
|
8
|
+
visionClient: vision.v1.ImageAnnotatorClient;
|
|
9
|
+
visionRequesBase: {
|
|
10
|
+
features: {
|
|
11
|
+
type: string;
|
|
12
|
+
}[];
|
|
13
|
+
image: {
|
|
14
|
+
source: {
|
|
15
|
+
imageUri: undefined;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
reviewAndLabelUrl(imageUrl: any, mediaType: any, mediaId: any): Promise<any>;
|
|
20
|
+
reportImageToModerators(options: any): Promise<any>;
|
|
21
|
+
hasImageIdBeenReviewed(imageId: any): boolean;
|
|
22
|
+
reviewAndLabelImages(images: any): Promise<any>;
|
|
23
|
+
reviewAndLabelVideos(collectionModel: any, collectionId: any, collectionAssociation: any): Promise<any>;
|
|
24
|
+
evaluteImageReviews(imageReviews: any): Promise<any>;
|
|
25
|
+
reportContentIfNeeded(): Promise<any>;
|
|
26
|
+
getCollection(): Promise<void>;
|
|
27
|
+
reviewImagesFromCollection(): Promise<void>;
|
|
28
|
+
reviewAndLabelVisualMedia(): Promise<any>;
|
|
29
|
+
}
|
|
30
|
+
import vision = require("@google-cloud/vision");
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export = Perspective;
|
|
2
|
+
declare class Perspective {
|
|
3
|
+
constructor(options: any);
|
|
4
|
+
options: any;
|
|
5
|
+
analyze(text: any, options: any): Promise<any>;
|
|
6
|
+
getAnalyzeCommentPayload(text: any, options: any): {
|
|
7
|
+
comment: {
|
|
8
|
+
text: any;
|
|
9
|
+
};
|
|
10
|
+
} & {
|
|
11
|
+
requestedAttributes: any;
|
|
12
|
+
doNotStore: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
declare namespace Perspective {
|
|
16
|
+
export { PerspectiveAPIClientError };
|
|
17
|
+
export { TextEmptyError };
|
|
18
|
+
export { TextTooLongError };
|
|
19
|
+
export { ResponseError };
|
|
20
|
+
}
|
|
21
|
+
declare class PerspectiveAPIClientError extends Error {
|
|
22
|
+
constructor(message: any);
|
|
23
|
+
}
|
|
24
|
+
declare class TextEmptyError extends PerspectiveAPIClientError {
|
|
25
|
+
constructor();
|
|
26
|
+
}
|
|
27
|
+
declare class TextTooLongError extends PerspectiveAPIClientError {
|
|
28
|
+
constructor();
|
|
29
|
+
}
|
|
30
|
+
declare class ResponseError extends PerspectiveAPIClientError {
|
|
31
|
+
constructor(message: any, response: any);
|
|
32
|
+
response: any;
|
|
33
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
export function activitiesDefaultIncludes(options: any): ({
|
|
2
|
+
model: any;
|
|
3
|
+
required: boolean;
|
|
4
|
+
attributes: any;
|
|
5
|
+
where?: undefined;
|
|
6
|
+
include?: undefined;
|
|
7
|
+
} | {
|
|
8
|
+
model: any;
|
|
9
|
+
required: boolean;
|
|
10
|
+
attributes: any;
|
|
11
|
+
where: {
|
|
12
|
+
access: any;
|
|
13
|
+
$or?: undefined;
|
|
14
|
+
};
|
|
15
|
+
include?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
model: any;
|
|
18
|
+
required: boolean;
|
|
19
|
+
attributes: any;
|
|
20
|
+
where: {
|
|
21
|
+
$or: {
|
|
22
|
+
access: any;
|
|
23
|
+
}[];
|
|
24
|
+
access?: undefined;
|
|
25
|
+
};
|
|
26
|
+
include: {
|
|
27
|
+
model: any;
|
|
28
|
+
as: string;
|
|
29
|
+
attributes: any;
|
|
30
|
+
required: boolean;
|
|
31
|
+
}[];
|
|
32
|
+
} | {
|
|
33
|
+
model: any;
|
|
34
|
+
required: boolean;
|
|
35
|
+
attributes: any;
|
|
36
|
+
include: ({
|
|
37
|
+
model: any;
|
|
38
|
+
required: boolean;
|
|
39
|
+
attributes: string[];
|
|
40
|
+
as?: undefined;
|
|
41
|
+
include?: undefined;
|
|
42
|
+
} | {
|
|
43
|
+
model: any;
|
|
44
|
+
as: string;
|
|
45
|
+
attributes: any;
|
|
46
|
+
required: boolean;
|
|
47
|
+
include?: undefined;
|
|
48
|
+
} | {
|
|
49
|
+
model: any;
|
|
50
|
+
required: boolean;
|
|
51
|
+
include: {
|
|
52
|
+
model: any;
|
|
53
|
+
attributes: any;
|
|
54
|
+
required: boolean;
|
|
55
|
+
as: string;
|
|
56
|
+
}[];
|
|
57
|
+
attributes?: undefined;
|
|
58
|
+
as?: undefined;
|
|
59
|
+
})[];
|
|
60
|
+
where?: undefined;
|
|
61
|
+
} | {
|
|
62
|
+
model: any;
|
|
63
|
+
required: boolean;
|
|
64
|
+
attributes: any[];
|
|
65
|
+
include: ({
|
|
66
|
+
model: any;
|
|
67
|
+
attributes: any;
|
|
68
|
+
include: {
|
|
69
|
+
model: any;
|
|
70
|
+
attributes: any;
|
|
71
|
+
required: boolean;
|
|
72
|
+
}[];
|
|
73
|
+
required: boolean;
|
|
74
|
+
as?: undefined;
|
|
75
|
+
} | {
|
|
76
|
+
model: any;
|
|
77
|
+
required: boolean;
|
|
78
|
+
attributes: string[];
|
|
79
|
+
as: string;
|
|
80
|
+
include?: undefined;
|
|
81
|
+
} | {
|
|
82
|
+
model: any;
|
|
83
|
+
attributes: string[];
|
|
84
|
+
required: boolean;
|
|
85
|
+
include?: undefined;
|
|
86
|
+
as?: undefined;
|
|
87
|
+
})[];
|
|
88
|
+
where?: undefined;
|
|
89
|
+
})[];
|
|
90
|
+
export function getCommonWhereOptions(options: any): {
|
|
91
|
+
status: string;
|
|
92
|
+
deleted: boolean;
|
|
93
|
+
};
|
|
94
|
+
export function getCommonWhereDateOptions(options: any): {};
|
|
95
|
+
export var defaultKeyActivities: string[];
|
|
96
|
+
export var excludeActivitiesFromFilter: string[];
|
|
97
|
+
export function getActivityDate(options: any, callback: any): void;
|
|
98
|
+
export function getProcessedRange(options: any, callback: any): void;
|
|
99
|
+
export function getNewsFeedDate(options: any, type: any, callback: any): void;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export function getModelAndUsersByType(model: any, userType: any, id: any, notification_setting_type: any, callback: any): void;
|
|
2
|
+
export function addNotificationsForUsers(activity: any, users: any, notification_type: any, notification_setting_type: any, uniqueUserIds: any, callback: any): void;
|
|
3
|
+
export function addOrPossiblyGroupNotification(model: any, notification_type: any, notification_setting_type: any, activity: any, user: any, priority: any, callback: any): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|