@appconda/sdk 1.0.615 → 1.0.617

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/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.615",
5
+ "version": "1.0.617",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
@@ -948,6 +948,49 @@ 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 ListGmailImportSourcesSchema = z.object({
956
+ tenantId: z.string(),
957
+ });
958
+
959
+ export const PreviewGmailImportSchema = z.object({
960
+ tenantId: z.string(),
961
+ collections: z.array(z.enum(["email", "contact"])).min(1),
962
+ startFrom: z.string().optional(),
963
+ labelIds: z.array(z.string()).optional(),
964
+ preserveOriginalFormatting: z.boolean().optional(),
965
+ });
966
+
967
+ export const RunGmailImportSchema = 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
+ collectionPayloads: z.array(
974
+ z.object({
975
+ collectionKey: z.enum(["email", "contact"]),
976
+ collectionName: z.string(),
977
+ collectionDisplayName: z.string(),
978
+ fields: z.array(
979
+ z.object({
980
+ fieldId: z.string(),
981
+ type: z.string(),
982
+ displayName: z.string(),
983
+ name: z.string(),
984
+ required: z.boolean().optional(),
985
+ config: z.object({}).catchall(z.any()).optional(),
986
+ relationTargetCollectionKey: z.enum(["email", "contact"]).optional(),
987
+ fallbackReason: z.string().optional(),
988
+ })
989
+ ).min(1),
990
+ })
991
+ ).min(1),
992
+ });
993
+
951
994
  export const ListNotionImportSourcesSchema = z.object({
952
995
  tenantId: z.string(),
953
996
  });
@@ -981,6 +1024,98 @@ export const RunNotionImportSchema = z.object({
981
1024
  ).min(1),
982
1025
  });
983
1026
 
1027
+ export const EnsureTrelloImportCredentialSchema = z.object({
1028
+ tenantId: z.string(),
1029
+ });
1030
+
1031
+ export const EnsureJiraImportCredentialSchema = z.object({
1032
+ tenantId: z.string(),
1033
+ });
1034
+
1035
+ export const ListJiraImportSourcesSchema = z.object({
1036
+ tenantId: z.string(),
1037
+ siteId: z.string().optional(),
1038
+ });
1039
+
1040
+ export const PreviewJiraImportSchema = z.object({
1041
+ tenantId: z.string(),
1042
+ siteId: z.string(),
1043
+ projectId: z.string(),
1044
+ includeComments: z.boolean().optional(),
1045
+ includeAttachments: z.boolean().optional(),
1046
+ });
1047
+
1048
+ export const RunJiraImportSchema = z.object({
1049
+ tenantId: z.string(),
1050
+ siteId: z.string(),
1051
+ projectId: z.string(),
1052
+ includeComments: z.boolean().optional(),
1053
+ includeAttachments: z.boolean().optional(),
1054
+ collections: z.array(
1055
+ z.object({
1056
+ collectionKey: z.enum(["issues", "comments", "attachments"]),
1057
+ collectionName: z.string(),
1058
+ collectionDisplayName: z.string(),
1059
+ fields: z.array(
1060
+ z.object({
1061
+ fieldId: z.string(),
1062
+ type: z.string(),
1063
+ displayName: z.string(),
1064
+ name: z.string(),
1065
+ required: z.boolean().optional(),
1066
+ config: z.object({}).catchall(z.any()).optional(),
1067
+ relationTargetCollectionKey: z.enum(["issues", "comments", "attachments"]).optional(),
1068
+ fallbackReason: z.string().optional(),
1069
+ })
1070
+ ).min(1),
1071
+ })
1072
+ ).min(1),
1073
+ });
1074
+
1075
+ export const ConnectTrelloImportCredentialSchema = z.object({
1076
+ tenantId: z.string(),
1077
+ token: z.string(),
1078
+ });
1079
+
1080
+ export const ListTrelloImportSourcesSchema = z.object({
1081
+ tenantId: z.string(),
1082
+ boardId: z.string().optional(),
1083
+ includeArchivedLists: z.boolean().optional(),
1084
+ });
1085
+
1086
+ export const PreviewTrelloImportSchema = z.object({
1087
+ tenantId: z.string(),
1088
+ boardId: z.string(),
1089
+ listIds: z.array(z.string()).min(1),
1090
+ includeArchivedLists: z.boolean().optional(),
1091
+ includeClosedCards: z.boolean().optional(),
1092
+ });
1093
+
1094
+ export const RunTrelloImportSchema = z.object({
1095
+ tenantId: z.string(),
1096
+ boardId: z.string(),
1097
+ listIds: z.array(z.string()).min(1),
1098
+ includeArchivedLists: z.boolean().optional(),
1099
+ includeClosedCards: z.boolean().optional(),
1100
+ lists: z.array(
1101
+ z.object({
1102
+ listId: z.string(),
1103
+ collectionName: z.string(),
1104
+ collectionDisplayName: z.string(),
1105
+ fields: z.array(
1106
+ z.object({
1107
+ fieldId: z.string(),
1108
+ type: z.string(),
1109
+ displayName: z.string(),
1110
+ name: z.string(),
1111
+ required: z.boolean().optional(),
1112
+ config: z.object({}).catchall(z.any()).optional(),
1113
+ })
1114
+ ).min(1),
1115
+ })
1116
+ ).min(1),
1117
+ });
1118
+
984
1119
  export const BulkUpdateRecordsSchema = z.object({
985
1120
  tenantId: z.string(),
986
1121
  collectionId: 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, 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, 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, ListWikiCommentsSchema, ListWikiPagesSchema, ListWorkersSchema, ListWorkerTopicsSchema, PreviewAirtableImportSchema, PreviewLinearImportSchema, PreviewNotionImportSchema, PreviewValidationErrorsSchema, PublishDomainSchema, PublishEmploidSchema, PublishWorkerToMarketStoreSchema, QueryRecordsSchema, ReorderCollectionFieldsSchema, ResolveScopeFileViewSchema, ResolveWikiFileViewSchema, RestoreDataModelSchema, RestoreRecordSchema, RestoreWikiPageSchema, RevokeRecordPermissionSchema, RunAirtableImportSchema, RunLinearImportSchema, RunNotionImportSchema, 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, 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, ListInputSchema, ListInstructionsSchema, ListJiraImportSourcesSchema, ListJobDefinitionSchema, ListKnowledgesSchema, ListLinearImportSourcesSchema, ListMarketStoreItemsSchema, ListNotionImportSourcesSchema, ListOccupationsSchema, ListRecordPermissionsSchema, ListRecordsSchema, ListRelationCandidatesSchema, ListScopesSchema, ListSkillsSchema, ListTaskTemplatesSchema, ListTeamsSchema, ListTopicsSchema, ListTrelloImportSourcesSchema, ListWikiCommentsSchema, ListWikiPagesSchema, ListWorkersSchema, ListWorkerTopicsSchema, PreviewAirtableImportSchema, PreviewGmailImportSchema, PreviewJiraImportSchema, PreviewLinearImportSchema, PreviewNotionImportSchema, PreviewTrelloImportSchema, PreviewValidationErrorsSchema, PublishDomainSchema, PublishEmploidSchema, PublishWorkerToMarketStoreSchema, QueryRecordsSchema, ReorderCollectionFieldsSchema, ResolveScopeFileViewSchema, ResolveWikiFileViewSchema, RestoreDataModelSchema, RestoreRecordSchema, RestoreWikiPageSchema, RevokeRecordPermissionSchema, RunAirtableImportSchema, RunGmailImportSchema, 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,46 @@ 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 ListGmailImportSources(
963
+ payload: z.infer<typeof ListGmailImportSourcesSchema>
964
+ ): Promise<any> {
965
+ return await this.actionCall(
966
+ "collection",
967
+ "ListGmailImportSources",
968
+ payload
969
+ );
970
+ }
971
+
972
+ public async PreviewGmailImport(
973
+ payload: z.infer<typeof PreviewGmailImportSchema>
974
+ ): Promise<any> {
975
+ return await this.actionCall(
976
+ "collection",
977
+ "PreviewGmailImport",
978
+ payload
979
+ );
980
+ }
981
+
982
+ public async RunGmailImport(
983
+ payload: z.infer<typeof RunGmailImportSchema>
984
+ ): Promise<any> {
985
+ return await this.actionCall(
986
+ "collection",
987
+ "RunGmailImport",
988
+ payload
989
+ );
990
+ }
991
+
952
992
  public async EnsureNotionImportCredential(
953
993
  payload: z.infer<typeof EnsureNotionImportCredentialSchema>
954
994
  ): Promise<any> {
@@ -989,6 +1029,96 @@ export class EmploidService extends ServiceClient {
989
1029
  );
990
1030
  }
991
1031
 
1032
+ public async EnsureJiraImportCredential(
1033
+ payload: z.infer<typeof EnsureJiraImportCredentialSchema>
1034
+ ): Promise<any> {
1035
+ return await this.actionCall(
1036
+ "collection",
1037
+ "EnsureJiraImportCredential",
1038
+ payload
1039
+ );
1040
+ }
1041
+
1042
+ public async ListJiraImportSources(
1043
+ payload: z.infer<typeof ListJiraImportSourcesSchema>
1044
+ ): Promise<any> {
1045
+ return await this.actionCall(
1046
+ "collection",
1047
+ "ListJiraImportSources",
1048
+ payload
1049
+ );
1050
+ }
1051
+
1052
+ public async PreviewJiraImport(
1053
+ payload: z.infer<typeof PreviewJiraImportSchema>
1054
+ ): Promise<any> {
1055
+ return await this.actionCall(
1056
+ "collection",
1057
+ "PreviewJiraImport",
1058
+ payload
1059
+ );
1060
+ }
1061
+
1062
+ public async RunJiraImport(
1063
+ payload: z.infer<typeof RunJiraImportSchema>
1064
+ ): Promise<any> {
1065
+ return await this.actionCall(
1066
+ "collection",
1067
+ "RunJiraImport",
1068
+ payload
1069
+ );
1070
+ }
1071
+
1072
+ public async EnsureTrelloImportCredential(
1073
+ payload: z.infer<typeof EnsureTrelloImportCredentialSchema>
1074
+ ): Promise<any> {
1075
+ return await this.actionCall(
1076
+ "collection",
1077
+ "EnsureTrelloImportCredential",
1078
+ payload
1079
+ );
1080
+ }
1081
+
1082
+ public async ConnectTrelloImportCredential(
1083
+ payload: z.infer<typeof ConnectTrelloImportCredentialSchema>
1084
+ ): Promise<any> {
1085
+ return await this.actionCall(
1086
+ "collection",
1087
+ "ConnectTrelloImportCredential",
1088
+ payload
1089
+ );
1090
+ }
1091
+
1092
+ public async ListTrelloImportSources(
1093
+ payload: z.infer<typeof ListTrelloImportSourcesSchema>
1094
+ ): Promise<any> {
1095
+ return await this.actionCall(
1096
+ "collection",
1097
+ "ListTrelloImportSources",
1098
+ payload
1099
+ );
1100
+ }
1101
+
1102
+ public async PreviewTrelloImport(
1103
+ payload: z.infer<typeof PreviewTrelloImportSchema>
1104
+ ): Promise<any> {
1105
+ return await this.actionCall(
1106
+ "collection",
1107
+ "PreviewTrelloImport",
1108
+ payload
1109
+ );
1110
+ }
1111
+
1112
+ public async RunTrelloImport(
1113
+ payload: z.infer<typeof RunTrelloImportSchema>
1114
+ ): Promise<any> {
1115
+ return await this.actionCall(
1116
+ "collection",
1117
+ "RunTrelloImport",
1118
+ payload
1119
+ );
1120
+ }
1121
+
992
1122
  public async BulkUpdateRecords(
993
1123
  payload: z.infer<typeof BulkUpdateRecordsSchema>
994
1124
  ): Promise<any> {