@credal/actions 0.2.185 → 0.2.187
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 +28 -1
- package/dist/actions/autogen/templates.d.ts +4 -0
- package/dist/actions/autogen/templates.js +405 -5
- package/dist/actions/autogen/types.d.ts +256 -54
- package/dist/actions/autogen/types.js +87 -0
- package/dist/actions/groups.js +1 -4
- package/dist/actions/parse.d.ts +3 -0
- package/dist/actions/parse.js +1 -0
- package/dist/actions/providers/credal/callCopilot.d.ts +3 -0
- package/dist/actions/providers/credal/callCopilot.js +36 -0
- package/dist/actions/providers/google-oauth/deleteRowFromSpreadsheet.d.ts +7 -0
- package/dist/actions/providers/google-oauth/deleteRowFromSpreadsheet.js +56 -0
- package/dist/actions/providers/google-oauth/updateRowsInSpreadsheet.d.ts +7 -0
- package/dist/actions/providers/google-oauth/updateRowsInSpreadsheet.js +63 -0
- package/dist/actions/providers/math/index.d.ts +1 -0
- package/dist/actions/providers/math/index.js +37 -0
- package/dist/actions/providers/salesforce/executeReport.d.ts +3 -0
- package/dist/actions/providers/salesforce/executeReport.js +36 -0
- package/dist/actions/providers/salesforce/getReportMetadata.d.ts +3 -0
- package/dist/actions/providers/salesforce/getReportMetadata.js +54 -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/archiveChannel.js +2 -9
- package/dist/actions/providers/slack/index.d.ts +1 -0
- package/dist/actions/providers/slack/index.js +37 -0
- package/dist/actions/providers/slack/listConversations.d.ts +3 -0
- package/dist/actions/providers/slack/listConversations.js +41 -0
- package/package.json +1 -1
- package/dist/actions/providers/github/fetchFile.d.ts +0 -3
- package/dist/actions/providers/github/fetchFile.js +0 -131
- package/dist/actions/providers/github/getContents.d.ts +0 -3
- package/dist/actions/providers/github/getContents.js +0 -41
|
@@ -99,6 +99,8 @@ export declare enum ActionName {
|
|
|
99
99
|
CREATESPREADSHEET = "createSpreadsheet",
|
|
100
100
|
UPDATESPREADSHEET = "updateSpreadsheet",
|
|
101
101
|
APPENDROWSTOSPREADSHEET = "appendRowsToSpreadsheet",
|
|
102
|
+
DELETEROWFROMSPREADSHEET = "deleteRowFromSpreadsheet",
|
|
103
|
+
UPDATEROWSINSPREADSHEET = "updateRowsInSpreadsheet",
|
|
102
104
|
CREATEPRESENTATION = "createPresentation",
|
|
103
105
|
UPDATEPRESENTATION = "updatePresentation",
|
|
104
106
|
GETPRESENTATION = "getPresentation",
|
|
@@ -128,9 +130,11 @@ export declare enum ActionName {
|
|
|
128
130
|
GENERATESALESREPORT = "generateSalesReport",
|
|
129
131
|
SEARCHALLSALESFORCERECORDS = "searchAllSalesforceRecords",
|
|
130
132
|
LISTREPORTS = "listReports",
|
|
133
|
+
EXECUTEREPORT = "executeReport",
|
|
131
134
|
SEARCHSALESFORCERECORDS = "searchSalesforceRecords",
|
|
132
135
|
GETSALESFORCERECORDSBYQUERY = "getSalesforceRecordsByQuery",
|
|
133
136
|
GETRECORD = "getRecord",
|
|
137
|
+
GETREPORTMETADATA = "getReportMetadata",
|
|
134
138
|
CREATEDOCUMENT = "createDocument",
|
|
135
139
|
UPDATEDOCUMENT = "updateDocument",
|
|
136
140
|
MESSAGETEAMSCHAT = "messageTeamsChat",
|
|
@@ -4802,23 +4806,23 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
|
|
|
4802
4806
|
displayName: z.ZodOptional<z.ZodString>;
|
|
4803
4807
|
responseStatus: z.ZodOptional<z.ZodString>;
|
|
4804
4808
|
}, "strip", z.ZodTypeAny, {
|
|
4805
|
-
email?: string | undefined;
|
|
4806
4809
|
displayName?: string | undefined;
|
|
4810
|
+
email?: string | undefined;
|
|
4807
4811
|
responseStatus?: string | undefined;
|
|
4808
4812
|
}, {
|
|
4809
|
-
email?: string | undefined;
|
|
4810
4813
|
displayName?: string | undefined;
|
|
4814
|
+
email?: string | undefined;
|
|
4811
4815
|
responseStatus?: string | undefined;
|
|
4812
4816
|
}>, "many">>;
|
|
4813
4817
|
organizer: z.ZodOptional<z.ZodObject<{
|
|
4814
4818
|
email: z.ZodOptional<z.ZodString>;
|
|
4815
4819
|
displayName: z.ZodOptional<z.ZodString>;
|
|
4816
4820
|
}, "strip", z.ZodTypeAny, {
|
|
4817
|
-
email?: string | undefined;
|
|
4818
4821
|
displayName?: string | undefined;
|
|
4819
|
-
}, {
|
|
4820
4822
|
email?: string | undefined;
|
|
4823
|
+
}, {
|
|
4821
4824
|
displayName?: string | undefined;
|
|
4825
|
+
email?: string | undefined;
|
|
4822
4826
|
}>>;
|
|
4823
4827
|
hangoutLink: z.ZodOptional<z.ZodString>;
|
|
4824
4828
|
created: z.ZodOptional<z.ZodString>;
|
|
@@ -4853,13 +4857,13 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
|
|
|
4853
4857
|
start?: string | undefined;
|
|
4854
4858
|
end?: string | undefined;
|
|
4855
4859
|
attendees?: {
|
|
4856
|
-
email?: string | undefined;
|
|
4857
4860
|
displayName?: string | undefined;
|
|
4861
|
+
email?: string | undefined;
|
|
4858
4862
|
responseStatus?: string | undefined;
|
|
4859
4863
|
}[] | undefined;
|
|
4860
4864
|
organizer?: {
|
|
4861
|
-
email?: string | undefined;
|
|
4862
4865
|
displayName?: string | undefined;
|
|
4866
|
+
email?: string | undefined;
|
|
4863
4867
|
} | undefined;
|
|
4864
4868
|
startDayOfWeek?: string | undefined;
|
|
4865
4869
|
endDayOfWeek?: string | undefined;
|
|
@@ -4884,13 +4888,13 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
|
|
|
4884
4888
|
start?: string | undefined;
|
|
4885
4889
|
end?: string | undefined;
|
|
4886
4890
|
attendees?: {
|
|
4887
|
-
email?: string | undefined;
|
|
4888
4891
|
displayName?: string | undefined;
|
|
4892
|
+
email?: string | undefined;
|
|
4889
4893
|
responseStatus?: string | undefined;
|
|
4890
4894
|
}[] | undefined;
|
|
4891
4895
|
organizer?: {
|
|
4892
|
-
email?: string | undefined;
|
|
4893
4896
|
displayName?: string | undefined;
|
|
4897
|
+
email?: string | undefined;
|
|
4894
4898
|
} | undefined;
|
|
4895
4899
|
startDayOfWeek?: string | undefined;
|
|
4896
4900
|
endDayOfWeek?: string | undefined;
|
|
@@ -4920,13 +4924,13 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
|
|
|
4920
4924
|
start?: string | undefined;
|
|
4921
4925
|
end?: string | undefined;
|
|
4922
4926
|
attendees?: {
|
|
4923
|
-
email?: string | undefined;
|
|
4924
4927
|
displayName?: string | undefined;
|
|
4928
|
+
email?: string | undefined;
|
|
4925
4929
|
responseStatus?: string | undefined;
|
|
4926
4930
|
}[] | undefined;
|
|
4927
4931
|
organizer?: {
|
|
4928
|
-
email?: string | undefined;
|
|
4929
4932
|
displayName?: string | undefined;
|
|
4933
|
+
email?: string | undefined;
|
|
4930
4934
|
} | undefined;
|
|
4931
4935
|
startDayOfWeek?: string | undefined;
|
|
4932
4936
|
endDayOfWeek?: string | undefined;
|
|
@@ -4956,13 +4960,13 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
|
|
|
4956
4960
|
start?: string | undefined;
|
|
4957
4961
|
end?: string | undefined;
|
|
4958
4962
|
attendees?: {
|
|
4959
|
-
email?: string | undefined;
|
|
4960
4963
|
displayName?: string | undefined;
|
|
4964
|
+
email?: string | undefined;
|
|
4961
4965
|
responseStatus?: string | undefined;
|
|
4962
4966
|
}[] | undefined;
|
|
4963
4967
|
organizer?: {
|
|
4964
|
-
email?: string | undefined;
|
|
4965
4968
|
displayName?: string | undefined;
|
|
4969
|
+
email?: string | undefined;
|
|
4966
4970
|
} | undefined;
|
|
4967
4971
|
startDayOfWeek?: string | undefined;
|
|
4968
4972
|
endDayOfWeek?: string | undefined;
|
|
@@ -4996,11 +5000,11 @@ export declare const googleOauthUpdateCalendarEventParamsSchema: z.ZodObject<{
|
|
|
4996
5000
|
email: z.ZodOptional<z.ZodString>;
|
|
4997
5001
|
displayName: z.ZodOptional<z.ZodString>;
|
|
4998
5002
|
}, "strip", z.ZodTypeAny, {
|
|
4999
|
-
email?: string | undefined;
|
|
5000
5003
|
displayName?: string | undefined;
|
|
5001
|
-
}, {
|
|
5002
5004
|
email?: string | undefined;
|
|
5005
|
+
}, {
|
|
5003
5006
|
displayName?: string | undefined;
|
|
5007
|
+
email?: string | undefined;
|
|
5004
5008
|
}>>;
|
|
5005
5009
|
timeZone: z.ZodOptional<z.ZodString>;
|
|
5006
5010
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5013,8 +5017,8 @@ export declare const googleOauthUpdateCalendarEventParamsSchema: z.ZodObject<{
|
|
|
5013
5017
|
attendees?: string[] | undefined;
|
|
5014
5018
|
timeZone?: string | undefined;
|
|
5015
5019
|
organizer?: {
|
|
5016
|
-
email?: string | undefined;
|
|
5017
5020
|
displayName?: string | undefined;
|
|
5021
|
+
email?: string | undefined;
|
|
5018
5022
|
} | undefined;
|
|
5019
5023
|
}, {
|
|
5020
5024
|
status?: string | undefined;
|
|
@@ -5026,8 +5030,8 @@ export declare const googleOauthUpdateCalendarEventParamsSchema: z.ZodObject<{
|
|
|
5026
5030
|
attendees?: string[] | undefined;
|
|
5027
5031
|
timeZone?: string | undefined;
|
|
5028
5032
|
organizer?: {
|
|
5029
|
-
email?: string | undefined;
|
|
5030
5033
|
displayName?: string | undefined;
|
|
5034
|
+
email?: string | undefined;
|
|
5031
5035
|
} | undefined;
|
|
5032
5036
|
}>>;
|
|
5033
5037
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5043,8 +5047,8 @@ export declare const googleOauthUpdateCalendarEventParamsSchema: z.ZodObject<{
|
|
|
5043
5047
|
attendees?: string[] | undefined;
|
|
5044
5048
|
timeZone?: string | undefined;
|
|
5045
5049
|
organizer?: {
|
|
5046
|
-
email?: string | undefined;
|
|
5047
5050
|
displayName?: string | undefined;
|
|
5051
|
+
email?: string | undefined;
|
|
5048
5052
|
} | undefined;
|
|
5049
5053
|
} | undefined;
|
|
5050
5054
|
}, {
|
|
@@ -5060,8 +5064,8 @@ export declare const googleOauthUpdateCalendarEventParamsSchema: z.ZodObject<{
|
|
|
5060
5064
|
attendees?: string[] | undefined;
|
|
5061
5065
|
timeZone?: string | undefined;
|
|
5062
5066
|
organizer?: {
|
|
5063
|
-
email?: string | undefined;
|
|
5064
5067
|
displayName?: string | undefined;
|
|
5068
|
+
email?: string | undefined;
|
|
5065
5069
|
} | undefined;
|
|
5066
5070
|
} | undefined;
|
|
5067
5071
|
}>;
|
|
@@ -5098,11 +5102,11 @@ export declare const googleOauthEditAGoogleCalendarEventParamsSchema: z.ZodObjec
|
|
|
5098
5102
|
email: z.ZodOptional<z.ZodString>;
|
|
5099
5103
|
displayName: z.ZodOptional<z.ZodString>;
|
|
5100
5104
|
}, "strip", z.ZodTypeAny, {
|
|
5101
|
-
email?: string | undefined;
|
|
5102
5105
|
displayName?: string | undefined;
|
|
5103
|
-
}, {
|
|
5104
5106
|
email?: string | undefined;
|
|
5107
|
+
}, {
|
|
5105
5108
|
displayName?: string | undefined;
|
|
5109
|
+
email?: string | undefined;
|
|
5106
5110
|
}>>;
|
|
5107
5111
|
timeZone: z.ZodOptional<z.ZodString>;
|
|
5108
5112
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5117,8 +5121,8 @@ export declare const googleOauthEditAGoogleCalendarEventParamsSchema: z.ZodObjec
|
|
|
5117
5121
|
attendees?: string[] | undefined;
|
|
5118
5122
|
timeZone?: string | undefined;
|
|
5119
5123
|
organizer?: {
|
|
5120
|
-
email?: string | undefined;
|
|
5121
5124
|
displayName?: string | undefined;
|
|
5125
|
+
email?: string | undefined;
|
|
5122
5126
|
} | undefined;
|
|
5123
5127
|
}, {
|
|
5124
5128
|
calendarId: string;
|
|
@@ -5132,8 +5136,8 @@ export declare const googleOauthEditAGoogleCalendarEventParamsSchema: z.ZodObjec
|
|
|
5132
5136
|
attendees?: string[] | undefined;
|
|
5133
5137
|
timeZone?: string | undefined;
|
|
5134
5138
|
organizer?: {
|
|
5135
|
-
email?: string | undefined;
|
|
5136
5139
|
displayName?: string | undefined;
|
|
5140
|
+
email?: string | undefined;
|
|
5137
5141
|
} | undefined;
|
|
5138
5142
|
}>;
|
|
5139
5143
|
export type googleOauthEditAGoogleCalendarEventParamsType = z.infer<typeof googleOauthEditAGoogleCalendarEventParamsSchema>;
|
|
@@ -5438,6 +5442,92 @@ export declare const googleOauthAppendRowsToSpreadsheetOutputSchema: z.ZodObject
|
|
|
5438
5442
|
}>;
|
|
5439
5443
|
export type googleOauthAppendRowsToSpreadsheetOutputType = z.infer<typeof googleOauthAppendRowsToSpreadsheetOutputSchema>;
|
|
5440
5444
|
export type googleOauthAppendRowsToSpreadsheetFunction = ActionFunction<googleOauthAppendRowsToSpreadsheetParamsType, AuthParamsType, googleOauthAppendRowsToSpreadsheetOutputType>;
|
|
5445
|
+
export declare const googleOauthDeleteRowFromSpreadsheetParamsSchema: z.ZodObject<{
|
|
5446
|
+
spreadsheetId: z.ZodString;
|
|
5447
|
+
sheetId: z.ZodNumber;
|
|
5448
|
+
rowIndex: z.ZodNumber;
|
|
5449
|
+
}, "strip", z.ZodTypeAny, {
|
|
5450
|
+
spreadsheetId: string;
|
|
5451
|
+
sheetId: number;
|
|
5452
|
+
rowIndex: number;
|
|
5453
|
+
}, {
|
|
5454
|
+
spreadsheetId: string;
|
|
5455
|
+
sheetId: number;
|
|
5456
|
+
rowIndex: number;
|
|
5457
|
+
}>;
|
|
5458
|
+
export type googleOauthDeleteRowFromSpreadsheetParamsType = z.infer<typeof googleOauthDeleteRowFromSpreadsheetParamsSchema>;
|
|
5459
|
+
export declare const googleOauthDeleteRowFromSpreadsheetOutputSchema: z.ZodObject<{
|
|
5460
|
+
success: z.ZodBoolean;
|
|
5461
|
+
spreadsheetUrl: z.ZodOptional<z.ZodString>;
|
|
5462
|
+
replies: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "many">>;
|
|
5463
|
+
error: z.ZodOptional<z.ZodString>;
|
|
5464
|
+
}, "strip", z.ZodTypeAny, {
|
|
5465
|
+
success: boolean;
|
|
5466
|
+
error?: string | undefined;
|
|
5467
|
+
spreadsheetUrl?: string | undefined;
|
|
5468
|
+
replies?: z.objectOutputType<{}, z.ZodAny, "strip">[] | undefined;
|
|
5469
|
+
}, {
|
|
5470
|
+
success: boolean;
|
|
5471
|
+
error?: string | undefined;
|
|
5472
|
+
spreadsheetUrl?: string | undefined;
|
|
5473
|
+
replies?: z.objectInputType<{}, z.ZodAny, "strip">[] | undefined;
|
|
5474
|
+
}>;
|
|
5475
|
+
export type googleOauthDeleteRowFromSpreadsheetOutputType = z.infer<typeof googleOauthDeleteRowFromSpreadsheetOutputSchema>;
|
|
5476
|
+
export type googleOauthDeleteRowFromSpreadsheetFunction = ActionFunction<googleOauthDeleteRowFromSpreadsheetParamsType, AuthParamsType, googleOauthDeleteRowFromSpreadsheetOutputType>;
|
|
5477
|
+
export declare const googleOauthUpdateRowsInSpreadsheetParamsSchema: z.ZodObject<{
|
|
5478
|
+
spreadsheetId: z.ZodString;
|
|
5479
|
+
sheetName: z.ZodOptional<z.ZodString>;
|
|
5480
|
+
startRow: z.ZodNumber;
|
|
5481
|
+
rows: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
5482
|
+
stringValue: z.ZodString;
|
|
5483
|
+
}, "strip", z.ZodTypeAny, {
|
|
5484
|
+
stringValue: string;
|
|
5485
|
+
}, {
|
|
5486
|
+
stringValue: string;
|
|
5487
|
+
}>, "many">, "many">;
|
|
5488
|
+
}, "strip", z.ZodTypeAny, {
|
|
5489
|
+
spreadsheetId: string;
|
|
5490
|
+
rows: {
|
|
5491
|
+
stringValue: string;
|
|
5492
|
+
}[][];
|
|
5493
|
+
startRow: number;
|
|
5494
|
+
sheetName?: string | undefined;
|
|
5495
|
+
}, {
|
|
5496
|
+
spreadsheetId: string;
|
|
5497
|
+
rows: {
|
|
5498
|
+
stringValue: string;
|
|
5499
|
+
}[][];
|
|
5500
|
+
startRow: number;
|
|
5501
|
+
sheetName?: string | undefined;
|
|
5502
|
+
}>;
|
|
5503
|
+
export type googleOauthUpdateRowsInSpreadsheetParamsType = z.infer<typeof googleOauthUpdateRowsInSpreadsheetParamsSchema>;
|
|
5504
|
+
export declare const googleOauthUpdateRowsInSpreadsheetOutputSchema: z.ZodObject<{
|
|
5505
|
+
success: z.ZodBoolean;
|
|
5506
|
+
spreadsheetUrl: z.ZodOptional<z.ZodString>;
|
|
5507
|
+
updatedRange: z.ZodOptional<z.ZodString>;
|
|
5508
|
+
updatedRows: z.ZodOptional<z.ZodNumber>;
|
|
5509
|
+
updatedColumns: z.ZodOptional<z.ZodNumber>;
|
|
5510
|
+
updatedCells: z.ZodOptional<z.ZodNumber>;
|
|
5511
|
+
error: z.ZodOptional<z.ZodString>;
|
|
5512
|
+
}, "strip", z.ZodTypeAny, {
|
|
5513
|
+
success: boolean;
|
|
5514
|
+
error?: string | undefined;
|
|
5515
|
+
spreadsheetUrl?: string | undefined;
|
|
5516
|
+
updatedRange?: string | undefined;
|
|
5517
|
+
updatedRows?: number | undefined;
|
|
5518
|
+
updatedColumns?: number | undefined;
|
|
5519
|
+
updatedCells?: number | undefined;
|
|
5520
|
+
}, {
|
|
5521
|
+
success: boolean;
|
|
5522
|
+
error?: string | undefined;
|
|
5523
|
+
spreadsheetUrl?: string | undefined;
|
|
5524
|
+
updatedRange?: string | undefined;
|
|
5525
|
+
updatedRows?: number | undefined;
|
|
5526
|
+
updatedColumns?: number | undefined;
|
|
5527
|
+
updatedCells?: number | undefined;
|
|
5528
|
+
}>;
|
|
5529
|
+
export type googleOauthUpdateRowsInSpreadsheetOutputType = z.infer<typeof googleOauthUpdateRowsInSpreadsheetOutputSchema>;
|
|
5530
|
+
export type googleOauthUpdateRowsInSpreadsheetFunction = ActionFunction<googleOauthUpdateRowsInSpreadsheetParamsType, AuthParamsType, googleOauthUpdateRowsInSpreadsheetOutputType>;
|
|
5441
5531
|
export declare const googleOauthCreatePresentationParamsSchema: z.ZodObject<{
|
|
5442
5532
|
title: z.ZodString;
|
|
5443
5533
|
pageSize: z.ZodOptional<z.ZodObject<{
|
|
@@ -7122,6 +7212,29 @@ export declare const salesforceListReportsOutputSchema: z.ZodObject<{
|
|
|
7122
7212
|
}>;
|
|
7123
7213
|
export type salesforceListReportsOutputType = z.infer<typeof salesforceListReportsOutputSchema>;
|
|
7124
7214
|
export type salesforceListReportsFunction = ActionFunction<salesforceListReportsParamsType, AuthParamsType, salesforceListReportsOutputType>;
|
|
7215
|
+
export declare const salesforceExecuteReportParamsSchema: z.ZodObject<{
|
|
7216
|
+
reportId: z.ZodString;
|
|
7217
|
+
includeDetails: z.ZodOptional<z.ZodBoolean>;
|
|
7218
|
+
}, "strip", z.ZodTypeAny, {
|
|
7219
|
+
reportId: string;
|
|
7220
|
+
includeDetails?: boolean | undefined;
|
|
7221
|
+
}, {
|
|
7222
|
+
reportId: string;
|
|
7223
|
+
includeDetails?: boolean | undefined;
|
|
7224
|
+
}>;
|
|
7225
|
+
export type salesforceExecuteReportParamsType = z.infer<typeof salesforceExecuteReportParamsSchema>;
|
|
7226
|
+
export declare const salesforceExecuteReportOutputSchema: z.ZodObject<{
|
|
7227
|
+
success: z.ZodBoolean;
|
|
7228
|
+
error: z.ZodOptional<z.ZodString>;
|
|
7229
|
+
}, "strip", z.ZodTypeAny, {
|
|
7230
|
+
success: boolean;
|
|
7231
|
+
error?: string | undefined;
|
|
7232
|
+
}, {
|
|
7233
|
+
success: boolean;
|
|
7234
|
+
error?: string | undefined;
|
|
7235
|
+
}>;
|
|
7236
|
+
export type salesforceExecuteReportOutputType = z.infer<typeof salesforceExecuteReportOutputSchema>;
|
|
7237
|
+
export type salesforceExecuteReportFunction = ActionFunction<salesforceExecuteReportParamsType, AuthParamsType, salesforceExecuteReportOutputType>;
|
|
7125
7238
|
export declare const salesforceSearchSalesforceRecordsParamsSchema: z.ZodObject<{
|
|
7126
7239
|
keyword: z.ZodString;
|
|
7127
7240
|
recordType: z.ZodString;
|
|
@@ -7313,6 +7426,95 @@ export declare const salesforceGetRecordOutputSchema: z.ZodObject<{
|
|
|
7313
7426
|
}>;
|
|
7314
7427
|
export type salesforceGetRecordOutputType = z.infer<typeof salesforceGetRecordOutputSchema>;
|
|
7315
7428
|
export type salesforceGetRecordFunction = ActionFunction<salesforceGetRecordParamsType, AuthParamsType, salesforceGetRecordOutputType>;
|
|
7429
|
+
export declare const salesforceGetReportMetadataParamsSchema: z.ZodObject<{
|
|
7430
|
+
reportId: z.ZodString;
|
|
7431
|
+
}, "strip", z.ZodTypeAny, {
|
|
7432
|
+
reportId: string;
|
|
7433
|
+
}, {
|
|
7434
|
+
reportId: string;
|
|
7435
|
+
}>;
|
|
7436
|
+
export type salesforceGetReportMetadataParamsType = z.infer<typeof salesforceGetReportMetadataParamsSchema>;
|
|
7437
|
+
export declare const salesforceGetReportMetadataOutputSchema: z.ZodObject<{
|
|
7438
|
+
success: z.ZodBoolean;
|
|
7439
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
7440
|
+
reportType: z.ZodOptional<z.ZodObject<{
|
|
7441
|
+
type: z.ZodOptional<z.ZodString>;
|
|
7442
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7443
|
+
}, "strip", z.ZodTypeAny, {
|
|
7444
|
+
type?: string | undefined;
|
|
7445
|
+
label?: string | undefined;
|
|
7446
|
+
}, {
|
|
7447
|
+
type?: string | undefined;
|
|
7448
|
+
label?: string | undefined;
|
|
7449
|
+
}>>;
|
|
7450
|
+
detailColumns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7451
|
+
reportFilters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
7452
|
+
reportBooleanFilter: z.ZodOptional<z.ZodString>;
|
|
7453
|
+
standardDateFilter: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
|
|
7454
|
+
groupingsDown: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
7455
|
+
groupingsAcross: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
7456
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
7457
|
+
}, "strip", z.ZodTypeAny, {
|
|
7458
|
+
reportType?: {
|
|
7459
|
+
type?: string | undefined;
|
|
7460
|
+
label?: string | undefined;
|
|
7461
|
+
} | undefined;
|
|
7462
|
+
detailColumns?: string[] | undefined;
|
|
7463
|
+
reportFilters?: any[] | undefined;
|
|
7464
|
+
reportBooleanFilter?: string | undefined;
|
|
7465
|
+
standardDateFilter?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
7466
|
+
groupingsDown?: any[] | undefined;
|
|
7467
|
+
groupingsAcross?: any[] | undefined;
|
|
7468
|
+
scope?: string | undefined;
|
|
7469
|
+
}, {
|
|
7470
|
+
reportType?: {
|
|
7471
|
+
type?: string | undefined;
|
|
7472
|
+
label?: string | undefined;
|
|
7473
|
+
} | undefined;
|
|
7474
|
+
detailColumns?: string[] | undefined;
|
|
7475
|
+
reportFilters?: any[] | undefined;
|
|
7476
|
+
reportBooleanFilter?: string | undefined;
|
|
7477
|
+
standardDateFilter?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
7478
|
+
groupingsDown?: any[] | undefined;
|
|
7479
|
+
groupingsAcross?: any[] | undefined;
|
|
7480
|
+
scope?: string | undefined;
|
|
7481
|
+
}>>;
|
|
7482
|
+
error: z.ZodOptional<z.ZodString>;
|
|
7483
|
+
}, "strip", z.ZodTypeAny, {
|
|
7484
|
+
success: boolean;
|
|
7485
|
+
error?: string | undefined;
|
|
7486
|
+
metadata?: {
|
|
7487
|
+
reportType?: {
|
|
7488
|
+
type?: string | undefined;
|
|
7489
|
+
label?: string | undefined;
|
|
7490
|
+
} | undefined;
|
|
7491
|
+
detailColumns?: string[] | undefined;
|
|
7492
|
+
reportFilters?: any[] | undefined;
|
|
7493
|
+
reportBooleanFilter?: string | undefined;
|
|
7494
|
+
standardDateFilter?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
7495
|
+
groupingsDown?: any[] | undefined;
|
|
7496
|
+
groupingsAcross?: any[] | undefined;
|
|
7497
|
+
scope?: string | undefined;
|
|
7498
|
+
} | undefined;
|
|
7499
|
+
}, {
|
|
7500
|
+
success: boolean;
|
|
7501
|
+
error?: string | undefined;
|
|
7502
|
+
metadata?: {
|
|
7503
|
+
reportType?: {
|
|
7504
|
+
type?: string | undefined;
|
|
7505
|
+
label?: string | undefined;
|
|
7506
|
+
} | undefined;
|
|
7507
|
+
detailColumns?: string[] | undefined;
|
|
7508
|
+
reportFilters?: any[] | undefined;
|
|
7509
|
+
reportBooleanFilter?: string | undefined;
|
|
7510
|
+
standardDateFilter?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
7511
|
+
groupingsDown?: any[] | undefined;
|
|
7512
|
+
groupingsAcross?: any[] | undefined;
|
|
7513
|
+
scope?: string | undefined;
|
|
7514
|
+
} | undefined;
|
|
7515
|
+
}>;
|
|
7516
|
+
export type salesforceGetReportMetadataOutputType = z.infer<typeof salesforceGetReportMetadataOutputSchema>;
|
|
7517
|
+
export type salesforceGetReportMetadataFunction = ActionFunction<salesforceGetReportMetadataParamsType, AuthParamsType, salesforceGetReportMetadataOutputType>;
|
|
7316
7518
|
export declare const microsoftCreateDocumentParamsSchema: z.ZodObject<{
|
|
7317
7519
|
siteId: z.ZodOptional<z.ZodString>;
|
|
7318
7520
|
name: z.ZodString;
|
|
@@ -9542,14 +9744,6 @@ export declare const gitlabGetMergeRequestOutputSchema: z.ZodObject<{
|
|
|
9542
9744
|
author_email: string;
|
|
9543
9745
|
}>, "many">;
|
|
9544
9746
|
}, "strip", z.ZodTypeAny, {
|
|
9545
|
-
commits: {
|
|
9546
|
-
message: string;
|
|
9547
|
-
id: string;
|
|
9548
|
-
created_at: string;
|
|
9549
|
-
title: string;
|
|
9550
|
-
author_name: string;
|
|
9551
|
-
author_email: string;
|
|
9552
|
-
}[];
|
|
9553
9747
|
metadata: {
|
|
9554
9748
|
description: string;
|
|
9555
9749
|
id: number;
|
|
@@ -9574,6 +9768,14 @@ export declare const gitlabGetMergeRequestOutputSchema: z.ZodObject<{
|
|
|
9574
9768
|
};
|
|
9575
9769
|
target_sha?: string | undefined;
|
|
9576
9770
|
};
|
|
9771
|
+
commits: {
|
|
9772
|
+
message: string;
|
|
9773
|
+
id: string;
|
|
9774
|
+
created_at: string;
|
|
9775
|
+
title: string;
|
|
9776
|
+
author_name: string;
|
|
9777
|
+
author_email: string;
|
|
9778
|
+
}[];
|
|
9577
9779
|
changes: {
|
|
9578
9780
|
old_path: string;
|
|
9579
9781
|
new_path: string;
|
|
@@ -9583,14 +9785,6 @@ export declare const gitlabGetMergeRequestOutputSchema: z.ZodObject<{
|
|
|
9583
9785
|
deleted_file: boolean;
|
|
9584
9786
|
}[];
|
|
9585
9787
|
}, {
|
|
9586
|
-
commits: {
|
|
9587
|
-
message: string;
|
|
9588
|
-
id: string;
|
|
9589
|
-
created_at: string;
|
|
9590
|
-
title: string;
|
|
9591
|
-
author_name: string;
|
|
9592
|
-
author_email: string;
|
|
9593
|
-
}[];
|
|
9594
9788
|
metadata: {
|
|
9595
9789
|
description: string;
|
|
9596
9790
|
id: number;
|
|
@@ -9615,6 +9809,14 @@ export declare const gitlabGetMergeRequestOutputSchema: z.ZodObject<{
|
|
|
9615
9809
|
};
|
|
9616
9810
|
target_sha?: string | undefined;
|
|
9617
9811
|
};
|
|
9812
|
+
commits: {
|
|
9813
|
+
message: string;
|
|
9814
|
+
id: string;
|
|
9815
|
+
created_at: string;
|
|
9816
|
+
title: string;
|
|
9817
|
+
author_name: string;
|
|
9818
|
+
author_email: string;
|
|
9819
|
+
}[];
|
|
9618
9820
|
changes: {
|
|
9619
9821
|
old_path: string;
|
|
9620
9822
|
new_path: string;
|
|
@@ -9628,14 +9830,6 @@ export declare const gitlabGetMergeRequestOutputSchema: z.ZodObject<{
|
|
|
9628
9830
|
success: boolean;
|
|
9629
9831
|
error?: string | undefined;
|
|
9630
9832
|
results?: {
|
|
9631
|
-
commits: {
|
|
9632
|
-
message: string;
|
|
9633
|
-
id: string;
|
|
9634
|
-
created_at: string;
|
|
9635
|
-
title: string;
|
|
9636
|
-
author_name: string;
|
|
9637
|
-
author_email: string;
|
|
9638
|
-
}[];
|
|
9639
9833
|
metadata: {
|
|
9640
9834
|
description: string;
|
|
9641
9835
|
id: number;
|
|
@@ -9660,6 +9854,14 @@ export declare const gitlabGetMergeRequestOutputSchema: z.ZodObject<{
|
|
|
9660
9854
|
};
|
|
9661
9855
|
target_sha?: string | undefined;
|
|
9662
9856
|
};
|
|
9857
|
+
commits: {
|
|
9858
|
+
message: string;
|
|
9859
|
+
id: string;
|
|
9860
|
+
created_at: string;
|
|
9861
|
+
title: string;
|
|
9862
|
+
author_name: string;
|
|
9863
|
+
author_email: string;
|
|
9864
|
+
}[];
|
|
9663
9865
|
changes: {
|
|
9664
9866
|
old_path: string;
|
|
9665
9867
|
new_path: string;
|
|
@@ -9673,14 +9875,6 @@ export declare const gitlabGetMergeRequestOutputSchema: z.ZodObject<{
|
|
|
9673
9875
|
success: boolean;
|
|
9674
9876
|
error?: string | undefined;
|
|
9675
9877
|
results?: {
|
|
9676
|
-
commits: {
|
|
9677
|
-
message: string;
|
|
9678
|
-
id: string;
|
|
9679
|
-
created_at: string;
|
|
9680
|
-
title: string;
|
|
9681
|
-
author_name: string;
|
|
9682
|
-
author_email: string;
|
|
9683
|
-
}[];
|
|
9684
9878
|
metadata: {
|
|
9685
9879
|
description: string;
|
|
9686
9880
|
id: number;
|
|
@@ -9705,6 +9899,14 @@ export declare const gitlabGetMergeRequestOutputSchema: z.ZodObject<{
|
|
|
9705
9899
|
};
|
|
9706
9900
|
target_sha?: string | undefined;
|
|
9707
9901
|
};
|
|
9902
|
+
commits: {
|
|
9903
|
+
message: string;
|
|
9904
|
+
id: string;
|
|
9905
|
+
created_at: string;
|
|
9906
|
+
title: string;
|
|
9907
|
+
author_name: string;
|
|
9908
|
+
author_email: string;
|
|
9909
|
+
}[];
|
|
9708
9910
|
changes: {
|
|
9709
9911
|
old_path: string;
|
|
9710
9912
|
new_path: string;
|
|
@@ -101,6 +101,8 @@ export var ActionName;
|
|
|
101
101
|
ActionName["CREATESPREADSHEET"] = "createSpreadsheet";
|
|
102
102
|
ActionName["UPDATESPREADSHEET"] = "updateSpreadsheet";
|
|
103
103
|
ActionName["APPENDROWSTOSPREADSHEET"] = "appendRowsToSpreadsheet";
|
|
104
|
+
ActionName["DELETEROWFROMSPREADSHEET"] = "deleteRowFromSpreadsheet";
|
|
105
|
+
ActionName["UPDATEROWSINSPREADSHEET"] = "updateRowsInSpreadsheet";
|
|
104
106
|
ActionName["CREATEPRESENTATION"] = "createPresentation";
|
|
105
107
|
ActionName["UPDATEPRESENTATION"] = "updatePresentation";
|
|
106
108
|
ActionName["GETPRESENTATION"] = "getPresentation";
|
|
@@ -130,9 +132,11 @@ export var ActionName;
|
|
|
130
132
|
ActionName["GENERATESALESREPORT"] = "generateSalesReport";
|
|
131
133
|
ActionName["SEARCHALLSALESFORCERECORDS"] = "searchAllSalesforceRecords";
|
|
132
134
|
ActionName["LISTREPORTS"] = "listReports";
|
|
135
|
+
ActionName["EXECUTEREPORT"] = "executeReport";
|
|
133
136
|
ActionName["SEARCHSALESFORCERECORDS"] = "searchSalesforceRecords";
|
|
134
137
|
ActionName["GETSALESFORCERECORDSBYQUERY"] = "getSalesforceRecordsByQuery";
|
|
135
138
|
ActionName["GETRECORD"] = "getRecord";
|
|
139
|
+
ActionName["GETREPORTMETADATA"] = "getReportMetadata";
|
|
136
140
|
ActionName["CREATEDOCUMENT"] = "createDocument";
|
|
137
141
|
ActionName["UPDATEDOCUMENT"] = "updateDocument";
|
|
138
142
|
ActionName["MESSAGETEAMSCHAT"] = "messageTeamsChat";
|
|
@@ -2512,6 +2516,52 @@ export const googleOauthAppendRowsToSpreadsheetOutputSchema = z.object({
|
|
|
2512
2516
|
spreadsheetUrl: z.string().describe("The URL of the updated spreadsheet").optional(),
|
|
2513
2517
|
error: z.string().describe("The error that occurred if the spreadsheet was not updated successfully").optional(),
|
|
2514
2518
|
});
|
|
2519
|
+
export const googleOauthDeleteRowFromSpreadsheetParamsSchema = z.object({
|
|
2520
|
+
spreadsheetId: z
|
|
2521
|
+
.string()
|
|
2522
|
+
.describe('The ID of the Google Spreadsheet. This should be provided by the user. Can be found in the URL of the spreadsheet. For example, "1bWp1w2OVwH19mkXEiLIaP8As7N-9c_3EXF_Eo5d5Nm0".'),
|
|
2523
|
+
sheetId: z
|
|
2524
|
+
.number()
|
|
2525
|
+
.int()
|
|
2526
|
+
.describe('The ID of the specific sheet within the spreadsheet (not the sheet name). Sheet ID is 0 for the first sheet. Can be found in the URL after "gid=". For example, if the URL is "...#gid=123456789", the sheetId is 123456789.'),
|
|
2527
|
+
rowIndex: z
|
|
2528
|
+
.number()
|
|
2529
|
+
.int()
|
|
2530
|
+
.describe("The 0-based index of the row to delete. For example, to delete the first row (excluding headers if row 0 is headers), use rowIndex 1. To delete the header row, use rowIndex 0."),
|
|
2531
|
+
});
|
|
2532
|
+
export const googleOauthDeleteRowFromSpreadsheetOutputSchema = z.object({
|
|
2533
|
+
success: z.boolean().describe("Whether the row was deleted successfully"),
|
|
2534
|
+
spreadsheetUrl: z.string().describe("The URL of the updated spreadsheet").optional(),
|
|
2535
|
+
replies: z.array(z.object({}).catchall(z.any())).describe("The replies from the batchUpdate request").optional(),
|
|
2536
|
+
error: z.string().describe("The error that occurred if the row was not deleted successfully").optional(),
|
|
2537
|
+
});
|
|
2538
|
+
export const googleOauthUpdateRowsInSpreadsheetParamsSchema = z.object({
|
|
2539
|
+
spreadsheetId: z
|
|
2540
|
+
.string()
|
|
2541
|
+
.describe('The ID of the Google Spreadsheet. This should be provided by the user. Can be found in the URL of the spreadsheet. For example, "1bWp1w2OVwH19mkXEiLIaP8As7N-9c_3EXF_Eo5d5Nm0".'),
|
|
2542
|
+
sheetName: z
|
|
2543
|
+
.string()
|
|
2544
|
+
.describe('The name of the SHEET to update. This should be provided by the user. For example, "Sheet1". Defaults to "Sheet1" if not provided.')
|
|
2545
|
+
.optional(),
|
|
2546
|
+
startRow: z
|
|
2547
|
+
.number()
|
|
2548
|
+
.int()
|
|
2549
|
+
.describe("The row number to start updating from (1-based). For example, to update starting from the first row, use 1. To start from the second row, use 2."),
|
|
2550
|
+
rows: z
|
|
2551
|
+
.array(z
|
|
2552
|
+
.array(z.object({ stringValue: z.string().describe("The value of the cell") }))
|
|
2553
|
+
.describe("A list of cells for this row"))
|
|
2554
|
+
.describe("Rows of cells to update in the spreadsheet. Each row will be written sequentially starting from startRow."),
|
|
2555
|
+
});
|
|
2556
|
+
export const googleOauthUpdateRowsInSpreadsheetOutputSchema = z.object({
|
|
2557
|
+
success: z.boolean().describe("Whether the rows were updated successfully"),
|
|
2558
|
+
spreadsheetUrl: z.string().describe("The URL of the updated spreadsheet").optional(),
|
|
2559
|
+
updatedRange: z.string().describe("The range that was updated in A1 notation").optional(),
|
|
2560
|
+
updatedRows: z.number().int().describe("The number of rows that were updated").optional(),
|
|
2561
|
+
updatedColumns: z.number().int().describe("The number of columns that were updated").optional(),
|
|
2562
|
+
updatedCells: z.number().int().describe("The total number of cells that were updated").optional(),
|
|
2563
|
+
error: z.string().describe("The error that occurred if the rows were not updated successfully").optional(),
|
|
2564
|
+
});
|
|
2515
2565
|
export const googleOauthCreatePresentationParamsSchema = z.object({
|
|
2516
2566
|
title: z.string().describe("The title of the presentation"),
|
|
2517
2567
|
pageSize: z
|
|
@@ -3671,6 +3721,14 @@ export const salesforceListReportsOutputSchema = z.object({
|
|
|
3671
3721
|
.optional(),
|
|
3672
3722
|
error: z.string().describe("The error that occurred if the reports were not successfully retrieved").optional(),
|
|
3673
3723
|
});
|
|
3724
|
+
export const salesforceExecuteReportParamsSchema = z.object({
|
|
3725
|
+
reportId: z.string().describe("Id for the report to execute"),
|
|
3726
|
+
includeDetails: z.boolean().describe("Whether to include detailed report metadata in the response").optional(),
|
|
3727
|
+
});
|
|
3728
|
+
export const salesforceExecuteReportOutputSchema = z.object({
|
|
3729
|
+
success: z.boolean().describe("Whether the report was successfully executed"),
|
|
3730
|
+
error: z.string().describe("The error that occurred if the report was not successfully executed").optional(),
|
|
3731
|
+
});
|
|
3674
3732
|
export const salesforceSearchSalesforceRecordsParamsSchema = z.object({
|
|
3675
3733
|
keyword: z.string().describe("The keyword to search for"),
|
|
3676
3734
|
recordType: z.string().describe("The type of record to search for"),
|
|
@@ -3724,6 +3782,35 @@ export const salesforceGetRecordOutputSchema = z.object({
|
|
|
3724
3782
|
record: z.record(z.string()).describe("The retrieved record data").optional(),
|
|
3725
3783
|
error: z.string().describe("The error that occurred if the record was not successfully retrieved").optional(),
|
|
3726
3784
|
});
|
|
3785
|
+
export const salesforceGetReportMetadataParamsSchema = z.object({
|
|
3786
|
+
reportId: z.string().describe("Id for the report to retrieve metadata for"),
|
|
3787
|
+
});
|
|
3788
|
+
export const salesforceGetReportMetadataOutputSchema = z.object({
|
|
3789
|
+
success: z.boolean().describe("Whether the report metadata was successfully retrieved"),
|
|
3790
|
+
metadata: z
|
|
3791
|
+
.object({
|
|
3792
|
+
reportType: z
|
|
3793
|
+
.object({
|
|
3794
|
+
type: z.string().describe("The type of the report").optional(),
|
|
3795
|
+
label: z.string().describe("The label of the report type").optional(),
|
|
3796
|
+
})
|
|
3797
|
+
.describe("Report type information")
|
|
3798
|
+
.optional(),
|
|
3799
|
+
detailColumns: z.array(z.string()).describe("Detail columns in the report").optional(),
|
|
3800
|
+
reportFilters: z.array(z.any()).describe("Filters applied to the report").optional(),
|
|
3801
|
+
reportBooleanFilter: z.string().describe("Boolean filter logic for the report").optional(),
|
|
3802
|
+
standardDateFilter: z.object({}).catchall(z.any()).describe("Standard date filter configuration").optional(),
|
|
3803
|
+
groupingsDown: z.array(z.any()).describe("Row groupings for the report").optional(),
|
|
3804
|
+
groupingsAcross: z.array(z.any()).describe("Column groupings for matrix reports").optional(),
|
|
3805
|
+
scope: z.string().describe("The scope of the report").optional(),
|
|
3806
|
+
})
|
|
3807
|
+
.describe("Filtered metadata from the report")
|
|
3808
|
+
.optional(),
|
|
3809
|
+
error: z
|
|
3810
|
+
.string()
|
|
3811
|
+
.describe("The error that occurred if the report metadata was not successfully retrieved")
|
|
3812
|
+
.optional(),
|
|
3813
|
+
});
|
|
3727
3814
|
export const microsoftCreateDocumentParamsSchema = z.object({
|
|
3728
3815
|
siteId: z.string().describe("The ID of the site where the document will be created").optional(),
|
|
3729
3816
|
name: z.string().describe("The name of the new document (include extension like .docx or .xlsx)"),
|