@credal/actions 0.2.219 → 0.2.221

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 (81) hide show
  1. package/dist/actions/actionMapper.js +38 -1
  2. package/dist/actions/autogen/templates.d.ts +5 -0
  3. package/dist/actions/autogen/templates.js +311 -0
  4. package/dist/actions/autogen/types.d.ts +282 -1
  5. package/dist/actions/autogen/types.js +110 -0
  6. package/dist/actions/providers/confluenceDataCenter/createPage.d.ts +3 -0
  7. package/dist/actions/providers/confluenceDataCenter/createPage.js +40 -0
  8. package/dist/actions/providers/github/searchRepository.js +7 -7
  9. package/dist/actions/providers/jira/getJiraDCIssuesByQuery.js +3 -1
  10. package/dist/actions/providers/jira/getJiraIssuesByQuery.js +3 -1
  11. package/dist/actions/providers/smartsheet/addRowToSheet.d.ts +3 -0
  12. package/dist/actions/providers/smartsheet/addRowToSheet.js +34 -0
  13. package/dist/actions/providers/smartsheet/getSheetRows.d.ts +3 -0
  14. package/dist/actions/providers/smartsheet/getSheetRows.js +48 -0
  15. package/dist/actions/providers/smartsheet/listSheets.d.ts +3 -0
  16. package/dist/actions/providers/smartsheet/listSheets.js +26 -0
  17. package/dist/actions/providers/smartsheet/updateRow.d.ts +3 -0
  18. package/dist/actions/providers/smartsheet/updateRow.js +34 -0
  19. package/dist/actions/providers/smartsheet/utils.d.ts +33 -0
  20. package/dist/actions/providers/smartsheet/utils.js +45 -0
  21. package/package.json +2 -2
  22. package/dist/actions/providers/ashby/addCandidateToProject.d.ts +0 -3
  23. package/dist/actions/providers/ashby/addCandidateToProject.js +0 -31
  24. package/dist/actions/providers/ashby/createCandidate.d.ts +0 -3
  25. package/dist/actions/providers/ashby/createCandidate.js +0 -38
  26. package/dist/actions/providers/ashby/createNote.d.ts +0 -3
  27. package/dist/actions/providers/ashby/createNote.js +0 -31
  28. package/dist/actions/providers/ashby/getCandidateInfo.d.ts +0 -3
  29. package/dist/actions/providers/ashby/getCandidateInfo.js +0 -33
  30. package/dist/actions/providers/ashby/listCandidateNotes.d.ts +0 -3
  31. package/dist/actions/providers/ashby/listCandidateNotes.js +0 -33
  32. package/dist/actions/providers/ashby/listCandidates.d.ts +0 -3
  33. package/dist/actions/providers/ashby/listCandidates.js +0 -30
  34. package/dist/actions/providers/ashby/searchCandidates.d.ts +0 -3
  35. package/dist/actions/providers/ashby/searchCandidates.js +0 -34
  36. package/dist/actions/providers/ashby/updateCandidate.d.ts +0 -3
  37. package/dist/actions/providers/ashby/updateCandidate.js +0 -56
  38. package/dist/actions/providers/gong/getGongTranscripts.d.ts +0 -3
  39. package/dist/actions/providers/gong/getGongTranscripts.js +0 -315
  40. package/dist/actions/providers/google-oauth/listFilesWithAssignedComments.d.ts +0 -3
  41. package/dist/actions/providers/google-oauth/listFilesWithAssignedComments.js +0 -41
  42. package/dist/actions/providers/jamf/getJamfComputerInventory.d.ts +0 -3
  43. package/dist/actions/providers/jamf/getJamfComputerInventory.js +0 -37
  44. package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.d.ts +0 -3
  45. package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.js +0 -39
  46. package/dist/actions/providers/jamf/getJamfUserComputerId.d.ts +0 -3
  47. package/dist/actions/providers/jamf/getJamfUserComputerId.js +0 -45
  48. package/dist/actions/providers/jamf/lockJamfComputerById.d.ts +0 -3
  49. package/dist/actions/providers/jamf/lockJamfComputerById.js +0 -39
  50. package/dist/actions/providers/jira/updateServiceDeskRequest.d.ts +0 -3
  51. package/dist/actions/providers/jira/updateServiceDeskRequest.js +0 -72
  52. package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.d.ts +0 -3
  53. package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.js +0 -85
  54. package/dist/actions/providers/microsoft/sendOutlookEmail.d.ts +0 -3
  55. package/dist/actions/providers/microsoft/sendOutlookEmail.js +0 -48
  56. package/dist/actions/providers/okta/addUserToGroup.d.ts +0 -3
  57. package/dist/actions/providers/okta/addUserToGroup.js +0 -56
  58. package/dist/actions/providers/okta/getOktaGroup.d.ts +0 -3
  59. package/dist/actions/providers/okta/getOktaGroup.js +0 -73
  60. package/dist/actions/providers/okta/getOktaUser.d.ts +0 -3
  61. package/dist/actions/providers/okta/getOktaUser.js +0 -40
  62. package/dist/actions/providers/okta/listMFA.d.ts +0 -3
  63. package/dist/actions/providers/okta/listMFA.js +0 -52
  64. package/dist/actions/providers/okta/listOktaGroupMembers.d.ts +0 -3
  65. package/dist/actions/providers/okta/listOktaGroupMembers.js +0 -99
  66. package/dist/actions/providers/okta/listOktaGroups.d.ts +0 -3
  67. package/dist/actions/providers/okta/listOktaGroups.js +0 -92
  68. package/dist/actions/providers/okta/listOktaUserGroups.d.ts +0 -3
  69. package/dist/actions/providers/okta/listOktaUserGroups.js +0 -83
  70. package/dist/actions/providers/okta/listOktaUsers.d.ts +0 -3
  71. package/dist/actions/providers/okta/listOktaUsers.js +0 -100
  72. package/dist/actions/providers/okta/removeUserFromGroup.d.ts +0 -3
  73. package/dist/actions/providers/okta/removeUserFromGroup.js +0 -56
  74. package/dist/actions/providers/okta/resetMFA.d.ts +0 -3
  75. package/dist/actions/providers/okta/resetMFA.js +0 -62
  76. package/dist/actions/providers/okta/resetPassword.d.ts +0 -3
  77. package/dist/actions/providers/okta/resetPassword.js +0 -57
  78. package/dist/actions/providers/okta/triggerOktaWorkflow.d.ts +0 -3
  79. package/dist/actions/providers/okta/triggerOktaWorkflow.js +0 -44
  80. package/dist/actions/providers/salesforce/fetchSalesforceSchema.d.ts +0 -3
  81. package/dist/actions/providers/salesforce/fetchSalesforceSchema.js +0 -40
@@ -35,6 +35,7 @@ export declare enum ProviderName {
35
35
  GITLAB = "gitlab",
36
36
  LINEAR = "linear",
37
37
  HUBSPOT = "hubspot",
38
+ SMARTSHEET = "smartsheet",
38
39
  BOXUSER = "boxUser"
39
40
  }
40
41
  export declare enum ActionName {
@@ -56,6 +57,7 @@ export declare enum ActionName {
56
57
  ADD = "add",
57
58
  OVERWRITEPAGE = "overwritePage",
58
59
  FETCHPAGECONTENT = "fetchPageContent",
60
+ CREATEPAGE = "createPage",
59
61
  ASSIGNJIRATICKET = "assignJiraTicket",
60
62
  PUBLICCOMMENTONSERVICEDESKREQUEST = "publicCommentOnServiceDeskRequest",
61
63
  COMMENTJIRATICKET = "commentJiraTicket",
@@ -174,7 +176,11 @@ export declare enum ActionName {
174
176
  GETCOMPANYDETAILS = "getCompanyDetails",
175
177
  GETDEALS = "getDeals",
176
178
  GETDEALDETAILS = "getDealDetails",
177
- GETTICKETS = "getTickets"
179
+ GETTICKETS = "getTickets",
180
+ LISTSHEETS = "listSheets",
181
+ GETSHEETROWS = "getSheetRows",
182
+ ADDROWTOSHEET = "addRowToSheet",
183
+ UPDATEROW = "updateRow"
178
184
  }
179
185
  export type ActionFunction<P, A, O> = (input: {
180
186
  params: P;
@@ -1603,6 +1609,41 @@ export declare const confluenceDataCenterOverwritePageOutputSchema: z.ZodObject<
1603
1609
  }>;
1604
1610
  export type confluenceDataCenterOverwritePageOutputType = z.infer<typeof confluenceDataCenterOverwritePageOutputSchema>;
1605
1611
  export type confluenceDataCenterOverwritePageFunction = ActionFunction<confluenceDataCenterOverwritePageParamsType, AuthParamsType, confluenceDataCenterOverwritePageOutputType>;
1612
+ export declare const confluenceDataCenterCreatePageParamsSchema: z.ZodObject<{
1613
+ spaceKey: z.ZodString;
1614
+ title: z.ZodString;
1615
+ content: z.ZodString;
1616
+ parentId: z.ZodOptional<z.ZodString>;
1617
+ }, "strip", z.ZodTypeAny, {
1618
+ content: string;
1619
+ title: string;
1620
+ spaceKey: string;
1621
+ parentId?: string | undefined;
1622
+ }, {
1623
+ content: string;
1624
+ title: string;
1625
+ spaceKey: string;
1626
+ parentId?: string | undefined;
1627
+ }>;
1628
+ export type confluenceDataCenterCreatePageParamsType = z.infer<typeof confluenceDataCenterCreatePageParamsSchema>;
1629
+ export declare const confluenceDataCenterCreatePageOutputSchema: z.ZodObject<{
1630
+ success: z.ZodBoolean;
1631
+ error: z.ZodOptional<z.ZodString>;
1632
+ pageId: z.ZodOptional<z.ZodString>;
1633
+ pageUrl: z.ZodOptional<z.ZodString>;
1634
+ }, "strip", z.ZodTypeAny, {
1635
+ success: boolean;
1636
+ error?: string | undefined;
1637
+ pageId?: string | undefined;
1638
+ pageUrl?: string | undefined;
1639
+ }, {
1640
+ success: boolean;
1641
+ error?: string | undefined;
1642
+ pageId?: string | undefined;
1643
+ pageUrl?: string | undefined;
1644
+ }>;
1645
+ export type confluenceDataCenterCreatePageOutputType = z.infer<typeof confluenceDataCenterCreatePageOutputSchema>;
1646
+ export type confluenceDataCenterCreatePageFunction = ActionFunction<confluenceDataCenterCreatePageParamsType, AuthParamsType, confluenceDataCenterCreatePageOutputType>;
1606
1647
  export declare const confluenceDataCenterFetchPageContentParamsSchema: z.ZodObject<{
1607
1648
  pageId: z.ZodString;
1608
1649
  }, "strip", z.ZodTypeAny, {
@@ -2131,6 +2172,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2131
2172
  updated: z.ZodString;
2132
2173
  resolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2133
2174
  dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2175
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2134
2176
  }, "strip", z.ZodTypeAny, {
2135
2177
  status: {
2136
2178
  name?: string | undefined;
@@ -2170,6 +2212,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2170
2212
  email?: string | undefined;
2171
2213
  } | null | undefined;
2172
2214
  resolution?: string | null | undefined;
2215
+ labels?: string[] | undefined;
2173
2216
  }, {
2174
2217
  status: {
2175
2218
  name?: string | undefined;
@@ -2209,6 +2252,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2209
2252
  email?: string | undefined;
2210
2253
  } | null | undefined;
2211
2254
  resolution?: string | null | undefined;
2255
+ labels?: string[] | undefined;
2212
2256
  }>;
2213
2257
  }, "strip", z.ZodTypeAny, {
2214
2258
  name: string;
@@ -2252,6 +2296,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2252
2296
  email?: string | undefined;
2253
2297
  } | null | undefined;
2254
2298
  resolution?: string | null | undefined;
2299
+ labels?: string[] | undefined;
2255
2300
  };
2256
2301
  }, {
2257
2302
  name: string;
@@ -2295,6 +2340,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2295
2340
  email?: string | undefined;
2296
2341
  } | null | undefined;
2297
2342
  resolution?: string | null | undefined;
2343
+ labels?: string[] | undefined;
2298
2344
  };
2299
2345
  }>, "many">>;
2300
2346
  error: z.ZodOptional<z.ZodString>;
@@ -2342,6 +2388,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2342
2388
  email?: string | undefined;
2343
2389
  } | null | undefined;
2344
2390
  resolution?: string | null | undefined;
2391
+ labels?: string[] | undefined;
2345
2392
  };
2346
2393
  }[] | undefined;
2347
2394
  nextPageToken?: string | undefined;
@@ -2390,6 +2437,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2390
2437
  email?: string | undefined;
2391
2438
  } | null | undefined;
2392
2439
  resolution?: string | null | undefined;
2440
+ labels?: string[] | undefined;
2393
2441
  };
2394
2442
  }[] | undefined;
2395
2443
  nextPageToken?: string | undefined;
@@ -2949,6 +2997,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2949
2997
  updated: z.ZodString;
2950
2998
  resolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2951
2999
  dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3000
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2952
3001
  }, "strip", z.ZodTypeAny, {
2953
3002
  status: {
2954
3003
  name?: string | undefined;
@@ -2988,6 +3037,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2988
3037
  email?: string | undefined;
2989
3038
  } | null | undefined;
2990
3039
  resolution?: string | null | undefined;
3040
+ labels?: string[] | undefined;
2991
3041
  }, {
2992
3042
  status: {
2993
3043
  name?: string | undefined;
@@ -3027,6 +3077,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
3027
3077
  email?: string | undefined;
3028
3078
  } | null | undefined;
3029
3079
  resolution?: string | null | undefined;
3080
+ labels?: string[] | undefined;
3030
3081
  }>;
3031
3082
  }, "strip", z.ZodTypeAny, {
3032
3083
  name: string;
@@ -3070,6 +3121,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
3070
3121
  email?: string | undefined;
3071
3122
  } | null | undefined;
3072
3123
  resolution?: string | null | undefined;
3124
+ labels?: string[] | undefined;
3073
3125
  };
3074
3126
  }, {
3075
3127
  name: string;
@@ -3113,6 +3165,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
3113
3165
  email?: string | undefined;
3114
3166
  } | null | undefined;
3115
3167
  resolution?: string | null | undefined;
3168
+ labels?: string[] | undefined;
3116
3169
  };
3117
3170
  }>, "many">>;
3118
3171
  error: z.ZodOptional<z.ZodString>;
@@ -3160,6 +3213,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
3160
3213
  email?: string | undefined;
3161
3214
  } | null | undefined;
3162
3215
  resolution?: string | null | undefined;
3216
+ labels?: string[] | undefined;
3163
3217
  };
3164
3218
  }[] | undefined;
3165
3219
  nextPageToken?: string | undefined;
@@ -3208,6 +3262,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
3208
3262
  email?: string | undefined;
3209
3263
  } | null | undefined;
3210
3264
  resolution?: string | null | undefined;
3265
+ labels?: string[] | undefined;
3211
3266
  };
3212
3267
  }[] | undefined;
3213
3268
  nextPageToken?: string | undefined;
@@ -3762,6 +3817,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3762
3817
  updated: z.ZodString;
3763
3818
  resolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3764
3819
  dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3820
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3765
3821
  }, "strip", z.ZodTypeAny, {
3766
3822
  status: {
3767
3823
  name?: string | undefined;
@@ -3801,6 +3857,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3801
3857
  email?: string | undefined;
3802
3858
  } | null | undefined;
3803
3859
  resolution?: string | null | undefined;
3860
+ labels?: string[] | undefined;
3804
3861
  }, {
3805
3862
  status: {
3806
3863
  name?: string | undefined;
@@ -3840,6 +3897,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3840
3897
  email?: string | undefined;
3841
3898
  } | null | undefined;
3842
3899
  resolution?: string | null | undefined;
3900
+ labels?: string[] | undefined;
3843
3901
  }>;
3844
3902
  }, "strip", z.ZodTypeAny, {
3845
3903
  name: string;
@@ -3883,6 +3941,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3883
3941
  email?: string | undefined;
3884
3942
  } | null | undefined;
3885
3943
  resolution?: string | null | undefined;
3944
+ labels?: string[] | undefined;
3886
3945
  };
3887
3946
  }, {
3888
3947
  name: string;
@@ -3926,6 +3985,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3926
3985
  email?: string | undefined;
3927
3986
  } | null | undefined;
3928
3987
  resolution?: string | null | undefined;
3988
+ labels?: string[] | undefined;
3929
3989
  };
3930
3990
  }>, "many">>;
3931
3991
  error: z.ZodOptional<z.ZodString>;
@@ -3973,6 +4033,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3973
4033
  email?: string | undefined;
3974
4034
  } | null | undefined;
3975
4035
  resolution?: string | null | undefined;
4036
+ labels?: string[] | undefined;
3976
4037
  };
3977
4038
  }[] | undefined;
3978
4039
  }, {
@@ -4019,6 +4080,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
4019
4080
  email?: string | undefined;
4020
4081
  } | null | undefined;
4021
4082
  resolution?: string | null | undefined;
4083
+ labels?: string[] | undefined;
4022
4084
  };
4023
4085
  }[] | undefined;
4024
4086
  }>;
@@ -12100,3 +12162,222 @@ export declare const hubspotGetTicketDetailsOutputSchema: z.ZodObject<{
12100
12162
  }>;
12101
12163
  export type hubspotGetTicketDetailsOutputType = z.infer<typeof hubspotGetTicketDetailsOutputSchema>;
12102
12164
  export type hubspotGetTicketDetailsFunction = ActionFunction<hubspotGetTicketDetailsParamsType, AuthParamsType, hubspotGetTicketDetailsOutputType>;
12165
+ export declare const smartsheetListSheetsParamsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
12166
+ export type smartsheetListSheetsParamsType = z.infer<typeof smartsheetListSheetsParamsSchema>;
12167
+ export declare const smartsheetListSheetsOutputSchema: z.ZodObject<{
12168
+ success: z.ZodBoolean;
12169
+ error: z.ZodOptional<z.ZodString>;
12170
+ sheets: z.ZodOptional<z.ZodArray<z.ZodObject<{
12171
+ id: z.ZodOptional<z.ZodString>;
12172
+ name: z.ZodOptional<z.ZodString>;
12173
+ permalink: z.ZodOptional<z.ZodString>;
12174
+ }, "strip", z.ZodTypeAny, {
12175
+ name?: string | undefined;
12176
+ id?: string | undefined;
12177
+ permalink?: string | undefined;
12178
+ }, {
12179
+ name?: string | undefined;
12180
+ id?: string | undefined;
12181
+ permalink?: string | undefined;
12182
+ }>, "many">>;
12183
+ }, "strip", z.ZodTypeAny, {
12184
+ success: boolean;
12185
+ error?: string | undefined;
12186
+ sheets?: {
12187
+ name?: string | undefined;
12188
+ id?: string | undefined;
12189
+ permalink?: string | undefined;
12190
+ }[] | undefined;
12191
+ }, {
12192
+ success: boolean;
12193
+ error?: string | undefined;
12194
+ sheets?: {
12195
+ name?: string | undefined;
12196
+ id?: string | undefined;
12197
+ permalink?: string | undefined;
12198
+ }[] | undefined;
12199
+ }>;
12200
+ export type smartsheetListSheetsOutputType = z.infer<typeof smartsheetListSheetsOutputSchema>;
12201
+ export type smartsheetListSheetsFunction = ActionFunction<smartsheetListSheetsParamsType, AuthParamsType, smartsheetListSheetsOutputType>;
12202
+ export declare const smartsheetGetSheetRowsParamsSchema: z.ZodObject<{
12203
+ sheetId: z.ZodString;
12204
+ }, "strip", z.ZodTypeAny, {
12205
+ sheetId: string;
12206
+ }, {
12207
+ sheetId: string;
12208
+ }>;
12209
+ export type smartsheetGetSheetRowsParamsType = z.infer<typeof smartsheetGetSheetRowsParamsSchema>;
12210
+ export declare const smartsheetGetSheetRowsOutputSchema: z.ZodObject<{
12211
+ success: z.ZodBoolean;
12212
+ error: z.ZodOptional<z.ZodString>;
12213
+ sheet: z.ZodOptional<z.ZodObject<{
12214
+ id: z.ZodOptional<z.ZodString>;
12215
+ name: z.ZodOptional<z.ZodString>;
12216
+ permalink: z.ZodOptional<z.ZodString>;
12217
+ columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
12218
+ id: z.ZodOptional<z.ZodString>;
12219
+ title: z.ZodOptional<z.ZodString>;
12220
+ type: z.ZodOptional<z.ZodString>;
12221
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12222
+ }, "strip", z.ZodTypeAny, {
12223
+ type?: string | undefined;
12224
+ options?: string[] | undefined;
12225
+ id?: string | undefined;
12226
+ title?: string | undefined;
12227
+ }, {
12228
+ type?: string | undefined;
12229
+ options?: string[] | undefined;
12230
+ id?: string | undefined;
12231
+ title?: string | undefined;
12232
+ }>, "many">>;
12233
+ rows: z.ZodOptional<z.ZodArray<z.ZodObject<{
12234
+ id: z.ZodOptional<z.ZodString>;
12235
+ rowNumber: z.ZodOptional<z.ZodNumber>;
12236
+ cells: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
12237
+ }, "strip", z.ZodTypeAny, {
12238
+ id?: string | undefined;
12239
+ cells?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
12240
+ rowNumber?: number | undefined;
12241
+ }, {
12242
+ id?: string | undefined;
12243
+ cells?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
12244
+ rowNumber?: number | undefined;
12245
+ }>, "many">>;
12246
+ }, "strip", z.ZodTypeAny, {
12247
+ name?: string | undefined;
12248
+ id?: string | undefined;
12249
+ permalink?: string | undefined;
12250
+ rows?: {
12251
+ id?: string | undefined;
12252
+ cells?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
12253
+ rowNumber?: number | undefined;
12254
+ }[] | undefined;
12255
+ columns?: {
12256
+ type?: string | undefined;
12257
+ options?: string[] | undefined;
12258
+ id?: string | undefined;
12259
+ title?: string | undefined;
12260
+ }[] | undefined;
12261
+ }, {
12262
+ name?: string | undefined;
12263
+ id?: string | undefined;
12264
+ permalink?: string | undefined;
12265
+ rows?: {
12266
+ id?: string | undefined;
12267
+ cells?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
12268
+ rowNumber?: number | undefined;
12269
+ }[] | undefined;
12270
+ columns?: {
12271
+ type?: string | undefined;
12272
+ options?: string[] | undefined;
12273
+ id?: string | undefined;
12274
+ title?: string | undefined;
12275
+ }[] | undefined;
12276
+ }>>;
12277
+ }, "strip", z.ZodTypeAny, {
12278
+ success: boolean;
12279
+ error?: string | undefined;
12280
+ sheet?: {
12281
+ name?: string | undefined;
12282
+ id?: string | undefined;
12283
+ permalink?: string | undefined;
12284
+ rows?: {
12285
+ id?: string | undefined;
12286
+ cells?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
12287
+ rowNumber?: number | undefined;
12288
+ }[] | undefined;
12289
+ columns?: {
12290
+ type?: string | undefined;
12291
+ options?: string[] | undefined;
12292
+ id?: string | undefined;
12293
+ title?: string | undefined;
12294
+ }[] | undefined;
12295
+ } | undefined;
12296
+ }, {
12297
+ success: boolean;
12298
+ error?: string | undefined;
12299
+ sheet?: {
12300
+ name?: string | undefined;
12301
+ id?: string | undefined;
12302
+ permalink?: string | undefined;
12303
+ rows?: {
12304
+ id?: string | undefined;
12305
+ cells?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
12306
+ rowNumber?: number | undefined;
12307
+ }[] | undefined;
12308
+ columns?: {
12309
+ type?: string | undefined;
12310
+ options?: string[] | undefined;
12311
+ id?: string | undefined;
12312
+ title?: string | undefined;
12313
+ }[] | undefined;
12314
+ } | undefined;
12315
+ }>;
12316
+ export type smartsheetGetSheetRowsOutputType = z.infer<typeof smartsheetGetSheetRowsOutputSchema>;
12317
+ export type smartsheetGetSheetRowsFunction = ActionFunction<smartsheetGetSheetRowsParamsType, AuthParamsType, smartsheetGetSheetRowsOutputType>;
12318
+ export declare const smartsheetAddRowToSheetParamsSchema: z.ZodObject<{
12319
+ sheetId: z.ZodString;
12320
+ cells: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
12321
+ toTop: z.ZodOptional<z.ZodBoolean>;
12322
+ }, "strip", z.ZodTypeAny, {
12323
+ sheetId: string;
12324
+ cells: {} & {
12325
+ [k: string]: any;
12326
+ };
12327
+ toTop?: boolean | undefined;
12328
+ }, {
12329
+ sheetId: string;
12330
+ cells: {} & {
12331
+ [k: string]: any;
12332
+ };
12333
+ toTop?: boolean | undefined;
12334
+ }>;
12335
+ export type smartsheetAddRowToSheetParamsType = z.infer<typeof smartsheetAddRowToSheetParamsSchema>;
12336
+ export declare const smartsheetAddRowToSheetOutputSchema: z.ZodObject<{
12337
+ success: z.ZodBoolean;
12338
+ error: z.ZodOptional<z.ZodString>;
12339
+ rowId: z.ZodOptional<z.ZodString>;
12340
+ }, "strip", z.ZodTypeAny, {
12341
+ success: boolean;
12342
+ error?: string | undefined;
12343
+ rowId?: string | undefined;
12344
+ }, {
12345
+ success: boolean;
12346
+ error?: string | undefined;
12347
+ rowId?: string | undefined;
12348
+ }>;
12349
+ export type smartsheetAddRowToSheetOutputType = z.infer<typeof smartsheetAddRowToSheetOutputSchema>;
12350
+ export type smartsheetAddRowToSheetFunction = ActionFunction<smartsheetAddRowToSheetParamsType, AuthParamsType, smartsheetAddRowToSheetOutputType>;
12351
+ export declare const smartsheetUpdateRowParamsSchema: z.ZodObject<{
12352
+ sheetId: z.ZodString;
12353
+ rowId: z.ZodString;
12354
+ cells: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
12355
+ }, "strip", z.ZodTypeAny, {
12356
+ sheetId: string;
12357
+ cells: {} & {
12358
+ [k: string]: any;
12359
+ };
12360
+ rowId: string;
12361
+ }, {
12362
+ sheetId: string;
12363
+ cells: {} & {
12364
+ [k: string]: any;
12365
+ };
12366
+ rowId: string;
12367
+ }>;
12368
+ export type smartsheetUpdateRowParamsType = z.infer<typeof smartsheetUpdateRowParamsSchema>;
12369
+ export declare const smartsheetUpdateRowOutputSchema: z.ZodObject<{
12370
+ success: z.ZodBoolean;
12371
+ error: z.ZodOptional<z.ZodString>;
12372
+ rowId: z.ZodOptional<z.ZodString>;
12373
+ }, "strip", z.ZodTypeAny, {
12374
+ success: boolean;
12375
+ error?: string | undefined;
12376
+ rowId?: string | undefined;
12377
+ }, {
12378
+ success: boolean;
12379
+ error?: string | undefined;
12380
+ rowId?: string | undefined;
12381
+ }>;
12382
+ export type smartsheetUpdateRowOutputType = z.infer<typeof smartsheetUpdateRowOutputSchema>;
12383
+ export type smartsheetUpdateRowFunction = ActionFunction<smartsheetUpdateRowParamsType, AuthParamsType, smartsheetUpdateRowOutputType>;
@@ -36,6 +36,7 @@ export var ProviderName;
36
36
  ProviderName["GITLAB"] = "gitlab";
37
37
  ProviderName["LINEAR"] = "linear";
38
38
  ProviderName["HUBSPOT"] = "hubspot";
39
+ ProviderName["SMARTSHEET"] = "smartsheet";
39
40
  ProviderName["BOXUSER"] = "boxUser";
40
41
  })(ProviderName || (ProviderName = {}));
41
42
  export var ActionName;
@@ -58,6 +59,7 @@ export var ActionName;
58
59
  ActionName["ADD"] = "add";
59
60
  ActionName["OVERWRITEPAGE"] = "overwritePage";
60
61
  ActionName["FETCHPAGECONTENT"] = "fetchPageContent";
62
+ ActionName["CREATEPAGE"] = "createPage";
61
63
  ActionName["ASSIGNJIRATICKET"] = "assignJiraTicket";
62
64
  ActionName["PUBLICCOMMENTONSERVICEDESKREQUEST"] = "publicCommentOnServiceDeskRequest";
63
65
  ActionName["COMMENTJIRATICKET"] = "commentJiraTicket";
@@ -177,6 +179,10 @@ export var ActionName;
177
179
  ActionName["GETDEALS"] = "getDeals";
178
180
  ActionName["GETDEALDETAILS"] = "getDealDetails";
179
181
  ActionName["GETTICKETS"] = "getTickets";
182
+ ActionName["LISTSHEETS"] = "listSheets";
183
+ ActionName["GETSHEETROWS"] = "getSheetRows";
184
+ ActionName["ADDROWTOSHEET"] = "addRowToSheet";
185
+ ActionName["UPDATEROW"] = "updateRow";
180
186
  })(ActionName || (ActionName = {}));
181
187
  export const AuthParamsSchema = z.object({
182
188
  authToken: z.string().optional(),
@@ -655,6 +661,21 @@ export const confluenceDataCenterOverwritePageOutputSchema = z.object({
655
661
  success: z.boolean().describe("Whether the page was successfully updated"),
656
662
  error: z.string().describe("The error that occurred if the page was not successfully updated").optional(),
657
663
  });
664
+ export const confluenceDataCenterCreatePageParamsSchema = z.object({
665
+ spaceKey: z.string().describe("The key of the Confluence space to create the page in"),
666
+ title: z.string().describe("The title of the page to create"),
667
+ content: z.string().describe("The content of the page in Confluence storage format (XHTML-based markup)"),
668
+ parentId: z
669
+ .string()
670
+ .describe("Optional ID of the parent page; if provided, the new page will be created as a child of this page")
671
+ .optional(),
672
+ });
673
+ export const confluenceDataCenterCreatePageOutputSchema = z.object({
674
+ success: z.boolean().describe("Whether the page was successfully created"),
675
+ error: z.string().describe("The error that occurred if the page was not successfully created").optional(),
676
+ pageId: z.string().describe("The ID of the newly created page").optional(),
677
+ pageUrl: z.string().describe("The URL of the newly created page").optional(),
678
+ });
658
679
  export const confluenceDataCenterFetchPageContentParamsSchema = z.object({
659
680
  pageId: z.string().describe("The ID of the page to fetch content from"),
660
681
  });
@@ -888,6 +909,7 @@ export const jiraGetJiraIssuesByQueryOutputSchema = z.object({
888
909
  updated: z.string().datetime({ offset: true }),
889
910
  resolution: z.string().nullable().optional(),
890
911
  dueDate: z.string().date().nullable().optional(),
912
+ labels: z.array(z.string()).describe("The labels assigned to the issue (empty array if none)").optional(),
891
913
  })
892
914
  .describe("The result object containing issues"),
893
915
  }))
@@ -1155,6 +1177,7 @@ export const jiraOrgGetJiraIssuesByQueryOutputSchema = z.object({
1155
1177
  updated: z.string().datetime({ offset: true }),
1156
1178
  resolution: z.string().nullable().optional(),
1157
1179
  dueDate: z.string().date().nullable().optional(),
1180
+ labels: z.array(z.string()).describe("The labels assigned to the issue (empty array if none)").optional(),
1158
1181
  })
1159
1182
  .describe("The result object containing issues"),
1160
1183
  }))
@@ -1410,6 +1433,7 @@ export const jiraDataCenterGetJiraIssuesByQueryOutputSchema = z.object({
1410
1433
  updated: z.string().datetime({ offset: true }),
1411
1434
  resolution: z.string().nullable().optional(),
1412
1435
  dueDate: z.string().date().nullable().optional(),
1436
+ labels: z.array(z.string()).describe("The labels assigned to the issue (empty array if none)").optional(),
1413
1437
  })
1414
1438
  .describe("The result object containing issues"),
1415
1439
  }))
@@ -5430,3 +5454,89 @@ export const hubspotGetTicketDetailsOutputSchema = z.object({
5430
5454
  .describe("The ticket details")
5431
5455
  .optional(),
5432
5456
  });
5457
+ export const smartsheetListSheetsParamsSchema = z.object({});
5458
+ export const smartsheetListSheetsOutputSchema = z.object({
5459
+ success: z.boolean().describe("Whether the sheets were successfully listed"),
5460
+ error: z.string().describe("Error message if the operation failed").optional(),
5461
+ sheets: z
5462
+ .array(z.object({
5463
+ id: z.string().describe("The sheet ID, passed as sheetId to other Smartsheet actions").optional(),
5464
+ name: z.string().describe("The sheet name").optional(),
5465
+ permalink: z.string().describe("URL to open the sheet in Smartsheet").optional(),
5466
+ }))
5467
+ .describe("The sheets the user has access to")
5468
+ .optional(),
5469
+ });
5470
+ export const smartsheetGetSheetRowsParamsSchema = z.object({
5471
+ sheetId: z
5472
+ .string()
5473
+ .describe("The ID of the sheet to read. Obtain this from the listSheets action or from the user; do not guess it."),
5474
+ });
5475
+ export const smartsheetGetSheetRowsOutputSchema = z.object({
5476
+ success: z.boolean().describe("Whether the sheet was successfully retrieved"),
5477
+ error: z.string().describe("Error message if the operation failed").optional(),
5478
+ sheet: z
5479
+ .object({
5480
+ id: z.string().describe("The sheet ID").optional(),
5481
+ name: z.string().describe("The sheet name").optional(),
5482
+ permalink: z.string().describe("URL to open the sheet in Smartsheet").optional(),
5483
+ columns: z
5484
+ .array(z.object({
5485
+ id: z.string().describe("The column ID").optional(),
5486
+ title: z
5487
+ .string()
5488
+ .describe("The column title. Use these exact titles as keys in the cells parameter of addRowToSheet and updateRow.")
5489
+ .optional(),
5490
+ type: z
5491
+ .string()
5492
+ .describe("The column type (e.g. TEXT_NUMBER, PICKLIST, DATE, CHECKBOX, CONTACT_LIST)")
5493
+ .optional(),
5494
+ options: z.array(z.string()).describe("The valid values for PICKLIST columns").optional(),
5495
+ }))
5496
+ .describe("The sheet's columns, in display order")
5497
+ .optional(),
5498
+ rows: z
5499
+ .array(z.object({
5500
+ id: z.string().describe("The row ID, passed as rowId to the updateRow action").optional(),
5501
+ rowNumber: z.coerce.number().describe("The row's position in the sheet, starting at 1").optional(),
5502
+ cells: z.object({}).catchall(z.any()).describe("The row's cell values, keyed by column title").optional(),
5503
+ }))
5504
+ .describe("The sheet's rows")
5505
+ .optional(),
5506
+ })
5507
+ .describe("The sheet's columns and rows")
5508
+ .optional(),
5509
+ });
5510
+ export const smartsheetAddRowToSheetParamsSchema = z.object({
5511
+ sheetId: z
5512
+ .string()
5513
+ .describe("The ID of the sheet to add the row to. Obtain this from the listSheets action or from the user; do not guess it."),
5514
+ cells: z
5515
+ .object({})
5516
+ .catchall(z.any())
5517
+ .describe('The new row\'s cell values, keyed by column title exactly as returned by getSheetRows, e.g. {"Task Name": "Review budget", "Status": "In Progress"}. Values may be strings, numbers, or booleans.'),
5518
+ toTop: z
5519
+ .boolean()
5520
+ .describe("If true, the row is added to the top of the sheet. Defaults to false (added to the bottom).")
5521
+ .optional(),
5522
+ });
5523
+ export const smartsheetAddRowToSheetOutputSchema = z.object({
5524
+ success: z.boolean().describe("Whether the row was successfully added"),
5525
+ error: z.string().describe("Error message if the operation failed").optional(),
5526
+ rowId: z.string().describe("The ID of the newly created row").optional(),
5527
+ });
5528
+ export const smartsheetUpdateRowParamsSchema = z.object({
5529
+ sheetId: z
5530
+ .string()
5531
+ .describe("The ID of the sheet containing the row. Obtain this from the listSheets action or from the user; do not guess it."),
5532
+ rowId: z.string().describe("The ID of the row to update, as returned by the getSheetRows action"),
5533
+ cells: z
5534
+ .object({})
5535
+ .catchall(z.any())
5536
+ .describe('The cell values to change, keyed by column title exactly as returned by getSheetRows, e.g. {"Status": "Complete"}. Columns not included are left unchanged. Values may be strings, numbers, or booleans.'),
5537
+ });
5538
+ export const smartsheetUpdateRowOutputSchema = z.object({
5539
+ success: z.boolean().describe("Whether the row was successfully updated"),
5540
+ error: z.string().describe("Error message if the operation failed").optional(),
5541
+ rowId: z.string().describe("The ID of the updated row").optional(),
5542
+ });
@@ -0,0 +1,3 @@
1
+ import type { confluenceDataCenterCreatePageFunction } from "../../autogen/types.js";
2
+ declare const confluenceDataCenterCreatePage: confluenceDataCenterCreatePageFunction;
3
+ export default confluenceDataCenterCreatePage;
@@ -0,0 +1,40 @@
1
+ import { axiosClient } from "../../util/axiosClient.js";
2
+ import { getConfluenceApi } from "./helpers.js";
3
+ const confluenceDataCenterCreatePage = async ({ params, authParams, }) => {
4
+ const { spaceKey, title, content, parentId } = params;
5
+ try {
6
+ const { baseUrl, config } = getConfluenceApi(authParams);
7
+ const payload = {
8
+ type: "page",
9
+ title,
10
+ space: { key: spaceKey },
11
+ body: {
12
+ storage: {
13
+ value: content,
14
+ representation: "storage",
15
+ },
16
+ },
17
+ };
18
+ if (parentId) {
19
+ payload.ancestors = [{ id: parentId }];
20
+ }
21
+ const response = await axiosClient.post(`${baseUrl}/content`, payload, config);
22
+ const pageId = response.data?.id;
23
+ const links = response.data?._links ?? {};
24
+ const pageUrl = links.base && links.webui ? `${links.base}${links.webui}` : undefined;
25
+ return {
26
+ success: true,
27
+ pageId,
28
+ pageUrl,
29
+ };
30
+ }
31
+ catch (error) {
32
+ return {
33
+ success: false,
34
+ error: error instanceof Error
35
+ ? error.message
36
+ : "An unknown error occurred while creating the Confluence Data Center page.",
37
+ };
38
+ }
39
+ };
40
+ export default confluenceDataCenterCreatePage;