@credal/actions 0.2.202 → 0.2.205

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.
@@ -58,6 +58,7 @@ export declare enum ActionName {
58
58
  ASSIGNJIRATICKET = "assignJiraTicket",
59
59
  PUBLICCOMMENTONSERVICEDESKREQUEST = "publicCommentOnServiceDeskRequest",
60
60
  COMMENTJIRATICKET = "commentJiraTicket",
61
+ COMMENTJIRATICKETWITHMENTIONS = "commentJiraTicketWithMentions",
61
62
  CREATEJIRATICKET = "createJiraTicket",
62
63
  CREATESERVICEDESKREQUEST = "createServiceDeskRequest",
63
64
  GETJIRATICKETDETAILS = "getJiraTicketDetails",
@@ -164,6 +165,7 @@ export declare enum ActionName {
164
165
  GETPROJECTDETAILS = "getProjectDetails",
165
166
  GETTEAMDETAILS = "getTeamDetails",
166
167
  GETTEAMS = "getTeams",
168
+ CREATEISSUE = "createIssue",
167
169
  GETCONTACTS = "getContacts",
168
170
  GETCONTACTDETAILS = "getContactDetails",
169
171
  GETCOMPANIES = "getCompanies",
@@ -1639,6 +1641,35 @@ export declare const jiraCommentJiraTicketOutputSchema: z.ZodObject<{
1639
1641
  }>;
1640
1642
  export type jiraCommentJiraTicketOutputType = z.infer<typeof jiraCommentJiraTicketOutputSchema>;
1641
1643
  export type jiraCommentJiraTicketFunction = ActionFunction<jiraCommentJiraTicketParamsType, AuthParamsType, jiraCommentJiraTicketOutputType>;
1644
+ export declare const jiraCommentJiraTicketWithMentionsParamsSchema: z.ZodObject<{
1645
+ projectKey: z.ZodString;
1646
+ issueId: z.ZodString;
1647
+ comment: z.ZodString;
1648
+ }, "strip", z.ZodTypeAny, {
1649
+ projectKey: string;
1650
+ issueId: string;
1651
+ comment: string;
1652
+ }, {
1653
+ projectKey: string;
1654
+ issueId: string;
1655
+ comment: string;
1656
+ }>;
1657
+ export type jiraCommentJiraTicketWithMentionsParamsType = z.infer<typeof jiraCommentJiraTicketWithMentionsParamsSchema>;
1658
+ export declare const jiraCommentJiraTicketWithMentionsOutputSchema: z.ZodObject<{
1659
+ success: z.ZodBoolean;
1660
+ error: z.ZodOptional<z.ZodString>;
1661
+ commentUrl: z.ZodOptional<z.ZodString>;
1662
+ }, "strip", z.ZodTypeAny, {
1663
+ success: boolean;
1664
+ error?: string | undefined;
1665
+ commentUrl?: string | undefined;
1666
+ }, {
1667
+ success: boolean;
1668
+ error?: string | undefined;
1669
+ commentUrl?: string | undefined;
1670
+ }>;
1671
+ export type jiraCommentJiraTicketWithMentionsOutputType = z.infer<typeof jiraCommentJiraTicketWithMentionsOutputSchema>;
1672
+ export type jiraCommentJiraTicketWithMentionsFunction = ActionFunction<jiraCommentJiraTicketWithMentionsParamsType, AuthParamsType, jiraCommentJiraTicketWithMentionsOutputType>;
1642
1673
  export declare const jiraCreateJiraTicketParamsSchema: z.ZodObject<{
1643
1674
  projectKey: z.ZodString;
1644
1675
  summary: z.ZodString;
@@ -2038,13 +2069,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2038
2069
  id?: string | undefined;
2039
2070
  email?: string | undefined;
2040
2071
  } | null | undefined;
2072
+ dueDate?: string | null | undefined;
2041
2073
  creator?: {
2042
2074
  name?: string | undefined;
2043
2075
  id?: string | undefined;
2044
2076
  email?: string | undefined;
2045
2077
  } | null | undefined;
2046
2078
  resolution?: string | null | undefined;
2047
- dueDate?: string | null | undefined;
2048
2079
  }, {
2049
2080
  status: {
2050
2081
  name?: string | undefined;
@@ -2077,13 +2108,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2077
2108
  id?: string | undefined;
2078
2109
  email?: string | undefined;
2079
2110
  } | null | undefined;
2111
+ dueDate?: string | null | undefined;
2080
2112
  creator?: {
2081
2113
  name?: string | undefined;
2082
2114
  id?: string | undefined;
2083
2115
  email?: string | undefined;
2084
2116
  } | null | undefined;
2085
2117
  resolution?: string | null | undefined;
2086
- dueDate?: string | null | undefined;
2087
2118
  }>;
2088
2119
  }, "strip", z.ZodTypeAny, {
2089
2120
  name: string;
@@ -2120,13 +2151,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2120
2151
  id?: string | undefined;
2121
2152
  email?: string | undefined;
2122
2153
  } | null | undefined;
2154
+ dueDate?: string | null | undefined;
2123
2155
  creator?: {
2124
2156
  name?: string | undefined;
2125
2157
  id?: string | undefined;
2126
2158
  email?: string | undefined;
2127
2159
  } | null | undefined;
2128
2160
  resolution?: string | null | undefined;
2129
- dueDate?: string | null | undefined;
2130
2161
  };
2131
2162
  }, {
2132
2163
  name: string;
@@ -2163,13 +2194,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2163
2194
  id?: string | undefined;
2164
2195
  email?: string | undefined;
2165
2196
  } | null | undefined;
2197
+ dueDate?: string | null | undefined;
2166
2198
  creator?: {
2167
2199
  name?: string | undefined;
2168
2200
  id?: string | undefined;
2169
2201
  email?: string | undefined;
2170
2202
  } | null | undefined;
2171
2203
  resolution?: string | null | undefined;
2172
- dueDate?: string | null | undefined;
2173
2204
  };
2174
2205
  }>, "many">>;
2175
2206
  error: z.ZodOptional<z.ZodString>;
@@ -2210,13 +2241,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2210
2241
  id?: string | undefined;
2211
2242
  email?: string | undefined;
2212
2243
  } | null | undefined;
2244
+ dueDate?: string | null | undefined;
2213
2245
  creator?: {
2214
2246
  name?: string | undefined;
2215
2247
  id?: string | undefined;
2216
2248
  email?: string | undefined;
2217
2249
  } | null | undefined;
2218
2250
  resolution?: string | null | undefined;
2219
- dueDate?: string | null | undefined;
2220
2251
  };
2221
2252
  }[] | undefined;
2222
2253
  }, {
@@ -2256,13 +2287,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2256
2287
  id?: string | undefined;
2257
2288
  email?: string | undefined;
2258
2289
  } | null | undefined;
2290
+ dueDate?: string | null | undefined;
2259
2291
  creator?: {
2260
2292
  name?: string | undefined;
2261
2293
  id?: string | undefined;
2262
2294
  email?: string | undefined;
2263
2295
  } | null | undefined;
2264
2296
  resolution?: string | null | undefined;
2265
- dueDate?: string | null | undefined;
2266
2297
  };
2267
2298
  }[] | undefined;
2268
2299
  }>;
@@ -2818,13 +2849,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2818
2849
  id?: string | undefined;
2819
2850
  email?: string | undefined;
2820
2851
  } | null | undefined;
2852
+ dueDate?: string | null | undefined;
2821
2853
  creator?: {
2822
2854
  name?: string | undefined;
2823
2855
  id?: string | undefined;
2824
2856
  email?: string | undefined;
2825
2857
  } | null | undefined;
2826
2858
  resolution?: string | null | undefined;
2827
- dueDate?: string | null | undefined;
2828
2859
  }, {
2829
2860
  status: {
2830
2861
  name?: string | undefined;
@@ -2857,13 +2888,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2857
2888
  id?: string | undefined;
2858
2889
  email?: string | undefined;
2859
2890
  } | null | undefined;
2891
+ dueDate?: string | null | undefined;
2860
2892
  creator?: {
2861
2893
  name?: string | undefined;
2862
2894
  id?: string | undefined;
2863
2895
  email?: string | undefined;
2864
2896
  } | null | undefined;
2865
2897
  resolution?: string | null | undefined;
2866
- dueDate?: string | null | undefined;
2867
2898
  }>;
2868
2899
  }, "strip", z.ZodTypeAny, {
2869
2900
  name: string;
@@ -2900,13 +2931,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2900
2931
  id?: string | undefined;
2901
2932
  email?: string | undefined;
2902
2933
  } | null | undefined;
2934
+ dueDate?: string | null | undefined;
2903
2935
  creator?: {
2904
2936
  name?: string | undefined;
2905
2937
  id?: string | undefined;
2906
2938
  email?: string | undefined;
2907
2939
  } | null | undefined;
2908
2940
  resolution?: string | null | undefined;
2909
- dueDate?: string | null | undefined;
2910
2941
  };
2911
2942
  }, {
2912
2943
  name: string;
@@ -2943,13 +2974,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2943
2974
  id?: string | undefined;
2944
2975
  email?: string | undefined;
2945
2976
  } | null | undefined;
2977
+ dueDate?: string | null | undefined;
2946
2978
  creator?: {
2947
2979
  name?: string | undefined;
2948
2980
  id?: string | undefined;
2949
2981
  email?: string | undefined;
2950
2982
  } | null | undefined;
2951
2983
  resolution?: string | null | undefined;
2952
- dueDate?: string | null | undefined;
2953
2984
  };
2954
2985
  }>, "many">>;
2955
2986
  error: z.ZodOptional<z.ZodString>;
@@ -2990,13 +3021,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2990
3021
  id?: string | undefined;
2991
3022
  email?: string | undefined;
2992
3023
  } | null | undefined;
3024
+ dueDate?: string | null | undefined;
2993
3025
  creator?: {
2994
3026
  name?: string | undefined;
2995
3027
  id?: string | undefined;
2996
3028
  email?: string | undefined;
2997
3029
  } | null | undefined;
2998
3030
  resolution?: string | null | undefined;
2999
- dueDate?: string | null | undefined;
3000
3031
  };
3001
3032
  }[] | undefined;
3002
3033
  }, {
@@ -3036,13 +3067,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
3036
3067
  id?: string | undefined;
3037
3068
  email?: string | undefined;
3038
3069
  } | null | undefined;
3070
+ dueDate?: string | null | undefined;
3039
3071
  creator?: {
3040
3072
  name?: string | undefined;
3041
3073
  id?: string | undefined;
3042
3074
  email?: string | undefined;
3043
3075
  } | null | undefined;
3044
3076
  resolution?: string | null | undefined;
3045
- dueDate?: string | null | undefined;
3046
3077
  };
3047
3078
  }[] | undefined;
3048
3079
  }>;
@@ -3598,13 +3629,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3598
3629
  id?: string | undefined;
3599
3630
  email?: string | undefined;
3600
3631
  } | null | undefined;
3632
+ dueDate?: string | null | undefined;
3601
3633
  creator?: {
3602
3634
  name?: string | undefined;
3603
3635
  id?: string | undefined;
3604
3636
  email?: string | undefined;
3605
3637
  } | null | undefined;
3606
3638
  resolution?: string | null | undefined;
3607
- dueDate?: string | null | undefined;
3608
3639
  }, {
3609
3640
  status: {
3610
3641
  name?: string | undefined;
@@ -3637,13 +3668,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3637
3668
  id?: string | undefined;
3638
3669
  email?: string | undefined;
3639
3670
  } | null | undefined;
3671
+ dueDate?: string | null | undefined;
3640
3672
  creator?: {
3641
3673
  name?: string | undefined;
3642
3674
  id?: string | undefined;
3643
3675
  email?: string | undefined;
3644
3676
  } | null | undefined;
3645
3677
  resolution?: string | null | undefined;
3646
- dueDate?: string | null | undefined;
3647
3678
  }>;
3648
3679
  }, "strip", z.ZodTypeAny, {
3649
3680
  name: string;
@@ -3680,13 +3711,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3680
3711
  id?: string | undefined;
3681
3712
  email?: string | undefined;
3682
3713
  } | null | undefined;
3714
+ dueDate?: string | null | undefined;
3683
3715
  creator?: {
3684
3716
  name?: string | undefined;
3685
3717
  id?: string | undefined;
3686
3718
  email?: string | undefined;
3687
3719
  } | null | undefined;
3688
3720
  resolution?: string | null | undefined;
3689
- dueDate?: string | null | undefined;
3690
3721
  };
3691
3722
  }, {
3692
3723
  name: string;
@@ -3723,13 +3754,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3723
3754
  id?: string | undefined;
3724
3755
  email?: string | undefined;
3725
3756
  } | null | undefined;
3757
+ dueDate?: string | null | undefined;
3726
3758
  creator?: {
3727
3759
  name?: string | undefined;
3728
3760
  id?: string | undefined;
3729
3761
  email?: string | undefined;
3730
3762
  } | null | undefined;
3731
3763
  resolution?: string | null | undefined;
3732
- dueDate?: string | null | undefined;
3733
3764
  };
3734
3765
  }>, "many">>;
3735
3766
  error: z.ZodOptional<z.ZodString>;
@@ -3770,13 +3801,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3770
3801
  id?: string | undefined;
3771
3802
  email?: string | undefined;
3772
3803
  } | null | undefined;
3804
+ dueDate?: string | null | undefined;
3773
3805
  creator?: {
3774
3806
  name?: string | undefined;
3775
3807
  id?: string | undefined;
3776
3808
  email?: string | undefined;
3777
3809
  } | null | undefined;
3778
3810
  resolution?: string | null | undefined;
3779
- dueDate?: string | null | undefined;
3780
3811
  };
3781
3812
  }[] | undefined;
3782
3813
  }, {
@@ -3816,13 +3847,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3816
3847
  id?: string | undefined;
3817
3848
  email?: string | undefined;
3818
3849
  } | null | undefined;
3850
+ dueDate?: string | null | undefined;
3819
3851
  creator?: {
3820
3852
  name?: string | undefined;
3821
3853
  id?: string | undefined;
3822
3854
  email?: string | undefined;
3823
3855
  } | null | undefined;
3824
3856
  resolution?: string | null | undefined;
3825
- dueDate?: string | null | undefined;
3826
3857
  };
3827
3858
  }[] | undefined;
3828
3859
  }>;
@@ -4899,14 +4930,17 @@ export declare const googleOauthCreateNewGoogleDocParamsSchema: z.ZodObject<{
4899
4930
  title: z.ZodString;
4900
4931
  content: z.ZodOptional<z.ZodString>;
4901
4932
  usesHtml: z.ZodOptional<z.ZodBoolean>;
4933
+ contentFormat: z.ZodOptional<z.ZodEnum<["plain", "markdown", "html"]>>;
4902
4934
  }, "strip", z.ZodTypeAny, {
4903
4935
  title: string;
4904
4936
  content?: string | undefined;
4905
4937
  usesHtml?: boolean | undefined;
4938
+ contentFormat?: "html" | "markdown" | "plain" | undefined;
4906
4939
  }, {
4907
4940
  title: string;
4908
4941
  content?: string | undefined;
4909
4942
  usesHtml?: boolean | undefined;
4943
+ contentFormat?: "html" | "markdown" | "plain" | undefined;
4910
4944
  }>;
4911
4945
  export type googleOauthCreateNewGoogleDocParamsType = z.infer<typeof googleOauthCreateNewGoogleDocParamsSchema>;
4912
4946
  export declare const googleOauthCreateNewGoogleDocOutputSchema: z.ZodObject<{
@@ -4924,12 +4958,15 @@ export type googleOauthCreateNewGoogleDocFunction = ActionFunction<googleOauthCr
4924
4958
  export declare const googleOauthAddTextToTopOfDocParamsSchema: z.ZodObject<{
4925
4959
  documentId: z.ZodString;
4926
4960
  text: z.ZodString;
4961
+ contentFormat: z.ZodOptional<z.ZodEnum<["plain", "markdown", "html"]>>;
4927
4962
  }, "strip", z.ZodTypeAny, {
4928
4963
  text: string;
4929
4964
  documentId: string;
4965
+ contentFormat?: "html" | "markdown" | "plain" | undefined;
4930
4966
  }, {
4931
4967
  text: string;
4932
4968
  documentId: string;
4969
+ contentFormat?: "html" | "markdown" | "plain" | undefined;
4933
4970
  }>;
4934
4971
  export type googleOauthAddTextToTopOfDocParamsType = z.infer<typeof googleOauthAddTextToTopOfDocParamsSchema>;
4935
4972
  export declare const googleOauthAddTextToTopOfDocOutputSchema: z.ZodObject<{
@@ -10651,15 +10688,15 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
10651
10688
  name?: string | undefined;
10652
10689
  id?: string | undefined;
10653
10690
  } | undefined;
10691
+ dueDate?: string | undefined;
10692
+ estimate?: number | undefined;
10654
10693
  creator?: {
10655
10694
  name?: string | undefined;
10656
10695
  id?: string | undefined;
10657
10696
  } | undefined;
10658
- dueDate?: string | undefined;
10659
10697
  labels?: string[] | undefined;
10660
10698
  createdAt?: string | undefined;
10661
10699
  updatedAt?: string | undefined;
10662
- estimate?: number | undefined;
10663
10700
  }, {
10664
10701
  description?: string | undefined;
10665
10702
  assignee?: {
@@ -10684,15 +10721,15 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
10684
10721
  name?: string | undefined;
10685
10722
  id?: string | undefined;
10686
10723
  } | undefined;
10724
+ dueDate?: string | undefined;
10725
+ estimate?: number | undefined;
10687
10726
  creator?: {
10688
10727
  name?: string | undefined;
10689
10728
  id?: string | undefined;
10690
10729
  } | undefined;
10691
- dueDate?: string | undefined;
10692
10730
  labels?: string[] | undefined;
10693
10731
  createdAt?: string | undefined;
10694
10732
  updatedAt?: string | undefined;
10695
- estimate?: number | undefined;
10696
10733
  }>>;
10697
10734
  }, "strip", z.ZodTypeAny, {
10698
10735
  success: boolean;
@@ -10721,15 +10758,15 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
10721
10758
  name?: string | undefined;
10722
10759
  id?: string | undefined;
10723
10760
  } | undefined;
10761
+ dueDate?: string | undefined;
10762
+ estimate?: number | undefined;
10724
10763
  creator?: {
10725
10764
  name?: string | undefined;
10726
10765
  id?: string | undefined;
10727
10766
  } | undefined;
10728
- dueDate?: string | undefined;
10729
10767
  labels?: string[] | undefined;
10730
10768
  createdAt?: string | undefined;
10731
10769
  updatedAt?: string | undefined;
10732
- estimate?: number | undefined;
10733
10770
  } | undefined;
10734
10771
  }, {
10735
10772
  success: boolean;
@@ -10758,15 +10795,15 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
10758
10795
  name?: string | undefined;
10759
10796
  id?: string | undefined;
10760
10797
  } | undefined;
10798
+ dueDate?: string | undefined;
10799
+ estimate?: number | undefined;
10761
10800
  creator?: {
10762
10801
  name?: string | undefined;
10763
10802
  id?: string | undefined;
10764
10803
  } | undefined;
10765
- dueDate?: string | undefined;
10766
10804
  labels?: string[] | undefined;
10767
10805
  createdAt?: string | undefined;
10768
10806
  updatedAt?: string | undefined;
10769
- estimate?: number | undefined;
10770
10807
  } | undefined;
10771
10808
  }>;
10772
10809
  export type linearGetIssueDetailsOutputType = z.infer<typeof linearGetIssueDetailsOutputSchema>;
@@ -11189,6 +11226,78 @@ export declare const linearGetTeamsOutputSchema: z.ZodObject<{
11189
11226
  }>;
11190
11227
  export type linearGetTeamsOutputType = z.infer<typeof linearGetTeamsOutputSchema>;
11191
11228
  export type linearGetTeamsFunction = ActionFunction<linearGetTeamsParamsType, AuthParamsType, linearGetTeamsOutputType>;
11229
+ export declare const linearCreateIssueParamsSchema: z.ZodObject<{
11230
+ title: z.ZodString;
11231
+ description: z.ZodOptional<z.ZodString>;
11232
+ teamId: z.ZodString;
11233
+ assigneeId: z.ZodOptional<z.ZodString>;
11234
+ priority: z.ZodOptional<z.ZodNumber>;
11235
+ projectId: z.ZodOptional<z.ZodString>;
11236
+ dueDate: z.ZodOptional<z.ZodString>;
11237
+ labelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11238
+ estimate: z.ZodOptional<z.ZodNumber>;
11239
+ }, "strip", z.ZodTypeAny, {
11240
+ title: string;
11241
+ teamId: string;
11242
+ description?: string | undefined;
11243
+ projectId?: string | undefined;
11244
+ labelIds?: string[] | undefined;
11245
+ priority?: number | undefined;
11246
+ assigneeId?: string | undefined;
11247
+ dueDate?: string | undefined;
11248
+ estimate?: number | undefined;
11249
+ }, {
11250
+ title: string;
11251
+ teamId: string;
11252
+ description?: string | undefined;
11253
+ projectId?: string | undefined;
11254
+ labelIds?: string[] | undefined;
11255
+ priority?: number | undefined;
11256
+ assigneeId?: string | undefined;
11257
+ dueDate?: string | undefined;
11258
+ estimate?: number | undefined;
11259
+ }>;
11260
+ export type linearCreateIssueParamsType = z.infer<typeof linearCreateIssueParamsSchema>;
11261
+ export declare const linearCreateIssueOutputSchema: z.ZodObject<{
11262
+ success: z.ZodBoolean;
11263
+ error: z.ZodOptional<z.ZodString>;
11264
+ issue: z.ZodOptional<z.ZodObject<{
11265
+ id: z.ZodOptional<z.ZodString>;
11266
+ title: z.ZodOptional<z.ZodString>;
11267
+ url: z.ZodOptional<z.ZodString>;
11268
+ identifier: z.ZodOptional<z.ZodString>;
11269
+ }, "strip", z.ZodTypeAny, {
11270
+ id?: string | undefined;
11271
+ url?: string | undefined;
11272
+ title?: string | undefined;
11273
+ identifier?: string | undefined;
11274
+ }, {
11275
+ id?: string | undefined;
11276
+ url?: string | undefined;
11277
+ title?: string | undefined;
11278
+ identifier?: string | undefined;
11279
+ }>>;
11280
+ }, "strip", z.ZodTypeAny, {
11281
+ success: boolean;
11282
+ error?: string | undefined;
11283
+ issue?: {
11284
+ id?: string | undefined;
11285
+ url?: string | undefined;
11286
+ title?: string | undefined;
11287
+ identifier?: string | undefined;
11288
+ } | undefined;
11289
+ }, {
11290
+ success: boolean;
11291
+ error?: string | undefined;
11292
+ issue?: {
11293
+ id?: string | undefined;
11294
+ url?: string | undefined;
11295
+ title?: string | undefined;
11296
+ identifier?: string | undefined;
11297
+ } | undefined;
11298
+ }>;
11299
+ export type linearCreateIssueOutputType = z.infer<typeof linearCreateIssueOutputSchema>;
11300
+ export type linearCreateIssueFunction = ActionFunction<linearCreateIssueParamsType, AuthParamsType, linearCreateIssueOutputType>;
11192
11301
  export declare const hubspotGetContactsParamsSchema: z.ZodObject<{
11193
11302
  query: z.ZodOptional<z.ZodString>;
11194
11303
  limit: z.ZodOptional<z.ZodNumber>;
@@ -60,6 +60,7 @@ export var ActionName;
60
60
  ActionName["ASSIGNJIRATICKET"] = "assignJiraTicket";
61
61
  ActionName["PUBLICCOMMENTONSERVICEDESKREQUEST"] = "publicCommentOnServiceDeskRequest";
62
62
  ActionName["COMMENTJIRATICKET"] = "commentJiraTicket";
63
+ ActionName["COMMENTJIRATICKETWITHMENTIONS"] = "commentJiraTicketWithMentions";
63
64
  ActionName["CREATEJIRATICKET"] = "createJiraTicket";
64
65
  ActionName["CREATESERVICEDESKREQUEST"] = "createServiceDeskRequest";
65
66
  ActionName["GETJIRATICKETDETAILS"] = "getJiraTicketDetails";
@@ -166,6 +167,7 @@ export var ActionName;
166
167
  ActionName["GETPROJECTDETAILS"] = "getProjectDetails";
167
168
  ActionName["GETTEAMDETAILS"] = "getTeamDetails";
168
169
  ActionName["GETTEAMS"] = "getTeams";
170
+ ActionName["CREATEISSUE"] = "createIssue";
169
171
  ActionName["GETCONTACTS"] = "getContacts";
170
172
  ActionName["GETCONTACTDETAILS"] = "getContactDetails";
171
173
  ActionName["GETCOMPANIES"] = "getCompanies";
@@ -653,6 +655,18 @@ export const jiraCommentJiraTicketOutputSchema = z.object({
653
655
  error: z.string().describe("The error that occurred if the comment was not sent successfully").optional(),
654
656
  commentUrl: z.string().describe("The url to the created Jira comment").optional(),
655
657
  });
658
+ export const jiraCommentJiraTicketWithMentionsParamsSchema = z.object({
659
+ projectKey: z.string().describe("The key for the project to which the ticket you want to comment on belongs."),
660
+ issueId: z.string().describe("The issue ID associated with the ticket to be commented on."),
661
+ comment: z
662
+ .string()
663
+ .describe("The text to be commented on the ticket. Use [~accountid:ATLASSIAN_ACCOUNT_ID] to @mention users (Jira Cloud only)."),
664
+ });
665
+ export const jiraCommentJiraTicketWithMentionsOutputSchema = z.object({
666
+ success: z.boolean().describe("Whether the comment was sent successfully"),
667
+ error: z.string().describe("The error that occurred if the comment was not sent successfully").optional(),
668
+ commentUrl: z.string().describe("The url to the created Jira comment").optional(),
669
+ });
656
670
  export const jiraCreateJiraTicketParamsSchema = z.object({
657
671
  projectKey: z.string().describe("The key for the project you want to add the ticket to."),
658
672
  summary: z.string().describe("The summary of the new ticket"),
@@ -1693,7 +1707,14 @@ export const resendSendEmailHtmlOutputSchema = z.object({
1693
1707
  export const googleOauthCreateNewGoogleDocParamsSchema = z.object({
1694
1708
  title: z.string().describe("The title of the new Google Doc"),
1695
1709
  content: z.string().describe("The content to add to the new Google Doc").optional(),
1696
- usesHtml: z.boolean().describe("Whether to interpret the content as HTML").optional(),
1710
+ usesHtml: z
1711
+ .boolean()
1712
+ .describe("Whether to interpret the content as HTML. Deprecated in favor of contentFormat.")
1713
+ .optional(),
1714
+ contentFormat: z
1715
+ .enum(["plain", "markdown", "html"])
1716
+ .describe("How to interpret the content param. Defaults to plain. When set, takes precedence over usesHtml.")
1717
+ .optional(),
1697
1718
  });
1698
1719
  export const googleOauthCreateNewGoogleDocOutputSchema = z.object({
1699
1720
  documentId: z.string().describe("The ID of the created Google Doc"),
@@ -1702,6 +1723,10 @@ export const googleOauthCreateNewGoogleDocOutputSchema = z.object({
1702
1723
  export const googleOauthAddTextToTopOfDocParamsSchema = z.object({
1703
1724
  documentId: z.string().describe("The ID of the Google Doc to update"),
1704
1725
  text: z.string().describe("The text to insert at the beginning of the document"),
1726
+ contentFormat: z
1727
+ .enum(["plain", "markdown", "html"])
1728
+ .describe("How to interpret the text param. Defaults to plain.")
1729
+ .optional(),
1705
1730
  });
1706
1731
  export const googleOauthAddTextToTopOfDocOutputSchema = z.object({
1707
1732
  success: z.boolean().describe("Whether the document was updated successfully"),
@@ -5034,6 +5059,33 @@ export const linearGetTeamsOutputSchema = z.object({
5034
5059
  .describe("List of all teams")
5035
5060
  .optional(),
5036
5061
  });
5062
+ export const linearCreateIssueParamsSchema = z.object({
5063
+ title: z.string().describe("The title of the issue to create"),
5064
+ description: z.string().describe("The description of the issue in markdown format").optional(),
5065
+ teamId: z.string().describe("The ID of the team to create the issue for"),
5066
+ assigneeId: z.string().describe("The ID of the user to assign the issue to").optional(),
5067
+ priority: z
5068
+ .number()
5069
+ .describe("The priority of the issue: 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low")
5070
+ .optional(),
5071
+ projectId: z.string().describe("The ID of the project to associate the issue with").optional(),
5072
+ dueDate: z.string().describe("The due date of the issue in ISO 8601 format (e.g. 2024-12-31)").optional(),
5073
+ labelIds: z.array(z.string()).describe("Array of label IDs to apply to the issue").optional(),
5074
+ estimate: z.number().describe("The estimate in story points for the issue").optional(),
5075
+ });
5076
+ export const linearCreateIssueOutputSchema = z.object({
5077
+ success: z.boolean().describe("Whether the issue was created successfully"),
5078
+ error: z.string().describe("Error message if the issue creation failed").optional(),
5079
+ issue: z
5080
+ .object({
5081
+ id: z.string().describe("The created issue ID").optional(),
5082
+ title: z.string().describe("The created issue title").optional(),
5083
+ url: z.string().describe("The URL of the created issue").optional(),
5084
+ identifier: z.string().describe("The issue identifier (e.g. ENG-123)").optional(),
5085
+ })
5086
+ .describe("The created issue details")
5087
+ .optional(),
5088
+ });
5037
5089
  export const hubspotGetContactsParamsSchema = z.object({
5038
5090
  query: z
5039
5091
  .string()
@@ -1,5 +1,6 @@
1
1
  import { axiosClient } from "../../util/axiosClient.js";
2
2
  import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
3
+ import { resolveContentFormat, contentToDocRequests } from "./utils/googleDocsMarkdown.js";
3
4
  const addTextToTopOfDoc = async ({ params, authParams, }) => {
4
5
  if (!authParams.authToken) {
5
6
  return {
@@ -8,21 +9,12 @@ const addTextToTopOfDoc = async ({ params, authParams, }) => {
8
9
  error: MISSING_AUTH_TOKEN,
9
10
  };
10
11
  }
11
- const { documentId, text } = params;
12
+ const { documentId, text, contentFormat } = params;
12
13
  const baseApiUrl = "https://docs.googleapis.com/v1/documents";
14
+ const resolvedFormat = resolveContentFormat({ contentFormat });
13
15
  try {
14
- await axiosClient.post(`${baseApiUrl}/${documentId}:batchUpdate`, {
15
- requests: [
16
- {
17
- insertText: {
18
- location: {
19
- index: 1,
20
- },
21
- text: text + "\n",
22
- },
23
- },
24
- ],
25
- }, {
16
+ const requests = contentToDocRequests({ content: text + "\n", format: resolvedFormat });
17
+ await axiosClient.post(`${baseApiUrl}/${documentId}:batchUpdate`, { requests }, {
26
18
  headers: {
27
19
  Authorization: `Bearer ${authParams.authToken}`,
28
20
  },