@credal/actions 0.2.77 → 0.2.81

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 (53) hide show
  1. package/dist/actions/actionMapper.js +69 -1
  2. package/dist/actions/autogen/templates.d.ts +11 -0
  3. package/dist/actions/autogen/templates.js +832 -16
  4. package/dist/actions/autogen/types.d.ts +765 -20
  5. package/dist/actions/autogen/types.js +249 -8
  6. package/dist/actions/providers/confluence/updatePage.js +14 -15
  7. package/dist/actions/providers/generic/fillTemplateAction.d.ts +7 -0
  8. package/dist/actions/providers/generic/fillTemplateAction.js +18 -0
  9. package/dist/actions/providers/generic/genericApiCall.d.ts +3 -0
  10. package/dist/actions/providers/generic/genericApiCall.js +38 -0
  11. package/dist/actions/providers/google-oauth/editAGoogleCalendarEvent.d.ts +3 -0
  12. package/dist/actions/providers/google-oauth/editAGoogleCalendarEvent.js +57 -0
  13. package/dist/actions/providers/google-oauth/getDriveContentById.d.ts +3 -0
  14. package/dist/actions/providers/google-oauth/getDriveContentById.js +161 -0
  15. package/dist/actions/providers/google-oauth/queryGoogleBigQuery.d.ts +3 -0
  16. package/dist/actions/providers/google-oauth/queryGoogleBigQuery.js +135 -0
  17. package/dist/actions/providers/google-oauth/searchAndGetDriveContentByKeywords.d.ts +3 -0
  18. package/dist/actions/providers/google-oauth/searchAndGetDriveContentByKeywords.js +47 -0
  19. package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.d.ts +3 -0
  20. package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.js +110 -0
  21. package/dist/actions/providers/google-oauth/searchDriveAndGetContentByQuery.d.ts +3 -0
  22. package/dist/actions/providers/google-oauth/searchDriveAndGetContentByQuery.js +78 -0
  23. package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.d.ts +15 -0
  24. package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.js +129 -0
  25. package/dist/actions/providers/googlemail/sendGmail.js +69 -5
  26. package/dist/actions/providers/googlemaps/nearbysearch.d.ts +3 -0
  27. package/dist/actions/providers/googlemaps/nearbysearch.js +96 -0
  28. package/dist/actions/providers/hubspot/getCompanies.d.ts +3 -0
  29. package/dist/actions/providers/hubspot/getCompanies.js +75 -0
  30. package/dist/actions/providers/hubspot/getCompanyDetails.d.ts +3 -0
  31. package/dist/actions/providers/hubspot/getCompanyDetails.js +73 -0
  32. package/dist/actions/providers/hubspot/getContactDetails.d.ts +3 -0
  33. package/dist/actions/providers/hubspot/getContactDetails.js +74 -0
  34. package/dist/actions/providers/hubspot/getContacts.d.ts +3 -0
  35. package/dist/actions/providers/hubspot/getContacts.js +76 -0
  36. package/dist/actions/providers/hubspot/getDealDetails.d.ts +3 -0
  37. package/dist/actions/providers/hubspot/getDealDetails.js +68 -0
  38. package/dist/actions/providers/hubspot/getDeals.d.ts +3 -0
  39. package/dist/actions/providers/hubspot/getDeals.js +60 -0
  40. package/dist/actions/providers/hubspot/getTicketDetails.d.ts +3 -0
  41. package/dist/actions/providers/hubspot/getTicketDetails.js +64 -0
  42. package/dist/actions/providers/hubspot/getTickets.d.ts +3 -0
  43. package/dist/actions/providers/hubspot/getTickets.js +59 -0
  44. package/dist/actions/providers/resend/sendEmailHtml.d.ts +3 -0
  45. package/dist/actions/providers/resend/sendEmailHtml.js +37 -0
  46. package/dist/actions/providers/snowflake/runSnowflakeQueryWriteResultsToS3.d.ts +3 -0
  47. package/dist/actions/providers/snowflake/runSnowflakeQueryWriteResultsToS3.js +154 -0
  48. package/dist/actions/providers/x/scrapeTweetDataWithNitter.d.ts +3 -0
  49. package/dist/actions/providers/x/scrapeTweetDataWithNitter.js +45 -0
  50. package/dist/actions/providers/zendesk/addCommentToTicket.js +27 -13
  51. package/package.json +1 -1
  52. package/dist/actions/providers/jamf/types.d.ts +0 -8
  53. package/dist/actions/providers/jamf/types.js +0 -7
@@ -32,7 +32,8 @@ export declare enum ProviderName {
32
32
  NOTION = "notion",
33
33
  JAMF = "jamf",
34
34
  GITLAB = "gitlab",
35
- LINEAR = "linear"
35
+ LINEAR = "linear",
36
+ HUBSPOT = "hubspot"
36
37
  }
37
38
  export type ActionFunction<P, A, O> = (input: {
38
39
  params: P;
@@ -755,12 +756,15 @@ export type slackSendMessageParamsType = z.infer<typeof slackSendMessageParamsSc
755
756
  export declare const slackSendMessageOutputSchema: z.ZodObject<{
756
757
  success: z.ZodBoolean;
757
758
  error: z.ZodOptional<z.ZodString>;
759
+ messageId: z.ZodOptional<z.ZodString>;
758
760
  }, "strip", z.ZodTypeAny, {
759
761
  success: boolean;
760
762
  error?: string | undefined;
763
+ messageId?: string | undefined;
761
764
  }, {
762
765
  success: boolean;
763
766
  error?: string | undefined;
767
+ messageId?: string | undefined;
764
768
  }>;
765
769
  export type slackSendMessageOutputType = z.infer<typeof slackSendMessageOutputSchema>;
766
770
  export type slackSendMessageFunction = ActionFunction<slackSendMessageParamsType, AuthParamsType, slackSendMessageOutputType>;
@@ -2600,33 +2604,30 @@ export type zendeskUpdateTicketStatusFunction = ActionFunction<zendeskUpdateTick
2600
2604
  export declare const zendeskAddCommentToTicketParamsSchema: z.ZodObject<{
2601
2605
  ticketId: z.ZodString;
2602
2606
  subdomain: z.ZodString;
2603
- comment: z.ZodObject<{
2604
- body: z.ZodString;
2605
- public: z.ZodOptional<z.ZodBoolean>;
2606
- }, "strip", z.ZodTypeAny, {
2607
- body: string;
2608
- public?: boolean | undefined;
2609
- }, {
2610
- body: string;
2611
- public?: boolean | undefined;
2612
- }>;
2607
+ body: z.ZodString;
2608
+ public: z.ZodOptional<z.ZodBoolean>;
2613
2609
  }, "strip", z.ZodTypeAny, {
2614
- comment: {
2615
- body: string;
2616
- public?: boolean | undefined;
2617
- };
2618
2610
  subdomain: string;
2611
+ body: string;
2619
2612
  ticketId: string;
2613
+ public?: boolean | undefined;
2620
2614
  }, {
2621
- comment: {
2622
- body: string;
2623
- public?: boolean | undefined;
2624
- };
2625
2615
  subdomain: string;
2616
+ body: string;
2626
2617
  ticketId: string;
2618
+ public?: boolean | undefined;
2627
2619
  }>;
2628
2620
  export type zendeskAddCommentToTicketParamsType = z.infer<typeof zendeskAddCommentToTicketParamsSchema>;
2629
- export declare const zendeskAddCommentToTicketOutputSchema: z.ZodVoid;
2621
+ export declare const zendeskAddCommentToTicketOutputSchema: z.ZodObject<{
2622
+ success: z.ZodBoolean;
2623
+ ticketUrl: z.ZodOptional<z.ZodString>;
2624
+ }, "strip", z.ZodTypeAny, {
2625
+ success: boolean;
2626
+ ticketUrl?: string | undefined;
2627
+ }, {
2628
+ success: boolean;
2629
+ ticketUrl?: string | undefined;
2630
+ }>;
2630
2631
  export type zendeskAddCommentToTicketOutputType = z.infer<typeof zendeskAddCommentToTicketOutputSchema>;
2631
2632
  export type zendeskAddCommentToTicketFunction = ActionFunction<zendeskAddCommentToTicketParamsType, AuthParamsType, zendeskAddCommentToTicketOutputType>;
2632
2633
  export declare const zendeskAssignTicketParamsSchema: z.ZodObject<{
@@ -3037,6 +3038,32 @@ export declare const resendSendEmailOutputSchema: z.ZodObject<{
3037
3038
  }>;
3038
3039
  export type resendSendEmailOutputType = z.infer<typeof resendSendEmailOutputSchema>;
3039
3040
  export type resendSendEmailFunction = ActionFunction<resendSendEmailParamsType, AuthParamsType, resendSendEmailOutputType>;
3041
+ export declare const resendSendEmailHtmlParamsSchema: z.ZodObject<{
3042
+ to: z.ZodString;
3043
+ subject: z.ZodString;
3044
+ html: z.ZodString;
3045
+ }, "strip", z.ZodTypeAny, {
3046
+ subject: string;
3047
+ to: string;
3048
+ html: string;
3049
+ }, {
3050
+ subject: string;
3051
+ to: string;
3052
+ html: string;
3053
+ }>;
3054
+ export type resendSendEmailHtmlParamsType = z.infer<typeof resendSendEmailHtmlParamsSchema>;
3055
+ export declare const resendSendEmailHtmlOutputSchema: z.ZodObject<{
3056
+ success: z.ZodBoolean;
3057
+ error: z.ZodOptional<z.ZodString>;
3058
+ }, "strip", z.ZodTypeAny, {
3059
+ success: boolean;
3060
+ error?: string | undefined;
3061
+ }, {
3062
+ success: boolean;
3063
+ error?: string | undefined;
3064
+ }>;
3065
+ export type resendSendEmailHtmlOutputType = z.infer<typeof resendSendEmailHtmlOutputSchema>;
3066
+ export type resendSendEmailHtmlFunction = ActionFunction<resendSendEmailHtmlParamsType, AuthParamsType, resendSendEmailHtmlOutputType>;
3040
3067
  export declare const googleOauthCreateNewGoogleDocParamsSchema: z.ZodObject<{
3041
3068
  title: z.ZodString;
3042
3069
  content: z.ZodOptional<z.ZodString>;
@@ -3423,6 +3450,74 @@ export declare const googleOauthUpdateCalendarEventOutputSchema: z.ZodObject<{
3423
3450
  }>;
3424
3451
  export type googleOauthUpdateCalendarEventOutputType = z.infer<typeof googleOauthUpdateCalendarEventOutputSchema>;
3425
3452
  export type googleOauthUpdateCalendarEventFunction = ActionFunction<googleOauthUpdateCalendarEventParamsType, AuthParamsType, googleOauthUpdateCalendarEventOutputType>;
3453
+ export declare const googleOauthEditAGoogleCalendarEventParamsSchema: z.ZodObject<{
3454
+ calendarId: z.ZodString;
3455
+ eventId: z.ZodString;
3456
+ title: z.ZodOptional<z.ZodString>;
3457
+ description: z.ZodOptional<z.ZodString>;
3458
+ start: z.ZodOptional<z.ZodString>;
3459
+ end: z.ZodOptional<z.ZodString>;
3460
+ location: z.ZodOptional<z.ZodString>;
3461
+ attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3462
+ status: z.ZodOptional<z.ZodString>;
3463
+ organizer: z.ZodOptional<z.ZodObject<{
3464
+ email: z.ZodOptional<z.ZodString>;
3465
+ displayName: z.ZodOptional<z.ZodString>;
3466
+ }, "strip", z.ZodTypeAny, {
3467
+ email?: string | undefined;
3468
+ displayName?: string | undefined;
3469
+ }, {
3470
+ email?: string | undefined;
3471
+ displayName?: string | undefined;
3472
+ }>>;
3473
+ }, "strip", z.ZodTypeAny, {
3474
+ calendarId: string;
3475
+ eventId: string;
3476
+ status?: string | undefined;
3477
+ description?: string | undefined;
3478
+ title?: string | undefined;
3479
+ location?: string | undefined;
3480
+ start?: string | undefined;
3481
+ end?: string | undefined;
3482
+ attendees?: string[] | undefined;
3483
+ organizer?: {
3484
+ email?: string | undefined;
3485
+ displayName?: string | undefined;
3486
+ } | undefined;
3487
+ }, {
3488
+ calendarId: string;
3489
+ eventId: string;
3490
+ status?: string | undefined;
3491
+ description?: string | undefined;
3492
+ title?: string | undefined;
3493
+ location?: string | undefined;
3494
+ start?: string | undefined;
3495
+ end?: string | undefined;
3496
+ attendees?: string[] | undefined;
3497
+ organizer?: {
3498
+ email?: string | undefined;
3499
+ displayName?: string | undefined;
3500
+ } | undefined;
3501
+ }>;
3502
+ export type googleOauthEditAGoogleCalendarEventParamsType = z.infer<typeof googleOauthEditAGoogleCalendarEventParamsSchema>;
3503
+ export declare const googleOauthEditAGoogleCalendarEventOutputSchema: z.ZodObject<{
3504
+ success: z.ZodBoolean;
3505
+ eventId: z.ZodOptional<z.ZodString>;
3506
+ eventUrl: z.ZodOptional<z.ZodString>;
3507
+ error: z.ZodOptional<z.ZodString>;
3508
+ }, "strip", z.ZodTypeAny, {
3509
+ success: boolean;
3510
+ error?: string | undefined;
3511
+ eventId?: string | undefined;
3512
+ eventUrl?: string | undefined;
3513
+ }, {
3514
+ success: boolean;
3515
+ error?: string | undefined;
3516
+ eventId?: string | undefined;
3517
+ eventUrl?: string | undefined;
3518
+ }>;
3519
+ export type googleOauthEditAGoogleCalendarEventOutputType = z.infer<typeof googleOauthEditAGoogleCalendarEventOutputSchema>;
3520
+ export type googleOauthEditAGoogleCalendarEventFunction = ActionFunction<googleOauthEditAGoogleCalendarEventParamsType, AuthParamsType, googleOauthEditAGoogleCalendarEventOutputType>;
3426
3521
  export declare const googleOauthDeleteCalendarEventParamsSchema: z.ZodObject<{
3427
3522
  calendarId: z.ZodString;
3428
3523
  eventId: z.ZodString;
@@ -4209,6 +4304,67 @@ export declare const googleOauthDeleteGroupMemberOutputSchema: z.ZodObject<{
4209
4304
  }>;
4210
4305
  export type googleOauthDeleteGroupMemberOutputType = z.infer<typeof googleOauthDeleteGroupMemberOutputSchema>;
4211
4306
  export type googleOauthDeleteGroupMemberFunction = ActionFunction<googleOauthDeleteGroupMemberParamsType, AuthParamsType, googleOauthDeleteGroupMemberOutputType>;
4307
+ export declare const googleOauthQueryGoogleBigQueryParamsSchema: z.ZodObject<{
4308
+ query: z.ZodString;
4309
+ projectId: z.ZodString;
4310
+ maxResults: z.ZodOptional<z.ZodNumber>;
4311
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
4312
+ maximumBytesProcessed: z.ZodOptional<z.ZodString>;
4313
+ }, "strip", z.ZodTypeAny, {
4314
+ projectId: string;
4315
+ query: string;
4316
+ maxResults?: number | undefined;
4317
+ timeoutMs?: number | undefined;
4318
+ maximumBytesProcessed?: string | undefined;
4319
+ }, {
4320
+ projectId: string;
4321
+ query: string;
4322
+ maxResults?: number | undefined;
4323
+ timeoutMs?: number | undefined;
4324
+ maximumBytesProcessed?: string | undefined;
4325
+ }>;
4326
+ export type googleOauthQueryGoogleBigQueryParamsType = z.infer<typeof googleOauthQueryGoogleBigQueryParamsSchema>;
4327
+ export declare const googleOauthQueryGoogleBigQueryOutputSchema: z.ZodObject<{
4328
+ success: z.ZodBoolean;
4329
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "many">>;
4330
+ totalRows: z.ZodOptional<z.ZodString>;
4331
+ schema: z.ZodOptional<z.ZodArray<z.ZodObject<{
4332
+ name: z.ZodOptional<z.ZodString>;
4333
+ type: z.ZodOptional<z.ZodString>;
4334
+ mode: z.ZodOptional<z.ZodString>;
4335
+ }, "strip", z.ZodTypeAny, {
4336
+ type?: string | undefined;
4337
+ name?: string | undefined;
4338
+ mode?: string | undefined;
4339
+ }, {
4340
+ type?: string | undefined;
4341
+ name?: string | undefined;
4342
+ mode?: string | undefined;
4343
+ }>, "many">>;
4344
+ error: z.ZodOptional<z.ZodString>;
4345
+ }, "strip", z.ZodTypeAny, {
4346
+ success: boolean;
4347
+ error?: string | undefined;
4348
+ data?: z.objectOutputType<{}, z.ZodAny, "strip">[] | undefined;
4349
+ totalRows?: string | undefined;
4350
+ schema?: {
4351
+ type?: string | undefined;
4352
+ name?: string | undefined;
4353
+ mode?: string | undefined;
4354
+ }[] | undefined;
4355
+ }, {
4356
+ success: boolean;
4357
+ error?: string | undefined;
4358
+ data?: z.objectInputType<{}, z.ZodAny, "strip">[] | undefined;
4359
+ totalRows?: string | undefined;
4360
+ schema?: {
4361
+ type?: string | undefined;
4362
+ name?: string | undefined;
4363
+ mode?: string | undefined;
4364
+ }[] | undefined;
4365
+ }>;
4366
+ export type googleOauthQueryGoogleBigQueryOutputType = z.infer<typeof googleOauthQueryGoogleBigQueryOutputSchema>;
4367
+ export type googleOauthQueryGoogleBigQueryFunction = ActionFunction<googleOauthQueryGoogleBigQueryParamsType, AuthParamsType, googleOauthQueryGoogleBigQueryOutputType>;
4212
4368
  export declare const googlemailSearchGmailMessagesParamsSchema: z.ZodObject<{
4213
4369
  query: z.ZodString;
4214
4370
  maxResults: z.ZodOptional<z.ZodNumber>;
@@ -4371,16 +4527,19 @@ export declare const googlemailSendGmailParamsSchema: z.ZodObject<{
4371
4527
  bcc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4372
4528
  subject: z.ZodString;
4373
4529
  content: z.ZodString;
4530
+ threadId: z.ZodOptional<z.ZodString>;
4374
4531
  }, "strip", z.ZodTypeAny, {
4375
4532
  content: string;
4376
4533
  subject: string;
4377
4534
  to: string[];
4535
+ threadId?: string | undefined;
4378
4536
  cc?: string[] | undefined;
4379
4537
  bcc?: string[] | undefined;
4380
4538
  }, {
4381
4539
  content: string;
4382
4540
  subject: string;
4383
4541
  to: string[];
4542
+ threadId?: string | undefined;
4384
4543
  cc?: string[] | undefined;
4385
4544
  bcc?: string[] | undefined;
4386
4545
  }>;
@@ -8702,3 +8861,589 @@ export declare const linearGetTeamsOutputSchema: z.ZodObject<{
8702
8861
  }>;
8703
8862
  export type linearGetTeamsOutputType = z.infer<typeof linearGetTeamsOutputSchema>;
8704
8863
  export type linearGetTeamsFunction = ActionFunction<linearGetTeamsParamsType, AuthParamsType, linearGetTeamsOutputType>;
8864
+ export declare const hubspotGetContactsParamsSchema: z.ZodObject<{
8865
+ query: z.ZodOptional<z.ZodString>;
8866
+ limit: z.ZodOptional<z.ZodNumber>;
8867
+ }, "strip", z.ZodTypeAny, {
8868
+ query?: string | undefined;
8869
+ limit?: number | undefined;
8870
+ }, {
8871
+ query?: string | undefined;
8872
+ limit?: number | undefined;
8873
+ }>;
8874
+ export type hubspotGetContactsParamsType = z.infer<typeof hubspotGetContactsParamsSchema>;
8875
+ export declare const hubspotGetContactsOutputSchema: z.ZodObject<{
8876
+ success: z.ZodBoolean;
8877
+ error: z.ZodOptional<z.ZodString>;
8878
+ contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
8879
+ id: z.ZodOptional<z.ZodString>;
8880
+ email: z.ZodOptional<z.ZodString>;
8881
+ firstname: z.ZodOptional<z.ZodString>;
8882
+ lastname: z.ZodOptional<z.ZodString>;
8883
+ createdate: z.ZodOptional<z.ZodString>;
8884
+ }, "strip", z.ZodTypeAny, {
8885
+ id?: string | undefined;
8886
+ email?: string | undefined;
8887
+ firstname?: string | undefined;
8888
+ lastname?: string | undefined;
8889
+ createdate?: string | undefined;
8890
+ }, {
8891
+ id?: string | undefined;
8892
+ email?: string | undefined;
8893
+ firstname?: string | undefined;
8894
+ lastname?: string | undefined;
8895
+ createdate?: string | undefined;
8896
+ }>, "many">>;
8897
+ }, "strip", z.ZodTypeAny, {
8898
+ success: boolean;
8899
+ error?: string | undefined;
8900
+ contacts?: {
8901
+ id?: string | undefined;
8902
+ email?: string | undefined;
8903
+ firstname?: string | undefined;
8904
+ lastname?: string | undefined;
8905
+ createdate?: string | undefined;
8906
+ }[] | undefined;
8907
+ }, {
8908
+ success: boolean;
8909
+ error?: string | undefined;
8910
+ contacts?: {
8911
+ id?: string | undefined;
8912
+ email?: string | undefined;
8913
+ firstname?: string | undefined;
8914
+ lastname?: string | undefined;
8915
+ createdate?: string | undefined;
8916
+ }[] | undefined;
8917
+ }>;
8918
+ export type hubspotGetContactsOutputType = z.infer<typeof hubspotGetContactsOutputSchema>;
8919
+ export type hubspotGetContactsFunction = ActionFunction<hubspotGetContactsParamsType, AuthParamsType, hubspotGetContactsOutputType>;
8920
+ export declare const hubspotGetContactDetailsParamsSchema: z.ZodObject<{
8921
+ contactId: z.ZodString;
8922
+ }, "strip", z.ZodTypeAny, {
8923
+ contactId: string;
8924
+ }, {
8925
+ contactId: string;
8926
+ }>;
8927
+ export type hubspotGetContactDetailsParamsType = z.infer<typeof hubspotGetContactDetailsParamsSchema>;
8928
+ export declare const hubspotGetContactDetailsOutputSchema: z.ZodObject<{
8929
+ success: z.ZodBoolean;
8930
+ error: z.ZodOptional<z.ZodString>;
8931
+ contact: z.ZodOptional<z.ZodObject<{
8932
+ id: z.ZodOptional<z.ZodString>;
8933
+ email: z.ZodOptional<z.ZodString>;
8934
+ firstname: z.ZodOptional<z.ZodString>;
8935
+ lastname: z.ZodOptional<z.ZodString>;
8936
+ company: z.ZodOptional<z.ZodString>;
8937
+ phone: z.ZodOptional<z.ZodString>;
8938
+ address: z.ZodOptional<z.ZodString>;
8939
+ city: z.ZodOptional<z.ZodString>;
8940
+ state: z.ZodOptional<z.ZodString>;
8941
+ zip: z.ZodOptional<z.ZodString>;
8942
+ country: z.ZodOptional<z.ZodString>;
8943
+ lifecyclestage: z.ZodOptional<z.ZodString>;
8944
+ leadstatus: z.ZodOptional<z.ZodString>;
8945
+ createdAt: z.ZodOptional<z.ZodString>;
8946
+ updatedAt: z.ZodOptional<z.ZodString>;
8947
+ archived: z.ZodOptional<z.ZodBoolean>;
8948
+ }, "strip", z.ZodTypeAny, {
8949
+ id?: string | undefined;
8950
+ email?: string | undefined;
8951
+ company?: string | undefined;
8952
+ createdAt?: string | undefined;
8953
+ state?: string | undefined;
8954
+ updatedAt?: string | undefined;
8955
+ address?: string | undefined;
8956
+ city?: string | undefined;
8957
+ country?: string | undefined;
8958
+ firstname?: string | undefined;
8959
+ lastname?: string | undefined;
8960
+ phone?: string | undefined;
8961
+ zip?: string | undefined;
8962
+ lifecyclestage?: string | undefined;
8963
+ leadstatus?: string | undefined;
8964
+ archived?: boolean | undefined;
8965
+ }, {
8966
+ id?: string | undefined;
8967
+ email?: string | undefined;
8968
+ company?: string | undefined;
8969
+ createdAt?: string | undefined;
8970
+ state?: string | undefined;
8971
+ updatedAt?: string | undefined;
8972
+ address?: string | undefined;
8973
+ city?: string | undefined;
8974
+ country?: string | undefined;
8975
+ firstname?: string | undefined;
8976
+ lastname?: string | undefined;
8977
+ phone?: string | undefined;
8978
+ zip?: string | undefined;
8979
+ lifecyclestage?: string | undefined;
8980
+ leadstatus?: string | undefined;
8981
+ archived?: boolean | undefined;
8982
+ }>>;
8983
+ }, "strip", z.ZodTypeAny, {
8984
+ success: boolean;
8985
+ error?: string | undefined;
8986
+ contact?: {
8987
+ id?: string | undefined;
8988
+ email?: string | undefined;
8989
+ company?: string | undefined;
8990
+ createdAt?: string | undefined;
8991
+ state?: string | undefined;
8992
+ updatedAt?: string | undefined;
8993
+ address?: string | undefined;
8994
+ city?: string | undefined;
8995
+ country?: string | undefined;
8996
+ firstname?: string | undefined;
8997
+ lastname?: string | undefined;
8998
+ phone?: string | undefined;
8999
+ zip?: string | undefined;
9000
+ lifecyclestage?: string | undefined;
9001
+ leadstatus?: string | undefined;
9002
+ archived?: boolean | undefined;
9003
+ } | undefined;
9004
+ }, {
9005
+ success: boolean;
9006
+ error?: string | undefined;
9007
+ contact?: {
9008
+ id?: string | undefined;
9009
+ email?: string | undefined;
9010
+ company?: string | undefined;
9011
+ createdAt?: string | undefined;
9012
+ state?: string | undefined;
9013
+ updatedAt?: string | undefined;
9014
+ address?: string | undefined;
9015
+ city?: string | undefined;
9016
+ country?: string | undefined;
9017
+ firstname?: string | undefined;
9018
+ lastname?: string | undefined;
9019
+ phone?: string | undefined;
9020
+ zip?: string | undefined;
9021
+ lifecyclestage?: string | undefined;
9022
+ leadstatus?: string | undefined;
9023
+ archived?: boolean | undefined;
9024
+ } | undefined;
9025
+ }>;
9026
+ export type hubspotGetContactDetailsOutputType = z.infer<typeof hubspotGetContactDetailsOutputSchema>;
9027
+ export type hubspotGetContactDetailsFunction = ActionFunction<hubspotGetContactDetailsParamsType, AuthParamsType, hubspotGetContactDetailsOutputType>;
9028
+ export declare const hubspotGetCompaniesParamsSchema: z.ZodObject<{
9029
+ query: z.ZodOptional<z.ZodString>;
9030
+ limit: z.ZodOptional<z.ZodNumber>;
9031
+ }, "strip", z.ZodTypeAny, {
9032
+ query?: string | undefined;
9033
+ limit?: number | undefined;
9034
+ }, {
9035
+ query?: string | undefined;
9036
+ limit?: number | undefined;
9037
+ }>;
9038
+ export type hubspotGetCompaniesParamsType = z.infer<typeof hubspotGetCompaniesParamsSchema>;
9039
+ export declare const hubspotGetCompaniesOutputSchema: z.ZodObject<{
9040
+ success: z.ZodBoolean;
9041
+ error: z.ZodOptional<z.ZodString>;
9042
+ companies: z.ZodOptional<z.ZodArray<z.ZodObject<{
9043
+ id: z.ZodOptional<z.ZodString>;
9044
+ name: z.ZodOptional<z.ZodString>;
9045
+ domain: z.ZodOptional<z.ZodString>;
9046
+ createdAt: z.ZodOptional<z.ZodString>;
9047
+ }, "strip", z.ZodTypeAny, {
9048
+ name?: string | undefined;
9049
+ id?: string | undefined;
9050
+ createdAt?: string | undefined;
9051
+ domain?: string | undefined;
9052
+ }, {
9053
+ name?: string | undefined;
9054
+ id?: string | undefined;
9055
+ createdAt?: string | undefined;
9056
+ domain?: string | undefined;
9057
+ }>, "many">>;
9058
+ }, "strip", z.ZodTypeAny, {
9059
+ success: boolean;
9060
+ error?: string | undefined;
9061
+ companies?: {
9062
+ name?: string | undefined;
9063
+ id?: string | undefined;
9064
+ createdAt?: string | undefined;
9065
+ domain?: string | undefined;
9066
+ }[] | undefined;
9067
+ }, {
9068
+ success: boolean;
9069
+ error?: string | undefined;
9070
+ companies?: {
9071
+ name?: string | undefined;
9072
+ id?: string | undefined;
9073
+ createdAt?: string | undefined;
9074
+ domain?: string | undefined;
9075
+ }[] | undefined;
9076
+ }>;
9077
+ export type hubspotGetCompaniesOutputType = z.infer<typeof hubspotGetCompaniesOutputSchema>;
9078
+ export type hubspotGetCompaniesFunction = ActionFunction<hubspotGetCompaniesParamsType, AuthParamsType, hubspotGetCompaniesOutputType>;
9079
+ export declare const hubspotGetCompanyDetailsParamsSchema: z.ZodObject<{
9080
+ companyId: z.ZodString;
9081
+ }, "strip", z.ZodTypeAny, {
9082
+ companyId: string;
9083
+ }, {
9084
+ companyId: string;
9085
+ }>;
9086
+ export type hubspotGetCompanyDetailsParamsType = z.infer<typeof hubspotGetCompanyDetailsParamsSchema>;
9087
+ export declare const hubspotGetCompanyDetailsOutputSchema: z.ZodObject<{
9088
+ success: z.ZodBoolean;
9089
+ error: z.ZodOptional<z.ZodString>;
9090
+ company: z.ZodOptional<z.ZodObject<{
9091
+ id: z.ZodOptional<z.ZodString>;
9092
+ name: z.ZodOptional<z.ZodString>;
9093
+ domain: z.ZodOptional<z.ZodString>;
9094
+ industry: z.ZodOptional<z.ZodString>;
9095
+ phone: z.ZodOptional<z.ZodString>;
9096
+ address: z.ZodOptional<z.ZodString>;
9097
+ city: z.ZodOptional<z.ZodString>;
9098
+ state: z.ZodOptional<z.ZodString>;
9099
+ zip: z.ZodOptional<z.ZodString>;
9100
+ country: z.ZodOptional<z.ZodString>;
9101
+ website: z.ZodOptional<z.ZodString>;
9102
+ createdAt: z.ZodOptional<z.ZodString>;
9103
+ updatedAt: z.ZodOptional<z.ZodString>;
9104
+ archived: z.ZodOptional<z.ZodBoolean>;
9105
+ }, "strip", z.ZodTypeAny, {
9106
+ name?: string | undefined;
9107
+ id?: string | undefined;
9108
+ website?: string | undefined;
9109
+ createdAt?: string | undefined;
9110
+ state?: string | undefined;
9111
+ updatedAt?: string | undefined;
9112
+ address?: string | undefined;
9113
+ city?: string | undefined;
9114
+ country?: string | undefined;
9115
+ phone?: string | undefined;
9116
+ zip?: string | undefined;
9117
+ archived?: boolean | undefined;
9118
+ domain?: string | undefined;
9119
+ industry?: string | undefined;
9120
+ }, {
9121
+ name?: string | undefined;
9122
+ id?: string | undefined;
9123
+ website?: string | undefined;
9124
+ createdAt?: string | undefined;
9125
+ state?: string | undefined;
9126
+ updatedAt?: string | undefined;
9127
+ address?: string | undefined;
9128
+ city?: string | undefined;
9129
+ country?: string | undefined;
9130
+ phone?: string | undefined;
9131
+ zip?: string | undefined;
9132
+ archived?: boolean | undefined;
9133
+ domain?: string | undefined;
9134
+ industry?: string | undefined;
9135
+ }>>;
9136
+ }, "strip", z.ZodTypeAny, {
9137
+ success: boolean;
9138
+ error?: string | undefined;
9139
+ company?: {
9140
+ name?: string | undefined;
9141
+ id?: string | undefined;
9142
+ website?: string | undefined;
9143
+ createdAt?: string | undefined;
9144
+ state?: string | undefined;
9145
+ updatedAt?: string | undefined;
9146
+ address?: string | undefined;
9147
+ city?: string | undefined;
9148
+ country?: string | undefined;
9149
+ phone?: string | undefined;
9150
+ zip?: string | undefined;
9151
+ archived?: boolean | undefined;
9152
+ domain?: string | undefined;
9153
+ industry?: string | undefined;
9154
+ } | undefined;
9155
+ }, {
9156
+ success: boolean;
9157
+ error?: string | undefined;
9158
+ company?: {
9159
+ name?: string | undefined;
9160
+ id?: string | undefined;
9161
+ website?: string | undefined;
9162
+ createdAt?: string | undefined;
9163
+ state?: string | undefined;
9164
+ updatedAt?: string | undefined;
9165
+ address?: string | undefined;
9166
+ city?: string | undefined;
9167
+ country?: string | undefined;
9168
+ phone?: string | undefined;
9169
+ zip?: string | undefined;
9170
+ archived?: boolean | undefined;
9171
+ domain?: string | undefined;
9172
+ industry?: string | undefined;
9173
+ } | undefined;
9174
+ }>;
9175
+ export type hubspotGetCompanyDetailsOutputType = z.infer<typeof hubspotGetCompanyDetailsOutputSchema>;
9176
+ export type hubspotGetCompanyDetailsFunction = ActionFunction<hubspotGetCompanyDetailsParamsType, AuthParamsType, hubspotGetCompanyDetailsOutputType>;
9177
+ export declare const hubspotGetDealsParamsSchema: z.ZodObject<{
9178
+ query: z.ZodOptional<z.ZodString>;
9179
+ limit: z.ZodOptional<z.ZodNumber>;
9180
+ }, "strip", z.ZodTypeAny, {
9181
+ query?: string | undefined;
9182
+ limit?: number | undefined;
9183
+ }, {
9184
+ query?: string | undefined;
9185
+ limit?: number | undefined;
9186
+ }>;
9187
+ export type hubspotGetDealsParamsType = z.infer<typeof hubspotGetDealsParamsSchema>;
9188
+ export declare const hubspotGetDealsOutputSchema: z.ZodObject<{
9189
+ success: z.ZodBoolean;
9190
+ error: z.ZodOptional<z.ZodString>;
9191
+ deals: z.ZodOptional<z.ZodArray<z.ZodObject<{
9192
+ id: z.ZodOptional<z.ZodString>;
9193
+ dealname: z.ZodOptional<z.ZodString>;
9194
+ amount: z.ZodOptional<z.ZodString>;
9195
+ dealstage: z.ZodOptional<z.ZodString>;
9196
+ createdAt: z.ZodOptional<z.ZodString>;
9197
+ }, "strip", z.ZodTypeAny, {
9198
+ id?: string | undefined;
9199
+ createdAt?: string | undefined;
9200
+ dealname?: string | undefined;
9201
+ amount?: string | undefined;
9202
+ dealstage?: string | undefined;
9203
+ }, {
9204
+ id?: string | undefined;
9205
+ createdAt?: string | undefined;
9206
+ dealname?: string | undefined;
9207
+ amount?: string | undefined;
9208
+ dealstage?: string | undefined;
9209
+ }>, "many">>;
9210
+ }, "strip", z.ZodTypeAny, {
9211
+ success: boolean;
9212
+ error?: string | undefined;
9213
+ deals?: {
9214
+ id?: string | undefined;
9215
+ createdAt?: string | undefined;
9216
+ dealname?: string | undefined;
9217
+ amount?: string | undefined;
9218
+ dealstage?: string | undefined;
9219
+ }[] | undefined;
9220
+ }, {
9221
+ success: boolean;
9222
+ error?: string | undefined;
9223
+ deals?: {
9224
+ id?: string | undefined;
9225
+ createdAt?: string | undefined;
9226
+ dealname?: string | undefined;
9227
+ amount?: string | undefined;
9228
+ dealstage?: string | undefined;
9229
+ }[] | undefined;
9230
+ }>;
9231
+ export type hubspotGetDealsOutputType = z.infer<typeof hubspotGetDealsOutputSchema>;
9232
+ export type hubspotGetDealsFunction = ActionFunction<hubspotGetDealsParamsType, AuthParamsType, hubspotGetDealsOutputType>;
9233
+ export declare const hubspotGetDealDetailsParamsSchema: z.ZodObject<{
9234
+ dealId: z.ZodString;
9235
+ }, "strip", z.ZodTypeAny, {
9236
+ dealId: string;
9237
+ }, {
9238
+ dealId: string;
9239
+ }>;
9240
+ export type hubspotGetDealDetailsParamsType = z.infer<typeof hubspotGetDealDetailsParamsSchema>;
9241
+ export declare const hubspotGetDealDetailsOutputSchema: z.ZodObject<{
9242
+ success: z.ZodBoolean;
9243
+ error: z.ZodOptional<z.ZodString>;
9244
+ deal: z.ZodOptional<z.ZodObject<{
9245
+ id: z.ZodOptional<z.ZodString>;
9246
+ dealname: z.ZodOptional<z.ZodString>;
9247
+ description: z.ZodOptional<z.ZodString>;
9248
+ amount: z.ZodOptional<z.ZodString>;
9249
+ dealstage: z.ZodOptional<z.ZodString>;
9250
+ pipeline: z.ZodOptional<z.ZodString>;
9251
+ dealtype: z.ZodOptional<z.ZodString>;
9252
+ closedate: z.ZodOptional<z.ZodString>;
9253
+ createdAt: z.ZodOptional<z.ZodString>;
9254
+ updatedAt: z.ZodOptional<z.ZodString>;
9255
+ ownerId: z.ZodOptional<z.ZodString>;
9256
+ archived: z.ZodOptional<z.ZodBoolean>;
9257
+ }, "strip", z.ZodTypeAny, {
9258
+ description?: string | undefined;
9259
+ id?: string | undefined;
9260
+ createdAt?: string | undefined;
9261
+ updatedAt?: string | undefined;
9262
+ archived?: boolean | undefined;
9263
+ dealname?: string | undefined;
9264
+ amount?: string | undefined;
9265
+ dealstage?: string | undefined;
9266
+ pipeline?: string | undefined;
9267
+ dealtype?: string | undefined;
9268
+ closedate?: string | undefined;
9269
+ ownerId?: string | undefined;
9270
+ }, {
9271
+ description?: string | undefined;
9272
+ id?: string | undefined;
9273
+ createdAt?: string | undefined;
9274
+ updatedAt?: string | undefined;
9275
+ archived?: boolean | undefined;
9276
+ dealname?: string | undefined;
9277
+ amount?: string | undefined;
9278
+ dealstage?: string | undefined;
9279
+ pipeline?: string | undefined;
9280
+ dealtype?: string | undefined;
9281
+ closedate?: string | undefined;
9282
+ ownerId?: string | undefined;
9283
+ }>>;
9284
+ }, "strip", z.ZodTypeAny, {
9285
+ success: boolean;
9286
+ error?: string | undefined;
9287
+ deal?: {
9288
+ description?: string | undefined;
9289
+ id?: string | undefined;
9290
+ createdAt?: string | undefined;
9291
+ updatedAt?: string | undefined;
9292
+ archived?: boolean | undefined;
9293
+ dealname?: string | undefined;
9294
+ amount?: string | undefined;
9295
+ dealstage?: string | undefined;
9296
+ pipeline?: string | undefined;
9297
+ dealtype?: string | undefined;
9298
+ closedate?: string | undefined;
9299
+ ownerId?: string | undefined;
9300
+ } | undefined;
9301
+ }, {
9302
+ success: boolean;
9303
+ error?: string | undefined;
9304
+ deal?: {
9305
+ description?: string | undefined;
9306
+ id?: string | undefined;
9307
+ createdAt?: string | undefined;
9308
+ updatedAt?: string | undefined;
9309
+ archived?: boolean | undefined;
9310
+ dealname?: string | undefined;
9311
+ amount?: string | undefined;
9312
+ dealstage?: string | undefined;
9313
+ pipeline?: string | undefined;
9314
+ dealtype?: string | undefined;
9315
+ closedate?: string | undefined;
9316
+ ownerId?: string | undefined;
9317
+ } | undefined;
9318
+ }>;
9319
+ export type hubspotGetDealDetailsOutputType = z.infer<typeof hubspotGetDealDetailsOutputSchema>;
9320
+ export type hubspotGetDealDetailsFunction = ActionFunction<hubspotGetDealDetailsParamsType, AuthParamsType, hubspotGetDealDetailsOutputType>;
9321
+ export declare const hubspotGetTicketsParamsSchema: z.ZodObject<{
9322
+ query: z.ZodOptional<z.ZodString>;
9323
+ limit: z.ZodOptional<z.ZodNumber>;
9324
+ }, "strip", z.ZodTypeAny, {
9325
+ query?: string | undefined;
9326
+ limit?: number | undefined;
9327
+ }, {
9328
+ query?: string | undefined;
9329
+ limit?: number | undefined;
9330
+ }>;
9331
+ export type hubspotGetTicketsParamsType = z.infer<typeof hubspotGetTicketsParamsSchema>;
9332
+ export declare const hubspotGetTicketsOutputSchema: z.ZodObject<{
9333
+ success: z.ZodBoolean;
9334
+ error: z.ZodOptional<z.ZodString>;
9335
+ tickets: z.ZodOptional<z.ZodArray<z.ZodObject<{
9336
+ id: z.ZodOptional<z.ZodString>;
9337
+ subject: z.ZodOptional<z.ZodString>;
9338
+ status: z.ZodOptional<z.ZodString>;
9339
+ createdAt: z.ZodOptional<z.ZodString>;
9340
+ }, "strip", z.ZodTypeAny, {
9341
+ status?: string | undefined;
9342
+ id?: string | undefined;
9343
+ subject?: string | undefined;
9344
+ createdAt?: string | undefined;
9345
+ }, {
9346
+ status?: string | undefined;
9347
+ id?: string | undefined;
9348
+ subject?: string | undefined;
9349
+ createdAt?: string | undefined;
9350
+ }>, "many">>;
9351
+ }, "strip", z.ZodTypeAny, {
9352
+ success: boolean;
9353
+ error?: string | undefined;
9354
+ tickets?: {
9355
+ status?: string | undefined;
9356
+ id?: string | undefined;
9357
+ subject?: string | undefined;
9358
+ createdAt?: string | undefined;
9359
+ }[] | undefined;
9360
+ }, {
9361
+ success: boolean;
9362
+ error?: string | undefined;
9363
+ tickets?: {
9364
+ status?: string | undefined;
9365
+ id?: string | undefined;
9366
+ subject?: string | undefined;
9367
+ createdAt?: string | undefined;
9368
+ }[] | undefined;
9369
+ }>;
9370
+ export type hubspotGetTicketsOutputType = z.infer<typeof hubspotGetTicketsOutputSchema>;
9371
+ export type hubspotGetTicketsFunction = ActionFunction<hubspotGetTicketsParamsType, AuthParamsType, hubspotGetTicketsOutputType>;
9372
+ export declare const hubspotGetTicketDetailsParamsSchema: z.ZodObject<{
9373
+ ticketId: z.ZodString;
9374
+ }, "strip", z.ZodTypeAny, {
9375
+ ticketId: string;
9376
+ }, {
9377
+ ticketId: string;
9378
+ }>;
9379
+ export type hubspotGetTicketDetailsParamsType = z.infer<typeof hubspotGetTicketDetailsParamsSchema>;
9380
+ export declare const hubspotGetTicketDetailsOutputSchema: z.ZodObject<{
9381
+ success: z.ZodBoolean;
9382
+ error: z.ZodOptional<z.ZodString>;
9383
+ ticket: z.ZodOptional<z.ZodObject<{
9384
+ id: z.ZodOptional<z.ZodString>;
9385
+ subject: z.ZodOptional<z.ZodString>;
9386
+ content: z.ZodOptional<z.ZodString>;
9387
+ pipeline: z.ZodOptional<z.ZodString>;
9388
+ status: z.ZodOptional<z.ZodString>;
9389
+ priority: z.ZodOptional<z.ZodString>;
9390
+ createdAt: z.ZodOptional<z.ZodString>;
9391
+ updatedAt: z.ZodOptional<z.ZodString>;
9392
+ ownerId: z.ZodOptional<z.ZodString>;
9393
+ archived: z.ZodOptional<z.ZodBoolean>;
9394
+ }, "strip", z.ZodTypeAny, {
9395
+ status?: string | undefined;
9396
+ id?: string | undefined;
9397
+ content?: string | undefined;
9398
+ subject?: string | undefined;
9399
+ createdAt?: string | undefined;
9400
+ priority?: string | undefined;
9401
+ updatedAt?: string | undefined;
9402
+ archived?: boolean | undefined;
9403
+ pipeline?: string | undefined;
9404
+ ownerId?: string | undefined;
9405
+ }, {
9406
+ status?: string | undefined;
9407
+ id?: string | undefined;
9408
+ content?: string | undefined;
9409
+ subject?: string | undefined;
9410
+ createdAt?: string | undefined;
9411
+ priority?: string | undefined;
9412
+ updatedAt?: string | undefined;
9413
+ archived?: boolean | undefined;
9414
+ pipeline?: string | undefined;
9415
+ ownerId?: string | undefined;
9416
+ }>>;
9417
+ }, "strip", z.ZodTypeAny, {
9418
+ success: boolean;
9419
+ error?: string | undefined;
9420
+ ticket?: {
9421
+ status?: string | undefined;
9422
+ id?: string | undefined;
9423
+ content?: string | undefined;
9424
+ subject?: string | undefined;
9425
+ createdAt?: string | undefined;
9426
+ priority?: string | undefined;
9427
+ updatedAt?: string | undefined;
9428
+ archived?: boolean | undefined;
9429
+ pipeline?: string | undefined;
9430
+ ownerId?: string | undefined;
9431
+ } | undefined;
9432
+ }, {
9433
+ success: boolean;
9434
+ error?: string | undefined;
9435
+ ticket?: {
9436
+ status?: string | undefined;
9437
+ id?: string | undefined;
9438
+ content?: string | undefined;
9439
+ subject?: string | undefined;
9440
+ createdAt?: string | undefined;
9441
+ priority?: string | undefined;
9442
+ updatedAt?: string | undefined;
9443
+ archived?: boolean | undefined;
9444
+ pipeline?: string | undefined;
9445
+ ownerId?: string | undefined;
9446
+ } | undefined;
9447
+ }>;
9448
+ export type hubspotGetTicketDetailsOutputType = z.infer<typeof hubspotGetTicketDetailsOutputSchema>;
9449
+ export type hubspotGetTicketDetailsFunction = ActionFunction<hubspotGetTicketDetailsParamsType, AuthParamsType, hubspotGetTicketDetailsOutputType>;