graphlit-client 1.0.20260313001 → 1.0.20260313002

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.
package/dist/client.d.ts CHANGED
@@ -1181,6 +1181,74 @@ declare class Graphlit {
1181
1181
  * @returns The Slack channels.
1182
1182
  */
1183
1183
  querySlackChannels(properties: Types.SlackChannelsInput): Promise<Types.QuerySlackChannelsQuery>;
1184
+ /**
1185
+ * Queries Slack users.
1186
+ * @param properties - The Slack authentication properties.
1187
+ * @returns The Slack users with userId, displayName, realName, and email.
1188
+ */
1189
+ querySlackUsers(properties: Types.SlackChannelsInput): Promise<Types.QuerySlackUsersQuery>;
1190
+ /**
1191
+ * Updates a Google Calendar event.
1192
+ * @param properties - The Google Calendar authentication properties.
1193
+ * @param eventId - The event identifier.
1194
+ * @param input - The event fields to update.
1195
+ * @returns The updated calendar event.
1196
+ */
1197
+ updateGoogleCalendarEvent(properties: Types.GoogleCalendarEventsInput, eventId: string, input: Types.CalendarEventUpdateInput): Promise<Types.UpdateGoogleCalendarEventMutation>;
1198
+ /**
1199
+ * Updates a Microsoft Calendar event.
1200
+ * @param properties - The Microsoft Calendar authentication properties.
1201
+ * @param eventId - The event identifier.
1202
+ * @param input - The event fields to update.
1203
+ * @returns The updated calendar event.
1204
+ */
1205
+ updateMicrosoftCalendarEvent(properties: Types.MicrosoftCalendarEventsInput, eventId: string, input: Types.CalendarEventUpdateInput): Promise<Types.UpdateMicrosoftCalendarEventMutation>;
1206
+ /**
1207
+ * Deletes a Google Calendar event.
1208
+ * @param properties - The Google Calendar authentication properties.
1209
+ * @param eventId - The event identifier.
1210
+ * @returns True if the event was deleted.
1211
+ */
1212
+ deleteGoogleCalendarEvent(properties: Types.GoogleCalendarEventsInput, eventId: string): Promise<Types.DeleteGoogleCalendarEventMutation>;
1213
+ /**
1214
+ * Deletes a Microsoft Calendar event.
1215
+ * @param properties - The Microsoft Calendar authentication properties.
1216
+ * @param eventId - The event identifier.
1217
+ * @returns True if the event was deleted.
1218
+ */
1219
+ deleteMicrosoftCalendarEvent(properties: Types.MicrosoftCalendarEventsInput, eventId: string): Promise<Types.DeleteMicrosoftCalendarEventMutation>;
1220
+ /**
1221
+ * Updates a Notion page.
1222
+ * @param properties - The Notion authentication properties.
1223
+ * @param pageId - The Notion page identifier.
1224
+ * @param input - The page fields to update (title, content, appendContent).
1225
+ * @returns The distribution result.
1226
+ */
1227
+ updateNotionPage(properties: Types.NotionDatabasesInput, pageId: string, input: Types.NotionPageUpdateInput): Promise<Types.UpdateNotionPageMutation>;
1228
+ /**
1229
+ * Updates a Confluence page.
1230
+ * @param properties - The Confluence authentication properties.
1231
+ * @param pageId - The Confluence page identifier.
1232
+ * @param input - The page fields to update (title, content, appendContent).
1233
+ * @returns The distribution result.
1234
+ */
1235
+ updateConfluencePage(properties: Types.ConfluenceSpacesInput, pageId: string, input: Types.ConfluencePageUpdateInput): Promise<Types.UpdateConfluencePageMutation>;
1236
+ /**
1237
+ * Updates a Jira issue.
1238
+ * @param properties - The Jira authentication properties.
1239
+ * @param issueIdOrKey - The Jira issue ID or key (e.g., "CS-123").
1240
+ * @param input - The issue fields to update (summary, description, priority, status, assigneeId, labels).
1241
+ * @returns The distribution result.
1242
+ */
1243
+ updateJiraIssue(properties: Types.JiraProjectsInput, issueIdOrKey: string, input: Types.JiraIssueUpdateInput): Promise<Types.UpdateJiraIssueMutation>;
1244
+ /**
1245
+ * Updates a Linear issue.
1246
+ * @param properties - The Linear authentication properties.
1247
+ * @param issueId - The Linear issue identifier.
1248
+ * @param input - The issue fields to update (title, description, priority, stateId, assigneeId, labelIds).
1249
+ * @returns The distribution result.
1250
+ */
1251
+ updateLinearIssue(properties: Types.LinearProjectsInput, issueId: string, input: Types.LinearIssueUpdateInput): Promise<Types.UpdateLinearIssueMutation>;
1184
1252
  /**
1185
1253
  * Queries Linear projects.
1186
1254
  * @param properties - The Linear project query properties.
package/dist/client.js CHANGED
@@ -2165,6 +2165,92 @@ class Graphlit {
2165
2165
  async querySlackChannels(properties) {
2166
2166
  return this.queryAndCheckError(Documents.QuerySlackChannels, { properties: properties });
2167
2167
  }
2168
+ /**
2169
+ * Queries Slack users.
2170
+ * @param properties - The Slack authentication properties.
2171
+ * @returns The Slack users with userId, displayName, realName, and email.
2172
+ */
2173
+ async querySlackUsers(properties) {
2174
+ return this.queryAndCheckError(Documents.QuerySlackUsers, { properties: properties });
2175
+ }
2176
+ /**
2177
+ * Updates a Google Calendar event.
2178
+ * @param properties - The Google Calendar authentication properties.
2179
+ * @param eventId - The event identifier.
2180
+ * @param input - The event fields to update.
2181
+ * @returns The updated calendar event.
2182
+ */
2183
+ async updateGoogleCalendarEvent(properties, eventId, input) {
2184
+ return this.mutateAndCheckError(Documents.UpdateGoogleCalendarEvent, { properties, eventId, input });
2185
+ }
2186
+ /**
2187
+ * Updates a Microsoft Calendar event.
2188
+ * @param properties - The Microsoft Calendar authentication properties.
2189
+ * @param eventId - The event identifier.
2190
+ * @param input - The event fields to update.
2191
+ * @returns The updated calendar event.
2192
+ */
2193
+ async updateMicrosoftCalendarEvent(properties, eventId, input) {
2194
+ return this.mutateAndCheckError(Documents.UpdateMicrosoftCalendarEvent, { properties, eventId, input });
2195
+ }
2196
+ /**
2197
+ * Deletes a Google Calendar event.
2198
+ * @param properties - The Google Calendar authentication properties.
2199
+ * @param eventId - The event identifier.
2200
+ * @returns True if the event was deleted.
2201
+ */
2202
+ async deleteGoogleCalendarEvent(properties, eventId) {
2203
+ return this.mutateAndCheckError(Documents.DeleteGoogleCalendarEvent, { properties, eventId });
2204
+ }
2205
+ /**
2206
+ * Deletes a Microsoft Calendar event.
2207
+ * @param properties - The Microsoft Calendar authentication properties.
2208
+ * @param eventId - The event identifier.
2209
+ * @returns True if the event was deleted.
2210
+ */
2211
+ async deleteMicrosoftCalendarEvent(properties, eventId) {
2212
+ return this.mutateAndCheckError(Documents.DeleteMicrosoftCalendarEvent, { properties, eventId });
2213
+ }
2214
+ /**
2215
+ * Updates a Notion page.
2216
+ * @param properties - The Notion authentication properties.
2217
+ * @param pageId - The Notion page identifier.
2218
+ * @param input - The page fields to update (title, content, appendContent).
2219
+ * @returns The distribution result.
2220
+ */
2221
+ async updateNotionPage(properties, pageId, input) {
2222
+ return this.mutateAndCheckError(Documents.UpdateNotionPage, { properties, pageId, input });
2223
+ }
2224
+ /**
2225
+ * Updates a Confluence page.
2226
+ * @param properties - The Confluence authentication properties.
2227
+ * @param pageId - The Confluence page identifier.
2228
+ * @param input - The page fields to update (title, content, appendContent).
2229
+ * @returns The distribution result.
2230
+ */
2231
+ async updateConfluencePage(properties, pageId, input) {
2232
+ return this.mutateAndCheckError(Documents.UpdateConfluencePage, { properties, pageId, input });
2233
+ }
2234
+ /**
2235
+ * Updates a Jira issue.
2236
+ * @param properties - The Jira authentication properties.
2237
+ * @param issueIdOrKey - The Jira issue ID or key (e.g., "CS-123").
2238
+ * @param input - The issue fields to update (summary, description, priority, status, assigneeId, labels).
2239
+ * @returns The distribution result.
2240
+ */
2241
+ async updateJiraIssue(properties, issueIdOrKey, input) {
2242
+ return this.mutateAndCheckError(Documents.UpdateJiraIssue, { properties, issueIdOrKey, input });
2243
+ }
2244
+ /**
2245
+ * Updates a Linear issue.
2246
+ * @param properties - The Linear authentication properties.
2247
+ * @param issueId - The Linear issue identifier.
2248
+ * @param input - The issue fields to update (title, description, priority, stateId, assigneeId, labelIds).
2249
+ * @returns The distribution result.
2250
+ */
2251
+ async updateLinearIssue(properties, issueId, input) {
2252
+ return this.mutateAndCheckError(Documents.UpdateLinearIssue, { properties, issueId, input });
2253
+ }
2168
2254
  /**
2169
2255
  * Queries Linear projects.
2170
2256
  * @param properties - The Linear project query properties.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20260313001",
3
+ "version": "1.0.20260313002",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",