@hipnation-truth/sdk 0.20.0 → 0.22.0

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/index.d.mts CHANGED
@@ -255,6 +255,8 @@ interface CreateConversationNoteInput extends ConversationAddress {
255
255
  interface CreateConversationTaskInput extends ConversationAddress {
256
256
  eventId?: string;
257
257
  author: string;
258
+ /** Optional short headline, distinct from `description`. */
259
+ title?: string;
258
260
  description: string;
259
261
  status?: ConversationTaskStatus;
260
262
  priority?: ConversationTaskPriority;
@@ -274,6 +276,7 @@ interface UpdateConversationTaskInput {
274
276
  author: string;
275
277
  description: string;
276
278
  /** Optional patch fields — pass only the ones you want to change. */
279
+ title?: string;
277
280
  priority?: ConversationTaskPriority;
278
281
  status?: ConversationTaskStatus;
279
282
  assignee?: string;
package/dist/index.d.ts CHANGED
@@ -255,6 +255,8 @@ interface CreateConversationNoteInput extends ConversationAddress {
255
255
  interface CreateConversationTaskInput extends ConversationAddress {
256
256
  eventId?: string;
257
257
  author: string;
258
+ /** Optional short headline, distinct from `description`. */
259
+ title?: string;
258
260
  description: string;
259
261
  status?: ConversationTaskStatus;
260
262
  priority?: ConversationTaskPriority;
@@ -274,6 +276,7 @@ interface UpdateConversationTaskInput {
274
276
  author: string;
275
277
  description: string;
276
278
  /** Optional patch fields — pass only the ones you want to change. */
279
+ title?: string;
277
280
  priority?: ConversationTaskPriority;
278
281
  status?: ConversationTaskStatus;
279
282
  assignee?: string;
package/dist/index.js CHANGED
@@ -366,12 +366,12 @@ var ConversationTasksSubresource = class {
366
366
  return __async(this, null, function* () {
367
367
  return this.patch(
368
368
  `/conversations/tasks/${encodeURIComponent(input.taskId)}`,
369
- __spreadValues(__spreadValues(__spreadValues(__spreadValues({
369
+ __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({
370
370
  id: input.taskId,
371
371
  conversationId: input.conversationId,
372
372
  author: input.author,
373
373
  description: input.description
374
- }, input.priority ? { priority: input.priority } : {}), input.status ? { status: input.status } : {}), input.assignee !== void 0 ? { assignee: input.assignee } : {}), input.type !== void 0 ? { type: input.type } : {})
374
+ }, input.title !== void 0 ? { title: input.title } : {}), input.priority ? { priority: input.priority } : {}), input.status ? { status: input.status } : {}), input.assignee !== void 0 ? { assignee: input.assignee } : {}), input.type !== void 0 ? { type: input.type } : {})
375
375
  );
376
376
  });
377
377
  }