@pidgeon-ai/sdk 1.61.0 → 1.63.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 +20 -0
- package/dist/index.cjs +63 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +852 -106
- package/dist/index.d.ts +852 -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
|
@@ -553,7 +553,14 @@ type SenderVerification = {
|
|
|
553
553
|
is_agent: boolean | null;
|
|
554
554
|
operator: {
|
|
555
555
|
domain: string;
|
|
556
|
+
/**
|
|
557
|
+
* True only when the domain’s owner proved it.
|
|
558
|
+
*/
|
|
556
559
|
verified: boolean;
|
|
560
|
+
/**
|
|
561
|
+
* True for pidgeon.email and a company’s name on it: a shared domain anyone can get an address on, so never `verified`.
|
|
562
|
+
*/
|
|
563
|
+
shared: boolean;
|
|
557
564
|
} | null;
|
|
558
565
|
ai_disclosure: string | null;
|
|
559
566
|
signed_at: string | null;
|
|
@@ -584,7 +591,14 @@ type SenderVerification = {
|
|
|
584
591
|
* The sender’s agent card, when we issue it.
|
|
585
592
|
*/
|
|
586
593
|
card: {
|
|
594
|
+
/**
|
|
595
|
+
* The card’s page, for a person.
|
|
596
|
+
*/
|
|
587
597
|
url: string;
|
|
598
|
+
/**
|
|
599
|
+
* The card as JSON, with its signed JWS.
|
|
600
|
+
*/
|
|
601
|
+
api_url: string;
|
|
588
602
|
standing: string;
|
|
589
603
|
since: string;
|
|
590
604
|
/**
|
|
@@ -621,6 +635,60 @@ type SenderVerification = {
|
|
|
621
635
|
verifier_key: string;
|
|
622
636
|
} | null;
|
|
623
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
|
+
}>;
|
|
624
692
|
warnings: Array<{
|
|
625
693
|
code: 'unsigned_claims' | 'extra_claims' | 'lookalike_domain' | 'display_name_mismatch' | 'not_addressed_to_you' | 'old_signature' | 'envelope_unverifiable';
|
|
626
694
|
message: string;
|
|
@@ -813,6 +881,103 @@ type CardLogMonitor = {
|
|
|
813
881
|
*/
|
|
814
882
|
created_at: string;
|
|
815
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
|
+
};
|
|
816
981
|
type AgentSetup = {
|
|
817
982
|
/**
|
|
818
983
|
* True when every step is done for the address below. A test key is never ready: its mail stays inside Pidgeon.
|
|
@@ -3339,6 +3504,14 @@ type VerifySenderData = {
|
|
|
3339
3504
|
body?: string;
|
|
3340
3505
|
};
|
|
3341
3506
|
recipient?: string;
|
|
3507
|
+
/**
|
|
3508
|
+
* 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.
|
|
3509
|
+
*/
|
|
3510
|
+
grants?: Array<string>;
|
|
3511
|
+
/**
|
|
3512
|
+
* The customer, account or order you are about to act on. A grant for another one answers `wrong_subject`.
|
|
3513
|
+
*/
|
|
3514
|
+
subject?: string;
|
|
3342
3515
|
};
|
|
3343
3516
|
path?: never;
|
|
3344
3517
|
query?: never;
|
|
@@ -3858,6 +4031,58 @@ type LogMonitorsDeleteResponses = {
|
|
|
3858
4031
|
};
|
|
3859
4032
|
};
|
|
3860
4033
|
type LogMonitorsDeleteResponse = LogMonitorsDeleteResponses[keyof LogMonitorsDeleteResponses];
|
|
4034
|
+
type GrantsStatusData = {
|
|
4035
|
+
body?: never;
|
|
4036
|
+
path: {
|
|
4037
|
+
id: string;
|
|
4038
|
+
};
|
|
4039
|
+
query?: never;
|
|
4040
|
+
url: '/grants/{id}/status';
|
|
4041
|
+
};
|
|
4042
|
+
type GrantsStatusErrors = {
|
|
4043
|
+
/**
|
|
4044
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
4045
|
+
*/
|
|
4046
|
+
400: Error;
|
|
4047
|
+
/**
|
|
4048
|
+
* No API key, or one that is not valid.
|
|
4049
|
+
*/
|
|
4050
|
+
401: Error;
|
|
4051
|
+
/**
|
|
4052
|
+
* 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.
|
|
4053
|
+
*/
|
|
4054
|
+
403: Error;
|
|
4055
|
+
/**
|
|
4056
|
+
* 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”.
|
|
4057
|
+
*/
|
|
4058
|
+
404: Error;
|
|
4059
|
+
/**
|
|
4060
|
+
* It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
|
|
4061
|
+
*/
|
|
4062
|
+
409: Error;
|
|
4063
|
+
/**
|
|
4064
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
4065
|
+
*/
|
|
4066
|
+
429: Error;
|
|
4067
|
+
/**
|
|
4068
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
4069
|
+
*/
|
|
4070
|
+
500: Error;
|
|
4071
|
+
/**
|
|
4072
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
4073
|
+
*/
|
|
4074
|
+
503: Error;
|
|
4075
|
+
};
|
|
4076
|
+
type GrantsStatusError = GrantsStatusErrors[keyof GrantsStatusErrors];
|
|
4077
|
+
type GrantsStatusResponses = {
|
|
4078
|
+
/**
|
|
4079
|
+
* Its status.
|
|
4080
|
+
*/
|
|
4081
|
+
200: {
|
|
4082
|
+
data: GrantState;
|
|
4083
|
+
};
|
|
4084
|
+
};
|
|
4085
|
+
type GrantsStatusResponse = GrantsStatusResponses[keyof GrantsStatusResponses];
|
|
3861
4086
|
type AgentConnectData = {
|
|
3862
4087
|
body: {
|
|
3863
4088
|
code: string;
|
|
@@ -5130,11 +5355,392 @@ type PodsCreateData = {
|
|
|
5130
5355
|
*/
|
|
5131
5356
|
'Idempotency-Key'?: string;
|
|
5132
5357
|
};
|
|
5133
|
-
path?: never;
|
|
5358
|
+
path?: never;
|
|
5359
|
+
query?: never;
|
|
5360
|
+
url: '/pods';
|
|
5361
|
+
};
|
|
5362
|
+
type PodsCreateErrors = {
|
|
5363
|
+
/**
|
|
5364
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5365
|
+
*/
|
|
5366
|
+
400: Error;
|
|
5367
|
+
/**
|
|
5368
|
+
* No API key, or one that is not valid.
|
|
5369
|
+
*/
|
|
5370
|
+
401: Error;
|
|
5371
|
+
/**
|
|
5372
|
+
* Your plan does not include this. `error.message` says what does.
|
|
5373
|
+
*/
|
|
5374
|
+
402: Error;
|
|
5375
|
+
/**
|
|
5376
|
+
* 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.
|
|
5377
|
+
*/
|
|
5378
|
+
403: Error;
|
|
5379
|
+
/**
|
|
5380
|
+
* 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”.
|
|
5381
|
+
*/
|
|
5382
|
+
404: Error;
|
|
5383
|
+
/**
|
|
5384
|
+
* 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).
|
|
5385
|
+
*/
|
|
5386
|
+
409: Error;
|
|
5387
|
+
/**
|
|
5388
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
5389
|
+
*/
|
|
5390
|
+
429: Error;
|
|
5391
|
+
/**
|
|
5392
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
5393
|
+
*/
|
|
5394
|
+
500: Error;
|
|
5395
|
+
/**
|
|
5396
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
5397
|
+
*/
|
|
5398
|
+
503: Error;
|
|
5399
|
+
/**
|
|
5400
|
+
* 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.
|
|
5401
|
+
*/
|
|
5402
|
+
504: Error;
|
|
5403
|
+
};
|
|
5404
|
+
type PodsCreateError = PodsCreateErrors[keyof PodsCreateErrors];
|
|
5405
|
+
type PodsCreateResponses = {
|
|
5406
|
+
/**
|
|
5407
|
+
* The pod, with its address and key.
|
|
5408
|
+
*/
|
|
5409
|
+
201: {
|
|
5410
|
+
data: PodCreated;
|
|
5411
|
+
/**
|
|
5412
|
+
* 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.
|
|
5413
|
+
*/
|
|
5414
|
+
warnings?: Array<Warning>;
|
|
5415
|
+
};
|
|
5416
|
+
};
|
|
5417
|
+
type PodsCreateResponse = PodsCreateResponses[keyof PodsCreateResponses];
|
|
5418
|
+
type PodsDeleteData = {
|
|
5419
|
+
body?: never;
|
|
5420
|
+
headers?: {
|
|
5421
|
+
/**
|
|
5422
|
+
* 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.
|
|
5423
|
+
*/
|
|
5424
|
+
'Idempotency-Key'?: string;
|
|
5425
|
+
};
|
|
5426
|
+
path: {
|
|
5427
|
+
id: string;
|
|
5428
|
+
};
|
|
5429
|
+
query?: {
|
|
5430
|
+
/**
|
|
5431
|
+
* `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.
|
|
5432
|
+
*/
|
|
5433
|
+
delete_addresses?: 'true' | 'false';
|
|
5434
|
+
};
|
|
5435
|
+
url: '/pods/{id}';
|
|
5436
|
+
};
|
|
5437
|
+
type PodsDeleteErrors = {
|
|
5438
|
+
/**
|
|
5439
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5440
|
+
*/
|
|
5441
|
+
400: Error;
|
|
5442
|
+
/**
|
|
5443
|
+
* No API key, or one that is not valid.
|
|
5444
|
+
*/
|
|
5445
|
+
401: Error;
|
|
5446
|
+
/**
|
|
5447
|
+
* 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.
|
|
5448
|
+
*/
|
|
5449
|
+
403: Error;
|
|
5450
|
+
/**
|
|
5451
|
+
* 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”.
|
|
5452
|
+
*/
|
|
5453
|
+
404: Error;
|
|
5454
|
+
/**
|
|
5455
|
+
* 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).
|
|
5456
|
+
*/
|
|
5457
|
+
409: Error;
|
|
5458
|
+
/**
|
|
5459
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
5460
|
+
*/
|
|
5461
|
+
429: Error;
|
|
5462
|
+
/**
|
|
5463
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
5464
|
+
*/
|
|
5465
|
+
500: Error;
|
|
5466
|
+
/**
|
|
5467
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
5468
|
+
*/
|
|
5469
|
+
503: Error;
|
|
5470
|
+
/**
|
|
5471
|
+
* 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.
|
|
5472
|
+
*/
|
|
5473
|
+
504: Error;
|
|
5474
|
+
};
|
|
5475
|
+
type PodsDeleteError = PodsDeleteErrors[keyof PodsDeleteErrors];
|
|
5476
|
+
type PodsDeleteResponses = {
|
|
5477
|
+
/**
|
|
5478
|
+
* What was deleted.
|
|
5479
|
+
*/
|
|
5480
|
+
200: {
|
|
5481
|
+
data: PodDeleted;
|
|
5482
|
+
};
|
|
5483
|
+
};
|
|
5484
|
+
type PodsDeleteResponse = PodsDeleteResponses[keyof PodsDeleteResponses];
|
|
5485
|
+
type PodsGetData = {
|
|
5486
|
+
body?: never;
|
|
5487
|
+
path: {
|
|
5488
|
+
id: string;
|
|
5489
|
+
};
|
|
5490
|
+
query?: never;
|
|
5491
|
+
url: '/pods/{id}';
|
|
5492
|
+
};
|
|
5493
|
+
type PodsGetErrors = {
|
|
5494
|
+
/**
|
|
5495
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5496
|
+
*/
|
|
5497
|
+
400: Error;
|
|
5498
|
+
/**
|
|
5499
|
+
* No API key, or one that is not valid.
|
|
5500
|
+
*/
|
|
5501
|
+
401: Error;
|
|
5502
|
+
/**
|
|
5503
|
+
* 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.
|
|
5504
|
+
*/
|
|
5505
|
+
403: Error;
|
|
5506
|
+
/**
|
|
5507
|
+
* 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”.
|
|
5508
|
+
*/
|
|
5509
|
+
404: Error;
|
|
5510
|
+
/**
|
|
5511
|
+
* It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
|
|
5512
|
+
*/
|
|
5513
|
+
409: Error;
|
|
5514
|
+
/**
|
|
5515
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
5516
|
+
*/
|
|
5517
|
+
429: Error;
|
|
5518
|
+
/**
|
|
5519
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
5520
|
+
*/
|
|
5521
|
+
500: Error;
|
|
5522
|
+
/**
|
|
5523
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
5524
|
+
*/
|
|
5525
|
+
503: Error;
|
|
5526
|
+
};
|
|
5527
|
+
type PodsGetError = PodsGetErrors[keyof PodsGetErrors];
|
|
5528
|
+
type PodsGetResponses = {
|
|
5529
|
+
/**
|
|
5530
|
+
* The pod.
|
|
5531
|
+
*/
|
|
5532
|
+
200: {
|
|
5533
|
+
data: Pod;
|
|
5534
|
+
};
|
|
5535
|
+
};
|
|
5536
|
+
type PodsGetResponse = PodsGetResponses[keyof PodsGetResponses];
|
|
5537
|
+
type PodsUpdateData = {
|
|
5538
|
+
body: {
|
|
5539
|
+
name?: string;
|
|
5540
|
+
/**
|
|
5541
|
+
* Your own id for this pod. Carried and returned, never parsed.
|
|
5542
|
+
*/
|
|
5543
|
+
client_id?: string | null;
|
|
5544
|
+
};
|
|
5545
|
+
headers?: {
|
|
5546
|
+
/**
|
|
5547
|
+
* 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.
|
|
5548
|
+
*/
|
|
5549
|
+
'Idempotency-Key'?: string;
|
|
5550
|
+
};
|
|
5551
|
+
path: {
|
|
5552
|
+
id: string;
|
|
5553
|
+
};
|
|
5554
|
+
query?: never;
|
|
5555
|
+
url: '/pods/{id}';
|
|
5556
|
+
};
|
|
5557
|
+
type PodsUpdateErrors = {
|
|
5558
|
+
/**
|
|
5559
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5560
|
+
*/
|
|
5561
|
+
400: Error;
|
|
5562
|
+
/**
|
|
5563
|
+
* No API key, or one that is not valid.
|
|
5564
|
+
*/
|
|
5565
|
+
401: Error;
|
|
5566
|
+
/**
|
|
5567
|
+
* 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.
|
|
5568
|
+
*/
|
|
5569
|
+
403: Error;
|
|
5570
|
+
/**
|
|
5571
|
+
* 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”.
|
|
5572
|
+
*/
|
|
5573
|
+
404: Error;
|
|
5574
|
+
/**
|
|
5575
|
+
* 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).
|
|
5576
|
+
*/
|
|
5577
|
+
409: Error;
|
|
5578
|
+
/**
|
|
5579
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
5580
|
+
*/
|
|
5581
|
+
429: Error;
|
|
5582
|
+
/**
|
|
5583
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
5584
|
+
*/
|
|
5585
|
+
500: Error;
|
|
5586
|
+
/**
|
|
5587
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
5588
|
+
*/
|
|
5589
|
+
503: Error;
|
|
5590
|
+
/**
|
|
5591
|
+
* 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.
|
|
5592
|
+
*/
|
|
5593
|
+
504: Error;
|
|
5594
|
+
};
|
|
5595
|
+
type PodsUpdateError = PodsUpdateErrors[keyof PodsUpdateErrors];
|
|
5596
|
+
type PodsUpdateResponses = {
|
|
5597
|
+
/**
|
|
5598
|
+
* The pod.
|
|
5599
|
+
*/
|
|
5600
|
+
200: {
|
|
5601
|
+
data: Pod;
|
|
5602
|
+
};
|
|
5603
|
+
};
|
|
5604
|
+
type PodsUpdateResponse = PodsUpdateResponses[keyof PodsUpdateResponses];
|
|
5605
|
+
type LabelsListData = {
|
|
5606
|
+
body?: never;
|
|
5607
|
+
path?: never;
|
|
5608
|
+
query: {
|
|
5609
|
+
identity_id: string;
|
|
5610
|
+
};
|
|
5611
|
+
url: '/labels';
|
|
5612
|
+
};
|
|
5613
|
+
type LabelsListErrors = {
|
|
5614
|
+
/**
|
|
5615
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5616
|
+
*/
|
|
5617
|
+
400: Error;
|
|
5618
|
+
/**
|
|
5619
|
+
* No API key, or one that is not valid.
|
|
5620
|
+
*/
|
|
5621
|
+
401: Error;
|
|
5622
|
+
/**
|
|
5623
|
+
* 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.
|
|
5624
|
+
*/
|
|
5625
|
+
403: Error;
|
|
5626
|
+
/**
|
|
5627
|
+
* 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”.
|
|
5628
|
+
*/
|
|
5629
|
+
404: Error;
|
|
5630
|
+
/**
|
|
5631
|
+
* It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
|
|
5632
|
+
*/
|
|
5633
|
+
409: Error;
|
|
5634
|
+
/**
|
|
5635
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
5636
|
+
*/
|
|
5637
|
+
429: Error;
|
|
5638
|
+
/**
|
|
5639
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
5640
|
+
*/
|
|
5641
|
+
500: Error;
|
|
5642
|
+
/**
|
|
5643
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
5644
|
+
*/
|
|
5645
|
+
503: Error;
|
|
5646
|
+
};
|
|
5647
|
+
type LabelsListError = LabelsListErrors[keyof LabelsListErrors];
|
|
5648
|
+
type LabelsListResponses = {
|
|
5649
|
+
/**
|
|
5650
|
+
* The labels.
|
|
5651
|
+
*/
|
|
5652
|
+
200: {
|
|
5653
|
+
data: Array<Label>;
|
|
5654
|
+
has_more: boolean;
|
|
5655
|
+
/**
|
|
5656
|
+
* Pass as `cursor` to continue. Null on the last page.
|
|
5657
|
+
*/
|
|
5658
|
+
next_cursor: string | null;
|
|
5659
|
+
};
|
|
5660
|
+
};
|
|
5661
|
+
type LabelsListResponse = LabelsListResponses[keyof LabelsListResponses];
|
|
5662
|
+
type LabelsCreateData = {
|
|
5663
|
+
body: {
|
|
5664
|
+
/**
|
|
5665
|
+
* The address this belongs to.
|
|
5666
|
+
*/
|
|
5667
|
+
identity_id: string;
|
|
5668
|
+
name: string;
|
|
5669
|
+
colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
|
|
5670
|
+
};
|
|
5671
|
+
headers?: {
|
|
5672
|
+
/**
|
|
5673
|
+
* 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.
|
|
5674
|
+
*/
|
|
5675
|
+
'Idempotency-Key'?: string;
|
|
5676
|
+
};
|
|
5677
|
+
path?: never;
|
|
5678
|
+
query?: never;
|
|
5679
|
+
url: '/labels';
|
|
5680
|
+
};
|
|
5681
|
+
type LabelsCreateErrors = {
|
|
5682
|
+
/**
|
|
5683
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5684
|
+
*/
|
|
5685
|
+
400: Error;
|
|
5686
|
+
/**
|
|
5687
|
+
* No API key, or one that is not valid.
|
|
5688
|
+
*/
|
|
5689
|
+
401: Error;
|
|
5690
|
+
/**
|
|
5691
|
+
* 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.
|
|
5692
|
+
*/
|
|
5693
|
+
403: Error;
|
|
5694
|
+
/**
|
|
5695
|
+
* 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”.
|
|
5696
|
+
*/
|
|
5697
|
+
404: Error;
|
|
5698
|
+
/**
|
|
5699
|
+
* 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).
|
|
5700
|
+
*/
|
|
5701
|
+
409: Error;
|
|
5702
|
+
/**
|
|
5703
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
5704
|
+
*/
|
|
5705
|
+
429: Error;
|
|
5706
|
+
/**
|
|
5707
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
5708
|
+
*/
|
|
5709
|
+
500: Error;
|
|
5710
|
+
/**
|
|
5711
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
5712
|
+
*/
|
|
5713
|
+
503: Error;
|
|
5714
|
+
/**
|
|
5715
|
+
* 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.
|
|
5716
|
+
*/
|
|
5717
|
+
504: Error;
|
|
5718
|
+
};
|
|
5719
|
+
type LabelsCreateError = LabelsCreateErrors[keyof LabelsCreateErrors];
|
|
5720
|
+
type LabelsCreateResponses = {
|
|
5721
|
+
/**
|
|
5722
|
+
* The label.
|
|
5723
|
+
*/
|
|
5724
|
+
201: {
|
|
5725
|
+
data: Label;
|
|
5726
|
+
};
|
|
5727
|
+
};
|
|
5728
|
+
type LabelsCreateResponse = LabelsCreateResponses[keyof LabelsCreateResponses];
|
|
5729
|
+
type LabelsDeleteData = {
|
|
5730
|
+
body?: never;
|
|
5731
|
+
headers?: {
|
|
5732
|
+
/**
|
|
5733
|
+
* 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.
|
|
5734
|
+
*/
|
|
5735
|
+
'Idempotency-Key'?: string;
|
|
5736
|
+
};
|
|
5737
|
+
path: {
|
|
5738
|
+
id: string;
|
|
5739
|
+
};
|
|
5134
5740
|
query?: never;
|
|
5135
|
-
url: '/
|
|
5741
|
+
url: '/labels/{id}';
|
|
5136
5742
|
};
|
|
5137
|
-
type
|
|
5743
|
+
type LabelsDeleteErrors = {
|
|
5138
5744
|
/**
|
|
5139
5745
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5140
5746
|
*/
|
|
@@ -5143,10 +5749,6 @@ type PodsCreateErrors = {
|
|
|
5143
5749
|
* No API key, or one that is not valid.
|
|
5144
5750
|
*/
|
|
5145
5751
|
401: Error;
|
|
5146
|
-
/**
|
|
5147
|
-
* Your plan does not include this. `error.message` says what does.
|
|
5148
|
-
*/
|
|
5149
|
-
402: Error;
|
|
5150
5752
|
/**
|
|
5151
5753
|
* 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.
|
|
5152
5754
|
*/
|
|
@@ -5176,22 +5778,21 @@ type PodsCreateErrors = {
|
|
|
5176
5778
|
*/
|
|
5177
5779
|
504: Error;
|
|
5178
5780
|
};
|
|
5179
|
-
type
|
|
5180
|
-
type
|
|
5781
|
+
type LabelsDeleteError = LabelsDeleteErrors[keyof LabelsDeleteErrors];
|
|
5782
|
+
type LabelsDeleteResponses = {
|
|
5181
5783
|
/**
|
|
5182
|
-
*
|
|
5784
|
+
* Deleted.
|
|
5183
5785
|
*/
|
|
5184
|
-
|
|
5185
|
-
data:
|
|
5186
|
-
/**
|
|
5187
|
-
* 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.
|
|
5188
|
-
*/
|
|
5189
|
-
warnings?: Array<Warning>;
|
|
5786
|
+
200: {
|
|
5787
|
+
data: Deleted;
|
|
5190
5788
|
};
|
|
5191
5789
|
};
|
|
5192
|
-
type
|
|
5193
|
-
type
|
|
5194
|
-
body
|
|
5790
|
+
type LabelsDeleteResponse = LabelsDeleteResponses[keyof LabelsDeleteResponses];
|
|
5791
|
+
type LabelsUpdateData = {
|
|
5792
|
+
body: {
|
|
5793
|
+
name?: string;
|
|
5794
|
+
colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
|
|
5795
|
+
};
|
|
5195
5796
|
headers?: {
|
|
5196
5797
|
/**
|
|
5197
5798
|
* 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.
|
|
@@ -5201,15 +5802,10 @@ type PodsDeleteData = {
|
|
|
5201
5802
|
path: {
|
|
5202
5803
|
id: string;
|
|
5203
5804
|
};
|
|
5204
|
-
query?:
|
|
5205
|
-
|
|
5206
|
-
* `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.
|
|
5207
|
-
*/
|
|
5208
|
-
delete_addresses?: 'true' | 'false';
|
|
5209
|
-
};
|
|
5210
|
-
url: '/pods/{id}';
|
|
5805
|
+
query?: never;
|
|
5806
|
+
url: '/labels/{id}';
|
|
5211
5807
|
};
|
|
5212
|
-
type
|
|
5808
|
+
type LabelsUpdateErrors = {
|
|
5213
5809
|
/**
|
|
5214
5810
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5215
5811
|
*/
|
|
@@ -5247,25 +5843,23 @@ type PodsDeleteErrors = {
|
|
|
5247
5843
|
*/
|
|
5248
5844
|
504: Error;
|
|
5249
5845
|
};
|
|
5250
|
-
type
|
|
5251
|
-
type
|
|
5846
|
+
type LabelsUpdateError = LabelsUpdateErrors[keyof LabelsUpdateErrors];
|
|
5847
|
+
type LabelsUpdateResponses = {
|
|
5252
5848
|
/**
|
|
5253
|
-
*
|
|
5849
|
+
* The label.
|
|
5254
5850
|
*/
|
|
5255
5851
|
200: {
|
|
5256
|
-
data:
|
|
5852
|
+
data: Label;
|
|
5257
5853
|
};
|
|
5258
5854
|
};
|
|
5259
|
-
type
|
|
5260
|
-
type
|
|
5855
|
+
type LabelsUpdateResponse = LabelsUpdateResponses[keyof LabelsUpdateResponses];
|
|
5856
|
+
type GrantsTemplatesListData = {
|
|
5261
5857
|
body?: never;
|
|
5262
|
-
path
|
|
5263
|
-
id: string;
|
|
5264
|
-
};
|
|
5858
|
+
path?: never;
|
|
5265
5859
|
query?: never;
|
|
5266
|
-
url: '/
|
|
5860
|
+
url: '/grant-templates';
|
|
5267
5861
|
};
|
|
5268
|
-
type
|
|
5862
|
+
type GrantsTemplatesListErrors = {
|
|
5269
5863
|
/**
|
|
5270
5864
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5271
5865
|
*/
|
|
@@ -5299,24 +5893,121 @@ type PodsGetErrors = {
|
|
|
5299
5893
|
*/
|
|
5300
5894
|
503: Error;
|
|
5301
5895
|
};
|
|
5302
|
-
type
|
|
5303
|
-
type
|
|
5896
|
+
type GrantsTemplatesListError = GrantsTemplatesListErrors[keyof GrantsTemplatesListErrors];
|
|
5897
|
+
type GrantsTemplatesListResponses = {
|
|
5304
5898
|
/**
|
|
5305
|
-
* The
|
|
5899
|
+
* The templates.
|
|
5306
5900
|
*/
|
|
5307
5901
|
200: {
|
|
5308
|
-
data:
|
|
5902
|
+
data: Array<GrantTemplate>;
|
|
5903
|
+
has_more: boolean;
|
|
5904
|
+
/**
|
|
5905
|
+
* Pass as `cursor` to continue. Null on the last page.
|
|
5906
|
+
*/
|
|
5907
|
+
next_cursor: string | null;
|
|
5309
5908
|
};
|
|
5310
5909
|
};
|
|
5311
|
-
type
|
|
5312
|
-
type
|
|
5910
|
+
type GrantsTemplatesListResponse = GrantsTemplatesListResponses[keyof GrantsTemplatesListResponses];
|
|
5911
|
+
type GrantsTemplatesCreateData = {
|
|
5313
5912
|
body: {
|
|
5314
|
-
name?: string;
|
|
5315
5913
|
/**
|
|
5316
|
-
*
|
|
5914
|
+
* The scope’s stable name, for software: `bookings.change`.
|
|
5317
5915
|
*/
|
|
5318
|
-
|
|
5916
|
+
name: string;
|
|
5917
|
+
/**
|
|
5918
|
+
* What the agent may do, as the consent screen says it after "wants to": `manage your bookings`.
|
|
5919
|
+
*/
|
|
5920
|
+
label: string;
|
|
5921
|
+
/**
|
|
5922
|
+
* The domain the agent will act with. A grant reaching anywhere else does not hold.
|
|
5923
|
+
*/
|
|
5924
|
+
audience?: string;
|
|
5925
|
+
/**
|
|
5926
|
+
* How people call it: `Delta`.
|
|
5927
|
+
*/
|
|
5928
|
+
audience_name?: string;
|
|
5929
|
+
/**
|
|
5930
|
+
* What a grant is for: a customer, an account or an order.
|
|
5931
|
+
*/
|
|
5932
|
+
subject_type: 'customer' | 'account' | 'order';
|
|
5933
|
+
/**
|
|
5934
|
+
* A ceiling the grant states, such as "refunds up to $100".
|
|
5935
|
+
*/
|
|
5936
|
+
limit?: {
|
|
5937
|
+
/**
|
|
5938
|
+
* Minor units: 10000 is $100.00.
|
|
5939
|
+
*/
|
|
5940
|
+
amount: number;
|
|
5941
|
+
/**
|
|
5942
|
+
* ISO 4217: `USD`.
|
|
5943
|
+
*/
|
|
5944
|
+
currency: string;
|
|
5945
|
+
};
|
|
5946
|
+
/**
|
|
5947
|
+
* The longest a grant from this template may last. 90 when omitted.
|
|
5948
|
+
*/
|
|
5949
|
+
max_days?: number;
|
|
5950
|
+
};
|
|
5951
|
+
headers?: {
|
|
5952
|
+
/**
|
|
5953
|
+
* 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.
|
|
5954
|
+
*/
|
|
5955
|
+
'Idempotency-Key'?: string;
|
|
5956
|
+
};
|
|
5957
|
+
path?: never;
|
|
5958
|
+
query?: never;
|
|
5959
|
+
url: '/grant-templates';
|
|
5960
|
+
};
|
|
5961
|
+
type GrantsTemplatesCreateErrors = {
|
|
5962
|
+
/**
|
|
5963
|
+
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5964
|
+
*/
|
|
5965
|
+
400: Error;
|
|
5966
|
+
/**
|
|
5967
|
+
* No API key, or one that is not valid.
|
|
5968
|
+
*/
|
|
5969
|
+
401: Error;
|
|
5970
|
+
/**
|
|
5971
|
+
* 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.
|
|
5972
|
+
*/
|
|
5973
|
+
403: Error;
|
|
5974
|
+
/**
|
|
5975
|
+
* 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”.
|
|
5976
|
+
*/
|
|
5977
|
+
404: Error;
|
|
5978
|
+
/**
|
|
5979
|
+
* 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).
|
|
5980
|
+
*/
|
|
5981
|
+
409: Error;
|
|
5982
|
+
/**
|
|
5983
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
5984
|
+
*/
|
|
5985
|
+
429: Error;
|
|
5986
|
+
/**
|
|
5987
|
+
* Something went wrong on our side. Retry; if it keeps happening, tell us.
|
|
5988
|
+
*/
|
|
5989
|
+
500: Error;
|
|
5990
|
+
/**
|
|
5991
|
+
* Something this needs is not answering right now. Retry in a moment.
|
|
5992
|
+
*/
|
|
5993
|
+
503: Error;
|
|
5994
|
+
/**
|
|
5995
|
+
* 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.
|
|
5996
|
+
*/
|
|
5997
|
+
504: Error;
|
|
5998
|
+
};
|
|
5999
|
+
type GrantsTemplatesCreateError = GrantsTemplatesCreateErrors[keyof GrantsTemplatesCreateErrors];
|
|
6000
|
+
type GrantsTemplatesCreateResponses = {
|
|
6001
|
+
/**
|
|
6002
|
+
* The template.
|
|
6003
|
+
*/
|
|
6004
|
+
201: {
|
|
6005
|
+
data: GrantTemplate;
|
|
5319
6006
|
};
|
|
6007
|
+
};
|
|
6008
|
+
type GrantsTemplatesCreateResponse = GrantsTemplatesCreateResponses[keyof GrantsTemplatesCreateResponses];
|
|
6009
|
+
type GrantsTemplatesDeleteData = {
|
|
6010
|
+
body?: never;
|
|
5320
6011
|
headers?: {
|
|
5321
6012
|
/**
|
|
5322
6013
|
* 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.
|
|
@@ -5327,9 +6018,9 @@ type PodsUpdateData = {
|
|
|
5327
6018
|
id: string;
|
|
5328
6019
|
};
|
|
5329
6020
|
query?: never;
|
|
5330
|
-
url: '/
|
|
6021
|
+
url: '/grant-templates/{id}';
|
|
5331
6022
|
};
|
|
5332
|
-
type
|
|
6023
|
+
type GrantsTemplatesDeleteErrors = {
|
|
5333
6024
|
/**
|
|
5334
6025
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5335
6026
|
*/
|
|
@@ -5367,25 +6058,25 @@ type PodsUpdateErrors = {
|
|
|
5367
6058
|
*/
|
|
5368
6059
|
504: Error;
|
|
5369
6060
|
};
|
|
5370
|
-
type
|
|
5371
|
-
type
|
|
6061
|
+
type GrantsTemplatesDeleteError = GrantsTemplatesDeleteErrors[keyof GrantsTemplatesDeleteErrors];
|
|
6062
|
+
type GrantsTemplatesDeleteResponses = {
|
|
5372
6063
|
/**
|
|
5373
|
-
*
|
|
6064
|
+
* Retired.
|
|
5374
6065
|
*/
|
|
5375
6066
|
200: {
|
|
5376
|
-
data:
|
|
6067
|
+
data: Deleted;
|
|
5377
6068
|
};
|
|
5378
6069
|
};
|
|
5379
|
-
type
|
|
5380
|
-
type
|
|
6070
|
+
type GrantsTemplatesDeleteResponse = GrantsTemplatesDeleteResponses[keyof GrantsTemplatesDeleteResponses];
|
|
6071
|
+
type GrantsListData = {
|
|
5381
6072
|
body?: never;
|
|
5382
6073
|
path?: never;
|
|
5383
6074
|
query: {
|
|
5384
6075
|
identity_id: string;
|
|
5385
6076
|
};
|
|
5386
|
-
url: '/
|
|
6077
|
+
url: '/grants';
|
|
5387
6078
|
};
|
|
5388
|
-
type
|
|
6079
|
+
type GrantsListErrors = {
|
|
5389
6080
|
/**
|
|
5390
6081
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5391
6082
|
*/
|
|
@@ -5419,13 +6110,13 @@ type LabelsListErrors = {
|
|
|
5419
6110
|
*/
|
|
5420
6111
|
503: Error;
|
|
5421
6112
|
};
|
|
5422
|
-
type
|
|
5423
|
-
type
|
|
6113
|
+
type GrantsListError = GrantsListErrors[keyof GrantsListErrors];
|
|
6114
|
+
type GrantsListResponses = {
|
|
5424
6115
|
/**
|
|
5425
|
-
* The
|
|
6116
|
+
* The grants.
|
|
5426
6117
|
*/
|
|
5427
6118
|
200: {
|
|
5428
|
-
data: Array<
|
|
6119
|
+
data: Array<Grant>;
|
|
5429
6120
|
has_more: boolean;
|
|
5430
6121
|
/**
|
|
5431
6122
|
* Pass as `cursor` to continue. Null on the last page.
|
|
@@ -5433,15 +6124,33 @@ type LabelsListResponses = {
|
|
|
5433
6124
|
next_cursor: string | null;
|
|
5434
6125
|
};
|
|
5435
6126
|
};
|
|
5436
|
-
type
|
|
5437
|
-
type
|
|
6127
|
+
type GrantsListResponse = GrantsListResponses[keyof GrantsListResponses];
|
|
6128
|
+
type GrantsCreateData = {
|
|
5438
6129
|
body: {
|
|
5439
6130
|
/**
|
|
5440
|
-
* The address
|
|
6131
|
+
* The agent’s address.
|
|
5441
6132
|
*/
|
|
5442
6133
|
identity_id: string;
|
|
5443
|
-
|
|
5444
|
-
|
|
6134
|
+
/**
|
|
6135
|
+
* A template’s `name` or `id`.
|
|
6136
|
+
*/
|
|
6137
|
+
template: string;
|
|
6138
|
+
/**
|
|
6139
|
+
* `{ 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.
|
|
6140
|
+
*/
|
|
6141
|
+
grantor: {
|
|
6142
|
+
email: string;
|
|
6143
|
+
} | {
|
|
6144
|
+
organisation: true;
|
|
6145
|
+
};
|
|
6146
|
+
/**
|
|
6147
|
+
* The customer, account or order it is for, in the recipient’s own terms.
|
|
6148
|
+
*/
|
|
6149
|
+
subject_id: string;
|
|
6150
|
+
/**
|
|
6151
|
+
* When it ends. The template’s `max_days` from now when omitted, and at most that.
|
|
6152
|
+
*/
|
|
6153
|
+
expires_at?: string;
|
|
5445
6154
|
};
|
|
5446
6155
|
headers?: {
|
|
5447
6156
|
/**
|
|
@@ -5451,9 +6160,9 @@ type LabelsCreateData = {
|
|
|
5451
6160
|
};
|
|
5452
6161
|
path?: never;
|
|
5453
6162
|
query?: never;
|
|
5454
|
-
url: '/
|
|
6163
|
+
url: '/grants';
|
|
5455
6164
|
};
|
|
5456
|
-
type
|
|
6165
|
+
type GrantsCreateErrors = {
|
|
5457
6166
|
/**
|
|
5458
6167
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5459
6168
|
*/
|
|
@@ -5491,17 +6200,17 @@ type LabelsCreateErrors = {
|
|
|
5491
6200
|
*/
|
|
5492
6201
|
504: Error;
|
|
5493
6202
|
};
|
|
5494
|
-
type
|
|
5495
|
-
type
|
|
6203
|
+
type GrantsCreateError = GrantsCreateErrors[keyof GrantsCreateErrors];
|
|
6204
|
+
type GrantsCreateResponses = {
|
|
5496
6205
|
/**
|
|
5497
|
-
* The
|
|
6206
|
+
* The grant.
|
|
5498
6207
|
*/
|
|
5499
6208
|
201: {
|
|
5500
|
-
data:
|
|
6209
|
+
data: Grant;
|
|
5501
6210
|
};
|
|
5502
6211
|
};
|
|
5503
|
-
type
|
|
5504
|
-
type
|
|
6212
|
+
type GrantsCreateResponse = GrantsCreateResponses[keyof GrantsCreateResponses];
|
|
6213
|
+
type GrantsRevokeData = {
|
|
5505
6214
|
body?: never;
|
|
5506
6215
|
headers?: {
|
|
5507
6216
|
/**
|
|
@@ -5513,9 +6222,9 @@ type LabelsDeleteData = {
|
|
|
5513
6222
|
id: string;
|
|
5514
6223
|
};
|
|
5515
6224
|
query?: never;
|
|
5516
|
-
url: '/
|
|
6225
|
+
url: '/grants/{id}';
|
|
5517
6226
|
};
|
|
5518
|
-
type
|
|
6227
|
+
type GrantsRevokeErrors = {
|
|
5519
6228
|
/**
|
|
5520
6229
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5521
6230
|
*/
|
|
@@ -5553,34 +6262,25 @@ type LabelsDeleteErrors = {
|
|
|
5553
6262
|
*/
|
|
5554
6263
|
504: Error;
|
|
5555
6264
|
};
|
|
5556
|
-
type
|
|
5557
|
-
type
|
|
6265
|
+
type GrantsRevokeError = GrantsRevokeErrors[keyof GrantsRevokeErrors];
|
|
6266
|
+
type GrantsRevokeResponses = {
|
|
5558
6267
|
/**
|
|
5559
|
-
*
|
|
6268
|
+
* The grant, revoked.
|
|
5560
6269
|
*/
|
|
5561
6270
|
200: {
|
|
5562
|
-
data:
|
|
6271
|
+
data: Grant;
|
|
5563
6272
|
};
|
|
5564
6273
|
};
|
|
5565
|
-
type
|
|
5566
|
-
type
|
|
5567
|
-
body
|
|
5568
|
-
name?: string;
|
|
5569
|
-
colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
|
|
5570
|
-
};
|
|
5571
|
-
headers?: {
|
|
5572
|
-
/**
|
|
5573
|
-
* 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.
|
|
5574
|
-
*/
|
|
5575
|
-
'Idempotency-Key'?: string;
|
|
5576
|
-
};
|
|
6274
|
+
type GrantsRevokeResponse = GrantsRevokeResponses[keyof GrantsRevokeResponses];
|
|
6275
|
+
type GrantsGetData = {
|
|
6276
|
+
body?: never;
|
|
5577
6277
|
path: {
|
|
5578
6278
|
id: string;
|
|
5579
6279
|
};
|
|
5580
6280
|
query?: never;
|
|
5581
|
-
url: '/
|
|
6281
|
+
url: '/grants/{id}';
|
|
5582
6282
|
};
|
|
5583
|
-
type
|
|
6283
|
+
type GrantsGetErrors = {
|
|
5584
6284
|
/**
|
|
5585
6285
|
* The request is not valid. `error.field` names the input at fault when there is one.
|
|
5586
6286
|
*/
|
|
@@ -5598,7 +6298,7 @@ type LabelsUpdateErrors = {
|
|
|
5598
6298
|
*/
|
|
5599
6299
|
404: Error;
|
|
5600
6300
|
/**
|
|
5601
|
-
*
|
|
6301
|
+
* It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
|
|
5602
6302
|
*/
|
|
5603
6303
|
409: Error;
|
|
5604
6304
|
/**
|
|
@@ -5613,21 +6313,17 @@ type LabelsUpdateErrors = {
|
|
|
5613
6313
|
* Something this needs is not answering right now. Retry in a moment.
|
|
5614
6314
|
*/
|
|
5615
6315
|
503: Error;
|
|
5616
|
-
/**
|
|
5617
|
-
* 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.
|
|
5618
|
-
*/
|
|
5619
|
-
504: Error;
|
|
5620
6316
|
};
|
|
5621
|
-
type
|
|
5622
|
-
type
|
|
6317
|
+
type GrantsGetError = GrantsGetErrors[keyof GrantsGetErrors];
|
|
6318
|
+
type GrantsGetResponses = {
|
|
5623
6319
|
/**
|
|
5624
|
-
* The
|
|
6320
|
+
* The grant.
|
|
5625
6321
|
*/
|
|
5626
6322
|
200: {
|
|
5627
|
-
data:
|
|
6323
|
+
data: Grant;
|
|
5628
6324
|
};
|
|
5629
6325
|
};
|
|
5630
|
-
type
|
|
6326
|
+
type GrantsGetResponse = GrantsGetResponses[keyof GrantsGetResponses];
|
|
5631
6327
|
type ContactsListData = {
|
|
5632
6328
|
body?: never;
|
|
5633
6329
|
path?: never;
|
|
@@ -6387,6 +7083,7 @@ type MessagesSendData = {
|
|
|
6387
7083
|
* Ids from `POST /attachments`, uploaded before the message that carries them. Up to 20.
|
|
6388
7084
|
*/
|
|
6389
7085
|
attachment_ids?: Array<string>;
|
|
7086
|
+
grant_ids?: Array<string>;
|
|
6390
7087
|
send_at?: string;
|
|
6391
7088
|
/**
|
|
6392
7089
|
* The message being answered. Keeps the conversation together in the recipient’s client too.
|
|
@@ -6502,6 +7199,7 @@ type MessagesCheckData = {
|
|
|
6502
7199
|
* Ids from `POST /attachments`, uploaded before the message that carries them. Up to 20.
|
|
6503
7200
|
*/
|
|
6504
7201
|
attachment_ids?: Array<string>;
|
|
7202
|
+
grant_ids?: Array<string>;
|
|
6505
7203
|
send_at?: string;
|
|
6506
7204
|
/**
|
|
6507
7205
|
* The message being answered. Keeps the conversation together in the recipient’s client too.
|
|
@@ -12151,7 +12849,7 @@ declare const cardsGet: <ThrowOnError extends boolean = false>(options: Options<
|
|
|
12151
12849
|
/**
|
|
12152
12850
|
* Check who sent a message
|
|
12153
12851
|
*
|
|
12154
|
-
* 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.
|
|
12852
|
+
* 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.
|
|
12155
12853
|
*/
|
|
12156
12854
|
declare const verifySender: <ThrowOnError extends boolean = false>(options: Options<VerifySenderData, ThrowOnError>) => RequestResult<VerifySenderResponses, VerifySenderErrors, ThrowOnError>;
|
|
12157
12855
|
/**
|
|
@@ -12200,6 +12898,12 @@ declare const logMonitorsCreate: <ThrowOnError extends boolean = false>(options:
|
|
|
12200
12898
|
* Stop watching
|
|
12201
12899
|
*/
|
|
12202
12900
|
declare const logMonitorsDelete: <ThrowOnError extends boolean = false>(options: Options<LogMonitorsDeleteData, ThrowOnError>) => RequestResult<LogMonitorsDeleteResponses, LogMonitorsDeleteErrors, ThrowOnError>;
|
|
12901
|
+
/**
|
|
12902
|
+
* Whether a grant still holds
|
|
12903
|
+
*
|
|
12904
|
+
* 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.
|
|
12905
|
+
*/
|
|
12906
|
+
declare const grantsStatus: <ThrowOnError extends boolean = false>(options: Options<GrantsStatusData, ThrowOnError>) => RequestResult<GrantsStatusResponses, GrantsStatusErrors, ThrowOnError>;
|
|
12203
12907
|
/**
|
|
12204
12908
|
* Connect an agent with a setup code
|
|
12205
12909
|
*
|
|
@@ -12370,6 +13074,48 @@ declare const labelsDelete: <ThrowOnError extends boolean = false>(options: Opti
|
|
|
12370
13074
|
* A body with neither `name` nor `colour` is refused.
|
|
12371
13075
|
*/
|
|
12372
13076
|
declare const labelsUpdate: <ThrowOnError extends boolean = false>(options: Options<LabelsUpdateData, ThrowOnError>) => RequestResult<LabelsUpdateResponses, LabelsUpdateErrors, ThrowOnError>;
|
|
13077
|
+
/**
|
|
13078
|
+
* List grant templates
|
|
13079
|
+
*
|
|
13080
|
+
* 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.
|
|
13081
|
+
*/
|
|
13082
|
+
declare const grantsTemplatesList: <ThrowOnError extends boolean = false>(options?: Options<GrantsTemplatesListData, ThrowOnError>) => RequestResult<GrantsTemplatesListResponses, GrantsTemplatesListErrors, ThrowOnError>;
|
|
13083
|
+
/**
|
|
13084
|
+
* Define a grant template
|
|
13085
|
+
*
|
|
13086
|
+
* 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.
|
|
13087
|
+
*/
|
|
13088
|
+
declare const grantsTemplatesCreate: <ThrowOnError extends boolean = false>(options: Options<GrantsTemplatesCreateData, ThrowOnError>) => RequestResult<GrantsTemplatesCreateResponses, GrantsTemplatesCreateErrors, ThrowOnError>;
|
|
13089
|
+
/**
|
|
13090
|
+
* Retire a grant template
|
|
13091
|
+
*
|
|
13092
|
+
* No new grant can be asked for from it. Every grant already given is unchanged.
|
|
13093
|
+
*/
|
|
13094
|
+
declare const grantsTemplatesDelete: <ThrowOnError extends boolean = false>(options: Options<GrantsTemplatesDeleteData, ThrowOnError>) => RequestResult<GrantsTemplatesDeleteResponses, GrantsTemplatesDeleteErrors, ThrowOnError>;
|
|
13095
|
+
/**
|
|
13096
|
+
* List an address’s grants
|
|
13097
|
+
*
|
|
13098
|
+
* Every grant asked for or given to one address, newest first.
|
|
13099
|
+
*/
|
|
13100
|
+
declare const grantsList: <ThrowOnError extends boolean = false>(options: Options<GrantsListData, ThrowOnError>) => RequestResult<GrantsListResponses, GrantsListErrors, ThrowOnError>;
|
|
13101
|
+
/**
|
|
13102
|
+
* Ask for a grant
|
|
13103
|
+
*
|
|
13104
|
+
* 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`.
|
|
13105
|
+
*/
|
|
13106
|
+
declare const grantsCreate: <ThrowOnError extends boolean = false>(options: Options<GrantsCreateData, ThrowOnError>) => RequestResult<GrantsCreateResponses, GrantsCreateErrors, ThrowOnError>;
|
|
13107
|
+
/**
|
|
13108
|
+
* Revoke a grant
|
|
13109
|
+
*
|
|
13110
|
+
* For good, at once: the next `POST /verify` says `revoked`. A pending one stops its consent link working. Needs `send` on the address.
|
|
13111
|
+
*/
|
|
13112
|
+
declare const grantsRevoke: <ThrowOnError extends boolean = false>(options: Options<GrantsRevokeData, ThrowOnError>) => RequestResult<GrantsRevokeResponses, GrantsRevokeErrors, ThrowOnError>;
|
|
13113
|
+
/**
|
|
13114
|
+
* Read a grant
|
|
13115
|
+
*
|
|
13116
|
+
* Its status and, while active, `jws`: the signed grant the agent carries.
|
|
13117
|
+
*/
|
|
13118
|
+
declare const grantsGet: <ThrowOnError extends boolean = false>(options: Options<GrantsGetData, ThrowOnError>) => RequestResult<GrantsGetResponses, GrantsGetErrors, ThrowOnError>;
|
|
12373
13119
|
/**
|
|
12374
13120
|
* Find contacts
|
|
12375
13121
|
*
|
|
@@ -13078,4 +13824,4 @@ interface StreamOptions {
|
|
|
13078
13824
|
*/
|
|
13079
13825
|
declare function streamEvents(options: StreamOptions): AsyncGenerator<StreamedEvent>;
|
|
13080
13826
|
|
|
13081
|
-
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 };
|
|
13827
|
+
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 };
|