@pidgeon-ai/sdk 1.45.0 → 1.46.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/CHANGELOG.md +13 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4532,7 +4532,7 @@ type MessagesSendErrors = {
|
|
|
4532
4532
|
*/
|
|
4533
4533
|
401: Error;
|
|
4534
4534
|
/**
|
|
4535
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4535
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4536
4536
|
*/
|
|
4537
4537
|
403: Error;
|
|
4538
4538
|
/**
|
|
@@ -5032,7 +5032,7 @@ type MessagesReplyErrors = {
|
|
|
5032
5032
|
*/
|
|
5033
5033
|
401: Error;
|
|
5034
5034
|
/**
|
|
5035
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5035
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5036
5036
|
*/
|
|
5037
5037
|
403: Error;
|
|
5038
5038
|
/**
|
|
@@ -5132,7 +5132,7 @@ type MessagesReplyAllErrors = {
|
|
|
5132
5132
|
*/
|
|
5133
5133
|
401: Error;
|
|
5134
5134
|
/**
|
|
5135
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5135
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5136
5136
|
*/
|
|
5137
5137
|
403: Error;
|
|
5138
5138
|
/**
|
|
@@ -5232,7 +5232,7 @@ type MessagesForwardErrors = {
|
|
|
5232
5232
|
*/
|
|
5233
5233
|
401: Error;
|
|
5234
5234
|
/**
|
|
5235
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5235
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5236
5236
|
*/
|
|
5237
5237
|
403: Error;
|
|
5238
5238
|
/**
|
|
@@ -8203,7 +8203,7 @@ type MessagesRespondToInvitationErrors = {
|
|
|
8203
8203
|
*/
|
|
8204
8204
|
401: Error;
|
|
8205
8205
|
/**
|
|
8206
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8206
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8207
8207
|
*/
|
|
8208
8208
|
403: Error;
|
|
8209
8209
|
/**
|
|
@@ -8482,7 +8482,7 @@ type CalendarCreateEventErrors = {
|
|
|
8482
8482
|
*/
|
|
8483
8483
|
401: Error;
|
|
8484
8484
|
/**
|
|
8485
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8485
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8486
8486
|
*/
|
|
8487
8487
|
403: Error;
|
|
8488
8488
|
/**
|
|
@@ -8553,7 +8553,7 @@ type CalendarRespondToEventErrors = {
|
|
|
8553
8553
|
*/
|
|
8554
8554
|
401: Error;
|
|
8555
8555
|
/**
|
|
8556
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8556
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8557
8557
|
*/
|
|
8558
8558
|
403: Error;
|
|
8559
8559
|
/**
|
|
@@ -8765,7 +8765,7 @@ type CalendarDeleteEventErrors = {
|
|
|
8765
8765
|
*/
|
|
8766
8766
|
401: Error;
|
|
8767
8767
|
/**
|
|
8768
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8768
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8769
8769
|
*/
|
|
8770
8770
|
403: Error;
|
|
8771
8771
|
/**
|
|
@@ -8923,7 +8923,7 @@ type CalendarUpdateEventErrors = {
|
|
|
8923
8923
|
*/
|
|
8924
8924
|
401: Error;
|
|
8925
8925
|
/**
|
|
8926
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8926
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8927
8927
|
*/
|
|
8928
8928
|
403: Error;
|
|
8929
8929
|
/**
|
|
@@ -9383,7 +9383,7 @@ type DraftsSendErrors = {
|
|
|
9383
9383
|
*/
|
|
9384
9384
|
401: Error;
|
|
9385
9385
|
/**
|
|
9386
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
9386
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
9387
9387
|
*/
|
|
9388
9388
|
403: Error;
|
|
9389
9389
|
/**
|
|
@@ -10304,7 +10304,7 @@ declare const threadsGet: <ThrowOnError extends boolean = false>(options: Option
|
|
|
10304
10304
|
/**
|
|
10305
10305
|
* Update a thread
|
|
10306
10306
|
*
|
|
10307
|
-
* 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.
|
|
10307
|
+
* 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. While a person has the conversation (it is `human` with an assignee, or in `human_review`), a key may not set `owner_type` to anything else: `403 taken_over`. The person hands it back.
|
|
10308
10308
|
*/
|
|
10309
10309
|
declare const threadsUpdate: <ThrowOnError extends boolean = false>(options: Options<ThreadsUpdateData, ThrowOnError>) => RequestResult<ThreadsUpdateResponses, ThreadsUpdateErrors, ThrowOnError>;
|
|
10310
10310
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -4532,7 +4532,7 @@ type MessagesSendErrors = {
|
|
|
4532
4532
|
*/
|
|
4533
4533
|
401: Error;
|
|
4534
4534
|
/**
|
|
4535
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4535
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4536
4536
|
*/
|
|
4537
4537
|
403: Error;
|
|
4538
4538
|
/**
|
|
@@ -5032,7 +5032,7 @@ type MessagesReplyErrors = {
|
|
|
5032
5032
|
*/
|
|
5033
5033
|
401: Error;
|
|
5034
5034
|
/**
|
|
5035
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5035
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5036
5036
|
*/
|
|
5037
5037
|
403: Error;
|
|
5038
5038
|
/**
|
|
@@ -5132,7 +5132,7 @@ type MessagesReplyAllErrors = {
|
|
|
5132
5132
|
*/
|
|
5133
5133
|
401: Error;
|
|
5134
5134
|
/**
|
|
5135
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5135
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5136
5136
|
*/
|
|
5137
5137
|
403: Error;
|
|
5138
5138
|
/**
|
|
@@ -5232,7 +5232,7 @@ type MessagesForwardErrors = {
|
|
|
5232
5232
|
*/
|
|
5233
5233
|
401: Error;
|
|
5234
5234
|
/**
|
|
5235
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5235
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5236
5236
|
*/
|
|
5237
5237
|
403: Error;
|
|
5238
5238
|
/**
|
|
@@ -8203,7 +8203,7 @@ type MessagesRespondToInvitationErrors = {
|
|
|
8203
8203
|
*/
|
|
8204
8204
|
401: Error;
|
|
8205
8205
|
/**
|
|
8206
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8206
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8207
8207
|
*/
|
|
8208
8208
|
403: Error;
|
|
8209
8209
|
/**
|
|
@@ -8482,7 +8482,7 @@ type CalendarCreateEventErrors = {
|
|
|
8482
8482
|
*/
|
|
8483
8483
|
401: Error;
|
|
8484
8484
|
/**
|
|
8485
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8485
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8486
8486
|
*/
|
|
8487
8487
|
403: Error;
|
|
8488
8488
|
/**
|
|
@@ -8553,7 +8553,7 @@ type CalendarRespondToEventErrors = {
|
|
|
8553
8553
|
*/
|
|
8554
8554
|
401: Error;
|
|
8555
8555
|
/**
|
|
8556
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8556
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8557
8557
|
*/
|
|
8558
8558
|
403: Error;
|
|
8559
8559
|
/**
|
|
@@ -8765,7 +8765,7 @@ type CalendarDeleteEventErrors = {
|
|
|
8765
8765
|
*/
|
|
8766
8766
|
401: Error;
|
|
8767
8767
|
/**
|
|
8768
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8768
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8769
8769
|
*/
|
|
8770
8770
|
403: Error;
|
|
8771
8771
|
/**
|
|
@@ -8923,7 +8923,7 @@ type CalendarUpdateEventErrors = {
|
|
|
8923
8923
|
*/
|
|
8924
8924
|
401: Error;
|
|
8925
8925
|
/**
|
|
8926
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8926
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8927
8927
|
*/
|
|
8928
8928
|
403: Error;
|
|
8929
8929
|
/**
|
|
@@ -9383,7 +9383,7 @@ type DraftsSendErrors = {
|
|
|
9383
9383
|
*/
|
|
9384
9384
|
401: Error;
|
|
9385
9385
|
/**
|
|
9386
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
9386
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it), `taken_over` (a person has this conversation: a key does not send in it until they hand it back) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
9387
9387
|
*/
|
|
9388
9388
|
403: Error;
|
|
9389
9389
|
/**
|
|
@@ -10304,7 +10304,7 @@ declare const threadsGet: <ThrowOnError extends boolean = false>(options: Option
|
|
|
10304
10304
|
/**
|
|
10305
10305
|
* Update a thread
|
|
10306
10306
|
*
|
|
10307
|
-
* 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.
|
|
10307
|
+
* 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. While a person has the conversation (it is `human` with an assignee, or in `human_review`), a key may not set `owner_type` to anything else: `403 taken_over`. The person hands it back.
|
|
10308
10308
|
*/
|
|
10309
10309
|
declare const threadsUpdate: <ThrowOnError extends boolean = false>(options: Options<ThreadsUpdateData, ThrowOnError>) => RequestResult<ThreadsUpdateResponses, ThreadsUpdateErrors, ThrowOnError>;
|
|
10310
10310
|
/**
|