@appconda/sdk 1.0.616 → 1.0.618
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 +126 -0
- package/dist/modules/emploid/schema.js +101 -1
- package/dist/modules/emploid/service.d.ts +13 -1
- package/dist/modules/emploid/service.js +37 -1
- package/package.json +1 -1
- package/src/modules/emploid/schema.ts +124 -0
- package/src/modules/emploid/service.ts +121 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@appconda/sdk",
|
|
3
3
|
"homepage": "https://appconda.io/support",
|
|
4
4
|
"description": "Appconda is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.618",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -948,6 +948,86 @@ export const EnsureNotionImportCredentialSchema = z.object({
|
|
|
948
948
|
tenantId: z.string(),
|
|
949
949
|
});
|
|
950
950
|
|
|
951
|
+
export const EnsureGmailImportCredentialSchema = z.object({
|
|
952
|
+
tenantId: z.string(),
|
|
953
|
+
});
|
|
954
|
+
|
|
955
|
+
export const EnsureGithubImportCredentialSchema = z.object({
|
|
956
|
+
tenantId: z.string(),
|
|
957
|
+
});
|
|
958
|
+
|
|
959
|
+
export const ListGmailImportSourcesSchema = z.object({
|
|
960
|
+
tenantId: z.string(),
|
|
961
|
+
});
|
|
962
|
+
|
|
963
|
+
export const ListGithubImportSourcesSchema = z.object({
|
|
964
|
+
tenantId: z.string(),
|
|
965
|
+
});
|
|
966
|
+
|
|
967
|
+
export const PreviewGmailImportSchema = z.object({
|
|
968
|
+
tenantId: z.string(),
|
|
969
|
+
collections: z.array(z.enum(["email", "contact"])).min(1),
|
|
970
|
+
startFrom: z.string().optional(),
|
|
971
|
+
labelIds: z.array(z.string()).optional(),
|
|
972
|
+
preserveOriginalFormatting: z.boolean().optional(),
|
|
973
|
+
});
|
|
974
|
+
|
|
975
|
+
export const PreviewGithubImportSchema = z.object({
|
|
976
|
+
tenantId: z.string(),
|
|
977
|
+
repositoryId: z.string(),
|
|
978
|
+
collections: z.array(z.enum(["issues", "pullRequests"])).min(1),
|
|
979
|
+
});
|
|
980
|
+
|
|
981
|
+
export const RunGmailImportSchema = z.object({
|
|
982
|
+
tenantId: z.string(),
|
|
983
|
+
collections: z.array(z.enum(["email", "contact"])).min(1),
|
|
984
|
+
startFrom: z.string().optional(),
|
|
985
|
+
labelIds: z.array(z.string()).optional(),
|
|
986
|
+
preserveOriginalFormatting: z.boolean().optional(),
|
|
987
|
+
collectionPayloads: z.array(
|
|
988
|
+
z.object({
|
|
989
|
+
collectionKey: z.enum(["email", "contact"]),
|
|
990
|
+
collectionName: z.string(),
|
|
991
|
+
collectionDisplayName: z.string(),
|
|
992
|
+
fields: z.array(
|
|
993
|
+
z.object({
|
|
994
|
+
fieldId: z.string(),
|
|
995
|
+
type: z.string(),
|
|
996
|
+
displayName: z.string(),
|
|
997
|
+
name: z.string(),
|
|
998
|
+
required: z.boolean().optional(),
|
|
999
|
+
config: z.object({}).catchall(z.any()).optional(),
|
|
1000
|
+
relationTargetCollectionKey: z.enum(["email", "contact"]).optional(),
|
|
1001
|
+
fallbackReason: z.string().optional(),
|
|
1002
|
+
})
|
|
1003
|
+
).min(1),
|
|
1004
|
+
})
|
|
1005
|
+
).min(1),
|
|
1006
|
+
});
|
|
1007
|
+
|
|
1008
|
+
export const RunGithubImportSchema = z.object({
|
|
1009
|
+
tenantId: z.string(),
|
|
1010
|
+
repositoryId: z.string(),
|
|
1011
|
+
collections: z.array(
|
|
1012
|
+
z.object({
|
|
1013
|
+
collectionKey: z.enum(["issues", "pullRequests"]),
|
|
1014
|
+
collectionName: z.string(),
|
|
1015
|
+
collectionDisplayName: z.string(),
|
|
1016
|
+
fields: z.array(
|
|
1017
|
+
z.object({
|
|
1018
|
+
fieldId: z.string(),
|
|
1019
|
+
type: z.string(),
|
|
1020
|
+
displayName: z.string(),
|
|
1021
|
+
name: z.string(),
|
|
1022
|
+
required: z.boolean().optional(),
|
|
1023
|
+
config: z.object({}).catchall(z.any()).optional(),
|
|
1024
|
+
fallbackReason: z.string().optional(),
|
|
1025
|
+
})
|
|
1026
|
+
).min(1),
|
|
1027
|
+
})
|
|
1028
|
+
).min(1),
|
|
1029
|
+
});
|
|
1030
|
+
|
|
951
1031
|
export const ListNotionImportSourcesSchema = z.object({
|
|
952
1032
|
tenantId: z.string(),
|
|
953
1033
|
});
|
|
@@ -985,6 +1065,50 @@ export const EnsureTrelloImportCredentialSchema = z.object({
|
|
|
985
1065
|
tenantId: z.string(),
|
|
986
1066
|
});
|
|
987
1067
|
|
|
1068
|
+
export const EnsureJiraImportCredentialSchema = z.object({
|
|
1069
|
+
tenantId: z.string(),
|
|
1070
|
+
});
|
|
1071
|
+
|
|
1072
|
+
export const ListJiraImportSourcesSchema = z.object({
|
|
1073
|
+
tenantId: z.string(),
|
|
1074
|
+
siteId: z.string().optional(),
|
|
1075
|
+
});
|
|
1076
|
+
|
|
1077
|
+
export const PreviewJiraImportSchema = z.object({
|
|
1078
|
+
tenantId: z.string(),
|
|
1079
|
+
siteId: z.string(),
|
|
1080
|
+
projectId: z.string(),
|
|
1081
|
+
includeComments: z.boolean().optional(),
|
|
1082
|
+
includeAttachments: z.boolean().optional(),
|
|
1083
|
+
});
|
|
1084
|
+
|
|
1085
|
+
export const RunJiraImportSchema = z.object({
|
|
1086
|
+
tenantId: z.string(),
|
|
1087
|
+
siteId: z.string(),
|
|
1088
|
+
projectId: z.string(),
|
|
1089
|
+
includeComments: z.boolean().optional(),
|
|
1090
|
+
includeAttachments: z.boolean().optional(),
|
|
1091
|
+
collections: z.array(
|
|
1092
|
+
z.object({
|
|
1093
|
+
collectionKey: z.enum(["issues", "comments", "attachments"]),
|
|
1094
|
+
collectionName: z.string(),
|
|
1095
|
+
collectionDisplayName: z.string(),
|
|
1096
|
+
fields: z.array(
|
|
1097
|
+
z.object({
|
|
1098
|
+
fieldId: z.string(),
|
|
1099
|
+
type: z.string(),
|
|
1100
|
+
displayName: z.string(),
|
|
1101
|
+
name: z.string(),
|
|
1102
|
+
required: z.boolean().optional(),
|
|
1103
|
+
config: z.object({}).catchall(z.any()).optional(),
|
|
1104
|
+
relationTargetCollectionKey: z.enum(["issues", "comments", "attachments"]).optional(),
|
|
1105
|
+
fallbackReason: z.string().optional(),
|
|
1106
|
+
})
|
|
1107
|
+
).min(1),
|
|
1108
|
+
})
|
|
1109
|
+
).min(1),
|
|
1110
|
+
});
|
|
1111
|
+
|
|
988
1112
|
export const ConnectTrelloImportCredentialSchema = z.object({
|
|
989
1113
|
tenantId: z.string(),
|
|
990
1114
|
token: z.string(),
|
|
@@ -3,7 +3,7 @@ import z from "zod";
|
|
|
3
3
|
import { ServiceClient } from "../../service-client";
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
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, CreateEmploidSchema, CreateExtensionSchema, CreateInputSchema, CreateInstructionSchema, CreateJobDefinitionSchema, CreateKnowledgeSchema, CreateOccupationSchema, CreateRecordSchema, CreateScopeSchema, CreateSkillSchema, CreateStreamIdSchema, CreateTaskTemplateSchema, CreateTeamSchema, CreateTopicSchema, CreateWikiCommentSchema, CreateWikiPageSchema, CreateWikiRevisionSchema, CreateWorkerSchema, CreateWorkerTopicSchema, DeleteAgentFlowFolderSchema, DeleteAssistantChannelSchema, DeleteAssistantDatasourceSchema, DeleteAssistantSchema, DeleteAssistantSkillSchema, DeleteChannelSchema, DeleteChatByIdSchema, DeleteCollectionAutomationRuleSchema, DeleteCollectionButtonSchema, DeleteCollectionFieldSchema, DeleteCollectionRelationSchema, DeleteCollectionViewSchema, DeleteCommandSchema, DeleteCompetencySchema, DeleteConstraintSchema, DeleteDataModelSchema, DeleteDatasourceSchema, DeleteDocumentsByIdAfterTimestampSchema, DeleteDomainTopicSchema, DeleteEmploidSchema, DeleteExtensionSchema, DeleteInputSchema, DeleteInstructionSchema, DeleteJobDefinitionSchema, DeleteKnowledgeSchema, DeleteMessagesByChatIdAfterTimestampSchema, DeleteOccupationSchema, DeleteRecordSchema, DeleteScopeSchema, DeleteSkillSchema, DeleteTaskTemplateSchema, DeleteTeamSchema, DeleteTopicSchema, DeleteWikiCommentSchema, DeleteWikiPageSchema, DeleteWorkerSchema, DeleteWorkerTopicSchema, DistinctFieldValuesSchema, DuplicateRecordSchema, EnhanceTopicSchema, EnsureAirtableImportCredentialSchema, EnsureLinearImportCredentialSchema, EnsureNotionImportCredentialSchema, EnsureTrelloImportCredentialSchema, ExecuteCollectionButtonSchema, GetChatByIdSchema, GetChatsByUserIdSchema, GetCollectionSchemaSchema, GetDataModelByIdSchema, GetDocumentByIdSchema, GetDocumentsByIdSchema, GetLatestWikiRevisionSchema, GetMarketStoreItemSchema, GetMessageByIdSchema, GetMessageCountByUserIdSchema, GetMessagesByChatIdSchema, GetRecordByIdSchema, GetRecordRelationsSchema, GetScopeByTypeSchema, GetStreamIdsByChatIdSchema, GetSuggestionsByDocumentIdSchema, GetVotesByChatIdSchema, GetWikiPageByIdSchema, GetWikiPageBySlugSchema, 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, ListEmploidsPaginatedSchema, ListEmploidsSchema, ListExtensionsSchema, ListInputSchema, ListInstructionsSchema, ListJobDefinitionSchema, ListKnowledgesSchema, ListLinearImportSourcesSchema, ListMarketStoreItemsSchema, ListNotionImportSourcesSchema, ListOccupationsSchema, ListRecordPermissionsSchema, ListRecordsSchema, ListRelationCandidatesSchema, ListScopesSchema, ListSkillsSchema, ListTaskTemplatesSchema, ListTeamsSchema, ListTopicsSchema, ListTrelloImportSourcesSchema, ListWikiCommentsSchema, ListWikiPagesSchema, ListWorkersSchema, ListWorkerTopicsSchema, PreviewAirtableImportSchema, PreviewLinearImportSchema, PreviewNotionImportSchema, PreviewTrelloImportSchema, PreviewValidationErrorsSchema, PublishDomainSchema, PublishEmploidSchema, PublishWorkerToMarketStoreSchema, QueryRecordsSchema, ReorderCollectionFieldsSchema, ResolveScopeFileViewSchema, ResolveWikiFileViewSchema, RestoreDataModelSchema, RestoreRecordSchema, RestoreWikiPageSchema, RevokeRecordPermissionSchema, RunAirtableImportSchema, RunLinearImportSchema, RunNotionImportSchema, RunTrelloImportSchema, SaveChatSchema, SaveDocumentSchema, SaveMessagesSchema, SaveSuggestionsSchema, SearchRecordsSchema, UpdateAgentFlowFolderSchema, UpdateAgentFlowSchema, UpdateAssistantChannelSchema, UpdateAssistantDatasourceSchema, UpdateAssistantSchema, UpdateAssistantSkillSchema, UpdateChannelSchema, UpdateChatLastContextByIdSchema, UpdateChatVisiblityByIdSchema, UpdateCollectionAutomationRuleSchema, UpdateCollectionButtonSchema, UpdateCollectionFieldSchema, UpdateCollectionRelationSchema, UpdateCollectionViewSchema, UpdateCommandSchema, UpdateCompetencySchema, UpdateConstraintSchema, UpdateDataModelSchema, UpdateDatasourceSchema, UpdateDomainTopicSchema, UpdateEmploidSchema, UpdateInputSchema, UpdateInstructionSchema, UpdateJobDefinitionSchema, UpdateKnowledgeSchema, UpdateOccupationSchema, UpdateRecordSchema, UpdateScopeSchema, UpdateSkillSchema, UpdateTaskTemplateSchema, UpdateTeamSchema, UpdateTopicSchema, UpdateWikiCommentSchema, UpdateWikiPageSchema, UpdateWorkerSchema, UpdateWorkerTopicSchema, UploadEditorFileSchema, UpsertRecordSchema, ValidateRecordSchema, VoteMessageSchema } from "./schema";
|
|
6
|
+
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, CreateEmploidSchema, CreateExtensionSchema, CreateInputSchema, CreateInstructionSchema, CreateJobDefinitionSchema, CreateKnowledgeSchema, CreateOccupationSchema, CreateRecordSchema, CreateScopeSchema, CreateSkillSchema, CreateStreamIdSchema, CreateTaskTemplateSchema, CreateTeamSchema, CreateTopicSchema, CreateWikiCommentSchema, CreateWikiPageSchema, CreateWikiRevisionSchema, CreateWorkerSchema, CreateWorkerTopicSchema, DeleteAgentFlowFolderSchema, DeleteAssistantChannelSchema, DeleteAssistantDatasourceSchema, DeleteAssistantSchema, DeleteAssistantSkillSchema, DeleteChannelSchema, DeleteChatByIdSchema, DeleteCollectionAutomationRuleSchema, DeleteCollectionButtonSchema, DeleteCollectionFieldSchema, DeleteCollectionRelationSchema, DeleteCollectionViewSchema, DeleteCommandSchema, DeleteCompetencySchema, DeleteConstraintSchema, DeleteDataModelSchema, DeleteDatasourceSchema, DeleteDocumentsByIdAfterTimestampSchema, DeleteDomainTopicSchema, DeleteEmploidSchema, DeleteExtensionSchema, DeleteInputSchema, DeleteInstructionSchema, DeleteJobDefinitionSchema, DeleteKnowledgeSchema, DeleteMessagesByChatIdAfterTimestampSchema, DeleteOccupationSchema, DeleteRecordSchema, DeleteScopeSchema, DeleteSkillSchema, DeleteTaskTemplateSchema, DeleteTeamSchema, DeleteTopicSchema, DeleteWikiCommentSchema, DeleteWikiPageSchema, DeleteWorkerSchema, DeleteWorkerTopicSchema, DistinctFieldValuesSchema, DuplicateRecordSchema, EnhanceTopicSchema, EnsureAirtableImportCredentialSchema, EnsureGmailImportCredentialSchema, EnsureGithubImportCredentialSchema, EnsureJiraImportCredentialSchema, EnsureLinearImportCredentialSchema, EnsureNotionImportCredentialSchema, EnsureTrelloImportCredentialSchema, ExecuteCollectionButtonSchema, GetChatByIdSchema, GetChatsByUserIdSchema, GetCollectionSchemaSchema, GetDataModelByIdSchema, GetDocumentByIdSchema, GetDocumentsByIdSchema, GetLatestWikiRevisionSchema, GetMarketStoreItemSchema, GetMessageByIdSchema, GetMessageCountByUserIdSchema, GetMessagesByChatIdSchema, GetRecordByIdSchema, GetRecordRelationsSchema, GetScopeByTypeSchema, GetStreamIdsByChatIdSchema, GetSuggestionsByDocumentIdSchema, GetVotesByChatIdSchema, GetWikiPageByIdSchema, GetWikiPageBySlugSchema, 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, ListEmploidsPaginatedSchema, ListEmploidsSchema, ListExtensionsSchema, ListGmailImportSourcesSchema, ListGithubImportSourcesSchema, ListInputSchema, ListInstructionsSchema, ListJiraImportSourcesSchema, ListJobDefinitionSchema, ListKnowledgesSchema, ListLinearImportSourcesSchema, ListMarketStoreItemsSchema, ListNotionImportSourcesSchema, ListOccupationsSchema, ListRecordPermissionsSchema, ListRecordsSchema, ListRelationCandidatesSchema, ListScopesSchema, ListSkillsSchema, ListTaskTemplatesSchema, ListTeamsSchema, ListTopicsSchema, ListTrelloImportSourcesSchema, ListWikiCommentsSchema, ListWikiPagesSchema, ListWorkersSchema, ListWorkerTopicsSchema, PreviewAirtableImportSchema, PreviewGmailImportSchema, PreviewGithubImportSchema, PreviewJiraImportSchema, PreviewLinearImportSchema, PreviewNotionImportSchema, PreviewTrelloImportSchema, PreviewValidationErrorsSchema, PublishDomainSchema, PublishEmploidSchema, PublishWorkerToMarketStoreSchema, QueryRecordsSchema, ReorderCollectionFieldsSchema, ResolveScopeFileViewSchema, ResolveWikiFileViewSchema, RestoreDataModelSchema, RestoreRecordSchema, RestoreWikiPageSchema, RevokeRecordPermissionSchema, RunAirtableImportSchema, RunGmailImportSchema, RunGithubImportSchema, RunJiraImportSchema, RunLinearImportSchema, RunNotionImportSchema, RunTrelloImportSchema, SaveChatSchema, SaveDocumentSchema, SaveMessagesSchema, SaveSuggestionsSchema, SearchRecordsSchema, UpdateAgentFlowFolderSchema, UpdateAgentFlowSchema, UpdateAssistantChannelSchema, UpdateAssistantDatasourceSchema, UpdateAssistantSchema, UpdateAssistantSkillSchema, UpdateChannelSchema, UpdateChatLastContextByIdSchema, UpdateChatVisiblityByIdSchema, UpdateCollectionAutomationRuleSchema, UpdateCollectionButtonSchema, UpdateCollectionFieldSchema, UpdateCollectionRelationSchema, UpdateCollectionViewSchema, UpdateCommandSchema, UpdateCompetencySchema, UpdateConstraintSchema, UpdateDataModelSchema, UpdateDatasourceSchema, UpdateDomainTopicSchema, UpdateEmploidSchema, UpdateInputSchema, UpdateInstructionSchema, UpdateJobDefinitionSchema, UpdateKnowledgeSchema, UpdateOccupationSchema, UpdateRecordSchema, UpdateScopeSchema, UpdateSkillSchema, UpdateTaskTemplateSchema, UpdateTeamSchema, UpdateTopicSchema, UpdateWikiCommentSchema, UpdateWikiPageSchema, UpdateWorkerSchema, UpdateWorkerTopicSchema, UploadEditorFileSchema, UpsertRecordSchema, ValidateRecordSchema, VoteMessageSchema } from "./schema";
|
|
7
7
|
import { TAgentFlow, TAgentFlowFolder, TAssistant, TAssistantChannel, TAssistantConstraint, TAssistantDatasource, TAssistantInstruction, TAssistantSkill, TChannel, TChat, TCollectionAutomationRule, TCollectionButton, TCollectionRelation, TCollectionView, TCommand, TCompetency, TConstraint, TDatasource, TDocument, TDomainTopic, TEmploid, TEnhanceTopic, TExtension, TInput, TInstruction, TJobDefinition, TKnowledge, TMarketStoreItem, TOccupation, TPaginatedEmploidsResult, TPublishEmploid, TPublishWorkerToMarketStore, TRelationRecordOption, TScope, TSkill, TStreamId, TTaskTemplate, TTeam, TTopic, TUploadedFile, TWikiComment, TWikiCommentPagination, TWikiFileViewResolution, TWorker, TWorkerTopic } from "./types";
|
|
8
8
|
|
|
9
9
|
export class EmploidService extends ServiceClient {
|
|
@@ -949,6 +949,86 @@ export class EmploidService extends ServiceClient {
|
|
|
949
949
|
);
|
|
950
950
|
}
|
|
951
951
|
|
|
952
|
+
public async EnsureGmailImportCredential(
|
|
953
|
+
payload: z.infer<typeof EnsureGmailImportCredentialSchema>
|
|
954
|
+
): Promise<any> {
|
|
955
|
+
return await this.actionCall(
|
|
956
|
+
"collection",
|
|
957
|
+
"EnsureGmailImportCredential",
|
|
958
|
+
payload
|
|
959
|
+
);
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
public async EnsureGithubImportCredential(
|
|
963
|
+
payload: z.infer<typeof EnsureGithubImportCredentialSchema>
|
|
964
|
+
): Promise<any> {
|
|
965
|
+
return await this.actionCall(
|
|
966
|
+
"collection",
|
|
967
|
+
"EnsureGithubImportCredential",
|
|
968
|
+
payload
|
|
969
|
+
);
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
public async ListGmailImportSources(
|
|
973
|
+
payload: z.infer<typeof ListGmailImportSourcesSchema>
|
|
974
|
+
): Promise<any> {
|
|
975
|
+
return await this.actionCall(
|
|
976
|
+
"collection",
|
|
977
|
+
"ListGmailImportSources",
|
|
978
|
+
payload
|
|
979
|
+
);
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
public async ListGithubImportSources(
|
|
983
|
+
payload: z.infer<typeof ListGithubImportSourcesSchema>
|
|
984
|
+
): Promise<any> {
|
|
985
|
+
return await this.actionCall(
|
|
986
|
+
"collection",
|
|
987
|
+
"ListGithubImportSources",
|
|
988
|
+
payload
|
|
989
|
+
);
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
public async PreviewGmailImport(
|
|
993
|
+
payload: z.infer<typeof PreviewGmailImportSchema>
|
|
994
|
+
): Promise<any> {
|
|
995
|
+
return await this.actionCall(
|
|
996
|
+
"collection",
|
|
997
|
+
"PreviewGmailImport",
|
|
998
|
+
payload
|
|
999
|
+
);
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
public async PreviewGithubImport(
|
|
1003
|
+
payload: z.infer<typeof PreviewGithubImportSchema>
|
|
1004
|
+
): Promise<any> {
|
|
1005
|
+
return await this.actionCall(
|
|
1006
|
+
"collection",
|
|
1007
|
+
"PreviewGithubImport",
|
|
1008
|
+
payload
|
|
1009
|
+
);
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
public async RunGmailImport(
|
|
1013
|
+
payload: z.infer<typeof RunGmailImportSchema>
|
|
1014
|
+
): Promise<any> {
|
|
1015
|
+
return await this.actionCall(
|
|
1016
|
+
"collection",
|
|
1017
|
+
"RunGmailImport",
|
|
1018
|
+
payload
|
|
1019
|
+
);
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
public async RunGithubImport(
|
|
1023
|
+
payload: z.infer<typeof RunGithubImportSchema>
|
|
1024
|
+
): Promise<any> {
|
|
1025
|
+
return await this.actionCall(
|
|
1026
|
+
"collection",
|
|
1027
|
+
"RunGithubImport",
|
|
1028
|
+
payload
|
|
1029
|
+
);
|
|
1030
|
+
}
|
|
1031
|
+
|
|
952
1032
|
public async EnsureNotionImportCredential(
|
|
953
1033
|
payload: z.infer<typeof EnsureNotionImportCredentialSchema>
|
|
954
1034
|
): Promise<any> {
|
|
@@ -989,6 +1069,46 @@ export class EmploidService extends ServiceClient {
|
|
|
989
1069
|
);
|
|
990
1070
|
}
|
|
991
1071
|
|
|
1072
|
+
public async EnsureJiraImportCredential(
|
|
1073
|
+
payload: z.infer<typeof EnsureJiraImportCredentialSchema>
|
|
1074
|
+
): Promise<any> {
|
|
1075
|
+
return await this.actionCall(
|
|
1076
|
+
"collection",
|
|
1077
|
+
"EnsureJiraImportCredential",
|
|
1078
|
+
payload
|
|
1079
|
+
);
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
public async ListJiraImportSources(
|
|
1083
|
+
payload: z.infer<typeof ListJiraImportSourcesSchema>
|
|
1084
|
+
): Promise<any> {
|
|
1085
|
+
return await this.actionCall(
|
|
1086
|
+
"collection",
|
|
1087
|
+
"ListJiraImportSources",
|
|
1088
|
+
payload
|
|
1089
|
+
);
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
public async PreviewJiraImport(
|
|
1093
|
+
payload: z.infer<typeof PreviewJiraImportSchema>
|
|
1094
|
+
): Promise<any> {
|
|
1095
|
+
return await this.actionCall(
|
|
1096
|
+
"collection",
|
|
1097
|
+
"PreviewJiraImport",
|
|
1098
|
+
payload
|
|
1099
|
+
);
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
public async RunJiraImport(
|
|
1103
|
+
payload: z.infer<typeof RunJiraImportSchema>
|
|
1104
|
+
): Promise<any> {
|
|
1105
|
+
return await this.actionCall(
|
|
1106
|
+
"collection",
|
|
1107
|
+
"RunJiraImport",
|
|
1108
|
+
payload
|
|
1109
|
+
);
|
|
1110
|
+
}
|
|
1111
|
+
|
|
992
1112
|
public async EnsureTrelloImportCredential(
|
|
993
1113
|
payload: z.infer<typeof EnsureTrelloImportCredentialSchema>
|
|
994
1114
|
): Promise<any> {
|