@voltagent/core 1.2.20 → 1.2.21
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/index.d.mts +443 -1
- package/dist/index.d.ts +443 -1
- package/dist/index.js +625 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +625 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1991,6 +1991,22 @@ type VoltOpsDiscordCredential = VoltOpsStoredCredentialRef | WithCredentialMetad
|
|
|
1991
1991
|
}> | WithCredentialMetadata<{
|
|
1992
1992
|
webhookUrl: string;
|
|
1993
1993
|
}>;
|
|
1994
|
+
type VoltOpsGoogleCalendarCredential = VoltOpsStoredCredentialRef | WithCredentialMetadata<{
|
|
1995
|
+
accessToken?: string;
|
|
1996
|
+
refreshToken?: string;
|
|
1997
|
+
clientId?: string;
|
|
1998
|
+
clientSecret?: string;
|
|
1999
|
+
tokenType?: string;
|
|
2000
|
+
expiresAt?: string;
|
|
2001
|
+
}>;
|
|
2002
|
+
type VoltOpsGoogleDriveCredential = VoltOpsStoredCredentialRef | WithCredentialMetadata<{
|
|
2003
|
+
accessToken?: string;
|
|
2004
|
+
refreshToken?: string;
|
|
2005
|
+
clientId?: string;
|
|
2006
|
+
clientSecret?: string;
|
|
2007
|
+
tokenType?: string;
|
|
2008
|
+
expiresAt?: string;
|
|
2009
|
+
}>;
|
|
1994
2010
|
type VoltOpsPostgresCredential = VoltOpsStoredCredentialRef | WithCredentialMetadata<{
|
|
1995
2011
|
host: string;
|
|
1996
2012
|
port?: number;
|
|
@@ -2251,6 +2267,118 @@ interface VoltOpsGmailGetThreadParams extends VoltOpsGmailBaseParams {
|
|
|
2251
2267
|
threadId: string;
|
|
2252
2268
|
format?: "full" | "minimal" | "raw" | "metadata";
|
|
2253
2269
|
}
|
|
2270
|
+
interface VoltOpsGoogleCalendarBaseParams {
|
|
2271
|
+
credential: VoltOpsGoogleCalendarCredential;
|
|
2272
|
+
actionId?: string;
|
|
2273
|
+
catalogId?: string;
|
|
2274
|
+
projectId?: string | null;
|
|
2275
|
+
}
|
|
2276
|
+
interface VoltOpsGoogleCalendarCreateParams extends VoltOpsGoogleCalendarBaseParams {
|
|
2277
|
+
calendarId?: string;
|
|
2278
|
+
summary: string;
|
|
2279
|
+
start: {
|
|
2280
|
+
dateTime: string;
|
|
2281
|
+
timeZone?: string | null;
|
|
2282
|
+
};
|
|
2283
|
+
end: {
|
|
2284
|
+
dateTime: string;
|
|
2285
|
+
timeZone?: string | null;
|
|
2286
|
+
};
|
|
2287
|
+
description?: string;
|
|
2288
|
+
location?: string;
|
|
2289
|
+
status?: string;
|
|
2290
|
+
attendees?: Array<{
|
|
2291
|
+
email: string;
|
|
2292
|
+
optional?: boolean;
|
|
2293
|
+
comment?: string;
|
|
2294
|
+
}>;
|
|
2295
|
+
}
|
|
2296
|
+
interface VoltOpsGoogleCalendarUpdateParams extends VoltOpsGoogleCalendarBaseParams {
|
|
2297
|
+
eventId: string;
|
|
2298
|
+
calendarId?: string;
|
|
2299
|
+
summary?: string;
|
|
2300
|
+
description?: string;
|
|
2301
|
+
location?: string;
|
|
2302
|
+
status?: string;
|
|
2303
|
+
start?: {
|
|
2304
|
+
dateTime: string;
|
|
2305
|
+
timeZone?: string | null;
|
|
2306
|
+
} | null;
|
|
2307
|
+
end?: {
|
|
2308
|
+
dateTime: string;
|
|
2309
|
+
timeZone?: string | null;
|
|
2310
|
+
} | null;
|
|
2311
|
+
attendees?: Array<{
|
|
2312
|
+
email: string;
|
|
2313
|
+
optional?: boolean;
|
|
2314
|
+
comment?: string;
|
|
2315
|
+
}>;
|
|
2316
|
+
}
|
|
2317
|
+
interface VoltOpsGoogleCalendarDeleteParams extends VoltOpsGoogleCalendarBaseParams {
|
|
2318
|
+
eventId: string;
|
|
2319
|
+
calendarId?: string;
|
|
2320
|
+
}
|
|
2321
|
+
interface VoltOpsGoogleCalendarListParams extends VoltOpsGoogleCalendarBaseParams {
|
|
2322
|
+
calendarId?: string;
|
|
2323
|
+
timeMin?: string;
|
|
2324
|
+
timeMax?: string;
|
|
2325
|
+
maxResults?: number;
|
|
2326
|
+
pageToken?: string;
|
|
2327
|
+
q?: string;
|
|
2328
|
+
showDeleted?: boolean;
|
|
2329
|
+
singleEvents?: boolean;
|
|
2330
|
+
orderBy?: string;
|
|
2331
|
+
}
|
|
2332
|
+
interface VoltOpsGoogleCalendarGetParams extends VoltOpsGoogleCalendarBaseParams {
|
|
2333
|
+
eventId: string;
|
|
2334
|
+
calendarId?: string;
|
|
2335
|
+
}
|
|
2336
|
+
interface VoltOpsGoogleDriveBaseParams {
|
|
2337
|
+
credential: VoltOpsGoogleDriveCredential;
|
|
2338
|
+
actionId?: string;
|
|
2339
|
+
catalogId?: string;
|
|
2340
|
+
projectId?: string | null;
|
|
2341
|
+
}
|
|
2342
|
+
interface VoltOpsGoogleDriveListParams extends VoltOpsGoogleDriveBaseParams {
|
|
2343
|
+
q?: string;
|
|
2344
|
+
pageSize?: number;
|
|
2345
|
+
pageToken?: string;
|
|
2346
|
+
orderBy?: string;
|
|
2347
|
+
includeTrashed?: boolean;
|
|
2348
|
+
}
|
|
2349
|
+
interface VoltOpsGoogleDriveGetFileParams extends VoltOpsGoogleDriveBaseParams {
|
|
2350
|
+
fileId: string;
|
|
2351
|
+
}
|
|
2352
|
+
interface VoltOpsGoogleDriveDownloadParams extends VoltOpsGoogleDriveBaseParams {
|
|
2353
|
+
fileId: string;
|
|
2354
|
+
}
|
|
2355
|
+
interface VoltOpsGoogleDriveUploadParams extends VoltOpsGoogleDriveBaseParams {
|
|
2356
|
+
name: string;
|
|
2357
|
+
mimeType?: string;
|
|
2358
|
+
parents?: string[];
|
|
2359
|
+
content?: string;
|
|
2360
|
+
isBase64?: boolean;
|
|
2361
|
+
}
|
|
2362
|
+
interface VoltOpsGoogleDriveCreateFolderParams extends VoltOpsGoogleDriveBaseParams {
|
|
2363
|
+
name: string;
|
|
2364
|
+
parents?: string[];
|
|
2365
|
+
}
|
|
2366
|
+
interface VoltOpsGoogleDriveMoveParams extends VoltOpsGoogleDriveBaseParams {
|
|
2367
|
+
fileId: string;
|
|
2368
|
+
newParentId: string;
|
|
2369
|
+
removeAllParents?: boolean;
|
|
2370
|
+
}
|
|
2371
|
+
interface VoltOpsGoogleDriveCopyParams extends VoltOpsGoogleDriveBaseParams {
|
|
2372
|
+
fileId: string;
|
|
2373
|
+
destinationParentId?: string;
|
|
2374
|
+
name?: string;
|
|
2375
|
+
}
|
|
2376
|
+
interface VoltOpsGoogleDriveDeleteParams extends VoltOpsGoogleDriveBaseParams {
|
|
2377
|
+
fileId: string;
|
|
2378
|
+
}
|
|
2379
|
+
interface VoltOpsGoogleDriveShareParams extends VoltOpsGoogleDriveBaseParams {
|
|
2380
|
+
fileId: string;
|
|
2381
|
+
}
|
|
2254
2382
|
type VoltOpsActionsApi = {
|
|
2255
2383
|
airtable: {
|
|
2256
2384
|
createRecord: (params: VoltOpsAirtableCreateRecordParams) => Promise<VoltOpsActionExecutionResult>;
|
|
@@ -2288,6 +2416,24 @@ type VoltOpsActionsApi = {
|
|
|
2288
2416
|
getEmail: (params: VoltOpsGmailGetEmailParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2289
2417
|
getThread: (params: VoltOpsGmailGetThreadParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2290
2418
|
};
|
|
2419
|
+
googlecalendar: {
|
|
2420
|
+
createEvent: (params: VoltOpsGoogleCalendarCreateParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2421
|
+
updateEvent: (params: VoltOpsGoogleCalendarUpdateParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2422
|
+
deleteEvent: (params: VoltOpsGoogleCalendarDeleteParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2423
|
+
listEvents: (params: VoltOpsGoogleCalendarListParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2424
|
+
getEvent: (params: VoltOpsGoogleCalendarGetParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2425
|
+
};
|
|
2426
|
+
googledrive: {
|
|
2427
|
+
listFiles: (params: VoltOpsGoogleDriveListParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2428
|
+
getFileMetadata: (params: VoltOpsGoogleDriveGetFileParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2429
|
+
downloadFile: (params: VoltOpsGoogleDriveDownloadParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2430
|
+
uploadFile: (params: VoltOpsGoogleDriveUploadParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2431
|
+
createFolder: (params: VoltOpsGoogleDriveCreateFolderParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2432
|
+
moveFile: (params: VoltOpsGoogleDriveMoveParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2433
|
+
copyFile: (params: VoltOpsGoogleDriveCopyParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2434
|
+
deleteFile: (params: VoltOpsGoogleDriveDeleteParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2435
|
+
shareFilePublic: (params: VoltOpsGoogleDriveShareParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2436
|
+
};
|
|
2291
2437
|
postgres: {
|
|
2292
2438
|
executeQuery: (params: VoltOpsPostgresExecuteParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2293
2439
|
};
|
|
@@ -2735,6 +2881,24 @@ declare class VoltOpsActionsClient {
|
|
|
2735
2881
|
getEmail: (params: VoltOpsGmailGetEmailParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2736
2882
|
getThread: (params: VoltOpsGmailGetThreadParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2737
2883
|
};
|
|
2884
|
+
readonly googlecalendar: {
|
|
2885
|
+
createEvent: (params: VoltOpsGoogleCalendarCreateParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2886
|
+
updateEvent: (params: VoltOpsGoogleCalendarUpdateParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2887
|
+
deleteEvent: (params: VoltOpsGoogleCalendarDeleteParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2888
|
+
listEvents: (params: VoltOpsGoogleCalendarListParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2889
|
+
getEvent: (params: VoltOpsGoogleCalendarGetParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2890
|
+
};
|
|
2891
|
+
readonly googledrive: {
|
|
2892
|
+
listFiles: (params: VoltOpsGoogleDriveListParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2893
|
+
getFileMetadata: (params: VoltOpsGoogleDriveGetFileParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2894
|
+
downloadFile: (params: VoltOpsGoogleDriveDownloadParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2895
|
+
uploadFile: (params: VoltOpsGoogleDriveUploadParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2896
|
+
createFolder: (params: VoltOpsGoogleDriveCreateFolderParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2897
|
+
moveFile: (params: VoltOpsGoogleDriveMoveParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2898
|
+
copyFile: (params: VoltOpsGoogleDriveCopyParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2899
|
+
deleteFile: (params: VoltOpsGoogleDriveDeleteParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2900
|
+
shareFilePublic: (params: VoltOpsGoogleDriveShareParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2901
|
+
};
|
|
2738
2902
|
readonly postgres: {
|
|
2739
2903
|
executeQuery: (params: VoltOpsPostgresExecuteParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2740
2904
|
};
|
|
@@ -2758,6 +2922,21 @@ declare class VoltOpsActionsClient {
|
|
|
2758
2922
|
private searchGmailEmails;
|
|
2759
2923
|
private getGmailEmail;
|
|
2760
2924
|
private getGmailThread;
|
|
2925
|
+
private createCalendarEvent;
|
|
2926
|
+
private listDriveFiles;
|
|
2927
|
+
private getDriveFileMetadata;
|
|
2928
|
+
private downloadDriveFile;
|
|
2929
|
+
private uploadDriveFile;
|
|
2930
|
+
private createDriveFolder;
|
|
2931
|
+
private moveDriveFile;
|
|
2932
|
+
private copyDriveFile;
|
|
2933
|
+
private deleteDriveFile;
|
|
2934
|
+
private shareDriveFilePublic;
|
|
2935
|
+
private executeGoogleDriveAction;
|
|
2936
|
+
private updateCalendarEvent;
|
|
2937
|
+
private deleteCalendarEvent;
|
|
2938
|
+
private listCalendarEvents;
|
|
2939
|
+
private getCalendarEvent;
|
|
2761
2940
|
private executePostgresQuery;
|
|
2762
2941
|
private sendDiscordMessage;
|
|
2763
2942
|
private sendDiscordWebhookMessage;
|
|
@@ -2786,15 +2965,20 @@ declare class VoltOpsActionsClient {
|
|
|
2786
2965
|
private ensureSlackCredential;
|
|
2787
2966
|
private ensureDiscordCredential;
|
|
2788
2967
|
private ensureGmailCredential;
|
|
2968
|
+
private ensureGoogleCalendarCredential;
|
|
2969
|
+
private ensureGoogleDriveCredential;
|
|
2789
2970
|
private ensurePostgresCredential;
|
|
2790
2971
|
private normalizeCredentialMetadata;
|
|
2791
2972
|
private normalizeIdentifier;
|
|
2792
2973
|
private ensureRecord;
|
|
2793
2974
|
private sanitizeStringArray;
|
|
2975
|
+
private normalizeStringArray;
|
|
2794
2976
|
private sanitizeSortArray;
|
|
2795
2977
|
private normalizePositiveInteger;
|
|
2796
2978
|
private trimString;
|
|
2797
2979
|
private normalizeEmailList;
|
|
2980
|
+
private normalizeCalendarDateTime;
|
|
2981
|
+
private normalizeCalendarAttendees;
|
|
2798
2982
|
private normalizeGmailBodyType;
|
|
2799
2983
|
private normalizeGmailFormat;
|
|
2800
2984
|
private normalizeGmailAttachments;
|
|
@@ -8048,6 +8232,135 @@ declare const DEFAULT_TRIGGER_CATALOG: readonly [{
|
|
|
8048
8232
|
readonly description: "Poll the configured Base/Table/View and emit when a new record is created.";
|
|
8049
8233
|
readonly deliveryMode: "polling";
|
|
8050
8234
|
}];
|
|
8235
|
+
}, {
|
|
8236
|
+
readonly triggerId: "google-calendar";
|
|
8237
|
+
readonly dslTriggerId: "google-calendar";
|
|
8238
|
+
readonly displayName: "Google Calendar";
|
|
8239
|
+
readonly service: "GoogleCalendar";
|
|
8240
|
+
readonly category: "Productivity";
|
|
8241
|
+
readonly authType: "oauth2";
|
|
8242
|
+
readonly deliveryModes: ["polling"];
|
|
8243
|
+
readonly metadata: {
|
|
8244
|
+
readonly description: "React to Google Calendar events such as created, updated, started, or cancelled meetings.";
|
|
8245
|
+
};
|
|
8246
|
+
readonly version: "1.0.0";
|
|
8247
|
+
readonly events: readonly [{
|
|
8248
|
+
readonly key: "googlecalendar.eventCreated";
|
|
8249
|
+
readonly displayName: "Event created";
|
|
8250
|
+
readonly description: "Trigger when a new Google Calendar event is created on the selected calendar.";
|
|
8251
|
+
readonly deliveryMode: "polling";
|
|
8252
|
+
readonly defaultConfig: {
|
|
8253
|
+
readonly provider: {
|
|
8254
|
+
readonly type: "googlecalendar";
|
|
8255
|
+
readonly calendarId: "primary";
|
|
8256
|
+
readonly triggerType: "eventCreated";
|
|
8257
|
+
readonly matchTerm: null;
|
|
8258
|
+
readonly expandRecurringEvents: false;
|
|
8259
|
+
readonly pollIntervalSeconds: 60;
|
|
8260
|
+
};
|
|
8261
|
+
};
|
|
8262
|
+
}, {
|
|
8263
|
+
readonly key: "googlecalendar.eventUpdated";
|
|
8264
|
+
readonly displayName: "Event updated";
|
|
8265
|
+
readonly description: "Trigger when an existing Google Calendar event is updated (title, time, description, etc.).";
|
|
8266
|
+
readonly deliveryMode: "polling";
|
|
8267
|
+
readonly defaultConfig: {
|
|
8268
|
+
readonly provider: {
|
|
8269
|
+
readonly type: "googlecalendar";
|
|
8270
|
+
readonly calendarId: "primary";
|
|
8271
|
+
readonly triggerType: "eventUpdated";
|
|
8272
|
+
readonly matchTerm: null;
|
|
8273
|
+
readonly expandRecurringEvents: false;
|
|
8274
|
+
readonly pollIntervalSeconds: 60;
|
|
8275
|
+
};
|
|
8276
|
+
};
|
|
8277
|
+
}, {
|
|
8278
|
+
readonly key: "googlecalendar.eventCancelled";
|
|
8279
|
+
readonly displayName: "Event cancelled";
|
|
8280
|
+
readonly description: "Trigger when an event is cancelled on the selected calendar.";
|
|
8281
|
+
readonly deliveryMode: "polling";
|
|
8282
|
+
readonly defaultConfig: {
|
|
8283
|
+
readonly provider: {
|
|
8284
|
+
readonly type: "googlecalendar";
|
|
8285
|
+
readonly calendarId: "primary";
|
|
8286
|
+
readonly triggerType: "eventCancelled";
|
|
8287
|
+
readonly matchTerm: null;
|
|
8288
|
+
readonly expandRecurringEvents: false;
|
|
8289
|
+
readonly pollIntervalSeconds: 60;
|
|
8290
|
+
};
|
|
8291
|
+
};
|
|
8292
|
+
}, {
|
|
8293
|
+
readonly key: "googlecalendar.eventStarted";
|
|
8294
|
+
readonly displayName: "Event started";
|
|
8295
|
+
readonly description: "Trigger when an event start time occurs (includes recurring instances when expanded).";
|
|
8296
|
+
readonly deliveryMode: "polling";
|
|
8297
|
+
readonly defaultConfig: {
|
|
8298
|
+
readonly provider: {
|
|
8299
|
+
readonly type: "googlecalendar";
|
|
8300
|
+
readonly calendarId: "primary";
|
|
8301
|
+
readonly triggerType: "eventStarted";
|
|
8302
|
+
readonly matchTerm: null;
|
|
8303
|
+
readonly expandRecurringEvents: true;
|
|
8304
|
+
readonly pollIntervalSeconds: 60;
|
|
8305
|
+
};
|
|
8306
|
+
};
|
|
8307
|
+
}, {
|
|
8308
|
+
readonly key: "googlecalendar.eventEnded";
|
|
8309
|
+
readonly displayName: "Event ended";
|
|
8310
|
+
readonly description: "Trigger when an event end time is reached.";
|
|
8311
|
+
readonly deliveryMode: "polling";
|
|
8312
|
+
readonly defaultConfig: {
|
|
8313
|
+
readonly provider: {
|
|
8314
|
+
readonly type: "googlecalendar";
|
|
8315
|
+
readonly calendarId: "primary";
|
|
8316
|
+
readonly triggerType: "eventEnded";
|
|
8317
|
+
readonly matchTerm: null;
|
|
8318
|
+
readonly expandRecurringEvents: true;
|
|
8319
|
+
readonly pollIntervalSeconds: 60;
|
|
8320
|
+
};
|
|
8321
|
+
};
|
|
8322
|
+
}];
|
|
8323
|
+
}, {
|
|
8324
|
+
readonly triggerId: "google-drive";
|
|
8325
|
+
readonly dslTriggerId: "google-drive";
|
|
8326
|
+
readonly displayName: "Google Drive";
|
|
8327
|
+
readonly service: "GoogleDrive";
|
|
8328
|
+
readonly category: "Storage";
|
|
8329
|
+
readonly authType: "oauth2";
|
|
8330
|
+
readonly deliveryModes: ["polling"];
|
|
8331
|
+
readonly metadata: {
|
|
8332
|
+
readonly description: "Detect file or folder changes in Google Drive, similar to Activepieces and n8n.";
|
|
8333
|
+
};
|
|
8334
|
+
readonly version: "1.0.0";
|
|
8335
|
+
readonly events: readonly [{
|
|
8336
|
+
readonly key: "googledrive.fileChanged";
|
|
8337
|
+
readonly displayName: "File created or updated";
|
|
8338
|
+
readonly description: "Trigger when a file in Google Drive is created or updated, optionally filtered by MIME types.";
|
|
8339
|
+
readonly deliveryMode: "polling";
|
|
8340
|
+
readonly defaultConfig: {
|
|
8341
|
+
readonly provider: {
|
|
8342
|
+
readonly type: "googledrive";
|
|
8343
|
+
readonly triggerType: "fileChanged";
|
|
8344
|
+
readonly folderId: null;
|
|
8345
|
+
readonly matchMimeTypes: null;
|
|
8346
|
+
readonly pollIntervalSeconds: 60;
|
|
8347
|
+
};
|
|
8348
|
+
};
|
|
8349
|
+
}, {
|
|
8350
|
+
readonly key: "googledrive.folderChanged";
|
|
8351
|
+
readonly displayName: "Folder content changed";
|
|
8352
|
+
readonly description: "Trigger when items in a specific folder are added or updated in Google Drive.";
|
|
8353
|
+
readonly deliveryMode: "polling";
|
|
8354
|
+
readonly defaultConfig: {
|
|
8355
|
+
readonly provider: {
|
|
8356
|
+
readonly type: "googledrive";
|
|
8357
|
+
readonly triggerType: "folderChanged";
|
|
8358
|
+
readonly folderId: null;
|
|
8359
|
+
readonly matchMimeTypes: null;
|
|
8360
|
+
readonly pollIntervalSeconds: 60;
|
|
8361
|
+
};
|
|
8362
|
+
};
|
|
8363
|
+
}];
|
|
8051
8364
|
}];
|
|
8052
8365
|
|
|
8053
8366
|
declare class A2AServerRegistry<TServer extends A2AServerLike = A2AServerLike> {
|
|
@@ -9233,9 +9546,138 @@ declare const VoltOpsTriggerGroups: BuildTriggerGroups<readonly [{
|
|
|
9233
9546
|
readonly description: "Poll the configured Base/Table/View and emit when a new record is created.";
|
|
9234
9547
|
readonly deliveryMode: "polling";
|
|
9235
9548
|
}];
|
|
9549
|
+
}, {
|
|
9550
|
+
readonly triggerId: "google-calendar";
|
|
9551
|
+
readonly dslTriggerId: "google-calendar";
|
|
9552
|
+
readonly displayName: "Google Calendar";
|
|
9553
|
+
readonly service: "GoogleCalendar";
|
|
9554
|
+
readonly category: "Productivity";
|
|
9555
|
+
readonly authType: "oauth2";
|
|
9556
|
+
readonly deliveryModes: ["polling"];
|
|
9557
|
+
readonly metadata: {
|
|
9558
|
+
readonly description: "React to Google Calendar events such as created, updated, started, or cancelled meetings.";
|
|
9559
|
+
};
|
|
9560
|
+
readonly version: "1.0.0";
|
|
9561
|
+
readonly events: readonly [{
|
|
9562
|
+
readonly key: "googlecalendar.eventCreated";
|
|
9563
|
+
readonly displayName: "Event created";
|
|
9564
|
+
readonly description: "Trigger when a new Google Calendar event is created on the selected calendar.";
|
|
9565
|
+
readonly deliveryMode: "polling";
|
|
9566
|
+
readonly defaultConfig: {
|
|
9567
|
+
readonly provider: {
|
|
9568
|
+
readonly type: "googlecalendar";
|
|
9569
|
+
readonly calendarId: "primary";
|
|
9570
|
+
readonly triggerType: "eventCreated";
|
|
9571
|
+
readonly matchTerm: null;
|
|
9572
|
+
readonly expandRecurringEvents: false;
|
|
9573
|
+
readonly pollIntervalSeconds: 60;
|
|
9574
|
+
};
|
|
9575
|
+
};
|
|
9576
|
+
}, {
|
|
9577
|
+
readonly key: "googlecalendar.eventUpdated";
|
|
9578
|
+
readonly displayName: "Event updated";
|
|
9579
|
+
readonly description: "Trigger when an existing Google Calendar event is updated (title, time, description, etc.).";
|
|
9580
|
+
readonly deliveryMode: "polling";
|
|
9581
|
+
readonly defaultConfig: {
|
|
9582
|
+
readonly provider: {
|
|
9583
|
+
readonly type: "googlecalendar";
|
|
9584
|
+
readonly calendarId: "primary";
|
|
9585
|
+
readonly triggerType: "eventUpdated";
|
|
9586
|
+
readonly matchTerm: null;
|
|
9587
|
+
readonly expandRecurringEvents: false;
|
|
9588
|
+
readonly pollIntervalSeconds: 60;
|
|
9589
|
+
};
|
|
9590
|
+
};
|
|
9591
|
+
}, {
|
|
9592
|
+
readonly key: "googlecalendar.eventCancelled";
|
|
9593
|
+
readonly displayName: "Event cancelled";
|
|
9594
|
+
readonly description: "Trigger when an event is cancelled on the selected calendar.";
|
|
9595
|
+
readonly deliveryMode: "polling";
|
|
9596
|
+
readonly defaultConfig: {
|
|
9597
|
+
readonly provider: {
|
|
9598
|
+
readonly type: "googlecalendar";
|
|
9599
|
+
readonly calendarId: "primary";
|
|
9600
|
+
readonly triggerType: "eventCancelled";
|
|
9601
|
+
readonly matchTerm: null;
|
|
9602
|
+
readonly expandRecurringEvents: false;
|
|
9603
|
+
readonly pollIntervalSeconds: 60;
|
|
9604
|
+
};
|
|
9605
|
+
};
|
|
9606
|
+
}, {
|
|
9607
|
+
readonly key: "googlecalendar.eventStarted";
|
|
9608
|
+
readonly displayName: "Event started";
|
|
9609
|
+
readonly description: "Trigger when an event start time occurs (includes recurring instances when expanded).";
|
|
9610
|
+
readonly deliveryMode: "polling";
|
|
9611
|
+
readonly defaultConfig: {
|
|
9612
|
+
readonly provider: {
|
|
9613
|
+
readonly type: "googlecalendar";
|
|
9614
|
+
readonly calendarId: "primary";
|
|
9615
|
+
readonly triggerType: "eventStarted";
|
|
9616
|
+
readonly matchTerm: null;
|
|
9617
|
+
readonly expandRecurringEvents: true;
|
|
9618
|
+
readonly pollIntervalSeconds: 60;
|
|
9619
|
+
};
|
|
9620
|
+
};
|
|
9621
|
+
}, {
|
|
9622
|
+
readonly key: "googlecalendar.eventEnded";
|
|
9623
|
+
readonly displayName: "Event ended";
|
|
9624
|
+
readonly description: "Trigger when an event end time is reached.";
|
|
9625
|
+
readonly deliveryMode: "polling";
|
|
9626
|
+
readonly defaultConfig: {
|
|
9627
|
+
readonly provider: {
|
|
9628
|
+
readonly type: "googlecalendar";
|
|
9629
|
+
readonly calendarId: "primary";
|
|
9630
|
+
readonly triggerType: "eventEnded";
|
|
9631
|
+
readonly matchTerm: null;
|
|
9632
|
+
readonly expandRecurringEvents: true;
|
|
9633
|
+
readonly pollIntervalSeconds: 60;
|
|
9634
|
+
};
|
|
9635
|
+
};
|
|
9636
|
+
}];
|
|
9637
|
+
}, {
|
|
9638
|
+
readonly triggerId: "google-drive";
|
|
9639
|
+
readonly dslTriggerId: "google-drive";
|
|
9640
|
+
readonly displayName: "Google Drive";
|
|
9641
|
+
readonly service: "GoogleDrive";
|
|
9642
|
+
readonly category: "Storage";
|
|
9643
|
+
readonly authType: "oauth2";
|
|
9644
|
+
readonly deliveryModes: ["polling"];
|
|
9645
|
+
readonly metadata: {
|
|
9646
|
+
readonly description: "Detect file or folder changes in Google Drive, similar to Activepieces and n8n.";
|
|
9647
|
+
};
|
|
9648
|
+
readonly version: "1.0.0";
|
|
9649
|
+
readonly events: readonly [{
|
|
9650
|
+
readonly key: "googledrive.fileChanged";
|
|
9651
|
+
readonly displayName: "File created or updated";
|
|
9652
|
+
readonly description: "Trigger when a file in Google Drive is created or updated, optionally filtered by MIME types.";
|
|
9653
|
+
readonly deliveryMode: "polling";
|
|
9654
|
+
readonly defaultConfig: {
|
|
9655
|
+
readonly provider: {
|
|
9656
|
+
readonly type: "googledrive";
|
|
9657
|
+
readonly triggerType: "fileChanged";
|
|
9658
|
+
readonly folderId: null;
|
|
9659
|
+
readonly matchMimeTypes: null;
|
|
9660
|
+
readonly pollIntervalSeconds: 60;
|
|
9661
|
+
};
|
|
9662
|
+
};
|
|
9663
|
+
}, {
|
|
9664
|
+
readonly key: "googledrive.folderChanged";
|
|
9665
|
+
readonly displayName: "Folder content changed";
|
|
9666
|
+
readonly description: "Trigger when items in a specific folder are added or updated in Google Drive.";
|
|
9667
|
+
readonly deliveryMode: "polling";
|
|
9668
|
+
readonly defaultConfig: {
|
|
9669
|
+
readonly provider: {
|
|
9670
|
+
readonly type: "googledrive";
|
|
9671
|
+
readonly triggerType: "folderChanged";
|
|
9672
|
+
readonly folderId: null;
|
|
9673
|
+
readonly matchMimeTypes: null;
|
|
9674
|
+
readonly pollIntervalSeconds: 60;
|
|
9675
|
+
};
|
|
9676
|
+
};
|
|
9677
|
+
}];
|
|
9236
9678
|
}]>;
|
|
9237
9679
|
type VoltOpsTriggerGroupMap = typeof VoltOpsTriggerGroups;
|
|
9238
|
-
declare const VoltOpsTriggerDefinitions: Record<"github.*" | "github.check_run" | "github.check_suite" | "github.commit_comment" | "github.create" | "github.delete" | "github.deploy_key" | "github.deployment" | "github.deployment_status" | "github.fork" | "github.github_app_authorization" | "github.gollum" | "github.installation" | "github.installation_repositories" | "github.issue_comment" | "github.issues" | "github.label" | "github.marketplace_purchase" | "github.member" | "github.membership" | "github.meta" | "github.milestone" | "github.org_block" | "github.organization" | "github.page_build" | "github.project" | "github.project_card" | "github.project_column" | "github.public" | "github.pull_request" | "github.pull_request_review" | "github.pull_request_review_comment" | "github.push" | "github.release" | "github.repository" | "github.repository_import" | "github.repository_vulnerability_alert" | "github.security_advisory" | "github.star" | "github.status" | "github.team" | "github.team_add" | "github.watch" | "slack.anyEvent" | "slack.appMention" | "slack.messagePosted" | "slack.reactionAdded" | "slack.fileShare" | "slack.filePublic" | "slack.channelCreated" | "slack.teamJoin" | "cron.schedule" | "gmail.newEmail" | "airtable.recordCreated", VoltOpsTriggerDefinition<unknown>>;
|
|
9680
|
+
declare const VoltOpsTriggerDefinitions: Record<"github.*" | "github.check_run" | "github.check_suite" | "github.commit_comment" | "github.create" | "github.delete" | "github.deploy_key" | "github.deployment" | "github.deployment_status" | "github.fork" | "github.github_app_authorization" | "github.gollum" | "github.installation" | "github.installation_repositories" | "github.issue_comment" | "github.issues" | "github.label" | "github.marketplace_purchase" | "github.member" | "github.membership" | "github.meta" | "github.milestone" | "github.org_block" | "github.organization" | "github.page_build" | "github.project" | "github.project_card" | "github.project_column" | "github.public" | "github.pull_request" | "github.pull_request_review" | "github.pull_request_review_comment" | "github.push" | "github.release" | "github.repository" | "github.repository_import" | "github.repository_vulnerability_alert" | "github.security_advisory" | "github.star" | "github.status" | "github.team" | "github.team_add" | "github.watch" | "slack.anyEvent" | "slack.appMention" | "slack.messagePosted" | "slack.reactionAdded" | "slack.fileShare" | "slack.filePublic" | "slack.channelCreated" | "slack.teamJoin" | "cron.schedule" | "gmail.newEmail" | "airtable.recordCreated" | "googlecalendar.eventCreated" | "googlecalendar.eventUpdated" | "googlecalendar.eventCancelled" | "googlecalendar.eventStarted" | "googlecalendar.eventEnded" | "googledrive.fileChanged" | "googledrive.folderChanged", VoltOpsTriggerDefinition<unknown>>;
|
|
9239
9681
|
declare const VoltOpsTriggerNames: VoltOpsTriggerName[];
|
|
9240
9682
|
declare function getVoltOpsTriggerDefinition(name: VoltOpsTriggerName): VoltOpsTriggerDefinition;
|
|
9241
9683
|
|