@pidgeon-ai/sdk 1.16.1 → 1.17.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.cts CHANGED
@@ -3455,6 +3455,7 @@ type ThreadsUpdateData = {
3455
3455
  status?: 'open' | 'waiting' | 'resolved' | 'human_review';
3456
3456
  owner_type?: 'human' | 'automation' | 'agent';
3457
3457
  assignee_id?: string | null;
3458
+ reason?: string;
3458
3459
  };
3459
3460
  path: {
3460
3461
  id: string;
@@ -6190,7 +6191,7 @@ declare const threadsGet: <ThrowOnError extends boolean = false>(options: Option
6190
6191
  /**
6191
6192
  * Update a thread
6192
6193
  *
6193
- * Its status and who owns it — the state a conversation carries.
6194
+ * Its status and who owns it — the state a conversation carries. Handing it to a person notifies them: the assignee if you name one, otherwise everybody who can answer as the address. `reason` is shown in that notification.
6194
6195
  */
6195
6196
  declare const threadsUpdate: <ThrowOnError extends boolean = false>(options: Options<ThreadsUpdateData, ThrowOnError>) => RequestResult<ThreadsUpdateResponses, ThreadsUpdateErrors, ThrowOnError>;
6196
6197
  /**
package/dist/index.d.ts CHANGED
@@ -3455,6 +3455,7 @@ type ThreadsUpdateData = {
3455
3455
  status?: 'open' | 'waiting' | 'resolved' | 'human_review';
3456
3456
  owner_type?: 'human' | 'automation' | 'agent';
3457
3457
  assignee_id?: string | null;
3458
+ reason?: string;
3458
3459
  };
3459
3460
  path: {
3460
3461
  id: string;
@@ -6190,7 +6191,7 @@ declare const threadsGet: <ThrowOnError extends boolean = false>(options: Option
6190
6191
  /**
6191
6192
  * Update a thread
6192
6193
  *
6193
- * Its status and who owns it — the state a conversation carries.
6194
+ * Its status and who owns it — the state a conversation carries. Handing it to a person notifies them: the assignee if you name one, otherwise everybody who can answer as the address. `reason` is shown in that notification.
6194
6195
  */
6195
6196
  declare const threadsUpdate: <ThrowOnError extends boolean = false>(options: Options<ThreadsUpdateData, ThrowOnError>) => RequestResult<ThreadsUpdateResponses, ThreadsUpdateErrors, ThrowOnError>;
6196
6197
  /**