@appconda/sdk 1.0.617 → 1.0.619
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 +73 -0
- package/dist/modules/emploid/schema.js +68 -1
- package/dist/modules/emploid/service.d.ts +7 -1
- package/dist/modules/emploid/service.js +19 -1
- package/package.json +1 -1
- package/src/modules/emploid/schema.ts +83 -0
- package/src/modules/emploid/service.ts +61 -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.619",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -952,10 +952,33 @@ export const EnsureGmailImportCredentialSchema = z.object({
|
|
|
952
952
|
tenantId: z.string(),
|
|
953
953
|
});
|
|
954
954
|
|
|
955
|
+
export const EnsureGithubImportCredentialSchema = z.object({
|
|
956
|
+
tenantId: z.string(),
|
|
957
|
+
});
|
|
958
|
+
|
|
959
|
+
export const PreviewCsvImportSchema = z.object({
|
|
960
|
+
tenantId: z.string(),
|
|
961
|
+
fileName: z.string(),
|
|
962
|
+
headersEnabled: z.boolean().optional(),
|
|
963
|
+
columns: z.array(
|
|
964
|
+
z.object({
|
|
965
|
+
fieldId: z.string(),
|
|
966
|
+
name: z.string(),
|
|
967
|
+
displayName: z.string(),
|
|
968
|
+
index: z.number().int(),
|
|
969
|
+
})
|
|
970
|
+
).min(1),
|
|
971
|
+
rows: z.array(z.object({}).catchall(z.any())).optional(),
|
|
972
|
+
});
|
|
973
|
+
|
|
955
974
|
export const ListGmailImportSourcesSchema = z.object({
|
|
956
975
|
tenantId: z.string(),
|
|
957
976
|
});
|
|
958
977
|
|
|
978
|
+
export const ListGithubImportSourcesSchema = z.object({
|
|
979
|
+
tenantId: z.string(),
|
|
980
|
+
});
|
|
981
|
+
|
|
959
982
|
export const PreviewGmailImportSchema = z.object({
|
|
960
983
|
tenantId: z.string(),
|
|
961
984
|
collections: z.array(z.enum(["email", "contact"])).min(1),
|
|
@@ -964,6 +987,43 @@ export const PreviewGmailImportSchema = z.object({
|
|
|
964
987
|
preserveOriginalFormatting: z.boolean().optional(),
|
|
965
988
|
});
|
|
966
989
|
|
|
990
|
+
export const PreviewGithubImportSchema = z.object({
|
|
991
|
+
tenantId: z.string(),
|
|
992
|
+
repositoryId: z.string(),
|
|
993
|
+
collections: z.array(z.enum(["issues", "pullRequests"])).min(1),
|
|
994
|
+
});
|
|
995
|
+
|
|
996
|
+
export const RunCsvImportSchema = z.object({
|
|
997
|
+
tenantId: z.string(),
|
|
998
|
+
fileName: z.string(),
|
|
999
|
+
headersEnabled: z.boolean().optional(),
|
|
1000
|
+
columns: z.array(
|
|
1001
|
+
z.object({
|
|
1002
|
+
fieldId: z.string(),
|
|
1003
|
+
name: z.string(),
|
|
1004
|
+
displayName: z.string(),
|
|
1005
|
+
index: z.number().int(),
|
|
1006
|
+
})
|
|
1007
|
+
).min(1),
|
|
1008
|
+
rows: z.array(z.object({}).catchall(z.any())),
|
|
1009
|
+
collection: z.object({
|
|
1010
|
+
collectionKey: z.literal("rows"),
|
|
1011
|
+
collectionName: z.string(),
|
|
1012
|
+
collectionDisplayName: z.string(),
|
|
1013
|
+
fields: z.array(
|
|
1014
|
+
z.object({
|
|
1015
|
+
fieldId: z.string(),
|
|
1016
|
+
type: z.string(),
|
|
1017
|
+
displayName: z.string(),
|
|
1018
|
+
name: z.string(),
|
|
1019
|
+
required: z.boolean().optional(),
|
|
1020
|
+
config: z.object({}).catchall(z.any()).optional(),
|
|
1021
|
+
fallbackReason: z.string().optional(),
|
|
1022
|
+
})
|
|
1023
|
+
).min(1),
|
|
1024
|
+
}),
|
|
1025
|
+
});
|
|
1026
|
+
|
|
967
1027
|
export const RunGmailImportSchema = z.object({
|
|
968
1028
|
tenantId: z.string(),
|
|
969
1029
|
collections: z.array(z.enum(["email", "contact"])).min(1),
|
|
@@ -991,6 +1051,29 @@ export const RunGmailImportSchema = z.object({
|
|
|
991
1051
|
).min(1),
|
|
992
1052
|
});
|
|
993
1053
|
|
|
1054
|
+
export const RunGithubImportSchema = z.object({
|
|
1055
|
+
tenantId: z.string(),
|
|
1056
|
+
repositoryId: z.string(),
|
|
1057
|
+
collections: z.array(
|
|
1058
|
+
z.object({
|
|
1059
|
+
collectionKey: z.enum(["issues", "pullRequests"]),
|
|
1060
|
+
collectionName: z.string(),
|
|
1061
|
+
collectionDisplayName: z.string(),
|
|
1062
|
+
fields: z.array(
|
|
1063
|
+
z.object({
|
|
1064
|
+
fieldId: z.string(),
|
|
1065
|
+
type: z.string(),
|
|
1066
|
+
displayName: z.string(),
|
|
1067
|
+
name: z.string(),
|
|
1068
|
+
required: z.boolean().optional(),
|
|
1069
|
+
config: z.object({}).catchall(z.any()).optional(),
|
|
1070
|
+
fallbackReason: z.string().optional(),
|
|
1071
|
+
})
|
|
1072
|
+
).min(1),
|
|
1073
|
+
})
|
|
1074
|
+
).min(1),
|
|
1075
|
+
});
|
|
1076
|
+
|
|
994
1077
|
export const ListNotionImportSourcesSchema = z.object({
|
|
995
1078
|
tenantId: z.string(),
|
|
996
1079
|
});
|
|
@@ -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, 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";
|
|
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, PreviewCsvImportSchema, PreviewGmailImportSchema, PreviewGithubImportSchema, PreviewJiraImportSchema, PreviewLinearImportSchema, PreviewNotionImportSchema, PreviewTrelloImportSchema, PreviewValidationErrorsSchema, PublishDomainSchema, PublishEmploidSchema, PublishWorkerToMarketStoreSchema, QueryRecordsSchema, ReorderCollectionFieldsSchema, ResolveScopeFileViewSchema, ResolveWikiFileViewSchema, RestoreDataModelSchema, RestoreRecordSchema, RestoreWikiPageSchema, RevokeRecordPermissionSchema, RunAirtableImportSchema, RunCsvImportSchema, 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 {
|
|
@@ -959,6 +959,16 @@ export class EmploidService extends ServiceClient {
|
|
|
959
959
|
);
|
|
960
960
|
}
|
|
961
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
|
+
|
|
962
972
|
public async ListGmailImportSources(
|
|
963
973
|
payload: z.infer<typeof ListGmailImportSourcesSchema>
|
|
964
974
|
): Promise<any> {
|
|
@@ -969,6 +979,16 @@ export class EmploidService extends ServiceClient {
|
|
|
969
979
|
);
|
|
970
980
|
}
|
|
971
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
|
+
|
|
972
992
|
public async PreviewGmailImport(
|
|
973
993
|
payload: z.infer<typeof PreviewGmailImportSchema>
|
|
974
994
|
): Promise<any> {
|
|
@@ -979,6 +999,26 @@ export class EmploidService extends ServiceClient {
|
|
|
979
999
|
);
|
|
980
1000
|
}
|
|
981
1001
|
|
|
1002
|
+
public async PreviewCsvImport(
|
|
1003
|
+
payload: z.infer<typeof PreviewCsvImportSchema>
|
|
1004
|
+
): Promise<any> {
|
|
1005
|
+
return await this.actionCall(
|
|
1006
|
+
"collection",
|
|
1007
|
+
"PreviewCsvImport",
|
|
1008
|
+
payload
|
|
1009
|
+
);
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
public async PreviewGithubImport(
|
|
1013
|
+
payload: z.infer<typeof PreviewGithubImportSchema>
|
|
1014
|
+
): Promise<any> {
|
|
1015
|
+
return await this.actionCall(
|
|
1016
|
+
"collection",
|
|
1017
|
+
"PreviewGithubImport",
|
|
1018
|
+
payload
|
|
1019
|
+
);
|
|
1020
|
+
}
|
|
1021
|
+
|
|
982
1022
|
public async RunGmailImport(
|
|
983
1023
|
payload: z.infer<typeof RunGmailImportSchema>
|
|
984
1024
|
): Promise<any> {
|
|
@@ -989,6 +1029,26 @@ export class EmploidService extends ServiceClient {
|
|
|
989
1029
|
);
|
|
990
1030
|
}
|
|
991
1031
|
|
|
1032
|
+
public async RunCsvImport(
|
|
1033
|
+
payload: z.infer<typeof RunCsvImportSchema>
|
|
1034
|
+
): Promise<any> {
|
|
1035
|
+
return await this.actionCall(
|
|
1036
|
+
"collection",
|
|
1037
|
+
"RunCsvImport",
|
|
1038
|
+
payload
|
|
1039
|
+
);
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
public async RunGithubImport(
|
|
1043
|
+
payload: z.infer<typeof RunGithubImportSchema>
|
|
1044
|
+
): Promise<any> {
|
|
1045
|
+
return await this.actionCall(
|
|
1046
|
+
"collection",
|
|
1047
|
+
"RunGithubImport",
|
|
1048
|
+
payload
|
|
1049
|
+
);
|
|
1050
|
+
}
|
|
1051
|
+
|
|
992
1052
|
public async EnsureNotionImportCredential(
|
|
993
1053
|
payload: z.infer<typeof EnsureNotionImportCredentialSchema>
|
|
994
1054
|
): Promise<any> {
|