@credal/actions 0.2.77 → 0.2.79

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 (51) hide show
  1. package/dist/actions/actionMapper.js +63 -1
  2. package/dist/actions/autogen/templates.d.ts +10 -0
  3. package/dist/actions/autogen/templates.js +794 -16
  4. package/dist/actions/autogen/types.d.ts +739 -20
  5. package/dist/actions/autogen/types.js +240 -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 +8 -3
  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/snowflake/runSnowflakeQueryWriteResultsToS3.d.ts +3 -0
  45. package/dist/actions/providers/snowflake/runSnowflakeQueryWriteResultsToS3.js +154 -0
  46. package/dist/actions/providers/x/scrapeTweetDataWithNitter.d.ts +3 -0
  47. package/dist/actions/providers/x/scrapeTweetDataWithNitter.js +45 -0
  48. package/dist/actions/providers/zendesk/addCommentToTicket.js +27 -13
  49. package/package.json +1 -1
  50. package/dist/actions/providers/jamf/types.d.ts +0 -8
  51. 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<{
@@ -3423,6 +3424,74 @@ export declare const googleOauthUpdateCalendarEventOutputSchema: z.ZodObject<{
3423
3424
  }>;
3424
3425
  export type googleOauthUpdateCalendarEventOutputType = z.infer<typeof googleOauthUpdateCalendarEventOutputSchema>;
3425
3426
  export type googleOauthUpdateCalendarEventFunction = ActionFunction<googleOauthUpdateCalendarEventParamsType, AuthParamsType, googleOauthUpdateCalendarEventOutputType>;
3427
+ export declare const googleOauthEditAGoogleCalendarEventParamsSchema: z.ZodObject<{
3428
+ calendarId: z.ZodString;
3429
+ eventId: z.ZodString;
3430
+ title: z.ZodOptional<z.ZodString>;
3431
+ description: z.ZodOptional<z.ZodString>;
3432
+ start: z.ZodOptional<z.ZodString>;
3433
+ end: z.ZodOptional<z.ZodString>;
3434
+ location: z.ZodOptional<z.ZodString>;
3435
+ attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3436
+ status: z.ZodOptional<z.ZodString>;
3437
+ organizer: z.ZodOptional<z.ZodObject<{
3438
+ email: z.ZodOptional<z.ZodString>;
3439
+ displayName: z.ZodOptional<z.ZodString>;
3440
+ }, "strip", z.ZodTypeAny, {
3441
+ email?: string | undefined;
3442
+ displayName?: string | undefined;
3443
+ }, {
3444
+ email?: string | undefined;
3445
+ displayName?: string | undefined;
3446
+ }>>;
3447
+ }, "strip", z.ZodTypeAny, {
3448
+ calendarId: string;
3449
+ eventId: string;
3450
+ status?: string | undefined;
3451
+ description?: string | undefined;
3452
+ title?: string | undefined;
3453
+ location?: string | undefined;
3454
+ start?: string | undefined;
3455
+ end?: string | undefined;
3456
+ attendees?: string[] | undefined;
3457
+ organizer?: {
3458
+ email?: string | undefined;
3459
+ displayName?: string | undefined;
3460
+ } | undefined;
3461
+ }, {
3462
+ calendarId: string;
3463
+ eventId: string;
3464
+ status?: string | undefined;
3465
+ description?: string | undefined;
3466
+ title?: string | undefined;
3467
+ location?: string | undefined;
3468
+ start?: string | undefined;
3469
+ end?: string | undefined;
3470
+ attendees?: string[] | undefined;
3471
+ organizer?: {
3472
+ email?: string | undefined;
3473
+ displayName?: string | undefined;
3474
+ } | undefined;
3475
+ }>;
3476
+ export type googleOauthEditAGoogleCalendarEventParamsType = z.infer<typeof googleOauthEditAGoogleCalendarEventParamsSchema>;
3477
+ export declare const googleOauthEditAGoogleCalendarEventOutputSchema: z.ZodObject<{
3478
+ success: z.ZodBoolean;
3479
+ eventId: z.ZodOptional<z.ZodString>;
3480
+ eventUrl: z.ZodOptional<z.ZodString>;
3481
+ error: z.ZodOptional<z.ZodString>;
3482
+ }, "strip", z.ZodTypeAny, {
3483
+ success: boolean;
3484
+ error?: string | undefined;
3485
+ eventId?: string | undefined;
3486
+ eventUrl?: string | undefined;
3487
+ }, {
3488
+ success: boolean;
3489
+ error?: string | undefined;
3490
+ eventId?: string | undefined;
3491
+ eventUrl?: string | undefined;
3492
+ }>;
3493
+ export type googleOauthEditAGoogleCalendarEventOutputType = z.infer<typeof googleOauthEditAGoogleCalendarEventOutputSchema>;
3494
+ export type googleOauthEditAGoogleCalendarEventFunction = ActionFunction<googleOauthEditAGoogleCalendarEventParamsType, AuthParamsType, googleOauthEditAGoogleCalendarEventOutputType>;
3426
3495
  export declare const googleOauthDeleteCalendarEventParamsSchema: z.ZodObject<{
3427
3496
  calendarId: z.ZodString;
3428
3497
  eventId: z.ZodString;
@@ -4209,6 +4278,67 @@ export declare const googleOauthDeleteGroupMemberOutputSchema: z.ZodObject<{
4209
4278
  }>;
4210
4279
  export type googleOauthDeleteGroupMemberOutputType = z.infer<typeof googleOauthDeleteGroupMemberOutputSchema>;
4211
4280
  export type googleOauthDeleteGroupMemberFunction = ActionFunction<googleOauthDeleteGroupMemberParamsType, AuthParamsType, googleOauthDeleteGroupMemberOutputType>;
4281
+ export declare const googleOauthQueryGoogleBigQueryParamsSchema: z.ZodObject<{
4282
+ query: z.ZodString;
4283
+ projectId: z.ZodString;
4284
+ maxResults: z.ZodOptional<z.ZodNumber>;
4285
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
4286
+ maximumBytesProcessed: z.ZodOptional<z.ZodString>;
4287
+ }, "strip", z.ZodTypeAny, {
4288
+ projectId: string;
4289
+ query: string;
4290
+ maxResults?: number | undefined;
4291
+ timeoutMs?: number | undefined;
4292
+ maximumBytesProcessed?: string | undefined;
4293
+ }, {
4294
+ projectId: string;
4295
+ query: string;
4296
+ maxResults?: number | undefined;
4297
+ timeoutMs?: number | undefined;
4298
+ maximumBytesProcessed?: string | undefined;
4299
+ }>;
4300
+ export type googleOauthQueryGoogleBigQueryParamsType = z.infer<typeof googleOauthQueryGoogleBigQueryParamsSchema>;
4301
+ export declare const googleOauthQueryGoogleBigQueryOutputSchema: z.ZodObject<{
4302
+ success: z.ZodBoolean;
4303
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "many">>;
4304
+ totalRows: z.ZodOptional<z.ZodString>;
4305
+ schema: z.ZodOptional<z.ZodArray<z.ZodObject<{
4306
+ name: z.ZodOptional<z.ZodString>;
4307
+ type: z.ZodOptional<z.ZodString>;
4308
+ mode: z.ZodOptional<z.ZodString>;
4309
+ }, "strip", z.ZodTypeAny, {
4310
+ type?: string | undefined;
4311
+ name?: string | undefined;
4312
+ mode?: string | undefined;
4313
+ }, {
4314
+ type?: string | undefined;
4315
+ name?: string | undefined;
4316
+ mode?: string | undefined;
4317
+ }>, "many">>;
4318
+ error: z.ZodOptional<z.ZodString>;
4319
+ }, "strip", z.ZodTypeAny, {
4320
+ success: boolean;
4321
+ error?: string | undefined;
4322
+ data?: z.objectOutputType<{}, z.ZodAny, "strip">[] | undefined;
4323
+ totalRows?: string | undefined;
4324
+ schema?: {
4325
+ type?: string | undefined;
4326
+ name?: string | undefined;
4327
+ mode?: string | undefined;
4328
+ }[] | undefined;
4329
+ }, {
4330
+ success: boolean;
4331
+ error?: string | undefined;
4332
+ data?: z.objectInputType<{}, z.ZodAny, "strip">[] | undefined;
4333
+ totalRows?: string | undefined;
4334
+ schema?: {
4335
+ type?: string | undefined;
4336
+ name?: string | undefined;
4337
+ mode?: string | undefined;
4338
+ }[] | undefined;
4339
+ }>;
4340
+ export type googleOauthQueryGoogleBigQueryOutputType = z.infer<typeof googleOauthQueryGoogleBigQueryOutputSchema>;
4341
+ export type googleOauthQueryGoogleBigQueryFunction = ActionFunction<googleOauthQueryGoogleBigQueryParamsType, AuthParamsType, googleOauthQueryGoogleBigQueryOutputType>;
4212
4342
  export declare const googlemailSearchGmailMessagesParamsSchema: z.ZodObject<{
4213
4343
  query: z.ZodString;
4214
4344
  maxResults: z.ZodOptional<z.ZodNumber>;
@@ -4371,16 +4501,19 @@ export declare const googlemailSendGmailParamsSchema: z.ZodObject<{
4371
4501
  bcc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4372
4502
  subject: z.ZodString;
4373
4503
  content: z.ZodString;
4504
+ threadId: z.ZodOptional<z.ZodString>;
4374
4505
  }, "strip", z.ZodTypeAny, {
4375
4506
  content: string;
4376
4507
  subject: string;
4377
4508
  to: string[];
4509
+ threadId?: string | undefined;
4378
4510
  cc?: string[] | undefined;
4379
4511
  bcc?: string[] | undefined;
4380
4512
  }, {
4381
4513
  content: string;
4382
4514
  subject: string;
4383
4515
  to: string[];
4516
+ threadId?: string | undefined;
4384
4517
  cc?: string[] | undefined;
4385
4518
  bcc?: string[] | undefined;
4386
4519
  }>;
@@ -8702,3 +8835,589 @@ export declare const linearGetTeamsOutputSchema: z.ZodObject<{
8702
8835
  }>;
8703
8836
  export type linearGetTeamsOutputType = z.infer<typeof linearGetTeamsOutputSchema>;
8704
8837
  export type linearGetTeamsFunction = ActionFunction<linearGetTeamsParamsType, AuthParamsType, linearGetTeamsOutputType>;
8838
+ export declare const hubspotGetContactsParamsSchema: z.ZodObject<{
8839
+ query: z.ZodOptional<z.ZodString>;
8840
+ limit: z.ZodOptional<z.ZodNumber>;
8841
+ }, "strip", z.ZodTypeAny, {
8842
+ query?: string | undefined;
8843
+ limit?: number | undefined;
8844
+ }, {
8845
+ query?: string | undefined;
8846
+ limit?: number | undefined;
8847
+ }>;
8848
+ export type hubspotGetContactsParamsType = z.infer<typeof hubspotGetContactsParamsSchema>;
8849
+ export declare const hubspotGetContactsOutputSchema: z.ZodObject<{
8850
+ success: z.ZodBoolean;
8851
+ error: z.ZodOptional<z.ZodString>;
8852
+ contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
8853
+ id: z.ZodOptional<z.ZodString>;
8854
+ email: z.ZodOptional<z.ZodString>;
8855
+ firstname: z.ZodOptional<z.ZodString>;
8856
+ lastname: z.ZodOptional<z.ZodString>;
8857
+ createdate: z.ZodOptional<z.ZodString>;
8858
+ }, "strip", z.ZodTypeAny, {
8859
+ id?: string | undefined;
8860
+ email?: string | undefined;
8861
+ firstname?: string | undefined;
8862
+ lastname?: string | undefined;
8863
+ createdate?: string | undefined;
8864
+ }, {
8865
+ id?: string | undefined;
8866
+ email?: string | undefined;
8867
+ firstname?: string | undefined;
8868
+ lastname?: string | undefined;
8869
+ createdate?: string | undefined;
8870
+ }>, "many">>;
8871
+ }, "strip", z.ZodTypeAny, {
8872
+ success: boolean;
8873
+ error?: string | undefined;
8874
+ contacts?: {
8875
+ id?: string | undefined;
8876
+ email?: string | undefined;
8877
+ firstname?: string | undefined;
8878
+ lastname?: string | undefined;
8879
+ createdate?: string | undefined;
8880
+ }[] | undefined;
8881
+ }, {
8882
+ success: boolean;
8883
+ error?: string | undefined;
8884
+ contacts?: {
8885
+ id?: string | undefined;
8886
+ email?: string | undefined;
8887
+ firstname?: string | undefined;
8888
+ lastname?: string | undefined;
8889
+ createdate?: string | undefined;
8890
+ }[] | undefined;
8891
+ }>;
8892
+ export type hubspotGetContactsOutputType = z.infer<typeof hubspotGetContactsOutputSchema>;
8893
+ export type hubspotGetContactsFunction = ActionFunction<hubspotGetContactsParamsType, AuthParamsType, hubspotGetContactsOutputType>;
8894
+ export declare const hubspotGetContactDetailsParamsSchema: z.ZodObject<{
8895
+ contactId: z.ZodString;
8896
+ }, "strip", z.ZodTypeAny, {
8897
+ contactId: string;
8898
+ }, {
8899
+ contactId: string;
8900
+ }>;
8901
+ export type hubspotGetContactDetailsParamsType = z.infer<typeof hubspotGetContactDetailsParamsSchema>;
8902
+ export declare const hubspotGetContactDetailsOutputSchema: z.ZodObject<{
8903
+ success: z.ZodBoolean;
8904
+ error: z.ZodOptional<z.ZodString>;
8905
+ contact: z.ZodOptional<z.ZodObject<{
8906
+ id: z.ZodOptional<z.ZodString>;
8907
+ email: z.ZodOptional<z.ZodString>;
8908
+ firstname: z.ZodOptional<z.ZodString>;
8909
+ lastname: z.ZodOptional<z.ZodString>;
8910
+ company: z.ZodOptional<z.ZodString>;
8911
+ phone: z.ZodOptional<z.ZodString>;
8912
+ address: z.ZodOptional<z.ZodString>;
8913
+ city: z.ZodOptional<z.ZodString>;
8914
+ state: z.ZodOptional<z.ZodString>;
8915
+ zip: z.ZodOptional<z.ZodString>;
8916
+ country: z.ZodOptional<z.ZodString>;
8917
+ lifecyclestage: z.ZodOptional<z.ZodString>;
8918
+ leadstatus: z.ZodOptional<z.ZodString>;
8919
+ createdAt: z.ZodOptional<z.ZodString>;
8920
+ updatedAt: z.ZodOptional<z.ZodString>;
8921
+ archived: z.ZodOptional<z.ZodBoolean>;
8922
+ }, "strip", z.ZodTypeAny, {
8923
+ id?: string | undefined;
8924
+ email?: string | undefined;
8925
+ company?: string | undefined;
8926
+ createdAt?: string | undefined;
8927
+ state?: string | undefined;
8928
+ updatedAt?: string | undefined;
8929
+ address?: string | undefined;
8930
+ city?: string | undefined;
8931
+ country?: string | undefined;
8932
+ firstname?: string | undefined;
8933
+ lastname?: string | undefined;
8934
+ phone?: string | undefined;
8935
+ zip?: string | undefined;
8936
+ lifecyclestage?: string | undefined;
8937
+ leadstatus?: string | undefined;
8938
+ archived?: boolean | undefined;
8939
+ }, {
8940
+ id?: string | undefined;
8941
+ email?: string | undefined;
8942
+ company?: string | undefined;
8943
+ createdAt?: string | undefined;
8944
+ state?: string | undefined;
8945
+ updatedAt?: string | undefined;
8946
+ address?: string | undefined;
8947
+ city?: string | undefined;
8948
+ country?: string | undefined;
8949
+ firstname?: string | undefined;
8950
+ lastname?: string | undefined;
8951
+ phone?: string | undefined;
8952
+ zip?: string | undefined;
8953
+ lifecyclestage?: string | undefined;
8954
+ leadstatus?: string | undefined;
8955
+ archived?: boolean | undefined;
8956
+ }>>;
8957
+ }, "strip", z.ZodTypeAny, {
8958
+ success: boolean;
8959
+ error?: string | undefined;
8960
+ contact?: {
8961
+ id?: string | undefined;
8962
+ email?: string | undefined;
8963
+ company?: string | undefined;
8964
+ createdAt?: string | undefined;
8965
+ state?: string | undefined;
8966
+ updatedAt?: string | undefined;
8967
+ address?: string | undefined;
8968
+ city?: string | undefined;
8969
+ country?: string | undefined;
8970
+ firstname?: string | undefined;
8971
+ lastname?: string | undefined;
8972
+ phone?: string | undefined;
8973
+ zip?: string | undefined;
8974
+ lifecyclestage?: string | undefined;
8975
+ leadstatus?: string | undefined;
8976
+ archived?: boolean | undefined;
8977
+ } | undefined;
8978
+ }, {
8979
+ success: boolean;
8980
+ error?: string | undefined;
8981
+ contact?: {
8982
+ id?: string | undefined;
8983
+ email?: string | undefined;
8984
+ company?: string | undefined;
8985
+ createdAt?: string | undefined;
8986
+ state?: string | undefined;
8987
+ updatedAt?: string | undefined;
8988
+ address?: string | undefined;
8989
+ city?: string | undefined;
8990
+ country?: string | undefined;
8991
+ firstname?: string | undefined;
8992
+ lastname?: string | undefined;
8993
+ phone?: string | undefined;
8994
+ zip?: string | undefined;
8995
+ lifecyclestage?: string | undefined;
8996
+ leadstatus?: string | undefined;
8997
+ archived?: boolean | undefined;
8998
+ } | undefined;
8999
+ }>;
9000
+ export type hubspotGetContactDetailsOutputType = z.infer<typeof hubspotGetContactDetailsOutputSchema>;
9001
+ export type hubspotGetContactDetailsFunction = ActionFunction<hubspotGetContactDetailsParamsType, AuthParamsType, hubspotGetContactDetailsOutputType>;
9002
+ export declare const hubspotGetCompaniesParamsSchema: z.ZodObject<{
9003
+ query: z.ZodOptional<z.ZodString>;
9004
+ limit: z.ZodOptional<z.ZodNumber>;
9005
+ }, "strip", z.ZodTypeAny, {
9006
+ query?: string | undefined;
9007
+ limit?: number | undefined;
9008
+ }, {
9009
+ query?: string | undefined;
9010
+ limit?: number | undefined;
9011
+ }>;
9012
+ export type hubspotGetCompaniesParamsType = z.infer<typeof hubspotGetCompaniesParamsSchema>;
9013
+ export declare const hubspotGetCompaniesOutputSchema: z.ZodObject<{
9014
+ success: z.ZodBoolean;
9015
+ error: z.ZodOptional<z.ZodString>;
9016
+ companies: z.ZodOptional<z.ZodArray<z.ZodObject<{
9017
+ id: z.ZodOptional<z.ZodString>;
9018
+ name: z.ZodOptional<z.ZodString>;
9019
+ domain: z.ZodOptional<z.ZodString>;
9020
+ createdAt: z.ZodOptional<z.ZodString>;
9021
+ }, "strip", z.ZodTypeAny, {
9022
+ name?: string | undefined;
9023
+ id?: string | undefined;
9024
+ createdAt?: string | undefined;
9025
+ domain?: string | undefined;
9026
+ }, {
9027
+ name?: string | undefined;
9028
+ id?: string | undefined;
9029
+ createdAt?: string | undefined;
9030
+ domain?: string | undefined;
9031
+ }>, "many">>;
9032
+ }, "strip", z.ZodTypeAny, {
9033
+ success: boolean;
9034
+ error?: string | undefined;
9035
+ companies?: {
9036
+ name?: string | undefined;
9037
+ id?: string | undefined;
9038
+ createdAt?: string | undefined;
9039
+ domain?: string | undefined;
9040
+ }[] | undefined;
9041
+ }, {
9042
+ success: boolean;
9043
+ error?: string | undefined;
9044
+ companies?: {
9045
+ name?: string | undefined;
9046
+ id?: string | undefined;
9047
+ createdAt?: string | undefined;
9048
+ domain?: string | undefined;
9049
+ }[] | undefined;
9050
+ }>;
9051
+ export type hubspotGetCompaniesOutputType = z.infer<typeof hubspotGetCompaniesOutputSchema>;
9052
+ export type hubspotGetCompaniesFunction = ActionFunction<hubspotGetCompaniesParamsType, AuthParamsType, hubspotGetCompaniesOutputType>;
9053
+ export declare const hubspotGetCompanyDetailsParamsSchema: z.ZodObject<{
9054
+ companyId: z.ZodString;
9055
+ }, "strip", z.ZodTypeAny, {
9056
+ companyId: string;
9057
+ }, {
9058
+ companyId: string;
9059
+ }>;
9060
+ export type hubspotGetCompanyDetailsParamsType = z.infer<typeof hubspotGetCompanyDetailsParamsSchema>;
9061
+ export declare const hubspotGetCompanyDetailsOutputSchema: z.ZodObject<{
9062
+ success: z.ZodBoolean;
9063
+ error: z.ZodOptional<z.ZodString>;
9064
+ company: z.ZodOptional<z.ZodObject<{
9065
+ id: z.ZodOptional<z.ZodString>;
9066
+ name: z.ZodOptional<z.ZodString>;
9067
+ domain: z.ZodOptional<z.ZodString>;
9068
+ industry: z.ZodOptional<z.ZodString>;
9069
+ phone: z.ZodOptional<z.ZodString>;
9070
+ address: z.ZodOptional<z.ZodString>;
9071
+ city: z.ZodOptional<z.ZodString>;
9072
+ state: z.ZodOptional<z.ZodString>;
9073
+ zip: z.ZodOptional<z.ZodString>;
9074
+ country: z.ZodOptional<z.ZodString>;
9075
+ website: z.ZodOptional<z.ZodString>;
9076
+ createdAt: z.ZodOptional<z.ZodString>;
9077
+ updatedAt: z.ZodOptional<z.ZodString>;
9078
+ archived: z.ZodOptional<z.ZodBoolean>;
9079
+ }, "strip", z.ZodTypeAny, {
9080
+ name?: string | undefined;
9081
+ id?: string | undefined;
9082
+ website?: string | undefined;
9083
+ createdAt?: string | undefined;
9084
+ state?: string | undefined;
9085
+ updatedAt?: string | undefined;
9086
+ address?: string | undefined;
9087
+ city?: string | undefined;
9088
+ country?: string | undefined;
9089
+ phone?: string | undefined;
9090
+ zip?: string | undefined;
9091
+ archived?: boolean | undefined;
9092
+ domain?: string | undefined;
9093
+ industry?: string | undefined;
9094
+ }, {
9095
+ name?: string | undefined;
9096
+ id?: string | undefined;
9097
+ website?: string | undefined;
9098
+ createdAt?: string | undefined;
9099
+ state?: string | undefined;
9100
+ updatedAt?: string | undefined;
9101
+ address?: string | undefined;
9102
+ city?: string | undefined;
9103
+ country?: string | undefined;
9104
+ phone?: string | undefined;
9105
+ zip?: string | undefined;
9106
+ archived?: boolean | undefined;
9107
+ domain?: string | undefined;
9108
+ industry?: string | undefined;
9109
+ }>>;
9110
+ }, "strip", z.ZodTypeAny, {
9111
+ success: boolean;
9112
+ error?: string | undefined;
9113
+ company?: {
9114
+ name?: string | undefined;
9115
+ id?: string | undefined;
9116
+ website?: string | undefined;
9117
+ createdAt?: string | undefined;
9118
+ state?: string | undefined;
9119
+ updatedAt?: string | undefined;
9120
+ address?: string | undefined;
9121
+ city?: string | undefined;
9122
+ country?: string | undefined;
9123
+ phone?: string | undefined;
9124
+ zip?: string | undefined;
9125
+ archived?: boolean | undefined;
9126
+ domain?: string | undefined;
9127
+ industry?: string | undefined;
9128
+ } | undefined;
9129
+ }, {
9130
+ success: boolean;
9131
+ error?: string | undefined;
9132
+ company?: {
9133
+ name?: string | undefined;
9134
+ id?: string | undefined;
9135
+ website?: string | undefined;
9136
+ createdAt?: string | undefined;
9137
+ state?: string | undefined;
9138
+ updatedAt?: string | undefined;
9139
+ address?: string | undefined;
9140
+ city?: string | undefined;
9141
+ country?: string | undefined;
9142
+ phone?: string | undefined;
9143
+ zip?: string | undefined;
9144
+ archived?: boolean | undefined;
9145
+ domain?: string | undefined;
9146
+ industry?: string | undefined;
9147
+ } | undefined;
9148
+ }>;
9149
+ export type hubspotGetCompanyDetailsOutputType = z.infer<typeof hubspotGetCompanyDetailsOutputSchema>;
9150
+ export type hubspotGetCompanyDetailsFunction = ActionFunction<hubspotGetCompanyDetailsParamsType, AuthParamsType, hubspotGetCompanyDetailsOutputType>;
9151
+ export declare const hubspotGetDealsParamsSchema: z.ZodObject<{
9152
+ query: z.ZodOptional<z.ZodString>;
9153
+ limit: z.ZodOptional<z.ZodNumber>;
9154
+ }, "strip", z.ZodTypeAny, {
9155
+ query?: string | undefined;
9156
+ limit?: number | undefined;
9157
+ }, {
9158
+ query?: string | undefined;
9159
+ limit?: number | undefined;
9160
+ }>;
9161
+ export type hubspotGetDealsParamsType = z.infer<typeof hubspotGetDealsParamsSchema>;
9162
+ export declare const hubspotGetDealsOutputSchema: z.ZodObject<{
9163
+ success: z.ZodBoolean;
9164
+ error: z.ZodOptional<z.ZodString>;
9165
+ deals: z.ZodOptional<z.ZodArray<z.ZodObject<{
9166
+ id: z.ZodOptional<z.ZodString>;
9167
+ dealname: z.ZodOptional<z.ZodString>;
9168
+ amount: z.ZodOptional<z.ZodString>;
9169
+ dealstage: z.ZodOptional<z.ZodString>;
9170
+ createdAt: z.ZodOptional<z.ZodString>;
9171
+ }, "strip", z.ZodTypeAny, {
9172
+ id?: string | undefined;
9173
+ createdAt?: string | undefined;
9174
+ dealname?: string | undefined;
9175
+ amount?: string | undefined;
9176
+ dealstage?: string | undefined;
9177
+ }, {
9178
+ id?: string | undefined;
9179
+ createdAt?: string | undefined;
9180
+ dealname?: string | undefined;
9181
+ amount?: string | undefined;
9182
+ dealstage?: string | undefined;
9183
+ }>, "many">>;
9184
+ }, "strip", z.ZodTypeAny, {
9185
+ success: boolean;
9186
+ error?: string | undefined;
9187
+ deals?: {
9188
+ id?: string | undefined;
9189
+ createdAt?: string | undefined;
9190
+ dealname?: string | undefined;
9191
+ amount?: string | undefined;
9192
+ dealstage?: string | undefined;
9193
+ }[] | undefined;
9194
+ }, {
9195
+ success: boolean;
9196
+ error?: string | undefined;
9197
+ deals?: {
9198
+ id?: string | undefined;
9199
+ createdAt?: string | undefined;
9200
+ dealname?: string | undefined;
9201
+ amount?: string | undefined;
9202
+ dealstage?: string | undefined;
9203
+ }[] | undefined;
9204
+ }>;
9205
+ export type hubspotGetDealsOutputType = z.infer<typeof hubspotGetDealsOutputSchema>;
9206
+ export type hubspotGetDealsFunction = ActionFunction<hubspotGetDealsParamsType, AuthParamsType, hubspotGetDealsOutputType>;
9207
+ export declare const hubspotGetDealDetailsParamsSchema: z.ZodObject<{
9208
+ dealId: z.ZodString;
9209
+ }, "strip", z.ZodTypeAny, {
9210
+ dealId: string;
9211
+ }, {
9212
+ dealId: string;
9213
+ }>;
9214
+ export type hubspotGetDealDetailsParamsType = z.infer<typeof hubspotGetDealDetailsParamsSchema>;
9215
+ export declare const hubspotGetDealDetailsOutputSchema: z.ZodObject<{
9216
+ success: z.ZodBoolean;
9217
+ error: z.ZodOptional<z.ZodString>;
9218
+ deal: z.ZodOptional<z.ZodObject<{
9219
+ id: z.ZodOptional<z.ZodString>;
9220
+ dealname: z.ZodOptional<z.ZodString>;
9221
+ description: z.ZodOptional<z.ZodString>;
9222
+ amount: z.ZodOptional<z.ZodString>;
9223
+ dealstage: z.ZodOptional<z.ZodString>;
9224
+ pipeline: z.ZodOptional<z.ZodString>;
9225
+ dealtype: z.ZodOptional<z.ZodString>;
9226
+ closedate: z.ZodOptional<z.ZodString>;
9227
+ createdAt: z.ZodOptional<z.ZodString>;
9228
+ updatedAt: z.ZodOptional<z.ZodString>;
9229
+ ownerId: z.ZodOptional<z.ZodString>;
9230
+ archived: z.ZodOptional<z.ZodBoolean>;
9231
+ }, "strip", z.ZodTypeAny, {
9232
+ description?: string | undefined;
9233
+ id?: string | undefined;
9234
+ createdAt?: string | undefined;
9235
+ updatedAt?: string | undefined;
9236
+ archived?: boolean | undefined;
9237
+ dealname?: string | undefined;
9238
+ amount?: string | undefined;
9239
+ dealstage?: string | undefined;
9240
+ pipeline?: string | undefined;
9241
+ dealtype?: string | undefined;
9242
+ closedate?: string | undefined;
9243
+ ownerId?: string | undefined;
9244
+ }, {
9245
+ description?: string | undefined;
9246
+ id?: string | undefined;
9247
+ createdAt?: string | undefined;
9248
+ updatedAt?: string | undefined;
9249
+ archived?: boolean | undefined;
9250
+ dealname?: string | undefined;
9251
+ amount?: string | undefined;
9252
+ dealstage?: string | undefined;
9253
+ pipeline?: string | undefined;
9254
+ dealtype?: string | undefined;
9255
+ closedate?: string | undefined;
9256
+ ownerId?: string | undefined;
9257
+ }>>;
9258
+ }, "strip", z.ZodTypeAny, {
9259
+ success: boolean;
9260
+ error?: string | undefined;
9261
+ deal?: {
9262
+ description?: string | undefined;
9263
+ id?: string | undefined;
9264
+ createdAt?: string | undefined;
9265
+ updatedAt?: string | undefined;
9266
+ archived?: boolean | undefined;
9267
+ dealname?: string | undefined;
9268
+ amount?: string | undefined;
9269
+ dealstage?: string | undefined;
9270
+ pipeline?: string | undefined;
9271
+ dealtype?: string | undefined;
9272
+ closedate?: string | undefined;
9273
+ ownerId?: string | undefined;
9274
+ } | undefined;
9275
+ }, {
9276
+ success: boolean;
9277
+ error?: string | undefined;
9278
+ deal?: {
9279
+ description?: string | undefined;
9280
+ id?: string | undefined;
9281
+ createdAt?: string | undefined;
9282
+ updatedAt?: string | undefined;
9283
+ archived?: boolean | undefined;
9284
+ dealname?: string | undefined;
9285
+ amount?: string | undefined;
9286
+ dealstage?: string | undefined;
9287
+ pipeline?: string | undefined;
9288
+ dealtype?: string | undefined;
9289
+ closedate?: string | undefined;
9290
+ ownerId?: string | undefined;
9291
+ } | undefined;
9292
+ }>;
9293
+ export type hubspotGetDealDetailsOutputType = z.infer<typeof hubspotGetDealDetailsOutputSchema>;
9294
+ export type hubspotGetDealDetailsFunction = ActionFunction<hubspotGetDealDetailsParamsType, AuthParamsType, hubspotGetDealDetailsOutputType>;
9295
+ export declare const hubspotGetTicketsParamsSchema: z.ZodObject<{
9296
+ query: z.ZodOptional<z.ZodString>;
9297
+ limit: z.ZodOptional<z.ZodNumber>;
9298
+ }, "strip", z.ZodTypeAny, {
9299
+ query?: string | undefined;
9300
+ limit?: number | undefined;
9301
+ }, {
9302
+ query?: string | undefined;
9303
+ limit?: number | undefined;
9304
+ }>;
9305
+ export type hubspotGetTicketsParamsType = z.infer<typeof hubspotGetTicketsParamsSchema>;
9306
+ export declare const hubspotGetTicketsOutputSchema: z.ZodObject<{
9307
+ success: z.ZodBoolean;
9308
+ error: z.ZodOptional<z.ZodString>;
9309
+ tickets: z.ZodOptional<z.ZodArray<z.ZodObject<{
9310
+ id: z.ZodOptional<z.ZodString>;
9311
+ subject: z.ZodOptional<z.ZodString>;
9312
+ status: z.ZodOptional<z.ZodString>;
9313
+ createdAt: z.ZodOptional<z.ZodString>;
9314
+ }, "strip", z.ZodTypeAny, {
9315
+ status?: string | undefined;
9316
+ id?: string | undefined;
9317
+ subject?: string | undefined;
9318
+ createdAt?: string | undefined;
9319
+ }, {
9320
+ status?: string | undefined;
9321
+ id?: string | undefined;
9322
+ subject?: string | undefined;
9323
+ createdAt?: string | undefined;
9324
+ }>, "many">>;
9325
+ }, "strip", z.ZodTypeAny, {
9326
+ success: boolean;
9327
+ error?: string | undefined;
9328
+ tickets?: {
9329
+ status?: string | undefined;
9330
+ id?: string | undefined;
9331
+ subject?: string | undefined;
9332
+ createdAt?: string | undefined;
9333
+ }[] | undefined;
9334
+ }, {
9335
+ success: boolean;
9336
+ error?: string | undefined;
9337
+ tickets?: {
9338
+ status?: string | undefined;
9339
+ id?: string | undefined;
9340
+ subject?: string | undefined;
9341
+ createdAt?: string | undefined;
9342
+ }[] | undefined;
9343
+ }>;
9344
+ export type hubspotGetTicketsOutputType = z.infer<typeof hubspotGetTicketsOutputSchema>;
9345
+ export type hubspotGetTicketsFunction = ActionFunction<hubspotGetTicketsParamsType, AuthParamsType, hubspotGetTicketsOutputType>;
9346
+ export declare const hubspotGetTicketDetailsParamsSchema: z.ZodObject<{
9347
+ ticketId: z.ZodString;
9348
+ }, "strip", z.ZodTypeAny, {
9349
+ ticketId: string;
9350
+ }, {
9351
+ ticketId: string;
9352
+ }>;
9353
+ export type hubspotGetTicketDetailsParamsType = z.infer<typeof hubspotGetTicketDetailsParamsSchema>;
9354
+ export declare const hubspotGetTicketDetailsOutputSchema: z.ZodObject<{
9355
+ success: z.ZodBoolean;
9356
+ error: z.ZodOptional<z.ZodString>;
9357
+ ticket: z.ZodOptional<z.ZodObject<{
9358
+ id: z.ZodOptional<z.ZodString>;
9359
+ subject: z.ZodOptional<z.ZodString>;
9360
+ content: z.ZodOptional<z.ZodString>;
9361
+ pipeline: z.ZodOptional<z.ZodString>;
9362
+ status: z.ZodOptional<z.ZodString>;
9363
+ priority: z.ZodOptional<z.ZodString>;
9364
+ createdAt: z.ZodOptional<z.ZodString>;
9365
+ updatedAt: z.ZodOptional<z.ZodString>;
9366
+ ownerId: z.ZodOptional<z.ZodString>;
9367
+ archived: z.ZodOptional<z.ZodBoolean>;
9368
+ }, "strip", z.ZodTypeAny, {
9369
+ status?: string | undefined;
9370
+ id?: string | undefined;
9371
+ content?: string | undefined;
9372
+ subject?: string | undefined;
9373
+ createdAt?: string | undefined;
9374
+ priority?: string | undefined;
9375
+ updatedAt?: string | undefined;
9376
+ archived?: boolean | undefined;
9377
+ pipeline?: string | undefined;
9378
+ ownerId?: string | undefined;
9379
+ }, {
9380
+ status?: string | undefined;
9381
+ id?: string | undefined;
9382
+ content?: string | undefined;
9383
+ subject?: string | undefined;
9384
+ createdAt?: string | undefined;
9385
+ priority?: string | undefined;
9386
+ updatedAt?: string | undefined;
9387
+ archived?: boolean | undefined;
9388
+ pipeline?: string | undefined;
9389
+ ownerId?: string | undefined;
9390
+ }>>;
9391
+ }, "strip", z.ZodTypeAny, {
9392
+ success: boolean;
9393
+ error?: string | undefined;
9394
+ ticket?: {
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
+ } | undefined;
9406
+ }, {
9407
+ success: boolean;
9408
+ error?: string | undefined;
9409
+ ticket?: {
9410
+ status?: string | undefined;
9411
+ id?: string | undefined;
9412
+ content?: string | undefined;
9413
+ subject?: string | undefined;
9414
+ createdAt?: string | undefined;
9415
+ priority?: string | undefined;
9416
+ updatedAt?: string | undefined;
9417
+ archived?: boolean | undefined;
9418
+ pipeline?: string | undefined;
9419
+ ownerId?: string | undefined;
9420
+ } | undefined;
9421
+ }>;
9422
+ export type hubspotGetTicketDetailsOutputType = z.infer<typeof hubspotGetTicketDetailsOutputSchema>;
9423
+ export type hubspotGetTicketDetailsFunction = ActionFunction<hubspotGetTicketDetailsParamsType, AuthParamsType, hubspotGetTicketDetailsOutputType>;