@appconda/sdk 1.0.681 → 1.0.683
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 +1084 -21
- package/dist/modules/emploid/schema.js +675 -53
- package/dist/modules/emploid/service.d.ts +95 -15
- package/dist/modules/emploid/service.js +127 -1
- package/dist/modules/emploid/types.d.ts +714 -6
- package/dist/modules/emploid/types.js +1 -1
- package/package.json +1 -1
- package/src/modules/emploid/schema.ts +750 -60
- package/src/modules/emploid/service.ts +395 -15
- package/src/modules/emploid/types.ts +801 -7
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import z from "zod";
|
|
2
2
|
import { ServiceClient } from "../../service-client";
|
|
3
|
+
import { DecideCollectionAutomationApprovalSchema, ListCollectionAutomationExecutionsSchema } from "./schema";
|
|
4
|
+
import type { TCollectionAutomationExecutionPage } from "./types";
|
|
3
5
|
import { AggregateRecordsSchema, ArchiveCollectionSchema, BulkCreateRecordsSchema, BulkDeleteRecordsSchema, BulkUpdateRecordsSchema, ChangeAgentflowProjectSchema, CheckRecordPermissionSchema, ClearWorkerNotebookMessagesSchema, BuildWorkerNotebookContextSchema, 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, CreateWorkerNotebookFileSourceSchema, CreateWorkerNotebookNoteSchema, CreateWorkerNotebookSchema, CreateWorkerNotebookSourceSchema, CreateWorkerNotebookStudioOutputSchema, DiscoverWorkerNotebookSourcesSchema, ImportWorkerNotebookSourcesSchema, 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, DeleteWorkerNotebookNoteSchema, DeleteWorkerNotebookSchema, DeleteWorkerNotebookSourceSchema, DeleteWorkerNotebookStudioOutputSchema, 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, GetWorkerNotebookSchema, 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, ListGoogleMeetCalendarsSchema, ListGithubImportSourcesSchema, ListInputSchema, ListInstructionsSchema, ListJiraImportSourcesSchema, ListJobDefinitionSchema, ListKnowledgesSchema, ListLinearImportSourcesSchema, ListMarketStoreItemsSchema, ListNotionImportSourcesSchema, ListOccupationsSchema, ListRecordPermissionsSchema, ListRecordsSchema, ListRelationCandidatesSchema, ListScopesSchema, ListSkillsSchema, ListTaskTemplatesSchema, ListTeamsSchema, ListTopicsSchema, ListTrelloImportSourcesSchema, ListWikiAiCommandsSchema, ListWikiCommentsSchema, ListWikiPagesSchema, ListWikiReferencesSchema, ListWorkerNotebooksSchema, ListWorkersSchema, ListWorkerTopicsSchema, MoveDriveItemSchema, MoveDriveRootItemSchema, MoveWikiPageSchema, PrepareDriveUploadSchema, PreviewAirtableImportSchema, PreviewCsvImportSchema, PreviewGmailImportSchema, PreviewGithubImportSchema, PreviewJiraImportSchema, PreviewLinearImportSchema, PreviewNotionImportSchema, PreviewTrelloImportSchema, PreviewValidationErrorsSchema, PublishDomainSchema, PublishEmploidSchema, PublishWorkerToMarketStoreSchema, PurgeCollectionSchema, QueryRecordsSchema, ReadDriveRootFileContentSchema, ReadDriveRootFileTextSchema, RenameDriveItemSchema, RenameDriveRootItemSchema, ReorderCollectionFieldsSchema, ResolveDriveDownloadSchema, ResolveDriveRootDownloadSchema, ResolveScopeFileViewSchema, ResolveWikiFileViewSchema, RestoreDataModelSchema, RestoreRecordSchema, RestoreWikiPageSchema, RevokeRecordPermissionSchema, RunAirtableImportSchema, RunCsvImportSchema, RunGmailImportSchema, RunGithubImportSchema, RunJiraImportSchema, RunLinearImportSchema, RunNotionImportSchema, RunTrelloImportSchema, RunWikiAiCommandSchema, SaveChatSchema, SaveDocumentSchema, SaveMessagesSchema, SaveSuggestionsSchema, SearchDriveItemsSchema, SearchDriveRootItemsSchema, SearchRecordsSchema, SendWorkerNotebookMessageSchema, SetWikiAiSettingsSchema, SetWikiPageUserStateSchema, TestGoogleMeetCredentialSchema, UpdateAgentFlowFolderSchema, UpdateAgentFlowSchema, UpdateAssistantChannelSchema, UpdateAssistantDatasourceSchema, UpdateAssistantSchema, UpdateAssistantSkillSchema, UpdateChannelSchema, UpdateChatLastContextByIdSchema, UpdateChatVisiblityByIdSchema, UpdateCollectionAutomationRuleSchema, UpdateCollectionButtonSchema, UpdateCollectionFieldSchema, UpdateCollectionRelationSchema, UpdateCollectionSchema, UpdateCollectionViewSchema, UpdateCommandSchema, UpdateCompetencySchema, UpdateConstraintSchema, UpdateDataModelSchema, UpdateDatasourceSchema, UpdateDomainTopicSchema, UpdateEmploidSchema, UpdateExtensionSchema, UpdateInputSchema, UpdateInstructionSchema, UpdateJobDefinitionSchema, UpdateKnowledgeSchema, UpdateOccupationSchema, UpdateRecordSchema, UpdateScopeSchema, UpdateSkillSchema, UpdateTaskTemplateSchema, UpdateTeamSchema, UpdateTopicSchema, UpdateWikiCommentSchema, UpdateWikiPageSchema, UpdateWikiReferenceSchema, UpdateWorkerNotebookSchema, UpdateWorkerNotebookSourceSchema, UpdateWorkerNotebookStudioOutputSchema, UpdateWorkerSchema, UpdateWorkerTopicSchema, UploadCollectionFileSchema, UploadDriveRootFilesSchema, UploadEditorFileSchema, UpsertRecordSchema, ValidateRecordSchema, VoteMessageSchema } from "./schema";
|
|
4
6
|
import { GetGoogleMeetBrowserBotAvailabilitySchema, ListGoogleMeetEmailApprovalsSchema, ResolveCollectionFileViewSchema, ResolveGoogleMeetEmailApprovalSchema } from "./schema";
|
|
5
7
|
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, TGoogleMeetCalendarSources, TGoogleMeetCredentialTest, 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, TWorkerNotebook, TWorkerNotebookClearMessagesResult, TWorkerNotebookContextResult, TWorkerNotebookNote, TWorkerNotebookSendMessageResult, TWorkerNotebookSource, TWorkerNotebookSourceDiscoveryResult, TWorkerNotebookStudioOutput, TWorkerTopic } from "./types";
|
|
@@ -11,10 +13,23 @@ import type { TSlackConversationList, TWorkerSlackHealth, TWorkerSlackMessageHis
|
|
|
11
13
|
import { ListDiscordGuildChannelsSchema, ListDiscordGuildsSchema, ListWorkerDiscordMessagesSchema, SendWorkerDiscordMessageSchema, TestWorkerDiscordChannelSchema } from './schema';
|
|
12
14
|
import type { TDiscordGuildChannelList, TDiscordGuildList, TWorkerDiscordHealth, TWorkerDiscordMessageHistory } from './types';
|
|
13
15
|
import { ImportDataModelSchema } from "./schema";
|
|
16
|
+
import { ApplyCollectionAppGenerationSchema, GetCollectionAppGenerationPlanSchema, GetCollectionAppGenerationRunSchema, ListCollectionAppGenerationPlansSchema, ListCollectionAppGenerationRunsSchema, PreviewCollectionAppGenerationSchema, RollbackCollectionAppGenerationSchema, ResumeCollectionAppGenerationRunSchema } from "./schema";
|
|
17
|
+
import type { TCollectionAppGenerationPlan, TCollectionAppGenerationPlanPage, TCollectionAppGenerationRun, TCollectionAppGenerationRunPage } from "./types";
|
|
14
18
|
import { CreateWikiSpaceSchema, DeleteWikiSpaceSchema, GetPrivateWikiSpaceSchema, ListWikiSpacesSchema, UpdateWikiSpaceSchema } from "./schema";
|
|
15
19
|
import type { TWikiSpace } from "./types";
|
|
16
20
|
import { CreateWorkerBackgroundJobSchema, ClearWorkerBackgroundJobExecutionsSchema, ListWorkerBackgroundJobExecutionsSchema, ListWorkerBackgroundJobsSchema, UpdateWorkerBackgroundJobSchema } from "./schema";
|
|
17
21
|
import type { TWorkerBackgroundJob, TWorkerBackgroundJobExecutionPage, TClearWorkerBackgroundJobExecutionsResult } from "./types";
|
|
22
|
+
import type { TBulkUpdateRecordsResult, TCollection, TCollectionRecordPage, TGrantRecordPermissionResult, TRecordPermissionListResult, TReorderCollectionFieldsResult, TRevokeRecordPermissionResult } from "./types";
|
|
23
|
+
import { DeleteCollectionViewPreferenceSchema, UpsertCollectionViewPreferenceSchema } from "./schema";
|
|
24
|
+
import type { TCollectionViewPreferenceResult } from "./types";
|
|
25
|
+
import { DeleteCollectionAccessPolicySchema, ListCollectionAccessTeamMembersSchema, ListCollectionAccessPoliciesSchema, PreviewCollectionAccessPolicySchema, SetCollectionAccessTeamMembersSchema, UpsertCollectionAccessPolicySchema } from "./schema";
|
|
26
|
+
import type { TCollectionAccessPolicy, TCollectionAccessPolicyPreview, TCollectionAccessTeamMember, TSetCollectionAccessTeamMembersResult } from "./types";
|
|
27
|
+
import { DeleteCollectionFormSchema, ListCollectionFormsSchema, PublishCollectionFormSchema, ResolveCollectionFormSchema, RevokeCollectionFormSchema, SubmitCollectionFormSchema, UpsertCollectionFormSchema } from "./schema";
|
|
28
|
+
import type { TCollectionForm, TCollectionFormPublishResult, TCollectionFormSubmissionResult, TResolvedInternalCollectionForm } from "./types";
|
|
29
|
+
import { DeleteCollectionDashboardSchema, DeleteCollectionReportSchema, EvaluateCollectionDashboardSchema, EvaluateCollectionReportSchema, ListCollectionDashboardsSchema, ListCollectionReportsSchema, UpsertCollectionDashboardSchema, UpsertCollectionReportSchema } from "./schema";
|
|
30
|
+
import type { TCollectionDashboard, TCollectionDashboardEvaluation, TCollectionDashboardPage, TCollectionReport, TCollectionReportEvaluation, TCollectionReportPage } from "./types";
|
|
31
|
+
import { CreateCollectionCommentSchema, DeleteCollectionCommentSchema, ListCollectionCommentsSchema, ListCollectionNotificationsSchema, ListCollectionRecordActivitySchema, ListCollectionRecordCollaboratorsSchema, MarkCollectionNotificationsReadSchema, SetCollectionRecordCollaboratorsSchema, UpdateCollectionCommentSchema } from "./schema";
|
|
32
|
+
import type { TCollectionComment, TCollectionCommentPage, TCollectionNotificationPage, TCollectionRecordActivityPage, TCollectionRecordCollaborators } from "./types";
|
|
18
33
|
export declare class EmploidService extends ServiceClient {
|
|
19
34
|
protected getServiceName(): string;
|
|
20
35
|
private isHttpUrl;
|
|
@@ -310,8 +325,16 @@ export declare class EmploidService extends ServiceClient {
|
|
|
310
325
|
ListDataModels(payload: z.infer<typeof ListDataModelsSchema>): Promise<any>;
|
|
311
326
|
RestoreDataModel(payload: z.infer<typeof RestoreDataModelSchema>): Promise<any>;
|
|
312
327
|
HardDeleteDataModel(payload: z.infer<typeof HardDeleteDataModelSchema>): Promise<any>;
|
|
313
|
-
CreateCollection(payload: z.infer<typeof CreateCollectionSchema>): Promise<
|
|
314
|
-
|
|
328
|
+
CreateCollection(payload: z.infer<typeof CreateCollectionSchema>): Promise<TCollection>;
|
|
329
|
+
PreviewCollectionAppGeneration(payload: z.infer<typeof PreviewCollectionAppGenerationSchema>): Promise<TCollectionAppGenerationPlan>;
|
|
330
|
+
ApplyCollectionAppGeneration(payload: z.infer<typeof ApplyCollectionAppGenerationSchema>): Promise<TCollectionAppGenerationRun>;
|
|
331
|
+
RollbackCollectionAppGeneration(payload: z.infer<typeof RollbackCollectionAppGenerationSchema>): Promise<TCollectionAppGenerationRun>;
|
|
332
|
+
ResumeCollectionAppGenerationRun(payload: z.infer<typeof ResumeCollectionAppGenerationRunSchema>): Promise<TCollectionAppGenerationRun>;
|
|
333
|
+
GetCollectionAppGenerationPlan(payload: z.infer<typeof GetCollectionAppGenerationPlanSchema>): Promise<TCollectionAppGenerationPlan>;
|
|
334
|
+
ListCollectionAppGenerationPlans(payload: z.infer<typeof ListCollectionAppGenerationPlansSchema>): Promise<TCollectionAppGenerationPlanPage>;
|
|
335
|
+
GetCollectionAppGenerationRun(payload: z.infer<typeof GetCollectionAppGenerationRunSchema>): Promise<TCollectionAppGenerationRun>;
|
|
336
|
+
ListCollectionAppGenerationRuns(payload: z.infer<typeof ListCollectionAppGenerationRunsSchema>): Promise<TCollectionAppGenerationRunPage>;
|
|
337
|
+
UpdateCollection(payload: z.infer<typeof UpdateCollectionSchema>): Promise<TCollection>;
|
|
315
338
|
ArchiveCollection(payload: z.infer<typeof ArchiveCollectionSchema>): Promise<any>;
|
|
316
339
|
PurgeCollection(payload: z.infer<typeof PurgeCollectionSchema>): Promise<any>;
|
|
317
340
|
ListCollections(payload: z.infer<typeof ListCollectionsSchema>): Promise<any>;
|
|
@@ -360,17 +383,11 @@ export declare class EmploidService extends ServiceClient {
|
|
|
360
383
|
ListTrelloImportSources(payload: z.infer<typeof ListTrelloImportSourcesSchema>): Promise<any>;
|
|
361
384
|
PreviewTrelloImport(payload: z.infer<typeof PreviewTrelloImportSchema>): Promise<any>;
|
|
362
385
|
RunTrelloImport(payload: z.infer<typeof RunTrelloImportSchema>): Promise<any>;
|
|
363
|
-
BulkUpdateRecords(payload: z.infer<typeof BulkUpdateRecordsSchema>): Promise<
|
|
386
|
+
BulkUpdateRecords(payload: z.infer<typeof BulkUpdateRecordsSchema>): Promise<TBulkUpdateRecordsResult>;
|
|
364
387
|
BulkDeleteRecords(payload: z.infer<typeof BulkDeleteRecordsSchema>): Promise<any>;
|
|
365
388
|
DuplicateRecord(payload: z.infer<typeof DuplicateRecordSchema>): Promise<any>;
|
|
366
|
-
QueryRecords(payload: z.infer<typeof QueryRecordsSchema>): Promise<
|
|
367
|
-
|
|
368
|
-
records: any[];
|
|
369
|
-
}>;
|
|
370
|
-
SearchRecords(payload: z.infer<typeof SearchRecordsSchema>): Promise<{
|
|
371
|
-
total: number;
|
|
372
|
-
records: any[];
|
|
373
|
-
}>;
|
|
389
|
+
QueryRecords(payload: z.infer<typeof QueryRecordsSchema>): Promise<TCollectionRecordPage>;
|
|
390
|
+
SearchRecords(payload: z.infer<typeof SearchRecordsSchema>): Promise<TCollectionRecordPage>;
|
|
374
391
|
CountRecords(payload: z.infer<typeof CountRecordsSchema>): Promise<number>;
|
|
375
392
|
GroupRecords(payload: z.infer<typeof GroupRecordsSchema>): Promise<any[]>;
|
|
376
393
|
AggregateRecords(payload: z.infer<typeof AggregateRecordsSchema>): Promise<any[]>;
|
|
@@ -382,10 +399,22 @@ export declare class EmploidService extends ServiceClient {
|
|
|
382
399
|
CreateCollectionAutomationRule(payload: z.infer<typeof CreateCollectionAutomationRuleSchema>): Promise<TCollectionAutomationRule>;
|
|
383
400
|
UpdateCollectionAutomationRule(payload: z.infer<typeof UpdateCollectionAutomationRuleSchema>): Promise<TCollectionAutomationRule>;
|
|
384
401
|
DeleteCollectionAutomationRule(payload: z.infer<typeof DeleteCollectionAutomationRuleSchema>): Promise<any>;
|
|
402
|
+
ListCollectionAutomationExecutions(payload: z.infer<typeof ListCollectionAutomationExecutionsSchema>): Promise<TCollectionAutomationExecutionPage>;
|
|
403
|
+
DecideCollectionAutomationApproval(payload: z.infer<typeof DecideCollectionAutomationApprovalSchema>): Promise<{
|
|
404
|
+
id: string;
|
|
405
|
+
status: "approved" | "rejected";
|
|
406
|
+
executionId: string;
|
|
407
|
+
}>;
|
|
385
408
|
ListCollectionViews(payload: z.infer<typeof ListCollectionViewsSchema>): Promise<TCollectionView[]>;
|
|
386
409
|
CreateCollectionView(payload: z.infer<typeof CreateCollectionViewSchema>): Promise<TCollectionView>;
|
|
387
410
|
UpdateCollectionView(payload: z.infer<typeof UpdateCollectionViewSchema>): Promise<TCollectionView>;
|
|
388
411
|
DeleteCollectionView(payload: z.infer<typeof DeleteCollectionViewSchema>): Promise<any>;
|
|
412
|
+
UpsertCollectionViewPreference(payload: z.infer<typeof UpsertCollectionViewPreferenceSchema>): Promise<TCollectionViewPreferenceResult>;
|
|
413
|
+
DeleteCollectionViewPreference(payload: z.infer<typeof DeleteCollectionViewPreferenceSchema>): Promise<{
|
|
414
|
+
success: boolean;
|
|
415
|
+
viewId: string;
|
|
416
|
+
userId: string;
|
|
417
|
+
}>;
|
|
389
418
|
ListCollectionButtons(payload: z.infer<typeof ListCollectionButtonsSchema>): Promise<TCollectionButton[]>;
|
|
390
419
|
CreateCollectionButton(payload: z.infer<typeof CreateCollectionButtonSchema>): Promise<TCollectionButton>;
|
|
391
420
|
UpdateCollectionButton(payload: z.infer<typeof UpdateCollectionButtonSchema>): Promise<TCollectionButton>;
|
|
@@ -404,14 +433,65 @@ export declare class EmploidService extends ServiceClient {
|
|
|
404
433
|
recordId: string;
|
|
405
434
|
values: Record<string, TRelationRecordOption[] | TRelationRecordOption | null>;
|
|
406
435
|
}>;
|
|
407
|
-
ReorderCollectionFields(payload: z.infer<typeof ReorderCollectionFieldsSchema>): Promise<
|
|
436
|
+
ReorderCollectionFields(payload: z.infer<typeof ReorderCollectionFieldsSchema>): Promise<TReorderCollectionFieldsResult>;
|
|
408
437
|
GetCollectionSchema(payload: z.infer<typeof GetCollectionSchemaSchema>): Promise<any>;
|
|
409
438
|
ValidateRecord(payload: z.infer<typeof ValidateRecordSchema>): Promise<any>;
|
|
410
439
|
PreviewValidationErrors(payload: z.infer<typeof PreviewValidationErrorsSchema>): Promise<any>;
|
|
440
|
+
ListCollectionForms(payload: z.infer<typeof ListCollectionFormsSchema>): Promise<TCollectionForm[]>;
|
|
441
|
+
UpsertCollectionForm(payload: z.infer<typeof UpsertCollectionFormSchema>): Promise<TCollectionForm>;
|
|
442
|
+
ResolveCollectionForm(payload: z.infer<typeof ResolveCollectionFormSchema>): Promise<TResolvedInternalCollectionForm>;
|
|
443
|
+
SubmitCollectionForm(payload: z.infer<typeof SubmitCollectionFormSchema>): Promise<TCollectionFormSubmissionResult>;
|
|
444
|
+
PublishCollectionForm(payload: z.infer<typeof PublishCollectionFormSchema>): Promise<TCollectionFormPublishResult>;
|
|
445
|
+
RevokeCollectionForm(payload: z.infer<typeof RevokeCollectionFormSchema>): Promise<TCollectionForm>;
|
|
446
|
+
DeleteCollectionForm(payload: z.infer<typeof DeleteCollectionFormSchema>): Promise<{
|
|
447
|
+
success: true;
|
|
448
|
+
formId: string;
|
|
449
|
+
}>;
|
|
450
|
+
ListCollectionReports(payload: z.infer<typeof ListCollectionReportsSchema>): Promise<TCollectionReportPage>;
|
|
451
|
+
UpsertCollectionReport(payload: z.infer<typeof UpsertCollectionReportSchema>): Promise<TCollectionReport>;
|
|
452
|
+
DeleteCollectionReport(payload: z.infer<typeof DeleteCollectionReportSchema>): Promise<{
|
|
453
|
+
id: string;
|
|
454
|
+
archived: true;
|
|
455
|
+
archivedAt: string | Date;
|
|
456
|
+
}>;
|
|
457
|
+
EvaluateCollectionReport(payload: z.infer<typeof EvaluateCollectionReportSchema>): Promise<TCollectionReportEvaluation>;
|
|
458
|
+
ListCollectionDashboards(payload: z.infer<typeof ListCollectionDashboardsSchema>): Promise<TCollectionDashboardPage>;
|
|
459
|
+
UpsertCollectionDashboard(payload: z.infer<typeof UpsertCollectionDashboardSchema>): Promise<TCollectionDashboard>;
|
|
460
|
+
DeleteCollectionDashboard(payload: z.infer<typeof DeleteCollectionDashboardSchema>): Promise<{
|
|
461
|
+
id: string;
|
|
462
|
+
archived: true;
|
|
463
|
+
archivedAt: string | Date;
|
|
464
|
+
}>;
|
|
465
|
+
EvaluateCollectionDashboard(payload: z.infer<typeof EvaluateCollectionDashboardSchema>): Promise<TCollectionDashboardEvaluation>;
|
|
466
|
+
ListCollectionAccessPolicies(payload: z.infer<typeof ListCollectionAccessPoliciesSchema>): Promise<TCollectionAccessPolicy[]>;
|
|
467
|
+
UpsertCollectionAccessPolicy(payload: z.infer<typeof UpsertCollectionAccessPolicySchema>): Promise<TCollectionAccessPolicy>;
|
|
468
|
+
DeleteCollectionAccessPolicy(payload: z.infer<typeof DeleteCollectionAccessPolicySchema>): Promise<{
|
|
469
|
+
success: true;
|
|
470
|
+
policyId: string;
|
|
471
|
+
deletedBy: string;
|
|
472
|
+
}>;
|
|
473
|
+
ListCollectionAccessTeamMembers(payload: z.infer<typeof ListCollectionAccessTeamMembersSchema>): Promise<TCollectionAccessTeamMember[]>;
|
|
474
|
+
SetCollectionAccessTeamMembers(payload: z.infer<typeof SetCollectionAccessTeamMembersSchema>): Promise<TSetCollectionAccessTeamMembersResult>;
|
|
475
|
+
PreviewCollectionAccessPolicy(payload: z.infer<typeof PreviewCollectionAccessPolicySchema>): Promise<TCollectionAccessPolicyPreview>;
|
|
476
|
+
CreateCollectionComment(payload: z.infer<typeof CreateCollectionCommentSchema>): Promise<TCollectionComment>;
|
|
477
|
+
UpdateCollectionComment(payload: z.infer<typeof UpdateCollectionCommentSchema>): Promise<TCollectionComment>;
|
|
478
|
+
DeleteCollectionComment(payload: z.infer<typeof DeleteCollectionCommentSchema>): Promise<{
|
|
479
|
+
id: string;
|
|
480
|
+
deletedAt: string | Date;
|
|
481
|
+
}>;
|
|
482
|
+
ListCollectionComments(payload: z.infer<typeof ListCollectionCommentsSchema>): Promise<TCollectionCommentPage>;
|
|
483
|
+
ListCollectionRecordActivity(payload: z.infer<typeof ListCollectionRecordActivitySchema>): Promise<TCollectionRecordActivityPage>;
|
|
484
|
+
ListCollectionRecordCollaborators(payload: z.infer<typeof ListCollectionRecordCollaboratorsSchema>): Promise<TCollectionRecordCollaborators>;
|
|
485
|
+
SetCollectionRecordCollaborators(payload: z.infer<typeof SetCollectionRecordCollaboratorsSchema>): Promise<TCollectionRecordCollaborators>;
|
|
486
|
+
ListCollectionNotifications(payload: z.infer<typeof ListCollectionNotificationsSchema>): Promise<TCollectionNotificationPage>;
|
|
487
|
+
MarkCollectionNotificationsRead(payload: z.infer<typeof MarkCollectionNotificationsReadSchema>): Promise<{
|
|
488
|
+
updatedCount: number;
|
|
489
|
+
notificationIds: string[];
|
|
490
|
+
}>;
|
|
411
491
|
CheckRecordPermission(payload: z.infer<typeof CheckRecordPermissionSchema>): Promise<any>;
|
|
412
|
-
ListRecordPermissions(payload: z.infer<typeof ListRecordPermissionsSchema>): Promise<
|
|
413
|
-
GrantRecordPermission(payload: z.infer<typeof GrantRecordPermissionSchema>): Promise<
|
|
414
|
-
RevokeRecordPermission(payload: z.infer<typeof RevokeRecordPermissionSchema>): Promise<
|
|
492
|
+
ListRecordPermissions(payload: z.infer<typeof ListRecordPermissionsSchema>): Promise<TRecordPermissionListResult>;
|
|
493
|
+
GrantRecordPermission(payload: z.infer<typeof GrantRecordPermissionSchema>): Promise<TGrantRecordPermissionResult>;
|
|
494
|
+
RevokeRecordPermission(payload: z.infer<typeof RevokeRecordPermissionSchema>): Promise<TRevokeRecordPermissionResult>;
|
|
415
495
|
CreateWikiPage(payload: z.infer<typeof CreateWikiPageSchema>): Promise<any>;
|
|
416
496
|
UpdateWikiPage(payload: z.infer<typeof UpdateWikiPageSchema>): Promise<any>;
|
|
417
497
|
DeleteWikiPage(payload: z.infer<typeof DeleteWikiPageSchema>): Promise<any>;
|