@appconda/sdk 1.0.662 → 1.0.667
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/dist/modules/emploid/schema.d.ts +15 -0
- package/dist/modules/emploid/schema.js +16 -1
- package/dist/modules/emploid/service.d.ts +39 -2
- package/dist/modules/emploid/service.js +32 -1
- package/dist/modules/emploid/types.d.ts +59 -0
- package/dist/modules/emploid/types.js +1 -1
- package/package.json +1 -1
- package/src/modules/emploid/schema.ts +18 -0
- package/src/modules/emploid/service.ts +46 -2
- package/src/modules/emploid/types.ts +62 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import z from "zod";
|
|
2
2
|
import { ServiceClient } from "../../service-client";
|
|
3
|
-
import { AggregateRecordsSchema, BulkCreateRecordsSchema, BulkDeleteRecordsSchema, BulkUpdateRecordsSchema, ChangeAgentflowProjectSchema, CheckRecordPermissionSchema, ConnectTrelloImportCredentialSchema, CountRecordsSchema, CreateAgentFlowFolderSchema, CreateAgentFlowSchema, CreateAssistantChannelSchema, CreateAssistantConstraintSchema, CreateAssistantDatasourceSchema, CreateAssistantInstructionSchema, CreateAssistantSchema, CreateAssistantSkillSchema, CreateChannelSchema, CreateCollectionAutomationRuleSchema, CreateCollectionButtonSchema, CreateCollectionFieldSchema, CreateCollectionRelationSchema, CreateCollectionSchema, CreateCollectionViewSchema, CreateCommandSchema, CreateCompetencySchema, CreateConstraintSchema, CreateDataModelSchema, CreateDatasourceSchema, CreateDomainTopicSchema, CreateDriveFolderSchema, CreateDriveRootFolderSchema, CreateDriveRootSchema, CreateEmploidSchema, CreateExtensionSchema, CreateInputSchema, CreateInstructionSchema, CreateJobDefinitionSchema, CreateKnowledgeSchema, CreateOccupationSchema, CreateRecordSchema, CreateScopeSchema, CreateSkillSchema, CreateStreamIdSchema, CreateTaskTemplateSchema, CreateTeamSchema, CreateTopicSchema, CreateWikiAiCommandSchema, CreateWikiCommentSchema, CreateWikiPageSchema, CreateWikiReferenceSchema, CreateWikiRevisionSchema, CreateWorkerSchema, CreateWorkerTopicSchema, DeleteAgentFlowFolderSchema, DeleteAgentFlowSchema, DeleteAssistantChannelSchema, DeleteAssistantDatasourceSchema, DeleteAssistantSchema,
|
|
4
|
-
import { TAgentFlow, TAgentFlowFolder, TAssistant, TAssistantChannel, TAssistantConstraint, TAssistantDatasource, TAssistantInstruction, TAssistantSkill, TChannel, TChat, TCollectionAutomationRule, TCollectionButton, TCollectionRelation, TCollectionView, TCommand, TCompetency, TConstraint, TDatasource, TDeleteAgentFlowResult, TDocument, TDomainTopic, TDriveDeleteImpact, TDriveFileContent, TDriveItem, TDriveProviderFolder, TDriveRoot, TDriveRootProvider, TDriveTreeNode, TEmploid, TEnhanceTopic, TExtension, TInput, TInstruction, TJobDefinition, TKnowledge, TMarketStoreItem, TOccupation, TPaginatedEmploidsResult, TPreparedDriveUpload, TPublishEmploid, TPublishWorkerToMarketStore, TRelationRecordOption, TScope, TSkill, TStreamId, TTaskTemplate, TTeam, TTopic, TUploadedFile, TWikiAiCommand, TWikiAiRunResult, TWikiAiSetting, TWikiComment, TWikiCommentPagination, TWikiFileViewResolution, TWikiReference, TWikiReferenceListResponse, TWorker, TWorkerTopic } from "./types";
|
|
3
|
+
import { AggregateRecordsSchema, BulkCreateRecordsSchema, BulkDeleteRecordsSchema, BulkUpdateRecordsSchema, ChangeAgentflowProjectSchema, CheckRecordPermissionSchema, ConnectTrelloImportCredentialSchema, CountRecordsSchema, CreateAgentFlowFolderSchema, CreateAgentFlowSchema, CreateAssistantChannelSchema, CreateAssistantConstraintSchema, CreateAssistantDatasourceSchema, CreateAssistantInstructionSchema, CreateAssistantSchema, CreateAssistantSkillSchema, CreateChannelSchema, CreateCollectionAutomationRuleSchema, CreateCollectionButtonSchema, CreateCollectionFieldSchema, CreateCollectionRelationSchema, CreateCollectionSchema, CreateCollectionViewSchema, CreateCommandSchema, CreateCompetencySchema, CreateConstraintSchema, CreateDataModelSchema, CreateDatasourceSchema, CreateDomainTopicSchema, CreateDriveFolderSchema, CreateDriveRootFolderSchema, CreateDriveRootSchema, CreateEmploidSchema, CreateExtensionSchema, CreateInputSchema, CreateInstructionSchema, CreateJobDefinitionSchema, CreateKnowledgeSchema, CreateOccupationSchema, CreateRecordSchema, CreateScopeSchema, CreateSkillSchema, CreateStreamIdSchema, CreateTaskTemplateSchema, CreateTeamSchema, CreateTopicSchema, CreateWikiAiCommandSchema, CreateWikiCommentSchema, CreateWikiPageSchema, CreateWikiReferenceSchema, CreateWikiRevisionSchema, CreateWorkerSchema, CreateWorkerTopicSchema, DeleteAgentFlowFolderSchema, DeleteAgentFlowSchema, DeleteAssistantChannelSchema, DeleteAssistantDatasourceSchema, DeleteAssistantSchema, DeleteChannelSchema, DeleteChatByIdSchema, DeleteCollectionAutomationRuleSchema, DeleteCollectionButtonSchema, DeleteCollectionFieldSchema, DeleteCollectionRelationSchema, DeleteCollectionViewSchema, DeleteCommandSchema, DeleteCompetencySchema, DeleteConstraintSchema, DeleteDataModelSchema, DeleteDatasourceSchema, DeleteDocumentsByIdAfterTimestampSchema, DeleteDomainTopicSchema, DeleteDriveItemSchema, DeleteDriveRootItemSchema, DeleteDriveRootSchema, DeleteEmploidSchema, DeleteExtensionSchema, DeleteInputSchema, DeleteInstructionSchema, DeleteJobDefinitionSchema, DeleteKnowledgeSchema, DeleteMessagesByChatIdAfterTimestampSchema, DeleteOccupationSchema, DeleteRecordSchema, DeleteScopeSchema, DeleteSkillSchema, DeleteTaskTemplateSchema, DeleteTeamSchema, DeleteTopicSchema, DeleteWikiCommentSchema, DeleteWikiPageSchema, DeleteWikiReferenceSchema, DeleteWorkerSchema, DeleteWorkerTopicSchema, DistinctFieldValuesSchema, DuplicateAgentFlowSchema, DuplicateRecordSchema, EnhanceTopicSchema, EnsureAirtableImportCredentialSchema, EnsureDriveProviderCredentialSchema, EnsureGmailImportCredentialSchema, EnsureGithubImportCredentialSchema, EnsureJiraImportCredentialSchema, EnsureLinearImportCredentialSchema, EnsureNotionImportCredentialSchema, EnsureTrelloImportCredentialSchema, ExecuteCollectionAiFieldSchema, ExecuteCollectionButtonSchema, ExportDataModelSchema, GetChatByIdSchema, GetChatsByUserIdSchema, GetCollectionByIdSchema, GetCollectionSchemaSchema, GetDataModelByIdSchema, GetDocumentByIdSchema, GetDocumentsByIdSchema, GetDriveDeleteImpactSchema, GetDriveRootDeleteImpactSchema, GetLatestWikiRevisionSchema, GetMarketStoreItemSchema, GetMessageByIdSchema, GetMessageCountByUserIdSchema, GetMessagesByChatIdSchema, GetPrivateAgentFlowFolderSchema, GetRecordByIdSchema, GetRecordRelationsSchema, GetScopeByTypeSchema, GetStreamIdsByChatIdSchema, GetSuggestionsByDocumentIdSchema, GetVotesByChatIdSchema, GetWikiAiSettingsSchema, GetWikiPageByIdSchema, GetWikiPageBySlugSchema, GetWikiReferenceByIdSchema, GetWikiRevisionByIdSchema, GetWikiTreeSchema, GrantRecordPermissionSchema, GroupRecordsSchema, HardDeleteDataModelSchema, ListAgentFlowFoldersSchema, ListAgentFlowsSchema, ListAirtableImportSourcesSchema, ListAssistantChannelsSchema, ListAssistantConstraintsSchema, ListAssistantDatasourcesSchema, ListAssistantInstructionsSchema, ListAssistantSkillsSchema, ListAssistantsSchema, ListChannelsSchema, ListChatHistorySchema, ListCollectionAutomationRulesSchema, ListCollectionButtonsSchema, ListCollectionRelationsSchema, ListCollectionsSchema, ListCollectionViewsSchema, ListCommandsSchema, ListCompetenciesSchema, ListConstraintsSchema, ListDataModelsSchema, ListDatasourcesSchema, ListDomainTopicsSchema, ListDriveItemsSchema, ListDriveProviderFoldersSchema, ListDriveRootItemsSchema, ListDriveRootsSchema, ListDriveRootTreeSchema, ListDriveTreeSchema, ListEmploidsPaginatedSchema, ListEmploidsSchema, ListExtensionsSchema, ListGmailImportSourcesSchema, ListGithubImportSourcesSchema, ListInputSchema, ListInstructionsSchema, ListJiraImportSourcesSchema, ListJobDefinitionSchema, ListKnowledgesSchema, ListLinearImportSourcesSchema, ListMarketStoreItemsSchema, ListNotionImportSourcesSchema, ListOccupationsSchema, ListRecordPermissionsSchema, ListRecordsSchema, ListRelationCandidatesSchema, ListScopesSchema, ListSkillsSchema, ListTaskTemplatesSchema, ListTeamsSchema, ListTopicsSchema, ListTrelloImportSourcesSchema, ListWikiAiCommandsSchema, ListWikiCommentsSchema, ListWikiPagesSchema, ListWikiReferencesSchema, ListWorkersSchema, ListWorkerTopicsSchema, MoveDriveItemSchema, MoveDriveRootItemSchema, MoveWikiPageSchema, PrepareDriveUploadSchema, PreviewAirtableImportSchema, PreviewCsvImportSchema, PreviewGmailImportSchema, PreviewGithubImportSchema, PreviewJiraImportSchema, PreviewLinearImportSchema, PreviewNotionImportSchema, PreviewTrelloImportSchema, PreviewValidationErrorsSchema, PublishDomainSchema, PublishEmploidSchema, PublishWorkerToMarketStoreSchema, QueryRecordsSchema, ReadDriveRootFileContentSchema, ReadDriveRootFileTextSchema, RenameDriveItemSchema, RenameDriveRootItemSchema, ReorderCollectionFieldsSchema, ResolveCollectionFileViewSchema, ResolveDriveDownloadSchema, ResolveDriveRootDownloadSchema, ResolveScopeFileViewSchema, ResolveWikiFileViewSchema, RestoreDataModelSchema, RestoreRecordSchema, RestoreWikiPageSchema, RevokeRecordPermissionSchema, RunAirtableImportSchema, RunCsvImportSchema, RunGmailImportSchema, RunGithubImportSchema, RunJiraImportSchema, RunLinearImportSchema, RunNotionImportSchema, RunTrelloImportSchema, RunWikiAiCommandSchema, SaveChatSchema, SaveDocumentSchema, SaveMessagesSchema, SaveSuggestionsSchema, SearchDriveItemsSchema, SearchDriveRootItemsSchema, SearchRecordsSchema, SetWikiAiSettingsSchema, SetWikiPageUserStateSchema, UpdateAgentFlowFolderSchema, UpdateAgentFlowSchema, UpdateAssistantChannelSchema, UpdateAssistantDatasourceSchema, UpdateAssistantSchema, UpdateAssistantSkillSchema, UpdateChannelSchema, UpdateChatLastContextByIdSchema, UpdateChatVisiblityByIdSchema, UpdateCollectionAutomationRuleSchema, UpdateCollectionButtonSchema, UpdateCollectionFieldSchema, UpdateCollectionRelationSchema, UpdateCollectionViewSchema, UpdateCommandSchema, UpdateCompetencySchema, UpdateConstraintSchema, UpdateDataModelSchema, UpdateDatasourceSchema, UpdateDomainTopicSchema, UpdateEmploidSchema, UpdateExtensionSchema, UpdateInputSchema, UpdateInstructionSchema, UpdateJobDefinitionSchema, UpdateKnowledgeSchema, UpdateOccupationSchema, UpdateRecordSchema, UpdateScopeSchema, UpdateSkillSchema, UpdateTaskTemplateSchema, UpdateTeamSchema, UpdateTopicSchema, UpdateWikiCommentSchema, UpdateWikiPageSchema, UpdateWikiReferenceSchema, UpdateWorkerSchema, UpdateWorkerTopicSchema, UploadCollectionFileSchema, UploadDriveRootFilesSchema, UploadEditorFileSchema, UpsertRecordSchema, ValidateRecordSchema, VoteMessageSchema } from "./schema";
|
|
4
|
+
import { TAgentFlow, TAgentFlowFolder, TAssistant, TAssistantChannel, TAssistantConstraint, TAssistantDatasource, TAssistantInstruction, TAssistantSkill, TChannel, TChat, TCollectionAutomationRule, TCollectionButton, TCollectionRelation, TCollectionView, TCommand, TCompetency, TConstraint, TDatasource, TDeleteAgentFlowResult, TDocument, TDomainTopic, TDriveDeleteImpact, TDriveFileContent, TDriveFileTextContent, TDriveItem, TDriveProviderFolder, TDriveRoot, TDriveRootProvider, TDriveTreeNode, TEmploid, TEnhanceTopic, TExtension, TInput, TInstruction, TJobDefinition, TKnowledge, TMarketStoreItem, TOccupation, TPaginatedEmploidsResult, TPreparedDriveUpload, TPublishEmploid, TPublishWorkerToMarketStore, TRelationRecordOption, TScope, TSkill, TStreamId, TTaskTemplate, TTeam, TTopic, TUploadedFile, TWikiAiCommand, TWikiAiRunResult, TWikiAiSetting, TWikiComment, TWikiCommentPagination, TWikiFileViewResolution, TWikiReference, TWikiReferenceListResponse, TWorker, TWorkerTopic } from "./types";
|
|
5
|
+
import type { TKnowledgeTreeExportPayload, TKnowledgeTreeImportResult } from "./types";
|
|
5
6
|
import { ImportDataModelSchema } from "./schema";
|
|
6
7
|
import { CreateWikiSpaceSchema, DeleteWikiSpaceSchema, GetPrivateWikiSpaceSchema, ListWikiSpacesSchema, UpdateWikiSpaceSchema } from "./schema";
|
|
7
8
|
import type { TWikiSpace } from "./types";
|
|
@@ -30,6 +31,15 @@ export declare class EmploidService extends ServiceClient {
|
|
|
30
31
|
CreateScope(payload: z.infer<typeof CreateScopeSchema>): Promise<TScope>;
|
|
31
32
|
UpdateScope(payload: z.infer<typeof UpdateScopeSchema>): Promise<TScope>;
|
|
32
33
|
DeleteScope(payload: z.infer<typeof DeleteScopeSchema>): Promise<TScope>;
|
|
34
|
+
ExportKnowledgeTree(payload: {
|
|
35
|
+
tenantId: string;
|
|
36
|
+
workerId: string;
|
|
37
|
+
}): Promise<TKnowledgeTreeExportPayload>;
|
|
38
|
+
ImportKnowledgeTree(payload: {
|
|
39
|
+
tenantId: string;
|
|
40
|
+
workerId: string;
|
|
41
|
+
importData: unknown;
|
|
42
|
+
}): Promise<TKnowledgeTreeImportResult>;
|
|
33
43
|
UploadScopeFile(payload: z.infer<typeof UploadEditorFileSchema>): Promise<TUploadedFile>;
|
|
34
44
|
ResolveScopeFileView(payload: z.infer<typeof ResolveScopeFileViewSchema>): Promise<TWikiFileViewResolution>;
|
|
35
45
|
CreateOccupation(payload: z.infer<typeof CreateOccupationSchema>): Promise<TOccupation>;
|
|
@@ -64,6 +74,32 @@ export declare class EmploidService extends ServiceClient {
|
|
|
64
74
|
DeleteAgentFlowFolder(payload: z.infer<typeof DeleteAgentFlowFolderSchema>): Promise<TAgentFlowFolder>;
|
|
65
75
|
ListAgentFlowFolders(payload: z.infer<typeof ListAgentFlowFoldersSchema>): Promise<TAgentFlowFolder[]>;
|
|
66
76
|
GetPrivateAgentFlowFolder(payload: z.infer<typeof GetPrivateAgentFlowFolderSchema>): Promise<TAgentFlowFolder | null>;
|
|
77
|
+
CreateWorkforceFlow(payload: {
|
|
78
|
+
tenantId: string;
|
|
79
|
+
name: string;
|
|
80
|
+
description?: string | null;
|
|
81
|
+
}): Promise<unknown>;
|
|
82
|
+
UpdateWorkforceFlow(payload: {
|
|
83
|
+
id: string;
|
|
84
|
+
name?: string | null;
|
|
85
|
+
description?: string | null;
|
|
86
|
+
flowData?: unknown;
|
|
87
|
+
}): Promise<unknown>;
|
|
88
|
+
DeleteWorkforceFlow(payload: {
|
|
89
|
+
id: string;
|
|
90
|
+
}): Promise<unknown>;
|
|
91
|
+
ListWorkforceFlows(payload: {
|
|
92
|
+
tenantId: string;
|
|
93
|
+
}): Promise<unknown>;
|
|
94
|
+
ExecuteWorkforceFlow(payload: {
|
|
95
|
+
id: string;
|
|
96
|
+
input?: unknown;
|
|
97
|
+
flowData?: unknown;
|
|
98
|
+
}): Promise<unknown>;
|
|
99
|
+
ListWorkforceAvailableTools(payload?: Record<string, never>): Promise<unknown>;
|
|
100
|
+
ListWorkforceKnowledgeSources(payload: {
|
|
101
|
+
tenantId: string;
|
|
102
|
+
}): Promise<unknown>;
|
|
67
103
|
ListDriveItems(payload: z.infer<typeof ListDriveItemsSchema>): Promise<{
|
|
68
104
|
currentFolder: TDriveItem;
|
|
69
105
|
items: TDriveItem[];
|
|
@@ -115,6 +151,7 @@ export declare class EmploidService extends ServiceClient {
|
|
|
115
151
|
totalItems: number;
|
|
116
152
|
}>;
|
|
117
153
|
ReadDriveRootFileContent(payload: z.infer<typeof ReadDriveRootFileContentSchema>): Promise<TDriveFileContent>;
|
|
154
|
+
ReadDriveRootFileText(payload: z.infer<typeof ReadDriveRootFileTextSchema>): Promise<TDriveFileTextContent>;
|
|
118
155
|
ResolveDriveRootDownload(payload: z.infer<typeof ResolveDriveRootDownloadSchema>): Promise<TWikiFileViewResolution>;
|
|
119
156
|
CreateExtension(payload: z.infer<typeof CreateExtensionSchema>): Promise<TExtension>;
|
|
120
157
|
UpdateExtension(payload: z.infer<typeof UpdateExtensionSchema>): Promise<TExtension>;
|