@credal/actions 0.2.107 → 0.2.109

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.
Files changed (58) hide show
  1. package/dist/actions/actionMapper.js +7 -1
  2. package/dist/actions/autogen/templates.d.ts +1 -0
  3. package/dist/actions/autogen/templates.js +315 -1
  4. package/dist/actions/autogen/types.d.ts +612 -0
  5. package/dist/actions/autogen/types.js +133 -0
  6. package/dist/actions/groups.js +11 -1
  7. package/dist/actions/providers/confluence/updatePage.d.ts +3 -0
  8. package/dist/actions/providers/confluence/updatePage.js +46 -0
  9. package/dist/actions/providers/credal/callCopilot.d.ts +3 -0
  10. package/dist/actions/providers/credal/callCopilot.js +36 -0
  11. package/dist/actions/providers/generic/fillTemplateAction.d.ts +7 -0
  12. package/dist/actions/providers/generic/fillTemplateAction.js +18 -0
  13. package/dist/actions/providers/generic/genericApiCall.d.ts +3 -0
  14. package/dist/actions/providers/generic/genericApiCall.js +38 -0
  15. package/dist/actions/providers/github/getBranch.d.ts +7 -0
  16. package/dist/actions/providers/github/getBranch.js +67 -0
  17. package/dist/actions/providers/google-oauth/editAGoogleCalendarEvent.js +9 -1
  18. package/dist/actions/providers/google-oauth/getDriveContentById.d.ts +3 -0
  19. package/dist/actions/providers/google-oauth/getDriveContentById.js +161 -0
  20. package/dist/actions/providers/google-oauth/listCalendarEvents.js +3 -0
  21. package/dist/actions/providers/google-oauth/scheduleCalendarMeeting.d.ts +1 -0
  22. package/dist/actions/providers/google-oauth/scheduleCalendarMeeting.js +50 -4
  23. package/dist/actions/providers/google-oauth/searchAndGetDriveContentByKeywords.d.ts +3 -0
  24. package/dist/actions/providers/google-oauth/searchAndGetDriveContentByKeywords.js +47 -0
  25. package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.d.ts +3 -0
  26. package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.js +110 -0
  27. package/dist/actions/providers/google-oauth/searchDriveAndGetContentByQuery.d.ts +3 -0
  28. package/dist/actions/providers/google-oauth/searchDriveAndGetContentByQuery.js +78 -0
  29. package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.d.ts +15 -0
  30. package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.js +129 -0
  31. package/dist/actions/providers/googlemaps/nearbysearch.d.ts +3 -0
  32. package/dist/actions/providers/googlemaps/nearbysearch.js +96 -0
  33. package/dist/actions/providers/math/index.d.ts +1 -0
  34. package/dist/actions/providers/math/index.js +37 -0
  35. package/dist/actions/providers/slack/index.d.ts +1 -0
  36. package/dist/actions/providers/slack/index.js +37 -0
  37. package/dist/actions/providers/slack/listConversations.d.ts +3 -0
  38. package/dist/actions/providers/slack/listConversations.js +41 -0
  39. package/dist/actions/providers/snowflake/runSnowflakeQueryWriteResultsToS3.d.ts +3 -0
  40. package/dist/actions/providers/snowflake/runSnowflakeQueryWriteResultsToS3.js +154 -0
  41. package/dist/actions/providers/x/scrapeTweetDataWithNitter.d.ts +3 -0
  42. package/dist/actions/providers/x/scrapeTweetDataWithNitter.js +45 -0
  43. package/dist/actions/providers/zendesk/addCommentToTicket.js +2 -1
  44. package/dist/actions/providers/zendesk/assignTicket.js +2 -1
  45. package/dist/actions/providers/zendesk/createZendeskTicket.js +2 -1
  46. package/dist/actions/providers/zendesk/getTicketDetails.js +3 -2
  47. package/dist/actions/providers/zendesk/listTickets.js +2 -1
  48. package/dist/actions/providers/zendesk/searchZendeskByQuery.js +2 -1
  49. package/dist/actions/providers/zendesk/updateTicketStatus.js +2 -1
  50. package/dist/actions/util/axiosClient.d.ts +4 -1
  51. package/dist/actions/util/axiosClient.js +7 -3
  52. package/dist/utils/datetime.d.ts +1 -0
  53. package/dist/utils/datetime.js +7 -0
  54. package/package.json +1 -1
  55. package/dist/actions/providers/github/fetchFile.d.ts +0 -3
  56. package/dist/actions/providers/github/fetchFile.js +0 -131
  57. package/dist/actions/providers/github/getContents.d.ts +0 -3
  58. package/dist/actions/providers/github/getContents.js +0 -41
@@ -3261,6 +3261,28 @@ export declare const googleOauthScheduleCalendarMeetingParamsSchema: z.ZodObject
3261
3261
  attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3262
3262
  useGoogleMeet: z.ZodOptional<z.ZodBoolean>;
3263
3263
  timeZone: z.ZodOptional<z.ZodString>;
3264
+ recurrence: z.ZodOptional<z.ZodObject<{
3265
+ frequency: z.ZodOptional<z.ZodEnum<["DAILY", "WEEKLY", "MONTHLY", "YEARLY"]>>;
3266
+ interval: z.ZodOptional<z.ZodNumber>;
3267
+ count: z.ZodOptional<z.ZodNumber>;
3268
+ until: z.ZodOptional<z.ZodString>;
3269
+ byDay: z.ZodOptional<z.ZodArray<z.ZodEnum<["MO", "TU", "WE", "TH", "FR", "SA", "SU"]>, "many">>;
3270
+ byMonthDay: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
3271
+ }, "strip", z.ZodTypeAny, {
3272
+ count?: number | undefined;
3273
+ until?: string | undefined;
3274
+ frequency?: "DAILY" | "WEEKLY" | "MONTHLY" | "YEARLY" | undefined;
3275
+ interval?: number | undefined;
3276
+ byDay?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
3277
+ byMonthDay?: number[] | undefined;
3278
+ }, {
3279
+ count?: number | undefined;
3280
+ until?: string | undefined;
3281
+ frequency?: "DAILY" | "WEEKLY" | "MONTHLY" | "YEARLY" | undefined;
3282
+ interval?: number | undefined;
3283
+ byDay?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
3284
+ byMonthDay?: number[] | undefined;
3285
+ }>>;
3264
3286
  }, "strip", z.ZodTypeAny, {
3265
3287
  name: string;
3266
3288
  calendarId: string;
@@ -3270,6 +3292,14 @@ export declare const googleOauthScheduleCalendarMeetingParamsSchema: z.ZodObject
3270
3292
  attendees?: string[] | undefined;
3271
3293
  useGoogleMeet?: boolean | undefined;
3272
3294
  timeZone?: string | undefined;
3295
+ recurrence?: {
3296
+ count?: number | undefined;
3297
+ until?: string | undefined;
3298
+ frequency?: "DAILY" | "WEEKLY" | "MONTHLY" | "YEARLY" | undefined;
3299
+ interval?: number | undefined;
3300
+ byDay?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
3301
+ byMonthDay?: number[] | undefined;
3302
+ } | undefined;
3273
3303
  }, {
3274
3304
  name: string;
3275
3305
  calendarId: string;
@@ -3279,23 +3309,34 @@ export declare const googleOauthScheduleCalendarMeetingParamsSchema: z.ZodObject
3279
3309
  attendees?: string[] | undefined;
3280
3310
  useGoogleMeet?: boolean | undefined;
3281
3311
  timeZone?: string | undefined;
3312
+ recurrence?: {
3313
+ count?: number | undefined;
3314
+ until?: string | undefined;
3315
+ frequency?: "DAILY" | "WEEKLY" | "MONTHLY" | "YEARLY" | undefined;
3316
+ interval?: number | undefined;
3317
+ byDay?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
3318
+ byMonthDay?: number[] | undefined;
3319
+ } | undefined;
3282
3320
  }>;
3283
3321
  export type googleOauthScheduleCalendarMeetingParamsType = z.infer<typeof googleOauthScheduleCalendarMeetingParamsSchema>;
3284
3322
  export declare const googleOauthScheduleCalendarMeetingOutputSchema: z.ZodObject<{
3285
3323
  success: z.ZodBoolean;
3286
3324
  eventId: z.ZodOptional<z.ZodString>;
3287
3325
  eventUrl: z.ZodOptional<z.ZodString>;
3326
+ eventDayOfWeek: z.ZodOptional<z.ZodString>;
3288
3327
  error: z.ZodOptional<z.ZodString>;
3289
3328
  }, "strip", z.ZodTypeAny, {
3290
3329
  success: boolean;
3291
3330
  error?: string | undefined;
3292
3331
  eventId?: string | undefined;
3293
3332
  eventUrl?: string | undefined;
3333
+ eventDayOfWeek?: string | undefined;
3294
3334
  }, {
3295
3335
  success: boolean;
3296
3336
  error?: string | undefined;
3297
3337
  eventId?: string | undefined;
3298
3338
  eventUrl?: string | undefined;
3339
+ eventDayOfWeek?: string | undefined;
3299
3340
  }>;
3300
3341
  export type googleOauthScheduleCalendarMeetingOutputType = z.infer<typeof googleOauthScheduleCalendarMeetingOutputSchema>;
3301
3342
  export type googleOauthScheduleCalendarMeetingFunction = ActionFunction<googleOauthScheduleCalendarMeetingParamsType, AuthParamsType, googleOauthScheduleCalendarMeetingOutputType>;
@@ -3367,7 +3408,9 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
3367
3408
  description: z.ZodOptional<z.ZodString>;
3368
3409
  location: z.ZodOptional<z.ZodString>;
3369
3410
  start: z.ZodOptional<z.ZodString>;
3411
+ startDayOfWeek: z.ZodOptional<z.ZodString>;
3370
3412
  end: z.ZodOptional<z.ZodString>;
3413
+ endDayOfWeek: z.ZodOptional<z.ZodString>;
3371
3414
  attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
3372
3415
  email: z.ZodOptional<z.ZodString>;
3373
3416
  displayName: z.ZodOptional<z.ZodString>;
@@ -3414,6 +3457,8 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
3414
3457
  email?: string | undefined;
3415
3458
  displayName?: string | undefined;
3416
3459
  } | undefined;
3460
+ startDayOfWeek?: string | undefined;
3461
+ endDayOfWeek?: string | undefined;
3417
3462
  hangoutLink?: string | undefined;
3418
3463
  }, {
3419
3464
  status?: string | undefined;
@@ -3435,6 +3480,8 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
3435
3480
  email?: string | undefined;
3436
3481
  displayName?: string | undefined;
3437
3482
  } | undefined;
3483
+ startDayOfWeek?: string | undefined;
3484
+ endDayOfWeek?: string | undefined;
3438
3485
  hangoutLink?: string | undefined;
3439
3486
  }>, "many">;
3440
3487
  timezone: z.ZodOptional<z.ZodString>;
@@ -3461,6 +3508,8 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
3461
3508
  email?: string | undefined;
3462
3509
  displayName?: string | undefined;
3463
3510
  } | undefined;
3511
+ startDayOfWeek?: string | undefined;
3512
+ endDayOfWeek?: string | undefined;
3464
3513
  hangoutLink?: string | undefined;
3465
3514
  }[];
3466
3515
  error?: string | undefined;
@@ -3487,6 +3536,8 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
3487
3536
  email?: string | undefined;
3488
3537
  displayName?: string | undefined;
3489
3538
  } | undefined;
3539
+ startDayOfWeek?: string | undefined;
3540
+ endDayOfWeek?: string | undefined;
3490
3541
  hangoutLink?: string | undefined;
3491
3542
  }[];
3492
3543
  error?: string | undefined;
@@ -3654,17 +3705,20 @@ export declare const googleOauthEditAGoogleCalendarEventOutputSchema: z.ZodObjec
3654
3705
  success: z.ZodBoolean;
3655
3706
  eventId: z.ZodOptional<z.ZodString>;
3656
3707
  eventUrl: z.ZodOptional<z.ZodString>;
3708
+ eventDayOfWeek: z.ZodOptional<z.ZodString>;
3657
3709
  error: z.ZodOptional<z.ZodString>;
3658
3710
  }, "strip", z.ZodTypeAny, {
3659
3711
  success: boolean;
3660
3712
  error?: string | undefined;
3661
3713
  eventId?: string | undefined;
3662
3714
  eventUrl?: string | undefined;
3715
+ eventDayOfWeek?: string | undefined;
3663
3716
  }, {
3664
3717
  success: boolean;
3665
3718
  error?: string | undefined;
3666
3719
  eventId?: string | undefined;
3667
3720
  eventUrl?: string | undefined;
3721
+ eventDayOfWeek?: string | undefined;
3668
3722
  }>;
3669
3723
  export type googleOauthEditAGoogleCalendarEventOutputType = z.infer<typeof googleOauthEditAGoogleCalendarEventOutputSchema>;
3670
3724
  export type googleOauthEditAGoogleCalendarEventFunction = ActionFunction<googleOauthEditAGoogleCalendarEventParamsType, AuthParamsType, googleOauthEditAGoogleCalendarEventOutputType>;
@@ -8130,6 +8184,564 @@ export declare const githubSearchOrganizationOutputSchema: z.ZodObject<{
8130
8184
  }>;
8131
8185
  export type githubSearchOrganizationOutputType = z.infer<typeof githubSearchOrganizationOutputSchema>;
8132
8186
  export type githubSearchOrganizationFunction = ActionFunction<githubSearchOrganizationParamsType, AuthParamsType, githubSearchOrganizationOutputType>;
8187
+ export declare const githubGetBranchParamsSchema: z.ZodObject<{
8188
+ repositoryOwner: z.ZodString;
8189
+ repositoryName: z.ZodString;
8190
+ branchName: z.ZodString;
8191
+ }, "strip", z.ZodTypeAny, {
8192
+ repositoryOwner: string;
8193
+ repositoryName: string;
8194
+ branchName: string;
8195
+ }, {
8196
+ repositoryOwner: string;
8197
+ repositoryName: string;
8198
+ branchName: string;
8199
+ }>;
8200
+ export type githubGetBranchParamsType = z.infer<typeof githubGetBranchParamsSchema>;
8201
+ export declare const githubGetBranchOutputSchema: z.ZodObject<{
8202
+ success: z.ZodBoolean;
8203
+ error: z.ZodOptional<z.ZodString>;
8204
+ branch: z.ZodOptional<z.ZodObject<{
8205
+ name: z.ZodOptional<z.ZodString>;
8206
+ commit: z.ZodOptional<z.ZodObject<{
8207
+ sha: z.ZodOptional<z.ZodString>;
8208
+ node_id: z.ZodOptional<z.ZodString>;
8209
+ url: z.ZodOptional<z.ZodString>;
8210
+ html_url: z.ZodOptional<z.ZodString>;
8211
+ comments_url: z.ZodOptional<z.ZodString>;
8212
+ commit: z.ZodOptional<z.ZodObject<{
8213
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8214
+ name: z.ZodOptional<z.ZodString>;
8215
+ email: z.ZodOptional<z.ZodString>;
8216
+ date: z.ZodOptional<z.ZodString>;
8217
+ }, "strip", z.ZodTypeAny, {
8218
+ date?: string | undefined;
8219
+ name?: string | undefined;
8220
+ email?: string | undefined;
8221
+ }, {
8222
+ date?: string | undefined;
8223
+ name?: string | undefined;
8224
+ email?: string | undefined;
8225
+ }>>>;
8226
+ committer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8227
+ name: z.ZodOptional<z.ZodString>;
8228
+ email: z.ZodOptional<z.ZodString>;
8229
+ date: z.ZodOptional<z.ZodString>;
8230
+ }, "strip", z.ZodTypeAny, {
8231
+ date?: string | undefined;
8232
+ name?: string | undefined;
8233
+ email?: string | undefined;
8234
+ }, {
8235
+ date?: string | undefined;
8236
+ name?: string | undefined;
8237
+ email?: string | undefined;
8238
+ }>>>;
8239
+ message: z.ZodOptional<z.ZodString>;
8240
+ tree: z.ZodOptional<z.ZodObject<{
8241
+ sha: z.ZodOptional<z.ZodString>;
8242
+ url: z.ZodOptional<z.ZodString>;
8243
+ }, "strip", z.ZodTypeAny, {
8244
+ url?: string | undefined;
8245
+ sha?: string | undefined;
8246
+ }, {
8247
+ url?: string | undefined;
8248
+ sha?: string | undefined;
8249
+ }>>;
8250
+ url: z.ZodOptional<z.ZodString>;
8251
+ comment_count: z.ZodOptional<z.ZodNumber>;
8252
+ }, "strip", z.ZodTypeAny, {
8253
+ message?: string | undefined;
8254
+ url?: string | undefined;
8255
+ author?: {
8256
+ date?: string | undefined;
8257
+ name?: string | undefined;
8258
+ email?: string | undefined;
8259
+ } | null | undefined;
8260
+ committer?: {
8261
+ date?: string | undefined;
8262
+ name?: string | undefined;
8263
+ email?: string | undefined;
8264
+ } | null | undefined;
8265
+ tree?: {
8266
+ url?: string | undefined;
8267
+ sha?: string | undefined;
8268
+ } | undefined;
8269
+ comment_count?: number | undefined;
8270
+ }, {
8271
+ message?: string | undefined;
8272
+ url?: string | undefined;
8273
+ author?: {
8274
+ date?: string | undefined;
8275
+ name?: string | undefined;
8276
+ email?: string | undefined;
8277
+ } | null | undefined;
8278
+ committer?: {
8279
+ date?: string | undefined;
8280
+ name?: string | undefined;
8281
+ email?: string | undefined;
8282
+ } | null | undefined;
8283
+ tree?: {
8284
+ url?: string | undefined;
8285
+ sha?: string | undefined;
8286
+ } | undefined;
8287
+ comment_count?: number | undefined;
8288
+ }>>;
8289
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8290
+ login: z.ZodOptional<z.ZodString>;
8291
+ id: z.ZodOptional<z.ZodNumber>;
8292
+ node_id: z.ZodOptional<z.ZodString>;
8293
+ avatar_url: z.ZodOptional<z.ZodString>;
8294
+ html_url: z.ZodOptional<z.ZodString>;
8295
+ type: z.ZodOptional<z.ZodString>;
8296
+ }, "strip", z.ZodTypeAny, {
8297
+ type?: string | undefined;
8298
+ id?: number | undefined;
8299
+ login?: string | undefined;
8300
+ html_url?: string | undefined;
8301
+ node_id?: string | undefined;
8302
+ avatar_url?: string | undefined;
8303
+ }, {
8304
+ type?: string | undefined;
8305
+ id?: number | undefined;
8306
+ login?: string | undefined;
8307
+ html_url?: string | undefined;
8308
+ node_id?: string | undefined;
8309
+ avatar_url?: string | undefined;
8310
+ }>>>;
8311
+ committer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8312
+ login: z.ZodOptional<z.ZodString>;
8313
+ id: z.ZodOptional<z.ZodNumber>;
8314
+ node_id: z.ZodOptional<z.ZodString>;
8315
+ avatar_url: z.ZodOptional<z.ZodString>;
8316
+ html_url: z.ZodOptional<z.ZodString>;
8317
+ type: z.ZodOptional<z.ZodString>;
8318
+ }, "strip", z.ZodTypeAny, {
8319
+ type?: string | undefined;
8320
+ id?: number | undefined;
8321
+ login?: string | undefined;
8322
+ html_url?: string | undefined;
8323
+ node_id?: string | undefined;
8324
+ avatar_url?: string | undefined;
8325
+ }, {
8326
+ type?: string | undefined;
8327
+ id?: number | undefined;
8328
+ login?: string | undefined;
8329
+ html_url?: string | undefined;
8330
+ node_id?: string | undefined;
8331
+ avatar_url?: string | undefined;
8332
+ }>>>;
8333
+ parents: z.ZodOptional<z.ZodArray<z.ZodObject<{
8334
+ sha: z.ZodOptional<z.ZodString>;
8335
+ url: z.ZodOptional<z.ZodString>;
8336
+ html_url: z.ZodOptional<z.ZodString>;
8337
+ }, "strip", z.ZodTypeAny, {
8338
+ url?: string | undefined;
8339
+ sha?: string | undefined;
8340
+ html_url?: string | undefined;
8341
+ }, {
8342
+ url?: string | undefined;
8343
+ sha?: string | undefined;
8344
+ html_url?: string | undefined;
8345
+ }>, "many">>;
8346
+ }, "strip", z.ZodTypeAny, {
8347
+ url?: string | undefined;
8348
+ sha?: string | undefined;
8349
+ author?: {
8350
+ type?: string | undefined;
8351
+ id?: number | undefined;
8352
+ login?: string | undefined;
8353
+ html_url?: string | undefined;
8354
+ node_id?: string | undefined;
8355
+ avatar_url?: string | undefined;
8356
+ } | null | undefined;
8357
+ committer?: {
8358
+ type?: string | undefined;
8359
+ id?: number | undefined;
8360
+ login?: string | undefined;
8361
+ html_url?: string | undefined;
8362
+ node_id?: string | undefined;
8363
+ avatar_url?: string | undefined;
8364
+ } | null | undefined;
8365
+ parents?: {
8366
+ url?: string | undefined;
8367
+ sha?: string | undefined;
8368
+ html_url?: string | undefined;
8369
+ }[] | undefined;
8370
+ commit?: {
8371
+ message?: string | undefined;
8372
+ url?: string | undefined;
8373
+ author?: {
8374
+ date?: string | undefined;
8375
+ name?: string | undefined;
8376
+ email?: string | undefined;
8377
+ } | null | undefined;
8378
+ committer?: {
8379
+ date?: string | undefined;
8380
+ name?: string | undefined;
8381
+ email?: string | undefined;
8382
+ } | null | undefined;
8383
+ tree?: {
8384
+ url?: string | undefined;
8385
+ sha?: string | undefined;
8386
+ } | undefined;
8387
+ comment_count?: number | undefined;
8388
+ } | undefined;
8389
+ html_url?: string | undefined;
8390
+ node_id?: string | undefined;
8391
+ comments_url?: string | undefined;
8392
+ }, {
8393
+ url?: string | undefined;
8394
+ sha?: string | undefined;
8395
+ author?: {
8396
+ type?: string | undefined;
8397
+ id?: number | undefined;
8398
+ login?: string | undefined;
8399
+ html_url?: string | undefined;
8400
+ node_id?: string | undefined;
8401
+ avatar_url?: string | undefined;
8402
+ } | null | undefined;
8403
+ committer?: {
8404
+ type?: string | undefined;
8405
+ id?: number | undefined;
8406
+ login?: string | undefined;
8407
+ html_url?: string | undefined;
8408
+ node_id?: string | undefined;
8409
+ avatar_url?: string | undefined;
8410
+ } | null | undefined;
8411
+ parents?: {
8412
+ url?: string | undefined;
8413
+ sha?: string | undefined;
8414
+ html_url?: string | undefined;
8415
+ }[] | undefined;
8416
+ commit?: {
8417
+ message?: string | undefined;
8418
+ url?: string | undefined;
8419
+ author?: {
8420
+ date?: string | undefined;
8421
+ name?: string | undefined;
8422
+ email?: string | undefined;
8423
+ } | null | undefined;
8424
+ committer?: {
8425
+ date?: string | undefined;
8426
+ name?: string | undefined;
8427
+ email?: string | undefined;
8428
+ } | null | undefined;
8429
+ tree?: {
8430
+ url?: string | undefined;
8431
+ sha?: string | undefined;
8432
+ } | undefined;
8433
+ comment_count?: number | undefined;
8434
+ } | undefined;
8435
+ html_url?: string | undefined;
8436
+ node_id?: string | undefined;
8437
+ comments_url?: string | undefined;
8438
+ }>>;
8439
+ _links: z.ZodOptional<z.ZodObject<{
8440
+ html: z.ZodOptional<z.ZodString>;
8441
+ self: z.ZodOptional<z.ZodString>;
8442
+ }, "strip", z.ZodTypeAny, {
8443
+ html?: string | undefined;
8444
+ self?: string | undefined;
8445
+ }, {
8446
+ html?: string | undefined;
8447
+ self?: string | undefined;
8448
+ }>>;
8449
+ protected: z.ZodOptional<z.ZodBoolean>;
8450
+ protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8451
+ enabled: z.ZodOptional<z.ZodBoolean>;
8452
+ required_status_checks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8453
+ enforcement_level: z.ZodOptional<z.ZodString>;
8454
+ contexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8455
+ strict: z.ZodOptional<z.ZodBoolean>;
8456
+ }, "strip", z.ZodTypeAny, {
8457
+ strict?: boolean | undefined;
8458
+ enforcement_level?: string | undefined;
8459
+ contexts?: string[] | undefined;
8460
+ }, {
8461
+ strict?: boolean | undefined;
8462
+ enforcement_level?: string | undefined;
8463
+ contexts?: string[] | undefined;
8464
+ }>>>;
8465
+ }, "strip", z.ZodTypeAny, {
8466
+ enabled?: boolean | undefined;
8467
+ required_status_checks?: {
8468
+ strict?: boolean | undefined;
8469
+ enforcement_level?: string | undefined;
8470
+ contexts?: string[] | undefined;
8471
+ } | null | undefined;
8472
+ }, {
8473
+ enabled?: boolean | undefined;
8474
+ required_status_checks?: {
8475
+ strict?: boolean | undefined;
8476
+ enforcement_level?: string | undefined;
8477
+ contexts?: string[] | undefined;
8478
+ } | null | undefined;
8479
+ }>>>;
8480
+ protection_url: z.ZodOptional<z.ZodString>;
8481
+ }, "strip", z.ZodTypeAny, {
8482
+ name?: string | undefined;
8483
+ commit?: {
8484
+ url?: string | undefined;
8485
+ sha?: string | undefined;
8486
+ author?: {
8487
+ type?: string | undefined;
8488
+ id?: number | undefined;
8489
+ login?: string | undefined;
8490
+ html_url?: string | undefined;
8491
+ node_id?: string | undefined;
8492
+ avatar_url?: string | undefined;
8493
+ } | null | undefined;
8494
+ committer?: {
8495
+ type?: string | undefined;
8496
+ id?: number | undefined;
8497
+ login?: string | undefined;
8498
+ html_url?: string | undefined;
8499
+ node_id?: string | undefined;
8500
+ avatar_url?: string | undefined;
8501
+ } | null | undefined;
8502
+ parents?: {
8503
+ url?: string | undefined;
8504
+ sha?: string | undefined;
8505
+ html_url?: string | undefined;
8506
+ }[] | undefined;
8507
+ commit?: {
8508
+ message?: string | undefined;
8509
+ url?: string | undefined;
8510
+ author?: {
8511
+ date?: string | undefined;
8512
+ name?: string | undefined;
8513
+ email?: string | undefined;
8514
+ } | null | undefined;
8515
+ committer?: {
8516
+ date?: string | undefined;
8517
+ name?: string | undefined;
8518
+ email?: string | undefined;
8519
+ } | null | undefined;
8520
+ tree?: {
8521
+ url?: string | undefined;
8522
+ sha?: string | undefined;
8523
+ } | undefined;
8524
+ comment_count?: number | undefined;
8525
+ } | undefined;
8526
+ html_url?: string | undefined;
8527
+ node_id?: string | undefined;
8528
+ comments_url?: string | undefined;
8529
+ } | undefined;
8530
+ _links?: {
8531
+ html?: string | undefined;
8532
+ self?: string | undefined;
8533
+ } | undefined;
8534
+ protected?: boolean | undefined;
8535
+ protection?: {
8536
+ enabled?: boolean | undefined;
8537
+ required_status_checks?: {
8538
+ strict?: boolean | undefined;
8539
+ enforcement_level?: string | undefined;
8540
+ contexts?: string[] | undefined;
8541
+ } | null | undefined;
8542
+ } | null | undefined;
8543
+ protection_url?: string | undefined;
8544
+ }, {
8545
+ name?: string | undefined;
8546
+ commit?: {
8547
+ url?: string | undefined;
8548
+ sha?: string | undefined;
8549
+ author?: {
8550
+ type?: string | undefined;
8551
+ id?: number | undefined;
8552
+ login?: string | undefined;
8553
+ html_url?: string | undefined;
8554
+ node_id?: string | undefined;
8555
+ avatar_url?: string | undefined;
8556
+ } | null | undefined;
8557
+ committer?: {
8558
+ type?: string | undefined;
8559
+ id?: number | undefined;
8560
+ login?: string | undefined;
8561
+ html_url?: string | undefined;
8562
+ node_id?: string | undefined;
8563
+ avatar_url?: string | undefined;
8564
+ } | null | undefined;
8565
+ parents?: {
8566
+ url?: string | undefined;
8567
+ sha?: string | undefined;
8568
+ html_url?: string | undefined;
8569
+ }[] | undefined;
8570
+ commit?: {
8571
+ message?: string | undefined;
8572
+ url?: string | undefined;
8573
+ author?: {
8574
+ date?: string | undefined;
8575
+ name?: string | undefined;
8576
+ email?: string | undefined;
8577
+ } | null | undefined;
8578
+ committer?: {
8579
+ date?: string | undefined;
8580
+ name?: string | undefined;
8581
+ email?: string | undefined;
8582
+ } | null | undefined;
8583
+ tree?: {
8584
+ url?: string | undefined;
8585
+ sha?: string | undefined;
8586
+ } | undefined;
8587
+ comment_count?: number | undefined;
8588
+ } | undefined;
8589
+ html_url?: string | undefined;
8590
+ node_id?: string | undefined;
8591
+ comments_url?: string | undefined;
8592
+ } | undefined;
8593
+ _links?: {
8594
+ html?: string | undefined;
8595
+ self?: string | undefined;
8596
+ } | undefined;
8597
+ protected?: boolean | undefined;
8598
+ protection?: {
8599
+ enabled?: boolean | undefined;
8600
+ required_status_checks?: {
8601
+ strict?: boolean | undefined;
8602
+ enforcement_level?: string | undefined;
8603
+ contexts?: string[] | undefined;
8604
+ } | null | undefined;
8605
+ } | null | undefined;
8606
+ protection_url?: string | undefined;
8607
+ }>>;
8608
+ }, "strip", z.ZodTypeAny, {
8609
+ success: boolean;
8610
+ error?: string | undefined;
8611
+ branch?: {
8612
+ name?: string | undefined;
8613
+ commit?: {
8614
+ url?: string | undefined;
8615
+ sha?: string | undefined;
8616
+ author?: {
8617
+ type?: string | undefined;
8618
+ id?: number | undefined;
8619
+ login?: string | undefined;
8620
+ html_url?: string | undefined;
8621
+ node_id?: string | undefined;
8622
+ avatar_url?: string | undefined;
8623
+ } | null | undefined;
8624
+ committer?: {
8625
+ type?: string | undefined;
8626
+ id?: number | undefined;
8627
+ login?: string | undefined;
8628
+ html_url?: string | undefined;
8629
+ node_id?: string | undefined;
8630
+ avatar_url?: string | undefined;
8631
+ } | null | undefined;
8632
+ parents?: {
8633
+ url?: string | undefined;
8634
+ sha?: string | undefined;
8635
+ html_url?: string | undefined;
8636
+ }[] | undefined;
8637
+ commit?: {
8638
+ message?: string | undefined;
8639
+ url?: string | undefined;
8640
+ author?: {
8641
+ date?: string | undefined;
8642
+ name?: string | undefined;
8643
+ email?: string | undefined;
8644
+ } | null | undefined;
8645
+ committer?: {
8646
+ date?: string | undefined;
8647
+ name?: string | undefined;
8648
+ email?: string | undefined;
8649
+ } | null | undefined;
8650
+ tree?: {
8651
+ url?: string | undefined;
8652
+ sha?: string | undefined;
8653
+ } | undefined;
8654
+ comment_count?: number | undefined;
8655
+ } | undefined;
8656
+ html_url?: string | undefined;
8657
+ node_id?: string | undefined;
8658
+ comments_url?: string | undefined;
8659
+ } | undefined;
8660
+ _links?: {
8661
+ html?: string | undefined;
8662
+ self?: string | undefined;
8663
+ } | undefined;
8664
+ protected?: boolean | undefined;
8665
+ protection?: {
8666
+ enabled?: boolean | undefined;
8667
+ required_status_checks?: {
8668
+ strict?: boolean | undefined;
8669
+ enforcement_level?: string | undefined;
8670
+ contexts?: string[] | undefined;
8671
+ } | null | undefined;
8672
+ } | null | undefined;
8673
+ protection_url?: string | undefined;
8674
+ } | undefined;
8675
+ }, {
8676
+ success: boolean;
8677
+ error?: string | undefined;
8678
+ branch?: {
8679
+ name?: string | undefined;
8680
+ commit?: {
8681
+ url?: string | undefined;
8682
+ sha?: string | undefined;
8683
+ author?: {
8684
+ type?: string | undefined;
8685
+ id?: number | undefined;
8686
+ login?: string | undefined;
8687
+ html_url?: string | undefined;
8688
+ node_id?: string | undefined;
8689
+ avatar_url?: string | undefined;
8690
+ } | null | undefined;
8691
+ committer?: {
8692
+ type?: string | undefined;
8693
+ id?: number | undefined;
8694
+ login?: string | undefined;
8695
+ html_url?: string | undefined;
8696
+ node_id?: string | undefined;
8697
+ avatar_url?: string | undefined;
8698
+ } | null | undefined;
8699
+ parents?: {
8700
+ url?: string | undefined;
8701
+ sha?: string | undefined;
8702
+ html_url?: string | undefined;
8703
+ }[] | undefined;
8704
+ commit?: {
8705
+ message?: string | undefined;
8706
+ url?: string | undefined;
8707
+ author?: {
8708
+ date?: string | undefined;
8709
+ name?: string | undefined;
8710
+ email?: string | undefined;
8711
+ } | null | undefined;
8712
+ committer?: {
8713
+ date?: string | undefined;
8714
+ name?: string | undefined;
8715
+ email?: string | undefined;
8716
+ } | null | undefined;
8717
+ tree?: {
8718
+ url?: string | undefined;
8719
+ sha?: string | undefined;
8720
+ } | undefined;
8721
+ comment_count?: number | undefined;
8722
+ } | undefined;
8723
+ html_url?: string | undefined;
8724
+ node_id?: string | undefined;
8725
+ comments_url?: string | undefined;
8726
+ } | undefined;
8727
+ _links?: {
8728
+ html?: string | undefined;
8729
+ self?: string | undefined;
8730
+ } | undefined;
8731
+ protected?: boolean | undefined;
8732
+ protection?: {
8733
+ enabled?: boolean | undefined;
8734
+ required_status_checks?: {
8735
+ strict?: boolean | undefined;
8736
+ enforcement_level?: string | undefined;
8737
+ contexts?: string[] | undefined;
8738
+ } | null | undefined;
8739
+ } | null | undefined;
8740
+ protection_url?: string | undefined;
8741
+ } | undefined;
8742
+ }>;
8743
+ export type githubGetBranchOutputType = z.infer<typeof githubGetBranchOutputSchema>;
8744
+ export type githubGetBranchFunction = ActionFunction<githubGetBranchParamsType, AuthParamsType, githubGetBranchOutputType>;
8133
8745
  export declare const githubListCommitsParamsSchema: z.ZodObject<{
8134
8746
  repositoryOwner: z.ZodString;
8135
8747
  repositoryName: z.ZodString;