@pidgeon-ai/sdk 1.62.0 → 1.64.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 +19 -0
- package/dist/index.cjs +63 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +854 -106
- package/dist/index.d.ts +854 -106
- package/dist/index.js +55 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -635,6 +635,60 @@ type SenderVerification = {
|
|
|
635
635
|
verifier_key: string;
|
|
636
636
|
} | null;
|
|
637
637
|
} | null;
|
|
638
|
+
/**
|
|
639
|
+
* What the sender may do: each grant it carried (`Post-Grant`) or that was sent in `grants`, checked against the sender a signature verified. Act on `valid`. Empty when there were none.
|
|
640
|
+
*/
|
|
641
|
+
grants: Array<{
|
|
642
|
+
/**
|
|
643
|
+
* True when the grant is ours, signed, in force, held by the sender a signature verified, and for here and this subject.
|
|
644
|
+
*/
|
|
645
|
+
valid: boolean;
|
|
646
|
+
/**
|
|
647
|
+
* Why it does not hold: the first thing wrong. Null when `valid`.
|
|
648
|
+
*/
|
|
649
|
+
reason: 'malformed' | 'unknown_issuer' | 'bad_signature' | 'not_found' | 'revoked' | 'expired' | 'sender_unverified' | 'wrong_agent' | 'wrong_audience' | 'wrong_subject' | null;
|
|
650
|
+
/**
|
|
651
|
+
* Null unless the signature holds.
|
|
652
|
+
*/
|
|
653
|
+
id: string | null;
|
|
654
|
+
agent: string | null;
|
|
655
|
+
grantor: {
|
|
656
|
+
type: 'person';
|
|
657
|
+
email: string;
|
|
658
|
+
} | {
|
|
659
|
+
type: 'organisation';
|
|
660
|
+
domain: string;
|
|
661
|
+
} | null;
|
|
662
|
+
scope: {
|
|
663
|
+
/**
|
|
664
|
+
* Stable, for software: `bookings.change`.
|
|
665
|
+
*/
|
|
666
|
+
name: string;
|
|
667
|
+
/**
|
|
668
|
+
* For people: "manage your bookings".
|
|
669
|
+
*/
|
|
670
|
+
label: string;
|
|
671
|
+
limit?: {
|
|
672
|
+
/**
|
|
673
|
+
* Minor units: 10000 is $100.00.
|
|
674
|
+
*/
|
|
675
|
+
amount: number;
|
|
676
|
+
/**
|
|
677
|
+
* ISO 4217.
|
|
678
|
+
*/
|
|
679
|
+
currency: string;
|
|
680
|
+
};
|
|
681
|
+
} | null;
|
|
682
|
+
/**
|
|
683
|
+
* The domain it is for acting with. Null: anywhere.
|
|
684
|
+
*/
|
|
685
|
+
audience: string | null;
|
|
686
|
+
subject: {
|
|
687
|
+
type: 'customer' | 'account' | 'order';
|
|
688
|
+
id: string;
|
|
689
|
+
} | null;
|
|
690
|
+
expires_at: string | null;
|
|
691
|
+
}>;
|
|
638
692
|
warnings: Array<{
|
|
639
693
|
code: 'unsigned_claims' | 'extra_claims' | 'lookalike_domain' | 'display_name_mismatch' | 'not_addressed_to_you' | 'old_signature' | 'envelope_unverifiable';
|
|
640
694
|
message: string;
|
|
@@ -827,6 +881,103 @@ type CardLogMonitor = {
|
|
|
827
881
|
*/
|
|
828
882
|
created_at: string;
|
|
829
883
|
};
|
|
884
|
+
type GrantTemplate = {
|
|
885
|
+
object: 'grant_template';
|
|
886
|
+
id: string;
|
|
887
|
+
name: string;
|
|
888
|
+
label: string;
|
|
889
|
+
audience: string | null;
|
|
890
|
+
audience_name: string | null;
|
|
891
|
+
subject_type: 'customer' | 'account' | 'order';
|
|
892
|
+
limit: {
|
|
893
|
+
/**
|
|
894
|
+
* Minor units: 10000 is $100.00.
|
|
895
|
+
*/
|
|
896
|
+
amount: number;
|
|
897
|
+
/**
|
|
898
|
+
* ISO 4217.
|
|
899
|
+
*/
|
|
900
|
+
currency: string;
|
|
901
|
+
} | null;
|
|
902
|
+
max_days: number;
|
|
903
|
+
/**
|
|
904
|
+
* ISO-8601, UTC.
|
|
905
|
+
*/
|
|
906
|
+
created_at: string;
|
|
907
|
+
};
|
|
908
|
+
type Grant = {
|
|
909
|
+
object: 'grant';
|
|
910
|
+
id: string;
|
|
911
|
+
/**
|
|
912
|
+
* `pending` until the grantor answers on the consent page.
|
|
913
|
+
*/
|
|
914
|
+
status: 'pending' | 'active' | 'denied' | 'revoked' | 'expired';
|
|
915
|
+
/**
|
|
916
|
+
* The agent’s address, the card’s `sub`.
|
|
917
|
+
*/
|
|
918
|
+
identity_id: string | null;
|
|
919
|
+
agent: string;
|
|
920
|
+
grantor: {
|
|
921
|
+
type: 'person';
|
|
922
|
+
email: string;
|
|
923
|
+
} | {
|
|
924
|
+
type: 'organisation';
|
|
925
|
+
domain: string;
|
|
926
|
+
};
|
|
927
|
+
scope: {
|
|
928
|
+
/**
|
|
929
|
+
* Stable, for software: `bookings.change`.
|
|
930
|
+
*/
|
|
931
|
+
name: string;
|
|
932
|
+
/**
|
|
933
|
+
* For people: "manage your bookings".
|
|
934
|
+
*/
|
|
935
|
+
label: string;
|
|
936
|
+
limit?: {
|
|
937
|
+
/**
|
|
938
|
+
* Minor units: 10000 is $100.00.
|
|
939
|
+
*/
|
|
940
|
+
amount: number;
|
|
941
|
+
/**
|
|
942
|
+
* ISO 4217.
|
|
943
|
+
*/
|
|
944
|
+
currency: string;
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
audience: string | null;
|
|
948
|
+
subject: {
|
|
949
|
+
type: 'customer' | 'account' | 'order';
|
|
950
|
+
id: string;
|
|
951
|
+
};
|
|
952
|
+
/**
|
|
953
|
+
* ISO-8601, UTC.
|
|
954
|
+
*/
|
|
955
|
+
expires_at: string;
|
|
956
|
+
/**
|
|
957
|
+
* ISO-8601, UTC.
|
|
958
|
+
*/
|
|
959
|
+
created_at: string;
|
|
960
|
+
decided_at: string | null;
|
|
961
|
+
revoked_at: string | null;
|
|
962
|
+
/**
|
|
963
|
+
* The signed grant (compact JWS, EdDSA, `typ: agent-grant+jwt`) while it is active: what the agent carries in `Post-Grant`.
|
|
964
|
+
*/
|
|
965
|
+
jws: string | null;
|
|
966
|
+
/**
|
|
967
|
+
* Send the grantor here. Only on the answer that asked for it; it is not shown again.
|
|
968
|
+
*/
|
|
969
|
+
consent_url?: string;
|
|
970
|
+
};
|
|
971
|
+
type GrantState = {
|
|
972
|
+
object: 'grant_status';
|
|
973
|
+
id: string;
|
|
974
|
+
status: 'active' | 'revoked' | 'expired';
|
|
975
|
+
/**
|
|
976
|
+
* ISO-8601, UTC.
|
|
977
|
+
*/
|
|
978
|
+
expires_at: string;
|
|
979
|
+
revoked_at: string | null;
|
|
980
|
+
};
|
|
830
981
|
type AgentSetup = {
|
|
831
982
|
/**
|
|
832
983
|
* True when every step is done for the address below. A test key is never ready: its mail stays inside Pidgeon.
|
|
@@ -2781,6 +2932,10 @@ type Pod = {
|
|
|
2781
2932
|
* Where an address lands when a create call names no pod. Exactly one per account.
|
|
2782
2933
|
*/
|
|
2783
2934
|
is_default: boolean;
|
|
2935
|
+
/**
|
|
2936
|
+
* Mail in this pod is readable only with its own keys, not by the account’s keys or people.
|
|
2937
|
+
*/
|
|
2938
|
+
private: boolean;
|
|
2784
2939
|
/**
|
|
2785
2940
|
* Addresses in it.
|
|
2786
2941
|
*/
|
|
@@ -2801,6 +2956,10 @@ type PodCreated = {
|
|
|
2801
2956
|
* Where an address lands when a create call names no pod. Exactly one per account.
|
|
2802
2957
|
*/
|
|
2803
2958
|
is_default: boolean;
|
|
2959
|
+
/**
|
|
2960
|
+
* Mail in this pod is readable only with its own keys, not by the account’s keys or people.
|
|
2961
|
+
*/
|
|
2962
|
+
private: boolean;
|
|
2804
2963
|
/**
|
|
2805
2964
|
* Addresses in it.
|
|
2806
2965
|
*/
|
|
@@ -3353,6 +3512,14 @@ type VerifySenderData = {
|
|
|
3353
3512
|
body?: string;
|
|
3354
3513
|
};
|
|
3355
3514
|
recipient?: string;
|
|
3515
|
+
/**
|
|
3516
|
+
* Grants sent beside the message or request rather than in a `Post-Grant` header, such as an MCP call’s `_meta["ai.pidgeon.post/grant"]`: compact JWS.
|
|
3517
|
+
*/
|
|
3518
|
+
grants?: Array<string>;
|
|
3519
|
+
/**
|
|
3520
|
+
* The customer, account or order you are about to act on. A grant for another one answers `wrong_subject`.
|
|
3521
|
+
*/
|
|
3522
|
+
subject?: string;
|
|
3356
3523
|
};
|
|
3357
3524
|
path?: never;
|
|
3358
3525
|
query?: never;
|
|
@@ -3872,6 +4039,58 @@ type LogMonitorsDeleteResponses = {
|
|
|
3872
4039
|
};
|
|
3873
4040
|
};
|
|
3874
4041
|
type LogMonitorsDeleteResponse = LogMonitorsDeleteResponses[keyof LogMonitorsDeleteResponses];
|
|
4042
|
+
type GrantsStatusData = {
|
|
4043
|
+
body?: never;
|
|
4044
|
+
path: {
|
|
4045
|
+
id: string;
|
|
4046
|
+
};
|
|
4047
|
+
query?: never;
|
|
4048
|
+
url: '/grants/{id}/status';
|
|
4049
|
+
};
|
|
4050
|
+
type GrantsStatusErrors = {
|
|
4051
|
+
/**
|
|
4052
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
4053
|
+
*/
|
|
4054
|
+
400: Error;
|
|
4055
|
+
/**
|
|
4056
|
+
* No API key, or one that is not valid.
|
|
4057
|
+
*/
|
|
4058
|
+
401: Error;
|
|
4059
|
+
/**
|
|
4060
|
+
* Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
|
|
4061
|
+
*/
|
|
4062
|
+
403: Error;
|
|
4063
|
+
/**
|
|
4064
|
+
* No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
|
|
4065
|
+
*/
|
|
4066
|
+
404: Error;
|
|
4067
|
+
/**
|
|
4068
|
+
* It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
|
|
4069
|
+
*/
|
|
4070
|
+
409: Error;
|
|
4071
|
+
/**
|
|
4072
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
4073
|
+
*/
|
|
4074
|
+
429: Error;
|
|
4075
|
+
/**
|
|
4076
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
4077
|
+
*/
|
|
4078
|
+
500: Error;
|
|
4079
|
+
/**
|
|
4080
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
4081
|
+
*/
|
|
4082
|
+
503: Error;
|
|
4083
|
+
};
|
|
4084
|
+
type GrantsStatusError = GrantsStatusErrors[keyof GrantsStatusErrors];
|
|
4085
|
+
type GrantsStatusResponses = {
|
|
4086
|
+
/**
|
|
4087
|
+
* Its status.
|
|
4088
|
+
*/
|
|
4089
|
+
200: {
|
|
4090
|
+
data: GrantState;
|
|
4091
|
+
};
|
|
4092
|
+
};
|
|
4093
|
+
type GrantsStatusResponse = GrantsStatusResponses[keyof GrantsStatusResponses];
|
|
3875
4094
|
type AgentConnectData = {
|
|
3876
4095
|
body: {
|
|
3877
4096
|
code: string;
|
|
@@ -5109,6 +5328,10 @@ type PodsCreateData = {
|
|
|
5109
5328
|
* Your own id for this pod. Carried and returned, never parsed.
|
|
5110
5329
|
*/
|
|
5111
5330
|
client_id?: string | null;
|
|
5331
|
+
/**
|
|
5332
|
+
* `true`: mail in this pod is readable only with its own keys, not by the account’s keys or people. Anyone who administers the pod may turn it on; only one of its own keys at `admin` turns it off.
|
|
5333
|
+
*/
|
|
5334
|
+
private?: boolean;
|
|
5112
5335
|
/**
|
|
5113
5336
|
* An address to create in the new pod. The same fields as `POST /identities`.
|
|
5114
5337
|
*/
|
|
@@ -5144,11 +5367,396 @@ type PodsCreateData = {
|
|
|
5144
5367
|
*/
|
|
5145
5368
|
'Idempotency-Key'?: string;
|
|
5146
5369
|
};
|
|
5147
|
-
path?: never;
|
|
5370
|
+
path?: never;
|
|
5371
|
+
query?: never;
|
|
5372
|
+
url: '/pods';
|
|
5373
|
+
};
|
|
5374
|
+
type PodsCreateErrors = {
|
|
5375
|
+
/**
|
|
5376
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5377
|
+
*/
|
|
5378
|
+
400: Error;
|
|
5379
|
+
/**
|
|
5380
|
+
* No API key, or one that is not valid.
|
|
5381
|
+
*/
|
|
5382
|
+
401: Error;
|
|
5383
|
+
/**
|
|
5384
|
+
* Your plan does not include this. `error.message` says what does.
|
|
5385
|
+
*/
|
|
5386
|
+
402: Error;
|
|
5387
|
+
/**
|
|
5388
|
+
* Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
|
|
5389
|
+
*/
|
|
5390
|
+
403: Error;
|
|
5391
|
+
/**
|
|
5392
|
+
* No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
|
|
5393
|
+
*/
|
|
5394
|
+
404: Error;
|
|
5395
|
+
/**
|
|
5396
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
5397
|
+
*/
|
|
5398
|
+
409: Error;
|
|
5399
|
+
/**
|
|
5400
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
5401
|
+
*/
|
|
5402
|
+
429: Error;
|
|
5403
|
+
/**
|
|
5404
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
5405
|
+
*/
|
|
5406
|
+
500: Error;
|
|
5407
|
+
/**
|
|
5408
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
5409
|
+
*/
|
|
5410
|
+
503: Error;
|
|
5411
|
+
/**
|
|
5412
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
5413
|
+
*/
|
|
5414
|
+
504: Error;
|
|
5415
|
+
};
|
|
5416
|
+
type PodsCreateError = PodsCreateErrors[keyof PodsCreateErrors];
|
|
5417
|
+
type PodsCreateResponses = {
|
|
5418
|
+
/**
|
|
5419
|
+
* The pod, with its address and key.
|
|
5420
|
+
*/
|
|
5421
|
+
201: {
|
|
5422
|
+
data: PodCreated;
|
|
5423
|
+
/**
|
|
5424
|
+
* Present only when the request used something deprecated: what it left out and the date it stops working. Answered with `Deprecation` and `Sunset` headers too.
|
|
5425
|
+
*/
|
|
5426
|
+
warnings?: Array<Warning>;
|
|
5427
|
+
};
|
|
5428
|
+
};
|
|
5429
|
+
type PodsCreateResponse = PodsCreateResponses[keyof PodsCreateResponses];
|
|
5430
|
+
type PodsDeleteData = {
|
|
5431
|
+
body?: never;
|
|
5432
|
+
headers?: {
|
|
5433
|
+
/**
|
|
5434
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
5435
|
+
*/
|
|
5436
|
+
'Idempotency-Key'?: string;
|
|
5437
|
+
};
|
|
5438
|
+
path: {
|
|
5439
|
+
id: string;
|
|
5440
|
+
};
|
|
5441
|
+
query?: {
|
|
5442
|
+
/**
|
|
5443
|
+
* `true` to delete the pod’s addresses and all their mail with it. Without it a pod that holds an address is refused with 409.
|
|
5444
|
+
*/
|
|
5445
|
+
delete_addresses?: 'true' | 'false';
|
|
5446
|
+
};
|
|
5447
|
+
url: '/pods/{id}';
|
|
5448
|
+
};
|
|
5449
|
+
type PodsDeleteErrors = {
|
|
5450
|
+
/**
|
|
5451
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5452
|
+
*/
|
|
5453
|
+
400: Error;
|
|
5454
|
+
/**
|
|
5455
|
+
* No API key, or one that is not valid.
|
|
5456
|
+
*/
|
|
5457
|
+
401: Error;
|
|
5458
|
+
/**
|
|
5459
|
+
* Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
|
|
5460
|
+
*/
|
|
5461
|
+
403: Error;
|
|
5462
|
+
/**
|
|
5463
|
+
* No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
|
|
5464
|
+
*/
|
|
5465
|
+
404: Error;
|
|
5466
|
+
/**
|
|
5467
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
5468
|
+
*/
|
|
5469
|
+
409: Error;
|
|
5470
|
+
/**
|
|
5471
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
5472
|
+
*/
|
|
5473
|
+
429: Error;
|
|
5474
|
+
/**
|
|
5475
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
5476
|
+
*/
|
|
5477
|
+
500: Error;
|
|
5478
|
+
/**
|
|
5479
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
5480
|
+
*/
|
|
5481
|
+
503: Error;
|
|
5482
|
+
/**
|
|
5483
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
5484
|
+
*/
|
|
5485
|
+
504: Error;
|
|
5486
|
+
};
|
|
5487
|
+
type PodsDeleteError = PodsDeleteErrors[keyof PodsDeleteErrors];
|
|
5488
|
+
type PodsDeleteResponses = {
|
|
5489
|
+
/**
|
|
5490
|
+
* What was deleted.
|
|
5491
|
+
*/
|
|
5492
|
+
200: {
|
|
5493
|
+
data: PodDeleted;
|
|
5494
|
+
};
|
|
5495
|
+
};
|
|
5496
|
+
type PodsDeleteResponse = PodsDeleteResponses[keyof PodsDeleteResponses];
|
|
5497
|
+
type PodsGetData = {
|
|
5498
|
+
body?: never;
|
|
5499
|
+
path: {
|
|
5500
|
+
id: string;
|
|
5501
|
+
};
|
|
5502
|
+
query?: never;
|
|
5503
|
+
url: '/pods/{id}';
|
|
5504
|
+
};
|
|
5505
|
+
type PodsGetErrors = {
|
|
5506
|
+
/**
|
|
5507
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5508
|
+
*/
|
|
5509
|
+
400: Error;
|
|
5510
|
+
/**
|
|
5511
|
+
* No API key, or one that is not valid.
|
|
5512
|
+
*/
|
|
5513
|
+
401: Error;
|
|
5514
|
+
/**
|
|
5515
|
+
* Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
|
|
5516
|
+
*/
|
|
5517
|
+
403: Error;
|
|
5518
|
+
/**
|
|
5519
|
+
* No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
|
|
5520
|
+
*/
|
|
5521
|
+
404: Error;
|
|
5522
|
+
/**
|
|
5523
|
+
* It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
|
|
5524
|
+
*/
|
|
5525
|
+
409: Error;
|
|
5526
|
+
/**
|
|
5527
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
5528
|
+
*/
|
|
5529
|
+
429: Error;
|
|
5530
|
+
/**
|
|
5531
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
5532
|
+
*/
|
|
5533
|
+
500: Error;
|
|
5534
|
+
/**
|
|
5535
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
5536
|
+
*/
|
|
5537
|
+
503: Error;
|
|
5538
|
+
};
|
|
5539
|
+
type PodsGetError = PodsGetErrors[keyof PodsGetErrors];
|
|
5540
|
+
type PodsGetResponses = {
|
|
5541
|
+
/**
|
|
5542
|
+
* The pod.
|
|
5543
|
+
*/
|
|
5544
|
+
200: {
|
|
5545
|
+
data: Pod;
|
|
5546
|
+
};
|
|
5547
|
+
};
|
|
5548
|
+
type PodsGetResponse = PodsGetResponses[keyof PodsGetResponses];
|
|
5549
|
+
type PodsUpdateData = {
|
|
5550
|
+
body: {
|
|
5551
|
+
name?: string;
|
|
5552
|
+
/**
|
|
5553
|
+
* Your own id for this pod. Carried and returned, never parsed.
|
|
5554
|
+
*/
|
|
5555
|
+
client_id?: string | null;
|
|
5556
|
+
/**
|
|
5557
|
+
* `true`: mail in this pod is readable only with its own keys, not by the account’s keys or people. Anyone who administers the pod may turn it on; only one of its own keys at `admin` turns it off.
|
|
5558
|
+
*/
|
|
5559
|
+
private?: boolean;
|
|
5560
|
+
};
|
|
5561
|
+
headers?: {
|
|
5562
|
+
/**
|
|
5563
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
5564
|
+
*/
|
|
5565
|
+
'Idempotency-Key'?: string;
|
|
5566
|
+
};
|
|
5567
|
+
path: {
|
|
5568
|
+
id: string;
|
|
5569
|
+
};
|
|
5570
|
+
query?: never;
|
|
5571
|
+
url: '/pods/{id}';
|
|
5572
|
+
};
|
|
5573
|
+
type PodsUpdateErrors = {
|
|
5574
|
+
/**
|
|
5575
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5576
|
+
*/
|
|
5577
|
+
400: Error;
|
|
5578
|
+
/**
|
|
5579
|
+
* No API key, or one that is not valid.
|
|
5580
|
+
*/
|
|
5581
|
+
401: Error;
|
|
5582
|
+
/**
|
|
5583
|
+
* Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
|
|
5584
|
+
*/
|
|
5585
|
+
403: Error;
|
|
5586
|
+
/**
|
|
5587
|
+
* No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
|
|
5588
|
+
*/
|
|
5589
|
+
404: Error;
|
|
5590
|
+
/**
|
|
5591
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
5592
|
+
*/
|
|
5593
|
+
409: Error;
|
|
5594
|
+
/**
|
|
5595
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
5596
|
+
*/
|
|
5597
|
+
429: Error;
|
|
5598
|
+
/**
|
|
5599
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
5600
|
+
*/
|
|
5601
|
+
500: Error;
|
|
5602
|
+
/**
|
|
5603
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
5604
|
+
*/
|
|
5605
|
+
503: Error;
|
|
5606
|
+
/**
|
|
5607
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
5608
|
+
*/
|
|
5609
|
+
504: Error;
|
|
5610
|
+
};
|
|
5611
|
+
type PodsUpdateError = PodsUpdateErrors[keyof PodsUpdateErrors];
|
|
5612
|
+
type PodsUpdateResponses = {
|
|
5613
|
+
/**
|
|
5614
|
+
* The pod.
|
|
5615
|
+
*/
|
|
5616
|
+
200: {
|
|
5617
|
+
data: Pod;
|
|
5618
|
+
};
|
|
5619
|
+
};
|
|
5620
|
+
type PodsUpdateResponse = PodsUpdateResponses[keyof PodsUpdateResponses];
|
|
5621
|
+
type LabelsListData = {
|
|
5622
|
+
body?: never;
|
|
5623
|
+
path?: never;
|
|
5624
|
+
query: {
|
|
5625
|
+
identity_id: string;
|
|
5626
|
+
};
|
|
5627
|
+
url: '/labels';
|
|
5628
|
+
};
|
|
5629
|
+
type LabelsListErrors = {
|
|
5630
|
+
/**
|
|
5631
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5632
|
+
*/
|
|
5633
|
+
400: Error;
|
|
5634
|
+
/**
|
|
5635
|
+
* No API key, or one that is not valid.
|
|
5636
|
+
*/
|
|
5637
|
+
401: Error;
|
|
5638
|
+
/**
|
|
5639
|
+
* Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
|
|
5640
|
+
*/
|
|
5641
|
+
403: Error;
|
|
5642
|
+
/**
|
|
5643
|
+
* No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
|
|
5644
|
+
*/
|
|
5645
|
+
404: Error;
|
|
5646
|
+
/**
|
|
5647
|
+
* It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
|
|
5648
|
+
*/
|
|
5649
|
+
409: Error;
|
|
5650
|
+
/**
|
|
5651
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
5652
|
+
*/
|
|
5653
|
+
429: Error;
|
|
5654
|
+
/**
|
|
5655
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
5656
|
+
*/
|
|
5657
|
+
500: Error;
|
|
5658
|
+
/**
|
|
5659
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
5660
|
+
*/
|
|
5661
|
+
503: Error;
|
|
5662
|
+
};
|
|
5663
|
+
type LabelsListError = LabelsListErrors[keyof LabelsListErrors];
|
|
5664
|
+
type LabelsListResponses = {
|
|
5665
|
+
/**
|
|
5666
|
+
* The labels.
|
|
5667
|
+
*/
|
|
5668
|
+
200: {
|
|
5669
|
+
data: Array<Label>;
|
|
5670
|
+
has_more: boolean;
|
|
5671
|
+
/**
|
|
5672
|
+
* Pass as `cursor` to continue. Null on the last page.
|
|
5673
|
+
*/
|
|
5674
|
+
next_cursor: string | null;
|
|
5675
|
+
};
|
|
5676
|
+
};
|
|
5677
|
+
type LabelsListResponse = LabelsListResponses[keyof LabelsListResponses];
|
|
5678
|
+
type LabelsCreateData = {
|
|
5679
|
+
body: {
|
|
5680
|
+
/**
|
|
5681
|
+
* The address this belongs to.
|
|
5682
|
+
*/
|
|
5683
|
+
identity_id: string;
|
|
5684
|
+
name: string;
|
|
5685
|
+
colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
|
|
5686
|
+
};
|
|
5687
|
+
headers?: {
|
|
5688
|
+
/**
|
|
5689
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
5690
|
+
*/
|
|
5691
|
+
'Idempotency-Key'?: string;
|
|
5692
|
+
};
|
|
5693
|
+
path?: never;
|
|
5694
|
+
query?: never;
|
|
5695
|
+
url: '/labels';
|
|
5696
|
+
};
|
|
5697
|
+
type LabelsCreateErrors = {
|
|
5698
|
+
/**
|
|
5699
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5700
|
+
*/
|
|
5701
|
+
400: Error;
|
|
5702
|
+
/**
|
|
5703
|
+
* No API key, or one that is not valid.
|
|
5704
|
+
*/
|
|
5705
|
+
401: Error;
|
|
5706
|
+
/**
|
|
5707
|
+
* Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
|
|
5708
|
+
*/
|
|
5709
|
+
403: Error;
|
|
5710
|
+
/**
|
|
5711
|
+
* No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
|
|
5712
|
+
*/
|
|
5713
|
+
404: Error;
|
|
5714
|
+
/**
|
|
5715
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
5716
|
+
*/
|
|
5717
|
+
409: Error;
|
|
5718
|
+
/**
|
|
5719
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
5720
|
+
*/
|
|
5721
|
+
429: Error;
|
|
5722
|
+
/**
|
|
5723
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
5724
|
+
*/
|
|
5725
|
+
500: Error;
|
|
5726
|
+
/**
|
|
5727
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
5728
|
+
*/
|
|
5729
|
+
503: Error;
|
|
5730
|
+
/**
|
|
5731
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
5732
|
+
*/
|
|
5733
|
+
504: Error;
|
|
5734
|
+
};
|
|
5735
|
+
type LabelsCreateError = LabelsCreateErrors[keyof LabelsCreateErrors];
|
|
5736
|
+
type LabelsCreateResponses = {
|
|
5737
|
+
/**
|
|
5738
|
+
* The label.
|
|
5739
|
+
*/
|
|
5740
|
+
201: {
|
|
5741
|
+
data: Label;
|
|
5742
|
+
};
|
|
5743
|
+
};
|
|
5744
|
+
type LabelsCreateResponse = LabelsCreateResponses[keyof LabelsCreateResponses];
|
|
5745
|
+
type LabelsDeleteData = {
|
|
5746
|
+
body?: never;
|
|
5747
|
+
headers?: {
|
|
5748
|
+
/**
|
|
5749
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
5750
|
+
*/
|
|
5751
|
+
'Idempotency-Key'?: string;
|
|
5752
|
+
};
|
|
5753
|
+
path: {
|
|
5754
|
+
id: string;
|
|
5755
|
+
};
|
|
5148
5756
|
query?: never;
|
|
5149
|
-
url: '/
|
|
5757
|
+
url: '/labels/{id}';
|
|
5150
5758
|
};
|
|
5151
|
-
type
|
|
5759
|
+
type LabelsDeleteErrors = {
|
|
5152
5760
|
/**
|
|
5153
5761
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5154
5762
|
*/
|
|
@@ -5157,10 +5765,6 @@ type PodsCreateErrors = {
|
|
|
5157
5765
|
* No API key, or one that is not valid.
|
|
5158
5766
|
*/
|
|
5159
5767
|
401: Error;
|
|
5160
|
-
/**
|
|
5161
|
-
* Your plan does not include this. `error.message` says what does.
|
|
5162
|
-
*/
|
|
5163
|
-
402: Error;
|
|
5164
5768
|
/**
|
|
5165
5769
|
* Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
|
|
5166
5770
|
*/
|
|
@@ -5190,22 +5794,21 @@ type PodsCreateErrors = {
|
|
|
5190
5794
|
*/
|
|
5191
5795
|
504: Error;
|
|
5192
5796
|
};
|
|
5193
|
-
type
|
|
5194
|
-
type
|
|
5797
|
+
type LabelsDeleteError = LabelsDeleteErrors[keyof LabelsDeleteErrors];
|
|
5798
|
+
type LabelsDeleteResponses = {
|
|
5195
5799
|
/**
|
|
5196
|
-
*
|
|
5800
|
+
* Deleted.
|
|
5197
5801
|
*/
|
|
5198
|
-
|
|
5199
|
-
data:
|
|
5200
|
-
/**
|
|
5201
|
-
* Present only when the request used something deprecated: what it left out and the date it stops working. Answered with `Deprecation` and `Sunset` headers too.
|
|
5202
|
-
*/
|
|
5203
|
-
warnings?: Array<Warning>;
|
|
5802
|
+
200: {
|
|
5803
|
+
data: Deleted;
|
|
5204
5804
|
};
|
|
5205
5805
|
};
|
|
5206
|
-
type
|
|
5207
|
-
type
|
|
5208
|
-
body
|
|
5806
|
+
type LabelsDeleteResponse = LabelsDeleteResponses[keyof LabelsDeleteResponses];
|
|
5807
|
+
type LabelsUpdateData = {
|
|
5808
|
+
body: {
|
|
5809
|
+
name?: string;
|
|
5810
|
+
colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
|
|
5811
|
+
};
|
|
5209
5812
|
headers?: {
|
|
5210
5813
|
/**
|
|
5211
5814
|
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
@@ -5215,15 +5818,10 @@ type PodsDeleteData = {
|
|
|
5215
5818
|
path: {
|
|
5216
5819
|
id: string;
|
|
5217
5820
|
};
|
|
5218
|
-
query?:
|
|
5219
|
-
|
|
5220
|
-
* `true` to delete the pod’s addresses and all their mail with it. Without it a pod that holds an address is refused with 409.
|
|
5221
|
-
*/
|
|
5222
|
-
delete_addresses?: 'true' | 'false';
|
|
5223
|
-
};
|
|
5224
|
-
url: '/pods/{id}';
|
|
5821
|
+
query?: never;
|
|
5822
|
+
url: '/labels/{id}';
|
|
5225
5823
|
};
|
|
5226
|
-
type
|
|
5824
|
+
type LabelsUpdateErrors = {
|
|
5227
5825
|
/**
|
|
5228
5826
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5229
5827
|
*/
|
|
@@ -5261,25 +5859,23 @@ type PodsDeleteErrors = {
|
|
|
5261
5859
|
*/
|
|
5262
5860
|
504: Error;
|
|
5263
5861
|
};
|
|
5264
|
-
type
|
|
5265
|
-
type
|
|
5862
|
+
type LabelsUpdateError = LabelsUpdateErrors[keyof LabelsUpdateErrors];
|
|
5863
|
+
type LabelsUpdateResponses = {
|
|
5266
5864
|
/**
|
|
5267
|
-
*
|
|
5865
|
+
* The label.
|
|
5268
5866
|
*/
|
|
5269
5867
|
200: {
|
|
5270
|
-
data:
|
|
5868
|
+
data: Label;
|
|
5271
5869
|
};
|
|
5272
5870
|
};
|
|
5273
|
-
type
|
|
5274
|
-
type
|
|
5871
|
+
type LabelsUpdateResponse = LabelsUpdateResponses[keyof LabelsUpdateResponses];
|
|
5872
|
+
type GrantsTemplatesListData = {
|
|
5275
5873
|
body?: never;
|
|
5276
|
-
path
|
|
5277
|
-
id: string;
|
|
5278
|
-
};
|
|
5874
|
+
path?: never;
|
|
5279
5875
|
query?: never;
|
|
5280
|
-
url: '/
|
|
5876
|
+
url: '/grant-templates';
|
|
5281
5877
|
};
|
|
5282
|
-
type
|
|
5878
|
+
type GrantsTemplatesListErrors = {
|
|
5283
5879
|
/**
|
|
5284
5880
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5285
5881
|
*/
|
|
@@ -5313,24 +5909,121 @@ type PodsGetErrors = {
|
|
|
5313
5909
|
*/
|
|
5314
5910
|
503: Error;
|
|
5315
5911
|
};
|
|
5316
|
-
type
|
|
5317
|
-
type
|
|
5912
|
+
type GrantsTemplatesListError = GrantsTemplatesListErrors[keyof GrantsTemplatesListErrors];
|
|
5913
|
+
type GrantsTemplatesListResponses = {
|
|
5318
5914
|
/**
|
|
5319
|
-
* The
|
|
5915
|
+
* The templates.
|
|
5320
5916
|
*/
|
|
5321
5917
|
200: {
|
|
5322
|
-
data:
|
|
5918
|
+
data: Array<GrantTemplate>;
|
|
5919
|
+
has_more: boolean;
|
|
5920
|
+
/**
|
|
5921
|
+
* Pass as `cursor` to continue. Null on the last page.
|
|
5922
|
+
*/
|
|
5923
|
+
next_cursor: string | null;
|
|
5323
5924
|
};
|
|
5324
5925
|
};
|
|
5325
|
-
type
|
|
5326
|
-
type
|
|
5926
|
+
type GrantsTemplatesListResponse = GrantsTemplatesListResponses[keyof GrantsTemplatesListResponses];
|
|
5927
|
+
type GrantsTemplatesCreateData = {
|
|
5327
5928
|
body: {
|
|
5328
|
-
name?: string;
|
|
5329
5929
|
/**
|
|
5330
|
-
*
|
|
5930
|
+
* The scope’s stable name, for software: `bookings.change`.
|
|
5331
5931
|
*/
|
|
5332
|
-
|
|
5932
|
+
name: string;
|
|
5933
|
+
/**
|
|
5934
|
+
* What the agent may do, as the consent screen says it after "wants to": `manage your bookings`.
|
|
5935
|
+
*/
|
|
5936
|
+
label: string;
|
|
5937
|
+
/**
|
|
5938
|
+
* The domain the agent will act with. A grant reaching anywhere else does not hold.
|
|
5939
|
+
*/
|
|
5940
|
+
audience?: string;
|
|
5941
|
+
/**
|
|
5942
|
+
* How people call it: `Delta`.
|
|
5943
|
+
*/
|
|
5944
|
+
audience_name?: string;
|
|
5945
|
+
/**
|
|
5946
|
+
* What a grant is for: a customer, an account or an order.
|
|
5947
|
+
*/
|
|
5948
|
+
subject_type: 'customer' | 'account' | 'order';
|
|
5949
|
+
/**
|
|
5950
|
+
* A ceiling the grant states, such as "refunds up to $100".
|
|
5951
|
+
*/
|
|
5952
|
+
limit?: {
|
|
5953
|
+
/**
|
|
5954
|
+
* Minor units: 10000 is $100.00.
|
|
5955
|
+
*/
|
|
5956
|
+
amount: number;
|
|
5957
|
+
/**
|
|
5958
|
+
* ISO 4217: `USD`.
|
|
5959
|
+
*/
|
|
5960
|
+
currency: string;
|
|
5961
|
+
};
|
|
5962
|
+
/**
|
|
5963
|
+
* The longest a grant from this template may last. 90 when omitted.
|
|
5964
|
+
*/
|
|
5965
|
+
max_days?: number;
|
|
5966
|
+
};
|
|
5967
|
+
headers?: {
|
|
5968
|
+
/**
|
|
5969
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
5970
|
+
*/
|
|
5971
|
+
'Idempotency-Key'?: string;
|
|
5972
|
+
};
|
|
5973
|
+
path?: never;
|
|
5974
|
+
query?: never;
|
|
5975
|
+
url: '/grant-templates';
|
|
5976
|
+
};
|
|
5977
|
+
type GrantsTemplatesCreateErrors = {
|
|
5978
|
+
/**
|
|
5979
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5980
|
+
*/
|
|
5981
|
+
400: Error;
|
|
5982
|
+
/**
|
|
5983
|
+
* No API key, or one that is not valid.
|
|
5984
|
+
*/
|
|
5985
|
+
401: Error;
|
|
5986
|
+
/**
|
|
5987
|
+
* Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
|
|
5988
|
+
*/
|
|
5989
|
+
403: Error;
|
|
5990
|
+
/**
|
|
5991
|
+
* No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
|
|
5992
|
+
*/
|
|
5993
|
+
404: Error;
|
|
5994
|
+
/**
|
|
5995
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
5996
|
+
*/
|
|
5997
|
+
409: Error;
|
|
5998
|
+
/**
|
|
5999
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
6000
|
+
*/
|
|
6001
|
+
429: Error;
|
|
6002
|
+
/**
|
|
6003
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
6004
|
+
*/
|
|
6005
|
+
500: Error;
|
|
6006
|
+
/**
|
|
6007
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
6008
|
+
*/
|
|
6009
|
+
503: Error;
|
|
6010
|
+
/**
|
|
6011
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
6012
|
+
*/
|
|
6013
|
+
504: Error;
|
|
6014
|
+
};
|
|
6015
|
+
type GrantsTemplatesCreateError = GrantsTemplatesCreateErrors[keyof GrantsTemplatesCreateErrors];
|
|
6016
|
+
type GrantsTemplatesCreateResponses = {
|
|
6017
|
+
/**
|
|
6018
|
+
* The template.
|
|
6019
|
+
*/
|
|
6020
|
+
201: {
|
|
6021
|
+
data: GrantTemplate;
|
|
5333
6022
|
};
|
|
6023
|
+
};
|
|
6024
|
+
type GrantsTemplatesCreateResponse = GrantsTemplatesCreateResponses[keyof GrantsTemplatesCreateResponses];
|
|
6025
|
+
type GrantsTemplatesDeleteData = {
|
|
6026
|
+
body?: never;
|
|
5334
6027
|
headers?: {
|
|
5335
6028
|
/**
|
|
5336
6029
|
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
@@ -5341,9 +6034,9 @@ type PodsUpdateData = {
|
|
|
5341
6034
|
id: string;
|
|
5342
6035
|
};
|
|
5343
6036
|
query?: never;
|
|
5344
|
-
url: '/
|
|
6037
|
+
url: '/grant-templates/{id}';
|
|
5345
6038
|
};
|
|
5346
|
-
type
|
|
6039
|
+
type GrantsTemplatesDeleteErrors = {
|
|
5347
6040
|
/**
|
|
5348
6041
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5349
6042
|
*/
|
|
@@ -5381,25 +6074,25 @@ type PodsUpdateErrors = {
|
|
|
5381
6074
|
*/
|
|
5382
6075
|
504: Error;
|
|
5383
6076
|
};
|
|
5384
|
-
type
|
|
5385
|
-
type
|
|
6077
|
+
type GrantsTemplatesDeleteError = GrantsTemplatesDeleteErrors[keyof GrantsTemplatesDeleteErrors];
|
|
6078
|
+
type GrantsTemplatesDeleteResponses = {
|
|
5386
6079
|
/**
|
|
5387
|
-
*
|
|
6080
|
+
* Retired.
|
|
5388
6081
|
*/
|
|
5389
6082
|
200: {
|
|
5390
|
-
data:
|
|
6083
|
+
data: Deleted;
|
|
5391
6084
|
};
|
|
5392
6085
|
};
|
|
5393
|
-
type
|
|
5394
|
-
type
|
|
6086
|
+
type GrantsTemplatesDeleteResponse = GrantsTemplatesDeleteResponses[keyof GrantsTemplatesDeleteResponses];
|
|
6087
|
+
type GrantsListData = {
|
|
5395
6088
|
body?: never;
|
|
5396
6089
|
path?: never;
|
|
5397
6090
|
query: {
|
|
5398
6091
|
identity_id: string;
|
|
5399
6092
|
};
|
|
5400
|
-
url: '/
|
|
6093
|
+
url: '/grants';
|
|
5401
6094
|
};
|
|
5402
|
-
type
|
|
6095
|
+
type GrantsListErrors = {
|
|
5403
6096
|
/**
|
|
5404
6097
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5405
6098
|
*/
|
|
@@ -5433,13 +6126,13 @@ type LabelsListErrors = {
|
|
|
5433
6126
|
*/
|
|
5434
6127
|
503: Error;
|
|
5435
6128
|
};
|
|
5436
|
-
type
|
|
5437
|
-
type
|
|
6129
|
+
type GrantsListError = GrantsListErrors[keyof GrantsListErrors];
|
|
6130
|
+
type GrantsListResponses = {
|
|
5438
6131
|
/**
|
|
5439
|
-
* The
|
|
6132
|
+
* The grants.
|
|
5440
6133
|
*/
|
|
5441
6134
|
200: {
|
|
5442
|
-
data: Array<
|
|
6135
|
+
data: Array<Grant>;
|
|
5443
6136
|
has_more: boolean;
|
|
5444
6137
|
/**
|
|
5445
6138
|
* Pass as `cursor` to continue. Null on the last page.
|
|
@@ -5447,15 +6140,33 @@ type LabelsListResponses = {
|
|
|
5447
6140
|
next_cursor: string | null;
|
|
5448
6141
|
};
|
|
5449
6142
|
};
|
|
5450
|
-
type
|
|
5451
|
-
type
|
|
6143
|
+
type GrantsListResponse = GrantsListResponses[keyof GrantsListResponses];
|
|
6144
|
+
type GrantsCreateData = {
|
|
5452
6145
|
body: {
|
|
5453
6146
|
/**
|
|
5454
|
-
* The address
|
|
6147
|
+
* The agent’s address.
|
|
5455
6148
|
*/
|
|
5456
6149
|
identity_id: string;
|
|
5457
|
-
|
|
5458
|
-
|
|
6150
|
+
/**
|
|
6151
|
+
* A template’s `name` or `id`.
|
|
6152
|
+
*/
|
|
6153
|
+
template: string;
|
|
6154
|
+
/**
|
|
6155
|
+
* `{ email }` asks that person on a consent page, and the answer carries `consent_url` to send them to. `{ organisation: true }` grants at once as this account’s verified domain, and needs a key with admin on the account.
|
|
6156
|
+
*/
|
|
6157
|
+
grantor: {
|
|
6158
|
+
email: string;
|
|
6159
|
+
} | {
|
|
6160
|
+
organisation: true;
|
|
6161
|
+
};
|
|
6162
|
+
/**
|
|
6163
|
+
* The customer, account or order it is for, in the recipient’s own terms.
|
|
6164
|
+
*/
|
|
6165
|
+
subject_id: string;
|
|
6166
|
+
/**
|
|
6167
|
+
* When it ends. The template’s `max_days` from now when omitted, and at most that.
|
|
6168
|
+
*/
|
|
6169
|
+
expires_at?: string;
|
|
5459
6170
|
};
|
|
5460
6171
|
headers?: {
|
|
5461
6172
|
/**
|
|
@@ -5465,9 +6176,9 @@ type LabelsCreateData = {
|
|
|
5465
6176
|
};
|
|
5466
6177
|
path?: never;
|
|
5467
6178
|
query?: never;
|
|
5468
|
-
url: '/
|
|
6179
|
+
url: '/grants';
|
|
5469
6180
|
};
|
|
5470
|
-
type
|
|
6181
|
+
type GrantsCreateErrors = {
|
|
5471
6182
|
/**
|
|
5472
6183
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5473
6184
|
*/
|
|
@@ -5505,17 +6216,17 @@ type LabelsCreateErrors = {
|
|
|
5505
6216
|
*/
|
|
5506
6217
|
504: Error;
|
|
5507
6218
|
};
|
|
5508
|
-
type
|
|
5509
|
-
type
|
|
6219
|
+
type GrantsCreateError = GrantsCreateErrors[keyof GrantsCreateErrors];
|
|
6220
|
+
type GrantsCreateResponses = {
|
|
5510
6221
|
/**
|
|
5511
|
-
* The
|
|
6222
|
+
* The grant.
|
|
5512
6223
|
*/
|
|
5513
6224
|
201: {
|
|
5514
|
-
data:
|
|
6225
|
+
data: Grant;
|
|
5515
6226
|
};
|
|
5516
6227
|
};
|
|
5517
|
-
type
|
|
5518
|
-
type
|
|
6228
|
+
type GrantsCreateResponse = GrantsCreateResponses[keyof GrantsCreateResponses];
|
|
6229
|
+
type GrantsRevokeData = {
|
|
5519
6230
|
body?: never;
|
|
5520
6231
|
headers?: {
|
|
5521
6232
|
/**
|
|
@@ -5527,9 +6238,9 @@ type LabelsDeleteData = {
|
|
|
5527
6238
|
id: string;
|
|
5528
6239
|
};
|
|
5529
6240
|
query?: never;
|
|
5530
|
-
url: '/
|
|
6241
|
+
url: '/grants/{id}';
|
|
5531
6242
|
};
|
|
5532
|
-
type
|
|
6243
|
+
type GrantsRevokeErrors = {
|
|
5533
6244
|
/**
|
|
5534
6245
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5535
6246
|
*/
|
|
@@ -5567,34 +6278,25 @@ type LabelsDeleteErrors = {
|
|
|
5567
6278
|
*/
|
|
5568
6279
|
504: Error;
|
|
5569
6280
|
};
|
|
5570
|
-
type
|
|
5571
|
-
type
|
|
6281
|
+
type GrantsRevokeError = GrantsRevokeErrors[keyof GrantsRevokeErrors];
|
|
6282
|
+
type GrantsRevokeResponses = {
|
|
5572
6283
|
/**
|
|
5573
|
-
*
|
|
6284
|
+
* The grant, revoked.
|
|
5574
6285
|
*/
|
|
5575
6286
|
200: {
|
|
5576
|
-
data:
|
|
6287
|
+
data: Grant;
|
|
5577
6288
|
};
|
|
5578
6289
|
};
|
|
5579
|
-
type
|
|
5580
|
-
type
|
|
5581
|
-
body
|
|
5582
|
-
name?: string;
|
|
5583
|
-
colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
|
|
5584
|
-
};
|
|
5585
|
-
headers?: {
|
|
5586
|
-
/**
|
|
5587
|
-
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
5588
|
-
*/
|
|
5589
|
-
'Idempotency-Key'?: string;
|
|
5590
|
-
};
|
|
6290
|
+
type GrantsRevokeResponse = GrantsRevokeResponses[keyof GrantsRevokeResponses];
|
|
6291
|
+
type GrantsGetData = {
|
|
6292
|
+
body?: never;
|
|
5591
6293
|
path: {
|
|
5592
6294
|
id: string;
|
|
5593
6295
|
};
|
|
5594
6296
|
query?: never;
|
|
5595
|
-
url: '/
|
|
6297
|
+
url: '/grants/{id}';
|
|
5596
6298
|
};
|
|
5597
|
-
type
|
|
6299
|
+
type GrantsGetErrors = {
|
|
5598
6300
|
/**
|
|
5599
6301
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5600
6302
|
*/
|
|
@@ -5612,7 +6314,7 @@ type LabelsUpdateErrors = {
|
|
|
5612
6314
|
*/
|
|
5613
6315
|
404: Error;
|
|
5614
6316
|
/**
|
|
5615
|
-
*
|
|
6317
|
+
* It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
|
|
5616
6318
|
*/
|
|
5617
6319
|
409: Error;
|
|
5618
6320
|
/**
|
|
@@ -5627,21 +6329,17 @@ type LabelsUpdateErrors = {
|
|
|
5627
6329
|
* Something this needs is not answering right now. Retry in a moment.
|
|
5628
6330
|
*/
|
|
5629
6331
|
503: Error;
|
|
5630
|
-
/**
|
|
5631
|
-
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
5632
|
-
*/
|
|
5633
|
-
504: Error;
|
|
5634
6332
|
};
|
|
5635
|
-
type
|
|
5636
|
-
type
|
|
6333
|
+
type GrantsGetError = GrantsGetErrors[keyof GrantsGetErrors];
|
|
6334
|
+
type GrantsGetResponses = {
|
|
5637
6335
|
/**
|
|
5638
|
-
* The
|
|
6336
|
+
* The grant.
|
|
5639
6337
|
*/
|
|
5640
6338
|
200: {
|
|
5641
|
-
data:
|
|
6339
|
+
data: Grant;
|
|
5642
6340
|
};
|
|
5643
6341
|
};
|
|
5644
|
-
type
|
|
6342
|
+
type GrantsGetResponse = GrantsGetResponses[keyof GrantsGetResponses];
|
|
5645
6343
|
type ContactsListData = {
|
|
5646
6344
|
body?: never;
|
|
5647
6345
|
path?: never;
|
|
@@ -6401,6 +7099,7 @@ type MessagesSendData = {
|
|
|
6401
7099
|
* Ids from `POST /attachments`, uploaded before the message that carries them. Up to 20.
|
|
6402
7100
|
*/
|
|
6403
7101
|
attachment_ids?: Array<string>;
|
|
7102
|
+
grant_ids?: Array<string>;
|
|
6404
7103
|
send_at?: string;
|
|
6405
7104
|
/**
|
|
6406
7105
|
* The message being answered. Keeps the conversation together in the recipient’s client too.
|
|
@@ -6516,6 +7215,7 @@ type MessagesCheckData = {
|
|
|
6516
7215
|
* Ids from `POST /attachments`, uploaded before the message that carries them. Up to 20.
|
|
6517
7216
|
*/
|
|
6518
7217
|
attachment_ids?: Array<string>;
|
|
7218
|
+
grant_ids?: Array<string>;
|
|
6519
7219
|
send_at?: string;
|
|
6520
7220
|
/**
|
|
6521
7221
|
* The message being answered. Keeps the conversation together in the recipient’s client too.
|
|
@@ -12165,7 +12865,7 @@ declare const cardsGet: <ThrowOnError extends boolean = false>(options: Options<
|
|
|
12165
12865
|
/**
|
|
12166
12866
|
* Check who sent a message
|
|
12167
12867
|
*
|
|
12168
|
-
* Public, with no key. Send a raw message, or its headers alone; the answer says whether an AI agent sent it, on whose behalf, and whether its signatures hold — the signed agent declaration (`Agent-of` under an aligned DKIM signature) and the `Post-Envelope` — for Pidgeon’s mail and any other signer using the same formats. Act on `verdict`. Pass `recipient`, the address it reached you at, to catch a signed message replayed to you. Or send `request` instead of `message`: an HTTP request an agent signed with HTTP Message Signatures (RFC 9421) in Web Bot Auth’s profile, which is also how an MCP call over HTTP is signed; the key is found by its `keyid` among domains proved with `pidgeon id`, or in the directory its `Signature-Agent` names. Nothing sent is stored. Limited per IP; a key may be sent and is not required.
|
|
12868
|
+
* Public, with no key. Send a raw message, or its headers alone; the answer says whether an AI agent sent it, on whose behalf, and whether its signatures hold — the signed agent declaration (`Agent-of` under an aligned DKIM signature) and the `Post-Envelope` — for Pidgeon’s mail and any other signer using the same formats. Act on `verdict`. Pass `recipient`, the address it reached you at, to catch a signed message replayed to you. Or send `request` instead of `message`: an HTTP request an agent signed with HTTP Message Signatures (RFC 9421) in Web Bot Auth’s profile, which is also how an MCP call over HTTP is signed; the key is found by its `keyid` among domains proved with `pidgeon id`, or in the directory its `Signature-Agent` names. `grants` says what the sender may do: each grant it carried in `Post-Grant`, or that you send in `grants`, checked against the sender a signature verified — act on each one’s `valid`, and pass `subject` to have it checked against the customer, account or order you are about to act on. Nothing sent is stored. Limited per IP; a key may be sent and is not required.
|
|
12169
12869
|
*/
|
|
12170
12870
|
declare const verifySender: <ThrowOnError extends boolean = false>(options: Options<VerifySenderData, ThrowOnError>) => RequestResult<VerifySenderResponses, VerifySenderErrors, ThrowOnError>;
|
|
12171
12871
|
/**
|
|
@@ -12214,6 +12914,12 @@ declare const logMonitorsCreate: <ThrowOnError extends boolean = false>(options:
|
|
|
12214
12914
|
* Stop watching
|
|
12215
12915
|
*/
|
|
12216
12916
|
declare const logMonitorsDelete: <ThrowOnError extends boolean = false>(options: Options<LogMonitorsDeleteData, ThrowOnError>) => RequestResult<LogMonitorsDeleteResponses, LogMonitorsDeleteErrors, ThrowOnError>;
|
|
12917
|
+
/**
|
|
12918
|
+
* Whether a grant still holds
|
|
12919
|
+
*
|
|
12920
|
+
* Public, with no key: the URL every grant names as its `status`, for a recipient that checks a grant’s signature offline. `active`, `revoked` or `expired`. Cached thirty seconds, so a revocation shows within the minute. `POST /verify` reads the grant itself and needs none of this. A grant never given answers 404.
|
|
12921
|
+
*/
|
|
12922
|
+
declare const grantsStatus: <ThrowOnError extends boolean = false>(options: Options<GrantsStatusData, ThrowOnError>) => RequestResult<GrantsStatusResponses, GrantsStatusErrors, ThrowOnError>;
|
|
12217
12923
|
/**
|
|
12218
12924
|
* Connect an agent with a setup code
|
|
12219
12925
|
*
|
|
@@ -12384,6 +13090,48 @@ declare const labelsDelete: <ThrowOnError extends boolean = false>(options: Opti
|
|
|
12384
13090
|
* A body with neither `name` nor `colour` is refused.
|
|
12385
13091
|
*/
|
|
12386
13092
|
declare const labelsUpdate: <ThrowOnError extends boolean = false>(options: Options<LabelsUpdateData, ThrowOnError>) => RequestResult<LabelsUpdateResponses, LabelsUpdateErrors, ThrowOnError>;
|
|
13093
|
+
/**
|
|
13094
|
+
* List grant templates
|
|
13095
|
+
*
|
|
13096
|
+
* What this account’s agents may ask a person for: a scope (`name`, and the `label` the consent screen says), where (`audience`), for what (`subject_type`), a ceiling and a longest term. Any key reads them.
|
|
13097
|
+
*/
|
|
13098
|
+
declare const grantsTemplatesList: <ThrowOnError extends boolean = false>(options?: Options<GrantsTemplatesListData, ThrowOnError>) => RequestResult<GrantsTemplatesListResponses, GrantsTemplatesListErrors, ThrowOnError>;
|
|
13099
|
+
/**
|
|
13100
|
+
* Define a grant template
|
|
13101
|
+
*
|
|
13102
|
+
* Needs a key with admin on the whole account: a template is the account speaking to everybody its agents ask. A grant copies its template’s words when it is asked for, so a template is never edited, only retired.
|
|
13103
|
+
*/
|
|
13104
|
+
declare const grantsTemplatesCreate: <ThrowOnError extends boolean = false>(options: Options<GrantsTemplatesCreateData, ThrowOnError>) => RequestResult<GrantsTemplatesCreateResponses, GrantsTemplatesCreateErrors, ThrowOnError>;
|
|
13105
|
+
/**
|
|
13106
|
+
* Retire a grant template
|
|
13107
|
+
*
|
|
13108
|
+
* No new grant can be asked for from it. Every grant already given is unchanged.
|
|
13109
|
+
*/
|
|
13110
|
+
declare const grantsTemplatesDelete: <ThrowOnError extends boolean = false>(options: Options<GrantsTemplatesDeleteData, ThrowOnError>) => RequestResult<GrantsTemplatesDeleteResponses, GrantsTemplatesDeleteErrors, ThrowOnError>;
|
|
13111
|
+
/**
|
|
13112
|
+
* List an address’s grants
|
|
13113
|
+
*
|
|
13114
|
+
* Every grant asked for or given to one address, newest first.
|
|
13115
|
+
*/
|
|
13116
|
+
declare const grantsList: <ThrowOnError extends boolean = false>(options: Options<GrantsListData, ThrowOnError>) => RequestResult<GrantsListResponses, GrantsListErrors, ThrowOnError>;
|
|
13117
|
+
/**
|
|
13118
|
+
* Ask for a grant
|
|
13119
|
+
*
|
|
13120
|
+
* A grant says what an agent may do, for whom, until when, signed by us and checkable by anyone at `POST /verify`. With `grantor: { email }`, the person is asked: the answer is `pending` and carries `consent_url`, the page to send them to, where they allow it from a link we email them or signed in as that address. Nothing is signed until they do. With `grantor: { organisation: true }` the account grants at once, as its verified domain, which needs a live key with admin on the account. Either way it needs `send` on the address. Carry an active grant with `grant_ids` on `POST /messages`.
|
|
13121
|
+
*/
|
|
13122
|
+
declare const grantsCreate: <ThrowOnError extends boolean = false>(options: Options<GrantsCreateData, ThrowOnError>) => RequestResult<GrantsCreateResponses, GrantsCreateErrors, ThrowOnError>;
|
|
13123
|
+
/**
|
|
13124
|
+
* Revoke a grant
|
|
13125
|
+
*
|
|
13126
|
+
* For good, at once: the next `POST /verify` says `revoked`. A pending one stops its consent link working. Needs `send` on the address.
|
|
13127
|
+
*/
|
|
13128
|
+
declare const grantsRevoke: <ThrowOnError extends boolean = false>(options: Options<GrantsRevokeData, ThrowOnError>) => RequestResult<GrantsRevokeResponses, GrantsRevokeErrors, ThrowOnError>;
|
|
13129
|
+
/**
|
|
13130
|
+
* Read a grant
|
|
13131
|
+
*
|
|
13132
|
+
* Its status and, while active, `jws`: the signed grant the agent carries.
|
|
13133
|
+
*/
|
|
13134
|
+
declare const grantsGet: <ThrowOnError extends boolean = false>(options: Options<GrantsGetData, ThrowOnError>) => RequestResult<GrantsGetResponses, GrantsGetErrors, ThrowOnError>;
|
|
12387
13135
|
/**
|
|
12388
13136
|
* Find contacts
|
|
12389
13137
|
*
|
|
@@ -13092,4 +13840,4 @@ interface StreamOptions {
|
|
|
13092
13840
|
*/
|
|
13093
13841
|
declare function streamEvents(options: StreamOptions): AsyncGenerator<StreamedEvent>;
|
|
13094
13842
|
|
|
13095
|
-
export { type Address, type AgentAttachHumanData, type AgentAttachHumanError, type AgentAttachHumanErrors, type AgentAttachHumanResponse, type AgentAttachHumanResponses, type AgentCard, type AgentConnectData, type AgentConnectError, type AgentConnectErrors, type AgentConnectResponse, type AgentConnectResponses, type AgentConnected, type AgentSetup, type AgentSetupData, type AgentSetupError, type AgentSetupErrors, type AgentSetupResponse, type AgentSetupResponses, type AgentSignUpData, type AgentSignUpError, type AgentSignUpErrors, type AgentSignUpResponse, type AgentSignUpResponses, type AgentSignup, type AgentVerified, type AgentVerifyData, type AgentVerifyError, type AgentVerifyErrors, type AgentVerifyResponse, type AgentVerifyResponses, type ApiKey, type ApiKeyCreated, type AppPassword, type AppPasswordCreated, type AppPasswordsCreateData, type AppPasswordsCreateError, type AppPasswordsCreateErrors, type AppPasswordsCreateResponse, type AppPasswordsCreateResponses, type AppPasswordsListData, type AppPasswordsListError, type AppPasswordsListErrors, type AppPasswordsListResponse, type AppPasswordsListResponses, type AppPasswordsRevokeData, type AppPasswordsRevokeError, type AppPasswordsRevokeErrors, type AppPasswordsRevokeResponse, type AppPasswordsRevokeResponses, type Approval, type Attachment, type AttachmentText, type AttachmentUrl, type AttachmentsCompleteUploadData, type AttachmentsCompleteUploadError, type AttachmentsCompleteUploadErrors, type AttachmentsCompleteUploadResponse, type AttachmentsCompleteUploadResponses, type AttachmentsCreateUploadData, type AttachmentsCreateUploadError, type AttachmentsCreateUploadErrors, type AttachmentsCreateUploadResponse, type AttachmentsCreateUploadResponses, type AttachmentsDownloadUrlData, type AttachmentsDownloadUrlError, type AttachmentsDownloadUrlErrors, type AttachmentsDownloadUrlResponse, type AttachmentsDownloadUrlResponses, type AttachmentsTextData, type AttachmentsTextError, type AttachmentsTextErrors, type AttachmentsTextResponse, type AttachmentsTextResponses, type AttachmentsUploadData, type AttachmentsUploadError, type AttachmentsUploadErrors, type AttachmentsUploadResponse, type AttachmentsUploadResponses, type AwaitedMessage, type Calendar, type CalendarCreateEventData, type CalendarCreateEventError, type CalendarCreateEventErrors, type CalendarCreateEventResponse, type CalendarCreateEventResponses, type CalendarDeleteEventData, type CalendarDeleteEventError, type CalendarDeleteEventErrors, type CalendarDeleteEventResponse, type CalendarDeleteEventResponses, type CalendarEvent, type CalendarFreeTimeData, type CalendarFreeTimeError, type CalendarFreeTimeErrors, type CalendarFreeTimeResponse, type CalendarFreeTimeResponses, type CalendarGetAgendaData, type CalendarGetAgendaError, type CalendarGetAgendaErrors, type CalendarGetAgendaResponse, type CalendarGetAgendaResponses, type CalendarGetData, type CalendarGetError, type CalendarGetErrors, type CalendarGetEventData, type CalendarGetEventError, type CalendarGetEventErrors, type CalendarGetEventResponse, type CalendarGetEventResponses, type CalendarGetResponse, type CalendarGetResponses, type CalendarListEventInstancesData, type CalendarListEventInstancesError, type CalendarListEventInstancesErrors, type CalendarListEventInstancesResponse, type CalendarListEventInstancesResponses, type CalendarListEventsData, type CalendarListEventsError, type CalendarListEventsErrors, type CalendarListEventsResponse, type CalendarListEventsResponses, type CalendarRespondToEventData, type CalendarRespondToEventError, type CalendarRespondToEventErrors, type CalendarRespondToEventResponse, type CalendarRespondToEventResponses, type CalendarUpdateData, type CalendarUpdateError, type CalendarUpdateErrors, type CalendarUpdateEventData, type CalendarUpdateEventError, type CalendarUpdateEventErrors, type CalendarUpdateEventResponse, type CalendarUpdateEventResponses, type CalendarUpdateResponse, type CalendarUpdateResponses, type CardLogConsistency, type CardLogEntry, type CardLogHead, type CardLogInclusion, type CardLogMonitor, type CardsGetData, type CardsGetError, type CardsGetErrors, type CardsGetResponse, type CardsGetResponses, type ClientOptions, type Contact, type ContactsBlockData, type ContactsBlockError, type ContactsBlockErrors, type ContactsBlockResponse, type ContactsBlockResponses, type ContactsCreateData, type ContactsCreateError, type ContactsCreateErrors, type ContactsCreateResponse, type ContactsCreateResponses, type ContactsDeleteData, type ContactsDeleteError, type ContactsDeleteErrors, type ContactsDeleteResponse, type ContactsDeleteResponses, type ContactsGetData, type ContactsGetError, type ContactsGetErrors, type ContactsGetResponse, type ContactsGetResponses, type ContactsListData, type ContactsListError, type ContactsListErrors, type ContactsListResponse, type ContactsListResponses, type ContactsUnblockData, type ContactsUnblockError, type ContactsUnblockErrors, type ContactsUnblockResponse, type ContactsUnblockResponses, type ContactsUpdateData, type ContactsUpdateError, type ContactsUpdateErrors, type ContactsUpdateResponse, type ContactsUpdateResponses, type CreateClientConfig, type CreatedDomain, type Deleted, type Delivery, type DnsRecord, type Domain, type DomainDetail, type DomainsCreateData, type DomainsCreateError, type DomainsCreateErrors, type DomainsCreateResponse, type DomainsCreateResponses, type DomainsDeleteData, type DomainsDeleteError, type DomainsDeleteErrors, type DomainsDeleteResponse, type DomainsDeleteResponses, type DomainsGetData, type DomainsGetError, type DomainsGetErrors, type DomainsGetResponse, type DomainsGetResponses, type DomainsGetSetupLinkData, type DomainsGetSetupLinkError, type DomainsGetSetupLinkErrors, type DomainsGetSetupLinkResponse, type DomainsGetSetupLinkResponses, type DomainsListData, type DomainsListError, type DomainsListErrors, type DomainsListResponse, type DomainsListResponses, type DomainsUpdateData, type DomainsUpdateError, type DomainsUpdateErrors, type DomainsUpdateResponse, type DomainsUpdateResponses, type DomainsVerifyData, type DomainsVerifyError, type DomainsVerifyErrors, type DomainsVerifyResponse, type DomainsVerifyResponses, type DomainsZoneFileData, type DomainsZoneFileError, type DomainsZoneFileErrors, type DomainsZoneFileResponse, type DomainsZoneFileResponses, type Draft, type DraftsApprovalData, type DraftsApprovalError, type DraftsApprovalErrors, type DraftsApprovalResponse, type DraftsApprovalResponses, type DraftsCancelScheduleData, type DraftsCancelScheduleError, type DraftsCancelScheduleErrors, type DraftsCancelScheduleResponse, type DraftsCancelScheduleResponses, type DraftsCreateData, type DraftsCreateError, type DraftsCreateErrors, type DraftsCreateResponse, type DraftsCreateResponses, type DraftsDeleteData, type DraftsDeleteError, type DraftsDeleteErrors, type DraftsDeleteResponse, type DraftsDeleteResponses, type DraftsGetData, type DraftsGetError, type DraftsGetErrors, type DraftsGetResponse, type DraftsGetResponses, type DraftsListData, type DraftsListError, type DraftsListErrors, type DraftsListResponse, type DraftsListResponses, type DraftsRemoveAttachmentData, type DraftsRemoveAttachmentError, type DraftsRemoveAttachmentErrors, type DraftsRemoveAttachmentResponse, type DraftsRemoveAttachmentResponses, type DraftsScheduleData, type DraftsScheduleError, type DraftsScheduleErrors, type DraftsScheduleResponse, type DraftsScheduleResponses, type DraftsSendData, type DraftsSendError, type DraftsSendErrors, type DraftsSendResponse, type DraftsSendResponses, type DraftsUpdateData, type DraftsUpdateError, type DraftsUpdateErrors, type DraftsUpdateResponse, type DraftsUpdateResponses, type Emptied, type Error, type Event, type EventResponse, type EventsGetData, type EventsGetError, type EventsGetErrors, type EventsGetResponse, type EventsGetResponses, type EventsListData, type EventsListError, type EventsListErrors, type EventsListResponse, type EventsListResponses, type EventsSocketData, type EventsSocketError, type EventsSocketErrors, type EventsStreamData, type EventsStreamError, type EventsStreamErrors, type EventsStreamResponse, type EventsStreamResponses, type ExportMailData, type ExportMailError, type ExportMailErrors, type ExportMailResponse, type ExportMailResponses, type FreeTime, type IdentitiesAccessCreateData, type IdentitiesAccessCreateError, type IdentitiesAccessCreateErrors, type IdentitiesAccessCreateResponse, type IdentitiesAccessCreateResponses, type IdentitiesAccessDeleteData, type IdentitiesAccessDeleteError, type IdentitiesAccessDeleteErrors, type IdentitiesAccessDeleteResponse, type IdentitiesAccessDeleteResponses, type IdentitiesAccessGetData, type IdentitiesAccessGetError, type IdentitiesAccessGetErrors, type IdentitiesAccessGetResponse, type IdentitiesAccessGetResponses, type IdentitiesCardData, type IdentitiesCardError, type IdentitiesCardErrors, type IdentitiesCardResponse, type IdentitiesCardResponses, type IdentitiesCreateData, type IdentitiesCreateError, type IdentitiesCreateErrors, type IdentitiesCreateResponse, type IdentitiesCreateResponses, type IdentitiesDeleteData, type IdentitiesDeleteError, type IdentitiesDeleteErrors, type IdentitiesDeleteResponse, type IdentitiesDeleteResponses, type IdentitiesGetData, type IdentitiesGetError, type IdentitiesGetErrors, type IdentitiesGetResponse, type IdentitiesGetResponses, type IdentitiesListData, type IdentitiesListError, type IdentitiesListErrors, type IdentitiesListResponse, type IdentitiesListResponses, type IdentitiesReceiveRulesCreateData, type IdentitiesReceiveRulesCreateError, type IdentitiesReceiveRulesCreateErrors, type IdentitiesReceiveRulesCreateResponse, type IdentitiesReceiveRulesCreateResponses, type IdentitiesReceiveRulesDeleteData, type IdentitiesReceiveRulesDeleteError, type IdentitiesReceiveRulesDeleteErrors, type IdentitiesReceiveRulesDeleteResponse, type IdentitiesReceiveRulesDeleteResponses, type IdentitiesReceiveRulesGetData, type IdentitiesReceiveRulesGetError, type IdentitiesReceiveRulesGetErrors, type IdentitiesReceiveRulesGetResponse, type IdentitiesReceiveRulesGetResponses, type IdentitiesSendRulesCreateData, type IdentitiesSendRulesCreateError, type IdentitiesSendRulesCreateErrors, type IdentitiesSendRulesCreateResponse, type IdentitiesSendRulesCreateResponses, type IdentitiesSendRulesDeleteData, type IdentitiesSendRulesDeleteError, type IdentitiesSendRulesDeleteErrors, type IdentitiesSendRulesDeleteResponse, type IdentitiesSendRulesDeleteResponses, type IdentitiesSendRulesGetData, type IdentitiesSendRulesGetError, type IdentitiesSendRulesGetErrors, type IdentitiesSendRulesGetResponse, type IdentitiesSendRulesGetResponses, type IdentitiesSuspendTenantData, type IdentitiesSuspendTenantError, type IdentitiesSuspendTenantErrors, type IdentitiesSuspendTenantResponse, type IdentitiesSuspendTenantResponses, type IdentitiesUpdateData, type IdentitiesUpdateError, type IdentitiesUpdateErrors, type IdentitiesUpdateResponse, type IdentitiesUpdateResponses, type Identity, type Invitation, type InvitationResponse, type KeysCreateData, type KeysCreateError, type KeysCreateErrors, type KeysCreateResponse, type KeysCreateResponses, type KeysGetData, type KeysGetError, type KeysGetErrors, type KeysGetResponse, type KeysGetResponses, type KeysListData, type KeysListError, type KeysListErrors, type KeysListResponse, type KeysListResponses, type KeysRevokeData, type KeysRevokeError, type KeysRevokeErrors, type KeysRevokeResponse, type KeysRevokeResponses, type KeysRotateData, type KeysRotateError, type KeysRotateErrors, type KeysRotateResponse, type KeysRotateResponses, type KeysUpdateData, type KeysUpdateError, type KeysUpdateErrors, type KeysUpdateResponse, type KeysUpdateResponses, type Label, type LabelRemoved, type LabelsCreateData, type LabelsCreateError, type LabelsCreateErrors, type LabelsCreateResponse, type LabelsCreateResponses, type LabelsDeleteData, type LabelsDeleteError, type LabelsDeleteErrors, type LabelsDeleteResponse, type LabelsDeleteResponses, type LabelsListData, type LabelsListError, type LabelsListErrors, type LabelsListResponse, type LabelsListResponses, type LabelsUpdateData, type LabelsUpdateError, type LabelsUpdateErrors, type LabelsUpdateResponse, type LabelsUpdateResponses, type LogCheckpointData, type LogCheckpointError, type LogCheckpointErrors, type LogCheckpointResponse, type LogCheckpointResponses, type LogConsistencyData, type LogConsistencyError, type LogConsistencyErrors, type LogConsistencyResponse, type LogConsistencyResponses, type LogEntriesData, type LogEntriesError, type LogEntriesErrors, type LogEntriesResponse, type LogEntriesResponses, type LogHeadData, type LogHeadError, type LogHeadErrors, type LogHeadResponse, type LogHeadResponses, type LogMonitorsCreateData, type LogMonitorsCreateError, type LogMonitorsCreateErrors, type LogMonitorsCreateResponse, type LogMonitorsCreateResponses, type LogMonitorsDeleteData, type LogMonitorsDeleteError, type LogMonitorsDeleteErrors, type LogMonitorsDeleteResponse, type LogMonitorsDeleteResponses, type LogMonitorsListData, type LogMonitorsListError, type LogMonitorsListErrors, type LogMonitorsListResponse, type LogMonitorsListResponses, type LogProofData, type LogProofError, type LogProofErrors, type LogProofResponse, type LogProofResponses, type Mailbox, type MailboxAccess, type MailboxChange, type MailboxesChangesData, type MailboxesChangesError, type MailboxesChangesErrors, type MailboxesChangesResponse, type MailboxesChangesResponses, type MailboxesEmptyTrashData, type MailboxesEmptyTrashError, type MailboxesEmptyTrashErrors, type MailboxesEmptyTrashResponse, type MailboxesEmptyTrashResponses, type MailboxesListData, type MailboxesListError, type MailboxesListErrors, type MailboxesListFolderData, type MailboxesListFolderError, type MailboxesListFolderErrors, type MailboxesListFolderResponse, type MailboxesListFolderResponses, type MailboxesListResponse, type MailboxesListResponses, type Me, type MeGetData, type MeGetError, type MeGetErrors, type MeGetResponse, type MeGetResponses, type Member, type Message, type MessageListItem, type MessagesActData, type MessagesActError, type MessagesActErrors, type MessagesActResponse, type MessagesActResponses, type MessagesAwaitData, type MessagesAwaitError, type MessagesAwaitErrors, type MessagesAwaitResponse, type MessagesAwaitResponses, type MessagesCheckData, type MessagesCheckError, type MessagesCheckErrors, type MessagesCheckResponse, type MessagesCheckResponses, type MessagesForwardData, type MessagesForwardError, type MessagesForwardErrors, type MessagesForwardResponse, type MessagesForwardResponses, type MessagesGetData, type MessagesGetError, type MessagesGetErrors, type MessagesGetResponse, type MessagesGetResponses, type MessagesListInThreadData, type MessagesListInThreadError, type MessagesListInThreadErrors, type MessagesListInThreadResponse, type MessagesListInThreadResponses, type MessagesRawData, type MessagesRawError, type MessagesRawErrors, type MessagesRawResponse, type MessagesRawResponses, type MessagesReplyAllData, type MessagesReplyAllError, type MessagesReplyAllErrors, type MessagesReplyAllResponse, type MessagesReplyAllResponses, type MessagesReplyData, type MessagesReplyError, type MessagesReplyErrors, type MessagesReplyResponse, type MessagesReplyResponses, type MessagesRespondToInvitationData, type MessagesRespondToInvitationError, type MessagesRespondToInvitationErrors, type MessagesRespondToInvitationResponse, type MessagesRespondToInvitationResponses, type MessagesSearchData, type MessagesSearchError, type MessagesSearchErrors, type MessagesSearchResponse, type MessagesSearchResponses, type MessagesSendData, type MessagesSendError, type MessagesSendErrors, type MessagesSendResponse, type MessagesSendResponses, type MessagesUndoData, type MessagesUndoError, type MessagesUndoErrors, type MessagesUndoResponse, type MessagesUndoResponses, type MessagesUpdateData, type MessagesUpdateError, type MessagesUpdateErrors, type MessagesUpdateResponse, type MessagesUpdateResponses, type Metrics, type MetricsQueryData, type MetricsQueryError, type MetricsQueryErrors, type MetricsQueryResponse, type MetricsQueryResponses, type Options, type Pod, type PodCreated, type PodDeleted, type PodsCreateData, type PodsCreateError, type PodsCreateErrors, type PodsCreateResponse, type PodsCreateResponses, type PodsDeleteData, type PodsDeleteError, type PodsDeleteErrors, type PodsDeleteResponse, type PodsDeleteResponses, type PodsGetData, type PodsGetError, type PodsGetErrors, type PodsGetResponse, type PodsGetResponses, type PodsListData, type PodsListError, type PodsListErrors, type PodsListResponse, type PodsListResponses, type PodsUpdateData, type PodsUpdateError, type PodsUpdateErrors, type PodsUpdateResponse, type PodsUpdateResponses, type ReceiveRuleRemoved, type ReceiveRules, type Replayed, type Restored, type Revoked, type RoutingCreateData, type RoutingCreateError, type RoutingCreateErrors, type RoutingCreateResponse, type RoutingCreateResponses, type RoutingDeleteData, type RoutingDeleteError, type RoutingDeleteErrors, type RoutingDeleteResponse, type RoutingDeleteResponses, type RoutingListData, type RoutingListError, type RoutingListErrors, type RoutingListResponse, type RoutingListResponses, type RoutingRule, type RoutingUpdateData, type RoutingUpdateError, type RoutingUpdateErrors, type RoutingUpdateResponse, type RoutingUpdateResponses, SIGNATURE_HEADER, type SearchHit, type SendCheck, type SendRuleRemoved, type SendRules, type SenderVerification, type Sent, type SetupLink, type SignedUpload, type StreamOptions, type StreamedEvent, TIMESTAMP_HEADER, type TenantSuspended, type TestInboundData, type TestInboundDelivered, type TestInboundError, type TestInboundErrors, type TestInboundResponse, type TestInboundResponses, type Thread, type ThreadsGetData, type ThreadsGetError, type ThreadsGetErrors, type ThreadsGetResponse, type ThreadsGetResponses, type ThreadsLabelsCreateData, type ThreadsLabelsCreateError, type ThreadsLabelsCreateErrors, type ThreadsLabelsCreateResponse, type ThreadsLabelsCreateResponses, type ThreadsLabelsDeleteData, type ThreadsLabelsDeleteError, type ThreadsLabelsDeleteErrors, type ThreadsLabelsDeleteResponse, type ThreadsLabelsDeleteResponses, type ThreadsLabelsGetData, type ThreadsLabelsGetError, type ThreadsLabelsGetErrors, type ThreadsLabelsGetResponse, type ThreadsLabelsGetResponses, type ThreadsListData, type ThreadsListError, type ThreadsListErrors, type ThreadsListResponse, type ThreadsListResponses, type ThreadsUpdateData, type ThreadsUpdateError, type ThreadsUpdateErrors, type ThreadsUpdateResponse, type ThreadsUpdateResponses, type Undo, type UploadedAttachment, type Verification, type VerifySenderData, type VerifySenderError, type VerifySenderErrors, type VerifySenderResponse, type VerifySenderResponses, type Warning, type Webhook, type WebhookCreated, type WebhookEnvelope, type WebhookHeaders, type WebhooksCreateData, type WebhooksCreateError, type WebhooksCreateErrors, type WebhooksCreateResponse, type WebhooksCreateResponses, type WebhooksDeleteData, type WebhooksDeleteError, type WebhooksDeleteErrors, type WebhooksDeleteResponse, type WebhooksDeleteResponses, type WebhooksDeliveriesData, type WebhooksDeliveriesError, type WebhooksDeliveriesErrors, type WebhooksDeliveriesResponse, type WebhooksDeliveriesResponses, type WebhooksGetData, type WebhooksGetError, type WebhooksGetErrors, type WebhooksGetHeadersData, type WebhooksGetHeadersError, type WebhooksGetHeadersErrors, type WebhooksGetHeadersResponse, type WebhooksGetHeadersResponses, type WebhooksGetResponse, type WebhooksGetResponses, type WebhooksListData, type WebhooksListError, type WebhooksListErrors, type WebhooksListResponse, type WebhooksListResponses, type WebhooksReplayData, type WebhooksReplayError, type WebhooksReplayErrors, type WebhooksReplayResponse, type WebhooksReplayResponses, type WebhooksUpdateData, type WebhooksUpdateError, type WebhooksUpdateErrors, type WebhooksUpdateHeadersData, type WebhooksUpdateHeadersError, type WebhooksUpdateHeadersErrors, type WebhooksUpdateHeadersResponse, type WebhooksUpdateHeadersResponses, type WebhooksUpdateResponse, type WebhooksUpdateResponses, type Workspace, type WorkspaceGetData, type WorkspaceGetError, type WorkspaceGetErrors, type WorkspaceGetResponse, type WorkspaceGetResponses, type WorkspaceMembersData, type WorkspaceMembersError, type WorkspaceMembersErrors, type WorkspaceMembersResponse, type WorkspaceMembersResponses, agentAttachHuman, agentConnect, agentSetup, agentSignUp, agentVerify, appPasswordsCreate, appPasswordsList, appPasswordsRevoke, attachmentsCompleteUpload, attachmentsCreateUpload, attachmentsDownloadUrl, attachmentsText, attachmentsUpload, calendarCreateEvent, calendarDeleteEvent, calendarFreeTime, calendarGet, calendarGetAgenda, calendarGetEvent, calendarListEventInstances, calendarListEvents, calendarRespondToEvent, calendarUpdate, calendarUpdateEvent, cardsGet, client, contactsBlock, contactsCreate, contactsDelete, contactsGet, contactsList, contactsUnblock, contactsUpdate, createClient, createConfig, domainsCreate, domainsDelete, domainsGet, domainsGetSetupLink, domainsList, domainsUpdate, domainsVerify, domainsZoneFile, draftsApproval, draftsCancelSchedule, draftsCreate, draftsDelete, draftsGet, draftsList, draftsRemoveAttachment, draftsSchedule, draftsSend, draftsUpdate, eventsGet, eventsList, eventsSocket, eventsStream, exportMail, identitiesAccessCreate, identitiesAccessDelete, identitiesAccessGet, identitiesCard, identitiesCreate, identitiesDelete, identitiesGet, identitiesList, identitiesReceiveRulesCreate, identitiesReceiveRulesDelete, identitiesReceiveRulesGet, identitiesSendRulesCreate, identitiesSendRulesDelete, identitiesSendRulesGet, identitiesSuspendTenant, identitiesUpdate, keysCreate, keysGet, keysList, keysRevoke, keysRotate, keysUpdate, labelsCreate, labelsDelete, labelsList, labelsUpdate, logCheckpoint, logConsistency, logEntries, logHead, logMonitorsCreate, logMonitorsDelete, logMonitorsList, logProof, mailboxesChanges, mailboxesEmptyTrash, mailboxesList, mailboxesListFolder, meGet, messagesAct, messagesAwait, messagesCheck, messagesForward, messagesGet, messagesListInThread, messagesRaw, messagesReply, messagesReplyAll, messagesRespondToInvitation, messagesSearch, messagesSend, messagesUndo, messagesUpdate, metricsQuery, podsCreate, podsDelete, podsGet, podsList, podsUpdate, routingCreate, routingDelete, routingList, routingUpdate, streamEvents, testInbound, threadsGet, threadsLabelsCreate, threadsLabelsDelete, threadsLabelsGet, threadsList, threadsUpdate, verifySender, verifyWebhook, webhooksCreate, webhooksDelete, webhooksDeliveries, webhooksGet, webhooksGetHeaders, webhooksList, webhooksReplay, webhooksUpdate, webhooksUpdateHeaders, workspaceGet, workspaceMembers };
|
|
13843
|
+
export { type Address, type AgentAttachHumanData, type AgentAttachHumanError, type AgentAttachHumanErrors, type AgentAttachHumanResponse, type AgentAttachHumanResponses, type AgentCard, type AgentConnectData, type AgentConnectError, type AgentConnectErrors, type AgentConnectResponse, type AgentConnectResponses, type AgentConnected, type AgentSetup, type AgentSetupData, type AgentSetupError, type AgentSetupErrors, type AgentSetupResponse, type AgentSetupResponses, type AgentSignUpData, type AgentSignUpError, type AgentSignUpErrors, type AgentSignUpResponse, type AgentSignUpResponses, type AgentSignup, type AgentVerified, type AgentVerifyData, type AgentVerifyError, type AgentVerifyErrors, type AgentVerifyResponse, type AgentVerifyResponses, type ApiKey, type ApiKeyCreated, type AppPassword, type AppPasswordCreated, type AppPasswordsCreateData, type AppPasswordsCreateError, type AppPasswordsCreateErrors, type AppPasswordsCreateResponse, type AppPasswordsCreateResponses, type AppPasswordsListData, type AppPasswordsListError, type AppPasswordsListErrors, type AppPasswordsListResponse, type AppPasswordsListResponses, type AppPasswordsRevokeData, type AppPasswordsRevokeError, type AppPasswordsRevokeErrors, type AppPasswordsRevokeResponse, type AppPasswordsRevokeResponses, type Approval, type Attachment, type AttachmentText, type AttachmentUrl, type AttachmentsCompleteUploadData, type AttachmentsCompleteUploadError, type AttachmentsCompleteUploadErrors, type AttachmentsCompleteUploadResponse, type AttachmentsCompleteUploadResponses, type AttachmentsCreateUploadData, type AttachmentsCreateUploadError, type AttachmentsCreateUploadErrors, type AttachmentsCreateUploadResponse, type AttachmentsCreateUploadResponses, type AttachmentsDownloadUrlData, type AttachmentsDownloadUrlError, type AttachmentsDownloadUrlErrors, type AttachmentsDownloadUrlResponse, type AttachmentsDownloadUrlResponses, type AttachmentsTextData, type AttachmentsTextError, type AttachmentsTextErrors, type AttachmentsTextResponse, type AttachmentsTextResponses, type AttachmentsUploadData, type AttachmentsUploadError, type AttachmentsUploadErrors, type AttachmentsUploadResponse, type AttachmentsUploadResponses, type AwaitedMessage, type Calendar, type CalendarCreateEventData, type CalendarCreateEventError, type CalendarCreateEventErrors, type CalendarCreateEventResponse, type CalendarCreateEventResponses, type CalendarDeleteEventData, type CalendarDeleteEventError, type CalendarDeleteEventErrors, type CalendarDeleteEventResponse, type CalendarDeleteEventResponses, type CalendarEvent, type CalendarFreeTimeData, type CalendarFreeTimeError, type CalendarFreeTimeErrors, type CalendarFreeTimeResponse, type CalendarFreeTimeResponses, type CalendarGetAgendaData, type CalendarGetAgendaError, type CalendarGetAgendaErrors, type CalendarGetAgendaResponse, type CalendarGetAgendaResponses, type CalendarGetData, type CalendarGetError, type CalendarGetErrors, type CalendarGetEventData, type CalendarGetEventError, type CalendarGetEventErrors, type CalendarGetEventResponse, type CalendarGetEventResponses, type CalendarGetResponse, type CalendarGetResponses, type CalendarListEventInstancesData, type CalendarListEventInstancesError, type CalendarListEventInstancesErrors, type CalendarListEventInstancesResponse, type CalendarListEventInstancesResponses, type CalendarListEventsData, type CalendarListEventsError, type CalendarListEventsErrors, type CalendarListEventsResponse, type CalendarListEventsResponses, type CalendarRespondToEventData, type CalendarRespondToEventError, type CalendarRespondToEventErrors, type CalendarRespondToEventResponse, type CalendarRespondToEventResponses, type CalendarUpdateData, type CalendarUpdateError, type CalendarUpdateErrors, type CalendarUpdateEventData, type CalendarUpdateEventError, type CalendarUpdateEventErrors, type CalendarUpdateEventResponse, type CalendarUpdateEventResponses, type CalendarUpdateResponse, type CalendarUpdateResponses, type CardLogConsistency, type CardLogEntry, type CardLogHead, type CardLogInclusion, type CardLogMonitor, type CardsGetData, type CardsGetError, type CardsGetErrors, type CardsGetResponse, type CardsGetResponses, type ClientOptions, type Contact, type ContactsBlockData, type ContactsBlockError, type ContactsBlockErrors, type ContactsBlockResponse, type ContactsBlockResponses, type ContactsCreateData, type ContactsCreateError, type ContactsCreateErrors, type ContactsCreateResponse, type ContactsCreateResponses, type ContactsDeleteData, type ContactsDeleteError, type ContactsDeleteErrors, type ContactsDeleteResponse, type ContactsDeleteResponses, type ContactsGetData, type ContactsGetError, type ContactsGetErrors, type ContactsGetResponse, type ContactsGetResponses, type ContactsListData, type ContactsListError, type ContactsListErrors, type ContactsListResponse, type ContactsListResponses, type ContactsUnblockData, type ContactsUnblockError, type ContactsUnblockErrors, type ContactsUnblockResponse, type ContactsUnblockResponses, type ContactsUpdateData, type ContactsUpdateError, type ContactsUpdateErrors, type ContactsUpdateResponse, type ContactsUpdateResponses, type CreateClientConfig, type CreatedDomain, type Deleted, type Delivery, type DnsRecord, type Domain, type DomainDetail, type DomainsCreateData, type DomainsCreateError, type DomainsCreateErrors, type DomainsCreateResponse, type DomainsCreateResponses, type DomainsDeleteData, type DomainsDeleteError, type DomainsDeleteErrors, type DomainsDeleteResponse, type DomainsDeleteResponses, type DomainsGetData, type DomainsGetError, type DomainsGetErrors, type DomainsGetResponse, type DomainsGetResponses, type DomainsGetSetupLinkData, type DomainsGetSetupLinkError, type DomainsGetSetupLinkErrors, type DomainsGetSetupLinkResponse, type DomainsGetSetupLinkResponses, type DomainsListData, type DomainsListError, type DomainsListErrors, type DomainsListResponse, type DomainsListResponses, type DomainsUpdateData, type DomainsUpdateError, type DomainsUpdateErrors, type DomainsUpdateResponse, type DomainsUpdateResponses, type DomainsVerifyData, type DomainsVerifyError, type DomainsVerifyErrors, type DomainsVerifyResponse, type DomainsVerifyResponses, type DomainsZoneFileData, type DomainsZoneFileError, type DomainsZoneFileErrors, type DomainsZoneFileResponse, type DomainsZoneFileResponses, type Draft, type DraftsApprovalData, type DraftsApprovalError, type DraftsApprovalErrors, type DraftsApprovalResponse, type DraftsApprovalResponses, type DraftsCancelScheduleData, type DraftsCancelScheduleError, type DraftsCancelScheduleErrors, type DraftsCancelScheduleResponse, type DraftsCancelScheduleResponses, type DraftsCreateData, type DraftsCreateError, type DraftsCreateErrors, type DraftsCreateResponse, type DraftsCreateResponses, type DraftsDeleteData, type DraftsDeleteError, type DraftsDeleteErrors, type DraftsDeleteResponse, type DraftsDeleteResponses, type DraftsGetData, type DraftsGetError, type DraftsGetErrors, type DraftsGetResponse, type DraftsGetResponses, type DraftsListData, type DraftsListError, type DraftsListErrors, type DraftsListResponse, type DraftsListResponses, type DraftsRemoveAttachmentData, type DraftsRemoveAttachmentError, type DraftsRemoveAttachmentErrors, type DraftsRemoveAttachmentResponse, type DraftsRemoveAttachmentResponses, type DraftsScheduleData, type DraftsScheduleError, type DraftsScheduleErrors, type DraftsScheduleResponse, type DraftsScheduleResponses, type DraftsSendData, type DraftsSendError, type DraftsSendErrors, type DraftsSendResponse, type DraftsSendResponses, type DraftsUpdateData, type DraftsUpdateError, type DraftsUpdateErrors, type DraftsUpdateResponse, type DraftsUpdateResponses, type Emptied, type Error, type Event, type EventResponse, type EventsGetData, type EventsGetError, type EventsGetErrors, type EventsGetResponse, type EventsGetResponses, type EventsListData, type EventsListError, type EventsListErrors, type EventsListResponse, type EventsListResponses, type EventsSocketData, type EventsSocketError, type EventsSocketErrors, type EventsStreamData, type EventsStreamError, type EventsStreamErrors, type EventsStreamResponse, type EventsStreamResponses, type ExportMailData, type ExportMailError, type ExportMailErrors, type ExportMailResponse, type ExportMailResponses, type FreeTime, type Grant, type GrantState, type GrantTemplate, type GrantsCreateData, type GrantsCreateError, type GrantsCreateErrors, type GrantsCreateResponse, type GrantsCreateResponses, type GrantsGetData, type GrantsGetError, type GrantsGetErrors, type GrantsGetResponse, type GrantsGetResponses, type GrantsListData, type GrantsListError, type GrantsListErrors, type GrantsListResponse, type GrantsListResponses, type GrantsRevokeData, type GrantsRevokeError, type GrantsRevokeErrors, type GrantsRevokeResponse, type GrantsRevokeResponses, type GrantsStatusData, type GrantsStatusError, type GrantsStatusErrors, type GrantsStatusResponse, type GrantsStatusResponses, type GrantsTemplatesCreateData, type GrantsTemplatesCreateError, type GrantsTemplatesCreateErrors, type GrantsTemplatesCreateResponse, type GrantsTemplatesCreateResponses, type GrantsTemplatesDeleteData, type GrantsTemplatesDeleteError, type GrantsTemplatesDeleteErrors, type GrantsTemplatesDeleteResponse, type GrantsTemplatesDeleteResponses, type GrantsTemplatesListData, type GrantsTemplatesListError, type GrantsTemplatesListErrors, type GrantsTemplatesListResponse, type GrantsTemplatesListResponses, type IdentitiesAccessCreateData, type IdentitiesAccessCreateError, type IdentitiesAccessCreateErrors, type IdentitiesAccessCreateResponse, type IdentitiesAccessCreateResponses, type IdentitiesAccessDeleteData, type IdentitiesAccessDeleteError, type IdentitiesAccessDeleteErrors, type IdentitiesAccessDeleteResponse, type IdentitiesAccessDeleteResponses, type IdentitiesAccessGetData, type IdentitiesAccessGetError, type IdentitiesAccessGetErrors, type IdentitiesAccessGetResponse, type IdentitiesAccessGetResponses, type IdentitiesCardData, type IdentitiesCardError, type IdentitiesCardErrors, type IdentitiesCardResponse, type IdentitiesCardResponses, type IdentitiesCreateData, type IdentitiesCreateError, type IdentitiesCreateErrors, type IdentitiesCreateResponse, type IdentitiesCreateResponses, type IdentitiesDeleteData, type IdentitiesDeleteError, type IdentitiesDeleteErrors, type IdentitiesDeleteResponse, type IdentitiesDeleteResponses, type IdentitiesGetData, type IdentitiesGetError, type IdentitiesGetErrors, type IdentitiesGetResponse, type IdentitiesGetResponses, type IdentitiesListData, type IdentitiesListError, type IdentitiesListErrors, type IdentitiesListResponse, type IdentitiesListResponses, type IdentitiesReceiveRulesCreateData, type IdentitiesReceiveRulesCreateError, type IdentitiesReceiveRulesCreateErrors, type IdentitiesReceiveRulesCreateResponse, type IdentitiesReceiveRulesCreateResponses, type IdentitiesReceiveRulesDeleteData, type IdentitiesReceiveRulesDeleteError, type IdentitiesReceiveRulesDeleteErrors, type IdentitiesReceiveRulesDeleteResponse, type IdentitiesReceiveRulesDeleteResponses, type IdentitiesReceiveRulesGetData, type IdentitiesReceiveRulesGetError, type IdentitiesReceiveRulesGetErrors, type IdentitiesReceiveRulesGetResponse, type IdentitiesReceiveRulesGetResponses, type IdentitiesSendRulesCreateData, type IdentitiesSendRulesCreateError, type IdentitiesSendRulesCreateErrors, type IdentitiesSendRulesCreateResponse, type IdentitiesSendRulesCreateResponses, type IdentitiesSendRulesDeleteData, type IdentitiesSendRulesDeleteError, type IdentitiesSendRulesDeleteErrors, type IdentitiesSendRulesDeleteResponse, type IdentitiesSendRulesDeleteResponses, type IdentitiesSendRulesGetData, type IdentitiesSendRulesGetError, type IdentitiesSendRulesGetErrors, type IdentitiesSendRulesGetResponse, type IdentitiesSendRulesGetResponses, type IdentitiesSuspendTenantData, type IdentitiesSuspendTenantError, type IdentitiesSuspendTenantErrors, type IdentitiesSuspendTenantResponse, type IdentitiesSuspendTenantResponses, type IdentitiesUpdateData, type IdentitiesUpdateError, type IdentitiesUpdateErrors, type IdentitiesUpdateResponse, type IdentitiesUpdateResponses, type Identity, type Invitation, type InvitationResponse, type KeysCreateData, type KeysCreateError, type KeysCreateErrors, type KeysCreateResponse, type KeysCreateResponses, type KeysGetData, type KeysGetError, type KeysGetErrors, type KeysGetResponse, type KeysGetResponses, type KeysListData, type KeysListError, type KeysListErrors, type KeysListResponse, type KeysListResponses, type KeysRevokeData, type KeysRevokeError, type KeysRevokeErrors, type KeysRevokeResponse, type KeysRevokeResponses, type KeysRotateData, type KeysRotateError, type KeysRotateErrors, type KeysRotateResponse, type KeysRotateResponses, type KeysUpdateData, type KeysUpdateError, type KeysUpdateErrors, type KeysUpdateResponse, type KeysUpdateResponses, type Label, type LabelRemoved, type LabelsCreateData, type LabelsCreateError, type LabelsCreateErrors, type LabelsCreateResponse, type LabelsCreateResponses, type LabelsDeleteData, type LabelsDeleteError, type LabelsDeleteErrors, type LabelsDeleteResponse, type LabelsDeleteResponses, type LabelsListData, type LabelsListError, type LabelsListErrors, type LabelsListResponse, type LabelsListResponses, type LabelsUpdateData, type LabelsUpdateError, type LabelsUpdateErrors, type LabelsUpdateResponse, type LabelsUpdateResponses, type LogCheckpointData, type LogCheckpointError, type LogCheckpointErrors, type LogCheckpointResponse, type LogCheckpointResponses, type LogConsistencyData, type LogConsistencyError, type LogConsistencyErrors, type LogConsistencyResponse, type LogConsistencyResponses, type LogEntriesData, type LogEntriesError, type LogEntriesErrors, type LogEntriesResponse, type LogEntriesResponses, type LogHeadData, type LogHeadError, type LogHeadErrors, type LogHeadResponse, type LogHeadResponses, type LogMonitorsCreateData, type LogMonitorsCreateError, type LogMonitorsCreateErrors, type LogMonitorsCreateResponse, type LogMonitorsCreateResponses, type LogMonitorsDeleteData, type LogMonitorsDeleteError, type LogMonitorsDeleteErrors, type LogMonitorsDeleteResponse, type LogMonitorsDeleteResponses, type LogMonitorsListData, type LogMonitorsListError, type LogMonitorsListErrors, type LogMonitorsListResponse, type LogMonitorsListResponses, type LogProofData, type LogProofError, type LogProofErrors, type LogProofResponse, type LogProofResponses, type Mailbox, type MailboxAccess, type MailboxChange, type MailboxesChangesData, type MailboxesChangesError, type MailboxesChangesErrors, type MailboxesChangesResponse, type MailboxesChangesResponses, type MailboxesEmptyTrashData, type MailboxesEmptyTrashError, type MailboxesEmptyTrashErrors, type MailboxesEmptyTrashResponse, type MailboxesEmptyTrashResponses, type MailboxesListData, type MailboxesListError, type MailboxesListErrors, type MailboxesListFolderData, type MailboxesListFolderError, type MailboxesListFolderErrors, type MailboxesListFolderResponse, type MailboxesListFolderResponses, type MailboxesListResponse, type MailboxesListResponses, type Me, type MeGetData, type MeGetError, type MeGetErrors, type MeGetResponse, type MeGetResponses, type Member, type Message, type MessageListItem, type MessagesActData, type MessagesActError, type MessagesActErrors, type MessagesActResponse, type MessagesActResponses, type MessagesAwaitData, type MessagesAwaitError, type MessagesAwaitErrors, type MessagesAwaitResponse, type MessagesAwaitResponses, type MessagesCheckData, type MessagesCheckError, type MessagesCheckErrors, type MessagesCheckResponse, type MessagesCheckResponses, type MessagesForwardData, type MessagesForwardError, type MessagesForwardErrors, type MessagesForwardResponse, type MessagesForwardResponses, type MessagesGetData, type MessagesGetError, type MessagesGetErrors, type MessagesGetResponse, type MessagesGetResponses, type MessagesListInThreadData, type MessagesListInThreadError, type MessagesListInThreadErrors, type MessagesListInThreadResponse, type MessagesListInThreadResponses, type MessagesRawData, type MessagesRawError, type MessagesRawErrors, type MessagesRawResponse, type MessagesRawResponses, type MessagesReplyAllData, type MessagesReplyAllError, type MessagesReplyAllErrors, type MessagesReplyAllResponse, type MessagesReplyAllResponses, type MessagesReplyData, type MessagesReplyError, type MessagesReplyErrors, type MessagesReplyResponse, type MessagesReplyResponses, type MessagesRespondToInvitationData, type MessagesRespondToInvitationError, type MessagesRespondToInvitationErrors, type MessagesRespondToInvitationResponse, type MessagesRespondToInvitationResponses, type MessagesSearchData, type MessagesSearchError, type MessagesSearchErrors, type MessagesSearchResponse, type MessagesSearchResponses, type MessagesSendData, type MessagesSendError, type MessagesSendErrors, type MessagesSendResponse, type MessagesSendResponses, type MessagesUndoData, type MessagesUndoError, type MessagesUndoErrors, type MessagesUndoResponse, type MessagesUndoResponses, type MessagesUpdateData, type MessagesUpdateError, type MessagesUpdateErrors, type MessagesUpdateResponse, type MessagesUpdateResponses, type Metrics, type MetricsQueryData, type MetricsQueryError, type MetricsQueryErrors, type MetricsQueryResponse, type MetricsQueryResponses, type Options, type Pod, type PodCreated, type PodDeleted, type PodsCreateData, type PodsCreateError, type PodsCreateErrors, type PodsCreateResponse, type PodsCreateResponses, type PodsDeleteData, type PodsDeleteError, type PodsDeleteErrors, type PodsDeleteResponse, type PodsDeleteResponses, type PodsGetData, type PodsGetError, type PodsGetErrors, type PodsGetResponse, type PodsGetResponses, type PodsListData, type PodsListError, type PodsListErrors, type PodsListResponse, type PodsListResponses, type PodsUpdateData, type PodsUpdateError, type PodsUpdateErrors, type PodsUpdateResponse, type PodsUpdateResponses, type ReceiveRuleRemoved, type ReceiveRules, type Replayed, type Restored, type Revoked, type RoutingCreateData, type RoutingCreateError, type RoutingCreateErrors, type RoutingCreateResponse, type RoutingCreateResponses, type RoutingDeleteData, type RoutingDeleteError, type RoutingDeleteErrors, type RoutingDeleteResponse, type RoutingDeleteResponses, type RoutingListData, type RoutingListError, type RoutingListErrors, type RoutingListResponse, type RoutingListResponses, type RoutingRule, type RoutingUpdateData, type RoutingUpdateError, type RoutingUpdateErrors, type RoutingUpdateResponse, type RoutingUpdateResponses, SIGNATURE_HEADER, type SearchHit, type SendCheck, type SendRuleRemoved, type SendRules, type SenderVerification, type Sent, type SetupLink, type SignedUpload, type StreamOptions, type StreamedEvent, TIMESTAMP_HEADER, type TenantSuspended, type TestInboundData, type TestInboundDelivered, type TestInboundError, type TestInboundErrors, type TestInboundResponse, type TestInboundResponses, type Thread, type ThreadsGetData, type ThreadsGetError, type ThreadsGetErrors, type ThreadsGetResponse, type ThreadsGetResponses, type ThreadsLabelsCreateData, type ThreadsLabelsCreateError, type ThreadsLabelsCreateErrors, type ThreadsLabelsCreateResponse, type ThreadsLabelsCreateResponses, type ThreadsLabelsDeleteData, type ThreadsLabelsDeleteError, type ThreadsLabelsDeleteErrors, type ThreadsLabelsDeleteResponse, type ThreadsLabelsDeleteResponses, type ThreadsLabelsGetData, type ThreadsLabelsGetError, type ThreadsLabelsGetErrors, type ThreadsLabelsGetResponse, type ThreadsLabelsGetResponses, type ThreadsListData, type ThreadsListError, type ThreadsListErrors, type ThreadsListResponse, type ThreadsListResponses, type ThreadsUpdateData, type ThreadsUpdateError, type ThreadsUpdateErrors, type ThreadsUpdateResponse, type ThreadsUpdateResponses, type Undo, type UploadedAttachment, type Verification, type VerifySenderData, type VerifySenderError, type VerifySenderErrors, type VerifySenderResponse, type VerifySenderResponses, type Warning, type Webhook, type WebhookCreated, type WebhookEnvelope, type WebhookHeaders, type WebhooksCreateData, type WebhooksCreateError, type WebhooksCreateErrors, type WebhooksCreateResponse, type WebhooksCreateResponses, type WebhooksDeleteData, type WebhooksDeleteError, type WebhooksDeleteErrors, type WebhooksDeleteResponse, type WebhooksDeleteResponses, type WebhooksDeliveriesData, type WebhooksDeliveriesError, type WebhooksDeliveriesErrors, type WebhooksDeliveriesResponse, type WebhooksDeliveriesResponses, type WebhooksGetData, type WebhooksGetError, type WebhooksGetErrors, type WebhooksGetHeadersData, type WebhooksGetHeadersError, type WebhooksGetHeadersErrors, type WebhooksGetHeadersResponse, type WebhooksGetHeadersResponses, type WebhooksGetResponse, type WebhooksGetResponses, type WebhooksListData, type WebhooksListError, type WebhooksListErrors, type WebhooksListResponse, type WebhooksListResponses, type WebhooksReplayData, type WebhooksReplayError, type WebhooksReplayErrors, type WebhooksReplayResponse, type WebhooksReplayResponses, type WebhooksUpdateData, type WebhooksUpdateError, type WebhooksUpdateErrors, type WebhooksUpdateHeadersData, type WebhooksUpdateHeadersError, type WebhooksUpdateHeadersErrors, type WebhooksUpdateHeadersResponse, type WebhooksUpdateHeadersResponses, type WebhooksUpdateResponse, type WebhooksUpdateResponses, type Workspace, type WorkspaceGetData, type WorkspaceGetError, type WorkspaceGetErrors, type WorkspaceGetResponse, type WorkspaceGetResponses, type WorkspaceMembersData, type WorkspaceMembersError, type WorkspaceMembersErrors, type WorkspaceMembersResponse, type WorkspaceMembersResponses, agentAttachHuman, agentConnect, agentSetup, agentSignUp, agentVerify, appPasswordsCreate, appPasswordsList, appPasswordsRevoke, attachmentsCompleteUpload, attachmentsCreateUpload, attachmentsDownloadUrl, attachmentsText, attachmentsUpload, calendarCreateEvent, calendarDeleteEvent, calendarFreeTime, calendarGet, calendarGetAgenda, calendarGetEvent, calendarListEventInstances, calendarListEvents, calendarRespondToEvent, calendarUpdate, calendarUpdateEvent, cardsGet, client, contactsBlock, contactsCreate, contactsDelete, contactsGet, contactsList, contactsUnblock, contactsUpdate, createClient, createConfig, domainsCreate, domainsDelete, domainsGet, domainsGetSetupLink, domainsList, domainsUpdate, domainsVerify, domainsZoneFile, draftsApproval, draftsCancelSchedule, draftsCreate, draftsDelete, draftsGet, draftsList, draftsRemoveAttachment, draftsSchedule, draftsSend, draftsUpdate, eventsGet, eventsList, eventsSocket, eventsStream, exportMail, grantsCreate, grantsGet, grantsList, grantsRevoke, grantsStatus, grantsTemplatesCreate, grantsTemplatesDelete, grantsTemplatesList, identitiesAccessCreate, identitiesAccessDelete, identitiesAccessGet, identitiesCard, identitiesCreate, identitiesDelete, identitiesGet, identitiesList, identitiesReceiveRulesCreate, identitiesReceiveRulesDelete, identitiesReceiveRulesGet, identitiesSendRulesCreate, identitiesSendRulesDelete, identitiesSendRulesGet, identitiesSuspendTenant, identitiesUpdate, keysCreate, keysGet, keysList, keysRevoke, keysRotate, keysUpdate, labelsCreate, labelsDelete, labelsList, labelsUpdate, logCheckpoint, logConsistency, logEntries, logHead, logMonitorsCreate, logMonitorsDelete, logMonitorsList, logProof, mailboxesChanges, mailboxesEmptyTrash, mailboxesList, mailboxesListFolder, meGet, messagesAct, messagesAwait, messagesCheck, messagesForward, messagesGet, messagesListInThread, messagesRaw, messagesReply, messagesReplyAll, messagesRespondToInvitation, messagesSearch, messagesSend, messagesUndo, messagesUpdate, metricsQuery, podsCreate, podsDelete, podsGet, podsList, podsUpdate, routingCreate, routingDelete, routingList, routingUpdate, streamEvents, testInbound, threadsGet, threadsLabelsCreate, threadsLabelsDelete, threadsLabelsGet, threadsList, threadsUpdate, verifySender, verifyWebhook, webhooksCreate, webhooksDelete, webhooksDeliveries, webhooksGet, webhooksGetHeaders, webhooksList, webhooksReplay, webhooksUpdate, webhooksUpdateHeaders, workspaceGet, workspaceMembers };
|