@credal/actions 0.2.36 → 0.2.38
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 +7 -1
- package/dist/actions/autogen/templates.d.ts +1 -1
- package/dist/actions/autogen/templates.js +166 -165
- package/dist/actions/autogen/types.d.ts +51 -48
- package/dist/actions/autogen/types.js +118 -132
- package/dist/actions/groups.js +2 -1
- package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.d.ts +3 -0
- package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.js +110 -0
- package/dist/actions/providers/google-oauth/searchDriveByQuery.d.ts +3 -0
- package/dist/actions/providers/google-oauth/searchDriveByQuery.js +42 -0
- package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.d.ts +1 -2
- package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.js +6 -51
- package/package.json +1 -1
@@ -2481,54 +2481,6 @@ export declare const resendSendEmailOutputSchema: z.ZodObject<{
|
|
2481
2481
|
}>;
|
2482
2482
|
export type resendSendEmailOutputType = z.infer<typeof resendSendEmailOutputSchema>;
|
2483
2483
|
export type resendSendEmailFunction = ActionFunction<resendSendEmailParamsType, AuthParamsType, resendSendEmailOutputType>;
|
2484
|
-
export declare const googleOauthSearchFilesByKeywordsParamsSchema: z.ZodObject<{
|
2485
|
-
keywords: z.ZodArray<z.ZodString, "many">;
|
2486
|
-
}, "strip", z.ZodTypeAny, {
|
2487
|
-
keywords: string[];
|
2488
|
-
}, {
|
2489
|
-
keywords: string[];
|
2490
|
-
}>;
|
2491
|
-
export type googleOauthSearchFilesByKeywordsParamsType = z.infer<typeof googleOauthSearchFilesByKeywordsParamsSchema>;
|
2492
|
-
export declare const googleOauthSearchFilesByKeywordsOutputSchema: z.ZodObject<{
|
2493
|
-
success: z.ZodBoolean;
|
2494
|
-
files: z.ZodArray<z.ZodObject<{
|
2495
|
-
id: z.ZodString;
|
2496
|
-
name: z.ZodString;
|
2497
|
-
mimeType: z.ZodString;
|
2498
|
-
webViewLink: z.ZodString;
|
2499
|
-
}, "strip", z.ZodTypeAny, {
|
2500
|
-
name: string;
|
2501
|
-
id: string;
|
2502
|
-
mimeType: string;
|
2503
|
-
webViewLink: string;
|
2504
|
-
}, {
|
2505
|
-
name: string;
|
2506
|
-
id: string;
|
2507
|
-
mimeType: string;
|
2508
|
-
webViewLink: string;
|
2509
|
-
}>, "many">;
|
2510
|
-
error: z.ZodOptional<z.ZodString>;
|
2511
|
-
}, "strip", z.ZodTypeAny, {
|
2512
|
-
success: boolean;
|
2513
|
-
files: {
|
2514
|
-
name: string;
|
2515
|
-
id: string;
|
2516
|
-
mimeType: string;
|
2517
|
-
webViewLink: string;
|
2518
|
-
}[];
|
2519
|
-
error?: string | undefined;
|
2520
|
-
}, {
|
2521
|
-
success: boolean;
|
2522
|
-
files: {
|
2523
|
-
name: string;
|
2524
|
-
id: string;
|
2525
|
-
mimeType: string;
|
2526
|
-
webViewLink: string;
|
2527
|
-
}[];
|
2528
|
-
error?: string | undefined;
|
2529
|
-
}>;
|
2530
|
-
export type googleOauthSearchFilesByKeywordsOutputType = z.infer<typeof googleOauthSearchFilesByKeywordsOutputSchema>;
|
2531
|
-
export type googleOauthSearchFilesByKeywordsFunction = ActionFunction<googleOauthSearchFilesByKeywordsParamsType, AuthParamsType, googleOauthSearchFilesByKeywordsOutputType>;
|
2532
2484
|
export declare const googleOauthCreateNewGoogleDocParamsSchema: z.ZodObject<{
|
2533
2485
|
title: z.ZodString;
|
2534
2486
|
content: z.ZodOptional<z.ZodString>;
|
@@ -3319,6 +3271,57 @@ export declare const googleOauthSearchDriveByKeywordsOutputSchema: z.ZodObject<{
|
|
3319
3271
|
}>;
|
3320
3272
|
export type googleOauthSearchDriveByKeywordsOutputType = z.infer<typeof googleOauthSearchDriveByKeywordsOutputSchema>;
|
3321
3273
|
export type googleOauthSearchDriveByKeywordsFunction = ActionFunction<googleOauthSearchDriveByKeywordsParamsType, AuthParamsType, googleOauthSearchDriveByKeywordsOutputType>;
|
3274
|
+
export declare const googleOauthSearchDriveByQueryParamsSchema: z.ZodObject<{
|
3275
|
+
query: z.ZodString;
|
3276
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
3277
|
+
}, "strip", z.ZodTypeAny, {
|
3278
|
+
query: string;
|
3279
|
+
limit?: number | undefined;
|
3280
|
+
}, {
|
3281
|
+
query: string;
|
3282
|
+
limit?: number | undefined;
|
3283
|
+
}>;
|
3284
|
+
export type googleOauthSearchDriveByQueryParamsType = z.infer<typeof googleOauthSearchDriveByQueryParamsSchema>;
|
3285
|
+
export declare const googleOauthSearchDriveByQueryOutputSchema: z.ZodObject<{
|
3286
|
+
success: z.ZodBoolean;
|
3287
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
3288
|
+
id: z.ZodString;
|
3289
|
+
name: z.ZodString;
|
3290
|
+
mimeType: z.ZodString;
|
3291
|
+
url: z.ZodString;
|
3292
|
+
}, "strip", z.ZodTypeAny, {
|
3293
|
+
name: string;
|
3294
|
+
id: string;
|
3295
|
+
url: string;
|
3296
|
+
mimeType: string;
|
3297
|
+
}, {
|
3298
|
+
name: string;
|
3299
|
+
id: string;
|
3300
|
+
url: string;
|
3301
|
+
mimeType: string;
|
3302
|
+
}>, "many">>;
|
3303
|
+
error: z.ZodOptional<z.ZodString>;
|
3304
|
+
}, "strip", z.ZodTypeAny, {
|
3305
|
+
success: boolean;
|
3306
|
+
error?: string | undefined;
|
3307
|
+
files?: {
|
3308
|
+
name: string;
|
3309
|
+
id: string;
|
3310
|
+
url: string;
|
3311
|
+
mimeType: string;
|
3312
|
+
}[] | undefined;
|
3313
|
+
}, {
|
3314
|
+
success: boolean;
|
3315
|
+
error?: string | undefined;
|
3316
|
+
files?: {
|
3317
|
+
name: string;
|
3318
|
+
id: string;
|
3319
|
+
url: string;
|
3320
|
+
mimeType: string;
|
3321
|
+
}[] | undefined;
|
3322
|
+
}>;
|
3323
|
+
export type googleOauthSearchDriveByQueryOutputType = z.infer<typeof googleOauthSearchDriveByQueryOutputSchema>;
|
3324
|
+
export type googleOauthSearchDriveByQueryFunction = ActionFunction<googleOauthSearchDriveByQueryParamsType, AuthParamsType, googleOauthSearchDriveByQueryOutputType>;
|
3322
3325
|
export declare const googleOauthGetDriveFileContentByIdParamsSchema: z.ZodObject<{
|
3323
3326
|
fileId: z.ZodString;
|
3324
3327
|
limit: z.ZodNumber;
|