@credal/actions 0.2.31 → 0.2.33
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/actions/actionMapper.js +57 -43
- package/dist/actions/autogen/definitions.d.ts +5 -0
- package/dist/actions/autogen/definitions.js +132 -0
- package/dist/actions/autogen/templates.d.ts +12 -0
- package/dist/actions/autogen/templates.js +647 -0
- package/dist/actions/autogen/types.d.ts +535 -0
- package/dist/actions/autogen/types.js +188 -0
- package/dist/actions/definitions.js +35 -0
- package/dist/actions/groups.js +16 -1
- package/dist/actions/invokeMapper.d.ts +9 -0
- package/dist/actions/invokeMapper.js +33 -0
- package/dist/actions/providers/confluence/updatePage.js +9 -13
- package/dist/actions/providers/google-oauth/getSheetValue.d.ts +3 -0
- package/dist/actions/providers/google-oauth/getSheetValue.js +50 -0
- package/dist/actions/providers/google-oauth/getSheetValues.d.ts +3 -0
- package/dist/actions/providers/google-oauth/getSheetValues.js +50 -0
- package/dist/actions/providers/google-oauth/listGmailThreads.d.ts +3 -0
- package/dist/actions/providers/google-oauth/listGmailThreads.js +98 -0
- package/dist/actions/providers/google-oauth/searchGmailMessages.d.ts +3 -0
- package/dist/actions/providers/google-oauth/searchGmailMessages.js +91 -0
- package/dist/actions/providers/googlemaps/nearbysearch.d.ts +3 -0
- package/dist/actions/providers/googlemaps/nearbysearch.js +96 -0
- package/dist/actions/providers/jira/createServiceDeskRequest.d.ts +3 -0
- package/dist/actions/providers/jira/createServiceDeskRequest.js +54 -0
- package/dist/actions/providers/jira/createTicket.d.ts +3 -0
- package/dist/actions/providers/jira/createTicket.js +34 -0
- package/dist/actions/providers/jira/getServiceDesks.d.ts +3 -0
- package/dist/actions/providers/jira/getServiceDesks.js +101 -0
- package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.d.ts +3 -0
- package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.js +43 -0
- package/dist/actions/providers/slack/listConversations.d.ts +1 -1
- package/dist/actions/providers/slack/list_conversations.d.ts +3 -0
- package/dist/actions/providers/slack/list_conversations.js +60 -0
- package/dist/actions/providers/slack/summarizeChannel.d.ts +3 -0
- package/dist/actions/providers/slack/summarizeChannel.js +51 -0
- package/dist/actions/schema.js +6 -0
- package/dist/actions/types.js +2 -0
- package/dist/main.js +11 -0
- package/package.json +1 -1
@@ -6,6 +6,7 @@ export declare enum ProviderName {
|
|
6
6
|
MATH = "math",
|
7
7
|
CONFLUENCE = "confluence",
|
8
8
|
JIRA = "jira",
|
9
|
+
JIRAORG = "jiraOrg",
|
9
10
|
KANDJI = "kandji",
|
10
11
|
GOOGLEMAPS = "googlemaps",
|
11
12
|
BING = "bing",
|
@@ -955,6 +956,157 @@ export declare const jiraCreateJiraTicketOutputSchema: z.ZodObject<{
|
|
955
956
|
}>;
|
956
957
|
export type jiraCreateJiraTicketOutputType = z.infer<typeof jiraCreateJiraTicketOutputSchema>;
|
957
958
|
export type jiraCreateJiraTicketFunction = ActionFunction<jiraCreateJiraTicketParamsType, AuthParamsType, jiraCreateJiraTicketOutputType>;
|
959
|
+
export declare const jiraGetServiceDesksParamsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
960
|
+
export type jiraGetServiceDesksParamsType = z.infer<typeof jiraGetServiceDesksParamsSchema>;
|
961
|
+
export declare const jiraGetServiceDesksOutputSchema: z.ZodObject<{
|
962
|
+
success: z.ZodBoolean;
|
963
|
+
error: z.ZodOptional<z.ZodString>;
|
964
|
+
serviceDesks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
965
|
+
id: z.ZodOptional<z.ZodString>;
|
966
|
+
projectId: z.ZodOptional<z.ZodString>;
|
967
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
968
|
+
projectName: z.ZodOptional<z.ZodString>;
|
969
|
+
requestTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
970
|
+
id: z.ZodOptional<z.ZodString>;
|
971
|
+
name: z.ZodOptional<z.ZodString>;
|
972
|
+
description: z.ZodOptional<z.ZodString>;
|
973
|
+
issueTypeId: z.ZodOptional<z.ZodString>;
|
974
|
+
portalId: z.ZodOptional<z.ZodString>;
|
975
|
+
helpText: z.ZodOptional<z.ZodString>;
|
976
|
+
serviceDeskId: z.ZodOptional<z.ZodString>;
|
977
|
+
canCreateRequest: z.ZodOptional<z.ZodBoolean>;
|
978
|
+
}, "strip", z.ZodTypeAny, {
|
979
|
+
description?: string | undefined;
|
980
|
+
name?: string | undefined;
|
981
|
+
id?: string | undefined;
|
982
|
+
serviceDeskId?: string | undefined;
|
983
|
+
issueTypeId?: string | undefined;
|
984
|
+
portalId?: string | undefined;
|
985
|
+
helpText?: string | undefined;
|
986
|
+
canCreateRequest?: boolean | undefined;
|
987
|
+
}, {
|
988
|
+
description?: string | undefined;
|
989
|
+
name?: string | undefined;
|
990
|
+
id?: string | undefined;
|
991
|
+
serviceDeskId?: string | undefined;
|
992
|
+
issueTypeId?: string | undefined;
|
993
|
+
portalId?: string | undefined;
|
994
|
+
helpText?: string | undefined;
|
995
|
+
canCreateRequest?: boolean | undefined;
|
996
|
+
}>, "many">>;
|
997
|
+
}, "strip", z.ZodTypeAny, {
|
998
|
+
projectId?: string | undefined;
|
999
|
+
id?: string | undefined;
|
1000
|
+
projectKey?: string | undefined;
|
1001
|
+
projectName?: string | undefined;
|
1002
|
+
requestTypes?: {
|
1003
|
+
description?: string | undefined;
|
1004
|
+
name?: string | undefined;
|
1005
|
+
id?: string | undefined;
|
1006
|
+
serviceDeskId?: string | undefined;
|
1007
|
+
issueTypeId?: string | undefined;
|
1008
|
+
portalId?: string | undefined;
|
1009
|
+
helpText?: string | undefined;
|
1010
|
+
canCreateRequest?: boolean | undefined;
|
1011
|
+
}[] | undefined;
|
1012
|
+
}, {
|
1013
|
+
projectId?: string | undefined;
|
1014
|
+
id?: string | undefined;
|
1015
|
+
projectKey?: string | undefined;
|
1016
|
+
projectName?: string | undefined;
|
1017
|
+
requestTypes?: {
|
1018
|
+
description?: string | undefined;
|
1019
|
+
name?: string | undefined;
|
1020
|
+
id?: string | undefined;
|
1021
|
+
serviceDeskId?: string | undefined;
|
1022
|
+
issueTypeId?: string | undefined;
|
1023
|
+
portalId?: string | undefined;
|
1024
|
+
helpText?: string | undefined;
|
1025
|
+
canCreateRequest?: boolean | undefined;
|
1026
|
+
}[] | undefined;
|
1027
|
+
}>, "many">>;
|
1028
|
+
}, "strip", z.ZodTypeAny, {
|
1029
|
+
success: boolean;
|
1030
|
+
error?: string | undefined;
|
1031
|
+
serviceDesks?: {
|
1032
|
+
projectId?: string | undefined;
|
1033
|
+
id?: string | undefined;
|
1034
|
+
projectKey?: string | undefined;
|
1035
|
+
projectName?: string | undefined;
|
1036
|
+
requestTypes?: {
|
1037
|
+
description?: string | undefined;
|
1038
|
+
name?: string | undefined;
|
1039
|
+
id?: string | undefined;
|
1040
|
+
serviceDeskId?: string | undefined;
|
1041
|
+
issueTypeId?: string | undefined;
|
1042
|
+
portalId?: string | undefined;
|
1043
|
+
helpText?: string | undefined;
|
1044
|
+
canCreateRequest?: boolean | undefined;
|
1045
|
+
}[] | undefined;
|
1046
|
+
}[] | undefined;
|
1047
|
+
}, {
|
1048
|
+
success: boolean;
|
1049
|
+
error?: string | undefined;
|
1050
|
+
serviceDesks?: {
|
1051
|
+
projectId?: string | undefined;
|
1052
|
+
id?: string | undefined;
|
1053
|
+
projectKey?: string | undefined;
|
1054
|
+
projectName?: string | undefined;
|
1055
|
+
requestTypes?: {
|
1056
|
+
description?: string | undefined;
|
1057
|
+
name?: string | undefined;
|
1058
|
+
id?: string | undefined;
|
1059
|
+
serviceDeskId?: string | undefined;
|
1060
|
+
issueTypeId?: string | undefined;
|
1061
|
+
portalId?: string | undefined;
|
1062
|
+
helpText?: string | undefined;
|
1063
|
+
canCreateRequest?: boolean | undefined;
|
1064
|
+
}[] | undefined;
|
1065
|
+
}[] | undefined;
|
1066
|
+
}>;
|
1067
|
+
export type jiraGetServiceDesksOutputType = z.infer<typeof jiraGetServiceDesksOutputSchema>;
|
1068
|
+
export type jiraGetServiceDesksFunction = ActionFunction<jiraGetServiceDesksParamsType, AuthParamsType, jiraGetServiceDesksOutputType>;
|
1069
|
+
export declare const jiraCreateServiceDeskRequestParamsSchema: z.ZodObject<{
|
1070
|
+
serviceDeskId: z.ZodString;
|
1071
|
+
requestTypeId: z.ZodString;
|
1072
|
+
summary: z.ZodString;
|
1073
|
+
description: z.ZodString;
|
1074
|
+
reporter: z.ZodOptional<z.ZodString>;
|
1075
|
+
}, "strip", z.ZodTypeAny, {
|
1076
|
+
description: string;
|
1077
|
+
summary: string;
|
1078
|
+
serviceDeskId: string;
|
1079
|
+
requestTypeId: string;
|
1080
|
+
reporter?: string | undefined;
|
1081
|
+
}, {
|
1082
|
+
description: string;
|
1083
|
+
summary: string;
|
1084
|
+
serviceDeskId: string;
|
1085
|
+
requestTypeId: string;
|
1086
|
+
reporter?: string | undefined;
|
1087
|
+
}>;
|
1088
|
+
export type jiraCreateServiceDeskRequestParamsType = z.infer<typeof jiraCreateServiceDeskRequestParamsSchema>;
|
1089
|
+
export declare const jiraCreateServiceDeskRequestOutputSchema: z.ZodObject<{
|
1090
|
+
success: z.ZodBoolean;
|
1091
|
+
error: z.ZodOptional<z.ZodString>;
|
1092
|
+
issueKey: z.ZodOptional<z.ZodString>;
|
1093
|
+
webLink: z.ZodOptional<z.ZodString>;
|
1094
|
+
currentStatus: z.ZodOptional<z.ZodString>;
|
1095
|
+
}, "strip", z.ZodTypeAny, {
|
1096
|
+
success: boolean;
|
1097
|
+
error?: string | undefined;
|
1098
|
+
issueKey?: string | undefined;
|
1099
|
+
webLink?: string | undefined;
|
1100
|
+
currentStatus?: string | undefined;
|
1101
|
+
}, {
|
1102
|
+
success: boolean;
|
1103
|
+
error?: string | undefined;
|
1104
|
+
issueKey?: string | undefined;
|
1105
|
+
webLink?: string | undefined;
|
1106
|
+
currentStatus?: string | undefined;
|
1107
|
+
}>;
|
1108
|
+
export type jiraCreateServiceDeskRequestOutputType = z.infer<typeof jiraCreateServiceDeskRequestOutputSchema>;
|
1109
|
+
export type jiraCreateServiceDeskRequestFunction = ActionFunction<jiraCreateServiceDeskRequestParamsType, AuthParamsType, jiraCreateServiceDeskRequestOutputType>;
|
958
1110
|
export declare const jiraGetJiraTicketDetailsParamsSchema: z.ZodObject<{
|
959
1111
|
projectKey: z.ZodString;
|
960
1112
|
issueId: z.ZodString;
|
@@ -1094,6 +1246,389 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
1094
1246
|
}>;
|
1095
1247
|
export type jiraGetJiraIssuesByQueryOutputType = z.infer<typeof jiraGetJiraIssuesByQueryOutputSchema>;
|
1096
1248
|
export type jiraGetJiraIssuesByQueryFunction = ActionFunction<jiraGetJiraIssuesByQueryParamsType, AuthParamsType, jiraGetJiraIssuesByQueryOutputType>;
|
1249
|
+
export declare const jiraOrgAssignJiraTicketParamsSchema: z.ZodObject<{
|
1250
|
+
projectKey: z.ZodString;
|
1251
|
+
assignee: z.ZodString;
|
1252
|
+
issueId: z.ZodString;
|
1253
|
+
}, "strip", z.ZodTypeAny, {
|
1254
|
+
assignee: string;
|
1255
|
+
projectKey: string;
|
1256
|
+
issueId: string;
|
1257
|
+
}, {
|
1258
|
+
assignee: string;
|
1259
|
+
projectKey: string;
|
1260
|
+
issueId: string;
|
1261
|
+
}>;
|
1262
|
+
export type jiraOrgAssignJiraTicketParamsType = z.infer<typeof jiraOrgAssignJiraTicketParamsSchema>;
|
1263
|
+
export declare const jiraOrgAssignJiraTicketOutputSchema: z.ZodObject<{
|
1264
|
+
success: z.ZodBoolean;
|
1265
|
+
error: z.ZodOptional<z.ZodString>;
|
1266
|
+
ticketUrl: z.ZodOptional<z.ZodString>;
|
1267
|
+
}, "strip", z.ZodTypeAny, {
|
1268
|
+
success: boolean;
|
1269
|
+
error?: string | undefined;
|
1270
|
+
ticketUrl?: string | undefined;
|
1271
|
+
}, {
|
1272
|
+
success: boolean;
|
1273
|
+
error?: string | undefined;
|
1274
|
+
ticketUrl?: string | undefined;
|
1275
|
+
}>;
|
1276
|
+
export type jiraOrgAssignJiraTicketOutputType = z.infer<typeof jiraOrgAssignJiraTicketOutputSchema>;
|
1277
|
+
export type jiraOrgAssignJiraTicketFunction = ActionFunction<jiraOrgAssignJiraTicketParamsType, AuthParamsType, jiraOrgAssignJiraTicketOutputType>;
|
1278
|
+
export declare const jiraOrgCommentJiraTicketParamsSchema: z.ZodObject<{
|
1279
|
+
projectKey: z.ZodString;
|
1280
|
+
issueId: z.ZodString;
|
1281
|
+
comment: z.ZodString;
|
1282
|
+
}, "strip", z.ZodTypeAny, {
|
1283
|
+
projectKey: string;
|
1284
|
+
issueId: string;
|
1285
|
+
comment: string;
|
1286
|
+
}, {
|
1287
|
+
projectKey: string;
|
1288
|
+
issueId: string;
|
1289
|
+
comment: string;
|
1290
|
+
}>;
|
1291
|
+
export type jiraOrgCommentJiraTicketParamsType = z.infer<typeof jiraOrgCommentJiraTicketParamsSchema>;
|
1292
|
+
export declare const jiraOrgCommentJiraTicketOutputSchema: z.ZodObject<{
|
1293
|
+
success: z.ZodBoolean;
|
1294
|
+
error: z.ZodOptional<z.ZodString>;
|
1295
|
+
commentUrl: z.ZodOptional<z.ZodString>;
|
1296
|
+
}, "strip", z.ZodTypeAny, {
|
1297
|
+
success: boolean;
|
1298
|
+
error?: string | undefined;
|
1299
|
+
commentUrl?: string | undefined;
|
1300
|
+
}, {
|
1301
|
+
success: boolean;
|
1302
|
+
error?: string | undefined;
|
1303
|
+
commentUrl?: string | undefined;
|
1304
|
+
}>;
|
1305
|
+
export type jiraOrgCommentJiraTicketOutputType = z.infer<typeof jiraOrgCommentJiraTicketOutputSchema>;
|
1306
|
+
export type jiraOrgCommentJiraTicketFunction = ActionFunction<jiraOrgCommentJiraTicketParamsType, AuthParamsType, jiraOrgCommentJiraTicketOutputType>;
|
1307
|
+
export declare const jiraOrgCreateJiraTicketParamsSchema: z.ZodObject<{
|
1308
|
+
projectKey: z.ZodString;
|
1309
|
+
summary: z.ZodString;
|
1310
|
+
description: z.ZodString;
|
1311
|
+
issueType: z.ZodString;
|
1312
|
+
reporter: z.ZodOptional<z.ZodString>;
|
1313
|
+
assignee: z.ZodOptional<z.ZodString>;
|
1314
|
+
customFields: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
|
1315
|
+
}, "strip", z.ZodTypeAny, {
|
1316
|
+
description: string;
|
1317
|
+
projectKey: string;
|
1318
|
+
summary: string;
|
1319
|
+
issueType: string;
|
1320
|
+
assignee?: string | undefined;
|
1321
|
+
customFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
1322
|
+
reporter?: string | undefined;
|
1323
|
+
}, {
|
1324
|
+
description: string;
|
1325
|
+
projectKey: string;
|
1326
|
+
summary: string;
|
1327
|
+
issueType: string;
|
1328
|
+
assignee?: string | undefined;
|
1329
|
+
customFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
1330
|
+
reporter?: string | undefined;
|
1331
|
+
}>;
|
1332
|
+
export type jiraOrgCreateJiraTicketParamsType = z.infer<typeof jiraOrgCreateJiraTicketParamsSchema>;
|
1333
|
+
export declare const jiraOrgCreateJiraTicketOutputSchema: z.ZodObject<{
|
1334
|
+
ticketUrl: z.ZodString;
|
1335
|
+
}, "strip", z.ZodTypeAny, {
|
1336
|
+
ticketUrl: string;
|
1337
|
+
}, {
|
1338
|
+
ticketUrl: string;
|
1339
|
+
}>;
|
1340
|
+
export type jiraOrgCreateJiraTicketOutputType = z.infer<typeof jiraOrgCreateJiraTicketOutputSchema>;
|
1341
|
+
export type jiraOrgCreateJiraTicketFunction = ActionFunction<jiraOrgCreateJiraTicketParamsType, AuthParamsType, jiraOrgCreateJiraTicketOutputType>;
|
1342
|
+
export declare const jiraOrgGetServiceDesksParamsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
1343
|
+
export type jiraOrgGetServiceDesksParamsType = z.infer<typeof jiraOrgGetServiceDesksParamsSchema>;
|
1344
|
+
export declare const jiraOrgGetServiceDesksOutputSchema: z.ZodObject<{
|
1345
|
+
success: z.ZodBoolean;
|
1346
|
+
error: z.ZodOptional<z.ZodString>;
|
1347
|
+
serviceDesks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1348
|
+
id: z.ZodOptional<z.ZodString>;
|
1349
|
+
projectId: z.ZodOptional<z.ZodString>;
|
1350
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
1351
|
+
projectName: z.ZodOptional<z.ZodString>;
|
1352
|
+
requestTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1353
|
+
id: z.ZodOptional<z.ZodString>;
|
1354
|
+
name: z.ZodOptional<z.ZodString>;
|
1355
|
+
description: z.ZodOptional<z.ZodString>;
|
1356
|
+
issueTypeId: z.ZodOptional<z.ZodString>;
|
1357
|
+
portalId: z.ZodOptional<z.ZodString>;
|
1358
|
+
helpText: z.ZodOptional<z.ZodString>;
|
1359
|
+
serviceDeskId: z.ZodOptional<z.ZodString>;
|
1360
|
+
canCreateRequest: z.ZodOptional<z.ZodBoolean>;
|
1361
|
+
}, "strip", z.ZodTypeAny, {
|
1362
|
+
description?: string | undefined;
|
1363
|
+
name?: string | undefined;
|
1364
|
+
id?: string | undefined;
|
1365
|
+
serviceDeskId?: string | undefined;
|
1366
|
+
issueTypeId?: string | undefined;
|
1367
|
+
portalId?: string | undefined;
|
1368
|
+
helpText?: string | undefined;
|
1369
|
+
canCreateRequest?: boolean | undefined;
|
1370
|
+
}, {
|
1371
|
+
description?: string | undefined;
|
1372
|
+
name?: string | undefined;
|
1373
|
+
id?: string | undefined;
|
1374
|
+
serviceDeskId?: string | undefined;
|
1375
|
+
issueTypeId?: string | undefined;
|
1376
|
+
portalId?: string | undefined;
|
1377
|
+
helpText?: string | undefined;
|
1378
|
+
canCreateRequest?: boolean | undefined;
|
1379
|
+
}>, "many">>;
|
1380
|
+
}, "strip", z.ZodTypeAny, {
|
1381
|
+
projectId?: string | undefined;
|
1382
|
+
id?: string | undefined;
|
1383
|
+
projectKey?: string | undefined;
|
1384
|
+
projectName?: string | undefined;
|
1385
|
+
requestTypes?: {
|
1386
|
+
description?: string | undefined;
|
1387
|
+
name?: string | undefined;
|
1388
|
+
id?: string | undefined;
|
1389
|
+
serviceDeskId?: string | undefined;
|
1390
|
+
issueTypeId?: string | undefined;
|
1391
|
+
portalId?: string | undefined;
|
1392
|
+
helpText?: string | undefined;
|
1393
|
+
canCreateRequest?: boolean | undefined;
|
1394
|
+
}[] | undefined;
|
1395
|
+
}, {
|
1396
|
+
projectId?: string | undefined;
|
1397
|
+
id?: string | undefined;
|
1398
|
+
projectKey?: string | undefined;
|
1399
|
+
projectName?: string | undefined;
|
1400
|
+
requestTypes?: {
|
1401
|
+
description?: string | undefined;
|
1402
|
+
name?: string | undefined;
|
1403
|
+
id?: string | undefined;
|
1404
|
+
serviceDeskId?: string | undefined;
|
1405
|
+
issueTypeId?: string | undefined;
|
1406
|
+
portalId?: string | undefined;
|
1407
|
+
helpText?: string | undefined;
|
1408
|
+
canCreateRequest?: boolean | undefined;
|
1409
|
+
}[] | undefined;
|
1410
|
+
}>, "many">>;
|
1411
|
+
}, "strip", z.ZodTypeAny, {
|
1412
|
+
success: boolean;
|
1413
|
+
error?: string | undefined;
|
1414
|
+
serviceDesks?: {
|
1415
|
+
projectId?: string | undefined;
|
1416
|
+
id?: string | undefined;
|
1417
|
+
projectKey?: string | undefined;
|
1418
|
+
projectName?: string | undefined;
|
1419
|
+
requestTypes?: {
|
1420
|
+
description?: string | undefined;
|
1421
|
+
name?: string | undefined;
|
1422
|
+
id?: string | undefined;
|
1423
|
+
serviceDeskId?: string | undefined;
|
1424
|
+
issueTypeId?: string | undefined;
|
1425
|
+
portalId?: string | undefined;
|
1426
|
+
helpText?: string | undefined;
|
1427
|
+
canCreateRequest?: boolean | undefined;
|
1428
|
+
}[] | undefined;
|
1429
|
+
}[] | undefined;
|
1430
|
+
}, {
|
1431
|
+
success: boolean;
|
1432
|
+
error?: string | undefined;
|
1433
|
+
serviceDesks?: {
|
1434
|
+
projectId?: string | undefined;
|
1435
|
+
id?: string | undefined;
|
1436
|
+
projectKey?: string | undefined;
|
1437
|
+
projectName?: string | undefined;
|
1438
|
+
requestTypes?: {
|
1439
|
+
description?: string | undefined;
|
1440
|
+
name?: string | undefined;
|
1441
|
+
id?: string | undefined;
|
1442
|
+
serviceDeskId?: string | undefined;
|
1443
|
+
issueTypeId?: string | undefined;
|
1444
|
+
portalId?: string | undefined;
|
1445
|
+
helpText?: string | undefined;
|
1446
|
+
canCreateRequest?: boolean | undefined;
|
1447
|
+
}[] | undefined;
|
1448
|
+
}[] | undefined;
|
1449
|
+
}>;
|
1450
|
+
export type jiraOrgGetServiceDesksOutputType = z.infer<typeof jiraOrgGetServiceDesksOutputSchema>;
|
1451
|
+
export type jiraOrgGetServiceDesksFunction = ActionFunction<jiraOrgGetServiceDesksParamsType, AuthParamsType, jiraOrgGetServiceDesksOutputType>;
|
1452
|
+
export declare const jiraOrgCreateServiceDeskRequestParamsSchema: z.ZodObject<{
|
1453
|
+
serviceDeskId: z.ZodString;
|
1454
|
+
requestTypeId: z.ZodString;
|
1455
|
+
summary: z.ZodString;
|
1456
|
+
description: z.ZodString;
|
1457
|
+
reporter: z.ZodOptional<z.ZodString>;
|
1458
|
+
}, "strip", z.ZodTypeAny, {
|
1459
|
+
description: string;
|
1460
|
+
summary: string;
|
1461
|
+
serviceDeskId: string;
|
1462
|
+
requestTypeId: string;
|
1463
|
+
reporter?: string | undefined;
|
1464
|
+
}, {
|
1465
|
+
description: string;
|
1466
|
+
summary: string;
|
1467
|
+
serviceDeskId: string;
|
1468
|
+
requestTypeId: string;
|
1469
|
+
reporter?: string | undefined;
|
1470
|
+
}>;
|
1471
|
+
export type jiraOrgCreateServiceDeskRequestParamsType = z.infer<typeof jiraOrgCreateServiceDeskRequestParamsSchema>;
|
1472
|
+
export declare const jiraOrgCreateServiceDeskRequestOutputSchema: z.ZodObject<{
|
1473
|
+
success: z.ZodBoolean;
|
1474
|
+
error: z.ZodOptional<z.ZodString>;
|
1475
|
+
issueKey: z.ZodOptional<z.ZodString>;
|
1476
|
+
webLink: z.ZodOptional<z.ZodString>;
|
1477
|
+
currentStatus: z.ZodOptional<z.ZodString>;
|
1478
|
+
}, "strip", z.ZodTypeAny, {
|
1479
|
+
success: boolean;
|
1480
|
+
error?: string | undefined;
|
1481
|
+
issueKey?: string | undefined;
|
1482
|
+
webLink?: string | undefined;
|
1483
|
+
currentStatus?: string | undefined;
|
1484
|
+
}, {
|
1485
|
+
success: boolean;
|
1486
|
+
error?: string | undefined;
|
1487
|
+
issueKey?: string | undefined;
|
1488
|
+
webLink?: string | undefined;
|
1489
|
+
currentStatus?: string | undefined;
|
1490
|
+
}>;
|
1491
|
+
export type jiraOrgCreateServiceDeskRequestOutputType = z.infer<typeof jiraOrgCreateServiceDeskRequestOutputSchema>;
|
1492
|
+
export type jiraOrgCreateServiceDeskRequestFunction = ActionFunction<jiraOrgCreateServiceDeskRequestParamsType, AuthParamsType, jiraOrgCreateServiceDeskRequestOutputType>;
|
1493
|
+
export declare const jiraOrgGetJiraTicketDetailsParamsSchema: z.ZodObject<{
|
1494
|
+
projectKey: z.ZodString;
|
1495
|
+
issueId: z.ZodString;
|
1496
|
+
}, "strip", z.ZodTypeAny, {
|
1497
|
+
projectKey: string;
|
1498
|
+
issueId: string;
|
1499
|
+
}, {
|
1500
|
+
projectKey: string;
|
1501
|
+
issueId: string;
|
1502
|
+
}>;
|
1503
|
+
export type jiraOrgGetJiraTicketDetailsParamsType = z.infer<typeof jiraOrgGetJiraTicketDetailsParamsSchema>;
|
1504
|
+
export declare const jiraOrgGetJiraTicketDetailsOutputSchema: z.ZodObject<{
|
1505
|
+
success: z.ZodBoolean;
|
1506
|
+
error: z.ZodOptional<z.ZodString>;
|
1507
|
+
data: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
|
1508
|
+
}, "strip", z.ZodTypeAny, {
|
1509
|
+
success: boolean;
|
1510
|
+
error?: string | undefined;
|
1511
|
+
data?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
1512
|
+
}, {
|
1513
|
+
success: boolean;
|
1514
|
+
error?: string | undefined;
|
1515
|
+
data?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
1516
|
+
}>;
|
1517
|
+
export type jiraOrgGetJiraTicketDetailsOutputType = z.infer<typeof jiraOrgGetJiraTicketDetailsOutputSchema>;
|
1518
|
+
export type jiraOrgGetJiraTicketDetailsFunction = ActionFunction<jiraOrgGetJiraTicketDetailsParamsType, AuthParamsType, jiraOrgGetJiraTicketDetailsOutputType>;
|
1519
|
+
export declare const jiraOrgGetJiraTicketHistoryParamsSchema: z.ZodObject<{
|
1520
|
+
projectKey: z.ZodString;
|
1521
|
+
issueId: z.ZodString;
|
1522
|
+
}, "strip", z.ZodTypeAny, {
|
1523
|
+
projectKey: string;
|
1524
|
+
issueId: string;
|
1525
|
+
}, {
|
1526
|
+
projectKey: string;
|
1527
|
+
issueId: string;
|
1528
|
+
}>;
|
1529
|
+
export type jiraOrgGetJiraTicketHistoryParamsType = z.infer<typeof jiraOrgGetJiraTicketHistoryParamsSchema>;
|
1530
|
+
export declare const jiraOrgGetJiraTicketHistoryOutputSchema: z.ZodObject<{
|
1531
|
+
success: z.ZodBoolean;
|
1532
|
+
error: z.ZodOptional<z.ZodString>;
|
1533
|
+
history: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
1534
|
+
}, "strip", z.ZodTypeAny, {
|
1535
|
+
success: boolean;
|
1536
|
+
error?: string | undefined;
|
1537
|
+
history?: any[] | undefined;
|
1538
|
+
}, {
|
1539
|
+
success: boolean;
|
1540
|
+
error?: string | undefined;
|
1541
|
+
history?: any[] | undefined;
|
1542
|
+
}>;
|
1543
|
+
export type jiraOrgGetJiraTicketHistoryOutputType = z.infer<typeof jiraOrgGetJiraTicketHistoryOutputSchema>;
|
1544
|
+
export type jiraOrgGetJiraTicketHistoryFunction = ActionFunction<jiraOrgGetJiraTicketHistoryParamsType, AuthParamsType, jiraOrgGetJiraTicketHistoryOutputType>;
|
1545
|
+
export declare const jiraOrgUpdateJiraTicketDetailsParamsSchema: z.ZodObject<{
|
1546
|
+
projectKey: z.ZodString;
|
1547
|
+
issueId: z.ZodString;
|
1548
|
+
summary: z.ZodOptional<z.ZodString>;
|
1549
|
+
description: z.ZodOptional<z.ZodString>;
|
1550
|
+
issueType: z.ZodOptional<z.ZodString>;
|
1551
|
+
customFields: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
|
1552
|
+
}, "strip", z.ZodTypeAny, {
|
1553
|
+
projectKey: string;
|
1554
|
+
issueId: string;
|
1555
|
+
description?: string | undefined;
|
1556
|
+
customFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
1557
|
+
summary?: string | undefined;
|
1558
|
+
issueType?: string | undefined;
|
1559
|
+
}, {
|
1560
|
+
projectKey: string;
|
1561
|
+
issueId: string;
|
1562
|
+
description?: string | undefined;
|
1563
|
+
customFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
1564
|
+
summary?: string | undefined;
|
1565
|
+
issueType?: string | undefined;
|
1566
|
+
}>;
|
1567
|
+
export type jiraOrgUpdateJiraTicketDetailsParamsType = z.infer<typeof jiraOrgUpdateJiraTicketDetailsParamsSchema>;
|
1568
|
+
export declare const jiraOrgUpdateJiraTicketDetailsOutputSchema: z.ZodObject<{
|
1569
|
+
ticketUrl: z.ZodString;
|
1570
|
+
}, "strip", z.ZodTypeAny, {
|
1571
|
+
ticketUrl: string;
|
1572
|
+
}, {
|
1573
|
+
ticketUrl: string;
|
1574
|
+
}>;
|
1575
|
+
export type jiraOrgUpdateJiraTicketDetailsOutputType = z.infer<typeof jiraOrgUpdateJiraTicketDetailsOutputSchema>;
|
1576
|
+
export type jiraOrgUpdateJiraTicketDetailsFunction = ActionFunction<jiraOrgUpdateJiraTicketDetailsParamsType, AuthParamsType, jiraOrgUpdateJiraTicketDetailsOutputType>;
|
1577
|
+
export declare const jiraOrgUpdateJiraTicketStatusParamsSchema: z.ZodObject<{
|
1578
|
+
projectKey: z.ZodString;
|
1579
|
+
issueId: z.ZodString;
|
1580
|
+
status: z.ZodString;
|
1581
|
+
}, "strip", z.ZodTypeAny, {
|
1582
|
+
status: string;
|
1583
|
+
projectKey: string;
|
1584
|
+
issueId: string;
|
1585
|
+
}, {
|
1586
|
+
status: string;
|
1587
|
+
projectKey: string;
|
1588
|
+
issueId: string;
|
1589
|
+
}>;
|
1590
|
+
export type jiraOrgUpdateJiraTicketStatusParamsType = z.infer<typeof jiraOrgUpdateJiraTicketStatusParamsSchema>;
|
1591
|
+
export declare const jiraOrgUpdateJiraTicketStatusOutputSchema: z.ZodObject<{
|
1592
|
+
success: z.ZodBoolean;
|
1593
|
+
error: z.ZodOptional<z.ZodString>;
|
1594
|
+
ticketUrl: z.ZodOptional<z.ZodString>;
|
1595
|
+
}, "strip", z.ZodTypeAny, {
|
1596
|
+
success: boolean;
|
1597
|
+
error?: string | undefined;
|
1598
|
+
ticketUrl?: string | undefined;
|
1599
|
+
}, {
|
1600
|
+
success: boolean;
|
1601
|
+
error?: string | undefined;
|
1602
|
+
ticketUrl?: string | undefined;
|
1603
|
+
}>;
|
1604
|
+
export type jiraOrgUpdateJiraTicketStatusOutputType = z.infer<typeof jiraOrgUpdateJiraTicketStatusOutputSchema>;
|
1605
|
+
export type jiraOrgUpdateJiraTicketStatusFunction = ActionFunction<jiraOrgUpdateJiraTicketStatusParamsType, AuthParamsType, jiraOrgUpdateJiraTicketStatusOutputType>;
|
1606
|
+
export declare const jiraOrgGetJiraIssuesByQueryParamsSchema: z.ZodObject<{
|
1607
|
+
query: z.ZodString;
|
1608
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
1609
|
+
}, "strip", z.ZodTypeAny, {
|
1610
|
+
query: string;
|
1611
|
+
limit?: number | undefined;
|
1612
|
+
}, {
|
1613
|
+
query: string;
|
1614
|
+
limit?: number | undefined;
|
1615
|
+
}>;
|
1616
|
+
export type jiraOrgGetJiraIssuesByQueryParamsType = z.infer<typeof jiraOrgGetJiraIssuesByQueryParamsSchema>;
|
1617
|
+
export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
1618
|
+
success: z.ZodBoolean;
|
1619
|
+
records: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
1620
|
+
error: z.ZodOptional<z.ZodString>;
|
1621
|
+
}, "strip", z.ZodTypeAny, {
|
1622
|
+
success: boolean;
|
1623
|
+
error?: string | undefined;
|
1624
|
+
records?: Record<string, string>[] | undefined;
|
1625
|
+
}, {
|
1626
|
+
success: boolean;
|
1627
|
+
error?: string | undefined;
|
1628
|
+
records?: Record<string, string>[] | undefined;
|
1629
|
+
}>;
|
1630
|
+
export type jiraOrgGetJiraIssuesByQueryOutputType = z.infer<typeof jiraOrgGetJiraIssuesByQueryOutputSchema>;
|
1631
|
+
export type jiraOrgGetJiraIssuesByQueryFunction = ActionFunction<jiraOrgGetJiraIssuesByQueryParamsType, AuthParamsType, jiraOrgGetJiraIssuesByQueryOutputType>;
|
1097
1632
|
export declare const kandjiGetFVRecoveryKeyForDeviceParamsSchema: z.ZodObject<{
|
1098
1633
|
userEmail: z.ZodString;
|
1099
1634
|
subdomain: z.ZodString;
|