skedyul 0.2.74 → 0.2.76

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/.build-stamp CHANGED
@@ -1 +1 @@
1
- 1769641857995
1
+ 1769642832567
@@ -190,6 +190,22 @@ export declare const communicationChannel: {
190
190
  receiveMessage(input: ReceiveMessageInput): Promise<{
191
191
  messageId: string;
192
192
  }>;
193
+ /**
194
+ * Update a communication channel's properties.
195
+ *
196
+ * @param channelId - The ID of the channel to update
197
+ * @param params - The properties to update (e.g., name)
198
+ *
199
+ * @example
200
+ * ```ts
201
+ * const channel = await communicationChannel.update('channel-id-123', {
202
+ * name: 'New Channel Name',
203
+ * })
204
+ * ```
205
+ */
206
+ update(channelId: string, params: {
207
+ name?: string;
208
+ }): Promise<CommunicationChannel>;
193
209
  /**
194
210
  * Remove a communication channel and its associated resources.
195
211
  *
@@ -220,6 +220,26 @@ exports.communicationChannel = {
220
220
  });
221
221
  return data;
222
222
  },
223
+ /**
224
+ * Update a communication channel's properties.
225
+ *
226
+ * @param channelId - The ID of the channel to update
227
+ * @param params - The properties to update (e.g., name)
228
+ *
229
+ * @example
230
+ * ```ts
231
+ * const channel = await communicationChannel.update('channel-id-123', {
232
+ * name: 'New Channel Name',
233
+ * })
234
+ * ```
235
+ */
236
+ async update(channelId, params) {
237
+ const { data } = await callCore('communicationChannel.update', {
238
+ communicationChannelId: channelId,
239
+ ...params,
240
+ });
241
+ return data;
242
+ },
223
243
  /**
224
244
  * Remove a communication channel and its associated resources.
225
245
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skedyul",
3
- "version": "0.2.74",
3
+ "version": "0.2.76",
4
4
  "description": "The Skedyul SDK for Node.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",